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
659f5111272cd5599f4f4eb8ccc253e1ddb081b5
1,196
package com.teamthree.conferencescheduler.app_utils; import java.util.Comparator; public class TimeDiffUtil { private int minutes; private int hours; private int seconds; public TimeDiffUtil(int hours, int minutes, int seconds) { this.hours = hours; this.minutes = minutes; th...
22.148148
82
0.596154
0f5c002505b82dcd044bb924ede12ac771571174
557
package org.leetcode.tree; /** * 解析: https://blog.csdn.net/mine_song/article/details/70552503 */ public class UniqueBinarySearchTrees_96 { public static void main(String[] args) { System.out.println(new UniqueBinarySearchTrees_96().numTrees(5)); } public int numTrees(int n) { int dp[] = n...
25.318182
73
0.495512
d1ab8a807ca896dededb3eb61477945ed0b0fbb0
11,143
package utils; import Entity.BankAccountsEntity; import Entity.CurrencyratesEntity; import Entity.TransactionsEntity; import Entity.UsersEntity; import javax.persistence.Query; import java.util.ArrayList; public class BankAccountsUtil { public static boolean saveBankAccount(String currency) { BankAccoun...
41.118081
148
0.611684
fd5e2ca4c0044737acb66d366d5c3a29d78d0101
1,797
package xyz.a00000.blog.component; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.ValueOperations; import org.springframework.stereotype.Component; import org.springfra...
35.235294
114
0.71842
2995ccb6388de9e98e89278e5d42d8343c3be23d
818
package com.java14; import com.java14.model.Person; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; class RecordTests { @Test void ShouldBeAbleToUseRecords() { Person person = new...
24.058824
71
0.645477
1bfd432481e7167dd9a74ed932eb6c2e800fd4f1
35,394
package com.limmil.real_calculator.ui.files; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.content.DialogInt...
41.64
138
0.505142
a0690d95576dd53b475096332f244c96dc2baa4a
2,988
/** * @file * @version 0.3 * Copyright © Kool Banana * * @section LICENSE * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your opt...
23.714286
71
0.651606
cb7c3489d021a56c865876eb251fe7e1fe74dc6d
3,394
package io.github.phantamanta44.libnine.util.gameobject; import io.github.phantamanta44.libnine.util.helper.OreDictUtils; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.oredict.OreDictionary; impo...
28.521008
112
0.615793
09973878982dfc67f1fc571b6dacaa732245d99c
863
package com.wangzhu; import com.wangzhu.log4j.Log4jFlushLogUtil; import org.apache.commons.lang3.time.StopWatch; import org.junit.Before; /** * Created by wangzhu on 2018/4/25 下午11:47. */ public class TestBase { @Before public void before(){ Runtime.getRuntime().addShutdownHook(new Thread() { ...
27.83871
78
0.512167
ded5c11280d9eef535584808550a61837374f0b4
67
package business; public enum TipoSaldo { utile, disponibile }
8.375
23
0.746269
7ff6549d9be21fe0ab8c65393ab70c4f85dd4c90
6,570
package org.zentao.entity.gen; import java.util.Date; public class ZtTask { private Integer id; private Integer project; private Integer module; private Integer story; private Short storyversion; private Integer frombug; private String name; private String type; private Byt...
19.61194
78
0.612938
9b769f196bf59a0e28160165d6ca0f4c04f1121e
3,011
package com.ruoyi.system.mapper.shop; import com.ruoyi.RuoYiApplication; import com.ruoyi.common.core.domain.entity.SysUser; import com.ruoyi.framework.web.domain.server.Sys; import com.ruoyi.system.domain.shop.Shop; import com.ruoyi.system.mapper.SysUserMapper; import org.junit.Test; import org.junit.runner.RunWith; ...
29.23301
79
0.648622
a7c70b6455dc83daf4964516e2be6b9c3dfb59ea
613
package purchases; /** * With this PurchaseInfo a developer is able verify * a purchase from the google play store on his own * server. An example implementation of how to verify * a purchase you can find <a href="https://github.com/mgoldsborough/google-play-in-app-billing-verification/blob/master/library/GooglePl...
29.190476
198
0.773246
ee52a0b45f19a79e469f3a5636567a50626010a0
731
package com.asiainfo.jdbc.conditional; import org.springframework.context.annotation.Condition; import org.springframework.context.annotation.ConditionContext; import org.springframework.core.type.AnnotatedTypeMetadata; /** * @Description: @Conditional 多数据库支持 * * @author chenzq * @date 2019年7月13日 下午2:19:09 * ...
28.115385
84
0.771546
f3c6c499a83f70e840bf798046748ef40999ad11
1,291
/* * * Copyright 2008-2021 Kinotic and 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unles...
30.738095
112
0.731216
324e84be91e828e7ce4d49ed2a643cf327cc4ae7
234
package riovlev.aop.gradle.example.app; /** * @author Roman Iovlev * 08/06/18 */ public class Application { public static void main(String[] args) { System.out.println(new Calculator().multiply(3, 5)); } }
19.5
60
0.628205
33c77b021c3e92906234113c6cbc51bdfa06478f
1,877
package com.mparticle.model; import com.google.gson.annotations.SerializedName; import io.swagger.annotations.ApiModelProperty; import java.util.Objects; /** * SessionEndEventData */ public class SessionEndEventData extends CommonEventData { public static final String SERIALIZED_NAME_SESSION_DURATION_MS = "sess...
24.697368
98
0.70325
4b573a2e329ba447d9fb7f4618f527edb942d04e
6,380
package ac.at.tuwien.mt.middleware.rest; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.apache.logging.log4j.LogManager; import org.apache....
35.444444
128
0.768809
4c882957076bed630a8f072d4db4559a3a03bc86
2,851
package dtm; import tm.RotondAndesTM; import javax.jms.JMSException; import javax.jms.Queue; import javax.jms.QueueConnection; import javax.jms.QueueConnectionFactory; import javax.jms.QueueReceiver; import javax.jms.QueueSession; import javax.jms.Session; import javax.jms.TopicConnectionFactory; import javax.naming.I...
23.758333
186
0.754472
0c5e3b9262da6e6151318b55bdec33a34649216e
167
package org.immutables.fixture; import org.immutables.value.Value; @Value.Immutable @Value.Style(typeAbstract = "_*", typeImmutable = "*") interface _UnderNaming {}
20.875
54
0.760479
7626987c157505098017661642b4fecff647101e
2,184
package cn.ytxu.http_wrapper.model.request; import cn.ytxu.http_wrapper.common.util.FileUtil; import cn.ytxu.http_wrapper.model.BaseModel; import cn.ytxu.http_wrapper.model.version.VersionModel; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Created by ytxu on 2016-9-18 */ p...
26.313253
105
0.647894
6d77932ea32a8f8161f020b69098703a4f834a1a
159
package com.veryoo.inner.demo05; public class Test05 { public static void main(String[] args) { Out out = new Out(); out.showAgeOut("E"); } }
15.9
42
0.628931
38645b84423d5b4fad39447d9fa6731786576f21
4,344
/* * Copyright 2013-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 ap...
31.708029
94
0.757136
a5d4f2a574589d4d0b1651b15a7899228f7c94cb
3,617
package org.digitalecmt.etarget.dbentities; /*- * #%L * eTarget Maven Webapp * %% * Copyright (C) 2017 - 2021 digital ECMT * %% * 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 withou...
29.169355
115
0.755046
6d8046f50fcf633e3df44c8afedd5de4ab828abb
569
import java.util.*; /* * soham * st * stop * stophi * stophiab * ... */ public class pr164 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter a word: "); String s = sc.nextLine().trim(); System.out.println("___...
22.76
70
0.513181
2243300fd67f7bcd9f3027afce3987c6a7a52235
2,210
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
30.694444
128
0.735294
b54c49c359c306fffb1cb5641556f1a4ec74ddb1
833
package core; import static java.lang.System.out; public class ThreadDemo { public static void printThreadNames() { var threadA = new Thread(() -> out.println("A thread has been spawned"), "Thread A"); var threadB = new Thread(() -> out.println("A thread has been spawned"), "Thread B"); t...
34.708333
100
0.62425
0d4ebce0676f183d0aa4a4f0dd1402128ea1e22e
545
package com.tetris.objects; public class TetrisBlockI extends TetrisBlock { public TetrisBlockI() { super(); this.mColor = 1; this.mBlockGrid0 = new short[] { 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 }; this.mBlockGrid1 = new short[] { 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, ...
18.793103
47
0.466055
f28faefba46c44ed4681557170e8706350268f01
1,933
package com.test.binder_hook; import android.os.IBinder; import android.os.IInterface; import android.util.Log; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; /** * Created by wzc on 2017/7/3. * */ public class BinderProxyHookHandler implements Invoca...
31.177419
111
0.649767
793b44dd1f0f61b4f46da174b79c616521a2d072
4,508
/* * Copyright 2014 the RoboWorkshop 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 applicable law...
32.666667
107
0.639308
894a89d9b19b4987fd7e765b3b06246bb2e8befe
875
package carlo_esame201607; /** * Classe rappresentante un risultato * * @author Carlo Corradini */ public class Risultato { private final int ris1; private final int ris2; /** * Costruttore della classe che rappresenta un risultato * * @param ris1 Risultato squadra 1 * @param ris2...
18.617021
60
0.568
62eaea45d8b80847c4d146a2e94f0b51be516448
6,291
/* * Copyright (C) 2021 The Dagger 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 ag...
30.687805
96
0.53664
906c19d3b5572037b69fb7150f7b89ddbd56b2e8
3,634
package com.gempukku.swccgo.logic.effects.choose; import com.gempukku.swccgo.common.Filterable; import com.gempukku.swccgo.game.PhysicalCard; import com.gempukku.swccgo.game.SwccgGame; import com.gempukku.swccgo.logic.timing.Action; import java.util.Collection; /** * An effect that causes the specified player to ch...
43.783133
140
0.728674
ba97adf60365626afb63d31ed1d030705a8ea647
2,292
/* * 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 * distribut...
35.8125
116
0.729494
796b3095967465191e1499ee522e4b44e604fa07
2,557
package com.renren.api.client.services; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONValue; import com.renren.api.client.RenrenApiInvoker; /** * * @author DuYang (yang.d...
31.567901
91
0.628862
9ac292e64061f9accaa52935c70916ba447eeb58
3,702
package org.researchstack.backbone.model.taskitem; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import org.researchstack.backbone.model.survey.SurveyItem; im...
39.382979
127
0.680443
3cc2475d5a50030cc756fce2ce5f14c4824f4a0e
2,375
package com.platformlib.process.configuration.impl; import com.platformlib.process.configuration.dryrun.ProcessDryRunConfiguration; import com.platformlib.process.configuration.dryrun.ProcessDryRunProcessStream; import java.util.Collection; import java.util.Optional; import java.util.function.Consumer; import java.ut...
31.666667
96
0.726737
00373beaa5dfccae877a6b76f704f91fadc0b1d9
713
package lindar.fonix.exception; import lombok.Getter; /** * Created by Steven on 10/03/2017. */ public class FonixBadRequestException extends FonixException { @Getter private final String errorCode; @Getter private final String parameter; public FonixBadRequestException(String errorCode){ ...
26.407407
102
0.669004
18584a4630359dd708a0ae98ffc6c863172fa791
347
package xyz.mydev; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author ZSP */ @SpringBootApplication(scanBasePackages = "xyz.mydev") public class RabbitmqApp { public static void main(String[] args) { SpringApplication.run(Rabbi...
23.133333
68
0.772334
4d58a653b1cf3fd5275d91836bcbeb36c0639727
1,026
package net.zhaoxuyang.pattern.rwlock; /** * * @author zhaoxuyang */ public class WriteLock implements Lock { private final ReadWriteLockImpl lock; public WriteLock(ReadWriteLockImpl readWriteLock) { this.lock = readWriteLock; } @Override public void lock() throws InterruptedException...
23.318182
80
0.553606
0931ba5ac270d8eb69e420b3eb3bc15e66c78c15
1,171
package io.github.zgjai.LinkedList; /** * Created by zhangguijiang on 2017/9/13. * <p> * Remove all elements from a linked list of integers that have value val. * <p> * Example Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6 Return: 1 --> 2 --> 3 --> 4 --> 5 */ /** * Remove all elements from a linked lis...
23.42
98
0.500427
cfa30889cbb9cb045a0203306b000764946b0d55
932
package com.whiteclarkegroup.liquibaselinter.integration; import com.whiteclarkegroup.liquibaselinter.resolvers.LiquibaseIntegrationTestResolver; import org.junit.jupiter.api.extension.ExtendWith; import java.util.Arrays; import java.util.List; @ExtendWith(LiquibaseIntegrationTestResolver.class) class HasCommentInte...
32.137931
87
0.716738
f830409cdb990b814f527853736f7958b90fe6dc
3,490
/* * Copyright 2021 John "topjohnwu" 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 ag...
27.054264
90
0.606877
9c35cd28e37823496dcae592f74b2906b31fb341
321
package chuanzhi0604._0605; public class Outer { int num = 10; public class Inner{ int num = 20; public void methodInner(){ int num = 30; System.out.println(num); System.out.println(this.num); System.out.println(Outer.this.num); } } }...
20.0625
47
0.53271
4d3d40fc51601096938a190ff2abd6d40d5f7a4b
306
package com.anaplan.client.ex; /** * Created by Spondon Saha * Date: 4/18/18 * Time: 8:50 PM */ public class ModelNotFoundException extends RuntimeException { public ModelNotFoundException(String modelGuid, Throwable t) { super("Model with Model-Guid not found: " + modelGuid, t); } }
23.538462
66
0.696078
ccc442bbaadb07b4c6525fa13aa6f9fee23a0b8b
10,635
package drcl.inet.sensorsim.dynamicpointcoverage.movingevents; import drcl.inet.sensorsim.dynamicpointcoverage.EventInfo; import drcl.inet.sensorsim.dynamicpointcoverage.DynamicPointCoverageConstants; import drcl.comp.ACATimer; import drcl.comp.ACARuntime; import java.util.Vector; import java.util.Random; //...
53.984772
123
0.577997
e5046528c4af9ed3c2522ba3b92b3939e1aa8c23
955
public class OpenDataConfiguration { private final String DEFAULT_OPEN_DATA_URL = "https://opendata.dwd.de/weather/radar/mesocyclones/"; private final String DEFAULT_OPEN_DATA_NAME = "meso_20200702_0120.xml"; private String openDataURL; private String openDataName; public OpenDataConfiguration() { ...
28.939394
103
0.705759
4280d0d9ca17ed6040be001e11ef4eb042dc5dae
1,225
//Java code on Quicksort algorithm public class quicksort { static int partition(int arr[], int start, int end) { int prev = start - 1; int pivot = end; for(int mid = start;mid<pivot;mid++) { if (arr[mid] < arr[pivot]) { ++prev; int temp = arr[...
25.520833
57
0.454694
fdb14ad33fa8178c48853dfac46c1ac43b336924
4,714
package dev.hotdeals.adventurexp.controller; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.sprin...
33.671429
104
0.674586
a0a70241bca85fb16e69c7907592dcd27a0f8d1e
15,786
package com.wix.rt.projectView; import com.intellij.ide.*; import com.intellij.ide.projectView.ProjectViewNode; import com.intellij.ide.projectView.SelectableTreeStructureProvider; import com.intellij.ide.projectView.ViewSettings; import com.intellij.ide.projectView.impl.nodes.BasePsiNode; import com.intellij.ide.util...
43.368132
166
0.606613
aa82c2ab6248c7728d4a3a12bb87ae3cd42fe2b6
19,931
/* $Id: MyTokenizer.java 19614 2011-07-20 12:10:13Z linus $ ***************************************************************************** * Copyright (c) 2009 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public Licens...
25.293147
78
0.610657
200c9eca9acedae14507f0069e19968081643e97
520
package classe; import java.util.Scanner; public class ProdutoTeste { public static void main(String[] args) { Scanner input = new Scanner(System.in); Produto p1 = new Produto("Notebook", 1000); System.out.println(p1.nome); System.out.println((p1.precoDesconto() + p1.precoDesconto())/2); Produto.descon...
20.8
66
0.675
ce23d0f173c60d02ffa8b5afe90ebb994c067868
1,751
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
38.911111
75
0.776699
2ecf232e6dcd2f474764a75ec15292f668726c43
528
package bid.adonis.lau.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Author Adonis Lau * @Eamil adonis.lau.dev@gmail.com * @Date Created in 2017/8/31 23:24 ...
24
62
0.744318
dee30136494764a9d8e74724194d04f439b13f9a
1,667
/******************************************************************************* Product: Kryptel/Java File: IFileSystemAttributes.java Description: https://www.kryptel.com/articles/developers/java/storage.ifilesystemattributes.php Copyright (c) 2017 Inv Softworks LLC, http://www.kry...
38.767442
126
0.674265
eb09a6928ef4cf4506650dee090025468a89f7c0
3,901
package net.meisen.dissertation.performance.implementations; import net.meisen.dissertation.help.Performance; import net.meisen.dissertation.impl.parser.query.select.SelectQuery; import net.meisen.dissertation.impl.time.series.TimeSeries; import net.meisen.dissertation.impl.time.series.TimeSeriesCollection; import net...
27.471831
80
0.706998
f8a4081783616441c51d8bdd39e64e137952ed74
199
package ro.msg.internship.timesheet.exception; public class ProgramNotFoundException extends RuntimeException { public ProgramNotFoundException() { super("Program not found"); } }
19.9
64
0.743719
39dce94e2a96449963905346ec0cc656118e3416
6,798
package org.example.util.compress; import org.apache.commons.compress.archivers.ArchiveEntry; import org.apache.commons.compress.archivers.ArchiveInputStream; import org.apache.commons.compress.archivers.ArchiveOutputStream; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.co...
43.858065
176
0.689762
d87017d79c9852d51e7ea661e74e99a07514f5c2
2,020
package com.codecool.geekofplanets.network.websocket.config; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.Message; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.simp.stomp.StompCommand; import org.springframework.messaging...
45.909091
128
0.776733
8f36502b9b34cc4a5148cf8da3588d210420db66
5,670
/** * Copyright (C) 2018 Dmitry Moryakov, Main aeronautical meteorological center, Moscow, Russia * moryakovdv[at]gmail[dot]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 License at * * ...
47.25
165
0.774427
290e7ed5d5b5129962e1fda761163fd70d3d7f60
2,589
package uk.co.autotrader.traverson.http; import java.util.Arrays; /** * Simple Multipart body */ public class SimpleMultipartBody implements Body<SimpleMultipartBody.BodyPart[]> { private final BodyPart[] bodyParts; /** * Constructs a SimpleMultipartBody * @param bodyParts see {@link BodyPart} ...
27.542553
97
0.587872
d3e6bdcbc285bf81ffadbacb3d7f403472e3cde8
9,978
/* * 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 ...
38.229885
113
0.691221
bfe1c77951d9dc376dda4656200ebf7701b843d9
7,256
package cn.closeli.rtc.peer; import android.content.Context; import android.os.SystemClock; import android.util.Log; import com.vhd.base.video.FrameData; import org.webrtc.CapturerObserver; import org.webrtc.JavaI420Buffer; import org.webrtc.SurfaceTextureHelper; import org.webrtc.VideoCapturer; import org.webrtc.Vi...
40.536313
158
0.629135
43ec70af73a3944e83246f1a82446fd9fbee712e
739
package com.muiz6.musicplayer.ui.main.home.library.artists; import android.support.v4.media.MediaBrowserCompat; import android.support.v4.media.MediaDescriptionCompat; import java.util.ArrayList; import java.util.List; public abstract class ArtistUtil { public static List<ArtistItemModel> getArtistList( List<Me...
32.130435
70
0.79161
7e70dfd1fdd601cdd3499175c13476f345b4d688
6,711
package lezchap.thaumictools.items; import java.util.ArrayList; import java.util.Random; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.client.renderer.texture.IconRegister; import n...
37.702247
220
0.64506
e3316460482161821fbb097f7e553ca242a9e1e3
775
package com.github.hollykunge.servicediscuss.tio; import org.tio.utils.time.Time; /** * TIO 配置文件 * * @author: holly * @since: 2019/2/15 */ public abstract class TioServerConfig { /** * 协议名字(可以随便取,主要用于开发人员辨识) */ public static final String PROTOCOL_NAME = "showcase"; public static final Stri...
18.902439
77
0.610323
ac14518d8cef53b2eab4be402206bb4482fbd96a
5,254
package misc.detailed; import org.apache.xmlbeans.*; import java.util.*; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import junit.framework.TestSuite; import junit.framework.TestCase; import junit.framework.Test; import junit.framework.Assert; import xmlbeans307.*; /** * This test was put to...
39.80303
113
0.664446
efa94e83b194401d3927943cf8cd8e5dc310a8fe
5,144
/* * Copyright (C) 2013 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 app...
34.52349
91
0.639774
72e127efb7e46b24459accde1af5207cec5255d4
6,564
/* * 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 ...
31.710145
157
0.72075
b3e1ca4c72787befa4593bf3e4a2f05aac70b363
1,007
// WARNING: This file is autogenerated. DO NOT EDIT! // Generated 2018-09-20 16:28:42 +0000 package jnr.constants.platform; public enum TCP implements jnr.constants.Constant { TCP_MAX_SACK, TCP_MSS, TCP_MINMSS, TCP_MINMSSOVERLOAD, TCP_MAXWIN, TCP_MAX_WINSHIFT, TCP_MAXBURST, TCP_MAXHLEN, TCP_MAXOLEN, TCP_NODELAY, TCP_MA...
29.617647
72
0.782522
8cedd88f0e132d01d221fd554776582bc3bb503d
292
package gov.va.med.lom.avs.dao; import javax.ejb.Local; import org.bson.types.ObjectId; import gov.va.med.lom.avs.model.Clinic; @Local public interface ClinicsDao extends BaseMongoDao<Clinic, ObjectId> { public abstract Clinic find(String stationNo, String clinicIen); }
20.857143
69
0.743151
07aee6b338059f44db88465745da48ddbe3e7da8
873
package com.github.zhgxun.leetcode; public class ListNodeUtil { /** * 简单打印单链表 * * @param node 单链表 */ public static void print(ListNode node) { StringBuilder sb = new StringBuilder(); int i = 0; while (node != null) { sb.append(node.val); sb....
18.574468
52
0.461627
c3427b93d17ba8990f016c7bd4418308aa2e79f2
788
package com.bingo.framework.remoting.exchange.support; import com.bingo.framework.remoting.RemotingException; import com.bingo.framework.remoting.exchange.ResponseCallback; import com.bingo.framework.remoting.exchange.ResponseFuture; /** * SimpleFuture * * @author william.liangf */ public class SimpleFuture impl...
21.888889
69
0.703046
70397c5ede938485c8e0d555aceb55a3918f1814
669
package org.acme.experiment.repository; import io.quarkus.hibernate.orm.panache.PanacheRepository; import org.acme.experiment.model.PersonalizedFact; import javax.enterprise.context.ApplicationScoped; import javax.inject.Singleton; import javax.transaction.Transactional; import java.util.Optional; import java.util.Se...
31.857143
94
0.801196
52b3420233fbe66e6bda2e577d74b02667a2a3f0
2,006
package command.commands.bang; import command.Command; import database.connectors.BangConnector; import main.Server; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; public class Daily ex...
34
110
0.600199
69336783654402fbc9739283f36adf8a1f7768ca
3,826
package com.manywords.softworks.tafl.network.server; import com.manywords.softworks.tafl.Log; import com.manywords.softworks.tafl.network.packet.NetworkPacket; import com.manywords.softworks.tafl.network.server.task.HandleClientCommunicationTask; import com.manywords.softworks.tafl.network.server.task.interval.GameLis...
30.608
163
0.644799
a5962b07d8619799f9dde6804a9c43ae576c0445
651
package me.sachingupta.sparkexamples.utils; import java.util.regex.Pattern; public class PatternsUtility { public static Pattern SPACE = Pattern.compile(" "); public static Pattern SPACES = Pattern.compile("[\\s]+"); public static Pattern COMMA = Pattern.compile(","); public static Pattern YEAR = Pattern.compile(...
46.5
172
0.574501
90f648ef2b09d92a07455659cb60406ed9741291
1,157
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org> * * 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 requ...
29.666667
75
0.707001
8c303bddadd64f78d79fa91ea6364849d8d4938a
9,404
package bunyan.blocks; import bunyan.api.Direction; import bunyan.api.DirectionalBlock; import bunyan.api.TurnableLog; import java.util.ArrayList; import java.util.Random; import net.minecraft.server.EntityHuman; import net.minecraft.server.EntityLiving; import net.minecraft.server.ItemStack; import net.minecraft.serv...
28.410876
104
0.408018
f237e526ecd880e98ccbcd4232dede3cf88a8192
7,459
package org.nexial.seeknow; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.nexial.seeknow.processor.AcceptAllProcessor; import org.nexial.seeknow.proces...
41.904494
111
0.696742
ad20ed895805eaa28914cd121327ead5073b11ec
4,476
/* * Copyright (C) 2015 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 app...
34.167939
97
0.662645
30d56092880d2ebbf1824fda72810f75dd08c9a7
459
package com.javayh.feign.service.impl; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBody; /** * <p> * 接口实现 * </p> * * @author Dylan-haiji * @version 1.0.0 * @since 2020-03-02 13:37 */ @Service p...
18.36
60
0.718954
a0bd2d00b9466bc1765fd9bbde97b2cfc53b9ec9
4,381
package uk.ac.excites.ucl.sapelliviewer.ui; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android.widget.ImageButton; import java.util.List; import io.reactivex.disposables.CompositeDisposable; ...
46.115789
195
0.62908
e6e28a11faba1d9586be05d2403bcc8c90bf4c10
5,473
package org.openxmlformats.schemas.drawingml.x2006.main; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.net.URL; import javax.xml.stream.XMLStreamReader; import org.apache.poi.POIXMLTypeLoader; import org.apache.xmlbeans.SchemaType; import org.apache.xml...
46.381356
228
0.776722
0853d6f47b4b457ebacbd146df82072869e2c855
1,206
/******************************************************************************* * Copyright Duke Comprehensive Cancer Center and SemanticBits * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/c3pr/LICENSE.txt for details. **********************************************...
33.5
84
0.596186
3fdaa9b66383f54b9a7c269dfc4ca8f5c1b66007
1,605
package com.pixplicity.cryptogram.fragments; import android.graphics.ColorMatrixColorFilter; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.view.View; import android.widget.ImageView; import c...
29.722222
86
0.660436
2517e2c179aeb502444c04b16b633e55515e790b
2,523
//Deobfuscated with https://github.com/SimplyProgrammer/Minecraft-Deobfuscator3000 using mappings "C:\Users\Admin\Desktop\Minecraft-Deobfuscator3000-1.2.2\1.12 stable mappings"! //Decompiled by Procyon! package org.spongepowered.tools.obfuscation.mirror; import org.spongepowered.asm.obfuscation.mapping.common.*; imp...
34.561644
177
0.684503
372cd93be1f3a96b8acec808d6ccc47af0ec05a1
4,540
package com.cloudydino.pushups; import android.content.SharedPreferences; import android.support.constraint.ConstraintLayout; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.v...
37.213115
125
0.627533
30a7ac2ae5d9e623b456d0a57afb3ab2c6aed624
34
package com.gangadhararao.domain;
17
33
0.852941
c1a8be6e870ba9f5fa8d6993f83714e8ede2ef39
1,999
package tanks.event; import io.netty.buffer.ByteBuf; import tanks.Game; import tanks.obstacle.Obstacle; import tanks.obstacle.ObstacleTeleporter; import tanks.tank.Tank; import tanks.tank.TeleporterOrb; public class EventTankTeleport extends PersonalEvent { public int tank; public double fX; public double fY; p...
19.792079
129
0.663832
7c103bc00b0e8ce57ee6d32e55e131ab4c0540ba
919
package com.htnova.system.tool.controller; import com.corundumstudio.socketio.AckRequest; import com.corundumstudio.socketio.SocketIOClient; import com.corundumstudio.socketio.SocketIOServer; import com.corundumstudio.socketio.annotation.OnEvent; import javax.annotation.Resource; import lombok.extern.slf4j.Slf4j; impo...
32.821429
89
0.749728
f89e4ff82433ab1215354d0f2e21674c4b603523
724
package com.teachinginformationmanagementsystem.activity; import com.teachinginformationmanagementsystem.util.TitleLayout; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class MainFragment03 extends...
28.96
79
0.80663
089709d2c14d0f61b13aba80bac1d8cb3923254b
1,025
package com.jvp.core.model; import java.io.Serializable; public class Result implements Serializable { /** * */ private static final long serialVersionUID = 1L; private boolean success; private Serializable sid; private Message message; public Result() { this(true, null); } public Result(boo...
16.015625
51
0.654634
7dd58c046a5d4cf3098d382586978370cbc136ca
1,914
/* Copyright 2016, 2017 Institut National de la Recherche Agronomique 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...
27.342857
88
0.768025
24a1211fa0eb0b6400d62c524291b9c46e6c8296
4,154
package com.zte.zakker.common.mvvm; import android.arch.lifecycle.Observer; import android.arch.lifecycle.ViewModelProvider; import android.arch.lifecycle.ViewModelProviders; import android.content.Intent; import android.databinding.DataBindingUtil; import android.databinding.ViewDataBinding; import android.os.Bundle;...
36.121739
113
0.624458
569c8b4a89d9f3891157f550e44399c6711ccb33
30,597
package org.grobid.core.utilities; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.commons.collections4.CollectionUtils; import org.grobid.core.data.BiblioItem; import org.grobid.core.data.BibDataSet; import...
42.028846
155
0.550119
60715a615622de08243f4a6cd5d64e94e6cbc08b
550
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for * license information. */ package com.zblumenf.spring.data.gremlin.common.domain; import com.zblumenf.spring.data.gremlin.annotation.Vertex; import com.zblumenf.spring.data.gremlin....
25
70
0.785455
a8cb75ff5f5d477e9c94e9ad66e14c95460f4306
466
package com.baoge.gulimall.coupon.service; import com.baomidou.mybatisplus.extension.service.IService; import com.baoge.common.utils.PageUtils; import com.baoge.gulimall.coupon.entity.SeckillPromotionEntity; import java.util.Map; /** * 秒杀活动 * * @author baoge * @email 757010691@qq.com * @date 2021-02-02 20:13:36...
22.190476
83
0.774678
f675ad329d954c88383cf96a611465cd0e366b75
808
/* * @(#)WeatherLog.java 10.04.12 * * Copyright (c) 2007 Neopsis GmbH * * */ package com.neopsis.envas.weather.util; import javax.baja.log.Log; /** * Logging Utility * * * @version 1.0.0 * @author Robert Carnecky */ public class NvLog { public static final Log log = Log.getLog("neoWeather...
16.489796
60
0.595297
ff77346f24c5bb6e9ea0b0909e3801a4bdb0de1c
389
package model; public class Exchange { private final Money money; private final Currency currency; public Exchange(Money money, Currency currency) { this.money = money; this.currency = currency; } public Money getMoney() { return this.money; } publi...
19.45
54
0.596401