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
789809d21d6c4840c747edcc99590681671d7d3c
2,353
package info.jdavid.ok.server.samples; import javax.annotation.Nullable; import info.jdavid.ok.server.RequestHandlerChain; import info.jdavid.ok.server.handler.RegexHandler; import info.jdavid.ok.server.handler.Request; import okhttp3.MediaType; import okhttp3.ResponseBody; import info.jdavid.ok.server.HttpServer; im...
29.4125
108
0.718657
f915ab5ceb1aa90ed36d2d4482a61aa02c5818ba
676
package com.afei.auto; import com.afei.config.HelloProperties; import com.afei.service.HelloService; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; im...
28.166667
81
0.81213
9a19d480537cc2ca05b58604cadf0a67ae6b6f73
1,074
package cn.itcast.zt; import cn.itcast.zt.domain.User; import cn.itcast.zt.domain.UserRepository; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.sprin...
26.85
62
0.761639
d494c9d8c9792b66c4a8c3574b6e72a4ec893495
194
package ca.corefacility.bioinformatics.irida.ria.web.ajax.dto; /** * Abstract class for the response for creating a new sample if a project. */ public abstract class CreateSampleResponse { }
24.25
74
0.773196
537e3651d0c940c8d58348a5fcdbb8a4c302ffeb
1,132
import com.fasterxml.jackson.annotation.*; public class AnyOfSchemaForTheLegalBasesOfTheDataDisclosed { private String description; private String reference; /** * An explanation about the legal basis used. */ @JsonProperty("description") public String getDescription() { return descripti...
34.30303
96
0.660777
7b7316de4e9f4014a7cd4ae0e6ccb71aee233ca8
874
package voss.discovery.iolib.netconf; @SuppressWarnings("serial") public class NetConfException extends Exception { private final String operation; public NetConfException() { super(); this.operation = null; } public NetConfException(String msg) { super(msg); this.oper...
21.85
69
0.615561
a4ef66a3c999db41e70abefe28ede7074c7e01f0
1,530
package com.google.sitebricks.rendering.control; import com.google.inject.Injector; import com.google.sitebricks.MvelEvaluator; import com.google.sitebricks.Renderable; import com.google.sitebricks.compiler.EvaluatorCompiler; import com.google.sitebricks.compiler.ExpressionCompileException; import com.google.sitebrick...
39.230769
151
0.745752
d0f2f5ccab1d1114c79b68fe7c7a712dab061a88
664
package com.xian.lessonnine.validator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.*; /** * @Description: * @Author: Xian * @CreateDate: 2019/9/11 14:20 * @Version: 0.0.1-SHAPSHOT */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMET...
23.714286
52
0.707831
4f47cc3b287cb073a1a34f1980e71fd08c64ec80
803
package com.wall.myproject4test.java.zzw.inf4demo.xstream.model.irmsmodel; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamImplicit; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.util.List; /** * @desc...
25.903226
74
0.753425
fd887bead70248abf9ccca9bdbccc347dd72304b
873
package net.chuzarski.moviebucket.di; import android.arch.lifecycle.ViewModel; import android.arch.lifecycle.ViewModelProvider; import net.chuzarski.moviebucket.common.AppViewModelFactory; import net.chuzarski.moviebucket.ui.listing.ListingPreferencesViewModel; import net.chuzarski.moviebucket.ui.listing.ListingViewM...
29.1
94
0.824742
623a7e4b386ff3b0d77754cdb3944841e0b285d3
458
package com.sula.dao.custom.impl; import com.sula.dao.CrudDAOImpl; import com.sula.dao.custom.OrderDAO; import com.sula.entity.Order; import org.springframework.stereotype.Repository; @Repository public class OrderDAOImpl extends CrudDAOImpl<Order,String> implements OrderDAO { @Override public String getLas...
26.941176
116
0.764192
99384b75fb338f61bb3c98cf1be3bd2680a0c996
1,004
package com.ctrip.hermes.core.transport.command.v5; import io.netty.buffer.ByteBuf; import com.ctrip.hermes.core.bo.Offset; import com.ctrip.hermes.core.transport.command.AbstractCommand; import com.ctrip.hermes.core.transport.command.CommandType; import com.ctrip.hermes.core.utils.HermesPrimitiveCodec; public class...
23.904762
68
0.787849
df91063a393c53ef75c2acfbd814b2f529e9d138
6,322
package cn.com.szw.lib.myframework.app; import android.content.Context; import android.support.multidex.MultiDexApplication; import com.blankj.utilcode.util.SPUtils; import com.blankj.utilcode.util.Utils; import com.facebook.drawee.backends.pipeline.Fresco; import com.lzy.okgo.OkGo; import com.lzy.okgo.cache.CacheEn...
34.358696
121
0.561531
d5ec1f732ed4ee51a4fe3210f9669a427ef41a59
4,509
/** * netcell-gui - A Swing GUI for netcell ESB * Copyright (C) 2009 Adrian Cristian Ionescu - https://github.com/acionescu * * 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 * * ...
38.87069
101
0.767132
1349571109c191fac85425c43efcda819bef444a
581
package tests.utils; import com.oracle.oci.eclipse.account.PreferencesWrapper; public class SetupConfig { private static String profileName = "IDE-ADMIN"; private static String projectDir = System.getProperty("user.dir"); private static String configFileName = projectDir + "/resources/internal/config"; ...
29.05
85
0.726334
4d66dc2362631f85e371308976ecd963fd4f24dd
8,681
package qasino.simulation.qasino; import org.apache.jena.graph.Triple; import peersim.config.Configuration; import peersim.core.CommonState; import peersim.core.Node; import qasino.simulation.qasino.data.IBFStrata; import qasino.simulation.rps.ARandomPeerSamplingProtocol; import qasino.simulation.rps.IMessage; import ...
40.189815
156
0.631379
bd342b48832b36ed653ad10fe8566ed3973e63a7
535
package comp207p.target; public class ConstantVariableFolding { public int methodOne(){ int a = 62; int b = (a + 764) * 3; return b + 1234 - a; } public double methodTwo(){ double i = 0.67; int j = 1; return i + j; } public boolean methodThree(){ ...
17.833333
36
0.484112
dc29a997dbe111d028a6cdd14db795a3a18ebce1
6,090
/* * 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 ...
30.603015
110
0.585714
f526054f4323dbe91711b1b95b87f0b91219ee4f
2,151
package uk.org.fyodor.junit; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.ParameterContext; import org.junit.jupiter.api.extension.ParameterResolutionException; import org.junit.jupiter.api.extension.ParameterResolver; import uk.org.fyodor.generators.time.Temporality;...
43.02
128
0.728498
39162e1249c1309b486c0c559cc10aa435ccbb14
562
package com.pj.squashrestapp.model; public enum SetWinningType { /** * Examples of scores if set is played up to 11 points * * <pre> * 11 : 6 * 12 : 10 * 14 : 12 * </pre> */ ADV_OF_2_ABSOLUTE, /** * Examples of scores if set is played up to 11 points * * <pre> * 11 : 6 * ...
14.410256
56
0.523132
b0d33f452dc928bc317410bb35f7d1f74ef309ae
5,989
package com.yunlong.softpark.mapper; import com.yunlong.softpark.entity.ColumnEntity; import com.yunlong.softpark.entity.PlatesEntity; import com.yunlong.softpark.entity.SoftwareEntity; import com.yunlong.softpark.entity.SortEntity; import org.apache.ibatis.annotations.Insert; import org.apache.ibatis.annotations.Sele...
41.020548
214
0.591084
a8ac60690986bb38438a6cb9d5abcfdc874b32c6
1,309
/* * Copyright 2011-2012 Gregory P. Moyer * * 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 ...
25.173077
87
0.643239
c2bed399f3ae9a0cca09693ff1ddc1fb93549143
27,054
/* FlowView.java -- A composite View Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (...
32.130641
81
0.60808
596165caae91f1ee322f3c858bdc876fdb8881a7
597
package org.terraform.structure; import org.terraform.data.MegaChunk; import org.terraform.data.TerraformWorld; /** * This represents structures that can spawn multiple times within a mega chunk, * including things like small dungeons and shipwrecks. */ public abstract class MultiMegaChunkStructurePopulator extend...
33.166667
86
0.798995
5c787ccb357ef3527326f2fb2ba305c4ae911f72
8,384
package cn.elwy.eplus.framework.web; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URLEncoder; import java.util.Date; import java.util.Enumeration; import java.util.List; import java.util....
32.370656
103
0.723044
9cb5eb71ddba8b2bb1b5561191f1dded8362ab3a
4,059
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
38.657143
117
0.741069
7c625cb07b2d91338719ad806195c818cb3af932
3,565
/* * Ext GWT - Ext for GWT * Copyright(c) 2007, 2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ package org.net9.minipie.app.client.mvc; import org.net9.minipie.app.client.AppEvents; import com.extjs.gxt.themes.client.Slate; import com.extjs.gxt.ui.client.Registry; import ...
32.409091
96
0.709116
40a1b1b8360e7ad46ebb344ed99f37755c11144b
1,280
package com.tuyu.service.impl; import com.tuyu.dao.TestMapper; import com.tuyu.service.BService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.stereotype.Service; import org.springframework.tr...
29.767442
64
0.690625
5f7d6f21149be6c5279e52f81df0957b83484d05
301
package com.signature.api.resource; import java.util.Collection; public interface Resource<T, ID> { T insert(T entity); T updateWhereIdEquals(ID id, T entity); T selectAllWhereIdEquals(ID id); Collection<T> selectAll(); void delete(); void deleteWhereIdEquals(ID id); }
16.722222
43
0.694352
218b8447db066a2ca3bbc62eb5b6afe5f5108942
1,678
package com.breakersoft.plow.thrift.dao.pgsql; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.UUID; import org.springframework.jdbc.core.RowMapper; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; impo...
29.438596
83
0.755662
2ef3deae87cebbb1df55716aa34333cd891188fb
1,732
/** * Copyright (c) 2006, 2007, 2008 Marwan Abi-Antoun, Jonathan Aldrich, Nels E. Beckman, * Kevin Bierhoff, David Dickey, Ciera Jaspan, Thomas LaToza, Gabriel Zenarosa, and others. * * This file is part of Crystal. * * Crystal is free software: you can redistribute it and/or modify * it under the ter...
32.074074
92
0.703811
14799a07e68d7262a6716c22c597bea865505b20
14,472
// RobotLadder.java package igx.bots.arena; import igx.bots.*; import java.util.*; import java.io.*; public class RobotLadder { public static final String BOT_FILE_NAME = "botWars.txt"; public static final String TABLE_NAME = "robotRankings.html"; public static final String TABLE_HEADER = "robotHeader.ht...
39.219512
166
0.463032
10176ef99df408cdab927005bef56e6058fb250f
1,335
package com.electronclass.pda.mvp.entity; public class ClassInfo { String className; String classId;//班级信息 String yearId; //年级信息 String yearName; String facultyId;//学部信息 String facultyName; String schoolId; public String getClassName() { return className; } publ...
17.8
52
0.616479
a2ba8bf33cf9152a00501a7e9c067ca5f9ab3af8
1,678
package junit; import static org.junit.Assert.assertEquals; import java.lang.reflect.Method; import java.math.BigDecimal; import java.math.RoundingMode; import org.junit.Test; import xpeppers.interview.shoppingbasket.ShoppingBasketListBD; import xpeppers.interview.strategy.ExemptTaxStrategy; import xpeppers.intervie...
29.964286
96
0.727056
e51e6750ce92bb0079d789d643642a500ea748a8
421
package com.test.examine.entity; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import javax.validation.constraints.NotNull; import java.io.Serializable; @Data public class Lab implements Serializable { @JsonProperty(value = "labid") @NotNull private int labid; @JsonPrope...
17.541667
53
0.736342
32870dedd32f2969ec673ea5cc1a91b72403bd65
1,448
package org.gridgain.examples.compute.masterleave; import java.util.Arrays; import java.util.HashMap; import org.apache.ignite.Ignition; import org.apache.ignite.configuration.IgniteConfiguration; import org.apache.ignite.spi.checkpoint.cache.CacheCheckpointSpi; import org.apache.ignite.spi.discovery.tcp.TcpDiscoveryS...
31.478261
78
0.722376
9b3233efec186b0a535ca51c03eccf42f1c7668c
3,451
package cn.com.ctrl.yjjy.project.control.plan.service; import java.util.List; import cn.com.ctrl.yjjy.common.utils.StringUtils; import cn.com.ctrl.yjjy.project.basis.host.domain.Shebei; import cn.com.ctrl.yjjy.project.basis.host.mapper.ShebeiMapper; import cn.com.ctrl.yjjy.project.tool.map.domain.Dijsktra; import cn.c...
29.495726
80
0.652854
8c4fdeea566dc1bc8eb9408684430c15bd8afeaf
1,550
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
33.695652
110
0.616129
ede0a60c264d4cc15a40de046b153041e7585aeb
784
/* * Created on 18/04/2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package genesisRPGCreator.sysdeps; import java.io.IOException; import java.io.OutputStream; import genesisRPGCreator.Project; /** * @author wxp * * TODO To c...
18.666667
68
0.704082
27ff4cfd54efef64712c084b7b689c0cf77ccbf6
708
package net.spizzer.aoc2019.helpers.maze.intcode; import net.spizzer.aoc2019.common.Printable; import net.spizzer.aoc2019.common.ValueBase; public enum IntcodeMazeTile implements ValueBase<Integer>, Printable { WALL(0, '█'), EMPTY(1, ' '), TARGET(2, 'X'); private final int value; private final ch...
21.454545
70
0.646893
c591e86f835ae01a466239ba34606ce2df03cfa7
843
package com.stm.regioncategory.base.interactor; import com.stm.common.dao.Market; import com.stm.common.dao.MarketCategory; import com.stm.common.dao.RegionCategory; import java.util.ArrayList; import java.util.List; /** * Created by ㅇㅇ on 2017-06-16. */ public interface RegionCategoryInteractor { void setMar...
22.783784
100
0.775801
b7e3c73a85a807b59ce5914c52429fa20e49b955
217
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /** * Package containing credentials used by Azure Storage services. */ package com.azure.storage.common.credentials;
27.125
65
0.764977
9bc04dabff9218801eec274ec6681724c9d7bf94
2,835
package net.minecraft.util.profiling.jfr; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardOpenOption; import javax.annotation.Nullable; import net.minecraft.server.Bootstrap; import net.minecraft.util.profiling.jfr.parse.JfrStatsParser; import net.minecraft.util.profiling.jfr.parse....
32.965116
148
0.65291
dd1b14cf294b21d44b30b6dd2b7ea79d0a966b02
892
package com.zxg.FingerOffer; /** * 二维数组查找 * 在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序, * 每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数, * 判断数组中是否含有该整数。 */ public class practice_1 { public static void main(String[] args) { int[][] arrs = new int[][]{{1, 2, 8}, {2, 4, 9}, {4, 7, 10}, {6, 8, 11}}; Sys...
26.235294
81
0.485426
a665207130951a186bbecfed0ef8ed960fcdb700
768
package org.folio.rest.validate; import java.io.IOException; import org.folio.rest.tools.utils.ObjectMapperTool; import com.fasterxml.jackson.core.JsonParseException; /** * Utility class for validating JSON. */ public class JsonValidator { private JsonValidator() { throw new UnsupportedOperationException("C...
28.444444
88
0.75
bfb4e576c8d8b8c3355e8bf33462b2964ea585b5
1,413
package helpers.collections; import java.util.Collection; import java.util.Iterator; public class DummyCollection<E> implements Collection<E> { @Override public int size() { return 0; } @Override public boolean isEmpty() { return true; } @Override public boolean contains(Obj...
19.901408
106
0.648974
e39e1523cee1683be3ed22df11cf67c5792c80c6
2,400
/** * Copyright (C) Cloudera, Inc. 2019 */ package com.cloudera.training.kafka.solution; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerRecords; import org.apache.kafka.clients.consumer.KafkaConsumer; ...
38.709677
95
0.655
584ce0e905869ec972e79316461cc3814a4f8585
229
package com.codetaylor.mc.artisanworktables.modules.tools.material; public class CustomMaterialValidationException extends Exception { public CustomMaterialValidationException(String message) { super(message); } }
20.818182
67
0.799127
9efd1723e60620dc079c3fc3fd4b96b8c32e49c3
519
package sk.moravcik.kristian.gl1.hw1; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); System.out.println("This program prints out the sum of two numbers entered by user."); System.out.print("Enter first number:...
30.529412
94
0.620424
75d21a918c21fcc776795ecf07c93c4b961b6b64
778
package com.insano10.puzzlers.puzzles.codility.countingElements; import org.assertj.core.api.Assertions; import org.junit.Test; public class FrogRiverOneTest { @Test public void shouldFindTheFirstIndexAtWhichAllRequiredValuesHaveBeenSeen() throws Exception { int[] input = new int[]{1, 3, 1, 4, 2, ...
28.814815
94
0.694087
34086107939ad966dffab6484eca024a5cc1cbc9
224
package com.inner.demo3; /** * @author 许大仙 * @version 1.0 * @since 2021-09-13 20:23 */ public class Test { public static void main(String[] args) { Outer outer = new Outer(); outer.method(); } }
16
44
0.575893
b6cf183f700ff7bf2bbbc3d69137b5d8a4e09fc2
11,782
package com.packt.masteringopencv4.opencvarucoar; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.ImageFormat; import android.hardware.camera2.CameraAccessException; import android.hardware.camera2.CameraCaptureSess...
40.909722
142
0.606943
8f9c27f2bec0288afea1688409845b74108e41bd
16,391
package ec.research.gp.pareto; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import java.util.Set; import java.util.Vector; ...
27.640809
77
0.684583
f77e4a24d330d1f53687ea63cc59c62bf1c23024
1,946
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_SORT_KEY; import static seedu.address.logic.parser.CliSyntax.PREFIX_SORT_ORDER; import java.util.stream.Stream; import seedu.address.logic.co...
41.404255
111
0.754882
f440b1afc023fc5f78a68d71e1b520da31b3f23e
5,078
package com.alibaba.dubbo.transactiontree.recovery; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.springframework.beans.fact...
31.937107
126
0.735723
03a144565afffe63999c0972fb45a45120902116
8,669
/** * */ package edu.berkeley.nlp.discPCFG; import java.io.FileInputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorServi...
33.600775
139
0.681278
74d185a687dd699e3f587e604ec38aae77b9973f
1,486
package omtteam.omlib.util.world; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.common.registry.ForgeRegistries; /** * Created by Keridos on 31/01/17. * This Class imp...
41.277778
104
0.638627
ffd013ea777200e9bed4ca3de493a72f3b477bec
7,135
package cc.duduhuo.simpler.adapter; import android.app.Activity; import android.content.Intent; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; i...
33.815166
115
0.607008
d7061722309f64602a3a5143ff473d6dd3d6412c
1,150
package org.dyndns.dalance.statuslogger; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; public class OutputFilenameTextChangedListener implements Tex...
29.487179
92
0.754783
b2291f3bbf479c600493d08481d116005b037d8a
2,710
package it.redhat.demo.rest; import it.redhat.demo.jaxb.JaxbContextFactory; import it.redhat.demo.model.Clue; import it.redhat.demo.model.Task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.xml.bind.JAXB; import java...
22.396694
86
0.625461
e9538727eedf192bddb0016f5ef5ae9da66eb6db
1,494
package edu.heuet.shaohua.controller.viewobject; import javax.validation.constraints.Max; import javax.validation.constraints.Min; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; public class RegisterVO { @NotNull(message = "手机号不能为空") private String telephone; pr...
21.342857
48
0.633199
b23007a861b214bb9aff38178355ec48d33454cc
786
package com.smashdown.android.common.util; import android.util.Log; import com.google.firebase.crash.FirebaseCrash; import timber.log.Timber; public class CrashReportingTree extends Timber.Tree { private static final String CRASHLYTICS_KEY_PRIORITY = "priority"; private static final String CRASHLYTICS_KEY_T...
30.230769
87
0.698473
de9019dce9297f6a0e07923c6169bbca68df51c1
908
package com.organization.Giscle.giscle_app.Variable; /** * Created by sushen.kumaron 9/17/2017. */ public class CONSTANT { public static final String GMAIL = "gmail"; public static final String FB = "fb"; public static final String HOUR = "hour"; public static final String POINTS = "points"; pub...
32.428571
73
0.727974
7c26f7a7b2eb12c34424f9c749e097768d4108b3
506
package cn.jansen.databind; import java.util.Arrays; public class AlbumNew { private String title; private Song[] songs; public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public Song[] getSongs() { return songs; } public void set...
17.448276
81
0.624506
ec5b6807fdd117587db5237f958d029980c47679
3,132
package com.yifan.sounddemo; import android.media.AudioManager; import android.media.MediaPlayer; import android.provider.MediaStore; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.SeekBar; import java.util.Timer; imp...
36
165
0.664112
25e0e4fa265ebf82a4886961bfe28c1f5386961b
8,215
package com.exelate.training.java8refresher; import com.google.common.collect.ImmutableMap; import org.apache.commons.lang3.NotImplementedException; import org.junit.Test; import java.util.*; public class LambdaWorkshop { /* ======================= Streams with Collections ====================== */ @Test ...
25.5919
104
0.514181
6fc060e64c8132050d82d8b47067517b4ee74dc1
1,594
/* * Copyright 2015-2016 Lexteam * * 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...
24.151515
75
0.66123
bb5406bac87d1064e5a6a540f73c57a03236766e
1,689
package br.com.technologies.venom.medalertapp.services; import br.com.technologies.venom.medalertapp.models.ConsultasResp; import br.com.technologies.venom.medalertapp.models.Gerenciamento; import br.com.technologies.venom.medalertapp.models.GerenciamentoResp; import br.com.technologies.venom.medalertapp.models.Medica...
36.717391
78
0.751332
00253bf0e99e463d2eab722f9ef65d911eed800c
3,343
/* First created by JCasGen Tue Sep 03 12:34:17 CEST 2019 */ package de.julielab.jcore.types.pubmed; import de.julielab.jcore.types.Annotation_Type; import org.apache.uima.cas.Feature; import org.apache.uima.cas.Type; import org.apache.uima.cas.impl.FeatureImpl; import org.apache.uima.cas.impl.TypeImpl; import org.ap...
34.463918
219
0.70685
472ecec7d11234ba7d09d20bf9045720a82fc7ba
956
package com.scaleunlimited.flinkcrawler.fetcher; import java.util.HashSet; import crawlercommons.fetcher.http.UserAgent; public class FetchUtils { /** * @param maxSimultaneousRequests * for the fetcher that the builder will construct * @param userAgent * for the fetcher...
35.407407
114
0.699791
4afbb54b2e4db8402de7fe395989fcadf2fbaf8b
2,432
/******************************************************************************* * Copyright 2012 Danny Kunz * * 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.a...
32.426667
103
0.618421
f3a633fb1c9cc7afb8b8ca010ac4a3649274beb6
265
/** * Alipay.com Inc. Copyright (c) 2004-2017 All Rights Reserved. */ package edu.ecnu.yt.pretty.publisher.rpc; /** * * @author yt * @version $Id: Callback.java, v 0.1 2017年12月16日 下午4:54 yt Exp $ */ public interface Callback<T> { void accept(T result); }
20.384615
65
0.660377
0a3316808ca1be51f76c9b91a277aeb00fc0c0b8
1,671
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2020 Ruhr University Bochum, Paderborn University, * and Hackmanit GmbH * * Licensed under Apache License 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package de.rub.nds.tlsattacker.attacks.cca; import de.rub.nds.tls...
30.381818
90
0.755835
763ccad4c580cadef71167154b9f53bc104cdb9b
18,133
package net.osmand.plus.activities; import java.io.File; import java.text.MessageFormat; import java.util.Random; import net.osmand.access.AccessibleAlertBuilder; import net.osmand.data.LatLon; import net.osmand.plus.OsmandApplication; import net.osmand.plus.R; import net.osmand.plus.Version; import net.osmand.plus.a...
37.3107
130
0.737219
eff2b660296f12b877eff42462fc57fd59a6b464
522
package eu.midnightdust.motschen.dishes; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.minecraft.client.render.RenderLayer; public class DishesClient implements ClientModInitializer { @Override public void onInitializeClient()...
34.8
95
0.806513
e5755502588152120831644ad5d07eb9a55e7782
426
package one.yate.spring.cloud.provider.metadata.dao.mapper; import one.yate.spring.cloud.provider.metadata.dao.IBaseMapperDao; import one.yate.spring.cloud.provider.metadata.entity.OrderInfo; import org.springframework.stereotype.Repository; /** * 本段代码由sql2java自动生成. * https://github.com/yangting/sql2java * * @au...
25.058824
77
0.798122
1c05945184e614d907fe24851061b2ecc0d2d717
2,308
/* * Copyright 2014 Achim Nierbeck. * * 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.807229
91
0.751733
ff60d348ac670ac4578c8ac7ce506a03ff98f0d9
3,145
package de.einholz.ehmooshroom.container; /*XXX: Do we need this? maybe in the future package de.alberteinholz.ehmooshroom.container; import java.util.Map; import java.util.NoSuchElementException; import de.alberteinholz.ehmooshroom.MooshroomLib; import de.alberteinholz.ehmooshroom.container.component.data.NameDataCo...
39.3125
178
0.710016
635753151eba90b8e1c274257eb7dc857506803a
3,182
package com.chibusoft.bakingtime; /** * Created by EBELE PC on 6/4/2018. */ import timber.log.Timber; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.support.v7.widget.RecyclerView;...
28.159292
102
0.688561
f66e7fbc852ae6cb8974b3fa956fde37cc57b196
11,800
package li.cil.scannable.common.item; import li.cil.scannable.api.API; import li.cil.scannable.api.scanning.ScannerModule; import li.cil.scannable.client.ScanManager; import li.cil.scannable.client.audio.SoundManager; import li.cil.scannable.common.capabilities.CapabilityProviderScanner; import li.cil.scannable.common...
38.815789
195
0.653475
70ccf1974bd94f6d7141e8b3bb42fbf711cb5f4f
333
package ua.leonidius.trdinterface.controllers; import ua.leonidius.trdinterface.views.ScreenManager; public abstract class AmountSelectorController extends ItemDetailsViewController { public AmountSelectorController(ScreenManager manager) { super(manager); } public abstract void selectAmount(int...
23.785714
82
0.792793
f08975faf3e012a6e55bc37d7bf654c26a3ee608
19,311
package com.github.ricorodriges.metricui.extractor.hibernate; import com.github.ricorodriges.metricui.extractor.ExtractorUtils; import com.github.ricorodriges.metricui.extractor.hibernate.HibernateMetricExtractor.HibernateMetricResult.*; import com.github.ricorodriges.metricui.model.MeterData; import lombok.experiment...
45.978571
126
0.61017
10388a08ccfd5cc6b3b0cd5c3acdd98e341931a4
516
package vZ80.instruction.access; import vZ80.VirtualMachine; public interface I8bitAccessor { //---------------------------------------------------------- // STATIC VARIABLES //---------------------------------------------------------- //--------------------------------------------------------...
30.352941
61
0.341085
046e9dec44a04c1f671b02d756a97732209533d2
694
package com.neo.sword2offer.q25; import com.neo.struct.ListNode; public class Solution { public ListNode merge(ListNode list1, ListNode list2) { if (list1 == null) { return list2; } if(list2 == null) { return list1; } ListNode head = null; ...
21.6875
70
0.517291
91ce1e36e278f412fdc68165ca45e47c2eda73af
534
package com.jozufozu.flywheel.core.source; import com.jozufozu.flywheel.core.source.span.Span; public interface FileIndex { /** * Returns an arbitrary file ID for use this compilation context, or generates one if missing. * * @param sourceFile The file to retrieve the ID for. * @return A file ID unique to th...
26.7
95
0.754682
8d98a6eb1350ad1db0760e2f5682409c80eab64a
936
package com.matas.liteconstruct.db.models.companyrelations.repos; import java.util.List; import java.util.UUID; import com.matas.liteconstruct.db.models.companyrelations.abstractmodel.CompanyRelationsAbstract; public interface CompanyRelationsRepository { void addCompanyRelations(CompanyRelationsAbstract company...
36
98
0.856838
04df33a2cd6f0beb5df962e7174230154bf32b9e
2,432
package top.ss007.springlearn.model; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.core.env.Environment; import org.springframework.stereotype.Repository; import top.ss007.springlearn.config.*; import top.ss007.sprin...
29.301205
179
0.720806
2b1517c85fff08e59677128eccd0c9758f75cea4
1,076
package prankmailrobot.config; import prankmailrobot.model.mail.Person; import java.util.ArrayList; /** * Interface à implémenter pour être un parser de la configuration de PrankMailRobot. * @author Forestier Quentin et Herzig Melvyn * @date 16/04/2021 */ public interface IConfigurationManager { /** * Get...
21.52
85
0.660781
c39c76d3b374e49f0e1e6471153d6557dfe08707
945
/* Copyright (C) 2005-2011 Fabio Riccardi */ package com.lightcrafts.app; import com.lightcrafts.ui.toolkit.CoolButton; import javax.swing.*; /** * A button that does something at the ComboFrame level, interacting with * top-level components and displayed in a LayoutHeader. */ abstract class FrameButton extends ...
24.868421
73
0.689947
cb314d6c931d8029bc04f563cf335ce8f8c56af6
208
package com.quarkdata.yunpan.api.service; /** * Created by yanyq1129@thundersoft.com on 2018/6/4. */ public interface ExternalUserService { /** * 定时删除过期系统账号相关数据 */ Long timingDelete(); }
17.333333
52
0.668269
91753baf2bb7b51051486474db0d882b17dfbd72
3,439
package mitsk.gui; import javax.swing.*; import javax.swing.border.EmptyBorder; import java.awt.*; public class GUI extends JFrame { private Integer clients = 0; private JTextField clientsTextField = new JTextField(clients.toString()); private Integer impatient = 0; private JTextField impatientText...
26.05303
81
0.624019
d632fa96cc580e76265eda8bf8f4a81ff8134db7
1,869
package io.atomix.core.iterator.impl; import java.util.Queue; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ConcurrentLinkedQueue; import io.atomix.core.iterator.AsyncIterator; import io.atomix.utils.concurrent.Futures; import io.atomix.utils.stream.StreamHandler; /** * Stream handler i...
25.958333
85
0.676297
657da9511254dcfa5f68629ce60dbe5083da1096
207
package com.xxdb.data; /* * Interface for dictionary object */ public interface Dictionary extends Entity{ DATA_TYPE getKeyDataType(); Entity get(Scalar key); boolean put(Scalar key, Entity value); }
17.25
43
0.748792
b056f94dd4ae90019940f343e9b860ee4d6318d1
1,121
package com.Project3.Server.Service; import static org.junit.Assert.assertEquals; import javax.inject.Inject; import org.json.JSONException; import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import...
20.759259
60
0.752899
f01c14fed3b80802471e0835cced262ac081f506
3,148
//Licensed under the MIT License. //Include the license text thingy if you're gonna use this. //Copyright (c) 2016 Chansol Yang package com.cosmicsubspace.nerdyaudio.visuals; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.view.SurfaceHolder; import com.co...
25.593496
101
0.553367
dce7428e067ee01bf77a00140331631a14948932
538
package com.velocitypowered.api.util; /** * Represents where a chat message is going to be sent. */ public enum MessagePosition { /** * The chat message will appear in the client's HUD. These messages can be filtered out by the * client. */ CHAT, /** * The chat message will appear in the client's H...
24.454545
100
0.680297
1ecb3683a5870b0d0789993a6a99b2e4ef0a80fd
759
package ru.job4j.calculator.array; /** * удаление Удаление дубликатов в массиве. *@author afanasev sergei(qwerr75@mail.ru) * */ public class ArrayDuplicate { public String[] remove(String[] array) { int n = array.length; for ( int i = 0, m = 0; i != n; i++, n = m ) { for ( ...
21.685714
58
0.383399
5b09dd4ebc9ecbdd59fb6798eb6f6a0542f246c0
10,087
package com.github.hollykunge.security.admin.biz; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.github.hollykunge.security.admin.annotation.FilterByDeletedAndOrderHandler; import com.github.hollykunge.security.admin.api.dto.AdminUser; import...
41.171429
157
0.651333
cf94498ff69ed5daa77e015a0725c805bb4e1d74
81
package com.tarkiflettes.main; public enum MirrorType { MIRROR, FIX, WALL; }
9
30
0.728395
6fba45414f9575650318434df09094b51228e51d
334
package techloxa.gamificacion.juego3d; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Juego3dApplication { public static void main(String[] args) { SpringApplication.run(Juego3dApplication.class, args); }...
22.266667
68
0.820359