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
5c2cc95412772a7847909721eacb8514a4bc1804
2,648
package org.justcodecs.dsd; import java.io.IOException; import java.util.Arrays; import org.justcodecs.dsd.Decoder.DecodeException; public class BaseChunk { int ID; // char[4] long size; long start; byte[] data; BaseChunk parent; static byte[] IDBuf = new byte[4]; public static BaseChunk creat...
27.298969
106
0.635196
11953ec61df580b8059f7a27e6c88faa8d2a6369
1,529
package jnc.platform.win32; import javax.annotation.Nonnull; import jnc.foreign.Foreign; import jnc.foreign.Pointer; import jnc.foreign.byref.PointerByReference; public interface Kernel32Util { static int getLastError() { return Foreign.getDefault().getLastError(); } static int getOSVersion() { ...
28.849057
81
0.604971
bd5895a81f1361a39c2f7180cd609e068a47261a
1,581
package com.gpaganini; import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer; import javax.swing.*; public class Main { public static void main(String[] args) { int num[] = new int[5]; int l, flag, op; Funcao f = new Funcao(); flag = 0; for (l = 0; l < 5; l++) { num...
26.35
74
0.412397
a67e38de0d6593b7ea4c75dfe70d2e5234f8ab90
1,224
import java.util.*; class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); String str=s.next(); HashMap<Character,Integer> map=new HashMap<>(); for (int i = 0; i < str.length(); i++) { if(str.charAt(i)=='0'||str.charAt(i)=='1'||st...
34
217
0.468954
4c06f6ef4474755239e9ad1169437daafc1a058c
19,381
/** * 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...
41.950216
135
0.59806
adb343988e7b8af5eceb0a2d10c0933e246b3e4f
1,165
/* * Copyright 2002 Felix Pahl. All rights reserved. * Use is subject to license terms. */ package info.joriki.awt.image; import java.awt.image.ColorModel; import java.awt.image.ImageConsumer; import java.util.Hashtable; public abstract class AbstractImageConsumer implements ImageConsumer, ImageProperties { pro...
21.574074
85
0.696996
0e7137dfae8d080611b845252a4a093a2d22b633
193
package uk.gov.hmcts.reform.fpl.exceptions; public class EmptyFileException extends IllegalArgumentException { public EmptyFileException() { super("File cannot be empty"); } }
24.125
66
0.735751
baf569464d6cb15d0513ba4eb953232676a25875
3,208
package org.joyqueue.nsr; import com.google.common.collect.Lists; import org.joyqueue.domain.Consumer; import org.joyqueue.domain.Producer; import org.joyqueue.domain.Topic; import org.joyqueue.domain.TopicConfig; import org.joyqueue.nsr.config.NameServiceConfig; import org.joyqueue.nsr.config.NameServiceConfigKey; im...
37.741176
128
0.712594
e3a8e162cd48dc24ee825953bad52e93474d4f42
32,545
/*--------------------------------------------------------------------------- * Copyright (C) 1999,2000 Maxim Integrated Products, All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * t...
33.175331
81
0.585866
1aeec05c3de6359e8ba67f09f5d8f52e1606beb7
1,333
package filecache; import java.io.IOException; import java.lang.ref.SoftReference; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashMap; import java.util.List; import java.util.Map; public class FileCache { /** * Way to directory. * */ private ...
25.634615
96
0.627907
ddc3af40cfb45fee1399acd15108371efe3d9741
1,370
package com.flashpipelines.akka.actor; import akka.actor.AbstractActor; import akka.actor.ActorRef; import akka.actor.Props; import akka.pattern.PatternsCS; import com.flashpipelines.core.Envelope; import com.flashpipelines.core.Service; import java.util.concurrent.CompletableFuture; /** * Asynchronous actor type. ...
28.541667
104
0.691241
4d7d3a9bab28efc7fcc4fa0d0c3bd681d8feb825
3,086
package io.cattle.platform.configitem.request; import io.cattle.platform.configitem.model.Client; import io.cattle.platform.configitem.model.impl.DefaultClient; import io.cattle.platform.core.model.Agent; import io.cattle.platform.eventing.model.Event; import java.util.ArrayList; import java.util.HashMap; import java...
24.688
81
0.657809
735e2282a171ed1728aaca6dea1dfed7f411b0d7
2,402
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
29.292683
137
0.721066
d37828f1359d5cef164b3a20e2bfebff2fdfc2fa
4,234
package com.huaweicloud.sdk.ecs.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.List; import java.util.Objects; import java.util.function.Consumer; /** This is a auto create Body Object */ public class B...
31.132353
120
0.644308
56e28f16ac91065e0c5fae88847c4bfe79b0767f
561
package com.insta2apps.ibrahim.weatherapp.view.forecast; import com.insta2apps.ibrahim.weatherapp.view.base.BasePresenter; import com.insta2apps.ibrahim.weatherapp.view.forecast.model.FiveDaysForeCastModel; import com.insta2apps.ibrahim.weatherapp.view.forecast.model.List; import java.util.ArrayList; /** * Created ...
33
83
0.821747
39c2006c42bcd0d7f376b3acb6c50dc0d2135187
4,174
package com.project.config; import com.project.config.handler.LogoutSuccessHandler; import com.project.filter.FilterSession; import com.project.service.OAuthUserService; import lombok.AllArgsConstructor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; im...
39.752381
120
0.719693
b16575fb113c7ca95754c512c6597676c996d6d8
2,497
package com.pay.aphrodite.model.entity; import java.util.Date; public class SqlQuery extends BaseEntity<SqlQuery>{ private Date updateTime; private String columnName; private String alias; private Integer selectId; private String owner; private String sqlObjectType; private Integer s...
24.480392
74
0.60833
2ef1eb1d857329297f4cf72d4e0119498d232895
2,437
package ru.job4j.map; import java.util.Iterator; /** * Created by pro on 15.07.2017. */ public class Catalogue<K, V> implements Iterable<K> { /** * Container of Node. */ private Node<K, V>[] container; /** * Number of elements. */ private int count = 0; /** * Constructor...
22.990566
99
0.479278
17685d808ee4ca2e9e92c994ff56602a9d458ec8
9,800
package com.oath.cyclops.vavr; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; import java.util.Arrays; import java.util.concurrent.Executors; import java.util.function.Function; import java.util.stream.Collectors; import com.oath.cyclops.types.functor.Transformable; import...
29.518072
141
0.513776
0da9e2309831e6de945e32f5b7c4ac9889393459
409
package com.telenav.osv.network.model.generic; import com.google.gson.annotations.SerializedName; /** * @author horatiuf */ public class ResponseNetworkBase { @SerializedName("status") private ResponseModelStatus status; public ResponseNetworkBase(ResponseModelStatus status) { this.status = st...
19.47619
60
0.711491
7a094d900e452a6a9ea7b2c536eda68d0c339c40
1,349
// Copyright (c) 2015-2020 Vladimir Schneider <vladimir.schneider@gmail.com> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.language; import com.vladsch.plugin.util.ui.ComboBoxAdaptable; import com.vladsch.plugin.util.ui.ComboBoxAdapter;...
33.725
177
0.73536
ef9326ff8f07ad0306abba3013d68e9060151897
1,546
import org.apache.commons.math4.ml.neuralnet.MapUtils; import org.apache.commons.math4.ml.neuralnet.twod.NeuronSquareMesh2D; import org.apache.commons.math4.geometry.euclidean.threed.Cartesian3D; import org.apache.commons.math4.exception.MathUnsupportedOperationException; class ChineseRingsClassifier { /** * ...
26.655172
88
0.641009
e374a335ba74985ab7274c470044e4766aa30660
511
package com.mygdx.jam.entities; import com.badlogic.gdx.math.MathUtils; /** * @author Lukasz Zmudziak, @lukz_dev on 2016-04-27. */ public class EnemyController { private Enemy enemy; private float time = MathUtils.random(10f); public EnemyController(Enemy enemy) { this.enemy = enemy; } ...
21.291667
63
0.636008
00a0c1ee8f288a52fa5ca2845f1b2d700fe62827
417
package com.hp.model; import java.io.Serializable; /** * 推送结果 * Created by yaoyasong on 2016/4/28. */ public class PushResponse implements Serializable{ private static final long serialVersionUID = -7034897190745766939L; private String requestId; public PushResponse(String requestId) { this.re...
19.857143
71
0.697842
d5a2c161c5a8edf4923eaf6e6161dc174cb3bd7b
3,095
/** * Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) 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...
39.177215
98
0.672375
252ea0f24b2fc1e09d2868de735da0b86dc2fe88
578
package net.sf.l2j.gameserver.scripting.tasks; import net.sf.l2j.commons.concurrent.ThreadPool; import net.sf.l2j.gameserver.model.olympiad.Olympiad; import net.sf.l2j.gameserver.scripting.Quest; public final class OlympiadSave extends Quest implements Runnable { public OlympiadSave() { super(-1, "tasks"); ...
22.230769
65
0.745675
4a5edf74230bb17f93d7f6376164e716dd32d090
7,949
/** * Copyright (C) 2018 Arman Afzal <arman.afzal@gmail.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
22.391549
121
0.483583
58bf1592e1fb6cfed616c056cf2c167ec68ae110
7,705
/* * * 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"); y...
30.82
118
0.637638
e520612339c03bff3c05f914a4e9628bb1875981
2,523
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.apimanagement.models; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.azure.co...
30.39759
118
0.688862
50bb9370e24bb44d768f228eabebf8602fa9fe1e
2,564
package no.fint.model.resource.administrasjon.organisasjon; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; import java.util.Collections; import java.util.List; import java.util.Map...
30.164706
102
0.708658
167641350c4fef9ee92c6b0a2f57c12e54e0eb05
1,939
package com.c3.vero.c3_11_musicplayer; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.os.IBinder; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; impo...
26.561644
96
0.602888
0c537252faee809ebeebccd8a795e625dac35b37
1,000
package com.hackhu; public class Question15 { /** * 输出链表倒数第 K 个结点 * 特殊情况,链表为空,或不足 K 个节点,返回 NULL * 使用快慢指针,快指针比慢指针快 K 个节点,当快指针的下一结点为 NULL 时,慢指针的下一节点为要删除结点 * @param head * @return */ public Node findKToTail(Node head,int k) { if (head == null) { return null; ...
24.390244
61
0.483
90e8601303647285d8bb612a2264dc24301aa066
208
package JavaCore.OOP; public class Pixel extends Point{ String color; public void clear() { super.clear(); color = null; System.out.println("Pixel clear()"); } }
13
44
0.5625
a9b75e43f6b5c385e3525e242c746cc7b3f022b6
876
import io.activej.inject.Injector; import io.activej.inject.Key; import io.activej.inject.binding.Multibinders; import io.activej.inject.module.Module; import io.activej.inject.module.ModuleBuilder; public final class MultibinderExample { public static void main(String[] args) { //[START MULTIBINDER] Module multi...
30.206897
82
0.743151
f435a2017892ff31ea5177aa08b863a1cdddd770
1,384
package es.upm.fi.dia.oeg.map4rdf.client.util; import java.io.Serializable; import es.upm.fi.dia.oeg.map4rdf.share.Resource; /** * This is a representative class of Statistic. * Contains URI, labels, origin of a statistic. */ public class Statistic extends Resource implements Serializable, Comparable<Statistic> { ...
25.62963
88
0.742052
b43a6ba4925e9f4bc771075037bca2c1eb537f02
2,475
/* * MIT License * * Copyright (c) 2021 Brandon Li * * 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, modif...
39.285714
82
0.739798
8e5e26b5ed03b3d3f1a1adc85682c25facb942e0
8,635
/* * Copyright 2007 Penn State University * 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...
38.377778
117
0.569658
18c1328a05eca62cf26b45ac485945250a006857
2,845
/* * Copyright (c) 2017. By AsherLi0103 * * 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 o...
25.863636
159
0.688928
f953bf141a9adbf4bd7a96af0f6d885281987416
21,531
package net.gvsun.gswork.jpa; import net.gvsun.gswork.domain.TAssignmentGrading; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query....
51.386635
269
0.706423
0d8501961c9a624e2b71c9441ab4066f77a0a1c7
225
package example.service; import example.repo.Customer1256Repository; import org.springframework.stereotype.Service; @Service public class Customer1256Service { public Customer1256Service(Customer1256Repository repo) {} }
20.454545
59
0.84
30d877a00e43aa91031bc631e02e1d279e4d2dd9
11,534
package com.linln.admin.system.controller; import com.linln.admin.core.constant.AdminConst; import com.linln.admin.core.enums.ResultEnum; import com.linln.admin.core.enums.StatusEnum; import com.linln.admin.core.enums.UserIsRoleEnum; import com.linln.admin.core.exception.ResultException; import com.linln.admin.core.lo...
33.048711
104
0.613057
3ca7145d38ab788d2cc54455419ad700730488d8
743
package com.gaoxi.req.user; import com.gaoxi.req.AbsReq; /** * @author 大闲人柴毛毛 * @date 2017/11/4 下午3:45 * @description 用户状态处理请求 */ public class UserStateReq extends AbsReq { /** 用户ID */ private String userId; /** 用户状态 {@link com.gaoxi.enumeration.user.UserStateEnum} */ private int userState; ...
19.051282
64
0.627187
6a675db2afb526f9085fae26c4605f5f545a07b7
1,649
package com.enremmeta.rtb.api.proto.openrtb.lot49; import java.util.Map; import com.enremmeta.rtb.RtbBean; import com.enremmeta.rtb.api.proto.openrtb.User; import com.enremmeta.rtb.config.Lot49Config; import com.enremmeta.rtb.jersey.AuctionsSvc; /** * It may be the case is that the {@link User#getCustomdata() custo...
27.483333
208
0.671316
c52676c52827f9786c6c51112adfa470eb5fc25d
2,491
/* * Copyright (C) 2018 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 app...
38.921875
99
0.723404
da41b476f2768a453ed34f5676cf2e4185a9408b
997
package org.javaboy.vhr.test; import org.javaboy.vhr.explain.Init; import org.javaboy.vhr.explain.Vadiate; /** * @author xushuai * @date 2021年12月01日 1:38 下午 */ public class User { @Vadiate(min = 1,max = 10) private String name; private String age; public String getName() { return name; ...
20.770833
50
0.550652
57a2eb7882e37f06540b41e1d03bf9deac795b6a
2,903
// Copyright 2013 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
27.130841
79
0.713744
0ce25c74d03b955ac0125941b9e78f16a9cfe8fc
595
package radlab.rain.workload.hbase; import radlab.rain.IScoreboard; public class HBaseGetOperation extends HBaseOperation { public static String NAME = "Get"; public HBaseGetOperation(boolean interactive, IScoreboard scoreboard) { super(interactive, scoreboard); this._operationName = NAME; this._operatio...
22.884615
71
0.721008
ddb59a5470c0bc280d2a4b468684fa91783437ad
10,451
package com.auro.scholr.home.presentation.viewmodel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.auro.scholr.R; import com.auro.scholr.core.application.AuroApp; import com.auro.scholr.core.common.MessgeNotifyStatus; import com.auro.sch...
41.145669
158
0.565305
32515411132500e36b50f7765fcaba324746e967
48,951
/** * ExemptCert.java * * This file was auto-generated from WSDL * by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter. */ package com.avalara.avatax.services.account; import java.util.Calendar; public class ExemptCert implements java.io.Serializable { private int exemptCertId; priva...
36.367756
130
0.645625
0dab6e77ea54b051541631a57dd9f23897effbf1
1,538
package com.example.pl_son.Classes; public class Announce { int id; int course_id; String announce; String announce_date; int teacher_id; boolean is_read; public Announce(int id, int course_id, String announce, String announce_date, int teacher_id,boolean is_read) { this.id = id; ...
32.041667
115
0.689857
c09202c2c2a6886507a41564b1e4627f5be0f493
2,857
/** * */ package br.com.centralit.citcorpore.bean; import java.sql.Date; import br.com.citframework.dto.IDto; /** * @author valdoilo.damasceno * */ public class PerfilAcessoPastaDTO implements IDto { private static final long serialVersionUID = 1017195976624432499L; private Integer idPerfilAcesso; priva...
17.745342
71
0.703535
b2fcc6fafd97e5e91cd9b3c19bea93ab5a3c7674
475
package xyz.ttnaarashi.mc.autoUpdate.dataRepr; import lombok.Data; import lombok.NonNull; @Data public class ModReplace { @NonNull private final String from; @NonNull private final String to; @NonNull private final Boolean newFile; /** * Identical to getNewFile() * * @retur...
19.791667
74
0.667368
efe8f7089df20c17d852976af286bb16f94c9851
2,579
/*- * ============LICENSE_START======================================================= * Copyright (C) 2019 Samsung Electronics Co., Ltd. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
33.064103
92
0.664211
c1d4a79d8c4b0ee2de87c178e3251d65d02f88cd
11,250
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INS...
54.878049
263
0.7656
30197c74397d87fe0150c721b317c6b3f17c6b3e
4,134
/* * Copyright (C) 2017 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...
37.581818
100
0.709482
5193896ca4f4c8eb6d7846d9b3f3a5a892bd111b
6,393
package com.example.deeppatel.car_rerntal.Customer.activities; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.Me...
42.059211
122
0.62412
cf724a33b8605e33fa39f9fe2bc631252c88680c
576
package cc.jerrywang.webviewdemo.view.utils; import android.annotation.SuppressLint; import android.support.v7.app.ActionBar; public class TopActionBar { private ActionBar actionBar; public TopActionBar(ActionBar actionBar) { this.actionBar = actionBar; } @SuppressLint("RestrictedApi") ...
21.333333
69
0.711806
8ba89af99ca42b87d5814868dbcf9e09f41de2d2
6,667
/*- * ============LICENSE_START======================================================= * PROJECT * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===============================================================...
31.448113
162
0.651717
5aff4588ae6b17d0f4d8e917d355fc92a072030b
285
package sample.doma2.javaee; import org.seasar.doma.Entity; @Entity public class TestTable { private Long id; private String value; @Override public String toString() { return "TestTable [id=" + id + ", value=" + value + "]"; } }
17.8125
65
0.57193
dbc79be489a85131300e3584cf81ba61d79a8513
1,272
package com.example.demo.model.entity; import javax.persistence.*; @Entity @Table(name = "account") @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public class Account { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "id") private Integer id; @Column(name = "email")...
18.434783
55
0.610849
e7fdf035b58d46af6f064dc9ad12dd919f51228b
4,184
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
26.649682
114
0.721558
4446f1ac66cfa95a7c6e73bf60c0f3debd39ae2c
1,679
package com.plexobject.db; import java.util.HashMap; import java.util.Map; public class RepositoryFactory { private static final String DEP_REPO = "dependencies"; private final DatabaseStore databaseStore; private final boolean inMemory; private final Map<String, DependencyRepository> repositories =...
31.679245
112
0.653961
9c41157efc6253acf69b4497ce48c6f2785b45e7
3,277
package com.sjl.remotedb.dao; import com.sjl.remotedb.db.DbPoolManager; import com.sjl.remotedb.db.SimpleDataSource; import com.sjl.remotedb.page.Page; import com.sjl.remotedb.page.SqlPageHandle; import java.util.List; import java.util.Map; /** * 同步执行器SyncDaoExecutor,不同数据源new 一个 * <p> * <p>1.由于是远程操作数据,涉及网络连接且数据可能...
30.342593
104
0.690876
48558caa87725041d9083805badd069a8abb7fd0
186
package xyz.bd7xzz.kane.vo.driver; import lombok.Data; /** * @author bd7xzz * @version 1.0 * @description: mysql驱动 * @date 7/4/21 12:15 PM */ @Data public class MySQLDriverVO { }
13.285714
34
0.672043
d627639d9eab8213cacb8119ae3b2f72d0effefa
7,722
package com.example.liangjie06.zuche.module.mainpager; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.util.Log; import android.view.View; import android.widget.ImageVie...
31.777778
112
0.636493
244b88b2cf2f70f64f2b52308ff09007759c12d5
701
package ru.job4j.profession; import org.junit.Test; import ru.job4j.Human; import static org.junit.Assert.assertThat; import static org.hamcrest.core.Is.is; /** * Class DoctorTest 002.2.1.1. * @author rzhedunov. * @since 2017-11-18. * @version 002.2..1.1 */ public class DoctorTest { /** * Method diagno...
24.172414
72
0.657632
2963cfb92bf56fcf67cb148f4a0181c931ce8260
1,420
import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; public class Customer { private String name; private int balance; private String LocationName; public Customer (String name,int balance, String LocationName ){ ...
26.296296
130
0.659155
b6ff1721ade8768e24fd360f13d0b159b963cbda
14,101
package com.dt.core.tool.util.support; import java.io.BufferedReader; import java.io.IOException; import java.io.Reader; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import ...
21.172673
111
0.580172
807ceccf3a7767ab543167980cd5bd09cf642f7c
2,348
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.analytics.ttest; import org.apach...
32.611111
120
0.732538
16a8e826830af51de42e8a615ab87d570ad51fda
9,902
package com.company; /* ID: graceluo LANG: JAVA TASK: BronzeRut */ import java.io.*; import java.util.ArrayList; import java.util.StringTokenizer; public class Dec2020Q3 { public static void main(String[] args) throws Exception { BufferedReader input = new BufferedReader(new InputStreamReader(System.in))...
38.23166
152
0.426479
7f9e7626cee9b42f606099311bc8e860d07ab408
20,175
/** * Copyright 2013 Canada Health Infoway, 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 applicab...
42.653277
154
0.666716
1162342822585e00081f82ee8b36d0441fa34241
1,377
package com.noobit.web.async; import io.netty.util.internal.StringUtil; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRe...
35.307692
96
0.631808
c9d936ab91f200e9750502a7911a03d5063dc82c
10,666
/** * generated by Xtext 2.10.0 */ package fr.paris10.miage.dslLogs.impl; import fr.paris10.miage.dslLogs.Date; import fr.paris10.miage.dslLogs.DslLogsPackage; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.ec...
23.237473
112
0.586912
6c30f23d16b2adc695b8a7bdee699d2096696c96
1,692
package me.nieyh.example.demoproject; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import butterknife.BindView; import butterknife.ButterKnife; import me.nieyh....
36.782609
120
0.631206
7019101a9d5d70ecb1cb0714c012aab6d6dcb27e
1,778
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // https://www.eclipse.org/...
22.794872
76
0.606862
185f2eaa27591293064c5c0a5ae5be7e04a63cc5
883
package Part1; import org.junit.Before; import static org.junit.Assert.*; import org.junit.Test; public class FibonacciTest { @Test public void testFib() { Fibonacci tester = new Fibonacci(); assertEquals( 0, tester.fib(0)); assertEquals( 1, tester.fib(1)); assertEquals( 1, tester.fib(2)); a...
22.075
37
0.643262
5d21f11a39202aa55103d745d544d6cd7b048665
6,185
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. 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 * *http://www.apache.org/lic...
41.233333
115
0.702183
68d584a8938286a5bd12ddfc1003a3efa3392b16
8,168
package com.heyongrui.module.adapter; import com.chad.library.adapter.base.entity.MultiItemEntity; import com.chad.library.adapter.base.entity.SectionMultiEntity; import com.heyongrui.module.data.dto.DouBanDto; import com.heyongrui.module.data.dto.GarbageCardBean; import com.heyongrui.module.data.dto.KaiYanItemBean; i...
34.175732
89
0.693438
bf72467b8d1b324aac04bdb74570d9119869b021
2,230
/* * WPCleaner: A tool to help on Wikipedia maintenance tasks. * Copyright (C) 2013 Nicolas Vervelle * * See README.txt file for licensing information. */ package org.wikipediacleaner.api.check.algorithm.a0xx.a09x.a096; import java.util.Collection; import java.util.List; import org.wikipediaclea...
29.733333
94
0.663677
9ded8d16044308437ae312dcb26bbe500dd97f28
4,416
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v3/services/location_view_service.proto package com.google.ads.googleads.v3.services; public final class LocationViewServiceProto { private LocationViewServiceProto() {} public static void registerAllExtensions( com....
48.527473
100
0.744112
74d2fc1fc6ebf20fb0ae03da278f37ce00e40835
3,339
package nl.mwensveen.adventofcode.year_2018.day_11; import com.google.common.collect.HashBasedTable; import com.google.common.collect.Table; import java.util.Arrays; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; public class FuelCellGridAnalyser { pri...
38.37931
155
0.594789
9ca33a159cfaac7002ffca185eef3ba4b1f55e68
4,605
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
28.602484
83
0.607166
2fa13f6ebc292b766ba013fa6ea7cfd698a972e4
5,181
/** * 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...
24.908654
90
0.682494
8d0a1eb9c5611437acfc7a916f280c8423a1ac6d
90
package com.springboot.services.producer.jpa.service; public interface ITestService { }
15
53
0.811111
3d0866128d1ca7715cad93afffbd6088b7d750e7
10,512
/* * 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 ...
33.584665
96
0.647831
5eccd57226d9bc7fa3598926ddc89f46da884bc9
703
package FactoryAndData.B2C; import org.testng.annotations.DataProvider; import org.testng.annotations.Factory; import CommonFunction.Common; import TestData.PropsUtils; import TestScript.B2C.NA21153Test; public class NA21153 { @DataProvider(name = "21153") public static Object[][] Data21153() { return Common.ge...
19
48
0.657183
c5bec2602b970551f53223ebdc41de63d23f918b
776
package com.bitwaffle.guts.input; /** * Maps Xbox controller buttons to their numbers * * @author TranquilMarmot */ public class XboxMappings { public static final int BUTTON_A = 0; public static final int BUTTON_B = 1; public static final int BUTTON_X = 2; public static final int BUTTON_Y = 3; public static...
29.846154
48
0.75
acf0a9a13100f471a16099ae310e81a75f2702e1
2,648
package tom; import com.alibaba.csp.sentinel.Entry; import com.alibaba.csp.sentinel.SphU; import com.alibaba.csp.sentinel.concurrent.NamedThreadFactory; import com.alibaba.csp.sentinel.slots.block.BlockException; import com.alibaba.csp.sentinel.slots.block.RuleConstant; import com.alibaba.csp.sentinel.slots.block.flow...
29.098901
86
0.581949
3135b6126b58841d9cd89ae007cd8a2198e63040
1,744
package com.meli.social.api.service; import com.meli.social.api.model.AccountModel; import com.meli.social.api.model.CountResponseModel; import com.meli.social.api.repository.FollowerRepository; import com.meli.social.api.repository.FollowingRepository; import org.springframework.beans.factory.annotation.Autowired; im...
33.538462
91
0.755161
01e3f4e2a96461dba0124587883045c8b89d5397
854
package com.issue1.demo.utilEntity.issue5ResultUtil; /* @Note: @User:NineSun @Time:2021/1/29 0:28 */ public class Issue1TopLevel { private String value; public String getValue() { return value; } public Issue1TopLevel(String value) { this.setValue(value); } public void set...
19.409091
52
0.411007
2950d3e74337facbca39af334d5a981fb7aeec8b
2,625
/* * IBM Corporation * Author: vikram.khatri@us.ibm.com * */ package ibm.lexer; import java.io.Serializable; public class Token implements Serializable, Comparable { public final TokenType type; public final int start; public final int length; public String text; /** * the pair value to use if this token...
17.384106
81
0.625905
bb08b7eb00f32275b34b9404e3b61611faa3ca62
376
package bugs; class GenericClass<K> { public void f(K t) {} } class ExtendsGenericHasITD extends GenericClass<String> {} public aspect VerifyError2 { public void ExtendsGenericHasITD.f(String s) { super.f(s); } public static void main( String[] args ) { ...
23.5
58
0.569149
369f33ccb3d7c4c121c2bbcc6d9216951f6ea62d
32,937
package com.common.android.utils.extensions; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics...
40.814126
224
0.669156
540be07df451c5de0253afb2bd3d7ff648a27ff7
129
package com.mstruzek.ccbyte.attribute.typeant.target; public class offset_target extends target_info { public short offset; }
21.5
53
0.813953
11563d6baa419825c05b2570a0933d5d6d1e85bd
745
package com.supervisor.domain; import java.io.IOException; import com.supervisor.sdk.datasource.DomainSet; import com.supervisor.sdk.datasource.comparators.Comparator; public interface FormularExtendedToModelSources extends DomainSet<FormularExtendedToModelSource, FormularExtendedToModelSources> { FormularExtendedT...
49.666667
183
0.869799
51e13663530cf39d70e1290259e1d5f4160ce5de
2,275
package com.github.cyc.wanandroid.http.api; import com.github.cyc.wanandroid.http.model.Article; import com.github.cyc.wanandroid.http.model.ArticleList; import com.github.cyc.wanandroid.http.model.Banner; import com.github.cyc.wanandroid.http.model.Chapter; import com.github.cyc.wanandroid.http.model.Navigation; impo...
22.75
116
0.631209
e7c971e538764bfb96d94c7eb0a0d68732a86c11
2,549
package system.web.file; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import system.web.WebContext; /** * * @author wangchunzi */ final public class FileConfig { public final String path_web_real; public final String path_save; public final String path_save_r...
44.719298
169
0.723813
e506cb8069a6d3d8b5d9dc64327234637030bca3
3,311
package com.codingnomads.impacttracker.logic; import com.codingnomads.impacttracker.data.repositories.MySqlCommitmentRepository; import com.codingnomads.impacttracker.model.Commitment; import com.codingnomads.impacttracker.logic.commitment.CommitmentService; import org.junit.Before; import org.junit.Test; import org.m...
37.625
135
0.770462
513271958570de679e203d7d4150ecb9c391423b
1,192
package cookiedragon.luchadora.wrapper.client; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.IResource; import net.minecraft.client.resources.IResourceManager; import net.minecraft.util.ResourceLocation; import java.io.IOException; import java.util.List; import java.util.Set; /** * @a...
20.912281
85
0.776007
6ebef624558ca98a4eb86fd6ba3e17a05131b004
1,964
package SeriesProblems; public class BITreeAndSegmentTreeProblems { /** * Use Binary Index Tree * @author Xuechao * */ static class NumMatrix { /* * matrix is for storing the matrix. optional for only requireing range sum */ private int[][] BITree; private int[][] matrix; final int m; final i...
23.95122
132
0.557026