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
d9e956b6d6ecdb1d47bd6a366f6adb9db8b8d458
1,651
package dice.game; import java.util.ArrayList; import java.util.Collections; public class GameRound { public static final Integer DEFAULT_WIN_SCORE = 7; private Dice dice = new Dice(); private ArrayList<Player> players; private Player winner ; public GameRound(ArrayList<Player> players) { ...
27.516667
159
0.597214
8e3df47d6595b02061980f71156fddb2c9c12d1b
3,286
package org.zstack.resourceconfig; import org.zstack.header.cluster.ClusterVO; import org.zstack.header.host.HostVO; import org.zstack.header.message.APIReply; import org.zstack.header.rest.RestResponse; import org.zstack.header.zone.Zone; import org.zstack.header.zone.ZoneVO; import java.util.Arrays; import java.uti...
34.229167
141
0.695679
bc3129b74800bf72b582b458aaacb2a855859801
366
package com.invokegs.dbcoursework.service; import org.springframework.mail.SimpleMailMessage; import org.springframework.scheduling.annotation.Async; import java.util.concurrent.CompletableFuture; public interface EmailSenderService { @Async CompletableFuture<Void> sendEmailAsync(SimpleMailMessage email); ...
26.142857
68
0.825137
764d842a06aead8201ec2fe052607e9cc033222a
268
package io.codejournal.codingbat.logic1; public class SpecialEleven { private static final int ELEVEN = 11; public boolean specialEleven(final int n) { final int remainder = n % ELEVEN; return (remainder == 0) || (remainder == 1); } }
19.142857
52
0.645522
42a9e74d96c2f02216bdcb5bf4d4d23b6452d85b
465
package com.example.starter.verticles; import io.vertx.core.AbstractVerticle; import io.vertx.core.Promise; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class VerticleB extends AbstractVerticle { private static final Logger LOGGER = LoggerFactory.getLogger(VerticleB.class); @Override public ...
27.352941
80
0.769892
13cf8bd2a7e7a4dda16001b5fab4c25e90e03bb7
882
package com.example.example2.security; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.Authenticati...
33.923077
99
0.821995
bd3a9f7b2bd1f2adc0fabca7be56f6938feefe57
9,267
/*_############################################################################ _## _## SNMP4J 2 - StateReference.java _## _## Copyright (C) 2003-2013 Frank Fock and Jochen Katz (SNMP4J.org) _## _## Licensed under the Apache License, Version 2.0 (the "License"); _## you may not use this file ex...
31.955172
104
0.66084
ee21c11a17755f39d3ca8f0eee192ed04d9abaac
6,354
package storage; import java.util.Optional; import worker.WoodLog; import worker.NameUtil; import static meta.Name.*; import java.io.*; import java.util.*; import java.util.function.Consumer; import com.github.javaparser.StaticJavaParser; import com.github.javaparser.ast.*; import com.github.javaparser.ast.body.*; imp...
35.3
124
0.579005
06d0f3c3fc334dd1501b72cc59c51f1fd6bfc81d
431
package net.zzh.dbrest.extend; import java.lang.reflect.Method; import java.util.Map; /** * @Description: 前置请求处理接口类 * @author Zeo Zheng * @date 2022/1/23 16:58 * @version 1.0 */ public interface RequestHandler { /** * @param requestParams 请求的参数 * @param annotation 接口注解 * @param method 调用的方法 ...
19.590909
100
0.677494
f7d9b0e5e49dc3873d3984e4084432d97bf60a17
90,223
/* * 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...
43.564944
112
0.630859
a008b377a58b56dd402069b1effdce42afb7d76a
736
package com.example.app.ourapplication.rest.model.request; import com.example.app.ourapplication.rest.model.Model; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; /** * Created by sarumugam on 15/01/17. */ public class SignInReqModel extends Model implements Serializable { @...
22.30303
67
0.697011
ff396084047e0fdaf8d01593a375f4dd22fb5aa7
5,121
package com.sap.s4hana.sample.print.service; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoInteractions; import java.net.URI; import java.util.f...
33.253247
128
0.714704
d3e10ef68633293093fae5accca8e3ec9e323dc2
8,532
import javax.swing.*; import javax.swing.event.*; import java.awt.event.*; import java.awt.*; /** * Base class for Graphical User Interface applications. * Derived from the GUIManager class from the Squint library by Tom Murtagh, * Williams College. * * @author Barry Lawson, Lewis Barnett */ public abstract cla...
40.056338
108
0.548523
bdc8264ecc7bd4e44a6f91bf48347019f7efe416
978
package com.yangzg.service.impl; import bootstrap.Application; import com.yangzg.service.CalculateService; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import javax.annotati...
24.45
71
0.723926
8998553c03b737083de22aff8d9357592fb19bfa
1,020
package coding.practice; public class LongestPalindromicSubstring_5 { public static void main(String[] args) { String str = "wesggssoidipofhwy"; System.out.println(run(str)); } private static Integer run(String str) { if (str == null || str.isEmpty()) { return null; ...
22.666667
84
0.47451
f8fab6be857936658cf13d70294dd8c9b43eaf80
1,229
package sch.frog.calculator.micro.exec.impl.base; import sch.frog.calculator.compile.semantic.IExecuteContext; import sch.frog.calculator.compile.semantic.exec.AbstractDyadicExecutor; import sch.frog.calculator.compile.semantic.exec.exception.NonsupportOperateException; import sch.frog.calculator.compile.semantic.resu...
36.147059
104
0.716029
3a6a7f14445011ccfa2f52a160e5f8463f90299b
3,218
/* * Copyright © 2010, 2011, 2012 Talis Systems Ltd. * * 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 ...
37.858824
163
0.724984
88097df66ebbb5d31ed0e91aca8dd0c584e38c98
1,010
/* * This program uses total distance of the trip, * the mpg of vehicle, and the current price of * gas to calculate the total cost of the trip. */ package travelcosts; import java.util.Scanner; /** * * @author Peggy Fisher */ public class TravelCosts { public static void main(String[] args) { // do...
29.705882
72
0.620792
a95ad15e298960680911a7b04e03ba9b09cc6871
76
package test; public interface ResourceTest { String getResourceName(); }
12.666667
31
0.776316
f071823b09d03f887e5b0bfa598cf63b52bf3eac
456
package com.agiraud.charon.core.dao; import java.util.Collection; import org.springframework.security.oauth2.provider.approval.Approval; public interface ApprovalService { void create(final Approval approval); void delete(final Approval approval); void delete(Collection<Approval> approvals); Coll...
25.333333
78
0.782895
63093b3f5c1cc9f101f7f9669374356736b50c53
3,529
/******************************************************************************* * Copyright (c) 2013 Mrbrutal. All rights reserved. * * @name Traincraft * @author Mrbrutal ******************************************************************************/ package src.train.common.blocks; import static net.minecraf...
25.759124
135
0.673279
d86edea25fa12a54e868e010f06bd209b7bbbdb3
1,152
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
31.135135
75
0.700521
ef716d34ba913f26cbf1059dc4eafde409ea3bc4
917
package com.example.cinema.vo; import com.example.cinema.po.MovieScheduleTime; /** * @author fjj * @date 2019/4/16 2:48 PM */ public class MovieScheduleTimeVO { private Integer movieId; /** * 排片次数 */ private Integer time; private String name; public MovieScheduleTimeVO(MovieScheduleT...
19.510638
68
0.619411
fba6d353dc868c07ef07aa74251ce2f7af98e529
9,236
package com.ctrip.xpipe.redis.console.service.impl; import com.ctrip.xpipe.cluster.ClusterType; import com.ctrip.xpipe.endpoint.HostPort; import com.ctrip.xpipe.exception.XpipeRuntimeException; import com.ctrip.xpipe.redis.console.controller.api.RetMessage; import com.ctrip.xpipe.redis.console.model.*; import com.ctri...
39.470085
154
0.700411
622eab613cebfc6bad8c1e3747c54cd5ef13ca8c
1,256
package com.service.tradeapi; import java.util.List; import java.util.Map; import java.util.function.Consumer; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.http.Htt...
33.052632
79
0.83121
709fc77fbe673dabb4a119647117e1d5af794ba5
199
package com.example.testng; import org.testng.SkipException; public class Skips { @org.testng.annotations.Test() public void skip() { throw new SkipException("skipping"); } }
16.583333
41
0.673367
2ef3a771b9d77cbf3e876bf4815227cd6c81a5c0
986
package com.algolia.search; import com.algolia.search.objects.Query; import java.util.Iterator; import java.util.stream.Stream; import java.util.stream.StreamSupport; public class IndexIterable<T> implements Iterable<T> { private final IndexIterator<T> iterator; IndexIterable(APIClient apiClient, String indexN...
22.409091
100
0.693712
1ac8a9141f5c7674fc24297cf5d27c23263349f9
553
package com.isaev.ee.frontcontroller.scripts; import java.util.LinkedList; public class TransactionScriptInvoker { private LinkedList<TransactionScriptCommand> scriptCommands = new LinkedList<>(); public TransactionScriptInvoker addCommand(TransactionScriptCommand command) { this.scriptCommands.add(...
25.136364
85
0.690778
28247b55276a11b3bab6a476af8594ff245ff522
2,200
/* * Copyright 2013 serso aka se.solovyev * * 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 a...
27.5
118
0.692273
bce786700f92562bc50df83c56462eb8c95dedc3
8,660
package ca.uhn.fhir.jpa.mdm.svc; import ca.uhn.fhir.jpa.entity.MdmLink; import ca.uhn.fhir.jpa.mdm.BaseMdmR4Test; import ca.uhn.fhir.mdm.api.MdmConstants; import ca.uhn.fhir.mdm.model.CanonicalEID; import ca.uhn.fhir.mdm.util.EIDHelper; import org.hl7.fhir.instance.model.api.IAnyResource; import org.hl7.fhir.r4.model....
41.634615
134
0.798614
eb1d69c33c6e92675298106d159768ae8ef0dddf
687
package seconwk; import java.util.Scanner; public class p202 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); p02 d = new p02("D", 260, 87); p02 e = new p02("E", 1213, 46); System.out.println(d.printCharacter()); System.out.println(e.printCharacter()); } } /* p02 a =...
22.16129
41
0.62591
62f8b79d3923f68aac830e24a88765059360256e
14,177
package com.vincent.videocompressor; import android.annotation.TargetApi; import android.media.MediaCodec; import android.media.MediaFormat; import com.coremedia.iso.BoxParser; import com.coremedia.iso.IsoFile; import com.coremedia.iso.IsoTypeWriter; import com.coremedia.iso.boxes.Box; import com.coremedia.iso.boxes....
32.29385
140
0.607533
80c3345c2bfd746925a67e4151dc7fdfe051bf77
5,929
package us.kbase.workspace.kbase; import java.io.IOException; import java.net.URL; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import us.kbase.abstracthandle.AbstractHandleClient; import us.kbase.auth.AuthToken; im...
33.497175
105
0.725249
763d020c1466c149b8f92b56bc6a1b8704f7c73b
435
package romever.scan.oasisscan.vo.chain.runtime.emerald; import lombok.Data; import romever.scan.oasisscan.vo.chain.runtime.AbstractRuntimeTransaction; /** * evm transaction */ @Data public class EmeraldTransaction extends AbstractRuntimeTransaction { private String from; private String to; private long...
22.894737
74
0.76092
51cae13c15fcbb789f17e93d16527804ce1ad8f4
1,668
/** * Copyright (C) 2011 Nadim Benabdenbi <nadim.benabdenbi@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...
16.514851
78
0.654676
e4d6363df47d138f28e29542c1c19d114fe53908
2,500
/* * Copyright 2016-present 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...
31.64557
87
0.698
40f5428742e5eaddce23f9f708c19a03cdad9606
1,536
package net.attribute.velociraptor.enchant; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentTarget; import net.minecraft.entity.Entity; import net.minecraft.entity.EquipmentSlot; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.effect.StatusEffectInstance;...
29.538462
120
0.705729
e43dd8ed5dd507e8260ff817485ae0c3483969db
6,122
package com.example.along_the_road; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; ...
42.22069
109
0.628716
3fa8bec15ea098c67eee34cd53209629248a572b
2,971
/* * Copyright (c) 2007-2017 Xplenty, Inc. All Rights Reserved. * * Project and contact information: http://www.cascading.org/ * * This file is part of the Cascading project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
33.382022
128
0.682598
3d745912153fba828758953e1f78dd151f055efe
692
package fr.esgi.al.use_cases.membership.application; import fr.esgi.al.kernel.QueryHandler; import fr.esgi.al.use_cases.membership.domain.Membership; import fr.esgi.al.use_cases.membership.domain.MembershipRepository; import java.util.List; public class RetrieveMembershipsHandler implements QueryHandler<RetrieveMemb...
32.952381
104
0.800578
0699fb7c76ff1ed5c88f8efa9ba6699f5c7b9db5
1,180
package com.skyeye.service; import com.skyeye.common.object.InputObject; import com.skyeye.common.object.OutputObject; /** * @Author: 奈何繁华如云烟 * @Description: TODO * @Date: 2019/9/16 21:23 */ public interface MemberService { public void queryMemberByList(InputObject inputObject, OutputObject outputObject) thro...
39.333333
108
0.822034
b180182970be6401fc180db0ec45369da967c27c
372
package io.github.rafaeljpc.server.service.entity; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import javax.persistence.Entity; @Data @Entity @NoArgsConstructor @EqualsAndHashCode(callSuper = true) public class Permission extends BaseIdEntity { private static final long...
19.578947
52
0.803763
1c5e068a200eea135241ba564cd47821a2d793f1
6,554
package com.mindbodyonline.clients.api._0_5_1.client_service; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.dataty...
25.403101
121
0.590632
6bbd6cda432fa1768c25d792023bc16675ad5385
369
package p2; import p1.Protection; public class Subclass extends Protection{ Subclass(){ System.out.println("Subclass Of Different Package"); // System.out.println("Default value:"+a); // System.out.println("Private Value:"+b); System.out.println("Protected Value:"+c); S...
30.75
61
0.623306
20c9396971e17cfdbbefb02ebfdabb1ce75cdc06
486
package net.miz_hi.smileessence.model.status.event; import net.miz_hi.smileessence.model.status.tweet.TweetModel; import net.miz_hi.smileessence.model.status.user.UserModel; public abstract class StatusEvent extends EventModel { public TweetModel tweet; public StatusEvent(UserModel retweeter, TweetModel twe...
21.130435
61
0.711934
1ee76521cbb2486266b7725535e65f90c8b31be5
2,096
package ru.job4j.parser.vacancy; import java.time.LocalDate; import java.util.Objects; public class Vacancy extends Object implements Comparable { private static final String LN = System.lineSeparator(); private int id; private String name; private String info; private String link; private Lo...
22.063158
80
0.554866
d6bc8e1c74317f1a27368621720641d9f9cc2ff6
3,124
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.queryProcessor.decomposer.query; import java.util.Map; import java.util.Set; import com.foundationdb.sql.parser.DeleteNode; import com.foundationdb.sql.parser.DropTableNode; import com.foundationdb.sql.parser.InsertNode; import com.foundatio...
37.190476
86
0.65525
9dcd2162216fd2bc1a402e345cadda0eabaf8f2f
4,313
// Copyright 2006, 2008 The Apache Software Foundation // // 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 applic...
54.594937
119
0.71412
3d4cca8c2a1da83277baf38a348a4f4560857275
2,083
package adrninistrator.test.testmock.static1.mock.private1.void1; import com.adrninistrator.static1.TestStaticPrivateVoid1; import com.adrninistrator.util.TestCallTimesUtil; import org.junit.Test; import org.mockito.Mockito; import org.powermock.api.mockito.PowerMockito; import org.powermock.reflect.Whitebox; ...
35.913793
115
0.722996
4cb7a36a4586dc75807bf5727eeff161b0ed2ab6
8,728
/* * Copyright (c) 2010, 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 * * ...
38.791111
135
0.660632
f99c278a76385e5512bac132a770155670f2f926
929
package com.bihell.dice.nav.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.List; /** * * * @author tpxcer * @since 2021-06-04 */ @Data @Accessors(chain = true) @Api...
20.644444
71
0.721206
b00bf44aad59603665b20cd2e2e6fb13336137e8
3,045
package com.raros.livros.models; //import com.raros.livros.repository.UsuarioRepository; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import javax.persistence.ManyToMany; import javax.persistence.*; import java.util.Collection; import jav...
19.394904
118
0.638752
8fdce2117ed6f6b84807ac27f530a223d501526e
1,132
package dansplugins.chathub.eventhandlers; import java.util.UUID; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import dansplugins.chathub.data.EphemeralData; import dansplugins.chathub.data.PersistentData; imp...
35.375
100
0.7447
b72d18bb1cc2dea387a9cda33b1a137f3ebb7b77
465
package commands; import backend.BackendManager; /** * Stamps the current turtle * @author Justin */ public class ClearStampsCommand extends GeneralCommand{ public ClearStampsCommand(BackendManager bm){ super(bm); setMaxChildren(0); setType("Stamp"); } /** * clears all st...
17.884615
55
0.619355
d4d9b5c8a97ece188b0a5efa9be8efa3f9104cae
3,445
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Disabled; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import com.qualcomm.robotcore.hardware.PIDCoefficients; import com.qualcomm.robotcore.util.ElapsedTime; @TeleOp...
28.00813
89
0.564586
ba1306f6d6891937993ce8e25091e2407c030471
1,823
package gov.samhsa.consent2share.infrastructure.eventlistener; import gov.samhsa.consent2share.domain.account.Users; import gov.samhsa.consent2share.domain.account.UsersRepository; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runner...
35.745098
102
0.842019
ce5ec318094e59778e78b0e29727bfb00b455470
111
package ca.marioux.easybounty.domain.exception; public class RepositoryException extends RuntimeException { }
22.2
59
0.846847
18bb06c669ec37e7560446630bae84ee02aa9594
554
package com.beust.jcommander.args; import com.beust.jcommander.Parameter; import java.util.ArrayList; import java.util.List; public class ArgsLongMainParameterDescription { @Parameter(description = "[text] [text] text text text text text text text text " + "text text text text text text text text " ...
30.777778
88
0.698556
8dc33b5eeeae6688dbf66d1db88ac6c260d823f4
9,354
package io.renren.modules.product.entity; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * * * @author zjr * ...
16.410526
69
0.684306
0177d852d09edd11d2484909210f8b2d332e3ed4
10,004
/* * Copyright 2018 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
40.016
100
0.711915
3ba92e01b319be9c9c65210023cb666f5e0e7347
4,606
/* * * This file is part of the iText (R) project. * Copyright (c) 1998-2016 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free S...
30.706667
92
0.708424
9a7f65e49e2db2fd3e9209717c6a9f5ede4cb740
380
package eu.darken.ommvplib.injection.broadcastreceiver; import android.content.BroadcastReceiver; import dagger.android.HasBroadcastReceiverInjector; import eu.darken.ommvplib.injection.ManualInjector; public interface HasManualBroadcastReceiverInjector extends HasBroadcastReceiverInjector { @Override Manua...
29.230769
90
0.857895
80042d3e62a7bb7f430d2946cf2756ec4c50670d
12,007
package com.malyvoj3.csvwvalidator.web.view; import com.malyvoj3.csvwvalidator.ObjectMapper; import com.malyvoj3.csvwvalidator.domain.ValidationStatus; import com.malyvoj3.csvwvalidator.persistance.domain.ResultEntity; import com.malyvoj3.csvwvalidator.persistance.repository.ResultRepository; import com.malyvoj3.csvwv...
46.719844
119
0.693929
3ae38eeb2f1bd6bc97ebcc60051432d998edde52
582
package com.yanxml.spring.train.proxy.dynamic.client; import com.yanxml.spring.train.proxy.dynamic.SecurityHandler; import com.yanxml.spring.train.proxy.dynamic.UserManager; import com.yanxml.spring.train.proxy.dynamic.UserManagerImpl; public class Client { public static void main(String []args){ SecurityH...
30.631579
81
0.756014
91738aaa396c1254ef99f7c23d5301b7ea803fec
5,534
package org.jcodec.common.dct; import static java.lang.Math.PI; import static java.lang.Math.cos; import static java.lang.Math.sqrt; /** * This class is part of JCodec ( www.jcodec.org ) * This software is distributed under FreeBSD License * * @author The JCodec project * */ public class SimpleIDCT10Bit { ...
30.916201
95
0.386881
0576879fff9fce4fb10a1da53e0318b8e1aa5523
1,721
package de.codescape.bitvunit.ruleset; import de.codescape.bitvunit.util.io.ClassPathResource; import org.custommonkey.xmlunit.jaxp13.Validator; import org.junit.Test; import javax.xml.transform.stream.StreamSource; import static org.junit.Assert.assertTrue; public class XmlRuleSetValidationTest { @Test pu...
33.745098
110
0.732132
c3e80b3e7e71dabeb55500bb6aa6c7bbf0661e76
2,588
package com.infra.context; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.Arrays; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.List; public class ThreadContext implements Context { private static final Logger logge...
28.755556
121
0.767388
c253ba33cac527df0e701d4f8c2bbf751224c4a9
3,240
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.testing.local; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.junit.runner.Descrip...
36.404494
96
0.630247
fa91c089f1e66482de12c585ce3f3199d495d942
1,932
package sortownica; import java.util.Arrays; import java.util.Scanner; public class Main { private static final int DODATEK = 1; private static final int DZIELNIK = 2; private static final int MNOZNIK = 3; private static final int POCZATKOWY = 0; private static Punkt[] elementy; ...
30.666667
82
0.507246
de7a15eafee3535baad52ac84150aadde6804b5a
8,804
package com.jcommerce.core.service.payment.impl; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import javax.crypto.KeyGen...
43.156863
160
0.65811
52bcef2487bbe6eaf8ce6a05f41aa238a5ac7a1c
3,061
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
39.24359
137
0.691931
9dd7ae6589ef6ad462e656a726028d3429d451f4
7,545
package Logic; import com.mpatric.mp3agic.ID3v2; import com.mpatric.mp3agic.Mp3File; import javazoom.jl.decoder.JavaLayerException; import javazoom.jl.player.Player; import org.jaudiotagger.audio.AudioFile; import org.jaudiotagger.audio.AudioFileIO; import javax.sound.sampled.UnsupportedAudioFileException; import jav...
26.850534
105
0.570046
1ee0c2000cdb7b456968dc3a77fba842b5e48a37
1,042
package com.ameya.daos; import org.springframework.data.repository.CrudRepository; import com.ameya.models.Employee; public interface EmployeeDao extends CrudRepository<Employee, Integer>{ } /* public interface PersonRepository extends Repository<User, Long> { List<Person> findByEmailAddressAndLa...
38.592593
90
0.807102
5ab28fcecc5a320fe9771495356b10f039a3089f
1,610
package org.maxkey; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.web.server.ConfigurableWebServerFactory; import org.springframework.boot.web.server.ErrorPage; import org.springframework.boot.web.server.WebServerFactoryCustomizer; import org.springframework.context.annotat...
33.541667
113
0.745963
7fe6b835a8145a03f426b374161d2cbbf89e8cc5
1,263
package dev.iakunin.codexiabot.github.config.stat.loc; import dev.iakunin.codexiabot.common.runnable.Logging; import dev.iakunin.codexiabot.github.cron.stat.loc.WithoutLoc; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context....
30.071429
83
0.745051
2fd6f133a72a16d983392d6d802d2879e45b568e
2,606
package seedu.dictionote.model; import static java.util.Objects.requireNonNull; import java.util.List; import javafx.collections.ObservableList; import seedu.dictionote.model.note.Note; import seedu.dictionote.model.note.UniqueNoteList; /** * Wraps all data at the notebook level. * Duplicates are not allowed (by ...
23.061947
98
0.623561
20fb592eff13ebe619fd619695d5b2ea7f9218d7
6,692
package ru.jpa.utils.specification.test.predicate; import static java.util.stream.Collectors.toSet; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static ru.jpa.utils.specification.Fixtures.PROJECT_COUNT; import static ru.jpa.utils.specification.Fixtures.TASK_COUNT; impo...
30.280543
99
0.691124
1dcb1562a8db971e0de7794352d2772de9c2599a
1,952
package com.maksudsharif.repository.config; import org.apache.geode.cache.client.ClientRegionShortcut; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotat...
44.363636
130
0.840164
e7dd9eecc049c1dd2c1e449ba9997cf5f2bf8f8f
1,351
package ui; import domain.Item; import javafx.animation.*; import javafx.scene.paint.Color; import javafx.scene.text.Text; import javafx.util.Duration; import main.Program; public class TextAnimations { public TextAnimations(String text, String color, double locX, double locY) { Text fadeTex...
30.704545
81
0.626943
18b7851e374c6c9046371ddab9888a35e278d3fe
1,471
package io.fries.koans.collections; import java.util.Set; import java.util.function.BiConsumer; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.function.Supplier; import java.util.stream.Collector; public class SimpleCollector<T, A, R> implements Collector<T, A, R> { ...
25.807018
69
0.661455
d95b7e7321a79266196739c2503cda336e883b85
876
package com.carlosbecker; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class PrimeVerifierTest { private PrimeVerifier prime; @Before public void init() { prime = new PrimeVerifier(); } @Test public void test_n...
16.846154
47
0.71347
c9a9eb2c2f7a87078fa1b8f870f1cf9b04699db2
1,707
import com.sun.jna.Native; import com.sun.org.apache.xerces.internal.impl.dv.util.Base64; import org.apache.commons.lang3.RandomStringUtils; /** * Created by kanishka on 12/16/17. */ public class BasicJNAIntegration { void test() { //initial sleep until connected with visualvm try { ...
28.45
74
0.574107
afce536eada267bfa109ee25907c2a82b1a9f183
1,146
package br.matheusmessora.mbot.games.pokemon; /** * Created by cin_mmessora on 6/5/17. */ public enum Pokemons { PIKACHU("Pikachu", 0.75, 5, "<:pikachu:331940546966716417>"), CHARMANDER("Charmander", 0.57, 3, "<:charmander:331936878183972878>"), SQUIRTLE("Squirtle", 0.54, 3, "<:squirtle:3319394180029480...
24.913043
77
0.616056
1494643f6f6de4c4e05da97561cc58bfc6a039ae
5,627
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import ru.stqa.pft.addressbook.model.ContactData; import ru.stqa.pft.addressbook.model.Contacts...
39.076389
148
0.648836
3d2cf9b6d7a77926fd14eeb7054e5578df1ff1af
3,873
package com.alium.mkan_report_data.models.form_models; /** * Created by abdulmujibaliu on 8/19/17. */ public class Taaleem { private int //TALEEM totalNumberOfTaleemClassesConductedInMonth, totalNoOfHoursSpentInTaaleemClasses, numberOfKhuddamThatParticipatedInTalimulQuranS...
41.645161
147
0.821585
9bf39e49f6c59e161a6276cc8e11c701d82cf1c5
692
package club.tempvs.message.converter; import club.tempvs.message.dto.UserInfoDto; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.RequiredArgsConstructor; import org.springframework.core.convert.converter.Converter; import org.springframework.stereotype.Component; @Component @RequiredArgsConstructo...
28.833333
78
0.758671
88b03629c0255fd2f6ef1c2a5234335d4cbafd1c
1,884
package gg.projecteden.nexus.features.events.store.providers.purchasable; import fr.minuskube.inv.ClickableItem; import gg.projecteden.nexus.features.events.store.EventStoreItem; import gg.projecteden.nexus.features.events.store.providers.EventStoreMenu; import gg.projecteden.nexus.features.store.perks.emojihats.Emoji...
29.4375
127
0.740977
91fb151cd6ba64c5349a3da373cca78c1abbc17e
736
package com.prezi.spaghetti.ast.internal; import com.google.common.collect.Iterables; import com.prezi.spaghetti.ast.AstNode; import com.prezi.spaghetti.ast.Location; import com.prezi.spaghetti.ast.TypeReference; import java.util.Collections; public abstract class AbstractTypeNamePairNode<R extends TypeReference> ex...
26.285714
138
0.785326
227fab7bbedc4217f03d10d56f6c296afdd1ccd5
13,717
/* * Copyright 2020 Brian L. Browning * * This file is part of the ibd-ends program. * * 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 ...
37.376022
94
0.581031
0651bb2c54948e4b93f23795ad3b2e56e2e6a5eb
3,550
package deluxe; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import javax.crypto...
42.771084
186
0.656338
a73a472f20a0427cad06c2e2a2267a923a193ab6
445
package org.eisbm.graphmlsbfc.configuration; public class CannotFindPropertyException extends Exception{ public CannotFindPropertyException () {} public CannotFindPropertyException (String message) { super (message); } public CannotFindPropertyException (Throwable cause) { super (caus...
26.176471
74
0.714607
edd3aacf5f56d8a3a2095f6b3aa5421094f76dbe
5,278
package org.smartregister.cbhc.widget; import android.content.Context; import android.text.InputType; import android.view.LayoutInflater; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.RelativeLayout; import com.rengwuxian.materialedittext.MaterialEditTe...
41.888889
187
0.646457
a43714952371cab63d2af90a55a30b023bf92776
5,056
package android.CSLite; import java.util.StringTokenizer; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.provider.Contacts.People; import android.view.View; imp...
35.356643
137
0.709256
d264e805b384bfa14a3ee1fe6cdcad789221afe2
4,792
package com.baidu.iot.devicecloud.devicemanager.server; import com.baidu.iot.devicecloud.devicemanager.bean.TlvMessage; import com.baidu.iot.devicecloud.devicemanager.codec.TlvDecoder; import com.baidu.iot.devicecloud.devicemanager.codec.TlvEncoder; import com.fasterxml.jackson.core.JsonProcessingException; import com...
40.957265
132
0.564691
5473bedea96631ae7c1aa05568cf4ba31460a5c8
4,185
/** * DO NOT REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Contributor(s): * * The Original Software is SimpleDBM (www.simpledbm.org). * The Initial Developer of the Original Software is Dibyendu Majumdar. * * Portions Copyright 2005-2014 Dibyendu Majumdar. All Rights Reserved. * * The contents of this file ar...
33.48
77
0.65902
bf228176999075a4217b2d09c339bd1d932d4004
3,143
package dev.elektronisch.dieter.server.config; import com.google.common.collect.ImmutableList; import dev.elektronisch.dieter.server.security.JWTAuthenticationEntryPoint; import dev.elektronisch.dieter.server.security.JWTAuthenticationTokenFilter; import org.springframework.context.annotation.Bean; import org.springfr...
49.109375
108
0.735921
fccc3d49cdf1febaff7fe335cf6b02613da8ecd7
254
package JavaOOP.SOLID.Exercise.interfaces; import JavaOOP.SOLID.Exercise.enums.ReportLevel; import java.io.IOException; public interface AppenderFactory { Appender produce(String type, ReportLevel reportLevel, Layout layout) throws IOException; }
25.4
93
0.818898
2902bc560b413762a2fa3af092628be6b9166ebf
1,178
package au.org.consumerdatastandards.client; public interface ApiClientOptions { String getServerUrl(); void setServerUrl(String serverUrl); String getProxy(); void setProxy(String proxy); boolean isValidationEnabled(); void setValidationEnabled(boolean validationEnabled); String getUserAge...
33.657143
57
0.74618
81315c0a0dfb00409b641e33072c3fdfac294f0f
7,743
package com.qtimes.views.swipelistview; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.LayoutInflater; import android.view.MotionE...
27.457447
115
0.549787
5a8253e75279fb5d7926d675287af4d19e03bd95
1,271
package graphical_user_interface.builder; import javax.swing.*; import java.util.HashMap; import java.util.Map; public class Form implements IForm { private final Map<String, JComponent> components; private final Map<String, JButton> superButtons; private final JPanel panel; public Form(Map<String, J...
28.886364
102
0.653029