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
ac85f5309eca461cbda6bd59c1e304630cc170fe
7,467
/* * Copyright (c) 2016 Cisco and/or its affiliates. * * 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 applic...
41.254144
134
0.641757
4cfdab25bce46507860be5df523c5127db5b9cd3
1,164
package common.protocol; /** * Created by dubin on 03/10/2017. */ public class OffsetInfo extends BaseProtocol{ private String group; private String topic; private Long committedOffset; private Long logSize; private Long lag; private Long timestamp; public long getTimestamp() { ...
18.47619
58
0.610825
c530024f9379bffed6b8e2adb65f7858eb5526a2
2,814
package org.apereo.cas.oidc.web; import org.apereo.cas.oidc.AbstractOidcTests; import org.apereo.cas.oidc.OidcConstants; import org.apereo.cas.support.oauth.OAuth20Constants; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.pac4j.core.context.JEEContext; import org.pa...
36.545455
100
0.719616
6978bd3989f2ab980345d4404c57a0fce30b124b
573
package io.stubbs.truth.generator.internal.model; import io.stubbs.truth.generator.internal.OverallEntryPoint; import lombok.Builder; import lombok.Value; import java.util.Map; /** * Final collated results of the generator. Used to present structured results to user. * <p> * TODO this is still a work in progress ...
23.875
87
0.739965
ce52b6886fafe4ee3c06ee8e4a3c1e3729231b71
2,172
package com.crawljax.oraclecomparator.comparators; import com.crawljax.oraclecomparator.AbstractComparator; import org.apache.commons.text.similarity.LevenshteinDistance; /** * Oracle Comparator that uses the Levenshtein Edit Distance to determine whether two states are * equivalent. */ public class EditD...
28.207792
101
0.680479
2edd01a46387c251b3da31945e8b255ab0104cea
701
package com.ifts.applicazioneufficialetmpet; import android.widget.TextView; public class Slider_Swap { private int img; // private TextView visualizza_annuncio; public Slider_Swap(int img){ this.img = img; } public int getImg() { return img; } public void setImg(int img)...
20.617647
70
0.67475
540b0b022bb00b1281a77118fc42ac18a34dbc83
588
package org.wildfly.plugins.demo.https; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; @WebServlet(urlPatterns = "/hello") public cl...
26.727273
95
0.761905
15d4163a4564f56b0ebb19d22166001d79450b02
1,312
package dk.mmj.eevhe.entities; import java.util.List; import java.util.Objects; /** * Class representing the common input given to all BB instances */ @SuppressWarnings("unused") public class BBInput { private List<BBPeerInfo> peers; private List<PeerInfo> edges; public BBInput(List<BBPeerInfo> peers, ...
22.237288
86
0.571646
e89ae482043e944626458ae2ffa088897c2f862a
3,954
package com.example.uniapp_20.utils; import android.content.Context; import android.content.SharedPreferences; public class SessionManager { public static SessionManager mInstance; SharedPreferences preferences; SharedPreferences.Editor editor; Context context; int PRIVATE_MODE = 0; private s...
29.073529
76
0.659838
61b3a65900d783ef52f3edb2d60f92dbf3f388c7
973,059
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
41.112853
576
0.76619
9f3466ba8b4119eda9a548f2f93ca3ec79572f36
13,003
package org.atlasapi.query.v2; import com.amazonaws.util.IOUtils; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.metabroadcast.applications.client.model.internal.Application; import com.metabroadcast.applications.client.model.internal.ApplicationConfiguration; import...
41.410828
99
0.728063
aacde9e1b7875ee9aec32b31227d7fd9fe7030ee
30,726
/* * generated by Xtext 2.16.0 */ package de.fraunhofer.ipa.ros.ide.contentassist.antlr; import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; import de.fraunhofer.ipa.ros.ide.contentassist.antlr.internal.InternalRosParser; import de.fraunhofer.ipa.ros.se...
92.548193
180
0.835904
655e0b7d369d491fa5b6bf78c602bd9b0f4c0c3c
8,041
package io.github.daniloarcidiacono.hazelcast.monitor.agent.helper; import io.github.daniloarcidiacono.hazelcast.monitor.agent.ClientConnection; import io.github.daniloarcidiacono.hazelcast.monitor.agent.producer.AbstractTopicProducer; import io.github.daniloarcidiacono.hazelcast.monitor.agent.ClientConnectionListener...
39.610837
110
0.668698
9a897b0d5cb255ac87f544812eefe293492fa42e
963
package com.game.part.tmpl.type; import com.game.part.tmpl.XSSFRowReadStream; /** * Excel Double 字段 * * @author hjj2019 * @since 2015/3/1 * */ public class XlsxDouble extends PrimitiveTypeCol<Double> { /** * 类默认构造器 * */ public XlsxDouble() { super(); } /** * 类参数构造器...
16.322034
60
0.538941
f114ca3b77d0d786912a828c2fdbd16265be71a4
1,686
/** * 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...
44.368421
116
0.755635
2ecfb2bb5055ebfa663f91149dbe91ca7af55b8b
18,099
/* * Copyright 2008-2010 LinkedIn, 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 agre...
50.135734
163
0.508426
15e68e8517e6e8e2f34d9b89940ad33db0a3beae
1,226
package com.jmsproject.jms.annotation; import java.util.Enumeration; import javax.annotation.Resource; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.JMSException; import javax.jms.Queue; import javax.jms.QueueBrowser; import javax.jms.Session; import javax.jms.TextMessage; public ...
25.020408
64
0.756117
2f83b72d0d50cd2cab113e5ff04e9323a6fed23d
792
package me.hero.onepop.onepopclient.event; import me.zero.alpine.fork.event.type.Cancellable; import net.minecraft.client.Minecraft; public class OnePopEventCancellable extends Cancellable { private OnePopEventCancellable.Era era_switch; private float partial_ticks; public OnePopEventCancellable() { t...
24
69
0.72601
a13d8b38adc63ebe7ed1417168b27ba85aba9c98
2,593
package com.xs.aliet.beebot.request; import com.alibaba.fastjson.annotation.JSONField; /*** * 公共请求头对象 * @author 小帅丶 */ public class GeneralRequest { @JSONField(name="Format") private String Format; @JSONField(name="Version") private String Version; @JSONField(name="AccessKeyId") private String ...
25.93
84
0.726186
d8a5c8584dddb69a0532b6ac54cbcf277c6119d6
8,605
/* * Copyright 2011-2016 ETH Zurich. All Rights Reserved. * Copyright 2016-2018 Tilmann Zäschke. All Rights Reserved. * Copyright 2019 Improbable Worlds Limited. All rights reserved. * * This file is part of the PH-Tree project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
28.683333
93
0.63742
cc4ac979dd2ecca1ea791543bae92cc3d0325335
12,822
package mods.banana.economy2.mixins.block; import mods.banana.bananaapi.helpers.ItemStackHelper; import mods.banana.economy2.Economy2; import mods.banana.economy2.balance.OfflinePlayer; import mods.banana.economy2.chestshop.interfaces.mixin.HopperInterface; import mods.banana.economy2.chestshop.interfaces.mixin.ChestI...
48.022472
241
0.602558
5cb37fb93b4a9dd8647b3dd3876365b9253475be
464
package com.cmput301t14.mooditude; import com.cmput301t14.mooditude.models.Location; import com.google.firebase.firestore.GeoPoint; import org.junit.Test; import static org.junit.Assert.assertEquals; public class LocationUnitTest { @Test public void creation(){ Location location = new Location(1.1...
22.095238
68
0.717672
9673e6897fc74035adddb3954e9822fed742c360
3,472
/* * Copyright 2020-Present The Serverless Workflow Specification Authors * * 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 re...
35.428571
89
0.689228
2d2ed9083040a1a41c33ed71c000c268e6ec9ce7
1,552
package com.developers.sd.register.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.developers.sd.register.database.RegisterDbSchema.RegisterTable; /** * Created by sohamdeshmukh on 22/06/17. */ public class Registe...
34.488889
78
0.596005
268f149dc21552373e9d9332024a4545cd7375b7
433
package de.tum.mitfahr.networking.models.response; import java.util.ArrayList; import de.tum.mitfahr.networking.models.Ride; /** * Created by amr on 18/05/14. */ public class AcceptRideResponse { private String message; public AcceptRideResponse(String status, String message, ArrayList<Ride> rides, Ride ...
18.826087
96
0.69515
9bda642741b8307d1a94b6f4828f066139a514c4
615
package com.duke.microservice.blog.mapper.extend; import com.duke.microservice.blog.domain.basic.BlogArticleTypeR; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Created duke on 2018/9/29 */ @Mapper public interface BlogArticleTypeRExtendMapper...
21.206897
81
0.699187
306c50babd8c278fba2dcaa95d8de9838b04cd8b
1,345
/******************************************************************************* * Copyright (c) 2005 - 2013 Nos Doughty * * 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 * * ...
42.03125
114
0.635688
1d9285b779dc26b1c1123ad629419d2f944a728a
2,819
package org.apache.dubbo.demo.loadbalance; import java.util.ArrayList; import java.util.List; import org.apache.dubbo.common.URL; import org.apache.dubbo.rpc.Invoker; import org.apache.dubbo.rpc.RpcInvocation; public class TestRoundRobinLoadBalance { public static void main(String[] args) { //1.mock三个invoker,并设置...
70.475
594
0.79851
20558e2c3caf40371b743ad311e1ff6da1b8cf1a
378
package jp.gr.java_conf.kgd.library.cool.jsfml.application.scene.transition; import jp.gr.java_conf.kgd.library.cool.jsfml.actor.IActorState; public interface ITransitionState extends IConstTransitionState { // void setParentSize(Vector2f size); void setTargetActorState(IActorState actorState); void setTransition...
25.2
76
0.820106
e585ee7cae2555d8964fd9bbfa4ae17be1cf8e7a
865
package ru.chedmitriy.monitor.ex1102; import org.junit.Before; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.*; /** * @author cheDmitry * @since 27.08.2017 * @version 1.0 * в данном классе * тестирется класс Count */ public class CountTest { private Count.Incr...
24.714286
67
0.655491
e5ed72a66ae04546d2ae6ccf0f4cbd6b79fba61c
4,437
package com.home.shine.support.collection; import com.home.shine.ctrl.Ctrl; import com.home.shine.support.collection.inter.ICharConsumer; import com.home.shine.utils.ObjectUtils; import java.util.Arrays; import java.util.Iterator; public class CharList extends BaseList implements Iterable<Character> { private char[...
14.547541
70
0.619337
b7ad10966574b2302630fdba7ed0b85d19606d70
11,132
package org.reactnative.visacheckout; import android.app.Activity; import android.content.Intent; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.fac...
47.982759
113
0.604024
e8f8def4bc12817e59c3a93ce30a5c71ffedc084
3,465
package org.jsondoc.core.scanner; import java.lang.reflect.Method; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.jsondoc.core.annotation.Api; import org.jsondoc.core.annotation.ApiBodyObject; import org.jsondoc.core.annotation.ApiMethod; import org.jsond...
30.9375
124
0.78759
b884e806e7c40ce8160d6d959c72d96ead8f4eb0
4,523
/******************************************************************************* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2018 RDK Management * * Licensed under the Apache License, Version 2.0 (the "License"); ...
37.380165
158
0.663277
dfd1ab6b683b0d9c7165b98c0ce734fc774b7085
12,693
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ResultDetail4Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="...
18.316017
137
0.516032
787a7f7f583e93f2579207023603ac514e90f40e
3,795
/* * Copyright (c) 2011-2017 Nexmo Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publ...
29.192308
80
0.69776
9a081a25b2e471481d020e8e76f0fde413062055
8,741
/* * Copyright 2011 Goldman Sachs. * * 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 ...
28.196774
114
0.674294
5de8b25c566f8928fc9610a0d0c7a33ecb235349
2,906
/* * Copyright 2017 Jiaye Wu * * 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 wr...
23.626016
133
0.626979
1c6658d6f51c4cbbf9e5622222de7de7cc96a380
1,269
package org.interledger.connector.settings.properties; import org.interledger.crypto.CryptoKeys; import java.util.Objects; public class ConnectorKeysFromPropertyFile implements CryptoKeys { private ConnectorKeyFromPropertyFile secret0; private ConnectorKeyFromPropertyFile accountSettings; public ConnectorK...
22.660714
80
0.7171
cad8ec76a6ed5d21abebcca6e644321c9da5ca38
5,229
package com.example.android.sunshine.app; import android.content.Context; import android.database.Cursor; import android.graphics.Bitmap; import android.support.v4.widget.CursorAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import ...
36.566434
98
0.649072
809ea3099383c96b8a5471f2090976e25c42d1b2
1,684
package bitchat.android.com.bitstore.bean; import java.io.Serializable; import java.util.List; public class CommentBean implements Serializable { private int commentid; private String appid; private String model; private int praisecount; private String account; private String commenttext; ...
18.304348
52
0.607482
8819c44a5bbeaecf2362296a0b592a6d008f9bd0
1,631
package com.sap.gtt.v2.sample.sst.rest.model.converter; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import com.sap.gtt.v2.sample.sst.common.utils.ODataUtils; import com.sap.gtt.v2.sample.sst.common.utils.SSTUtils; import com.sap.gtt.v2.sample.sst.odata.model.Locat...
37.068182
110
0.766401
072f23247d8a2377f2e180a42b5c885ea87fa073
34,876
package com.datadog.api.v1.client.api; import com.datadog.api.v1.client.ApiClient; import com.datadog.api.v1.client.ApiException; import com.datadog.api.v1.client.ApiResponse; import com.datadog.api.v1.client.Configuration; import com.datadog.api.v1.client.Pair; import com.datadog.api.v1.client.model.ApiKey; import co...
39.497169
100
0.633702
1331cb7d7006668c31565bf6e44f6606033e27d2
2,568
package com.sequenceiq.datalake.service.sdx.flowwait.task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.dyngr.core.AttemptResult; import com.dyngr.core.AttemptResults; import com.sequenceiq.datalake.entity.SdxCluster; import com.sequenceiq.datalake.service.sdx.PollingConfig; import com.sequenc...
47.555556
161
0.705218
439f91d05c77c1bd7aeccf530a29c87dd4b08518
2,920
/* * Copyright 2015 the original author or authors. * * 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...
36.049383
106
0.724658
83ae009895aa3835230d3dc88d08b560068e61c8
140
package com.devmel.apps.linkbuscontrol; import java.util.ResourceBundle; public class R { public static ResourceBundle bundle = null; }
15.555556
44
0.785714
18b9007d70780a376de77c6ade8a7648d99b9b17
47
package io.happylrd; public class MyClass { }
9.4
22
0.744681
456842a060ddf612dd3e2869c4d41848e1031605
4,155
package top.luyuni.qaa.async; import com.alibaba.fastjson.JSON; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
34.338843
101
0.529964
915aaa480b879078223a8e14d1a5e729997511d0
550
package io.github.zartc.hangman.model; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class LetterBag { private final Set<Character> consumed = new HashSet<>(); /** * Register the use of a character. * * @return true if the character c was never used yet, false otherwise. ...
19.642857
72
0.703636
af44581181b36a1bb2a77f85f40413c315b6f90d
472
package com.sjani.usnationalparkguide.UI.MainList; public class ListFragmentPresenterImpl implements ListContract.ListFragmentPresenter { private ListContract.ListFragmentView view; public ListFragmentPresenterImpl(ListContract.ListFragmentView view) { this.view = view; } @Override...
22.47619
87
0.67161
04f3318d12a7ce43b67e324eb6f59d5c1fde8c86
717
public class Print1ToMaxOfNDigits { public static void toMaxOfNDigits(int n) { if(n<=0) return; int[] number = new int[n]; printArray(number, 0); } private static void printArray(int[] array, int n) { for(int i=0; i<10; i++) { if(n != array.length) { array[n] = i; printArray(array, n+1); }...
18.868421
53
0.560669
55cb5d913e97548dc30069efda0b43b7a7caab69
2,845
package cn.forward.androids; import android.os.Handler; import android.os.Looper; import java.util.concurrent.ExecutorService; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /* * 自定义的AsynTask,任务队列采用后进先出的策略 */ abstract public cl...
27.095238
84
0.596485
b346324c03c48098259b475c1a85d6082e0a04ea
165
package com.example.tictactoeai.source; /** * Box ENUM that represents what can be in a box on a Tic-Tac-Toe board. */ public enum Box { X, O, EMPTY; }
18.333333
73
0.648485
7610b3162e3838f27e423cd5dc44b1f5128c2d4b
816
package ie.tcd.kdeg.r2rmleditor.entities; import java.util.Date; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.MappedSuperclass; import org.apache.tapestry5.beaneditor.NonVisual; @MappedSuperclass public abstract class BaseEnt...
17.361702
52
0.745098
3ded9507b2e0c08b0b69e5a4fc29a022a0b49b7d
646
package org.qiunet.flash.handler.handler.tcp; import org.qiunet.flash.handler.common.annotation.RequestHandler; import org.qiunet.flash.handler.context.request.tcp.ITcpRequest; import org.qiunet.flash.handler.handler.proto.LoginProto; /** * Created by qiunet. * 17/8/16 */ @RequestHandler(ID = 1004, desc = "protobu...
34
128
0.797214
3a33586fa491ab1bca1ede84942c2357885c1326
4,798
package begyyal.commons.object.collection; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.Objects; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collector; import java.util.stream.Collectors; import begyyal.co...
24.989583
84
0.659025
60774a613998799c12ae6dc09946caae852a326f
510
package Backend.Commands.Display; import Backend.Command; import Backend.VariableTracker; import java.util.List; /** * @author Micheal Glushakov */ public class CommandGetPenColor extends Command { public final static String key = "GetPenColor"; public CommandGetPenColor(VariableTracker tracker) { ...
22.173913
74
0.709804
849d71b3ea10eb011f41309dc7ffd047038803f8
229
package com.awshousekeeping.services; import java.util.List; import com.amazonaws.services.s3.model.Bucket; /** * * @author * */ public interface AwsS3ListService { public List<Bucket> listAWSs3Buckets(int accountid); }
15.266667
53
0.746725
2a850aaaff1dff8e5a36e1ab80e820baf999bb13
333
package com.clusus.payroll.employee.domain.model; import lombok.Builder; import lombok.Data; import java.util.UUID; @Data @Builder public class DepartmentModel { private Long id; private String name; public static DepartmentModel of(String name) { return DepartmentModel.builder().name(name).buil...
18.5
60
0.726727
2248302ecd697ffe779eea994e041ec47137109e
12,286
/* * Copyright (c) 2010-2017 Evolveum * * 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 agre...
35.611594
130
0.772424
317d28729e77eea31be139cdffccc2eef55c6508
7,811
package com.ringcentral.platform.metrics; import com.ringcentral.platform.metrics.AbstractMeter.*; import com.ringcentral.platform.metrics.configs.*; import com.ringcentral.platform.metrics.dimensions.MetricDimensionValue; import com.ringcentral.platform.metrics.measurables.*; import com.ringcentral.platform.metrics.m...
36.84434
116
0.565869
65441b2b18e21c9e1880cedbad3c3339cc95647d
369
package com.enterpriseapp.gateway.repository.search; import com.enterpriseapp.gateway.domain.JobHistory; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * Spring Data Elasticsearch repository for the {@link JobHistory} entity. */ public interface JobHistorySearchRepository exten...
36.9
95
0.837398
e812b4bfe63b7e7290b3503782fbaaa3f85606ba
3,536
/* * Copyright 2016 Christophe Michel * * 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 agre...
35.009901
100
0.680147
4cac9f42694ff8065b5ec73112f438085fa800e1
900
package app.habitzl.elasticsearch.status.monitor.util; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.net.InetAddress; import java.util.Optional; import static com.github.npathai.hamcrestopt.OptionalMatchers.isPresentAnd; import static org.hamcrest.MatcherAssert.assertThat; i...
26.470588
78
0.726667
8404b7a167e98f9393cbc31fe20f281282dc6cc3
1,003
package net.gold.diggers.mixins; import net.gold.diggers.Tools.GGbaoleTools.GGbaoleGun; import net.minecraft.entity.LivingEntity; import net.minecraft.item.ItemStack; import net.minecraft.util.Hand; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm...
32.354839
100
0.712861
67f776098329bfb23a88c3becba46a581e7f8cf3
1,061
package org.chobit.calf.spring.ext; import org.springframework.web.util.UrlPathHelper; import javax.servlet.http.HttpServletRequest; import static org.springframework.web.util.WebUtils.INCLUDE_REQUEST_URI_ATTRIBUTE; import static org.springframework.web.util.WebUtils.INCLUDE_SERVLET_PATH_ATTRIBUTE; /** * @author r...
30.314286
83
0.70311
cc17f49b5a417fc615bfaacc286ff4fffb47981f
8,234
package nextstep.subway.line.domain; import nextstep.subway.station.domain.Station; import javax.persistence.CascadeType; import javax.persistence.Embeddable; import javax.persistence.OneToMany; import java.util.ArrayList; import java.util.List; import java.util.Objects; @Embeddable public class Sections { priv...
35.339056
158
0.646587
360694ae0249316232a78051c668e201122a45be
3,450
/* * Swift Parallel Scripting Language (http://swift-lang.org) * Code from Java CoG Kit Project (see notice below) with modifications. * * Copyright 2005-2014 University of Chicago * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
25.746269
89
0.670435
585b8fddf85a910d096fdb73840b093083ac5163
8,035
/* * Copyright 2017. Crown Copyright * * 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 agree...
48.993902
164
0.677536
13124477838f994bfba5075e31c54674456d92ec
20,267
package com.sap.gtt.v2.sample.sof.odata.model; import com.google.gson.annotations.SerializedName; import com.sap.gtt.v2.sample.sof.constant.Constants; import org.apache.olingo.odata2.api.annotation.edm.*; import java.math.BigDecimal; import java.util.List; import java.util.UUID; import static org.apache.olingo.odata...
30.025185
120
0.706617
c2cfa58ef051a5e376aab4aee0ba702915568fe9
1,888
package jenkins; import javax.annotation.Nullable; import java.io.File; /** * Variant of {@link FilePathFilter} that assumes it is the sole actor. * * It throws {@link SecurityException} instead of returning false. This makes it the * convenient final wrapper for the caller. * * @author Kohsuke Kawaguchi */ pu...
26.971429
133
0.65678
53e50a0546e50f8577859567e5ebe6dd24f0d5a9
5,352
package org.infinispan.remoting.transport; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.concurrent.TimeUnit; import org.infinispan.remoting.rpc.RpcManager; import org.infinispan.util.logging.Log; import org.infinispan.util.logging.LogFactory; import org.infinispan....
37.690141
155
0.675822
5a3f681ed4d3eff8d7d7929ab63eac8f66cc49fd
1,576
package gz.jflask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * Created by IntelliJ IDEA. * User: kan...
29.185185
115
0.659264
ad7ee0faf18f03c027763533352e9ea96585cfbd
1,513
package popgenIO.Core; import libnp.mcmc.collectors.Collectable; import libnp.mcmc.collectors.Collector; import libnp.mcmc.collectors.MatrixCollector; public class DataSetConverter implements Collectable { private Collectable cc; public DataSetConverter(Collectable cc) { this.cc = cc; } private Integer[][]...
21.614286
54
0.590879
cb93c0cad5fdfe38862f8d6b726e2a6d6936ee7f
3,139
/* * 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 n...
38.280488
98
0.72316
f71b39e81baac3e82c5bd524bdd8019478b68b0a
1,727
import java.lang.reflect.Method; import java.lang.reflect.Field; public class Reflection { public static boolean booleanMethod() { return true; } public static byte byteMethod() { return 1; } public static char charMethod() { return '2'; } public static short shortMethod() { return 3; ...
23.986111
79
0.646786
481601e9133701cc174bd112515ba7921b410f0c
3,781
package com.amaze.filemanager.ui.views; import android.content.Context; import android.support.annotation.DrawableRes; import android.support.annotation.StringRes; import android.text.Editable; import android.view.MotionEvent; import android.view.View; import android.widget.EditText; import com.amaze.filemanager.R; i...
32.316239
133
0.642423
40dbb582230d7d611a7fb680e8fa0e95cc8646e0
593
package textmatch; import java.util.*; import org.junit.*; import static org.junit.Assert.*; import static textmatch.CharTree.*; import static textmatch.GStringUtils.split; public class CharTreeTest { @Test public void testCharTreeToString() { assertEquals("", charTreeToString(null)); CharT...
24.708333
49
0.652614
6a3f7c38cf6abeeebadaa3ab6057a05acaae1bdb
2,684
package com.web.service.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.google.common.collect.Lists; import com.web.common.Const; import com.web.common.ResponseCode; import com.web.common.ServerResponse; import com.web.dao.CouponMapper; import com.web.pojo.Coupon; impor...
34.410256
141
0.719821
245d943c06d231dc8a922f46f2a5b28eac1434d3
286
package org.simbasecurity.dwclient.exception; public class SimbaUnavailableException extends Exception { private static final long serialVersionUID = -8064865040264447091L; public SimbaUnavailableException() { } public SimbaUnavailableException(Throwable t) { super(t); } }
19.066667
68
0.797203
53d2a870526d50662c2c92f1fa3318eda4e2a6be
6,810
package com.google.android.finsky.billing.iab; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.Configuration; import android.os.Bundle; import android.util.L...
39.137931
198
0.659031
06de297e847eafe28ff49bd1108af6d2627239cc
2,116
package com.github.since1986.learn.boot.step1; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.SerializerProvider;...
38.472727
127
0.741966
2ac8b97c210f99fa776888c9cf14a6f375506b61
11,785
package com.mtvindia.connect.services; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.util.Log; import android.widget.Toast; import com.mtvindia.connect.app.Config; import com.mtvindia.connect.app.di.Injector...
33.29096
136
0.669665
e199b39a86ab2653fbd5dba72a193c2a3ca55a81
376
package com.jd.o2o.db4o.util; /** * 释放CPU by 休眠一点时间 * * @author caojunming * @date 2015年11月26日 */ public class ThreadSleepUtil { private final static long MINUTE = 60 * 1000L; /** * 释放CPU: 如果不释放, CPU则一直忙碌 */ public static void sleep() { try { Thread.sleep(MINUTE); } catch (InterruptedEx...
16.347826
48
0.617021
6317a11dea00b79f29a2e52bd8d19689386b59de
2,019
package pro.gravit.simplecabinet.web.service.shop; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional;...
33.65
85
0.759287
8b2b5f60169d7e864115b60733716a8d74d58e25
711
package com.chejdj.wanandroid.ui.search.model; import com.chejdj.wanandroid.network.HttpService; import com.chejdj.wanandroid.network.bean.article.ArticleDataRes; import com.chejdj.wanandroid.network.bean.hotkey.HotKeyData; import com.chejdj.wanandroid.ui.search.contract.SearchContract; import io.reactivex.Observable...
33.857143
92
0.78903
ebbba4774350a34b924e2ee6723518fb2458a115
514
package com.occamedu.security.log.route; import com.jfinal.config.Routes; import com.occamedu.security.log.attack.AttackSourceLogController; import com.occamedu.security.log.command.TimerCommandLogController; /** * @author fye * @email fh941005@163.com * @date 2020-06-10 22:02 * @description */ public class LogR...
25.7
67
0.731518
8b3209a992b437c6f3cd1777f5850d3b34aadf48
4,767
package com.ionel.octavian.testgithub; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import com.android.volley.Response; import com.android.volley.VolleyError; im...
40.058824
110
0.555905
c38b6cc7fbd1bd0774d9028ccf1a66fc97bb6570
920
package com.stm.dialog.photo.interactor; import com.stm.common.dao.File; import com.stm.common.dao.User; import java.util.List; /** * Created by ㅇㅇ on 2017-08-17. */ public interface PhotoDialogInteractor { void setStoryFileDownloadRepository(); void setCommentFileDownloadRepository(); User getUser...
16.727273
56
0.703261
69a21281fa631e188c8a5a33724fa8439b279821
3,926
package imapi2 ; import com4j.*; /** * Represents a single CD/DVD type device, enabling additional commands requiring advanced marshalling code. */ @IID("{27354132-7F64-5B0F-8F00-5D77AFBE261E}") public interface IDiscRecorder2Ex extends Com4jObject { // Methods: /** * <p> * Send a command to the device t...
27.647887
108
0.541518
049a829df16e71401a12b360729755704d6f501d
348
package com.urbantrans.model.wrapper; import com.urbantrans.model.Position; import java.util.List; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @AllArgsConstructor @NoArgsConstructor public class RideRequestWrapper { private List<String> macAddresses; private ...
19.333333
38
0.816092
f9c1bed251b33bfe0bf5e94ed7bfd2262ca83bbe
20,640
package to.ares.gamecenter.games.snowwar.objects; import to.ares.gamecenter.games.snowwar.*; import to.ares.gamecenter.games.snowwar.room.SnowWarRoom; import to.ares.gamecenter.games.snowwar.room.items.GameItem; import to.ares.gamecenter.games.snowwar.events.PickBallEvent; import com.eu.habbo.habbohotel.gameclients.Ga...
32.81399
208
0.531444
7eb72dc6d16170130d7344205064318c2f2f856a
9,328
/* * Copyright 2015-2018 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 ...
53.919075
152
0.700901
9c47f1345f649d937b2d97814595f672408ff4ad
1,170
/* * Copyright (c) 2020 Squaredesk GmbH and Oliver Dotzauer. * * This program is distributed under the squaredesk open source license. See the LICENSE file * distributed with this work for additional information regarding copyright ownership. You may also * obtain a copy of the license at * * https://squaredes...
31.621622
100
0.744444
013906bb1d83a57048237efc7fa64235a5852288
3,123
/* * Copyright (C) 2017 Julien Viet * * 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 ...
40.558442
166
0.764329
e1bd2ba09b633e099d4bd883f91dc46c3df231fa
2,579
package org.quickat.da; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; /** * Created by aposcia on 14.01.15. */ @Entity(name = "users") public class User { @Id @GeneratedValue private Long id; private String firstname; private String lastn...
19.246269
52
0.61962
84de12dfc1b79023d7c538008079860de5576f31
1,612
package com.rotartsi.untitledgame.weapons; import com.rotartsi.jgame.gameLogic.Weapon; import com.rotartsi.jgame.image.ImageManager; import com.rotartsi.jgame.mechanics.Meters; import com.rotartsi.jgame.mechanics.PlatformerPlayer; import com.rotartsi.jgame.util.ScreenBounds; import com.rotartsi.untitledgame.bullets.Bu...
35.043478
139
0.635856
977d6945dabb4d0bd799918a09b6b97cefed8cce
242
/** * An endurance excercise * increases activity in a period of time. */ public abstract class Endurance implements Fitness{ @Override public String description(){ return "Endurance is all about sweat and patience."; } }
26.888889
58
0.698347
a21260519bc1db68eb7a428937a97fbc6c986a95
1,669
package hu.gamf.szakdolgozatbackend.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.mail.MailException; import org.springframework.mail.SimpleMailMessage; import org.springframework.mail.javamail.JavaMailSende...
32.72549
81
0.762133
ba6362df7b46b5ce38880deae01dfb5fd7ea71ea
2,251
package org.pm4j.core.util.reflection; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.HashSet; import java.util.Set; import org.pm4j.common.util.reflection.ClassUtil; import junit.framework.TestCase; public class ClassUtilTest extends TestCase { public static class MyBase { ...
28.858974
96
0.695691