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
888353837f30324115c4d6d595b34fc27f3e3cce
1,882
/* * Copyright 2021 Steinar Bang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
26.507042
83
0.659936
fd9c973690e7237bcef26b6cd067e61848ed0acb
3,537
/* * Copyright 2016-2017 Testify 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 applicable law or...
28.756098
78
0.658468
5d1d8be7c68572f52a3f32140396c2093c2e09f7
2,718
/** * Copyright 2013 <kristofa@github.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 by applicabl...
30.539326
116
0.681383
db7209cb197b84fa9fe30bde8393b170a1e001c7
1,960
package com.tts.service; import com.tts.util.DateUtils; import com.tts.util.WXUtils; import com.tts.util.XmlHelper; import com.tts.weixin.MessageType; import com.tts.weixin.request.TextMessageRequest; import com.tts.weixin.response.TextMessageResponse; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logg...
36.296296
223
0.67398
71c9cedcafb4a23e2ce2584ae5ccc735cf39ec2d
1,480
package com.billy.android.swipe.demo.util; import android.app.Activity; import android.graphics.Color; import android.os.Build; import android.view.View; import android.view.WindowManager; /** * @author billy.qi */ public class Util { public static boolean setStatusBarTransparent(Activity activity, boolean dar...
43.529412
119
0.715541
a793f32513990ae6a4a6727eb54ef353f957a809
1,949
package com.symbol.wfc.pttpro.intent; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.List; public class SpinnerAdapter ex...
34.192982
119
0.710108
1dff1231ac063b956eff8b7f8cc4e9c8cbd04bb7
92
package br.com.olimposistema.aipa.anexo; public interface PathAnexo { String getPath(); }
15.333333
40
0.771739
8622fd3ef40d51ae795cd0364b291a1b4ac882c7
3,803
/* * © Copyright IBM Corp. 2010 * * 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.172131
89
0.656587
ea6e7dd9bf697ca15391691874bde8e14680c016
343
package com.home.commonBase.constlist.generate; import com.home.commonBase.config.game.enumT.SceneTypeConfig; /** 场景类型(generated by shine) */ public class SceneType { /** 长度 */ public static int size=1; /** 获取实例类型 */ public static int getInstanceType(int type) { return SceneTypeConfig.get(type).in...
20.176471
62
0.696793
53bc1bf2d9d7eec0f993eed43339195a2e040f11
18,237
package hudson.plugins.disk_usage; import hudson.plugins.disk_usage.unused.DiskUsageNotUsedDataCalculationThread; import hudson.Extension; import hudson.Plugin; import hudson.Util; import hudson.model.*; import hudson.model.Item; import hudson.model.RootAction; import hudson.plugins.disk_usage.unused.DiskUsageItemGrou...
42.709602
176
0.695125
c25919c40cc15196c98a2593bd981c64a1098fbb
1,278
package com.test.newshop1.ui.profileActivity; import androidx.lifecycle.ViewModelProviders; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGro...
31.95
95
0.754304
493e18f56ff4ed882e9cc645909c2508211ef19d
316
package Factory.FactoryMethod; public class Consumer { public static void main(String[] args) { TF_Factory tf_factory = new TF_Factory(); TF lipStick = tf_factory.getLipStick(); lipStick.show(); YSL lipStick1 = new YSL_Factory().getLipStick(); lipStick1.show(); } }
24.307692
56
0.639241
6af56492e9c61192a2cd59d00f2c773c66c4db49
1,228
/* * Copyright 2014-present IVK JSC. 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 appl...
22.327273
76
0.710098
fc32f1558dc15ff24387f721d9b1dfdafca6bd2b
1,837
package net.minestom.server.inventory; import net.minestom.server.inventory.condition.InventoryCondition; import net.minestom.server.item.ItemStack; import org.jetbrains.annotations.NotNull; import java.util.List; /** * Represents an inventory where its items can be modified/retrieved. */ public interface Inventor...
24.824324
82
0.643985
52dfd0d00d6860eb4c17789489e4d47cf1434c0b
217
package com.myzuji.study.java.easyexcel.read; import com.alibaba.excel.annotation.ExcelProperty; import lombok.Data; @Data public class DemoData1 { @ExcelProperty("商户订单号") private String merchantOrderNo; }
18.083333
50
0.774194
e90bda50d10a2dc302c0d89a2700eca8c3509ecc
1,012
/* * 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 entiteis; /** * * @author valmi */ public class Conta { private int conta; private String nome; protected doubl...
17.754386
79
0.567194
ed6d5d1f03b234f70b41fbc691b400d0f4a2c5df
855
package net.core.tutorial.medium._08_Multithreading.exampleForProducerAndConsumer; /** * Consumer from the producer-consumer approach. * @author Ihor Savchenko * @version 1.0 */ public class Consumer implements Runnable{ private final int id; private final SingleElementBuffer monitor; public Consumer...
27.580645
120
0.596491
a70516dcbc8a3b13a04c729d2aa39ef7e23a23ec
569
package iskallia.vaultgen.mixin; import iskallia.vaultgen.IDimContext; import net.minecraft.util.RegistryKey; import net.minecraft.world.World; import net.minecraft.world.gen.LazyAreaLayerContext; import org.spongepowered.asm.mixin.Mixin; @Mixin(LazyAreaLayerContext.class) public class MixinLazyAreaLayerContext imple...
22.76
63
0.806678
5fd3aee000577c742026ba3d75f507f77d61e559
5,699
package de.knoobie.project.nagisa.gson.model.bo; import de.knoobie.project.clannadutils.common.ListUtils; import de.knoobie.project.clannadutils.common.StringUtils; import de.knoobie.project.nagisa.gson.model.bo.enums.VGMdbNameLanguage; import de.knoobie.project.nagisa.gson.model.bo.enums.VGMdbProductType; impor...
40.133803
113
0.586243
7b34967dc0eb40d89a2e0325159ccf4b8c564b59
1,781
package stack.simulator.machine.events; import stack.excetpion.SimulatorException; import stack.simulator.Context; import stack.simulator.des.DiscreteEventSimulator; import stack.simulator.des.Event; import stack.simulator.machine.models.CoreModel; public class RAEvent extends Event { Context context; CoreModel src...
25.442857
108
0.718697
32c35fc040f8c61f8d79a362500f22f12440e441
523
package ru.apetrov.generic; /** * Created by Andrey on 08.03.2017. */ public abstract class Base { /** * id of model. */ private String id; /** * Constructor of class. * @param id id. */ public Base(String id) { this.id = id; } /** * Getter of id. ...
14.135135
35
0.464627
bd3c51f8c85ccec317afec42f5414bacafbd02b6
131
package top.eatfingersss.sudokugamedemo.view; public interface EncapsilationView { void nodeGet(); void addListenner(); }
18.714286
45
0.755725
9357aa06dad1091e35549ba87bf02ce4d84b0267
882
package com.company; import javafx.util.Pair; import java.util.Comparator; import java.util.Map; import java.util.PriorityQueue; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); // game loop int index = 0, val = ...
25.2
87
0.514739
ddce24592e60ec2ec6235ffe4badd05dca2e811a
1,102
package ca.on.oicr.gsi.vidarr; import java.util.Map; import org.junit.Assert; public class ListBasicTypeTest extends BasicTypeTest { String listStringFormat = "{\"is\":\"list\",\"inner\":\"%s\"}"; @Override public void testSerialize() { for (Map.Entry<BasicType, String> type : primitiveTypes.entrySet()) { ...
29.783784
98
0.69147
2afe7389f1ccd69e2ae2d8365d3f533db553e2b2
31,570
/* * 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 ...
34.654226
109
0.579443
3123b55ac297767c61edf1e42dd659968a2ade7e
5,937
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vfs.ex.dummy; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.Ap...
32.091892
140
0.728988
ab43718ad1d4555c5e6cdba6eb21e4cde3581a31
3,961
package org.bunkr.cli.commands; import javafx.beans.property.BooleanProperty; import javafx.beans.property.SimpleBooleanProperty; import net.sourceforge.argparse4j.inf.Namespace; import net.sourceforge.argparse4j.inf.Subparser; import org.bunkr.cli.CLI; import org.bunkr.core.ArchiveInfoContext; import org.bunkr.core.e...
45.011364
134
0.609442
4f011048cdbbb2cc5fb1c19a0293f0f1c89d30af
4,727
package org.imagearchive.lsm.toolbox.info.scaninfo; import java.util.LinkedHashMap; public class Recording{ public LinkedHashMap<String, Object> records = new LinkedHashMap<String, Object>(); public static Object[][] data = { { new Long(0x010000001), DataType.STRING, "ENTRY_NAME" }, { n...
56.27381
115
0.624074
b6e782e2897cbcbde0358544c58e5b5e442b81db
184
class trim{ public static void main(String[] args) { String s1="hello yugandar"; System.out.println(s1+"hello yugandar"); System.out.println(s1.trim()+"yuga"); } }
23
45
0.63587
c19e40a815053634e71b8573b9fd0be312b4928c
1,162
package com.mongodb.orm.engine.type; import java.util.Collection; import java.util.HashSet; import java.util.Set; import com.mongodb.exception.MongoORMException; /** * Set implementation of TypeHandler * @author: xiangping_yu * @data : 2014-7-25 * @since : 1.5 */ public class SetTypeHandler implements TypeHandl...
22.784314
117
0.636833
5ca0708dadae950d848898797a968bc8dd9658bd
1,064
package it.feio.android.analitica; import android.text.TextUtils; import it.feio.android.analitica.exceptions.InvalidIdentifierException; public class PiwikServiceIdentifier extends ServiceIdentifier { /** * @param identifiers Must be both Piwik service URL and applicationId * @throws InvalidIdentifie...
30.4
113
0.68797
ae1da32ab1d30c3384de73714ca577ae6ebb9174
1,285
/** * Copyright (c) The openTCS Authors. * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.opentcs.data; import org.opentcs.access.KernelRuntimeException; /** *...
25.7
80
0.696498
8260a1162b84c07a7b2cc3a33fcafe4d4d6bc272
2,887
package com.beiran.core.system.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Getter; import lombok.Setter; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.util.Date; import java.util.Objects; imp...
18.157233
99
0.554209
4e8dc1a8b9522b99451faacb8aa9a89ce4195bc3
452
package com.vitaxa.jasteambot.steam.trade.offer.model; import com.fasterxml.jackson.annotation.JsonProperty; public class OfferAccessToken { @JsonProperty("trade_offer_access_token") private String tradeOfferAccessToken; public OfferAccessToken(String tradeOfferAccessToken) { this.tradeOfferAcces...
26.588235
59
0.769912
fbd978d76df454815655eeaf2d85b731cb9cf118
7,258
/** * * Copyright 2017 Florian Erhard * * 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...
32.401786
141
0.646046
867e2e630d43e31bbb3fce550358d3c41c57f0f3
4,345
package i2am.benchmark.storm.bloom; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.Set; import java.util.UUID; import org.apache.storm.Config; import org.apache.storm.StormSubmitter; import org.a...
38.451327
120
0.729804
9e722f73c9e12d687bee7d76280130d0788eafcd
4,108
package com.hellokoding.datastructure; import java.util.Arrays; import java.util.Objects; public class MyHashtable<K, V> { private static final int INITIAL_CAPACITY = 16; private static final float LOAD_FACTOR = 0.75f; private int size = 0; Entry<K,V>[] entries; @SuppressWarnings({"rawtypes", "u...
24.89697
89
0.537975
3874b7d2f180c32bc5c7e9337a215ab5eab50e19
7,466
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * Project Info: http://plantuml.com * * This file is part of Smetana. * Smetana is a partial translation of G...
33.182222
89
0.64412
39cc79a03d068490e9e759f1488620998d206141
7,269
package cz.metacentrum.perun.scim.api.entities; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonSerialize; /** * SCIM Service Provider Configuration * * @author Sona Mastrakova <sona.mastrakova@gmail.com> * @date 08.10.2016 */ @J...
27.638783
155
0.707938
94fcc2f7444a87f8a5b99074f32b813fdf4499b9
454
package com.atguigu.gmall.sms.service; import com.baomidou.mybatisplus.extension.service.IService; import com.atguigu.gmall.sms.entity.SkuBoundsEntity; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; /** * 商品sku积分设置 * * @author feifei * @email 480667962@qq.com * @date 2020-08-2...
21.619048
69
0.773128
571d4a2e1d52cd8d3f9102af3d041346af600e4e
233
package com.incognia.fixtures; import com.incognia.Address; public class AddressFixture { public static Address ADDRESS_ADDRESS_LINE = Address.builder().addressLine("350 Fifth Avenue, Manhattan, New York 10118").build(); }
25.888889
91
0.76824
7627b575f7c7fd177a692cbb41cab6a7f00a115a
1,254
package com.greenpineyu.fel.function.one.impl; import com.greenpineyu.fel.context.FelContext; import com.greenpineyu.fel.function.api.BaseOneOperation; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * ISCH(test):判断文本字符串是否全部为汉字,如果是返回TRUE,否则返回FALSE。 * test:需要进行判断的文本字符串。 * 示例: * ISCH("制度") 返回TR...
25.08
88
0.645136
2d49310fd0526a212a4bbd93d95117d1fa6b414e
26,139
/******************************************************************************* * Copyright (c) 2003, 2013 IBM Corporation 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, an...
37.827786
259
0.668847
8eb618f44bb139ea8b515085a8899e87aa165b15
1,433
/* * Danny Do * CS141 * Assignment 4 * 5/16/18 */ import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Scanner; public class LicensePlate { public static void main(String []args) throws IOException { askInput(); } public static void askInput() throws IOException {...
22.046154
61
0.63224
0f445c46d622ae13eccf804ff9e84e48bf50bfba
788
package net.minecraft.client.renderer.texture; import java.io.IOException; import net.minecraft.client.renderer.texture.AbstractTexture; import net.minecraft.client.resources.IResourceManager; import net.minecraft.util.ResourceLocation; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger...
30.307692
72
0.782995
bbdfb63cafdb531f59b531068eb826bcde4898a2
821
package com.google.appengine.api.images; import java.util.logging.Level; import java.util.logging.Logger; public class ImagesServiceFactory { private static String LOG_TAG = ImagesServiceFactory.class.getName(); public static Image makeImage(byte[] bytes) { try { return new Image(bytes); } catch(Exception e)...
24.147059
77
0.738124
5624788964135b97415ce72d997d598485301bde
1,276
package io.github.liveisgood8.jacksonversioning; import com.fasterxml.jackson.core.JsonProcessingException; import io.github.liveisgood8.jacksonversioning.annotation.JsonVersioned; import io.github.liveisgood8.jacksonversioning.util.TestUtils; import io.github.liveisgood8.jacksonversioning.util.VersionConstant; import...
30.380952
128
0.679467
269812924c7c1af3c3b255b71ce14eb0e0e400a8
39,504
/* * 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 amgad.h; import Entity.BoardDecisions; import Entity.Classes; import Entity.Contacts; import Entity.EmployeeAttendance; import...
35.52518
110
0.564297
a105031c11dcb2be65e47bbcf4215871cd0c4bf4
1,867
package com.cqx; import com.fasterxml.jackson.databind.ObjectMapper; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import java.io.IOException; import java.util.ArrayList; import java.util.List; /** * Unit test for simple App. */ public class AppTest extends...
23.632911
65
0.573112
77f91ca883fa0df59b3bc6c0ec41743d1625e519
5,481
package fr.xephi.authme.process.register; import ch.jalu.injector.factory.SingletonStore; import fr.xephi.authme.TestHelper; import fr.xephi.authme.data.auth.PlayerCache; import fr.xephi.authme.datasource.DataSource; import fr.xephi.authme.message.MessageKey; import fr.xephi.authme.process.register.executors.PasswordR...
39.717391
121
0.738369
b5a0302344afb61b9a5b4ba69154c6eb35bb9ad2
133
/** * Provides tools for parsing long strings into individual components such as terms. */ package com.dsi.parallax.ml.util.lexer;
33.25
85
0.759398
d5649341d819100f3e21a69667a0f9636d87e456
1,745
package com.daninovac.batch.jobs.utils.xml; import com.thoughtworks.xstream.converters.Converter; import com.thoughtworks.xstream.converters.MarshallingContext; import com.thoughtworks.xstream.converters.UnmarshallingContext; import com.thoughtworks.xstream.io.HierarchicalStreamReader; import com.thoughtworks.xstream....
26.439394
68
0.701433
bd18632a8b34c7b42f645de9af54d938edbef040
5,771
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by appl...
29.443878
158
0.692081
885710460d4b1ce0202c6df2a1614d46490e1658
20,498
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package tests.unit.com.microsoft.azure.sdk.iot.device.transport.mqtt; import com.microsoft.azure.sdk.iot.device.exceptions.ProtocolException; import com.micro...
43.244726
247
0.700849
8dae0415223399201c7d949c3f4bb5f28752ebab
18,327
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...
14.396701
814
0.787909
c46c701626e14bb3f796c14d7a5ed5a359ff87b1
2,295
/* * Copyright 2020 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in ...
27.650602
83
0.669717
f6b0e3324a3109674007ddd8dd0a70458471a836
915
package magicbees.item; import magicbees.block.types.HiveType; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; /** * Created by Allen on 7/29/2014...
21.27907
122
0.75082
6bcfa3ded0c4678ed278f102270d2c78e86578e9
7,081
package com.ViktorVano.SpeechRecognitionAI.Audio; import java.io.*; import javax.sound.sampled.*; import static com.ViktorVano.SpeechRecognitionAI.Miscellaneous.Variables.*; public class AudioCapture { private AudioFormat adFormat; private TargetDataLine targetDataLine; private byte[] mainBuffer = new by...
35.762626
133
0.518571
082542fe3a23e02ea4342f087df3e45c4f18a364
235
package com.shawnclake.part9.tree; import com.shawnclake.part9.Token; public class AssignNode extends BinaryOperatorNode { public AssignNode(Node left, Node right, Token operator) { super(left, right, operator); } }
21.363636
62
0.731915
5165e68e59f049030fa4824e176c491a4677e48c
8,126
package v27; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; import logic.ChartTime1mLogic; import logic.FileLockLogic; import util.FileUtil; import util.StringUtil; /** * 保存した4本値チ...
22.954802
118
0.599311
8e979758954a05496cb0bfa5503306019a3837e1
1,913
/** * 请勿将俱乐部专享资源复制给其他人,保护知识产权即是保护我们所在的行业,进而保护我们自己的利益 * 即便是公司的同事,也请尊重 JFinal 作者的努力与付出,不要复制给同事 * * 如果你尚未加入俱乐部,请立即删除该项目,或者现在加入俱乐部:http://jfinal.com/club * * 俱乐部将提供 jfinal-club 项目文档与设计资源、专用 QQ 群,以及作者在俱乐部定期的分享与答疑, * 价值远比仅仅拥有 jfinal club 项目源代码要大得多 * * JFinal 俱乐部是五年以来首次寻求外部资源的尝试,以便于有资源创建更加 * 高品质的产品与服务,为大家带来更大的价值,...
30.365079
57
0.764767
70159260a1354739c2ed1dbd16b8cda80c54452e
605
package com.ishland.c2me.common.optimization.worldgen.global_biome_cache; import net.minecraft.util.math.ChunkSectionPos; import net.minecraft.util.registry.RegistryEntry; import net.minecraft.world.biome.Biome; import net.minecraft.world.biome.source.util.MultiNoiseUtil; public interface IGlobalBiomeCache { Reg...
43.214286
150
0.826446
6fdf5682dd163da2f3bcdcae41711998fb9064b6
2,084
package com.training.restapi.controller; import static org.junit.Assert.fail; import java.util.Objects; import org.json.JSONException; import org.junit.Test; import org.junit.runner.RunWith; import org.skyscreamer.jsonassert.JSONAssert; import org.springframework.beans.factory.annotation.Autowired; import org.spring...
35.931034
129
0.698656
3f8fccbfac2e71992ceada0b5bdbf13ff8733c35
17,292
/* * Copyright 2010-2021 Australian Signals Directorate * * 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 a...
35.950104
108
0.595131
57862e8108c4d72131516bc072e8666e6fa963e9
2,263
package com.ezwel.htl.interfaces.commons.thread; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
23.821053
89
0.707026
d0ed0f604b64e8ab2bb88166123e3545dc16a73f
972
package ua.training.cruise_company_servlet.controller.command; import ua.training.cruise_company_servlet.controller.constant.AttributesConstants; import ua.training.cruise_company_servlet.controller.constant.PathConstants; import ua.training.cruise_company_servlet.model.service.ExcursionService; import javax.servlet....
40.5
119
0.766461
3b685c19e76ac1ff48e3e5ec31073dfe3fb555f7
893
package org.robobinding.viewattribute; import java.util.Map; import org.robobinding.util.SearchableClasses; import com.google.common.collect.Maps; /** * * @since 1.0 * @version $Revision: 1.0 $ * @author Cheng Wei */ public class ViewListenersMap { private final Map<Class<?>, Class<? extends V...
27.060606
88
0.721165
fdf70aaaff1abe9c9d4d2407091f49bb20f95fac
1,480
package fdiscovery.approach.equivalence; import fdiscovery.general.ColumnFile; import fdiscovery.general.ColumnFiles; import java.util.ArrayList; import fdiscovery.preprocessing.SVFileProcessor; public class EquivalenceManagedFileBasedPartitions extends ArrayList<EquivalenceManagedFileBasedPartition> { ...
31.489362
114
0.757432
61dcd03b13fb630592076d3902e791e977d89d77
3,024
package cn.xl.network.http; import android.support.annotation.NonNull; import android.util.Log; import java.io.File; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import okhttp3.MediaType; import okhttp3.RequestBody; public class...
28
99
0.60582
e01b80f6d4d76bb7c1839812cc6c6f11db04d861
2,386
/** * 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...
37.873016
104
0.656329
f70fb372d269fef73e96e0015235584fb0ae1eaf
820
package io.github.evilarceus.xero.common.item; import io.github.evilarceus.xero.common.reference.Reference; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class ItemWrapper extends Item { public ItemWrapper() { super(); } @Override public String getUnlocalized...
28.275862
122
0.708537
0c21e8636471e88cef09eca92b4ac754b86bdcf8
1,022
package be.ugent.rml.termgenerator; import be.ugent.rml.functions.FunctionUtils; import be.ugent.rml.functions.SingleRecordFunctionExecutor; import be.ugent.rml.records.Record; import be.ugent.rml.term.NamedNode; import be.ugent.rml.term.Term; import java.io.IOException; import java.util.ArrayList; import java.util.L...
29.2
92
0.694716
84d98760ceae64bf983b0ddc8f0479718b2dfd12
1,283
package io.gaurs.sbm.model.logical; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.v3.oas.annotations.media.Schema; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import java.math.BigInteger; /** * The published employee record. This is different ...
53.458333
218
0.724084
67f68d16a3909976c592ebf6406ab919f3f5c813
11,613
package io.github.ramboxeu.techworks.common.recipe; import io.github.ramboxeu.techworks.Techworks; import io.github.ramboxeu.techworks.common.registration.TechworksItems; import io.github.ramboxeu.techworks.common.registry.IItemSupplier; import io.github.ramboxeu.techworks.common.registry.ItemRegistryObject; import io...
60.170984
230
0.763283
9f809b5d61b4826d39ccedce05f78ae5c41b94ab
2,475
/* * 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 ...
35.357143
116
0.740606
7f808f05e5a7d5200dbb37ab52c87c8cd6641ca8
287
package com.jiangkang.ktools.download; /** * Created by jiangkang on 2017/10/10. * * define the download action and state */ public interface DownloadListener { void onDownloading(int progress, long contentLength); void onSuccess(); void onError(String message); }
15.944444
57
0.714286
f707bef70b19ef660bc273e9dc5728f86589f5fe
1,249
package com.ddphin.rabbitmq.entity; import com.alibaba.fastjson.JSONObject; import lombok.Data; import org.springframework.amqp.rabbit.connection.CorrelationData; import org.springframework.util.Assert; /** * CorrelationDataMQ * * @Date 2019/8/20 下午7:49 * @Author ddphin */ @Data public class CorrelationDataMQ ex...
26.574468
115
0.682946
2666fcf9da0b59873ee8787af03aa0e0575c3207
13,949
/* * This file is generated by jOOQ. */ package org.blackdread.sqltojava.jooq.generated; import org.blackdread.sqltojava.jooq.generated.tables.Tables; import org.blackdread.sqltojava.jooq.generated.tables.*; import org.jooq.Catalog; import org.jooq.Table; import org.jooq.impl.SchemaImpl; import java.util.Arrays; i...
33.856796
165
0.705642
220c018399fa7c979c0f883fe397c6aa5013e82f
493
import java.util.ArrayList; public class TexteURI { public int texteId; public String url; public ArrayList<String> uris; public TexteURI(int anId,String anUrl){ this.texteId = anId; this.url = anUrl; this.uris = new ArrayList<String>(); } public void addUri(String uri){ this.uris.add(uri); } ...
15.40625
40
0.598377
82d9947c66e1614cec2399432fd14624f0f7a89b
784
package com.revature.aspect; public class NotAuthenticatedException extends Exception { public NotAuthenticatedException() { // TODO Auto-generated constructor stub } public NotAuthenticatedException(String message) { super(message); // TODO Auto-generated constructor stub } public NotAuthenticatedExcept...
25.290323
93
0.780612
64d48c374ee87b4b5d5e82b3590ba54bc87239eb
4,598
package collagene.restrictionEnzyme; import collagene.seq.AnnotatedSequence; import collagene.seq.RestrictionSite; import collagene.seq.SeqAnnotation; import collagene.seq.SequenceRange; import collagene.sequtil.NucleotideUtil; /** * One fragment from digest */ public class SequenceFragmentRestrictionDigest impleme...
26.578035
108
0.718356
4b27fcfafd360011736105f04cf8af195af1f91e
1,604
package com.guosen.zebra.distributed.transaction.seata.conf; import com.google.common.collect.Lists; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; /** * ZebraSeataConfiugration校验器 */ public final class ZebraSeataConfiguratio...
32.734694
106
0.700748
7863b3b4e8a2e55d106ab706a5ab0d79b73fa9eb
1,339
package cn.felord.wepay.ali.sdk.api.domain; import cn.felord.wepay.ali.sdk.api.AlipayObject; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; /** * 订单服务者变更接口 * * @author auto create * @version $Id: $Id */ public class AlipayDaoweiOrderSpModifyModel extends AlipayObject { private static final long ...
21.253968
67
0.681852
ed99ab0c4824df7e6674073b2a6eef33d8ea354d
2,767
/* * ApplicationInsights-Java * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the ""Software""), to deal in the Software * without restriction, inclu...
34.160494
100
0.718468
37fd8dfe6278e3b132e7ee5e3b9a30685a235081
77
package org.amv.access.client.android; public interface AccessApiClient { }
15.4
38
0.805195
a284ce0da3c593bb36f78af098c32f8b57377445
586
package com.google.firebase.iid; import com.google.firebase.events.Event; import com.google.firebase.events.EventHandler; import com.google.firebase.iid.FirebaseInstanceId; final /* synthetic */ class zzq implements EventHandler { private final FirebaseInstanceId.zza zzbe; zzq(FirebaseInstanceId.zza zza) { ...
25.478261
57
0.651877
cd94b61344cbf1a1d80435879bf41b98a676b392
11,098
/* * Copyright 2010 gark87 * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law or agre...
34.359133
124
0.494413
3132687034c2a17c7e81e92fdc66227ef91b7442
997
package com.jeeagile.system.mapper; import com.jeeagile.frame.annotation.AgileMapperScan; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import java.util.List; /** * @author JeeAgile * @date 2021-03-21 * @description */ @AgileMapperScan public interface AgileSysPersonMap...
29.323529
70
0.650953
306bfd5f0c4ddbfc8ae385af8fbe329c0bfdbf4a
2,218
package com.baeldung.readonlytransactions.mysql.dao; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.SplittableRandom; import java.util.concurrent....
31.239437
151
0.641118
efbd91e007bee78180071248e9f22cd19d12564a
5,431
/* * 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 ml.paulobatista.restclient.http; import com.google.gson.Gson; import java.io.BufferedReader; import java.io.InputStreamReader;...
32.915152
91
0.646842
c2b3efd7fbd179addaf050c20d62e7c0e89a6261
1,239
package gov.healthit.chpl.dto.questionableActivity; import gov.healthit.chpl.dto.CertifiedProductDetailsDTO; import gov.healthit.chpl.entity.questionableActivity.QuestionableActivityListingEntity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; im...
33.486486
91
0.77724
850a1c0225f94b560419dec0812781fe6003c884
7,089
/******************************************************************************* * Copyright 2018 Univocity Software Pty 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://...
31.647321
107
0.675977
86d89875f469e8f0dc96e8deb0ba7db847a40065
1,173
package shinil.direct.share.thread; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import shinil.direct.share.util.Constants; /** * @author shinilms */ public final class StartProxyThread extends Thread { private boolean isTrue = true; private ServerSocket ser...
23.938776
80
0.597613
5de9c3c68bf46c015a0510d656b5143e68b7619c
20,317
package it.polimi.ingsw.view.CLI.display; import it.polimi.ingsw.model.card.DevelopmentCardTable; import it.polimi.ingsw.utility.AnsiColors; /** * this class shows to the player the development card table, in particular every last card of a Development Card Deck * available in the table using data contained in */ ...
50.539801
144
0.530246
4bbacaee7dfb61a5aefccbc9efc6c1e2cb1513a5
643
package org.metaborg.spoofax.core.language.dialect; import org.apache.commons.vfs2.FileObject; import org.metaborg.core.language.IdentificationFacet; import rx.functions.Func1; public class MetaFileIdentifier implements Func1<FileObject, Boolean> { private final IdentificationFacet identification; public Me...
27.956522
71
0.74339
f94ae2a2166c08056f9f2cc831387f2828e70f48
8,530
/** * Copyright (C) 2014 OpenTravel Alliance (info@opentravel.org) * * 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 r...
32.934363
138
0.644549
e17b12e442144bc8fea9410a5922145e5b82fae6
2,251
package gov.nih.nci.evs.gobp.extract; import gov.nih.nci.evs.gobp.print.PrintOWL1; import gov.nih.nci.evs.owl.data.OWLKb; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.log4j.Logger; public class ExtractBranch { private static o...
31.263889
120
0.706353
01e26904026fd37d16375d5f79fb9d3130d768e6
9,459
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation 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, an...
48.757732
221
0.635902
fb7467aad4a7014c464cbcf13610b2501c5879f8
3,186
package jetbrains.mps.debugger.api.lang.typesystem; /*Generated by MPS */ import jetbrains.mps.lang.typesystem.runtime.AbstractInferenceRule_Runtime; import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeChecking...
60.113208
359
0.821092
2d896d4c38912d6237862f97279cc20ead071b12
9,479
/* * 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 ...
52.370166
135
0.743433