hexsha
stringlengths
40
40
size
int64
8
1.04M
content
stringlengths
8
1.04M
avg_line_length
float64
2.24
100
max_line_length
int64
4
1k
alphanum_fraction
float64
0.25
0.97
e5e4970b675b9ee3144367caaeb93bf3716f7eed
712
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://kpdus.tripod.com/jad.html // Decompiler options: packimports(3) fieldsfirst ansi space // Source File Name: CheckParser.java package com.pa.sdk.parser; import com.alibaba.fastjson.JSONObject; import com.pa.sdk.core.BaseAPIPars...
22.967742
63
0.75
6d2148bdb7a4c25af3c76e59dc5acf4d5bc81bc7
862
package net.scadsdnd.adviser.myadviser; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toolbar; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstan...
28.733333
67
0.716937
45f605482fd3a7e667557bd056227f460164d61c
189
package org.andengine.ui; import org.andengine.b.c.b; import org.andengine.c.b.e; public interface a { b a(); void a(e eVar, d dVar); void a(b bVar); void a(c cVar); }
12.6
27
0.613757
c20bb652fa1114b1f8d5d2dd0ee4c897fe9fe955
4,664
/* -------------------------------------------------------------------------- * * OpenSim: PluginsDB.java * * -------------------------------------------------------------------------- * * OpenSim is a toolkit for musculoskeletal modeling and simulation, * ...
39.863248
156
0.555746
7988651a6ac5d20842e8f9e68b7c52df6c000db9
280
package net.adrianlehmann.swt_revision.patterns.variation_patterns.factory_method; /** * Created by adrianlehmann on 09.07.17. */ public class NormalStudent extends Student{ @Override public Smartphone makeSmartPhone() { return new GenericSmartphone(); } }
23.333333
82
0.739286
dc8b1a6b79a78df38bb0c426ed448f13006b29b1
377
package com.huellapositiva.domain.exception; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.FORBIDDEN) public class TimeForRecoveringPasswordExpiredException extends RuntimeException { public TimeForRecoveringPasswordExpiredExc...
31.416667
81
0.827586
5ee1124bba92515d2f02de967aa41d09925fbf73
2,292
/* * Copyright 2016 PantherCode * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
21.828571
94
0.607766
90029faec118a1481fbe64919b811e5a87883685
5,440
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses...
16.484848
813
0.806434
37aad899d96606b1ea5ea1289331b16aa0fed1d4
443
package com.github.hexsmith.spring.cloud.boot; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; @EnableDiscoveryClient @SpringBootApplication public class SpringCloudBootAppl...
29.533333
72
0.846501
85473b634d1982ca0509e786e1f69a67671fe35c
2,826
package com.springboot.yangmeng.admin.core.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonView; import com.springboot.yangmeng.admin.core.util.ValidateConfig; import org.beetl.sql.core.annotatoin.AutoID; import org.beetl.sql.core.annotatoin.SeqID; import javax....
19.625
86
0.630573
6f5e70ac850db5a397cfbe5a17bc21764a9ac249
3,463
package de.uni_stuttgart.informatik.sopra.sopraapp.requests; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAd...
41.22619
168
0.701992
89d21adc20272d30efe97c42f3809e04605a383d
13,533
package MinimumSpanningTree; import java.io.*; import java.util.*; public class Main implements Runnable { private String fileName; private String algorithm; private File file; private LinkedList verticesInfo; private LinkedList edgesInfo; private LinkedList graphsInfo; ...
29.874172
154
0.427326
a5823c48fdca53fd034f9189547c0e4480b04ae0
361
package uk.co.sentinelweb.tvmod.exoplayer.upstream; import com.google.android.exoplayer2.upstream.DataSource; /** * TODO pass in usrname and password config? */ public class SmbDataSourceFactory implements DataSource.Factory { @Override public DataSource createDataSource() { return new SmbDataSourc...
25.785714
65
0.745152
e326c883526f2544ac1b207f64febb3f65b4fa2c
988
package io.jenkins.blueocean.service.embedded.rest; import com.google.common.collect.ImmutableMap; import hudson.Extension; import hudson.model.User; import hudson.util.AdaptedIterator; import io.jenkins.blueocean.rest.model.BlueUser; import io.jenkins.blueocean.rest.model.BlueUserContainer; import java.util.Iterator...
25.333333
67
0.66498
241ec5ce2bbfd24a91e2720ef762110fff33c00a
335
package OctopusConsortium.Core; public class ExternalServiceException extends Exception { /** * */ private static final long serialVersionUID = 569442375626316093L; public ExternalServiceException(String message){ super(message); } public ExternalServiceException(String string, Exception e) { super(st...
18.611111
66
0.761194
289d274f07df7959e7a52d689151e691f3056bf1
10,205
package sososlik.countryonjoin; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.util.Colle...
29.324713
154
0.663694
8310748abd906aa4b9471d6818a25e5f409dec54
8,376
/* * Copyright (C) 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
43.853403
126
0.718601
867c10b8fc2d5f89d1080bc08dc6654782a88197
4,221
package touristagency.persistence.repository.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.Transaction; import org.hibernate.query.Query; import touristagency.model.Employee; import touristagency.persistence.repository.EmployeeRepository; import touristagency.persis...
33.768
104
0.564558
fb3308899dd9e213f98bdebf2984f427215b73f8
23,969
package com.vibes.push.cordova.plugin; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.ArrayList; import java.util.Set; import java.util.Map; import java.util.Collection; import java.lang.reflect.InvocationTargetException; import android.app.Application; import android.content...
44.141805
124
0.596562
ba7ae6f200b1a53beea8c2613eae9e32264a4034
635
/** The aim of this program is to get the smallest number in a sorted integer array. * Due to this, the first number found in the array will be the smallest. */ public class SmallestElementSortedArray { /** * @param arr is the array defined * @return the first element on the array */ publ...
28.863636
85
0.640945
1a179fb456bce85f8e7002a87ab74c03e6575c4b
759
package i.collection; import java.util.AbstractMap; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; public class CreateMapBefore9A { public static void main(String[] args) { Map<String, String> map = Stream.of(new String[][] {{"x", "1"}, {"y", "2"}}).collect(Col...
36.142857
227
0.677207
76c75f9ca6524ec14a6908ffbc35151e95e0fa21
11,014
/* Copyright 2002-2021 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
44.955102
118
0.62357
7fa62095c1cc35e62676b7865778dbcd90045d3e
5,889
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.gridgain.com/products/software/community-edition...
28.587379
102
0.627441
7384a437fac7174f2f107691195ef1a92c9b9c3b
363
package com.daylight.devleague.exceptions.user.login; import com.daylight.devleague.exceptions.BusinessException; public class NotLoggedUserException extends BusinessException { private static final long serialVersionUID = -2103196187968478192L; public NotLoggedUserException() { super("not_logged_user"...
25.928571
69
0.779614
3860fa5442b36b62a872a4a4d3d6ec2b9eb71970
862
package scmemory; import org.junit.jupiter.api.Test; import org.ostis.scmemory.model.element.link.LinkType; import org.ostis.scmemory.websocketmemory.memory.element.ScLinkBinaryImpl; import java.io.ByteArrayOutputStream; import java.io.IOException; import static org.junit.jupiter.api.Assertions.assertEquals; /** *...
26.121212
74
0.650812
f2a6f415f50267c31ce17b9fca13f33a9cf2475f
1,525
package com.ceosilvajr.app.onlineshoppingcart.manager; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import com.ceosilvajr.app.onlineshoppingcart.R; import com.ceosilvajr.app.onlineshoppingcart.objects.User; import com.google.gson.Gson; /** * Created...
30.5
65
0.666885
3c3a6d359e8f94915f9990220e28eec7ba69e007
2,030
package com.uzm.common.reflections.acessors; import java.lang.reflect.Method; /** * Essa classe representa um {@link Method} com métodos seguros de acesso. * * @author Maxteer */ public class MethodAccessor { private Method handle; public MethodAccessor(Method method) { this(method, false); } publi...
23.882353
180
0.646305
73df8986692c3567a605cf3541d8a0dd2a36b7dc
1,139
package io.entraos.idun.rec.floor; import io.entraos.idun.commands.IdunGetCommand; import io.entraos.rec.domain.Floor; import io.entraos.rec.mappers.FloorJsonMapper; import java.net.URI; import java.net.http.HttpResponse; public class GetFloorCommand extends IdunGetCommand { private final String accessToken; ...
26.488372
79
0.651449
bc8617e6764151d11e256b0854fa1e01a219c6a1
182
package com.ztiany.loadmore.adapter; public interface LoadMoreView { void onLoading(); void onFail(); void onCompleted(boolean hasMore); void onClickLoad(); }
12.133333
38
0.686813
ca5f2bd6c8fa3ea6613fd9e79b68af80719b5d23
2,182
package br.com.zupacademy.proposta.models; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Jo...
22.968421
104
0.74198
fafd536d2f65b6ce73f77c87ed7089d05ea26d31
2,172
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
23.868132
80
0.706722
29590442b85cef64c0f043cd974fbf6416f72683
1,651
package tech.wetech.admin.modules.system.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import tech.wetech.admin.modules.base.service.impl.BaseService; import tech.wetech.admin.modules.system.mapper.RoleMapper; import tech.wetech.admin.module...
33.693878
79
0.692308
c4e9b7ef2a17a4dd018e93289cdc8861d31e3047
362
package de.maibornwolff.ste.testVille.inputFileParsing.common; import java.util.concurrent.atomic.AtomicInteger; public class IDGenerator { private AtomicInteger keyCentral; public IDGenerator() { this.keyCentral = new AtomicInteger(1); } public int generateNextUniqueKey() { return ...
22.625
62
0.726519
fb7560778db40edd04ec0b986ed75009bac90c2d
9,370
package com.hedera.services.bdd.spec.transactions.schedule; /*- * ‌ * Hedera Services Test Clients * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC * ​ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
34.448529
108
0.756137
2ef3970299dc3c36e7f9de767bded8d996297fdc
4,155
/* * Copyright 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
37.772727
83
0.567268
3e010e904c5ad747338dd6cd72aab5b5b5c84983
820
package org.omg.hw.HW_vpnManager; /** * Generated from IDL definition of alias "IPCrossConnectionList_T" * @author JacORB IDL compiler */ public final class IPCrossConnectionList_THolder implements org.omg.CORBA.portable.Streamable { public org.omg.hw.HW_vpnManager.IPCrossConnection_T[] value; public IPCrossC...
24.848485
100
0.773171
844b6af3d15126d867d74b61ab77d8f55ac7f980
8,320
package org.wikidata.wdtk.client; /* * #%L * Wikidata Toolkit Command-line Tool * %% * Copyright (C) 2014 Wikidata Toolkit Developers * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
34.380165
83
0.757692
2a8fe378bf505160ed20b6c97da7c14c29e14e75
983
package com.example.myapp.main.util; import javax.ejb.Stateless; import javax.servlet.http.HttpServletRequest; /** * So far as JavaEE7, @WebFilter does not allow to exclude specific pages. * * @author Luca Vercelli * */ @Stateless public class WebFilterHelper { /** * Return true if the given ...
25.205128
79
0.666328
95f4e3821deb163596d5a79759969ac59af697bb
10,804
package P2P; import java.util.concurrent.ScheduledExecutorService; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import Main.Global; ///////////////////////////////...
38.312057
164
0.703721
f53c005671208205844ba294b5dc5123a7337349
1,497
package rpc.ndr; public class BooleanHolder implements Holder { private Boolean value; private boolean embedded; public BooleanHolder() { setValue(null); } public BooleanHolder(boolean value) { setValue(new Boolean(value)); } public BooleanHolder(Boolean value) { ...
20.791667
71
0.597862
668b062ea202cb0cadd3dca58eef631631ea5c6f
224
package com.wthfeng.learn.reflect; /** * @author wangtonghe * @date 2017/10/12 15:28 */ public class SubjectImpl implements Subject { @Override public void load() { System.out.println("实际代理对象"); } }
16
45
0.642857
97504b38d59e6d616aab374b02a3dab7db35ea54
1,152
//© A+ Computer Science - www.apluscompsci.com //Name - //Date - //Class - //Lab - import java.awt.Color; import java.awt.Graphics; public class Shape { //instance variables private int xPos; private int yPos; private int width; private int height; private Color color; public Shape(int x, int y, int wid...
18.580645
63
0.595486
edd4ef4a41384c263abc64d67eef5be156dbdb65
3,940
package com.gots.intelligentnursing.receiver; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.gots.intelligentnursing.business.EventPoster; import com.gots.intellige...
48.04878
113
0.660914
2ce1602cafdabfaa34f6cd17739e875ea51d5725
1,200
package org.archivemanager.models.repository; import java.util.ArrayList; import java.util.List; import org.archivemanager.models.ContactModel; import org.archivemanager.models.SystemModel; import org.archivemanager.services.entity.Entity; public class Individual { private long id; private String title; ...
24.489796
75
0.725
07d44d4793d26a633ca914f898aa338dcdcbda2a
655
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package expressionparser; import java.util.Scanner; /** * * @author Lomztein */ public class OperatorPrecedence { public stat...
21.833333
79
0.648855
beafa75c2f08ef4cd94f7e40203ca1dfa5249dc1
1,824
package org.taymyr.lagom.elasticsearch; import org.taymyr.lagom.elasticsearch.document.dsl.Document; import org.taymyr.lagom.elasticsearch.search.dsl.SearchResult; import java.util.Objects; public class TestDocument { private String user; private String message; private Double balance; public TestD...
23.384615
81
0.632127
59e0d55d2625705c67de73fda9f045a092404840
1,758
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
31.392857
95
0.70876
b9f590713c260da75868ef0c95ed0d337d009afd
1,385
package com.roche.manage.service; import java.util.List; import com.roche.manage.domain.SysGuide; /** * 指引管理Service接口 * * @author qiushuo dong * @date 2021-09-26 */ public interface ISysGuideService { /** * 查询指引管理 * * @param guideId 指引管理主键 * @return 指引管理 */ public SysGuide sel...
17.987013
72
0.579783
8b7ef61787308b962d661898e561f7f26132622d
4,292
package br.com.felix.bikeloc.ui; import androidx.annotation.IdRes; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androidx.fragment.app.Fragment; import android.Manifest; import android.content.C...
34.063492
115
0.621622
e51d0cb1908824dd665a59d38a60406bf46133a8
1,114
package pl.p.lodz.iis.hr.configuration; import org.pac4j.oauth.client.GitHubClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.DependsOn; import org.springframework.web.servlet.config.annotati...
44.56
113
0.807899
b19bbea4461a45d04eafd6334527a02a0123f543
1,053
import java.util.*; class Problem4 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int t,i; double avg,tot,neg,pos; do { System.out.println("Enter Number of Students"); t = sc.nextInt(); avg = 0; ...
24.488372
59
0.333333
a2b69823223dee954ac556fd593c5f4fbe0f711d
12,217
package com.relevantcodes.extentreports; import java.io.File; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.bson.Document; import org.bson.types.ObjectId; import com.mongodb.MongoClient; import com.mongodb.MongoCli...
34.905714
114
0.570516
fe2f8762e7dec2385898294c0ac6093707f6db81
77
package com.google.android.gms.location; public interface GeofencingApi { }
15.4
40
0.805195
487694329a4c95757135ca0b20ddc189dc5512bf
541
public static boolean getConnection(String dsn) { Connection con = null; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:" + dsn; con = DriverManager.getConnection(url); } catch (ClassNotFoundException e) { return f...
28.473684
58
0.504621
6873855c34c09db07fd6853fe1d3bee38beacec1
2,421
package codersit.co.kr.jejugo.activity.partnerstore; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.util.ArrayList; import java.util.List; import java.util.Local...
27.202247
114
0.662949
5e1332452b47c312df84a05c91c0bb80bbbb7582
394
package com.emicb.desolation.level.tile; import com.emicb.desolation.graphics.Screen; import com.emicb.desolation.graphics.Sprite; public class VoidTile extends Tile { // Tile constructor public VoidTile(Sprite sprite) { super(sprite); } public void render(int x, int y, Screen screen) { screen.renderTile(x...
18.761905
50
0.71066
c9256260d52403b6d3c127607a048e0565bc2873
2,281
package com.helospark.site.core.web.common.password; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.when; import static org.mockito.MockitoAnnotations.initMocks; import java.util.stream.Stream; import javax.validation.ConstraintValidatorContex...
32.585714
138
0.724244
7533f50a9267c2c4d226a61e01a40cd5260653ea
1,629
import org.testng.Assert; import org.testng.annotations.Test; import base.BaseTest; import base.WebLink; import pages.DynamicControlPage; public class DynamicContorl_Test extends BaseTest { DynamicControlPage page = null; @Test public void validateChcckBoxGoneAfterRemoving() { page = new DynamicControlPage(drive...
24.681818
71
0.735421
76259eef9cb43fc3ef74416067c1d9c75a316865
16,932
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Vistas; import Controlador.Conexion; import Modelo.Usuario; import java.awt.Color; import java.awt.event.KeyEvent; import java...
50.392857
249
0.642629
814e7c74165cc76067ad0ba0d76e28365366caf5
948
package de.peeeq.eclipsewurstplugin.editor; import org.eclipse.core.filebuffers.IDocumentSetupParticipant; import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IDocumentExtension3; import org.eclipse.jface.text.IDocumentPartitioner; import org.eclipse.jface.text.rules.FastPartitioner; import de.peee...
39.5
151
0.831224
6097bd85bf63e2937beab1be03bed74fea2c8a3f
2,588
package org.aidework.core.object; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.List; import org.aidework.core.constant.AtomicType; /** * 类型转换器 * 主要用于pojo对象中各个层次的业务对象相互转换 * 简单属性的转换 * * * @author ...
22.902655
75
0.656878
bd537e1776efc59ba531c9c98c54de15874100e8
86
package com.snet; public interface BiFactory<P, M, N> { P create(M obj0, N obj1); }
14.333333
37
0.674419
0f9addcac267e0647e7b3d69be7006f0b4aa77b3
2,152
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
41.384615
100
0.779275
56d5c43ca655670a59e2bda1d6257393d7a14556
659
package io.github.tslamic.prem; final class Constant { private Constant() { throw new AssertionError(); } static final String RESPONSE_CODE = "RESPONSE_CODE"; static final String RESPONSE_DETAILS_LIST = "DETAILS_LIST"; static final String RESPONSE_BUY_INTENT = "BUY_INTENT"; static final String RESPONS...
36.611111
70
0.783005
a05936ecc980f94119ebf242637bc20e9b220866
3,386
package alien4cloud.security.users.rest; import alien4cloud.security.users.JwtTokenService; import io.jsonwebtoken.Claims; import io.jsonwebtoken.ExpiredJwtException; import io.jsonwebtoken.Jws; import io.jsonwebtoken.JwtException; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.A...
38.91954
146
0.695511
185f01db9b455036c3ebf3d8abf721a56c82754d
239
package de.rnd7.calexport; public class EventParseRuntimeException extends RuntimeException { private static final long serialVersionUID = 1073130188967714643L; public EventParseRuntimeException(final Throwable t) { super(t); } }
19.916667
67
0.807531
61436eeaec26f364e79a581f77c83a7160546465
11,370
package com.planet_ink.coffee_mud.Abilities.Archon; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import...
27.731707
134
0.612665
25a7264c53db9b6bf0e28c20406393f13c6cb183
8,872
package game.level; import game.staticData.Constants; import java.util.Arrays; import java.util.HashSet; import java.util.Random; import java.util.Set; public class TerrainGenerator { public static class Tuple<X, Y> { private final X x; private final Y y; public Tuple(X x, Y y) { ...
32.144928
134
0.576533
a9887cfd8f15bd56032fc659fc7cdc0549011919
1,734
package fpt; import com.google.common.graph.GraphBuilder; import com.google.common.graph.MutableGraph; import java.io.BufferedWriter; import java.io.IOException; import java.io.PrintWriter; import java.nio.file.Files; import java.nio.file.OpenOption; import java.nio.file.Paths; import java.nio.file.StandardOpenOption...
34.68
136
0.643022
1c3fe5f7b3f72609934f2ba49e46d6763f025708
1,160
package com.odero.bigbeats; public class Category { private String categoryName, categoryDescription, numberOfSongs; private int imageId; public Category(String categoryName, String categoryDescription, String numberOfSongs, int imageId) { this.categoryName = categoryName; this.categoryDes...
25.217391
105
0.686207
18e904729dcc852b4b4771c2c2ca6b552c2116f4
8,860
/* * Copyright 2015-2017 Austin Keener & Michael Ritter & Florian Spieß * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
44.747475
181
0.701354
dddc2267afad60dfc7e85255db4ba001fc31b624
4,714
package org.drools.integrationtests; import junit.framework.Assert; import junit.framework.TestCase; import org.drools.Cheese; import org.drools.Person; import org.drools.RuleBase; import org.drools.RuleBaseFactory; import org.drools.WorkingMemory; import org.drools.compiler.DrlParser; import org.drools.comp...
35.984733
146
0.617947
be7f5f8d301f01800617947f67699f9d6bc86017
1,307
//This file is automatically generated. DO NOT EDIT! package com.robotraconteur.testing.TestService3; import java.util.*; import com.robotraconteur.*; public class vector3 implements RRNamedArray { public double x; public double y; public double z; public vector3() { x = 0.0; y = 0.0; z...
23.339286
82
0.591431
5d5078d9b5b6d612a8464aba35c35188e8a73f9a
540
package com.aminebag.larjson.configuration.propertyresolver; import java.lang.reflect.Method; /** * @author Amine Bagdouri */ public class CamelCasePropertyResolver extends AbstractPropertyResolver { public CamelCasePropertyResolver(Class<?> rootInterface) { super(rootInterface); } @Override ...
27
85
0.748148
76647f471c3f209b26c55f9f721a8fe171c202dd
901
package com.vanniktech.emoji.sample; import android.app.Application; import android.os.StrictMode; import androidx.appcompat.app.AppCompatDelegate; import com.squareup.leakcanary.LeakCanary; import com.vanniktech.emoji.EmojiManager; import com.vanniktech.emoji.ios.IosEmojiProvider; import static androidx.appcompat.ap...
28.15625
92
0.769145
7b77536356ffee48713f828cedc79ac360e17557
927
package de.mari_023.fabric.ae2wtlib; import appeng.core.AEConfig; import net.fabricmc.loader.api.FabricLoader; public class Config { private static boolean mineMenuChecked, mineMenuPresent; public static double getPowerMultiplier(double range, boolean isOutOfRange) { if(isOutOfRange) ret...
28.090909
104
0.705502
06212520bd1feb6c2d0b5078ce75c336c30e401f
1,899
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package testModelo; import java.util.ArrayList; import modelo.dataPoint; import modelo.device; import modelo.deviceControl; /** * * @author michael */ public class testDataPoint { public static void main(String a...
25.662162
131
0.511848
c2e3917c70b310ee616a2bae4de45f8592e472c9
2,388
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.641791
80
0.755444
e31a84cacd9651a2d741673ebfa15073219678f5
880
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.authenticate.factory; import org.dspace.authenticate.service.AuthenticationService; ...
30.344828
116
0.781818
6db7f5d67fa1935942b3136ce9ab7fe4a3faeb80
1,057
package com.guy.login.spring.configuration; import org.apache.logging.log4j.ThreadContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Configuration; import org.springframework.web.filter.OncePerRequestFilter; import javax.servlet.FilterChain; import javax.se...
35.233333
151
0.788079
43b5051d466aa7d25d55b674cdcc66c82a064f97
925
package com.example.demo.hospital.domain; import com.example.demo.member.domain.Member; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; @Entity @Getter @NoArgsConstructor public class Hospital { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) ...
22.560976
77
0.687568
1b860a2ff718d45612d87be7316fa68426236b6a
1,380
package com.marshalchen.common.demoofui.sampleModules; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import com.marshalchen.common.demoofui.R; import com.marshalchen.common.ui.NumberProgressBar; import java.util.Timer; import java.util.TimerTask; public class NumberProgressBarActivity ...
26.037736
87
0.55942
4c331ad7834506d4ce9e7acf12ac82470c7eaf8c
7,042
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
32.009091
118
0.639449
daeb4e00b04ee165aa162789d6f1fb41d8d02c40
502
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.vertx.client; import io.opentelemetry.context.propagation.TextMapSetter; import io.vertx.core.http.HttpClientRequest; public class HttpRequestHeaderSetter implements TextMapSetter<H...
25.1
82
0.76494
c797b95ef400b04215d44b5853ccd84a983521f6
2,160
/** * */ package com.JSPICE.SPICESolver; import java.util.ArrayList; import com.JSPICE.SElement.*; import com.JSPICE.SMath.Complex; import com.JSPICE.SMath.ComplexMatrixOperations; import com.JSPICE.SElement.VSource.VSource; /** * @author 1sand0s * */ public class ACSpiceSolver extends AbstractSpiceSolver { ...
27.692308
82
0.654167
adc7c2a34b242224de099b4bac401ba2e354bf3a
258
public class EvenOrOdd { public static String even_or_odd(int number) { // ternary operator for a shorthand if else // if divisible by 2 with no remainder then even else odd return number % 2 == 0 ? "Even" : "Odd"; } }
32.25
66
0.608527
81ea5790e190f385d1d133140f82e0b20d5fbb73
492
package com.sgnbs.cms.entity; public class Role { private Integer roleId; private String roleName; private String rights; public Integer getRoleId() { return roleId; } public void setRoleId(Integer roleId) { this.roleId = roleId; } public String getRoleName() { return roleName; } public void setRoleNam...
18.222222
43
0.71748
7c2af81b2682cf21de7d9ef8af6e4dbbf0fff219
2,857
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
32.83908
102
0.689184
c9d09a7b616db9e251eda5192061dc72dbf9ae92
6,022
package org.firstinspires.ftc.teamcode.teleop; import com.acmerobotics.roadrunner.geometry.Pose2d; import com.arcrobotics.ftclib.gamepad.ButtonReader; import com.arcrobotics.ftclib.gamepad.GamepadEx; import com.arcrobotics.ftclib.gamepad.GamepadKeys; import com.arcrobotics.ftclib.gamepad.KeyReader; import com.arcrobot...
38.356688
97
0.616573
fbaf22469159d3575b8a8b7563eb9741e9999e10
3,729
/*- * #%L * jasmine-maven-plugin * %% * Copyright (C) 2010 - 2017 Justin Searls * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
32.426087
120
0.747385
03a2e423b717b1219c775e662f94de0c70506f2c
832
package com.xxm.parking.pojo; import com.xxm.parking.util.TimeUtil; import lombok.Data; /** * * 停车记录 * * @author 许晓敏 * */ @Data public class Record { private int id; private int seatid; private int userid; private long createtime; private long endtime; private User user; private Seat seat; private ...
16.979592
80
0.709135
7c33bc5e183d28e92ab7ed1da0671c30a5f165b0
592
package com.codeborne.selenide.collections; import org.openqa.selenium.WebElement; import javax.annotation.ParametersAreNonnullByDefault; import java.util.List; import java.util.function.Predicate; @ParametersAreNonnullByDefault public class NoneMatch extends PredicateCollectionCondition { public NoneMatch(String ...
25.73913
73
0.77027
684d31e5ef80d13cc135ea2d02e350c62361f7c1
1,508
package com.litefeel.crossplatformapi.android.share; import android.content.Intent; import android.net.Uri; import android.util.Log; import com.litefeel.crossplatformapi.android.utils.ActivityHelper; import java.io.File; /** * Created by litefeel on 2017/7/24. */ public class Share { private static final St...
33.511111
94
0.674403
20688e8d50570d9b692b37efb20c416ea08e8dd7
132
package io.snice.networking.examples.vplmn.fsm.users; public enum UserManagerState { INIT, RUNNING, TERMINATING, TERMINATED; }
22
53
0.780303
42d613b5ffe244df97aa41a2a6d2ee4828fe6638
13,940
package us.ihmc.quadrupedFootstepPlanning.pawPlanning.turnWalkTurn; import us.ihmc.commons.MathTools; import us.ihmc.euclid.geometry.Pose2D; import us.ihmc.euclid.geometry.interfaces.Pose2DReadOnly; import us.ihmc.euclid.tuple2D.Point2D; import us.ihmc.euclid.tuple2D.Vector2D; import us.ihmc.euclid.tuple2D.interfaces....
43.426791
214
0.70868
6337a96c26f2e1f0a99a4fa95ff656db4744d18d
626
/** * Copyright (c) SpaceToad, 2011 * http://www.mod-buildcraft.com * * BuildCraft is distributed under the terms of the Minecraft Mod Public * License 1.0, or MMPL. Please check the contents of the license located in * http://www.mod-buildcraft.com/MMPL-1.0.txt */ package buildcraft.api.core; import net.mi...
20.193548
76
0.72524
3ea19f52c35f74c235f94230bcf11492b9d92e5f
2,025
package com.intent.wx.util; import com.intent.wx.constant.Const; import okhttp3.ConnectionPool; import okhttp3.OkHttpClient; import okhttp3.Protocol; import okhttp3.internal.Util; import java.util.concurrent.TimeUnit; /** * @author intent <a>zzy.main@gmail.com</a> * @date 2021/5/13 3:28 下午 * @since 1.0 */ public...
38.942308
123
0.580247
83ba8b961d72b9e9518c222f295a669de6744836
2,352
package com.github.sparkzxl.database.aspect; import com.github.sparkzxl.annotation.ApiIdempotent; import com.github.sparkzxl.annotation.ApiIdempotentParam; import com.github.sparkzxl.core.generator.CacheKeyGenerator; import org.apache.commons.lang3.StringUtils; import org.aspectj.lang.ProceedingJoinPoint; import org.a...
41.263158
110
0.660289
18b7857aa4b0d2f175bf395dff977d2cf764632f
969
package com.github.brane08.pagila.actor.entities; import com.github.brane08.pagila.seedworks.entities.BaseModel; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.util.Objects; @Entity @Table(name = "actor") public class Actor e...
24.225
64
0.73065
1ec04c32b7adfe527f022fe5262cc80d0e7a6ce2
2,673
/* * Copyright (c) 2016. Universidad Politecnica de Madrid * * @author Badenes Olmedo, Carlos <cbadenes@fi.upm.es> * */ package org.librairy.modeler.lda.tasks; import org.librairy.boot.model.Event; import org.librairy.boot.model.domain.resources.Resource; import org.librairy.boot.model.modules.RoutingKey; import...
32.204819
164
0.653199