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
e5aef2a658bb404d61abe0cd6afbe2e32ee8026c
1,625
/* * Copyright (C) 2020 Tirasa (info@tirasa.net) * * 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 appl...
40.625
107
0.739692
f8208f3b8ca2ba53a54dabebd8bd93cfd18e8933
1,743
/* */ package io.moquette.broker; import java.io.File; /** * Created by andrea on 08/12/15. */ public class BrokerConstants { public static final String PERSISTENT_STORE_PROPERTY_NAME = "persistent_store"; public static final String AUTOSAVE_INTERVAL_PROPERTY_NAME = "autosave_interval"; public static f...
52.818182
146
0.787149
a838ceaf5d1602d6d0574632a92e90afec751d9c
31,212
/* * Copyright 2016-present Tzutalin * * 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 agr...
35.793578
148
0.527489
1593c80b169156d75d494d27c560a0949b10854c
2,111
package commitminer.analysis.flow.factories; import java.util.Map; import org.apache.commons.lang3.tuple.Pair; import org.mozilla.javascript.ast.AstNode; import org.mozilla.javascript.ast.ScriptNode; import commitminer.analysis.flow.abstractdomain.Addresses; import commitminer.analysis.flow.abstractdomain.Change; im...
39.092593
147
0.778304
330980c8e57ac5d37b52b932d74d8aeafc8d27d9
300
package com.qlzw.smartwc.repository; import com.qlzw.smartwc.model.Mp_dev_link; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface Mp_dev_linkRepository extends JpaRepository <Mp_dev_link,Long> {}
30
84
0.82
351e23cef0f116a663c72fb9e6c442a52e2792bb
1,601
package org.wefine.spring.config.core; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.sec...
39.04878
107
0.671455
eb6e890472b58910d4d3be462b64d989bb72471a
1,176
package com.joymain.jecs.bd.service; import java.util.List; import com.joymain.jecs.service.Manager; import com.joymain.jecs.bd.model.JbdCaculateLog; import com.joymain.jecs.bd.dao.JbdCaculateLogDao; import com.joymain.jecs.util.data.CommonRecord; import com.joymain.jecs.util.data.Pager; public interface JbdCaculate...
30.153846
71
0.736395
fa324f1dd0e13ab94bf417f65aa1ae556001c805
470
package com.blazemeter.jmeter.citrix.client.events; import com.blazemeter.jmeter.citrix.client.CitrixClient; /** * Represents details about events occured during a Citrix session. */ public interface EventInfo { /** * Gets the source of this event * * @return the source of this event */ Ci...
19.583333
68
0.670213
7356f6474936700dd6ef65fe4f9c804485770fad
707
package measure.base; import java.util.Set; /** * @author rabbanyk * * @param <V> * * <pre> argmin_m d(x,m) </pre> */ public class Medoid<V> implements Centroid<V>{ Proximity<V> proximity; public Medoid(Proximity<V> distance){ this.proximity = distance; } public V findCentroid(Set<V> X) { V c...
14.729167
78
0.577086
557e8947d6bec278ed8b2cfad90fced5f940cc1d
4,544
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.structureView; import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; impor...
39.172414
158
0.761664
996a6fb135984f43187e418094a16697d3be0c56
586
/** * */ package com.joelgtsantos.cmstriton.filters; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.netflix.zuul.ZuulFilter; /** * @author Joel Santos * * cms-triton 2018 */ public class RouteFilter extends ZuulFilter { Logger logger = LoggerFactory.getLogger(RouteFilter.class); @Overr...
14.65
60
0.703072
aeec0f0fbcc91e5bf169f4babae62d69cb96e769
768
package com.orgofarmsgroup.api.v1.users.dto; public class UserDto { private String userId; private String email; private String firstName; private String message; public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; ...
18.731707
48
0.614583
044cdb8d66fd2af036d4b4d3c1ffb4073421fc23
2,447
/** * Copyright (c) 2008, http://www.snakeyaml.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 required by applicabl...
34.464789
104
0.655497
71c184ba7dad2b328eda8481862ae808f59d4b6d
3,179
package math; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.junit.Assert; import org.junit.Rule; import org.junit.rules.ExpectedException; /** * The ArithmeticOperationsTest provides tests for the ArithmeticOperations class * that serve as ...
22.546099
83
0.712174
294cd445826d29c7225892202308767f244c5ca4
2,660
package com.github.kerner1000.etoro.stats.taxonomyservice.persistence; import com.github.kerner1000.etoro.stats.model.Taxonomy; import javax.persistence.*; import java.util.Objects; @Entity @Table(name = "taxonomies") public class TaxonomyEntity implements Taxonomy { @GeneratedValue @Id private int id; ...
20.305344
92
0.576692
d247a836722c0c2f0cfb9b9472ea16b926fa2095
372
import java.util.*; public class Darshan{ public static void main(String args[]){ System.out.println("darshan"); Scanner input = new Scanner(System.in); System.out.println("Enter the First number: "); int num1 = input.nextInt(); System.out.println("Enter the Second number: "); int num2 = input.nextInt(); int sum = num1...
24.8
48
0.704301
46f773ca0df363f1db610161392c9e8836c4465a
3,131
package petkov.nn; /** * Created by sam_petkov 21.05.2021 */ import org.apache.spark.ml.classification.MultilayerPerceptronClassificationModel; import org.apache.spark.ml.classification.MultilayerPerceptronClassifier; import org.apache.spark.ml.evaluation.MulticlassClassificationEvaluator; import org.apache.spark.s...
35.988506
165
0.689556
0580044d325cfa2a65303ec0e4c573e6cbe88942
5,306
package spelling; /** * class to test NearbyWords */ import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; import dictionary.DictionaryLoader; import dictionary.DictionaryTrie; /** * @author UC San Diego MOOC team * @author Belnarto */ public class NearBy...
26.79798
72
0.587637
860d08e161d694bc1434dbe2d23b9884c55365ae
3,008
package com.blamejared.crafttweaker.api.data; import com.blamejared.crafttweaker.impl.data.ByteData; import com.blamejared.crafttweaker.impl.data.DoubleData; import com.blamejared.crafttweaker.impl.data.FloatData; import com.blamejared.crafttweaker.impl.data.IntData; import com.blamejared.crafttweaker.impl.data.LongDa...
26.156522
72
0.610372
f45504f35fe03ff7bf20aadcd5721622d9e92dd0
1,566
package com.chao.peakmusic.activity; import android.os.Build; import android.os.Handler; import android.view.View; import com.chao.peakmusic.R; import com.chao.peakmusic.base.BaseActivity; import com.chao.peakmusic.utils.NavigationManager; /** * 引导页 * Created by Chao on 2017-12-18. */ public class GuideActivity ...
24.092308
75
0.637292
43f2222f0200c13c95249cad208627ab8913af7e
1,173
package org.dhaval.java.pattern; import java.io.ObjectStreamException; /** * Represents singleton pattern class. * * @author dhaval * */ /* Marking it as a final so that it cannot be extended. */ public final class Singleton { /* A private constructor to prevent instantiation of the class from outside. */ ...
23.46
80
0.702472
7c824d43bd366d97156514899da91f6e0b509dda
5,221
package com.eg.android.criminalintent; import android.content.Intent; import android.icu.text.LocaleDisplayNames; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Recycler...
33.254777
123
0.639724
0fcc03d9dc368a404870bd23c3d720b76983a532
5,095
package io.ideploy.deployment.admin.dao.deploy; import io.ideploy.deployment.admin.po.deploy.DeployHistoryPO; import io.ideploy.deployment.admin.vo.stat.LowQualityRank; import io.ideploy.deployment.admin.vo.stat.StatProjectResult; import io.ideploy.deployment.common.Constants; import io.ideploy.deployment.common.enums...
38.308271
150
0.693817
461fc235a6d7ebe88fd800ef3f4c6bd410b1d109
622
package nl.lucasridder.RealIP.util.exception.phase; import nl.lucasridder.RealIP.util.exception.RealIPException; /** * An exception thrown during the initialization phase of TCPShield */ public class InitializationException extends RealIPException { public InitializationException(Throwable throwable) { super("A...
21.448276
76
0.78135
86423c3015367c2ed3eeeee272bc3c7798366084
19,555
package com.estar.utils; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.graphics.Bitmap; import android.os.Environment; import android.text.Editable; import android.text.Html; import android.text.Spannable; import android.text.SpannableString; import and...
30.795276
150
0.565687
2bbac9fe685050bb3d10593870f024760827246f
541
package com.czbix.smbsteamer.dao.model; public class PasswordCredential extends Credential { private final String mUsername; private final String mPassword; public PasswordCredential(String username, String password) { mUsername = username; mPassword = password; } @Override pu...
20.037037
65
0.654344
34f7003949169e5c57e8b22d511d4c5697e0d899
852
package net.franckbenault.linearalgebra.operation; import org.apache.commons.math3.linear.ArrayRealVector; import org.apache.commons.math3.linear.RealVector; public class Distances { public static void main(String[] args) { double[] dataA = {1.0, 1.0, -1.0, 0.0}; RealVector vectorA = new ArrayRealVector(dataA)...
25.818182
55
0.725352
137e8eb3734bf74d447c575bdf4d42bafedd67ac
2,024
package com.viewshine.exportexcel.exceptions; import com.viewshine.exportexcel.entity.vo.ResultVO; import com.viewshine.exportexcel.exceptions.enums.BusinessErrorCode; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.MethodParameter; import org.springframework.validation.FieldEr...
42.166667
112
0.763834
afc6805c4173201ee8932c380e6c574720e8d010
1,258
package de.rieckpil.learning.highperformancejpa; import de.rieckpil.learning.highperformancejpa.entity.Person; import lombok.extern.slf4j.Slf4j; import org.hibernate.Session; import org.hibernate.cache.internal.StandardQueryCache; import org.hibernate.jpa.QueryHints; import org.hibernate.stat.SecondLevelCacheStatistic...
29.952381
110
0.741653
e9a88ff94f3be5c35c8fb89a34426227508dd67c
2,319
package com.socket.pad.paddemo.model; import java.util.ArrayList; import java.util.List; public class RecInfoModel { /* * 压力表的值,以0.1MPA为单位 * */ private int pressureNum; /* * 百分表值 * */ ArrayList<Integer> percentList = new ArrayList<>(); private int percentAverag...
18.552
107
0.53342
33656d88253799b2ca38861cb7af7fc0b6bb7273
2,014
/** * Licensed to JumpMind Inc under one or more contributor * license agreements. See the NOTICE file distributed * with this work for additional information regarding * copyright ownership. JumpMind Inc licenses this file * to you under the GNU General Public License, version 3.0 (GPLv3) * (the "License"); yo...
39.490196
151
0.695631
26f32a64d8b230d899695d9f32c6d42a6c4938cf
2,688
package seedu.recruit.logic.parser; import static seedu.recruit.logic.parser.CliSyntax.PREFIX_ADDRESS; import static seedu.recruit.logic.parser.CliSyntax.PREFIX_AGE; import static seedu.recruit.logic.parser.CliSyntax.PREFIX_AGE_RANGE; import static seedu.recruit.logic.parser.CliSyntax.PREFIX_COMPANY_NAME; import stati...
48.872727
109
0.764137
18857a9d46a137e963dae2bf1575511f18ef7b0a
3,957
package com.t70.vector.client.constant; public enum ErrorCode { // <editor-fold defaultstate="collapsed" desc="Internal Logic Errors"> /* * The first block of 256 values (0x00000000 - 0x000000FF) are reserved for these types of errors. */ /** * There was some sort of unknown err...
24.57764
121
0.590852
6a482c5a0ac75107e5b6fbbeabcd512534ecfd52
1,865
package org.coderdreams.webapp.page; import java.util.Optional; import org.apache.wicket.markup.Markup; import org.apache.wicket.spring.injection.annot.SpringBean; import org.coderdreams.dao.ComplexUserRepository; import org.coderdreams.dom.ComplexUser; import org.coderdreams.dom.ComplexUserDetails; import org.coderd...
30.57377
77
0.673458
09f1cce44e2cb40fb8192053cf401ef3f4bde822
4,424
package uk.gov.justice.digital.delius.service; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.MockitoAnnotations; import uk.gov.justice.digital.delius.jpa.standard.entity.Event; import uk.gov.justice.digital.d...
40.962963
125
0.672016
eff039e4ba59840d95573aecdcb5eb8be3bddf8f
2,001
package jetbrains.mps.baseLanguage.lightweightdsl.actions; /*Generated by MPS */ import jetbrains.mps.openapi.actions.descriptor.NodeFactory; import org.jetbrains.mps.openapi.model.SNode; import org.jetbrains.mps.openapi.model.SModel; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import je...
58.852941
229
0.824588
c34d43355be788607c6828f2b5d18313fdf51c9b
1,455
package top.chenqwwq.leetcode.daily._20201030; /** * 463. 岛屿的周长 * 给定一个包含 0 和 1 的二维网格地图,其中 1 表示陆地 0 表示水域。 * <p> * 网格中的格子水平和垂直方向相连(对角线方向不相连)。整个网格被水完全包围,但其中恰好有一个岛屿(或者说,一个或多个表示陆地的格子相连组成的岛屿)。 * <p> * 岛屿中没有“湖”(“湖” 指水域在岛屿内部且不和岛屿周围的水相连)。格子是边长为 1 的正方形。网格为长方形,且宽度和高度均不超过 100 。计算这个岛屿的周长。 * <p> * <p> * <p> * 示例 : * <p> ...
22.734375
103
0.414433
dbe34c446a117ee211f251e9e5c883eaf570e26d
3,627
/** * Copyright 2011-2017 Asakusa Framework Team. * * 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...
32.675676
119
0.677144
fe546b4bfe708b6eff2951fec17b48346fe9a70f
1,899
package allow.simulator.mobility.data; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import allow.simulator.entity.Person; import allow.simulator.entity.TransportationEntity; import allow.simulator.util.Coordinate; public abstract class Stop { // Id of stop protected final String stopI...
22.341176
77
0.716166
d3c53a8758c07037156f1492939856d5538a5912
3,091
package com.cookpad.prism.merge; import java.io.IOException; import java.time.Clock; import java.time.LocalDate; import java.util.List; import java.util.Optional; import com.cookpad.prism.SchemaBuilder; import com.cookpad.prism.SchemaBuilder.BadColumnsError; import com.cookpad.prism.merge.MergeJobWorker.MergePlan; im...
44.797101
174
0.761566
c6826e83ae271c1a2c9ba2d1e576620a08bee64c
1,036
package org.microprofile.test; import java.nio.ByteBuffer; import java.util.concurrent.ConcurrentLinkedQueue; import org.microprofile.common.buffer.MultiByteBuffer; public class MultiByteBufferTest2 { public static void main(String[] args) { ConcurrentLinkedQueue<ByteBuffer> recycleByteBufferQ...
34.533333
98
0.625483
8dac5319d617e6083f743193afba1a3851725346
1,691
package cola.machine.game.myblocks.world.chunks; import java.util.Map; import cola.machine.game.myblocks.math.Vector3i; import cola.machine.game.myblocks.model.IBlock; import cola.machine.game.myblocks.world.chunks.blockdata.TeraArray; public interface Chunk { /** * 得到chunk的 大块区域坐标 类似时区 * @return ...
21.405063
67
0.672383
7444c724f3c44ec1a21547b6a8ca53bf2eff4915
2,571
// $ANTLR 2.7.7 (20080509): "Vlogpp.g" -> "VlogppLexer.java"$ /* ************************************************************************* ************************************************************************* ** ** ** V2KPARSE ...
42.147541
74
0.433294
e8490e418be756368d9bd57b44ef77f8904c0c5e
13,245
/* * Copyright (c) 2015, Alachisoft. 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 applicable law ...
42.588424
238
0.626803
3f4d90e3612a80c14bd236e5e54b6d7762fa4360
1,415
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import com.revrobotics.CANSparkMax; import com.revrobotics.CANSparkMaxLowLevel.MotorTyp...
27.745098
92
0.719435
3d920c44dcfcd8990640927996053f4f8d8355cf
3,135
/* * Copyright 2017 ~ 2025 the original author or authors. <wanglsir@gmail.com, 983708408@qq.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/...
37.321429
126
0.565869
d7e06cb5ee5d7c28733c91a2f6a3e9cc171a0bd3
1,540
package com.github.jordanpottruff.jgml; import org.junit.Test; import static com.github.jordanpottruff.jgml.MatMNTest.assertMatricesEqual; import static org.junit.jupiter.api.Assertions.assertEquals; public class MatNTest { private static final double ERROR_MARGIN = .001; private static final MatN MAT2_A = ...
31.428571
88
0.617532
11c2d02b3335172a1ba51ea43abc0c1007bbe360
4,575
package io.magentys.cinnamon.webdriver.conditions; import io.magentys.cinnamon.webdriver.actions.synthetic.DomEvent; import io.magentys.cinnamon.webdriver.elements.*; import org.openqa.selenium.WebElement; import static io.magentys.cinnamon.webdriver.conditions.Conditions.not; public final class ElementConditions { ...
36.895161
123
0.740546
afe04e3a6adf82c98b68f3194777e82961fbf766
2,276
package project.sudokugames.model.component; import tests.slidingtiles.R; import project.model.component.BasicTile; public class SudokuTile extends BasicTile { public SudokuTile(int id) { this.id = id; assignBackground(id); } public void setId(int id) { this.id = id; } ...
26.16092
79
0.5
87db38de76a0b525d21f5b4558e30bed6c7a201c
3,944
package com.rainbowcard.client.ui.adapter; import android.content.Context; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.TextUtils; import android.text.style.ForegroundColorSpan; import android.util.Log; import android.view.LayoutInflater; import android.view.V...
30.338462
167
0.630578
aece31afed3467d3cb730ad91402b33ef6fa6eaa
13,253
package org.nearbyshops.enduserappnew.ShopItemByItem.NewCarts; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import androi...
25.784047
123
0.593526
4fd5d3a78082e78fc96be6f485fb0e90359417a8
8,897
package net.sourceforge.ondex.algorithm.graphquery.nodepath; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import net.sourceforge.ondex.algorithm.pathmodel.Path; import net.sourceforge.ondex.core.ONDEXConcept; import net.sourceforge.ondex...
29.363036
113
0.607508
38b92a01e9397df30342a7c2d869bfcacc8a4313
741
package com.houarizegai.springdemo; public class BaseballCoach implements Coach { private FortuneService fortuneService; private String name; public BaseballCoach() { } public BaseballCoach(FortuneService fortuneService) { this.fortuneService = fortuneService; } public void set...
22.454545
66
0.681511
ad6acdf0b451fa14a416eecaea211ff1c384f10b
616
class Solution { public String XXX(String[] strs) { //["flower","flow","flight"] var str1 = strs[0].toCharArray(); //存储结果 var cp = new StringBuilder(); boolean a=false; for (int i = 0; i < str1.length; i++) { for (int j = 1; j < strs.length; j++) { ...
25.666667
76
0.378247
1a70ec828467febf773a8d51d66314e374a256da
2,141
package com.codepath.apps.mysimpletweets.Models; import com.activeandroid.Model; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; @Table(name = "UserNew") public class User extends Model imp...
23.788889
93
0.631014
1bb5be4db262c1fa0a774664581a9d5797cc13af
850
package com.animo.jRest.test; import com.animo.jRest.annotation.FollowRedirects; import com.animo.jRest.annotation.HEADERS; import com.animo.jRest.annotation.PATH; import com.animo.jRest.annotation.REQUEST; import com.animo.jRest.util.APICall; import com.animo.jRest.util.HTTP_METHOD; /** * Created by animo on 23/12/...
26.5625
51
0.727059
91937044e45266976a305d131c3a4527cf713299
666
package com.tvd12.ezyfox.testing.reflect; import static org.testng.Assert.assertEquals; import org.testng.annotations.Test; import com.tvd12.ezyfox.reflect.EzyFields; import com.tvd12.test.base.BaseTest; public class EzyFieldsTest extends BaseTest { @Override public Class<?> getTestClass() { return EzyFields.c...
19.588235
94
0.756757
39b355218a1c361ac399a7a6c2f661970714583f
8,679
/** * Copyright 2012 Tobias Gierke <tobias.gierke@code-sourcery.de> * * 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...
35.863636
168
0.569305
6f0bfb2ac364c90770e6aa545401628b84ac9a39
450
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; class ExerciseTwoTest { ExerciseTwo t2 = new ExerciseTwo(); // The two tests to check the if statement in xMethod. @Test void testxMethod1() { assertEquals("***3", t2.xMethod(3), "Must be ***3"); }...
25
90
0.671111
ae694adff574a6db96c710ad0983e6534931aff7
1,975
package com.zhuli.mail.annotation; import android.content.Context; import android.text.TextUtils; import java.io.IOException; import java.lang.reflect.Field; import java.util.Properties; /** * Copyright (C), 2003-2021, 深圳市图派科技有限公司 * Date: 2021/9/7 * Description: 实现注解绑定Properties字段 * Author: zl */ public class A...
28.214286
74
0.525063
4123392e5aabb43ef92273d96ca693cc5d8fe41e
18,858
/** */ package roadblock.emf.ibl.Ibl; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObj...
32.457831
157
0.678545
f7ef324bb0a1492dc555f9eab1421a3bb63c9cbd
1,806
/* * Copyright 2016 BananaRama. * * 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 writi...
30.610169
102
0.684385
0e7926714d3ae50ad48c7672f70a267b4b58ca72
1,805
package com.dp.bigdata.taurus.web.servlet; // //import java.text.SimpleDateFormat; //import java.util.ArrayList; // //import org.restlet.data.MediaType; //import org.restlet.resource.ClientResource; // //import com.dp.bigdata.taurus.restlet.resource.IAttemptsResource; //import com.dp.bigdata.taurus.restlet.re...
36.1
110
0.660388
964d340a91af50dd20ef4f254de9a54961e35b01
2,760
package eu.thog92.isbrh; import eu.thog92.isbrh.registry.RenderRegistry; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.client.renderer.*; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.resources.IResourceManager; impor...
35.384615
155
0.734058
610b8e8bccd2f916ace08540128ec25cea32ce4d
793
package com.jgrouse.util.jdbc; import com.jgrouse.util.ExceptionAwareRunnable; import com.jgrouse.util.ExceptionAwareSupplier; import java.sql.SQLException; public class JdbcRuntimeException extends RuntimeException { public JdbcRuntimeException(final Throwable cause) { super(cause); } public s...
25.580645
93
0.663304
70cbe721ff15dd080145ca366c0e52f0e2eb11df
3,494
package net.minecraft.client.game; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.settings.Settings; import net.minecraft.crash.CrashReport; import net.minecraft.init.Bootstrap; import org.lwjgl.Sys; import org.lwjgl.opengl.GL11; import org.lwjgl.u...
35.653061
193
0.708643
43de039aa326412b88c2e191615908927cce6d70
981
package ch.jalu.configme.demo; import ch.jalu.configme.SettingsHolder; import ch.jalu.configme.properties.Property; import static ch.jalu.configme.properties.PropertyInitializer.newProperty; /** * Sample file with property fields. You can have multiple classes with property fields * to separate the properties them...
30.65625
87
0.735984
819f74cbe443786fdc32480c84f4e8cab656b59d
2,512
package panels; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.ComponentListener; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Random; import javax.swing.JLabel; impo...
21.288136
104
0.716561
c8cf7cf080ff86b9da958e1f424d3470f8defeb6
1,363
package com.vinsol.spree.utils; /** * Created by vaibhav on 10/30/15. */ import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; public class Blender { public static Bitmap blendDrawable(Bitma...
33.243902
133
0.721203
bb1ed280967acdb52baaa8a54e83f98e9941b088
3,865
package com.vmware.config.section; import com.vmware.config.CalculatedProperty; import com.vmware.config.ConfigurableProperty; import com.vmware.util.StringUtils; import com.vmware.util.scm.Git; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Date; import java.util.TreeMap; public class Git...
39.438776
184
0.683571
23cdd61ac3bca6bf06970dc2ca52fa74000dda7c
3,547
package com.vmware.vim25; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for HostSharedGpuCapabilities complex type. * * <p>The following schema fragment ...
25.156028
104
0.634621
95a65bf1f5ceb5b7d73cdf2dcfc986f9eb7277a3
592
package com.github.jstrainer.filter; public class AlphaFilter implements Filter<Alpha, String> { private static final String LATIN_RANGE = "a-zA-Z"; private static final String ACCENT_RANGE = "À-ú"; private static final String SPACE = "\\s"; @Override public String filter(String value, Alpha annotation) { i...
19.733333
59
0.679054
7faba25177563548363400019455256e0dcdcb16
6,127
/* * 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.398649
99
0.64077
9b9ea4d4c1bd52e7059ca3a3a3731b1bd04ab508
5,280
/* * Copyright 2019 Clsaa Group * * 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...
44.369748
141
0.707386
1912af5d09c4be8c2c909a8b266cc8d84b94592c
327
// Add Digits // Leetcode problem 258 // https://leetcode.com/problems/add-digits/ class Solution { public int addDigits(int num) { int sum = 0; while(num > 0){ sum += num % 10; num /= 10; } if(sum < 10) return sum; return addDigits(sum); ...
20.4375
44
0.489297
5bf89b8437997ef9a0e06b8c1cdd4d36a7c84a41
1,294
/** */ package org.github.mongopadplusplus.util; import java.util.Map; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.xmi.util.XMLProcessor; import org.github.mongopadplusplus.MongoPadPPPackage; /** * This class contains helper ...
25.372549
90
0.685471
c07b24e277ea27bd39ccad68d6699f8e1420a822
4,093
package org.uma.jmetal.runner.multiobjective; //NSGAIII import org.uma.jmetal.algorithm.Algorithm; import org.uma.jmetal.algorithm.multiobjective.ansga.aNSGABuilder; import org.uma.jmetal.operator.CrossoverOperator; import org.uma.jmetal.operator.MutationOperator; import org.uma.jmetal.operator.SelectionOperator; impo...
43.084211
120
0.713169
75414c23321415e688dc721d043e188857c90733
530
/** * Polygons can have an arbitrary number of points, have points that are * editable, points that move with the polygon as the polygon is dragged, and * other critical polygon features.<br><br> * * All classes in this package should extend the <code>GenericPolygon</code> * abstract class and give it an Adjust...
37.857143
80
0.743396
b0d92fee4053494e90ffedcc5953b506f6c5b0ff
9,981
/* * 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 view; import controller.ControllerCliente; import model.Cliente; /** * * @author paulosouza */ public class Teste extends ...
46.859155
173
0.630398
8698f5f97670236c332c50e11e24ea8014a781cf
13,371
package com.catyee.generator.plugin.generator; import com.catyee.generator.config.JoinEntry; import com.catyee.generator.config.JoinTarget; import org.apache.commons.lang3.tuple.Pair; import org.mybatis.generator.api.*; import org.mybatis.generator.api.dom.xml.Attribute; import org.mybatis.generator.api.dom.xml.Docume...
43.271845
129
0.666293
26dbd8408a127eacf9d47e65621d796104654153
6,611
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/LICE...
40.808642
143
0.691423
68fba9573d19c623b61f7fee81694dd591c07671
5,937
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
34.517442
105
0.62759
400afa587d860763ac5c8f0f2434bb505ca4e8a4
5,465
package co.edu.uniandes.csw.grupos.ejb; import co.edu.uniandes.csw.grupos.entities.GrupoDeInteresEntity; import co.edu.uniandes.csw.grupos.entities.EventoEntity; import co.edu.uniandes.csw.grupos.exceptions.BusinessLogicException; import co.edu.uniandes.csw.grupos.persistence.GrupoDeInteresPersistence; import ...
42.695313
141
0.676304
ef7f0937756519a105199a99511b8c42a43c1faf
2,768
/* Copyright 2004 - 2007 Kasper Nielsen <kasper@codehaus.org> Licensed under * the Apache 2.0 License, see http://coconut.codehaus.org/license. */ package org.coconut.management.service.file; import java.io.File; import org.coconut.core.Log; import org.coconut.filter.Filter; import org.coconut.management....
31.454545
100
0.582731
7bb3cffe07e266d5a615a50d6cda3e562d30652c
496
package com.example.demo.lombok.step1; import lombok.AllArgsConstructor; import lombok.NonNull; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor @AllArgsConstructor public class User { @NonNull int id; @NonNull String name; String email; // public User(int id, String name, String email) { // supe...
17.714286
51
0.679435
09a96e1c38e76627f2d9d8164b4e149f04897082
407
package com.cheng.market.member.dao; import com.cheng.market.member.entity.MemberCollectSubjectEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 会员收藏的专题活动 * * @author cheng * @email 1227257035@qq.com * @date 2021-02-03 17:48:07 */ @Mapper public ...
22.611111
89
0.783784
e3b9b2e7b3a1e91e332f92e17a95d57160667b1e
1,361
package io.github.jroy.advent.twentytwenty.daythirteen; import io.github.jroy.advent.common.Utils; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class PartOne { public static void main(String[] args) throws IOException { List<String> input ...
26.686275
106
0.623071
56c54b449ef13772d7e6fa141a151d8a5295c37e
1,553
/* * Copyright 2019 Arcus 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 or agreed to ...
29.301887
109
0.726336
6577ce4dffba6f061a8db26d2a114378dbcb4356
743
package at.jku.cg.sar.gui; import java.awt.BorderLayout; import java.util.List; import javax.swing.JFrame; import at.jku.cg.sar.gui.graphics.LineGraphDataSet; import at.jku.cg.sar.gui.graphics.LineGraphPanel; public class LineGraphViewer { private final JFrame frame; private final LineGraphPanel panel; publi...
21.852941
68
0.748318
93e04019853c84e35673d33cde053cee76adf28c
139
package ru.vyarus.java.generics.resolver.cases.order; /** * @author Vyacheslav Rusakov * @since 17.12.2018 */ public class Base<K> { }
15.444444
53
0.697842
3d145a24b97e01f3a8499a9b2bc0c16d031ddcb1
663
package de.vogella.swt.widgets; import org.eclipse.swt.SWT; import org.eclipse.swt.program.Program; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Link; import org.eclipse.swt.widgets.Shell; public class LinkExample { public static void main(String[] args) { Display display = Disp...
25.5
48
0.671192
1def86bd32331674ff6e74da554de79fb09c78a9
2,669
package it.univaq.mwt.business.model; import static javax.persistence.AccessType.PROPERTY; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.Access; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import ja...
18.280822
79
0.703634
61c7c3e78a3b8e26764461bfebe8d02b6944234c
2,383
/* * The MIT License * Copyright © 2014-2021 Ilkka Seppälä * * 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...
44.962264
100
0.739824
292d341554e979cb377cf74da2e622e7a19ca692
2,058
/* * Copyright 2018-2019 the Justify 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...
28.583333
78
0.584062
5bfa09077cfc3d0d95a97506bd65c6df8fa4c6d9
1,844
package app.jchester.androidpermission; import android.Manifest; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import app.jchester.library.Permission; public class MainActivity extends Ap...
33.527273
121
0.691974
13c311763826f80aab19afc89798c56dd1eed9ba
848
/** * Copyright 2016 Bryan Kelly * * 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 ...
29.241379
78
0.75
bb9868700e6ca4ab577ffbdd27e33eda71bf3842
4,804
package mobi.parchment.widget.adapterview; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnLongClickListener; import android.view.ViewConfiguration; import android.view.ViewGroup; /** * Created by Emir Hasanbegovic */ public class Child...
32.90411
294
0.644463
e02385e1081572a549cdf294341799812b29da52
893
package tech.quantit.northstar.strategy.api.model; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import org.springframework.data.mongodb.core.mapping.Document; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import ...
21.261905
62
0.807391
fae49980c8d82da18679ec9dac9702974f4d5855
2,323
package net.minecraft.client.gui; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.GlStateManager; public class GuiLockIconButton extends GuiButton { private boolean locked; public GuiLockIconButton(int p_i45538_1_, int p_i45538_2_, int p_i45538_3_) { super(p_i45538_1_, p_i45538_...
30.168831
177
0.653465
66a15b283f6653d55baee6bb005ea7e0fcdb8137
762
package com.fxb.socket.multithreading; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; /** * @create by: wangxiyue on 2017/7/14 16:56. * @ClassName: * @userfor: * @description: */ public class MyClient { public s...
26.275862
81
0.654856