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
b5b12de4a0630fb87449a6d06ef97d10460d2e9c
2,085
package mage.cards.g; import java.util.UUID; import mage.abilities.Mode; import mage.abilities.effects.common.DamageAllEffect; import mage.abilities.effects.common.combat.CantBlockAllEffect; import mage.abilities.effects.common.continuous.GainControlAllEffect; import mage.abilities.keyword.FlyingAbility; import mage....
35.338983
114
0.754436
8aaf7e89e7b957a311d2bbc250f71b902e3999db
1,493
/* * 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 ...
34.72093
87
0.758205
1eb726651f4c43380e9968fedca6cd17021a0dbb
1,820
package engine.command.util.node; import engine.command.CommandSender; import engine.command.suggestion.Suggester; import engine.command.util.StringArgs; import engine.command.util.context.LinkedContext; import java.util.Arrays; import java.util.Collections; public class SenderNode extends CommandNode { private...
24.594595
85
0.626923
e14c4016a688e6993ae251a739ad4c996134b829
1,796
/******************************************************************************* * Copyright 2018 Jarred Vardy * * 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...
32.654545
81
0.603007
ba1986fc8c1bb42009cd1ba3ec37a1df725d81d9
176
package com.yunmel.extreme.util; public class NumberUtils { // public static final getInt(String value){ // if(StringUtils.isNotBlank(value)){ // // } // } }
16
45
0.630682
665ea1247b5bbf4cb7e1af826aab91421e73dfdf
356
package ru.majordomo.hms.rc.user.common; public enum ExtendedAction { /** * загрузить пользовательскую программу из git */ LOAD, /** * установить зависимости */ INSTALL, SHELL, /** выполнить команды из Website.appUpdateCommands */ SHELLUPDATE, /** загрузка из git и коман...
20.941176
57
0.640449
61c2544f7d3b90e9a50b8ec8112ca7230009018e
3,666
package org.apache.hadoop.hbase.themis; import java.io.IOException; import java.util.Map.Entry; import java.util.NavigableSet; import org.apache.hadoop.hbase.client.AbstractClientScanner; import org.apache.hadoop.hbase.client.ClientScanner; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.cli...
35.25
110
0.69258
07b99a651bf9a8213731855baecf86978f13d637
454
package com.msplearning.repository; import java.util.List; import com.msplearning.entity.Lesson; import com.msplearning.repository.generic.GenericRepository; import com.msplearning.repository.jpa.LessonRepositoryJpa; /** * Interface of {@link LessonRepositoryJpa}. * * @author Venilton Falvo Junior (veniltonjr) ...
23.894737
75
0.799559
f0d7d37ef64c8287c5c479bb32c3d8f8307539d1
1,241
/* * Copyright (c) 2017, William Hill Online. All rights reserved */ package com.stulsoft.kafkaj; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Scanner; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; /** * @author...
29.547619
87
0.651894
b3af4d493f081b488bdcf89948a9ccb96f1cc35c
719
package com.lupinesoft.viewmodel_demo; import android.arch.lifecycle.ViewModel; import android.util.Log; import java.util.Random; public class MainActivityViewModel extends ViewModel { String randomNumber; public String getRandomNumber(){ Log.d("TAG", "getRandomNumber"); if(randomNumber == ...
22.46875
59
0.631433
f86241a7866399875dcb3d8468fa569fbe1466de
4,906
// ********************************************************************** // This file was generated by a TAF parser! // TAF version 3.0.0.34 by WSRD Tencent. // Generated from `/usr/local/resin_system.mqq.com/webapps/communication/taf/upload/noahyang/ws.jce' // *********************************************************...
31.448718
178
0.635956
2d337400419e4f14397b41ffc11420ef52a54a85
340
package com.reinaldoarrosi.android.querybuilder.sqlite.criteria; import com.reinaldoarrosi.android.querybuilder.sqlite.QueryBuilder; public class NotExistsCriteria extends ExistsCriteria { public NotExistsCriteria(QueryBuilder subQuery) { super(subQuery); } @Override public String build() { return "NOT " + ...
22.666667
67
0.782353
0241ae3ce463a37e5b0da098b295c2c313b70c09
5,409
package org.smartregister.immunization.utils; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.mockito.Mock; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; import org.powermock.modules.junit4.rule.PowerMockRule; import o...
42.590551
125
0.768349
1a2e8bd408f49ac513c337248eddd62505603f41
3,011
/* * 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 * distributed u...
68.431818
153
0.858187
2b38075e76f0ce847a26fef2f6aee1c21f2d0459
1,354
package com.xiongxh.cryptocoin.coindetails; import android.content.Context; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.xiongxh.cryptocoin.R; public class SectionPagerAdapter extends FragmentPagerAdapter{ S...
26.038462
83
0.652142
c048cbee3d4701066925fefec534c2197b4d12d5
403
package nl.blackmantha.sandbox.pub; /** * * An abstract skeleton class for an Applet to be run in the sandbox. * * @author github.com/Black-Mantha * */ public abstract class Applet implements IApplet { protected Applet() { } protected ISandboxConnector connector; protected Applet(ISandboxConnector connect...
19.190476
69
0.729529
71ad3d3a27403613f32052a7eeec298dbf5f224a
764
package org.apache.spark.shuffle; /** * Obtained inside a map task to write out records to the shuffle system. */ abstract class ShuffleWriter<K extends java.lang.Object, V extends java.lang.Object> { // not preceding // TypeTree().setOriginal(TypeBoundsTree(TypeTree(), TypeTree())) // TypeTree().setOriginal(T...
50.933333
116
0.736911
64fd28d110144e154a6719eda2fb3ca57264490a
5,647
package com.kefan.ui; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.actionSystem.PlatformDataKeys; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Messages; import com.intellij.openapi.vfs.VirtualFil...
24.552174
180
0.708164
c6125ac97244f8d79889546f55a14e15bbd22f22
6,778
package com.skeqi.finance.service.impl.help; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.StrUtil; import com.skeqi.common.exception.CustomException; import com.skeqi.common.utils.PageUtils; import com.skeqi.common.core.page.PagePlus; import com.skeqi...
40.831325
132
0.741369
6663424503a8e87864dacb7d70f79b778ab0ffc8
5,491
package com.greatorator.tolkienmobs.entity.merchant.model; import com.google.common.collect.ImmutableList; import net.minecraft.client.renderer.entity.model.IHasHead; import net.minecraft.client.renderer.entity.model.IHeadToggle; import net.minecraft.client.renderer.entity.model.SegmentedModel; import net.minecraft.cl...
44.642276
134
0.658532
4df75b588a31ab489902798228d92fc634abacf0
557
package org.springframework.web.multipart; import org.springframework.core.io.InputStreamSource; import java.io.File; import java.io.IOException; import java.io.InputStream; public interface MultipartFile extends InputStreamSource { String getName(); String getOriginalFilename(); String getContentType...
19.892857
73
0.754039
86ce0c5abec2e6401eb1ed92ea861c219e02fa14
3,314
package nosi.webapps.sistema_de_avaliacao_igrpweb.pages.criacao_de_certificado; import nosi.core.webapp.Controller;// import nosi.core.webapp.databse.helpers.ResultSet;// import nosi.core.webapp.databse.helpers.QueryInterface;// import java.io.IOException;// import nosi.core.webapp.Core;// import nosi.core.weba...
45.39726
188
0.722088
8b0e1bfe8a356319bf551417c4f1a40c32856345
9,828
package org.egc.ows.client; import com.alibaba.fastjson.JSON; import com.eviware.soapui.impl.WsdlInterfaceFactory; import com.eviware.soapui.impl.wsdl.*; import com.eviware.soapui.impl.wsdl.support.RequestFileAttachment; import com.eviware.soapui.model.iface.Attachment; import com.eviware.soapui.model.iface.Operation;...
38.241245
159
0.653236
417f8bc110ad1d7bb5e39897c769d8fe7d29e41c
5,848
package com.creditease.dbus.router.spout.handler.processor; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.function.Supplier; import com.alibaba.fastjson.JSONObject; import com.creditease.dbus.commons.ControlType; import com.creditease.dbus.router.bean.Sink; import com....
39.782313
142
0.620212
88a73f67b48fe15046eeac94a0809dec22a5520a
491
/* * 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 org.drools.devguide.chapter05.utils; import org.drools.devguide.eshop.model.Customer; /** * * @author esteban */ public cl...
23.380952
79
0.680244
66c2ca1444bc45c452d60f157276110ea7098885
9,144
package com.jstarcraft.core.communication.netty; import java.net.InetSocketAddress; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.hamcrest.CoreMatchers; import org.junit.After; import org.junit.Assert; import org.ju...
44.38835
610
0.710083
1a9577e076958cf57442ce4971de01725aba375f
204
package spencercjh.problems; /** * https://leetcode-cn.com/problems/k-inverse-pairs-array/ * * @author spencercjh */ class KInversePairsArray { public int kInversePairs(int n, int k) { } }
15.692308
58
0.676471
d6ecefee445c900e0eed56b0c483e0450e76f7d5
1,016
package com.oskarcah.exam.celebrity.dto; import java.io.Serializable; import java.util.List; public class ProblemSetRequestDTO implements Serializable { private static final long serialVersionUID = 1L; private Long id; private List<String> people; private List<PeopleKnowRelationDTO> relations; ...
20.734694
93
0.656496
c6cf386cd00a6f627327816a596f5528b3c4951d
2,700
package com.oopdev.io.loader.finder.classes; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * * @author unknown * */ public class IOSystemClassLoader { private final List<File> directories; private final String packageName; private final List<Class<?...
26.470588
103
0.716667
4a117bce716cc4f7a429cd44c276ac31440b94b1
15,547
package com.houseelectrics.serializer; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.Stack; /** * Created by roberttodd on 30/11/2014. */ public class Object2Json implements ExplorationListener { public interface ExplorerFactory { public Explorer ...
34.937079
156
0.604876
e192c3e6e7e061f750513989d15347e4deb9da31
455
package org.apdoer.condition.job; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; /** * @author apdoer */ @SpringBootApplication @EnableEurekaClient public class ConditionJobAp...
23.947368
68
0.795604
a2e7013e95ad69d81f8cd31e1f6d28476d96bb0d
2,911
package com.cloudera.framework.testing.server.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.Collections; import java.util.Properties; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; impor...
37.805195
135
0.750258
0427d405d185c5dd4e2b02b230cbd9181d45df94
1,074
package uk.gov.di.authentication.frontendapi.entity; import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.validation.constraints.NotNull; import uk.gov.di.authentication.shared.entity.BaseFrontendRequest; import uk.gov.di.authentication.shared.entity.NotificationType; public class SendNotificationRequ...
27.538462
66
0.629423
90d21272fd8e71a87c5f0124867dcd064cb5a76b
571
package com.example.customerclient; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Config...
31.722222
69
0.830123
3d7d4aa22267b80277c4cba6984f49683b461d4d
453
package org.zalando.stups.logsink.service; import org.zalando.stups.logsink.api.TaupageLogData; class DelegatingInstanceLogsService implements InstanceLogsService { private final InstanceLogsService delegate; DelegatingInstanceLogsService(InstanceLogsService delegate) { this.delegate = delegate; ...
25.166667
68
0.770419
1d30a90d6f9ee5e5a8cf439e2328dccc2c07d248
714
package us.ihmc.kalman; import org.ejml.data.DenseMatrix64F; /** * adapted from http://code.google.com/p/efficient-java-matrix-library/wiki/KalmanFilterExamples */ public interface KalmanFilter { public abstract void configure(DenseMatrix64F F, DenseMatrix64F G, DenseMatrix64F H); public abstract void setPro...
27.461538
96
0.784314
747e5520399675069ac484ee53cb8833ebf5bda0
2,074
package io.github.vampirestudios.hgm.api.task; import io.github.vampirestudios.hgm.HuskysGadgetMod; import io.github.vampirestudios.hgm.network.PacketHandler; import io.github.vampirestudios.hgm.network.task.MessageRequest; import java.lang.reflect.Constructor; import java.util.HashMap; import java.util.Map; public ...
34.566667
150
0.653809
6ab659f31ea969b9f16a555516a922508cbc9e29
2,703
package com.mulgasoft.emacsplus.actions.info; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.editor.Caret; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.actionSystem.EditorAction; import com.mulgasoft.emacsp...
31.430233
100
0.630041
0eba592e6d4edbebf80d8111a43f046030ec87e5
4,419
package org.altbeacon.beacon; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import org.altbeacon.beacon.logging.LogManager; import org.altbeacon.beacon.logging.Loggers; import org.robolectric.RobolectricTestRunner; import org.jun...
48.56044
172
0.712152
389114774379617e3c5935fee5834afd5852ffe2
355
package com.lexi.service; import org.springframework.stereotype.Component; @Component public class HelloServiceWithManyArgsCons { public HelloServiceWithManyArgsCons(HelloServiceAutowired1 helloServiceAutowired1,HelloServiceAutowired2 helloServiceAutowired2) { } // public HelloServiceWithManyArgsCons(String hell...
20.882353
129
0.833803
d0c145e73071a8f4996cd971467936d486c0d3eb
1,418
package curso.jpa.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "TB003_VEICULO") public class Veiculo { @Id @GeneratedValu...
17.292683
47
0.671368
fed89ca8d9106e2468981a1a36d48bc175b48d6a
4,890
package com.urgoo.profile.activities; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.LinearLayout; import android.widget.Re...
30.185185
123
0.601636
341a18571ec28ab82685c168f6aed265afb40206
370
package pattern.proxy.DynamicProxy.section1; /** * @author cbf4Life cbf4life@126.com * I'm glad to share my knowledge with you all. */ public class Client { public static void main(String[] args) { DynamicProxy proxy = new DynamicProxy(new RealSubject()); String[] str = {"1111"}; ...
23.125
66
0.621622
2bb6473282989a26aa1ad02b0d96f207c0678cff
927
package nl.praegus.fitnesse.junit.azuredevops.util; public class Description { private Description() { // in order to hide } public static String getFullTestName(org.junit.runner.Description description) { return description.getDisplayName().replaceAll("\\(.+\\)", "");...
34.333333
88
0.598706
38bf7415832c913a1eaa88bc4a82686dcba02c3d
3,246
package io.github.shiryu.aquaannouncement.bungee.file; import net.md_5.bungee.api.plugin.Plugin; import net.md_5.bungee.config.Configuration; import net.md_5.bungee.config.ConfigurationProvider; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import java.io.OutputStream; ...
31.211538
171
0.596426
ce2866984900311e0ea3cf73563c7cab7b559f35
703
package reuse.pipe.server; import java.io.IOException; import java.net.Socket; public class BandwidthTestClient { static org.slf4j.Logger log = org.slf4j.LoggerFactory .getLogger(BandwidthTestClient.class); public BandwidthTestClient(String host, int port) throws IOException { log.debug("connecting...
28.12
83
0.711238
5cc03316f503a3382cc34522a19b7279517c6dd7
1,604
package com.baidu.mapapi.search.bean.result.sugesstion; import com.baidu.mapapi.model.LatLng; import com.baidu.mapapi.search.core.PoiChildrenInfo; import com.baidu.mapapi.search.sug.SuggestionResult; import java.util.ArrayList; import java.util.List; public class SugesstionInfoBean { /** 联想词联想词名称 */ public S...
27.186441
95
0.665835
76c100c6b2bd41cd007f1b42d4b6c41e0cbed069
1,237
package edu.formation.inscription; import java.util.Locale; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.LocaleResolver; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.s...
31.717949
77
0.821342
f6550c144c00f45e0568c62ce70ffdbcfa09cd54
2,102
package ru.valle.btc; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.preference.ListPreference; import android.preference.PreferenceActivity; /** * Created with IntelliJ IDEA. * User: Valentin * Date: 9/15/13 * Time: 8:04 PM ...
36.877193
144
0.653663
4c12aaafd93a69c69c5d2b28f9a7aaeb8907abf7
10,481
package com.taskit.taskit_android.activity; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.text.TextUtils; import android.view.View; import android.view.inputmet...
34.363934
101
0.584391
6e70b52777464184170dbdcd99b56e5ae49a4923
2,148
package dev.bigwig.fastrest.common.filter; import dev.bigwig.fastrest.common.annotation.FRawResponse; import dev.bigwig.fastrest.common.annotation.FResponseStatus; import dev.bigwig.fastrest.common.exception.FError; import java.lang.reflect.Method; import org.jetbrains.annotations.NotNull; import org.springframework.c...
33.046154
100
0.731378
6f44981b73ee4bca8e366202a5d748605312ccde
1,892
package org.sharedhealth.datasense.dhis2.model; public class DatasetJobSchedule { private String datasetName; private String nextFireTime; private String prevFireTime; private String startTime; private String endTime; private String facilityId; private String previousPeriod; private St...
21.747126
54
0.658562
3049503e2421fdc0283619f3303e62e8a604b5e3
7,709
/* * Copyright 2021 LINE Corporation * * LINE Corporation licenses this file to you 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 * * Unless r...
41.224599
235
0.643534
87d94e60dd16c51699f046261ad998d87b68c72d
424
package io.github.dev2.config.liquibase; public interface IProperties { /** *获取数据库用户名 */ String getUsername(); /** *获取数据库密码 */ String getPassword(); /** *获取数据库url */ String getUrl(); /** *获取数据库schema */ String getDefaultSchema(); /** *获取是...
15.142857
40
0.511792
6c27fccd273e7594062591b0d5f65d372245bf28
7,113
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
38.241935
100
0.651764
958c449cd11b75074940b694c3951dacdf10a44c
260
package LinkedList; import java.util.*; public class QueueNode { Node first, last; public void enqueue(Node n){ if(n != null){ n.next = first; first = n; } } public Node dequeue(){ return last; } }
13
31
0.523077
9019c69fa22ca33dd101623ad6e05618382f779b
5,117
/* * Copyright 2016 Yahoo Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
49.201923
117
0.680281
1a0b6ea129e991303e19c28e2d094fb64000d8f2
2,273
package com.kriptops.n98pos.cardlib.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class SQLiteIVController extends SQLiteOpenHelper implements IVController...
30.306667
87
0.603168
78b68cee52bca90ab1d3b027bb5c41e34edf5b0c
828
package com.lzq.life.Api.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.lzq.echarts.Option; import com.lzq.life.Api.WealthApi; import com.lzq.life.common.ResponseFactroy; import com.lzq.life.service.WealthService; import com.lzq.life.vo...
24.352941
67
0.766908
972984b228f673a016ea11d25d400065c37a8a2f
853
package org.springframework.jdbc.datasource; import java.sql.Connection; /** * Subinterface of Connection to be implemented by connection proxies. * Allows access to the target connection. * * <p>Can be checked for when needing to cast to a native Connection * like OracleConnection. Spring's NativeJdbcExtractorA...
30.464286
98
0.776084
fb0dd26df81f54423ce98e28b42155271f362f19
12,806
package com.ibm.mysampleapp; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.os.Handler; import android.support.annotation.Nullable; import android.support....
37.664706
162
0.598079
cbde27fddadfc9fd2342bd7d9d588e09aeeecbbd
9,229
package com.stc.ts.adm.subsystem.db; import com.stc.ts.adm.subsystem.BaseSubSystem; import com.stc.ts.adm.subsystem.Command; import com.stc.ts.adm.subsystem.SystemName; import com.stc.ts.db.DbMigrator; import lombok.extern.slf4j.Slf4j; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.MissingOpt...
40.126087
132
0.57276
61ace43d2d7fa245134b8c315e3e10fa4634fadb
1,731
// This code was based on // https://github.com/FreakingChicken/TransparentSkins/blob/master/src/main/java/me/FreakingChicken/TransparentSkins/client/renderer/tileentity/TileEntitySkullRendererOverride.java package piper74.legacy.vanillafix.bugs.mixins; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environ...
55.83871
216
0.778163
b4bfab7beac2ccf7800459bc1dd9013ee93b13fa
2,935
package com.thatcoolcoder.terminalRaycast; import java.io.IOException; import java.util.ArrayList; import com.googlecode.lanterna.TerminalPosition; import com.googlecode.lanterna.TerminalSize; import com.googlecode.lanterna.graphics.TextGraphics; import com.googlecode.lanterna.screen.Screen; import com.googlecode.lan...
33.352273
100
0.537649
9d31ddeb41ab2970c502ee70b3ecdabf93f44eec
600
package com.jinhx.design.create.prototype.two; import java.util.HashMap; import java.util.Map; public class PrototypeManager { private Map<String, IRealizetype> map = new HashMap<>(); public PrototypeManager() { map.put("realizetypeA", new RealizetypeA()); map.put("realizetypeB", new Realize...
24
71
0.673333
918b6e0478884c13082d3d4582a4cefe6a14c39f
11,095
package com.tourcool.core.util; import android.text.TextUtils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.time.FastDateFormat; import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import stati...
29.665775
103
0.553763
420ee3c09ab737d77a5ae767a641fecd8712a76c
933
/* * Copyright (c) 2020 * Author: xiaoweixiang */ package finished.others.finished.No1047_删除字符串中的所有相邻重复项; class Solution { public static void main(String[] args) { String S = "abbaca"; String res = removeDuplicates(S); System.out.println("res = " + res); } public static String ...
23.923077
55
0.489818
53b9e1f872995914accebc798438a9ca426f986f
1,317
/** * Copyright 2016 LinkedIn Corp. 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 applica...
29.266667
114
0.712984
67f22ab883e6055c271964f1f1a2460f54e59f04
2,476
package xyz.cofe.win.wmi.cimv2; import com.jacob.activeX.ActiveXComponent; import com.jacob.com.*; import xyz.cofe.win.activex.GetActiveXComponent; import xyz.cofe.win.wmi.*; public class Win32_ShareToDirectoryImpl extends WmiObjImpl implements Win32_ShareToDirectory { public Win32_ShareToDirectoryImpl(ActiveXCompo...
41.266667
131
0.703554
820f2eb644079f652fdcf460dccf252cfe4f32ca
375
package org.zcorp.java1; public class MainUtil { public static void main(String[] args) { System.out.println(Integer.valueOf(-1) == Integer.valueOf(-1)); System.out.println(Integer.valueOf(-1) == new Integer(-1)); int result = getInt(); System.out.println(result); } private...
26.785714
71
0.613333
0d15c3c23797d7351ab4d4ddf1e3e0b91cf2a416
3,801
import org.lwjgl.BufferUtils; import org.lwjgl.opengl.*; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.nio.file.Files; import java.nio.file.Paths; class Shader { private int vertID; private int fr...
31.941176
109
0.63457
6dbf1f17c70ca0064236a1f44bc0759175b3206f
2,906
package org.sunflow.core.shader; import org.sunflow.SunflowAPI; import org.sunflow.core.ParameterList; import org.sunflow.core.Shader; import org.sunflow.core.ShadingState; import org.sunflow.image.Color; import org.sunflow.math.Matrix4; import org.sunflow.math.Point3; public class WireframeShader implement...
38.236842
110
0.563661
2f7b0b1017454cf829ce9be0588ad8e9d567309b
1,363
/* * Copyright 2020 The Netty Project * * The Netty Project licenses this file to you 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 * * Unless...
32.452381
116
0.719002
63b77228bace19fd05c126e7744cf53870f8a193
2,137
/* * Copyright (C) 2015, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The PSYCO: A Predicate-based Symbolic Compositional Reasoning environment * platform is licensed under the Apache License, Version 2.0 (the "...
30.971014
83
0.542349
323de56454c29932f5648c23b7ce293404fab761
3,990
/** * Copyright 2010 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 b...
36.272727
145
0.651128
101e2d7e0fd42668e24e49dd459d8cc82d0053da
663
package lib.games.ui.companies; import com.vaadin.flow.component.grid.Grid; import lib.games.data.Company; import lib.games.data.Shop; public class CompaniesList extends Grid<Company> { public CompaniesList() { setSizeFull(); addColumn(Company::getName).setHeader("Name").setSortable(true).setKey...
27.625
108
0.699849
386423ca7d391148a4d68f0871d9c041fdcd3434
5,156
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.volatility.local; import static com.opengamma.engine.value.ValuePropertyNames.CURVE; import static com.opengamma.financial.analytics...
50.54902
191
0.837083
80d1c45ff550daf6e130e482b2c0b460b87ef947
6,884
package com.ruoyi.web.controller.business; import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.common.utils.DateUtils...
33.096154
86
0.632626
5dacba911f63a5bc51aea4bf831d9875aec4f71b
328
package com.realm.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.SOURCE) @Target(ElementType.TYPE) public @interface SyncDescriptions { SyncDescription[] value...
20.5
44
0.807927
5a87abd553be506b83d248f16634b9d2a31539bd
491
package se.maokei.kanban.repositories; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import se.maokei.kanban.domain.Project; @Repository public interface ProjectRepository extends CrudRepository<Project, Long> { Project findByName(String name); Pr...
28.882353
74
0.808554
0eea7045da14cb6e6ba51f70f756d7e361a2fd33
741
package in.anil.config; import org.springframework.security.oauth2.client.token.grant.redirect.AbstractRedirectResourceDetails; /** * class CustomRefreshTokenDetails * Created by Anil on 9/6/2018. */ public class CustomRefreshTokenDetails extends AbstractRedirectResourceDetails { private String code; priva...
22.454545
103
0.700405
c85c58cb5530c0928c608637d1b277d89fc6f4d1
470
package com.djs.learn.javalang.thread2; public class TestMain2 { public static void main(String[] args){ SampleThread sampleThread1 = new SampleThread(); SampleThread sampleThread2 = new SampleThread(); sampleThread1.start(); sampleThread2.start(); try { Thread.sleep(500); } catch (InterruptedExcept...
16.785714
50
0.7
a491670aab6caa4aa94a4e97e853b691599ab500
450
package ua.com.fielden.platform.dao.exceptions; /** * Runtime exception that should be thrown within entity companion implementation in cases where an unexpected number of instances is returned. * * @author TG Team * */ public class UnexpectedNumberOfReturnedEntities extends RuntimeException { private static...
28.125
143
0.76
0391af26e4c03975d7318b0ed941dc8a022d4d50
5,100
package com.spme.domain; /** * Required Fields: * * SCDS - SOURCE CONTROL DATA SET * * VOL - THIS FIELD CAN CONTAIN EITHER A VOLUME SERIAL * NUMBER OR THE FIRST COMMON CHARACTERS IN A RANGE * OF VOLUME SERIAL NUMBERS. IF PART OF RANGE, * ENTER ...
29.651163
67
0.56
388b643fc51913b70ec063a0c10cb3f59ebb47dc
18,793
/** * Copyright (c) 2020 Team 3555 * * 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, publish...
33.439502
120
0.734316
aaa76dc56ce98f82c220ea94529897b6ca2ef4b2
77
/** * Contains DTO classes for each property. */ package biweekly.property;
19.25
42
0.727273
fe975acfcdf1a1a321fbebf5e922969ee0af0a9c
1,281
package com.sz.projectManagement.modular.business.entity; import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity; import cn.stylefeng.roses.kernel.scanner.api.annotation.field.ChineseDescription; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import lombok.EqualsAndHashCode; import java.uti...
16.636364
81
0.601874
3c2464a6baba9ff5f42dc78ffbee8ed8ac1f3e13
3,415
/* * @copyright defined in LICENSE.txt */ package hera.it; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import hera.api.model.BlockchainStatus; import hera.api.model.ChainInfo; import hera.api.model.ChainStats; import hera.api.model.NodeStatus; import hera.api.model.Peer...
26.269231
96
0.725622
613b63918b610a28a9652a5e34761474ebadd2c9
628
package com.bymarcin.openglasses.lua.luafunction; import ben_mkiv.rendertoolkit.common.widgets.Widget; import li.cil.oc.api.machine.Arguments; import li.cil.oc.api.machine.Context; import com.bymarcin.openglasses.lua.LuaFunction; public class IsVisible extends LuaFunction{ @Override public Object[] call(Context c...
23.259259
61
0.748408
7bedb850fbd138b8fa4183e6cc96748f7a29ef19
1,035
package io.stargate.it.http; import io.stargate.it.BaseIntegrationTest; /** Base class for all REST API tests. */ public class BaseRestApiTest extends BaseIntegrationTest { /** * Used to define common parameters for configuring REST API service instances. If you need to * add/override parameters in a subclas...
38.333333
99
0.761353
8d3b2bf240ff6ceede5dba325e0bdc57cf7bcfc8
1,817
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.logging.blocks; import com.yahoo.bard.webservice.logging.LogInfo; import com.yahoo.bard.webservice.web.ApiFilter; import com.fasterxml.jack...
40.377778
115
0.705559
8bb8a4b0e846499dbcdc8eadbc2cf686ba1607da
1,590
package com.yonyou.bpm.webservice; import java.util.List; import java.util.Map; import javax.xml.namespace.QName; import org.apache.cxf.binding.soap.SoapHeader; import org.apache.cxf.binding.soap.SoapMessage; import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor; import org.apache.cxf.headers.Header...
28.392857
71
0.740881
050acb90d328f05fa88d141385d679a9bd881d0d
4,613
/* * Copyright 2014-2021 Danilo Reinert * * 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.348684
104
0.621938
50dfed8251786ab2b49ac301c0369b210c8f656a
843
package com.burst.sdk.callBack; import com.burst.sdk.struct.imos.TagParseVideoData; import com.burst.sdk.struct.imos.TagUserLoginIDInfo; import com.sun.jna.win32.StdCallLibrary.StdCallCallback; /** * @描述: * @作者: REN * @时间: 2019/3/19 16:59 */ public interface XpPlayerTranscodeCallbackPF extends StdCallCallback { ...
28.1
162
0.698695
5e1e750cb97246e29a9dbe252a346b4c5d0eba22
2,320
package dustin.utilities.classloader; /** * Utility class for running operations on an explicitly specified class loader. */ public class ClassLoaderSwitcher { /** * Execute the specified action on the provided class loader. * * @param classLoaderToSwitchTo Class loader from which the *...
37.419355
100
0.698276
d7e34359aa572b520e9ab90d18434ddf5b81e042
225
package example.service; import example.repo.Customer1452Repository; import org.springframework.stereotype.Service; @Service public class Customer1452Service { public Customer1452Service(Customer1452Repository repo) {} }
20.454545
59
0.84
a132c3847459e18f37f9a3a86354ead32926b497
2,506
/** * Copyright 2006-2020 the original author or authors. * * <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 by ...
31.721519
99
0.719872
0e2baccb3b2e8a6d0dbb40bd1e69b88f4b449fe3
1,793
package cn.plusman.design.memento; import java.util.Scanner; import java.util.Stack; /** * cn.plusman.design.memento * * @author plusman * @since 2020/11/8 */ public class CommandV1 { public static void main(String[] args) { InputText inputText = new InputText(); SnapshotHolder snapshotHolder...
23.592105
69
0.568879
dbc03dd322a3155dfc57fc3d8a153d9ae94d982e
5,940
// PedDecision.java /* * Copyright (c) 2008, Gennady & Michael Kushnir * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyri...
36
90
0.729798
6200c4ec1834eca7f2692b081635bfe9381faaec
537
package net.jodah.failsafe.util.concurrent; import java.util.concurrent.Callable; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; /** * Schedules executions. * * @author Jonathan Halterman * @see Schedulers * @see net.jodah.failsafe.util.concurrent.DefaultScheduledFuture */ p...
26.85
94
0.743017