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
eb998840ee6107405b292906f63ce6dfe53b1274
947
package com.github.jweixin.jwx.message.mass; import java.util.List; import com.github.jweixin.jwx.message.response.Text; /** * 群发文本消息 * @author Administrator * */ public class MassTextMessage extends MassMessage { /** * 文本 */ private Text text; public MassTextMessage() { super(); ...
17.537037
63
0.637804
76e2ad81d2ddb101b685426d0a1bcb44dd229905
34,342
/* * Copyright 2015, 2016 Tagir Valeev * * 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...
57.620805
127
0.608206
0a6b8b3ed7074cee439049b151d08ae16d898b15
6,205
package com.rickybooks.rickybooks.Retrofit; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import okhttp3.RequestBody; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.GET; i...
28.860465
68
0.657857
ec81b4839404a4e29b95ad0cf7e57efa44978d23
861
import java.util.Scanner; /** * * Lab 11 * calculate service charges for a cheque * * @author P.M.Campbell * @version 2020-fall * */ public class Bank { public static void main(String[] args) { Scanner in = new Scanner(System.in); double amount, service=0; System.out.println("Calculating...
25.323529
84
0.57259
711196cb0fc391a5167b7452a2f7784eb1509f10
480
package com.hardcore.accounting.exception; import lombok.Data; import org.springframework.http.HttpStatus; @Data public class ServiceException extends RuntimeException { private HttpStatus statusCode; private String errorCode; // biz error code private ErrorType errorType; // Service, Client, Unknown ...
21.818182
60
0.702083
cffa3d4cb1f5fbd0bf9bdf1ef5877171478e98a9
920
package org.wormsim.frontend.service; import org.geppetto.core.auth.IAuthService; import org.geppetto.core.data.model.IUser; import org.springframework.stereotype.Service; @Service public class AuthService implements IAuthService { public static final String NOBODY = "_____"; public AuthService() {} ...
16.428571
65
0.684783
bd5d52f3bbb7cfc607fbcc83a79f77ddd10cca62
7,966
package oolala; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; import javafx.scene.paint.Color; import javafx.scene.paint.Paint; import javafx.scene.shape.Circle; import oolala.model.Parser; import oolala.model.commands.logocommands.Back; import ...
31.611111
89
0.607833
c8bea091a2bfec51287ee33ad75c8f63c977c155
3,575
package examples.adsabs; import org.junit.BeforeClass; import monty.solr.util.MontySolrQueryTestCase; import monty.solr.util.MontySolrSetup; public class TestPivotQuery extends MontySolrQueryTestCase { @BeforeClass public static void beforeClass() throws Exception { makeResourcesVisible(Thread.currentThrea...
37.631579
121
0.604755
056d63baf39bf4ea0a659e8a8ff3671ffba62ed9
612
package net.aionstudios.sorttest.algorithm; import java.util.concurrent.ThreadLocalRandom; import net.aionstudios.sorttest.SortingAlgorithm; public class BozoSort extends SortingAlgorithm { public BozoSort() { super("bozo", "Randomly switches 2 points in the array, mostly for stress testing."); enab...
24.48
88
0.69281
d30922e1fe7efd61dd2ef8a6eae061ae8809e1bd
695
package org.elink.util; import static org.junit.Assert.assertEquals; import java.util.Date; import org.junit.Test; import com.elink.util.DateUtils; public class DateUtilsTest { @Test public void testParse() { assertEquals(null, DateUtils.parse(null)); Date d1 = new Date(); String s = DateUtils.format(d1...
21.71875
60
0.692086
d0b672c1f38239c9d6fcfd41fd35fe6a1a767043
3,329
package edu.wofford.wocoin; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.web3j.crypto.Credentials; import org.web3j.crypto.WalletUtils; import org.web3j.protocol.Web3j; import org.web3j.protocol.core.DefaultBlockParameterName; import org.web3j.protocol.core.Request; import org.web3j.protocol.cor...
43.802632
171
0.644037
1c25936c10939dfe3520cc8c1b49f8afb51071de
841
package net.minestom.server.network.packet.server.play; import net.minestom.server.network.packet.server.ServerPacket; import net.minestom.server.network.packet.server.ServerPacketIdentifier; import net.minestom.server.potion.Potion; import net.minestom.server.utils.binary.BinaryReader; import net.minestom.server.util...
32.346154
96
0.760999
8b6ca386233e5675fa8afaf4b80ae84fb4511363
1,757
package com.blogfortraining.restapi.security; import java.util.Collection; import java.util.Set; import java.util.stream.Collectors; import com.blogfortraining.restapi.entity.User; import com.blogfortraining.restapi.entity.Role; import com.blogfortraining.restapi.repository.UserRepository; import org.springframework...
42.853659
115
0.741036
fca4a77d38c5a133a23a4bd84b765581e23cec2f
1,415
package com.weiit.web.admin.ump.service.impl; import com.weiit.core.entity.E; import com.weiit.core.entity.FormMap; import com.weiit.core.mapper.BaseMapper; import com.weiit.core.service.impl.AbstractService; import com.weiit.web.admin.ump.mapper.BargainMapper; import com.weiit.web.admin.ump.service.BargainService; im...
25.267857
83
0.739223
34a7f85e2e0618f722b36918f544b6a8ee62dce9
1,166
/******************************************************************************* * Copyright (c) 2013-2018 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanyin...
40.206897
99
0.680961
6ebb1394089d4ba5fbc01394780210bbefa80057
1,267
package hudson.tasks._ant; import com.gargoylesoftware.htmlunit.html.HtmlElement; import com.gargoylesoftware.htmlunit.html.HtmlPage; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.tasks.Ant; import org.jvnet.hudson.test.HudsonTestCase; import org.jvnet.hudson.test.SingleFileSC...
35.194444
92
0.689029
cec2476d5a8acc2b53b32d17575f05ac47565d64
3,358
package com.dexesttp.hkxpack.cli.utils; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import com.dexesttp.hkxpack.cli.utils.ArgsParser.Options; /** * Tests on an {@link ArgsParser}'s analysis size. */ public class ArgsParserSizeTest { private transient ArgsParser ar...
27.983333
116
0.73109
2acb5e7ef3bf5aa264a97a3acd1e6cc72aa8e702
1,176
/* * 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 interfacedemo; /** * * @author Peggy Fisher */ public class MountainBike implements Bicycle{ int pedalRate ...
25.565217
80
0.589286
18a740c1301a8e626fbef1e6bd134dc9ab7cf07c
12,454
package com.axeac.app.sdk.ui.datetime; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import java.util.Arrays; import java.util.Calendar; import java.util.List; import com.axeac.app.sdk.R; import com.axeac.app.sdk.utils.StaticObject; /** * 时间控件工具类 * @author axeac * ...
29.098131
105
0.681147
60058e88fc44b624cbbb619c9d004dcb1ecbf4b3
1,799
package com.nathaniel.baseui.surface; import androidx.appcompat.app.AppCompatActivity; import java.util.Stack; /** * @author nathaniel * @version V1.0.0 * @contact <a href="mailto:nathanwriting@126.com">contact me</a> * @package com.nathaniel.baseui.surface * @datetime 2021/12/19 - 15:54 */ public class Activi...
26.850746
111
0.628683
7e2707670c14db8776752dc6387f43973d034fcf
5,571
package com.kwitterbackend.user_service.controllers; import com.google.gson.Gson; import com.kwitterbackend.user_service.dto.RegisterDTO; import com.kwitterbackend.user_service.dto.UpdateUserEvent; import com.kwitterbackend.user_service.model.DeleteUserEvent; import com.kwitterbackend.user_service.model.User; import ...
41.266667
134
0.736852
cc73c2894eef08227cdd13e695b86a248bb8df6f
12,979
package ui.dialog; import core.Configuration; import javafx.beans.property.*; import javafx.geometry.Insets; import javafx.scene.control.*; import javafx.scene.layout.GridPane; import javafx.scene.paint.Color; import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javafx.scene.text.Text; import jav...
49.919231
199
0.69782
fe52497ca635492d25f1af09465e4be886d7a324
742
package com.barrycommins.simplerest.controller; import com.barrycommins.simplerest.service.HelloService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework...
27.481481
71
0.768194
7888d20603cdc922d4578b01caf14c03e6e138e1
374
package aero.t2s.modes.constants; public enum TargetAltitudeType { FL, MSL, ; public static TargetAltitudeType from(int code) { switch (code) { case 0: return FL; case 1: return MSL; default: throw new IllegalArgumentException("Target Altitud...
22
101
0.561497
90dd8ef235dfd125f87c48bcdf72a9b40a15fa1c
4,746
/* * Copyright 2012-2021 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in complian...
30.619355
116
0.722082
720c88d60233ad398f8533454449498ceeec70a2
1,942
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
33.482759
92
0.771885
d6503e9cccbcf486b100199c483df484debeaaae
7,070
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 license...
15.010616
814
0.805799
d056c38912b7252ab30c50ab6e07440ccf6a0073
1,710
package act.fsa.binding; import act.data.Data; import org.osgl.$; import org.osgl.util.S; @Data public class Person { public static final String TABLE_VIEW = "id,fullName,address.asString as address"; private String id; private String firstName; private String lastName; private Address address; ...
22.8
94
0.612281
cd46090cb92237dc5f900a23145558c6e4b560cb
2,896
package dynamicprogramming; import java.util.Arrays; public class MinimumCandies { // Complete the candies function below. private static long candies(int n, int[] arr) { // Sort according to their rating. int numberOfCandies = 1; // for the first one. int result = 1; for (in...
34.47619
97
0.515884
3990f464b2108e0a976f46cd2730db9e6de2d169
1,234
package ol.style; import jsinterop.annotations.JsProperty; import jsinterop.annotations.JsType; import ol.Options; /** * Options for the circle style. * * @author Tino Desjardins * */ @JsType(isNative = true) public interface CircleOptions extends Options { /** * Fill style. * * @param fill...
22.436364
78
0.641005
ad0e28254bf1b98fa3d2448644bfbaa2f26a2f1b
10,059
package crypto; import java.util.Random; import static crypto.Helper.*; public class Encrypt { public static final int CAESAR = 0; public static final int VIGENERE = 1; public static final int XOR = 2; public static final int ONETIME = 3; public static final int CBC = 4; public static final byte SPACE = 32...
29.9375
150
0.663485
381d9470dc94ed8b7ea7fcd4a5921a0ed92be606
560
package top.xcphoenix.groupblog.service.blog; import top.xcphoenix.groupblog.model.dao.BlogType; import top.xcphoenix.groupblog.model.dao.User; import java.text.ParseException; /** * @author xuanc * @version 1.0 * @date 2020/1/15 下午3:25 */ public interface BlogService { /** * 全量更新 * * @param ...
17.5
53
0.635714
6ca2808bac0da172190c9981a56b286ef0ab4f34
3,102
/* * Hibernate Search, full-text search for your domain model * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.demos.hswithes.model; import java.util.ArrayList; import ...
23.149254
155
0.729529
a64be4bc257c5fd46132898abbcf795b5d024899
369
package doko.database.user; import org.springframework.data.repository.CrudRepository; import javax.transaction.Transactional; import java.util.List; @Transactional public interface UserRepository extends CrudRepository<User, Long> { List<User> findAll(); List<User> findByIdIn(List<Long> ids); User findOne(Lon...
19.421053
68
0.791328
1af2aef8761c887c3d46f825106d84c20b15b71c
37,578
package com.marathon.domain; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; public class MrtonClothesDemandExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; protected int limitStart = -1; protected i...
32.934268
102
0.588908
e4edf5dee82c88921df651cf9ab2aebcd342ff1f
4,957
/* * 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 ...
37.55303
100
0.710914
25810912406a96d796a1044b2a5063b95eb8a12e
1,358
package cards.dumbgame; import cards.common.*; import org.junit.Test; import static org.junit.Assert.*; /** * * @author Sergey Sokolov <xlamserg@gmail.com> */ public class MemoryStrategyTest { @Test public void testMemoryStrategyPossibleDeckCards() { MemoryStrategy strategy = new MemoryStrategy();...
37.722222
72
0.679676
58fe6015698440e01fe3424cebf5016953c3cf48
2,425
/* * 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 ...
31.089744
108
0.710928
9f6bc8db99020778b65f975b34cf04f030494f03
681
package com.zs.dao; import java.util.List; import org.apache.ibatis.annotations.Param; import com.zs.entity.BlogListRel; public interface BlogListRelMapper { int deleteByPrimaryKey(Integer id); int insert(BlogListRel record); int insertSelective(BlogListRel record); BlogListRel selectByPrimaryKey...
26.192308
93
0.750367
638bc5cd81d185401cf50ef0e13eb9f16a9a6502
5,050
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain ...
42.083333
114
0.743564
d878e26abe298170d3e95adff3f02571492a5f55
1,098
package io.github.phantamanta44.resyn.parser.directive; import io.github.phantamanta44.resyn.parser.ParserState; import io.github.phantamanta44.resyn.parser.construct.Context; import java.util.function.Function; import java.util.function.Supplier; public class DirectiveContextSwitch implements IDirective { ...
33.272727
109
0.708561
d2195a0e013f5d54dbc9a79e865a9fd58c4d8dc9
1,582
/* * Encog(tm) Core v3.4 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2017 Heaton Research, 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...
26.813559
75
0.704804
4c204d1028db5f5deaa5b601ba6410366dae1479
2,764
package com.google.gson.internal.bind; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.TypeAdapterFactory; import com.google.gson.internal.C$Gson$Types; import com.google.gson.internal.ConstructorConstructor; import com.google.gson.internal.ObjectConstructor; import com.google.g...
39.485714
147
0.672214
cfb992975478482eba3ee8bbc7268c107bb35132
2,575
package com.bdth.rure.demo.dao.modle; import java.io.Serializable; /** * Created by Administrator on 2017/9/8. */ public class DemoUser implements Serializable { private static final long serialVersionUID = 1L; private Integer id; private String username; private String password; ...
26.822917
110
0.539417
59cae08eff2601b39f6efe4f1e159eef4cbe3f6a
4,806
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, 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:/...
57.214286
194
0.727216
cbd8b1eedf7308f0d97b30b6e10c7ec631d33a26
4,775
package com.semmle.js.ast; import java.util.Arrays; import java.util.List; /** * Defines bitmasks where each bit corresponds to a flag on {@linkplain MemberDefinition} or * {@linkplain VariableDeclarator}. */ public class DeclarationFlags { public static final int computed = 1 << 0; public static final int abs...
29.658385
103
0.646702
fcc114422a0a9fccdc0d6651362207b1add95f50
4,599
package com.objectcomputing.checkins.services.permissions; import com.objectcomputing.checkins.security.permissions.Permissions; import com.objectcomputing.checkins.services.TestContainersSuite; import com.objectcomputing.checkins.services.fixture.MemberProfileFixture; import com.objectcomputing.checkins.services.fixt...
43.8
132
0.752772
7401cf024e54610d7102bfd5f2ba28ce5b897572
9,497
package tedking.lovewords; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.annotation.TargetApi; import android.app.AlertDialog; import android.app.Dialog; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.support.v7.app...
37.537549
163
0.606402
ec7ce4b8b7db3a171996d177d10f5cffdb22d3b1
1,374
import java.util.ArrayList; public class SingleNumber { public static void main (String... args) { String[] list = new String[] { "2", "3", "4", "2", "3", "5", "4", "6", "4", "6", "9", "10", "9", "8", "7", "8", "10", "7" }; String[] list2 = new String[] { ...
31.227273
69
0.466521
337d6437889cb313ccedda481ec13fa4979801e4
1,006
package com.xiaobai.polestar.scheduleconsole.models; import java.util.Date; /** * Title. * <p/> * Description. * * @author Bill Lv {@literal <billcc.lv@hotmail.com>} * @version 1.0 * @since 2015-10-17 */ public class Schedules { Long id; String name; String cron; String command; Boolean en...
18.290909
107
0.588469
6b40f38524b6874ca3023d21ae6437232a7a6ebe
2,312
/* * Copyright 2017 Apereo * * 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 wr...
33.028571
99
0.781142
8b43e4f53fef52e43c19e37b7877bcc9b81482cf
213
package org.firstinspires.ftc.ppProject.RobotUtilities; public class MovementVars { public static double movement_x = 0; public static double movement_y = 0; public static double movement_turn = 0; }
26.625
55
0.760563
ac757aea06433dd8be19ac7b3b013c29264306ec
949
package kdu_jni; public class Jpx_fragment_list { static { System.loadLibrary("kdu_jni"); Native_init_class(); } private static native void Native_init_class(); protected long _native_ptr = 0; protected Jpx_fragment_list(long ptr) { _native_ptr = ptr; } public Jpx_fragment_list() { this...
37.96
120
0.769231
f6d159d3977b2d2010ed8d4bf910d3b175de12d4
10,689
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.exoplayer.smoothstreaming; import android.net.Uri; import com.google.android.exoplayer.chunk.Format; import com.google.android....
38.039146
200
0.56226
b2d4302f53fccd18d424b4dcb02a2d54f1cb362c
2,462
/******************************************************************************* * Copyright (c) 2012, 2013 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0...
35.681159
89
0.675467
79415400c590d1719b7fddeedcaa2ff94f0497e1
2,298
/** * Copyright 2017 FuBaBaz 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 law...
25.533333
98
0.692776
75817cff7c27789ad8f4656a94d5298bf60455ba
747
package com.xhyan.zero.cloud.wallet; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.scheduling.annotation.EnableScheduling; /** *...
27.666667
82
0.803213
449e5c281194c6c1af2a1ee89689627c4780009a
16,509
package uk.ac.ebi.quickgo.client.service.search.ontology; import org.apache.http.HttpStatus; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import uk.ac.ebi.quickgo.client.QuickGOREST; import uk...
38.753521
114
0.676237
104f8567a6d6e3b1a9582a0673e0adf7a12d618a
3,793
package org.nocket.component.form.beans; import gengui.util.SevereGUIException; import java.beans.BeanInfo; import java.beans.IntrospectionException; import java.beans.Introspector; import java.beans.PropertyDescriptor; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List...
30.344
121
0.651727
aecee4dc236f01ccc3909e318306c24770309964
2,544
package exercise23; class NumberToWords { public static void numberToWords(int num) { if (num < 0) { System.out.println("Invalid Value"); } //reverse(num) will truncate any of the trailing zero hence we need to //remember the digit count before that int digitCou...
28.58427
87
0.424921
d92158ea39d44596bc75b29ab3b8a286ea49d90c
1,914
/* * 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 "Lic...
33
79
0.702717
a3e9e10fecd22940dca01c6043f1ff61bbf73772
1,936
/* * Copyright (C) 2013 salesforce.com, 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 ...
32.813559
80
0.677686
1507054328239eb623ceae9f6dd51482494eb9fb
699
package org.opencb.bionetdb.server.rest; import io.swagger.annotations.Api; import org.opencb.bionetdb.server.exception.VersionException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; @Path("/{ap...
29.125
88
0.742489
372702f89abd5e6d136c15065ac2fdc6e6f24f51
1,554
package com.patnox.covidtritest.countries; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping(path = "api/v1/country") public class CountryController { private final CountryService countryService; ...
27.75
122
0.771557
ea3fa86d5fc3589cbca6a9e312d682ce859e1741
541
package com.google.android.gms.internal.ads; public final class zzbnq implements zzdti<zzbpb> { /* renamed from: a */ private final zzbnk f25623a; public zzbnq(zzbnk zzbnk) { this.f25623a = zzbnk; } /* renamed from: a */ public static zzbpb m27303a(zzbnk zzbnk) { zzbpb c = zz...
23.521739
85
0.619224
07a401f6f8c7f34c6067e3e5719ee3d11db1e9f8
2,357
/* * Copyright 2018 Shinya Mochida * * Licensed under the Apache License,Version2.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 wr...
32.287671
98
0.779381
22b226d8d11fa884afdc43903c10bd7bf545c8e1
8,031
/* * Copyright 2018 ELIXIR EGA * * 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.946524
327
0.673764
9b6fb3420132b60e261c50678904824112693308
1,675
package com.goldze.mvvmhabit.ui.set; import android.arch.lifecycle.ViewModelProviders; import android.os.Bundle; import android.widget.CompoundButton; import com.goldze.mvvmhabit.BR; import com.goldze.mvvmhabit.R; import com.goldze.mvvmhabit.app.AppViewModelFactory; import com.goldze.mvvmhabit.databinding.ActivitySet...
33.5
112
0.717612
104439d30e935af372f156fea883d269fc0eb690
110
package net.viperfish.latinQuiz.core; public interface Answer { @Override boolean equals(Object arg0); }
12.222222
37
0.763636
3d184d69a744a451083c032ddf6e085672557162
1,726
/******************************************************************************* * Copyright Duke Comprehensive Cancer Center and SemanticBits * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/c3pr/LICENSE.txt for details. **********************************************...
29.254237
81
0.582271
35cf4e34eb0796462615310fa736658425dae351
1,271
package string_handle; import java.io.BufferedReader; import java.io.InputStreamReader; /** * * @author minchoba * 백준 10205번: 헤라클레스와 히드라 * * @see https://www.acmicpc.net/problem/10205/ * */ public class Boj10205 { private static final char[] CUT = {'b', 'c'}; private static final String ANS = "Data Set "; ...
22.696429
77
0.599528
1160df9ccab895d13a3db20e85dce449d7ac4877
1,384
package com.manos.prototype.search; import java.time.LocalDateTime; import com.pastelstudios.db.GeneratedSearchConstraint; import com.pastelstudios.db.SearchConstraint; public class ProductSearch { private Integer statusId = null; private LocalDateTime fromDate = null; private LocalDateTime toDate = null; pr...
21.968254
81
0.734827
3a5bb540d53ed1dcc697e129f28454b090ed85f9
2,447
/* * @项目名称: 出口扫码付 * @文件名称: DownLoadCompleteReceiver.java * @Copyright: 2016 悦畅科技有限公司. All rights reserved. * 注意:本内容仅限于悦畅科技有限公司内部传阅,禁止外泄以及用于其他的商业目的 */ package com.ddu.icore.util.sys; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.conten...
36.522388
101
0.542705
1033c2f0071efea6b37e5d37308a0dcbaa5b7d8f
1,008
package fi.solita.utils.meta; import java.lang.reflect.Method; import fi.solita.utils.functional.Predicate; public abstract class MetaMethodPredicate<T> extends Predicate<T> implements MetaMethod<T, Boolean> { private transient Method $r; private final Class<?> clazz; private final String name; priva...
25.2
101
0.622024
6baf5bc03f597b5984f31ec82605dd2e9c688397
17,124
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
39.638889
179
0.562719
8695538f8639a04b09eae32b3c1ed4681c9aa9dd
1,272
package familiar.service.assist; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.InjectMocks; import org.mockito.MockitoAnnot...
28.266667
100
0.706761
d5a251c5b645e5278dd8dafdf73e1aa62d734e23
626
package net.dubboclub.circuitbreaker.exception; /** * Created by bieber on 2015/6/3. */ public class CircuitBreakerException extends RuntimeException { private String message; public CircuitBreakerException(String interfaceName, String methodName) { StringBuilder message = new StringBuilder(); ...
23.185185
91
0.685304
29e53133edb7e4313f02ef42c3d195a9c35ccc0c
40,408
package javassist.compiler; import javassist.compiler.ast.MethodDecl; import javassist.bytecode.ConstPool; import javassist.bytecode.FieldInfo; import javassist.CtField; import javassist.NotFoundException; import javassist.Modifier; import javassist.bytecode.Descriptor; import javassist.bytecode.AccessFlag; import jav...
39.231068
177
0.489235
1a3b6e7528e0d07e012feab87fa98fb79b0dcfc0
4,276
package project6; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.Scanner; /*** TownGraphManager class for managing the Graph class functions * * @author Joseph Smith * */ ...
18.591304
85
0.667446
58bb330d606149811ccd00db09d900340248d6bc
2,463
package org.getopentest.actions.db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Statement; import java.sql.Types; import java.util.ArrayList; import java.util.HashMap; import java.util.List; impor...
35.695652
114
0.576127
62bfd929640c092fa9767385bdfb9d0f9035ddfb
31,821
/* * 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.stefanini.control; import br.com.stefanini.control.dao.CustoDAO; import br.com.stefanini.model.entity.Atividade; import...
51.324194
150
0.649822
4a6836b1d8bcd1131e4ce2f708adac5a1d753d60
442
package br.com.zupacademy.bruno.mercadolivre.controller.request; public class RequestRakingVendedores { private Long idCompra; private Long idVendedor; public RequestRakingVendedores(Long idCompra, Long idVendedor) { super(); this.idCompra = idCompra; this.idVendedor = idVendedor; } @Override public Str...
20.090909
94
0.739819
dd6feb3ff87a70fb5039d1b45613d8591d1efad0
11,094
/******************************************************************************* * Copyright (c) 2012, Institute for Pervasive Computing, ETH Zurich. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
37.353535
146
0.67532
0af331b05291930d5e96adaa6475045eb1c92383
796
package gov.va.med.lom.avs.model; import java.io.Serializable; import javax.persistence.*; @Entity @Table(name="ckoHealthFactors") public class FacilityHealthFactor extends BaseModel implements Serializable { private String stationNo; private String type; private String ien; private String value; publi...
19.414634
78
0.687186
8f8b4abb2494ef0bf9af303bbf23523ac6888ea8
487
public class DemoTestContainer extends TestContainer { public DemoTestContainer() { super(); appComponents = Arrays.asList( "com.haulmont.cuba" ); appPropertiesFiles = Arrays.asList( "com/company/demo/app.properties", "com/haulmont/cub...
32.466667
78
0.591376
fef39629fbca3d3dc856e54eeb7d3d510beeb139
5,896
/* * Copyright (c) Thomas Parker, 2009. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * *...
35.305389
113
0.726594
c5ad81fac1355eda00e790ee4979ec27918cfa2c
172
package me.ryandw11.octree; public class OutOfBoundsException extends RuntimeException { public OutOfBoundsException(String message){ super (message); } }
21.5
60
0.744186
8d90a647590078c351d635bb694ef3774a1f67be
8,751
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
41.084507
125
0.644041
127d650003dd0af8163a3e44aefd6e4455c53a4c
1,792
package common.db.base.test; import static org.junit.Assert.*; import java.util.Date; import javax.annotation.Resource; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.hibernate.service.spi.SessionFactoryServiceInitiator; import org.junit.Test; import org....
28.444444
77
0.698661
0c97f0b98d13e7d50dd98a14e497dcd1cd716e44
1,225
package com.sogokids.web.ctrl; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import javax.servlet.http.HttpServletRequest; import java.util.regex.Pattern; @Controller public class ServiceC...
36.029412
94
0.712653
56039211bc2c0935339e1c9d105eca67bbd7703c
65,931
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
14.142214
813
0.796211
2d3488ad2b8ccde1d506e84bc83ba84f7d484043
3,004
package us.vicentini.hackerrank.security.cryptography; import java.util.Random; import java.util.Scanner; /** * https://www.hackerrank.com/challenges/prng-sequence-guessing * https://www.hackerrank.com/challenges/prng-sequence-guessing/submissions/code/21558839 * * Sample Input * 2 * 1374037200 1374123600 * 6...
26.584071
114
0.526964
c1e1ed55c6a1259d9edb278e5951c30d103d4ada
11,101
package daiBeans; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.EventListener; import java.util.Vector; import javax.swing.Im...
31.717143
92
0.553914
7a7b85e48b45661c039e35ac966d0708d4ecfbfb
7,577
/* * 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") + yo...
32.242553
107
0.750033
915821137cc48da5c4e3f37e049627a869397057
8,888
package org.tyuan.service.dao.mapper; import org.apache.ibatis.annotations.*; import org.apache.ibatis.type.JdbcType; import org.tyuan.service.dao.model.SysParam; import org.tyuan.service.dao.model.SysParamExample; import java.util.List; public interface SysParamMapper { /** * This method was generated by M...
41.339535
110
0.670455
1653e6ace044223d34e220faeaadba12a2e18898
914
package com.devops.groupb.harbourmaster.test.repository; import static org.junit.jupiter.api.Assertions.*; import com.devops.groupb.harbourmaster.dao.OrderDAO; import com.devops.groupb.harbourmaster.HarbourMaster; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.TestInstance; import org.springfra...
31.517241
124
0.821663
9f21b985b19e08ebae92606047887f517364565d
1,173
package com.exasol.datatype.type; import com.exasol.sql.ColumnDefinitionVisitor; /** * This class implements the Exasol-proprietary data type interval year to month */ public class IntervalYearToMonth implements DataType { private static final String NAME = "INTERVAL YEAR(%s) TO MONTH"; private final int ye...
26.659091
99
0.666667
442603a586582bf2a4aba184cd9017bd47032027
2,087
package net.joelinn.quartz; import net.joelinn.quartz.jobstore.RedisJobStore; import org.junit.Test; import org.quartz.JobDetail; import org.quartz.Trigger; import java.util.Map; import java.util.Properties; import java.util.Set; import static org.junit.Assert.assertEquals; /** * Joe Linn * 7/22/2014 */ public c...
37.267857
97
0.708673
12d290863e167064cd19f96cf5e8e02aac2f30c5
6,173
package org.develnext.jphp.zend.ext.standard.date; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; import php.runtime.Memory; import php.runtime.annotation.Reflection.Arg; import php.runtime.annotation.Reflection.Name; import php.runtime.annotation.Reflection.Property; import php.runti...
31.494898
107
0.671959
415d97d4e8f77c5bd8513076fef1bdab99be90b2
2,178
// Copyright (c) Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0 package pl.morgwai.samples.guiced_servlet_jpa.domain; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; ...
25.928571
90
0.717631