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
feb1e3bb3a0d2093ed41df8ac9bb761a8177b4a0
1,267
package com.se4450.data; import java.util.*; import kafka.javaapi.producer.Producer; import kafka.producer.KeyedMessage; import kafka.producer.ProducerConfig; public class TestProducer { public static void main(String[] args) { long events = Long.parseLong(args[0]); Random rnd = new Random(); ...
38.393939
121
0.620363
c39a4fb4a583d0ff997b2d9d4686b1db33c79bc5
4,145
package ballarmada; import java.io.Serializable; import java.lang.Integer; import java.util.Random; import java.util.TreeSet; public class BABall implements Serializable{ public static final int accel = 2; public static final int max_speed = 64; public static final int ball_radious = 32; public stati...
35.732759
82
0.528347
a399e50d09545ab533c7bd1156d9cef1475f6fe4
1,945
package com.pzl.picpal.photoview; import android.app.Activity; import android.content.Intent; import com.pzl.picpal.R; import com.pzl.picpal.Util; import java.util.ArrayList; import java.util.List; /** * Created by zl.peng */ public class Params { private Activity ctx; private int requestCode; pu...
19.846939
103
0.633419
49547747bce47d2c13d389bfac5d68852a42fa54
7,004
package de.swt.inf.model; import de.swt.inf.database.TerminDao; import java.io.File; import java.util.LinkedList; import java.util.List; public class Termin { private int TERMIN_ID; //read only private String name; private Location location; private String start; private String startTime; ...
20.419825
108
0.570959
e4eb4edfdbafe8e2a79da2f05afc0ed961be50a1
1,332
/* * 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 br.com.controller; import br.com.model.Empresa; import br.com.model.EmpresaDAO; import java.io.IOException; import java.io.Pri...
33.3
120
0.757508
8c67a90eb57de02e17b7d3c1cda83d545cc86385
254
enum Chank { IHDR("49484452"), IDAT("49444154"), IEND("49454e44"), tEXt("74455874"), iTXt("69545874"), unknown(""); private String hex; Chank(String hex) { this.hex = hex; } public String getHex() { return hex; } }
12.7
26
0.562992
3c758692440d7211d3e53871b5758a1c63d195b1
2,445
/* * 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 ma...
31.346154
133
0.667076
e9d7d9680121a70bbf5c2ec69bf6fc863465cfa5
604
package com.grydtech.msstack.request.netty; import com.grydtech.msstack.core.annotation.FrameworkComponent; import com.grydtech.msstack.core.component.RequestBroker; import com.grydtech.msstack.request.netty.routing.Router; @SuppressWarnings("unused") @FrameworkComponent public class NettyRequestBroker extends Reques...
30.2
66
0.716887
0a20344e0dd9ea2ee10f845def161c4db7ad29e5
8,170
/*- * -\-\- * bigtable-autoscaler * -- * Copyright (C) 2018 Spotify AB * -- * 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 * * U...
36.636771
99
0.728764
48243187d8a6adc0128c92aef008deb2b7e7ab61
1,939
package sk.r3n.example.api.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.a...
34.625
92
0.726663
24b2ae4b29af65093f3df57b72a27a6e10fc70e4
403
package cucumber.runtime.snippets; import java.util.List; public interface Snippet { String template(); String arguments(List<Class<?>> argumentTypes); /** * Langauges that don't support named capture groups should return null. * @return the start of a named group */ String namedGroup...
20.15
76
0.689826
84558d904997e7ba21f3bd34af22535f63d61e36
1,454
package algorithms.knn; /** * This enum lets user setup KNN for classification or regression in weighted or non-weighted form. * * There are five strategies to chose from: * <ul> * <li>{@link #AVERAGE} used in <em>regression</em>, returns average value of all K neighbors regardless of their distance</li> * * <l...
40.388889
133
0.753095
380d908557f7263738e82a3965b9250ab3f40bb5
2,051
/* * Copyright 2014-2015 ChalkPE * * 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...
33.080645
123
0.661628
55699bbac7c7c1ce225a94e811d6b05368a04c73
7,078
package com.astrazeneca.vardict.modes; import com.astrazeneca.vardict.data.ReferenceResource; import com.astrazeneca.vardict.data.*; import com.astrazeneca.vardict.data.scopedata.AlignedVarsData; import com.astrazeneca.vardict.data.scopedata.InitialData; import com.astrazeneca.vardict.data.scopedata.Scope; import com....
44.2375
124
0.649053
403b0fdf010b9e98c040f31a6e685998c0796756
32,340
package cn.jsprun.dao.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.Transaction; import cn.jspru...
26.92756
112
0.682591
424d4c5c13d005bbee92735cfe88b22e7f424ed5
4,612
package org.net.websocket.autoconfigure; import org.net.websocket.annotation.OnCancel; import org.net.websocket.annotation.OnMessage; import org.net.websocket.annotation.OnSubscribe; import org.net.websocket.annotation.WebSocketListener; import org.net.websocket.core.handler.WebSocketCustomizeEventHandler; import org....
52.409091
154
0.634649
78b4afa5dabe3a00818cd4a2ebfcc83de87e80cf
5,527
package src.datastructures.linear.stacks; /** * This class outlines the basic structure/functionality of a stack that has * been implemented using a singly linked list. This code was modified from: * https://www.geeksforgeeks.org/implement-a-stack-using-singly-linked-list/ */ public class StackLinkedList { /...
31.225989
99
0.450878
7f590030338f54d1341fd1a3571e2bd14fdbad62
202
package net.safedata.microservices.training.order.outbound.port; import net.safedata.microservices.training.marker.port.OutboundPort; public interface PersistenceOutboundPort extends OutboundPort { }
28.857143
68
0.856436
c6591ea3edf3f5fba10db143f877490023503df3
223
package util.javascript; /** * @deprecated meaningless thing */ @FunctionalInterface @Deprecated public interface Function<T> { /** * Gets a result. * * @return a result */ T $(Object... o); }
14.866667
32
0.591928
7eacdb09cdd182dc52fab08f5dd9b945cf04e2ab
4,659
package desk.sample; import java.io.UnsupportedEncodingException; import java.security.SecureRandom; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Base64; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import ...
28.937888
110
0.66452
26cf09c6ed1ad9cf13c26c8f2482d5a92ea3b637
1,898
/* * Copyright 2017 Zhihu 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 ...
37.215686
97
0.703372
00a5c8c88eb63f9be150535be2e945061b846429
6,401
package org.dspace.app.xmlui.aspect.submission.submit; import org.dspace.app.xmlui.aspect.submission.AbstractSubmissionStep; import org.dspace.app.xmlui.wing.element.*; import org.dspace.app.xmlui.wing.WingException; import org.dspace.app.xmlui.wing.Message; import org.dspace.authorize.AuthorizeException; import org.d...
43.842466
153
0.680206
b1f14307c46081f54ee9e5f172d125a5c33a4827
1,151
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQTrackingandAllocationRetrieveInputModelTrackingandAllocati...
34.878788
194
0.842745
3d662435710f2954053de05e95341249d5985f50
2,026
package com.softicar.platform.dom.elements.popup.compositor; import com.softicar.platform.dom.DomCssPseudoClasses; import com.softicar.platform.dom.elements.popup.DomPopup; import com.softicar.platform.dom.elements.popup.DomPopupFrame; import java.util.Collection; import java.util.List; import java.util.Optional; /**...
26.657895
92
0.703356
63d23e9818ea51cadb43f410a1bc9ac99ebfcd59
7,322
/** * Copyright (C) 2014-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
39.578378
127
0.673723
aeeab292127c077fa9ca24b569df9629b76ea732
914
/* * FHIRWork (c) * * This work is licensed under the Creative Commons Attribution 4.0 * International License. To view a copy of this license, visit * * http://creativecommons.org/licenses/by/4.0/ */ package org.ucl.fhirwork.integration.empi; import org.ucl.fhirwork.integration.common.http.RestEndpoint; ...
28.5625
98
0.715536
f306ce7ae24f1dbaec25be728c34a48bc655c487
1,893
package jalf.type; import static org.junit.Assert.*; import static jalf.fixtures.SuppliersAndParts.*; import java.util.*; import jalf.*; import org.junit.Test; public class TestTupleType { TupleType type = TupleType.dress(SID, String.class); @Test public void testContains() { assertTrue(type.co...
33.210526
92
0.653988
fbb7eb8076a960461e8627aff16ad3289cc41805
706
package com.plume.code.core.generator; import com.plume.code.core.common.helper.StringHelper; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; @Component @Scope("prototype") class VOGeneratorBehavior extends JavaGeneratorBehavior { @Override protected Stri...
25.214286
122
0.730878
dc00b11e1b46bb2b33030cf98ed832f9ca3e0b04
34,986
/* Copyright 2018 Telstra Open Source * * 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 la...
46.71028
119
0.689562
d2a79d6ddbf0803358e946d10e9db3b453d712d0
2,293
package io.github.ititus.aoc.aoc20.day01; import io.github.ititus.aoc.common.Aoc; import io.github.ititus.aoc.common.AocInput; import io.github.ititus.aoc.common.AocSolution; import it.unimi.dsi.fastutil.ints.IntList; @Aoc(year = 2020, day = 1) public class Day01 implements AocSolution { private IntList numbers;...
25.477778
81
0.464457
ad420ae99ec836d1c641a87307edd228b84bd5ed
92
/** Provides criteria query statements. */ package org.seasar.doma.jdbc.criteria.statement;
30.666667
48
0.782609
0782231280313486a7de9aafce66ad306f932c5b
561
package com.waibao.project.bean; public class ProjectAdmin { private Integer id; private String number; private String username; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getNumber() { return number; ...
17
46
0.59893
39365225e0e6361eabd124f7d4235b2939f1c5a8
1,610
/* * 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 week6; import java.util.Scanner; /** * * @author 14124 */ public class MathStuff { public static void main...
32.857143
98
0.509317
998d4d128a2004f53a5ccf4fb651f3a2c595e03a
4,963
package com.example.satvaras.locationproject; import android.content.Context; import android.media.MediaPlayer; public class SFXManager implements MediaPlayer.OnCompletionListener, MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener { private MediaPlayer timer; private MediaPlayer keyboardClose;...
29.718563
130
0.608301
a0bc162f5b0fdc25199df72eee90965a7b42f072
5,464
package com.skeqi.mes.service.dzb; import com.alibaba.fastjson.JSONObject; import com.skeqi.mes.mapper.dzb.OrgStructureDao; import com.skeqi.mes.pojo.chenj.srm.req.CWmsDepartmentTReq; import com.skeqi.mes.pojo.chenj.srm.rsp.CWmsDepartmentTRsp; import com.skeqi.mes.util.Rjson; import org.springframework.beans.factory.a...
33.317073
101
0.682467
0726aec048ad72649b33eba0d01a10c1b9c91da4
191
package androidsamples.androidw.com.androidsamples.listener; /** * Created by Tae-hwan on 4/26/16. */ public interface OnRecyclerItemClickListener { void onItemClick(int position); }
19.1
60
0.759162
0b50a206f5fad08c60dd0fe4252ca75be3f48ca7
1,018
// Copyright (c) 2021, Oracle and/or its affiliates. // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. package com.oracle.wls.exporter.sidecar; import java.util.concurrent.TimeUnit; import com.oracle.wls.exporter.WebClientFactoryImpl; import io.helidon.common.L...
35.103448
108
0.701375
59feae08924e1525637048abad0c867b7af61c28
4,680
package com.maxsix.bingo.view.activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.google.gson.Gson; import com.maxsix.bingo.R; import com.maxsix.bingo.config.AppManager; import java.text.DecimalFormat; import java.util.co...
29.620253
128
0.571795
e24d17a272fca9527f8afd93452cbb0cba57a60c
3,730
package com.haitao.adapter; import android.content.Context; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.haitao.R; import com.haitao.model.PostObject; import com.haitao.utils.ImageLoade...
41.444444
120
0.613673
d0d6ffed7e006a2e0ff15c293610e0eb7a4c1739
366
package java_programs.for_loop; import java.util.*; class ReverseDigits { public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.print("Enter no. : "); int n=sc.nextInt(),i,r=0; for(i=n;i!=0;i=i/10) r=r*10+i%10; System.out.prin...
22.875
42
0.54918
012843e18b3a7e02eea12100f70f84f8f277db39
621
package com.sinothk.helper.image.compress.tiny.callable; import com.sinothk.helper.image.compress.tiny.Tiny; import com.sinothk.helper.image.compress.tiny.common.BatchCompressResult; import java.util.concurrent.Callable; /** * Created by zhengxiaoyong on 2017/3/31. */ abstract class BaseFileBatchCompressCallable ...
25.875
89
0.785829
14870f37b9c3eafae8cf482244acd9563d96c9d5
624
package com.example.model; import java.util.List; public class HolidayApiResponse { private String status; private List<Holiday> holidays; private String error; public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } ...
17.828571
53
0.621795
ef3b98d09d79b9644e5346f7cedbd18d30af2a14
342
package com.evolveum.midpoint.ninja.impl; /** * Created by Viliam Repan (lazyman). */ public class ConfigurationException extends NinjaException { public ConfigurationException(String message) { super(message); } public ConfigurationException(String message, Throwable cause) { super(mes...
21.375
68
0.704678
2212b3a5ae30b661674d80ac26552b4ae76f0bb9
2,378
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
34.463768
98
0.761144
94a9ed2cbdbf58f9eefc0447664fc9c15f49fe8a
1,992
/* * Copyright 2013-2020 consulo.io * * 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.731343
97
0.788655
5affc9c286522658e588f8bf06dd2788d060bd5a
7,349
package com.ryoma.coolwanandroid.view.system; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import com.ryoma.coolwanandroid.R; import com.ryoma.coolwanandroid.adapter...
33.404545
116
0.648796
e7b2ed7570cf3b4b158af6b596caab761db9cb2c
1,260
package com.sch.rfview.manager; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayoutManager; import android.util.AttributeSet; import com.sch.rfview.listener.OverScrollListener; /** * Created by shichaohui on 2015/8/3 0003. * <br/> * 增...
27.391304
117
0.738095
96996bfb4ae23d3b5d0275798523f60aa706abe4
499
package com.logictech.api.service.impl; import com.logictech.api.service.HelloRestfulService; import com.logictech.framework.okhttp.OkHttpSender; import org.springframework.stereotype.Service; /** * @author JG.Hannibal * @since 2018/7/5 14:08 */ @Service public class HelloRestfulServiceImpl implements HelloRestful...
20.791667
69
0.691383
2afb731d4057b0cb498875f27a82d30eceecc2d6
294
package com.yty.pattern.proxy; public class RealSubject implements Subject { @Override public void operate() { System.out.println("--RealSubject operate "); } @Override public void doNotThing() { System.out.println("--RealSubject doNotThing "); } }
19.6
56
0.639456
30d828207e985f062d86c6f06843f9be7b817bd8
5,285
/* * The MIT License * * Copyright 2018 Charly Lamothe. * * 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,...
35
96
0.687606
7214dcd96aed8edfe6485fe647573b3b69cc6bf2
104
package com.sqide.debugger.connection.events; class DebuggerEventFormatException extends Exception { }
20.8
54
0.846154
7d9bc42f060b48431214b2b5f4e8cf3d88391775
1,144
package com.x.processplatform.assemble.surface.jaxrs.read; import com.x.base.core.container.EntityManagerContainer; import com.x.base.core.container.factory.EntityManagerContainerFactory; import com.x.base.core.http.ActionResult; import com.x.base.core.http.EffectivePerson; import com.x.processplatform.assemble.surfac...
38.133333
97
0.777972
6f1848c935b38979d4f5f48215342dd8b525a5e2
5,209
package org.xelasov.ejdbc.base; import java.math.BigDecimal; import java.sql.Array; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Types; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZonedDateTime; ...
29.264045
98
0.691112
9608154cd8bc9dc67928d371677bf463e44d3df6
18,297
/** * Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com> * * 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"), to deal in the Software without restrictio...
43.35782
151
0.581407
0ef1cdba2a38e35f719dd93d7e421efb4fefa926
9,680
/* * Copyright 2021 Jeremy KUHN * * 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...
37.088123
199
0.765496
c41e227112fab6e76788ca2e5302d21407fe922b
7,510
package sandeepjoshi1910.arxiv_explore.Utilities; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import java.security.PrivateKey; import java....
33.828829
123
0.641811
20092cedc3a6f9be76be59c274e3158bbf38bf03
468
package DB; import java.io.Serializable; /** * Created by Anil on 19/03/2018 */ public class Division implements Serializable { private String name; private CSClass csClass; public String getName() { return name; } public void setName(String name) { this.name = name; } ...
16.714286
47
0.621795
24f6611f70b58fead29a0f0028ca4c3095241849
21,940
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.google.android.gms.gcm; public final class R { public static final class attr { public static final int adSize = 0x7f010027...
65.103858
246
0.83382
0445269719774ecceeb23107b3371ccd42ad5fbf
644
package net.skybert.talk; import java.nio.charset.Charset; /** * UsingSystemOut * * @author Torstein Krause Johansen * @version $Revision$ $Date$ */ public class UsingSystemOut { public static void main(String[] args) { Charset defaultCharset = Charset.defaultCharset(); System.out.println("Sys...
29.272727
107
0.593168
94d632e093c10b8e63b5646119dada93aafa2384
9,039
package com.dt.core.tool.util.support; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.URL; import java.net.URLConnection; import java.util.Enumeration; import java.util.List; import java.util.Map; import javax.servlet.http.Http...
28.335423
105
0.667884
601d7451e4cf6964e2830235da074ac5b470534f
1,617
/************************************************************************/ /* COPYRIGHT Institut für Rundfunktechnik 2016 */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use thi...
39.439024
127
0.599876
8dd398f78d248c0a95a62118f2d0df21b05db656
80
package org.hl7.fhir.dstu3.utils; public interface IContextUtilities { }
13.333333
37
0.7375
af4554a9903313ea79831bcced09002e61d8856c
3,476
package com.points.lcp.samples.sso.utils; import java.net.URL; import java.util.Date; import java.util.Random; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.httpclient.HttpC...
38.197802
114
0.729862
b13b60da93abfb17a5c1b91718904c8b634b1c98
2,489
package com.bumptech.glide.supportapp.github._861_preload_loop; import java.util.*; import android.os.*; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.*; import android.view.View.OnClickListener; import android.view.ViewGroup.*; import android.widget.ImageView...
27.655556
106
0.713941
63a483882f4dd535c78cb5863e79b734e7d87b06
152
public class Main { public static void main(String[] args) { // write test code here // Person pekka = new Person("Pekka", 15, 2, 1993); } }
25.333333
55
0.618421
13e680b456194bb2ac61080ad6b6fa1b5a74d66b
976
// package com.mrbengonio.first.init; // public class ModAchievements { // public static final Achievement achievementLaunch = new // Achievement("achievement.launch", "launch_achievement", 0, // 0, ModItems.kreuthilingot, (Achievement) null); // // public static final Achievement achievementMiracle = new // Achievem...
36.148148
77
0.76332
c2e0bab526126baf64256df54f4910fb6ec9041e
477
package es.ibil.edinor.api.installationstudies; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; @EnableEurekaClient @SpringBootApplication public class EdinorInstallationStudiesS...
29.8125
81
0.855346
179c3125f2bf50011e063bb02679897c109932e8
1,073
package cn.edu.nju.software.sda.jsherp.selenium.depot.DepotDelivery; import cn.edu.nju.software.sda.jsherp.selenium.base.BaseInfo; import cn.edu.nju.software.sda.jsherp.selenium.base.BaseOperate; import org.openqa.selenium.By; public class DepotDeliveryAdd extends BaseOperate { public DepotDeliveryAdd() { ...
44.708333
118
0.670084
45cb1669bdfd4de7ab6cad344b618ae046d22e7e
3,094
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
31.571429
70
0.695217
e6840aa6012c635215059db24332ef2d09b8d3ee
2,028
package org.ms2ms.mzjava; import com.google.common.collect.Lists; import org.expasy.mzjava.core.ms.spectrum.TimeUnit; import org.expasy.mzjava.proteomics.io.ms.ident.ProteinPilotPsmReader; import org.expasy.mzjava.proteomics.mol.modification.ModificationResolver; import org.expasy.mzjava.proteomics.ms.ident.Spec...
34.965517
90
0.713018
a7e604cc1478e1dbb3f3a1c75d4e79b12776513f
786
package net.dvt32.javabrains.dao; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; @Repository public class HibernateDaoImpl { @Autowired private SessionFactory sessionF...
27.103448
100
0.751908
4f0865986e904ef68047d4afe36f37c261eba99d
7,809
/* * Copyright 2017 NAVER Corp. * * 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 ...
35.657534
209
0.682802
811633683d6fc9482c0972082360d53a169c1d18
1,617
package com.example.salonapi.controller; import com.example.salonapi.entity.SalonServiceDetail; import com.example.salonapi.entity.Slot; import com.example.salonapi.entity.SlotStatus; import com.example.salonapi.repository.SalonServiceDetailRepository; import com.example.salonapi.repository.SlotRepository; import io.s...
40.425
144
0.777984
6992f85f407f5be73401cdbf9f52397c7fd8f519
2,351
package je.techtribes.domain; import je.techtribes.util.StringUtils; import java.net.URL; import java.util.Date; public class Talk extends ContentItem { private int id; private String description; private TalkType type; private String eventName; private String city; private String country; ...
18.808
90
0.599319
2e98367d157fda8010f26f2cb318cd95b8f5a040
297
package com.bankmemory; import com.bankmemory.data.BankWorldType; import javax.swing.ImageIcon; import lombok.Value; @Value public class BanksListEntry { long saveId; ImageIcon icon; BankWorldType worldType; String saveName; String accountDisplayName; String dateTime; }
18.5625
41
0.757576
edb729fe0ceab780de510d2662c370eaad8937cd
3,583
package com.teufelsturm.tt_downloader3; import android.os.AsyncTask; import android.util.Log; import androidx.fragment.app.FragmentActivity; import com.teufelsturm.tt_downloader3.searches.MyPagerFragment; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.InputS...
33.801887
101
0.600893
029e6f11940867b02c5df19ff9fe291737172f88
19,698
/** * Scaffolding file used to store all the setups needed to run * tests automatically generated by EvoSuite * Tue Nov 12 14:47:57 GMT 2019 */ package org.vafer.jdeb.producers; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.Af...
59.153153
183
0.767997
ab1490761c17935abd3d39186b8a1120cb9c4ae6
3,575
package org.caotc.unit4j.core.unit; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import java.util.function.Function; import java.util.stream.Stream; import lombok.N...
30.818966
103
0.737902
05f59dcb16a7364da05ec638214372522dc1cf09
2,329
package org.apereo.openlrs.model.xapi; import javax.validation.constraints.NotNull; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldIndex; import org.springframework.data.elasticsearch.annotations.FieldType; import com.fasterxml.jackson....
21.172727
69
0.691713
886b73d5ce6aa730b02f4de07dcbb6d258234a02
1,554
/* * Copyright 2009 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...
37.902439
131
0.758044
9d0dcd06972ed8057a81adf820a797f7ea372cf0
521
public class Ameixa extends Fruta { private String cor; public Ameixa() { this.cor = cor; } public String getCor() { return this.cor; } public void setCor(String corAmeixa) { this.cor = corAmeixa; } @Override public String ...
17.965517
42
0.477927
1a565f1900f752e50c2a4a12a64da82341e08f29
2,457
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.59375
80
0.73138
b8f67f50b1d6dbc6db25fa3662ece76fbf25d0bb
474
package com.orangeforms.uaaadmin; import org.springframework.boot.SpringApplication; import org.springframework.cloud.client.SpringCloudApplication; import org.springframework.context.annotation.ComponentScan; /** * UAA管理服务启动类。 * * @author Jerry * @date 2020-08-08 */ @SpringCloudApplication @ComponentScan("com.o...
22.571429
63
0.791139
9198c796235216679066d7e4187dbb665f0409d9
4,742
package ay2021s1_cs2103_w16_3.finesse.logic.commands.bookmarkcommands; import static ay2021s1_cs2103_w16_3.finesse.testutil.Assert.assertThrows; import static java.util.Objects.requireNonNull; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; impor...
45.596154
120
0.776044
54fcc10755f08964982e70ebcf75778c8d4306a1
7,064
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.gui.app.core.lookup; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.chile.core.model.MetaProperty; import com.haulmon...
33.320755
126
0.632078
9a783b1b8066dbf3cb4afe7913ff56496e16f9e1
3,857
/** * Copyright 2018 eussence.com and contributors * 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 ...
26.060811
88
0.681618
b46c57e148d5cb6d7ba70a66cbe7c861e053d529
11,290
package gov.usgs.volcanoes.vdx.data.rsam; import gov.usgs.volcanoes.core.configfile.ConfigFile; import gov.usgs.volcanoes.core.data.RSAMData; import gov.usgs.volcanoes.core.math.DownsamplingType; import gov.usgs.volcanoes.core.util.UtilException; import gov.usgs.volcanoes.vdx.data.Channel; import gov.usgs.volca...
29.632546
101
0.608769
e0eb45fb7ecdd9df3c30cb7bd8eca4f3de167824
3,572
/******************************************************************************* * 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...
36.44898
98
0.671333
2e68114382f8c5549a19e4b82126993900cdb74f
302
package com.joymain.jecs.mi.dao; import java.util.List; import com.joymain.jecs.dao.Dao; import com.joymain.jecs.util.data.CommonRecord; import com.joymain.jecs.util.data.Pager; public interface JmiRefStateLogDao extends Dao { List getJmiRefStateLogsByCrm(CommonRecord crm, Pager pager); }
17.764706
64
0.784768
2ad57051a495888a499726910405984f60ab022b
487
package br.com.objectos.css.keyword; import br.com.objectos.code.annotations.Generated; import br.com.objectos.css.type.BackgroundAttachmentValue; import br.com.objectos.css.type.OverflowValue; @Generated("br.com.objectos.css.boot.CssBoot") public final class ScrollKeyword extends StandardKeyword implements Backgroun...
30.4375
110
0.792608
065a736a9bdd7002c0ef715f135def5f48804b2c
524
package org.jim.redis.pubsub; import lombok.extern.slf4j.Slf4j; import org.springframework.data.redis.connection.Message; import org.springframework.data.redis.connection.MessageListener; /** * 订阅者 * * @author JSJ */ @Slf4j public class RedisTxidListener implements MessageListener { public static final Strin...
21.833333
66
0.71374
ba3f138ad193342d9a96b8b2afef874c242fe641
4,468
/* * 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 not use...
38.188034
120
0.737019
a6e123ebd44ea5059b0bb1cef8822474f5f2a6c6
8,047
package com.rpc.config; import com.rpc.common.Constants; import com.rpc.common.URL; import com.rpc.common.util.CollectionUtils; import com.rpc.common.util.StringUtils; import com.rpc.config.invoker.DelegateProviderMetaDataInvoker; import com.rpc.registry.integration.RegistryProtocol; import com.rpc.rpc.Exporter; impor...
30.71374
188
0.614639
c6b336507d33402e691c06639a50a0431ee28ff1
2,963
package uk.gov.ida.verifylocalmatchingserviceexample.builders; import uk.gov.ida.verifylocalmatchingserviceexample.contracts.AddressDto; import uk.gov.ida.verifylocalmatchingserviceexample.contracts.GenderDto; import uk.gov.ida.verifylocalmatchingserviceexample.contracts.MatchingAttributesDto; import uk.gov.ida.verify...
41.152778
137
0.776578
833f54a85683f71af849ba21efef15c1b50b90bf
5,356
package domain.use_cases.user_manager; import domain.gateway.RoleInterface; import domain.gateway.ProfileInterface; import domain.gateway.UserAddressInterface; import domain.gateway.UserInterface; import domain.requests.*; import domain.use_cases.user_manager.address.AddAddress; import domain.use_cases.user_manager.ad...
33.685535
160
0.756535
d73b2d111a007c596321ecea07b6b22db0bb2763
3,127
/** * Black Duck Hub Plug-In for TeamCity Server * * Copyright (C) 2017 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional informati...
35.942529
119
0.746083
fcb95da41e6cffa0ee97e920c8b78955922bdd00
1,092
package com.example.trail; import android.content.Context; import android.content.res.Resources; import com.google.android.gms.location.GeofenceStatusCodes; /** * Created by Anjali on 01-10-2015. */ public class GeofenceErrorMessages { /** * Prevents instantiation. */ private GeofenceErrorMessag...
31.2
89
0.668498
2ffc2e09b5ddd0a69f255232ee8797855401ca2e
12,273
/* * Copyright (c) 2017, 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....
50.093878
113
0.744154
522fa6c7c93afa76fbaf7c18151cab87c54841f5
5,620
/* * Copyright 2012 JBoss 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 ...
42.255639
164
0.66032
854dfd2cee761906bfa93ca9dbea81e613c2c22b
1,174
package it.smartcommunitylab.cartella.asl.manager; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.google.common.collect.Maps; import it.smartcommunitylab.cartella.asl.model.audit.AuditEntry; import it.smartcommunitylab...
25.521739
68
0.767462