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
8338597fb07cabc76cc7756e15437ca3ff83be2e
5,987
package org.wushujames.connect.mysql; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.HashMap; imp...
36.506098
112
0.663939
173745b30cf73ce5b72f8b0757525fb9be7bbaf0
3,467
/* * Copyright 2020 The 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 applicable law or agreed to in w...
26.669231
75
0.727142
192746e9599ce39ee0425a42d26529de44ab16bd
1,049
package es.urjc.dad.devNest.Database.Repositories; import es.urjc.dad.devNest.Database.Entities.GamejamEntity; import java.util.Optional; import javax.persistence.QueryHint; import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CachePut; import org.springframework.cache...
36.172414
79
0.756911
580b97c1c0ffa9e3bd4842d31685665584a2a12a
2,973
/* * 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 Report; import Connection.ConnectionManager; import java.net.URL; import java.sql.SQLException; import java.util.Res...
30.96875
154
0.637403
f86dcc0f58703cd0a2a9db2e493b668f041a999c
5,322
/** * $URL$ * $Id$ * * Copyright (c) 2006-2009 The Sakai Foundation * * Licensed under the Educational Community 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.opensource.org/licenses...
46.684211
125
0.744081
eb09b6dffa88463dca1e1b47fd0041e8969bad2d
1,546
package org.ssunion.cloudschedule.telegram.pushbot.menus; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.ssunion.cloudschedule.domain.telegram.pushbot.User; import org.ssunion.cloudschedule.telegram.pushbot.PushBot; import org.telegram.telegra...
44.171429
169
0.652005
f9083aac6ae0618e1b628aa2a9281670c0bd7efe
3,955
package com.fbd.web.app.message.action; import java.util.HashMap; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import org.springframework.web.bind.anno...
33.235294
114
0.624779
91afe88ff1631b7cacdbf2bd56a332778ad90017
4,338
package com.zzstack.paas.underlying.metasvr.global; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent....
26.944099
130
0.717151
37a608dfadf705f4f6408a28b088b68e63d1a52c
654
package com.prismaqf.callblocker.utils; import com.prismaqf.callblocker.sql.DbHelper; import com.prismaqf.callblocker.sql.DbHelperTest; import org.junit.rules.ExternalResource; /** * JUnit Rule to inject the DB file name in DBHelper * @author ConteDiMonteCristo */ public class DebugDBFileName extends ExternalReso...
23.357143
66
0.724771
e3ae2044d84ec3ada6b83f69a69dc26859bf721b
1,075
package org.openxsp.example; import java.util.Scanner; import org.openxsp.java.RPCResult; import org.openxsp.java.RPCResultHandler; import org.openxsp.java.Verticle; import org.vertx.java.core.json.JsonObject; public class Sender extends Verticle { public static final String EVENT = "org.openxsp.test"; @Override ...
26.219512
86
0.710698
553221c477d2c03b17d8e11abcf97fa3986ed506
2,272
package com.example.entity; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Iterator; public class ExampleEntity { private boolean booleanVar; private int intVar; private long longVar; private String stringVar; private Date dateVar; private Calendar calendarVar; ...
18.933333
72
0.71963
88b4f650c5fe1f36fb7ac823104eafa93f16a06b
2,896
package nextstep.subway.line.ui; import java.util.List; import javax.validation.Valid; import nextstep.subway.line.application.LineService; import nextstep.subway.line.dto.LineRequest; import nextstep.subway.line.dto.LineResponse; import nextstep.subway.line.dto.LineUpdateRequest; import nextstep.subway.line.dto.Lines...
36.2
111
0.738605
c5dacc67a77cdc56d1e80bbef0c64784b5382f7d
1,393
package org.usfirst.frc330.commands.autocommands; import org.usfirst.frc330.commands.*; import org.usfirst.frc330.commands.commandgroups.*; import org.usfirst.frc330.commands.drivecommands.*; import org.usfirst.frc330.constants.ChassisConst; import org.usfirst.frc330.constants.ShooterConst; import org.usfirst.frc330.w...
30.955556
80
0.672649
0f6e7b392c7dc09d6e04718d478e47357b1d1a94
2,649
/* * (c) 2005 David B. Bracewell * * 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, Ve...
27.884211
78
0.690072
1202fa1befb12523910b1fe37f9eb825770ea3a1
5,111
/** * Copyright 2021 Tianmian Tech. All Rights Reserved. * * 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 ...
35.741259
162
0.654666
ed2252362c4851d612ef08a02bf34840630fde31
1,672
package com.ebay.dss.zds.message.sink; import com.ebay.dss.zds.message.TaggedEvent; import com.ebay.dss.zds.message.ZetaEvent; import com.ebay.dss.zds.message.ZetaEventListener; import com.ebay.dss.zds.message.event.TagMetricEvent; import com.sun.org.apache.xpath.internal.operations.Bool; import org.apache.logging.log...
29.333333
103
0.654306
e2e89a8a7345ccff08991f7e7bd5c7e96f3d5bdd
1,108
/* * Copyright 2016 FabricMC * * 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 ...
31.657143
98
0.767148
ae535a9499c9f6c0c5a9a21a0132a0db20f7e1b8
23,536
package com.congtyhai.dms.calendar; import android.app.SearchManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.content.ContextCompat; import android.support.v7.widget.DefaultIt...
36.042879
258
0.587823
576aa8d9b4a80a444731f55c79250d675b14a609
645
package ru.mail.jira.plugins.groovy.impl.groovy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.mail.jira.plugins.groovy.api.script.ExecutionContext; public class ExecutionContextHolder { private final Logger logger = LoggerFactory.getLogger(ExecutionContextHolder.class); private final Thr...
29.318182
105
0.714729
42a1f32ea3319acd386d2a8e21929f9f472fd1fe
20,683
/* * 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 ...
32.77813
149
0.65856
c6b501e82525df7d4d021c14501ef907747678bc
475
package com.virex.admclient.network; /** * Вспомогательный класс для отправки POST запросов */ public class PostBody { public interface OnPostCallback{ void onError(String message); void onSuccess(String message); } /* public String n; public String id; public String name;//login...
19.791667
51
0.68
213a2a6fad148616d5bfe3b5c52de8fced4dfa1d
4,137
/** * Copyright 2017 Comcast Cable Communications Management, 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 copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by a...
26.350318
107
0.70365
71e9419864cdef4029cefb6979378e030afc5eef
3,806
package com.grouleff.pumpcontrol; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.util.Random; public class Client extends Thread { private static final int REVC_PKG_TIMEOUT = 2000; private static final long IDLE_TIME_OUT = 60 * 1000; ...
29.503876
110
0.567525
038047b9d38767224e3510fbc2763c59e41f8139
525
package com.meterware.httpunit; /** * A listener for DNS Requests. Users may implement this interface to bypass the normal DNS lookup. * * @author <a href="russgold@httpunit.org">Russell Gold</a> **/ public interface DNSListener { /** * Returns the IP address as a string for the specified host name. ...
27.631579
99
0.697143
9f66c0fb78716faa674957e2c18f4dceaccf6bc9
2,049
package com.yz.enums; /** * es分词 * 更多请查询官网 * */ public enum AnalyzerEnum { /** * 不分词 * 结果同 STANDARD */ DEFUALT(0, ""), /** * 标准分词,按词切分,字母小写,无下划线 * heLLo World 2018 _ ----> hello, world ,2018 */ STANDARD(1, "standard"), /** * 按照非字符切分,全部小写,数字和下划线等不会分词 ...
17.817391
65
0.499268
e3121c9512d46af45a6a141b14a9588cd4f8b083
5,335
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.authz; import org.elasticsearch.comm...
52.303922
137
0.729897
642b0b53bb32ce8324efce9ae312352901161114
287
package simpletextoverlay.printer; import java.io.File; import java.util.List; import java.util.Map; import simpletextoverlay.util.Alignment; import simpletextoverlay.value.Value; public interface IPrinter { boolean print(File file, Map<Alignment, List<List<Value>>> format); }
19.133333
71
0.783972
e7aadb13efbc7858fa7a4c4c016b216771d366d9
899
package ru.alttiri.stepik.contest_java.functionals; /** 2.10 Too many arguments Write a lambda expression that accepts seven (!) string arguments and returns a string in upper case concatenated from all of them (in the order of arguments). You may write the expression in any valid format but with ; on the end. ...
26.441176
124
0.627364
ae12fd25aee2d7b06f0fbb7a451aa76d2568fdaf
399
package com.tcmj.pm.spread; import com.tcmj.pm.spread.impl.SpreadDoubleImpl; /** * SpreadCalculatorFactory. * @author Thomas Deutsch <thomas-deutsch(a.t)tcmj.de> * @since 30.01.2011 */ public class SpreadCalculatorFactory { /** * default no-arg-constructor. */ public static SpreadCalculator get...
19.95
68
0.696742
c6955da39dd2e5fb926660d25445528eff382bc9
3,122
package starter.stepdefinitions; import Data.TestData; import io.cucumber.java.en.And; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; import net.thucydides.core.annotations.Steps; import org.junit.jupiter.api.Assertions; import starter.navigation.DirectLineFormActio...
33.212766
139
0.721653
753621232c1447f3930fb17e478db863d09d78da
109
package com.irtimaled.bbor.client.gui; interface IRowHeight extends IControl { double getRowHeight(); }
18.166667
39
0.770642
c5d00888974cf801693032fecb88a9dead3bef7a
3,519
package redox.datamodel.clinicalsummary.common; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotati...
23.304636
85
0.662972
e4b005eef3c2aa8a5f3c817e92ba8266dddf78cd
854
package pgjdbcdemo; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; /** * * @author hom */ public class SQLInjectionDemo { public static void main( String[] args ) throws SQLException { if (args.length < 1) { Syste...
27.548387
76
0.58548
40e9bf844f03771f551ad7b970285295e7ebd99d
5,489
package org.slos.query; import java.util.List; public class BattleTeamRecord { private Integer rank; private String color; private String simpleHash; private CardRecord summoner; private List<CardRecord> monsters; private Integer totalMana; private Integer totalAttackDamage; private In...
28.440415
361
0.643469
56d790552e50450e87e80c2fc60ef43a8a99cbe3
800
package com.revolsys.raster.commonsimaging; import java.awt.image.BufferedImage; import com.revolsys.raster.AbstractGeoreferencedImage; import com.revolsys.spring.resource.Resource; public class CommonsImagingGeoreferencedImage extends AbstractGeoreferencedImage { public CommonsImagingGeoreferencedImage(final Com...
26.666667
87
0.775
f17394d1ade1d4dc550c63c78fe308fbc6271d6b
1,573
package com.github.terefang.gea.godot.pck; import com.github.terefang.gea.GeaFile; import java.io.*; public class PckFile extends GeaFile<PckFileEntry> { int compression; int format; int major; int minor; int patch; int flags; public int getCompression() { return compression; ...
18.951807
88
0.596949
11f671063a80f1d1708e335875823ff5a774ce71
3,891
package com.galaxy.crawler.core.engine; import com.galaxy.crawler.core.domain.Request; import com.galaxy.crawler.core.scheduler.Scheduler; import com.galaxy.crawler.core.spider.Spider; import lombok.extern.slf4j.Slf4j; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.Exe...
32.697479
91
0.558725
3588ff54d1a919c6cffec482667240ee65149491
5,966
package com.hoopawolf.vrm.network; import com.hoopawolf.vrm.helper.EntityHelper; import com.hoopawolf.vrm.network.packets.client.PlaySoundEffectMessage; import com.hoopawolf.vrm.network.packets.client.SendPlayerMessageMessage; import com.hoopawolf.vrm.network.packets.client.SpawnParticleMessage; import com.hoopawolf.v...
41.144828
244
0.569728
9a0d097e866e852cb1a84dd794cad8f7ff075a90
3,466
package knc.simulator.model; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ElevatorTest { private final int defaultLowestStorey = 1; private final int defaultHighestStorey = 4; private final int defaultStartingStorey = defaultLowestStorey; private Elevator...
32.698113
111
0.6985
5629ee4ee5ccec180a09754f88d53032f78fefc1
776
/** * I18nConfigurationProperties.java 2 abr. 2021 * */ package org.sylrsykssoft.springboot.common.app.boot.configuration.properties.i18n; import org.springframework.boot.context.properties.ConfigurationProperties; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Sett...
19.897436
82
0.805412
bf3fe7b677c4b6532d2505bbf26ea3be85da6f0c
503
package net.study.repository; import net.study.domain.Study; import net.study.domain.User; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * First Editor : Donghyun Seo (egaoneko@naver.com) * Last Editor : * Date : 6/5/15 | 9:50 PM * Description : * Copyright ⓒ...
22.863636
69
0.713718
92dc3bbaccc752b20bb78f03722083c8202afcde
1,821
package com.gcats.cats.service; import com.gcats.cats.model.User; import com.gcats.cats.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.s...
30.864407
85
0.72927
1e8932fff4ef4734042210dcb02a1a8535d29629
1,346
package be.unamur.transitionsystem.test.mutation.equivalence.exact; import java.util.ArrayList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import be.unamur.transitionsystem.State; public class NFAPair { ArrayList<State> x = new ArrayList<State>(); ArrayList<State> y = new ArrayList<State>(); priva...
20.089552
67
0.592868
ce48087b70085f3d6e6b5ff9a94afb1cfb107c10
426
package br.com.mjv.oficina.exception; /** * Exceção disparada quando tentamos cadastrar um defeito já cadastrado em nossa base de dados. * @author thiago * */ public class DefeitoJaCadastradoException extends BusinnessException { private static final long serialVersionUID = 1L; public DefeitoJaCadastradoExcept...
25.058824
95
0.7723
7615cc32e7231fb724ec0159df4f46cabd0c0957
833
package com.adsizzler.mangolaa.commons.json.jackson.serializers; import com.adsizzler.mangolaa.commons.domain.openrtb.enums.CreativeAttributes; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import java.i...
29.75
86
0.747899
c1e4b15b393080a1b0b2f91311b4ea2a6b816aa4
388
package ru.wolfa.demo.hockey.match.repository; import ru.wolfa.demo.hockey.match.domain.Tournament; import org.springframework.data.jpa.repository.*; import org.springframework.stereotype.Repository; /** * Spring Data repository for the Tournament entity. */ @SuppressWarnings("unused") @Repository public interfac...
24.25
79
0.801546
8501cf31b481677363280b9467aa5337ec5d9a8c
3,325
/* * Copyright 2018 Soojeong Shin * * 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 ag...
25.976563
108
0.661353
7565244532f397ffc573658ee4185979e95d5c6c
1,031
package com.gentics.mesh.util; import java.util.Optional; import io.vertx.core.http.impl.MimeMapping; public class MimeTypeUtils { /** Default MIME type for binary files. */ public static final String DEFAULT_BINARY_MIME_TYPE = "application/octet-stream"; /** * Try to determine the MIME type from the given fi...
33.258065
156
0.746848
6e10fb07648dd3adcc0ec285ec463e50445d9283
1,843
/** * Copyright 2013-2015 JueYue (qrb.jueyue@gmail.com) * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required...
30.213115
88
0.676614
1a58768886ccb9bc94a43845c81bca0f7223b449
9,838
import java.awt.Color; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.JOptionPane; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and op...
45.336406
141
0.614962
c4c226bd930f979c15ddfbb89ded0b51f4b1d8d3
3,152
package com.topology.impl.importers.sndlib; import com.topology.impl.primitives.LinkImpl; import com.topology.impl.primitives.NetworkElementImpl; import com.topology.impl.primitives.TopologyManagerImpl; import com.topology.importers.ImportTopology; import com.topology.primitives.TopologyManager; import com.topology.pr...
40.410256
155
0.728744
297b6e460eadf14f2c3f85f5863be3bede886579
814
package com.scs.astrocommander.modules.inputmodes; import com.scs.astrocommander.Main; import com.scs.astrocommander.modules.PlayersShipModule; import com.scs.rogueframework.ecs.components.ICarryable; import com.scs.rogueframework.ecs.entities.DrawableEntity; import com.scs.rogueframework.input.AbstractSelectNumberInp...
32.56
102
0.813268
12b4ef1a24a3ddf135fb5f66435b9fbf7886e21b
1,369
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
31.113636
103
0.747261
f74a8593b1497823e7bc1c8365d01f384e961ac9
1,825
package fr.jmini.openapi.openapitools.helidon.api; import java.util.List; import fr.jmini.openapi.openapitools.helidon.model.User; import javax.ws.rs.*; import javax.ws.rs.core.Response; import java.io.InputStream; import java.util.Map; import java.util.List; import javax.validation.constraints.*; import javax.vali...
26.838235
118
0.649315
cbad101621acfcf35ec3d7eb465cb274c44afa20
428
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.application.impl; import consulo.awt.hacking.InvocationUtil; import javax.annotation.Nonnull; public class InvocationUtil2 extends InvocationUtil ...
32.923077
140
0.799065
62f643ad30f4686c08f3ca07c676e4263e6188ca
1,397
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.blockchain.models; import com.aliyun.tea.*; public class VcControllerAddUserRegisterPayload extends TeaModel { // 注册用户did @NameInMap("did") @Validation(required = true) public String did; // 用户did对应的授权公钥 ...
26.865385
107
0.683608
c601e0d391be5ffd4647f6a32d24ed7118415a9a
1,584
package com.planmart; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public final class ShippingRule implements Rule { public static final String[] STATES = new String[] { "VA", "NC", "SC", "TN", "AK", "KY", "AL" }; public static final Set<String> NO_SHIPPING_ALCOHOL_STATES = new HashS...
33
107
0.616793
66bc6b5f82e7b12175d928358cadc6032eb841e4
3,472
package com.zcj.test5; import android.opengl.GLES20; import android.opengl.Matrix; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.List; /** * Created by zcj on 2019/6/25 23:08 * <p> * 绘制圆锥 */ public class Cone { private final ...
36.547368
143
0.658698
320e9c24829afc033275730bd2c5bb3944257c3e
974
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws Exception{ // 7-1 Reader fr = new FileReader("pref.properties"); Properties p = new Properties(); p.load(fr); System.out.println(p.getProperty("aichi.capital") + ":" + p.ge...
32.466667
95
0.586242
31de58e86fa5b7a68f76eb9b34a472ea27b96919
158
package NBlog; import org.springframework.data.jpa.repository.JpaRepository; public interface BlogPostRepository extends JpaRepository<BlogPost, Long> { }
19.75
75
0.829114
71469f408a9aa91ac61e75fc12f7d973ad70b374
3,351
package org.pushtalk.server; import org.apache.log4j.Logger; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.pushtalk.server.api.GetRecentChatsServlet; import org.pushtalk.server.api.GetRecentMessagesServlet; imp...
44.68
104
0.729931
16766e25aead6f05c81555741913400d51d51a79
2,197
package com.pinxiango.studytest; import android.content.Context; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import java.util.ArrayList; import java.util.List; public class CardActivity extends AppCompatA...
31.84058
115
0.67228
790e10b80c9b5323a2208d0f5724cb5c1574a62f
553
package com.helospark.lightdi.it.specialvaluecontext; import com.helospark.lightdi.annotation.Autowired; import com.helospark.lightdi.annotation.Configuration; import com.helospark.lightdi.descriptor.DependencyDescriptor; @Configuration public class SpecialValueWithSetterInjectConfiguration { private DependencyDe...
26.333333
64
0.790235
fbc19d71ba075803611f0ff286c5dcb9f516ca12
253
package com.jstarcraft.recommendation.data.processor; import com.jstarcraft.recommendation.data.accessor.DataInstance; /** * 数据选择器 * * @author Birdy * */ public interface DataSelector { boolean select(DataInstance instance); }
15.8125
65
0.711462
205d9cbdb747de2efb376879952a428e85588902
4,508
package com.frankzhu.filtermenu.holder; import android.content.Context; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; /** * Author: ZhuWenWu * Version V1.0 * Date: 15/5/16 18:37 * Description...
38.20339
116
0.558341
a5f4d497bd111e0212548e171e1fd4e2589e223e
944
package com.mall.system.service; import com.mall.common.core.mybatisplus.core.IServicePlus; import com.mall.common.core.mybatisplus.core.PagePlus; import com.mall.system.bo.UserBo; import com.mall.system.entity.UmsAdmin; import com.mall.system.vo.UserVo; import java.util.List; /** * 用户信息表 服务类. * * @author 钟舒艺 * @...
20.085106
74
0.638771
5f4460b38982f8bbb5ee753788b4e264388efe6a
4,032
/* * 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 writing, software * dis...
33.882353
85
0.679067
10cbe4211eff697b2813bd377236a442d40a1d0d
1,183
package svenhjol.charm.mixin; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.block.EnchantingTableBlock; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.inject...
35.848485
102
0.727811
e4dae9bdd57f8d6fb22ee36f5fcd780301b47463
1,530
/* * Created by Orchextra * * Copyright (C) 2016 Gigigo Mobile Services SL * * 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...
41.351351
112
0.815033
1e19bc675ca69883f532806f0130c1da332b6ac3
11,514
package com.serenegiant.camera; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2021 saki t_saki@serenegiant.com * * 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 Licens...
33.568513
121
0.713479
da81ee474d207b43db40f728c659e2e209a04878
4,479
package com.ab.quake_iii; import android.app.Notification; import android.app.PendingIntent; import com.firebase.jobdispatcher.JobParameters; import com.firebase.jobdispatcher.JobService; import android.content.Intent; import android.os.AsyncTask; import android.util.Log; import androidx.core.app.NotificationManager...
34.453846
129
0.647466
3fa981dcdc69fe0aebcd28a612348077a142019c
7,572
package com.rs.net.packets.logic.impl; import java.util.Optional; import com.rs.GameConstants; import com.rs.game.item.Item; import com.rs.game.map.World; import com.rs.game.map.WorldTile; import com.rs.game.npc.familiar.Familiar.SpecialAttack; import com.rs.game.player.Inventory; import com.rs.game.player.Player; im...
34.108108
124
0.642102
43ba3d17a18c042e043cee05ffc7f51a50a673eb
918
package org.silknow.converter.ontologies; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.model.ResourceFactory; import org.jetbrains.annotations.Contract; public class Schema { protected static final Property property(String uri) { return ResourceFactory.createProperty(NS, uri); } pu...
29.612903
67
0.754902
599bfb003cb907a884297146685e9b241508f6a5
1,987
package org.r10r.slqify.testutils; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.sql.DataSource; import org.testcontainers.containers.PostgreSQLContainer; /** * A class that starts a postgres server in a stat...
30.106061
91
0.685959
f8ba55e80b1addeca1ac8c827d312c7adbecf5ae
184
package org.yewon.parent; import org.yewon.grand.Life; public class Animal extends Life{ public void move() { System.out.println("STATUS: Life.Animal.move()"); } }
15.333333
52
0.663043
1cda7e93733bfe1dc7a13793192ccdc112fed793
6,221
/** * 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...
33.809783
113
0.715319
434915854792350e0d6e28c76f1099569f5c5c5e
127
package cn.gyw.middleware.shardingjdbc; public class ShardingJdbcApp { public static void main(String[] args) { } }
14.111111
44
0.708661
ede70cd36363e22ce940282431d48d6deb87df89
2,965
/* * Copyright 2018. AppDynamics LLC and its affiliates. * All Rights Reserved. * This is unpublished proprietary source code of AppDynamics LLC and its affiliates. * The copyright notice above does not evidence any actual or intended publication of such source code. */ package com.appdynamics.extensions.logstash...
30.255102
103
0.688702
616039f65993c329017586a9eabe77e6f89cb0f3
1,305
package com.zhenjin.rmi.client; import com.zhenjin.rmi.entity.User; import com.zhenjin.rmi.facade.UserFacade; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.te...
26.1
69
0.677395
30c46354397125fadc5d0cb3927c15fadb373af4
1,067
package search; import java.util.ArrayList; import java.util.Random; /** Generates one-dimensional lists with random values. * * @author Douglas Luman */ public class RandomList { ArrayList<Integer> used = new ArrayList<Integer>(); public final int[] list; private Random seed = new Random(); /** Construc...
21.34
55
0.606373
1ed800805e2775f72a6ba848455a9c35a8028651
1,661
package com.webleader.appms.db.service.communication; import java.sql.SQLException; import java.util.List; import java.util.Map; import com.webleader.appms.bean.communication.EvacuateDetail; /** * @className EvacuationService * @description 撤离呼叫信息查询 * @author ding * @date 2017年4月22日 上午10:57:18 * @v...
28.152542
115
0.724865
dc5da5d77609c91c037ae356154e6a3336d41479
6,563
package com.example.developerandroidx.ui.widget.codeView; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.ActivityInfo; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManag...
35.284946
111
0.635075
62f8b9fc402398d95dd8ff58eae5047b0185a6d1
9,776
package laurencewarne.secondspace.common; import java.io.IOException; import java.util.Arrays; import java.util.Properties; import java.util.stream.Collectors; import com.artemis.Component; import com.artemis.World; import com.artemis.WorldConfiguration; import com.artemis.WorldConfigurationBuilder; import com.artemi...
37.891473
135
0.753785
6cce19683e3eb60446f4dc194e32240d49ab5dc5
2,994
class FlexTester2 { public static void main (String[] args) { System.out.println("Hello World!"); System.out.println("This is FlexTester v2.0!\r\n"); CompareToEqualsTest(); SortTest(); GetValueSearchForTest(); System.out.println("\r\nGoodbye!"); } public static void GetValueSearchForTes...
41.013699
129
0.651971
c56c067d28dfa500b10ae83cb8abb56b64c7989f
1,970
package fr.cg44.plugin.socle.api.tripadvisor.bean; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; impo...
23.452381
85
0.680711
56756d6bc4d3201ca03beb564051fa93d46fe288
1,346
/* * Copyright 2017 Huawei Technologies Co., Ltd. * * 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...
29.26087
75
0.713224
31d5e2e085bda25980ed67c63db47f2f2dc0f37c
3,249
package net.minecraft.world.gen.foliageplacer; import com.mojang.serialization.Codec; import com.mojang.serialization.codecs.RecordCodecBuilder; import java.util.Random; import java.util.Set; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.MutableBoundingBox; import net.minecraft.world.gen.IWor...
53.262295
288
0.750385
fb0abf42f70162d765782298d9604df3223be87f
2,150
package com.thebluealliance.androidclient.renderers; import android.support.annotation.IntDef; import com.thebluealliance.androidclient.datafeed.APICache; import com.thebluealliance.androidclient.listitems.CardedAwardListElement; import com.thebluealliance.androidclient.listitems.ListElement; import com.theblueallian...
30.714286
93
0.677209
f1d3957287ce479e1ec3fb8548aa6722b5a43686
362
package io.straas.android.sdk.demo.common; import io.straas.android.sdk.authentication.identity.Identity; public class MemberIdentity { /** * Represents a user known by Straas server * See <a href="https://github.com/Straas/Straas-android-sdk-sample/wiki/User-Identity">User-Identity</a> */ publ...
30.166667
109
0.723757
c36d96c26cc79d0275707d83c69f6340a2ad900a
395
package com.oracle.oci.eclipse.ui.explorer.database.validate; import org.eclipse.swt.widgets.Text; public class PasswordInputValidator extends ControlValidator<Text, String> { public PasswordInputValidator(InputValidator<String> inputValidator) { super(inputValidator); } @Override protected ...
23.235294
76
0.736709
d0622bb58e91aab822db79e9bb64b378c7cd1a0d
1,129
package com.study.easy.one.MinStack; import java.util.Stack; //剑指 Offer 30. 包含min函数的栈 //定义栈的数据结构,请在该类型中实现一个能够得到栈的最小元素的 min 函数在该栈中,调用 min、push 及 pop 的时间复杂度都是 O(1)。 // //示例: //MinStack minStack = new MinStack(); //minStack.push(-2); //minStack.push(0); //minStack.push(-3); //minStack.min(); --> 返回 -3. //minStack.pop(...
21.301887
76
0.554473
7456d787b37b4685930d2b05007ab7de0aeec68c
4,498
package org.firstinspires.ftc.teamcode20.Frank; import com.qualcomm.hardware.rev.Rev2mDistanceSensor; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.util.ElapsedTime; import org.firstinspires.ftc.robotcore.external.navigati...
42.037383
168
0.5249
cd6f44ae68801fb7691f134c2c054a20ebaf687d
5,246
package com.example.aliahmed.myapplication; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.LinearSmoothScroller; import androidx.recyclerview.widget.RecyclerView; import android.os.Handler; import android....
34.064935
122
0.646778
8857bf95dedcecf609777d9321cabe7b89929cb2
4,322
package pro.taskana.rest; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.springframework.util.MultiValueMap; import pro.taskana.BaseQuery; import pro.taskana.exceptions.InvalidArgumentException; import pro.taskana.rest.resource.PagedResources.PageMetadata; /** Abstract supercl...
36.627119
100
0.718417
a74c01b95594659ff7f9ebc20d73000f3b512d79
2,307
package me.ericandjacob.util; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.util.Arrays; impor...
30.355263
100
0.641526
492c8d361ab087b33e8158e0daaa1340cdd82d0f
2,698
/* * 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 ...
36.459459
120
0.685322
cd5e23030153a92781ac7327cf17ccf631229398
1,487
/* * * Copyright 2020 HuiFer All rights reserved. * * 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 applicab...
19.826667
75
0.707465
93e41f79d8b05376da3f704a28a191aa5bcb56e1
22,275
/* * Copyright 2019 dmfs GmbH * * 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...
36.397059
169
0.617284
ecbb869571966ffc4821d456be1a270f7624bb15
1,607
package com.quanyan.pedometer.newpedometer; import com.lidroid.xutils.db.annotation.Column; import com.lidroid.xutils.db.annotation.Id; import com.lidroid.xutils.db.annotation.NoAutoIncrement; import com.lidroid.xutils.db.annotation.Table; import java.io.Serializable; import java.text.SimpleDateFormat; import java.ut...
22.319444
102
0.61481
af40a03d3a44f7d8f9e2ba79174cc5897b12f4a2
51
package testDirectory.chapter33.sourceCode33.java;
25.5
50
0.882353