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
a85731a0f4cca3fa9f75b90d8f733f7d80a4c43a
6,590
package link.thingscloud.spring.boot.common.redis; import cn.hutool.core.date.DateUtil; import cn.hutool.core.thread.ThreadUtil; import link.thingscloud.spring.boot.common.constant.NumberConstant; import link.thingscloud.spring.boot.common.redis.callback.RedisResponseCallback; import link.thingscloud.spring.boot.commo...
37.443182
181
0.61047
facf95ec0842744f6e04d63e2659f3b7d0da1e90
1,011
package com.aas.samples.customerproducts.web; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; ...
26.605263
87
0.70821
c0e7cd80512f2ec77199003376dfeeb42dd538bc
792
package br.com.leonardo.mercadolivre.model; import javax.persistence.*; import javax.validation.Valid; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @Entity public class Caracteristica { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; ...
19.317073
58
0.664141
ba13dad6328d52fb960b07f4391580f1ecc8742d
16,081
/* * Copyright 2017-present Open Networking 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 appli...
33.92616
119
0.58479
6f767945cae6d71a49b54134a4b60835117f0e82
223
package org.goplayer.game.strategy; import org.goplayer.go.Goban; import org.goplayer.move.IMove; import org.goplayer.player.IPlayer; public interface IStrategy { public IMove chooseMove(Goban goban, IPlayer player); }
20.272727
54
0.798206
5a7b15e488d72f7c40a50a985dca2b59446f7f89
1,244
package com.project.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.ManyToOne; @Entity @Table(name="feedback_table") public ...
16.368421
46
0.735531
93513f76667329e6a7f86a39aaedcffe4afd59ae
726
package com.alibaba.alink.operator.stream.dataproc; import org.apache.flink.types.Row; import com.alibaba.alink.operator.stream.StreamOperator; import com.alibaba.alink.operator.stream.source.MemSourceStreamOp; import org.junit.Test; import java.util.Collections; import java.util.List; public class TensorToVectorSt...
25.034483
90
0.761708
3df801a0311bc7e3672ced4e4ad1f7d7f5dd313d
8,132
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
31.51938
121
0.645475
cc597b1d3dcdf33b13c3ad23291ae709ceaa2706
958
package me.Allt.borderhunt; import org.bukkit.Bukkit; import org.bukkit.WorldBorder; import org.bukkit.scheduler.BukkitRunnable; public class BorderTask extends BukkitRunnable { //Reference to Main.java Main plugin; //How much blocks to increment int increment; //Constructor public BorderTask(Ma...
29.030303
163
0.683716
53859faa251bd4e5c983af43e47a77bf6686c206
2,770
package com.wallee.android.sdk.request.model.method; import android.os.Parcel; import android.os.Parcelable; import java.io.Serializable; /** * The payment method icon represents the data associated with an icon of a payment method. * * <p>We fetch the icon data from the remote server. To display and to cache the...
30.43956
100
0.644043
5e08beb48deea0a9f06d8552b0e9cf8063b019dc
127
package tomPack; public class DecoderException extends Exception { public DecoderException(Exception e) { super(e); } }
12.7
49
0.748031
6d91f9d7fcc26378a82ec479bd135ac935863eab
5,248
package com.aliyun.tair.tests.tairroaring; import org.junit.Test; import redis.clients.jedis.ScanResult; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; public class TairRoaringClusterTest extends TairRoaringTestBase { @Test public void trbitstests() { ...
36.444444
108
0.61795
22c6ae20818d586190d2ec8463c4b907e514c6b8
1,949
/* * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
31.435484
75
0.576706
1e783d2b5b931503c977a4f28412aa3782eebf25
5,907
/* * Copyright (C) 2012 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...
34.343023
100
0.714068
9f1fdd5f827acf9eb1a971862434716527875c19
2,647
package com.jofkos.utils.messages; import java.io.BufferedWriter; import java.io.File; import java.lang.reflect.Field; import java.nio.charset.StandardCharsets; import org.bukkit.ChatColor; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit....
25.699029
117
0.700416
5277c84f5e304a9e9ca4fac81dfba31ad8122519
112
interface Bar { boolean equals(Object obj); } interface Foo extends Bar { int compare(String o1, String o2); }
28
64
0.732143
c3f961226956c8d3d2de9bd431cca6d7934b23c3
1,201
package com.almis.awe.builder.screen.component; import com.almis.awe.builder.enumerates.Expandible; import com.almis.awe.builder.screen.base.AbstractAttributes; import com.almis.awe.builder.screen.base.AweBuilder; import com.almis.awe.model.entities.Element; import lombok.Getter; import lombok.Setter; import lombok.ex...
24.510204
84
0.715237
6c6366c9a98aa16f6df85cac3451e91ddbe2b528
2,770
/* * Copyright © 2013-2016 The Nxt Core Developers. * Copyright © 2016-2018 Jelurida IP B.V. * * See the LICENSE.txt file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with Jelurida B.V., * no part of the Nxt software, in...
35.512821
142
0.644404
72e18c9c277315571538f538c446030d59d42493
503
package com.xuecheng.manage_course.dao; import com.xuecheng.framework.domain.course.Teachplan; import org.springframework.data.repository.CrudRepository; import java.util.List; /** * @author atom */ public interface CoursePlanRepository extends CrudRepository<Teachplan, String> { /** * 查询课程指定父ID的所有节点列表 ...
22.863636
81
0.727634
72c2b1887a5ae3cb13d14906710da05e8f878305
4,518
/******************************************************************************* * Copyright 2018 Samsung Electronics 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...
47.557895
81
0.73019
ff77b5e197209ebf1ddd3ba7b461d19ee93528b5
4,355
package Client; import Server.ServerManagerInterface; import utils.utils; import java.rmi.Naming; /** * Thread che si occupa di contrallare la connessione con i data nodes, se tutti i data nodes sono crashati viene lanciato un errore. * Si occupa inoltre di controllare la connessione con il server manager...
38.201754
160
0.527899
a7f6b6e0c41ec909a2556a7959b7665f5fb2dfd0
1,694
package com.cncounter.boot; import cn.org.rapid_framework.generator.GeneratorFacade; import cn.org.rapid_framework.generator.GeneratorProperties; import cn.org.rapid_framework.generator.util.ArrayHelper; import cn.org.rapid_framework.generator.util.SystemHelper; import java.io.File; public class Main { public s...
34.571429
100
0.636954
f77c34820287c2d227a480ec54aaa9923aa041c3
8,834
/* * Copyright (C) 2015 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...
40.898148
104
0.528073
045f15eb750fdd048e8971a5d35af6b9abcc5175
2,510
package com.aline.transactionmicroservice.dto; import com.aline.core.validation.annotation.AccountNumber; import com.aline.transactionmicroservice.model.TransactionMethod; import com.aline.transactionmicroservice.model.TransactionStatus; import com.aline.transactionmicroservice.model.TransactionType; import lombok.All...
26.702128
66
0.70239
d8fb7319b4313152d979bdcb9092242b2dbd02e2
106
package com.dilipkumarg.gmp.productsstore.models; public interface Identifiable<ID> { ID getId(); }
15.142857
49
0.745283
9473eb201c2bb9cb4ae685e293a9ed66c39f83af
1,619
package com.supervise.config.mysql.druid; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.Ordered; import org.springframework.stereotype.Component; /** */ @Aspect @Component public class Re...
36.795455
97
0.650401
8555e877d1544ce837b51a969f6e1d17d3cc1bf7
763
package com.packt.webstore.validator; import java.math.BigDecimal; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import com.packt.webstore.domain.Product; @Component public class UnitsInStockValidator implements Validato...
30.52
131
0.778506
0f3384c55b1dbbab2286f9bc0da7a8527051e8b2
1,328
package com.devepos.adt.atm.ui.internal; /** * Image Ids in the Plugin * * @author stockbal */ public interface IImages { /** * Image id for Tag image */ String TAG = "IMG_TAG"; /** * Image id for User Tag image */ String USER_TAG = "IMG_USER_TAG"; /** * Image id for creating a new User T...
22.133333
63
0.664157
77c83c60728bb08bda270ee8df61e7a1b77f0dc3
837
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.master.historicaltimeseries; import java.util.Collection; /** * Selects the best match from multiple time-series candidates based on rules determined by the...
33.48
124
0.759857
1a7f657b012eb931746a1edd127ff92973ab6f23
4,247
package tss.tpm; import tss.*; // -----------This is an auto-generated file: do not edit //>>> /** This command performs ECC decryption. */ public class TPM2_ECC_Decrypt_REQUEST extends TpmStructure { /** * ECC key to use for decryption * Auth Index: 1 * Auth Role: USER *...
31.932331
130
0.600188
3503d5fc29bb7f9dba0a580f112533d2f29515bc
1,665
/* * Copyright 2016, 2017, 2018, 2019 FabricMC * Copyright 2022 QuiltMC * * 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...
37.840909
109
0.804204
6edeb5362efb08ddb90da5e9f0807ff41f1829e0
1,095
import javaslang.collection.Tree; import java.util.LinkedList; import java.util.List; public class BoxTree { public static <T> Box box(Tree<T> tree) { if (tree.isEmpty()) return new Box("▣"); Box b = new Box(tree.getValue().toString()).frame(); if (tree.isSingletonType()) ...
30.416667
68
0.439269
4e1998b8c378112e462f4cd37b41c2bec5a5d1ae
636
/* * Copyright (c) 2012-2020 Cumulocity GmbH * Copyright (c) 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, * and/or its subsidiaries and/or its affiliates and/or their licensors. * * Use, reproduction, transfer, publication or disclosure is prohibited except as specifically pro...
26.5
103
0.713836
52e5be823865a7cd0cf5bb4daaf6e23238da2057
555
package com.javarush.task.task09.task0911; import java.sql.SQLOutput; import java.util.HashMap; /* Исключение при работе с коллекциями Map */ public class Solution { public static void main(String[] args) throws Exception { //напишите тут ваш код try { HashMap<String, String> map = ...
20.555556
76
0.598198
851bda496dbfab8ec4ecfd94fc646cc7fc8af9fa
1,679
package com.bylak.network.neural; import com.bylak.network.function.ActivationFunction; import com.bylak.network.layer.Layer; /** * Created with IntelliJ IDEA. * User: Artur.Bylak * Date: 04.10.13 * Time: 16:23 * To change this template use File | Settings | File Templates. */ public final class NeuralNetworkFa...
34.265306
109
0.702799
2db244ae5aada1e960880cfea47756050a178263
2,293
package Thiago.cdg; import java.io.*; import java.util.ArrayList; import java.util.List; public class Arquivo { public void write(List<Funcionario> funcionarios) { OutputStream os = null; OutputStreamWriter osw = null; BufferedWriter bw = null; try { os = new FileOut...
26.976471
111
0.525076
2475c4d88775dbd1f27fb30b349aad0c027e7339
7,195
package io.highfidelity.hifiinterface.fragment; import android.app.Fragment; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AlertDialog; import android.support.v7.widget.GridLayoutMana...
35.975
114
0.642113
58c969f31c453bc05edb79bacefba78d2a185f3f
5,486
package biz.suckow.fuelservice.business.refuelling.entity; /* * #%L * fuel * %% * Copyright (C) 2014 Suckow.biz * %% * 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://...
28.572917
122
0.651841
5589ced30180aab689a6170f2fb665dd249f69e5
3,456
/* * Copyright (c) 2014 Spotify AB. * * 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,...
32.603774
95
0.710648
849390060080461163ff27c2c3ade593badce303
305
package cn.haohaoli.book.headfirst.strategy.version6.impl.quack; import cn.haohaoli.book.headfirst.strategy.version6.QuackBehavior; /** * @author liWenHao * @date 2019/1/8 20:48 */ public class MuteQuack implements QuackBehavior { @Override public void quack() { //什么都不做 不会叫 } }
19.0625
66
0.704918
54d9f0fcf374328737440923c96bc28bc5fd40ff
2,722
/* * The contents of this file are subject to the license and copyright detailed * in the LICENSE and NOTICE files at the root of the source tree. */ package org.duraspace.bagit.serialize; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Optional; import org.apach...
36.783784
105
0.609111
08c85178fd0ba4b19fcd2406cc6b39fa62d8267f
8,398
/** * Copyright (c) 2011-2015, James Zhan 詹波 (jfinal@126.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 * * Unless required...
26.660317
120
0.59788
eafed0244a5c5c4e350f659d581957ec895b51bc
8,376
package org.strongswan.android.ui; import android.app.Service; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; import android.net.VpnService; import android.os.Bundle; import android.os.IBinder; import and...
33.504
110
0.63479
f74a919459512c41ccacdc6adcdd9e3473a44cf6
13,589
package slimeknights.tconstruct.world; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraft.block.ComposterBlock; import net.minecraft.block.SlimeBlock; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.data.DataGenerator; impo...
65.966019
277
0.777026
929d4381a7202794987dc90782693d7305c5bf72
5,296
/******************************************************************************* * Copyright (c) 2010 Composent, Inc. and others. All rights reserved. This * program and the accompanying materials are made available under the terms of * the Eclipse Public License v1.0 which accompanies this distribution, and is * avail...
40.738462
177
0.745846
9a7cb4470a715d00869abfa6a9289e5a2f983299
352
package tests; import org.testng.annotations.Test; /** * Created by Andrii.Fiedosieiev on 10/12/2017. */ public class GroupCreationTest extends TestBase { @Test public void testGroupCreation() { app.goTo().homePage(); app.goTo().adminPage(); app.goTo().groupPage(); app.group...
19.555556
49
0.636364
1e95c8f2efb916c72f27bd31f73e565b4fbe8c50
877
package com.example.springboottesting.dto; public class UpdateEmployee { private String names; private String salary; private String title; private String location; public UpdateEmployee(String names, String salary, String title, String location) { this.names = names; this.salary = salary; this...
17.897959
85
0.672748
19f28a7c037164492818e95fef6f31dd777c84a2
1,952
/** * This is the testing file for the ripple adder class. * @author Sheng hao Dong * */ public class rippleAdder_Test { /** * This the method that will hold all the testing for ripple adder. */ public void runTest() { // The testing data int[] test_data = {550, -355, 1028, -5500 }; int[] test_data2...
33.655172
81
0.641906
2badf9dad326b12cdedc163446a0196c6eebd94d
3,432
package com.arui.srb.core.service.impl; import com.arui.srb.core.enums.TransTypeEnum; import com.arui.srb.core.hfb.FormHelper; import com.arui.srb.core.hfb.HfbConst; import com.arui.srb.core.hfb.RequestHelper; import com.arui.srb.core.mapper.UserBindMapper; import com.arui.srb.core.pojo.bo.TransFlowBO; import com.arui...
34.666667
119
0.713287
af979684285027b0cd850305c280b3f5065e3ebe
1,078
package edu.kit.informatik.campusmanagement; /** * A user of a campus management system. * * @author Tobias Bachert * @version 1.00, 2016/08/11 */ abstract class User { private final String forename; private final String surname; /** * Creates a new {@code User} with the provided arg...
19.6
85
0.524119
b64b5356041939d01cd8e7d2a5b048b32edc540b
6,159
// Generated from /home/florian/Workspace/stream-thoughts/GitHub/kafka-connect-file-pulse/connect-file-pulse-expression/src/main/antlr4/io/streamthoughts/kafka/connect/filepulse/expression/parser/antlr4/ScELParser.g4 by ANTLR 4.8 /* * Copyright 2019-2020 StreamThoughts. * * Licensed to the Apache Software Foundatio...
30.490099
229
0.715863
4169e7da1e65a0bec6a7b0abe2edf9e494d39766
14,872
/******************************************************************************* * Copyright (c) 2007 IBM Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at...
32.12095
134
0.656401
b7da776c22e9d22c55c566a6247be7cfde632ef6
413
package org.openbooth.imageprocessing.processors; import org.openbooth.imageprocessing.exception.ProcessingException; import java.awt.image.BufferedImage; /** * This interface is used for any operation dealing with images, * the given image is processed and the resulting image is returned. */ public interface Ima...
25.8125
74
0.806295
dbe63ef7ce414a1f370dae69c695bc63a198c5d6
66
package adapter; public interface Toy { public void squeak(); }
11
22
0.727273
c301da185fbe9c7aca8468713c5fb6989cc2ea30
171
package armitage; public interface ConsoleCallback { public void sessionRead(String sessionid, String text); public void sessionWrote(String sessionid, String text); }
24.428571
57
0.807018
cfb989e159ec6720ad287fc7412272c27ef6f1d9
4,011
package io.muun.apollo.presentation.ui.view; import io.muun.apollo.R; import io.muun.apollo.domain.model.CountryInfo; import io.muun.apollo.presentation.ui.bundler.CountryInfoBundler; import io.muun.apollo.presentation.ui.select_country.SelectCountryActivity; import io.muun.apollo.presentation.ui.utils.UiUtils; impor...
27.662069
85
0.675642
80f6a0b1e88e3b2a91fd94ba0e706e056bf99080
2,731
package habib.webservice.Fragemnts; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ListView; import android.widget.Tex...
35.467532
147
0.59978
6da4c43c902e5935a881b63151724dadcdda7883
4,344
package de.agrirouter.middleware.integration; import com.dke.data.agrirouter.api.enums.SystemMessageType; import com.dke.data.agrirouter.api.service.parameters.CloudOnboardingParameters; import com.dke.data.agrirouter.impl.messaging.mqtt.CloudOnboardingServiceImpl; import de.agrirouter.middleware.api.errorhandling.Bus...
59.506849
131
0.80732
d2392f32b1a535ebfc37fb19d974ebcf8b130e5d
4,869
/* * Copyright (c) 2006, 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 * * ...
44.263636
102
0.741631
1023e85797b253e0c79b79be8d18c7ca639b1188
271
package com.android.xpc.zxing.decode; import com.android.xpc.zxing.decode.object.EncoderObject; import com.google.zxing.WriterException; import android.graphics.Bitmap; public interface Encoder { Bitmap createQRCode(EncoderObject object) throws WriterException; }
20.846154
66
0.819188
9c879f10919be5aeababa11e3ba7389c30007b47
465
package com.baigaoli.decorate; /** * Created by likaisong on 2019/3/31. */ public class TestDecorate { public static void main(String[] args){ Iphone iphone8 = new EarphoneDecorate(new Iphone8()); iphone8.desperation(); System.out.println("================"); Iphone iphone7 = new ...
27.352941
61
0.617204
0b18224ae3aa1a1b2f9e1a394085e2dbcda97223
6,302
package com.qunar.superoa.controller; import com.qunar.superoa.dto.ActivitiDto; import com.qunar.superoa.dto.PageAble; import com.qunar.superoa.dto.Result; import com.qunar.superoa.model.UserAttachment; import com.qunar.superoa.service.AdminActivitiServiceI; import com.qunar.superoa.utils.MinioUtils; import com.qunar....
37.736527
126
0.756744
79868ff4f01ea31001e02728ae6551294862f178
953
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestCo...
32.862069
81
0.814271
59d5f02a80b2f9c6ec7e23d8b79858dca546c9b5
6,424
/* * Copyright 2022 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 ...
41.179487
99
0.674035
7f7a03734aff331e3490d6246fda47629db55a77
82
package app.converter.model; public interface CurrencyDTO { String getName(); }
13.666667
30
0.768293
536a156bb9691693870c888b2207a39c538c9a2c
3,604
package com.dsg.xsimsel; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.components.AbstractProjectComponent; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.SelectionModel; import com.intellij.openapi.editor.event.SelectionListener; import com.intellij.openapi.fil...
39.173913
115
0.647891
9314c049bf3a155985abe5e670e369d80f6a5141
5,858
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
30.041026
111
0.67139
90182e37eae9ecea7169dfd01979034124ecd85d
7,488
package labs.pm.data; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Comparator; import static java.math.RoundingMode.HALF_UP; import static java.math.BigDecimal.valueOf; import static labs.pm.data.Rating.*; /** * <p>ProductManagement Created by Home Work Stud...
28.363636
151
0.598958
3f4fd0303bb0da282f4eeaf7a0dd632e83a174d8
1,629
package it.fvaleri.integ; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.vertx.core.AbstractVerticle; import io.vertx.core.Promise; import io.vertx.ext.bridge.PermittedOptions; import io.vertx.ext.web.Router; import io.vertx.ext.web.handler.StaticHandler; import io.vertx.ext.web.handler.sockjs.Soc...
37.883721
109
0.698588
c8324f39ec205c684214a58d2eb3030f9b7dac9d
2,654
package com.github.gv2011.util; /*- * #%L * The MIT License (MIT) * %% * Copyright (C) 2016 - 2017 Vinz (https://github.com/gv2011) * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Softwa...
34.467532
85
0.747928
38b127cb6037a4e2ca6d190b3c7b9af65f19cd41
2,017
package com.youlai.common.constant; public interface AuthConstants { /** * 认证请求头key */ String AUTHORIZATION_KEY = "Authorization"; /** * JWT令牌前缀 */ String AUTHORIZATION_PREFIX = "bearer "; /** * Basic认证前缀 */ String BASIC_PREFIX = "Basic "; /** * JWT载...
19.582524
118
0.611304
2fc48dfc92b48db7ad19371ae6d1da7e5db34d76
6,092
package org.apache.tinkerpop.gremlin.orientdb; import org.apache.tinkerpop.gremlin.structure.T; import org.apache.tinkerpop.gremlin.structure.Vertex; import org.junit.Assert; import org.junit.Test; /** * Created by Enrico Risa on 11/08/2017. */ public class OrientGraphQueryTest extends OrientGraphBaseTest { @Tes...
26.258621
117
0.637722
ef4665eea76fe059ecb1a88a8d317b568cc63347
3,939
/* * 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 ...
27.165517
100
0.613861
f4b7937a40543658bf8abf708a764fd84c76aa28
20,082
/* * 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 ...
46.486111
198
0.70476
b206809f5e5cf1d002e357383c8d0dcee696ea91
990
package uk.gov.companieshouse.document.generator.company.report.mapping.model.document.items.pscs.items; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonProperty; @JsonInclude(Include.NON_NULL) public class N...
30.9375
104
0.784848
df7ed20c2cad822ba7383f438934f057074ee9b7
3,888
package com.epam.reportportal.testng; import com.epam.reportportal.service.ReportPortal; import com.epam.reportportal.service.ReportPortalClient; import com.epam.reportportal.testng.integration.TestNgListener; import com.epam.reportportal.testng.integration.feature.description.DescriptionTest; import com.epam.reportpo...
45.209302
110
0.804784
2b5f54caaa8baa7d5c85e49e7483bb29503aa5e3
4,024
package DataStyle.TextOperation; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.sql.*; import java.util.ArrayList; import java.util.List; /** * Created by Administrator on 2017/10/12. */ ...
36.252252
157
0.475398
de3c61a9175f21338d9dfc4974dea7e123486668
5,017
/** * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, s...
36.093525
164
0.627467
e79ccb14e9a39c050ea746ae5fe9903d6fdfef79
1,872
package pt.lsts.imc4j.util; import pt.lsts.imc4j.msg.Abort; import pt.lsts.imc4j.msg.Message; import java.util.ArrayList; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import java.util.function.Consumer; /** * This interface supplies a cl...
37.44
124
0.663996
743db9d73ddcf0cc26ccac328f885f5453547169
218
package icu.funkye.service; import com.baomidou.mybatisplus.extension.service.IService; import icu.funkye.entity.Account; /** * * @author Funkye */ public interface IAccountService extends IService<Account> { }
15.571429
60
0.766055
8f60ffbf4c4869b14ae63432a2fa5dc670e06414
21,580
/** * copyright Ed Sweeney, 2012, 2013 all rights reserved */ package com.onextent.augie.camera.fonecam; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Set; import android.app.DialogFragment; import android.graphics.ImageFormat; import android.hardware.Camera; import...
28.658699
99
0.530306
1ba880ba0679749d833357483d7681af56d95875
4,959
package com.tom.defense.block; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.properties.PropertyInteger; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.entity...
31.585987
136
0.770518
5b73f8e923f59d22239d3cc9d94aa7f334fb23c6
676
package org.hasan.java11; import org.junit.jupiter.api.Test; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; public class Java11Test { @Test public void testNewStringMethods() ...
26
91
0.676036
8f0214477e90239fddf3cc3eaf509a919a8a0ff2
1,000
package com.esotericsoftware.SpineLegacy; public class Event { final float time; final private EventData data; int intValue; float floatValue; String stringValue; public Event(float time, EventData data) { this.time = time; this.data = data; } // public int getInt() { ...
19.607843
50
0.554
cd71b67fd28697b66366d17812ca37c8f2f3b325
1,612
package com.gentics.mesh.core.rest.user; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.gentics.mesh.core.rest.common.RestModel; /** * A user reference is a basic rest model POJO that contains a reference to a user in form of the firs...
18.964706
135
0.691687
e792d5c2956f7dbc670065e5aa3eb93071de20f8
2,616
package neko.utils; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import org.lwjgl.opengl.GL11; import static org.lwjgl.opengl.GL11.glEnable; import static org.lwjgl.opengl.GL11.glDisable; import static org.lwjgl.opengl.GL11.GL_SCISSOR_TEST; public class MultipleGLScissor {...
27.536842
123
0.582951
bd6cef3f7abd335c070264c268c086e065296a15
3,596
package org.motechproject.scheduletracking.api.domain.search; import org.joda.time.DateTime; import org.junit.Before; import org.junit.Test; import org.mockito.Matchers; import org.mockito.Mock; import org.motechproject.scheduletracking.api.domain.Enrollment; import org.motechproject.scheduletracking.api.domain.Window...
48.594595
167
0.770578
75ee93242bc47fadbedb6aaaef7ac94965c6fb41
1,434
package io.siddhi.distribution.event.simulator.core.impl; import io.siddhi.distribution.common.common.exception.ResourceNotFoundException; import io.siddhi.distribution.common.common.exception.ResponseMapper; import io.siddhi.distribution.event.simulator.core.api.SingleApiService; import io.siddhi.distribution.event.s...
47.8
115
0.74198
c7298854166e4e08f067ae3498a752d594f05f67
13,031
package uk.co.automatictester.lightning.core.state.tests; import org.testng.annotations.Test; import uk.co.automatictester.lightning.core.AbstractConsoleOutputTest; import uk.co.automatictester.lightning.core.readers.JmeterBean; import uk.co.automatictester.lightning.core.readers.PerfMonBean; import uk.co.automatictes...
46.874101
216
0.674008
c38db72335594ca582c11ab8fb92c6c14258adf6
5,043
package org.moparscape.elysium.net.codec.decoder; import io.netty.buffer.ByteBuf; import org.moparscape.elysium.net.codec.decoder.message.*; /** * Created by daniel on 14/01/2015. */ public final class ItemMessageDecoders { public static final class ItemDoorMessageDecoder extends AbstractMessageDecoder<ItemDoo...
34.77931
114
0.657743
cadf8324749afdefac4bda19cd5a7ec1e009aa4d
2,228
package org.uniprot.store.datastore.member.uniref; import java.util.Objects; import java.util.function.BinaryOperator; import org.uniprot.core.uniref.RepresentativeMember; import org.uniprot.core.uniref.impl.RepresentativeMemberBuilder; import org.uniprot.core.util.Utils; /** * @@author sahmad * * @created 28/07/...
30.944444
97
0.653052
e825a49a69a07231aa9cbccf64edcd6f0954aeee
316
package com.widowvm.widowvm.delete; import com.widowvm.widowvm.interfaces.ResponseInterface; public class DeleteResponse extends ResponseInterface { public DeleteResponse(String name, boolean status) { super(name, status); } public DeleteResponse(String name){ super(name); } }
18.588235
56
0.71519
ec33c580149efb3a955e0c2665dfe86d743bf636
4,611
package com.microsoft.azure.elasticdb.shard.unittests; import java.io.IOException; import java.io.InputStream; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; import java.util.Properties; import com.microsoft.azure.elasticdb.shard.sqlstore.SqlConnect...
37.185484
149
0.673607
3d4ad1362ed9ace1b26d5fb0038727e9ab075b1e
3,580
package gui.view; import java.util.List; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.Button; import javafx.scene.control.ComboBox; import javafx.scene.control.Label; import javafx.scene.control.Lis...
23.096774
90
0.712849
0f3e7c1849e714e5b40a947970f4a3da80aace7c
1,011
/* * 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 dam2_psp_4.pkg9_productorconsumidorbuffercircular; /** * * @author Alexis */ public class Main { /** * @param arg...
26.605263
79
0.614243
c7cdc04d1a7dff29b520b3e33d039d1c0ceee56f
84,904
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: sentinel/subscription/v1/genesis.proto package sentinel.subscription.v1; public final class Genesis { private Genesis() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public stat...
40.819231
234
0.656542
6c886372f20c9be8f173f69bb3b71170d2779b8d
571
package com.study.soulhouse.helps; import com.study.soulhouse.Gson.Song; import java.util.Deque; import java.util.LinkedList; import java.util.List; public class playListHelp { private Deque<Song> SongQueue; private static playListHelp pLH; public static playListHelp getInstance(){ if(pLH==null)...
21.961538
45
0.583187
85dd57c9976614652382ace49d15ca5c67ca6591
2,477
/* * Copyright 2015 The OpenDCT Authors. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
32.592105
155
0.675414
eedf78845de3a7fbc88b54b3fee94704f8ab3ffc
1,900
// This file was generated by Mendix Studio Pro. // // WARNING: Only the following code will be retained when actions are regenerated: // - the import list // - the code between BEGIN USER CODE and END USER CODE // - the code between BEGIN EXTRA CODE and END EXTRA CODE // Other code you write will be lost the nex...
33.928571
133
0.751053
9f21436bfff712b7a846fd7d09255da5e11521af
379
package com.meteor.design.pattern.behavior.state; import lombok.Data; /** * 环境类 * * @author: luoguihan * @date 2019-03-25 * @version: 1.0 */ @Data public class Context { private State state; // 定义环境类的初始状态 public Context() { this.state=new ConcreteStateA(); } // 对请求做处理 publ...
13.068966
49
0.585752