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
2a6485a4fed582d7e208d3d1c937be420be5c576
8,558
/* * Copyright 2018-present HiveMQ and the HiveMQ Community * * 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.539924
118
0.550129
9dae88d3bd2f52127644f70d0f601599ea9094c4
5,281
/* */ package com.hundsun.network.gates.genshan.biz.domain.baseset; /* */ /* */ import com.hundsun.network.gates.luosi.common.enums.EnumSystemDictKey; /* */ import java.util.Date; /* */ /* */ public class SystemDict /* */ { /* */ private Long id; /* */ private String pa...
34.97351
557
0.503124
5671ae4614cc4796f2100d9fe8c2d3d69ff1ff81
1,124
package net.minecraft.item; import net.minecraft.block.Block; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; public class ItemColored extends ItemBlock { private final Block coloredBlock; private String[] subtypeNames; public ItemColored(Block var1, boolean var2) { super(var...
28.1
142
0.69573
984471ca2b07a0d3ea8801dde563adaa958f4eea
5,446
package com.daswort.core.service.category; import com.daswort.core.song.domain.Category; import com.daswort.core.song.domain.Song; import com.daswort.core.song.exception.CategoryNotFoundException; import com.daswort.core.song.exception.CategoryReferenceException; import com.daswort.core.song.repository.CategoryReposit...
39.179856
125
0.704554
e6bd6e6113be46e3f75dec68481369c4889cbf41
293
package com.atguigu.gulimall.commons.constant; public class RedisPrefixConstant { /** * 参与秒杀的商品的前缀 */ public static final String MIAO_SHA_PREFIX = "sec:kill:"; /** * 秒杀订单信号量前缀 */ public static final String MIAO_SHA_ORDERSN_COUNTDOWN = "order:quick:"; }
18.3125
75
0.658703
c6d690b01ca39fb756fc66811b00e4f439eec198
749
package finalir.DataStructure; import java.util.ArrayList; import java.util.List; public class DocumentResult { private Document doc; private double rank; private List<Integer> positions; public DocumentResult(Document d,double r){ doc = d; rank = r; pos...
20.243243
52
0.556742
178d27e5647e85c7049611ffbddcee4d67235610
2,961
/* * * This class is a specialized class of "InputDataWriter" class from: * Java SOMToolbox * http://www.ifs.tuwien.ac.at/dm/somtoolbox/ * * 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...
31.83871
79
0.683891
d45eb3d994b6a3d767358a1989a7bdff0e24a096
6,903
package org.brightify.torch; import org.brightify.torch.action.relation.RelationResolverImpl; import org.brightify.torch.annotation.Entity; import org.brightify.torch.model.Table; import org.brightify.torch.model.Table$; import org.brightify.torch.model.TableDetails; import org.brightify.torch.model.TableDetails$; imp...
36.52381
120
0.662755
6b70f9c724c8f64c1e6dc4a70339bd4ddeff8944
19,698
/* * Copyright (c) 2018 Cloudera, Inc. All Rights Reserved. * * Portions Copyright (c) Copyright 2013-2018 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. * You may o...
31.66881
348
0.712154
1205ae56e297549055c6ad8717f0a0c1c9ff272e
151
package com.android.dp.book.chapter27.simplefactory; import com.android.dp.book.chapter27.MobilePhone; public class Samsung extends MobilePhone { }
18.875
52
0.81457
21ff593f1d98f11e0da7f72219c2176aca19c9e3
1,607
/* * Copyright © 2017 camunda services GmbH (info@camunda.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 ...
32.795918
86
0.717486
a35e6fcec3dd8ad03fb4c1cec4848236c5e981d4
287
package com.lgy.oms.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.lgy.oms.domain.StrategyAuditSpecial; /** * 审单策略特定信息拦截 数据层 * * @author lgy * @date 2019-12-31 */ public interface StrategyAuditSpecialMapper extends BaseMapper<StrategyAuditSpecial> { }
20.5
86
0.777003
a248d992df980874bd018d16f73e3b5c06b7dcc9
106,651
/* Tilda V1.0 data object. Code is generated: do not modify! Instead, create a derived class and override desired functionality */ package tilda.data._Tilda; import java.time.*; import java.sql.Timestamp; import java.util.*; import tilda.db.*; import tilda.enums.*; import tilda.performance.*; impor...
59.548297
317
0.527206
b1e5d1c71d270b21aec5e06d60e4643a19df8a52
572
package com.app.movie.service; import com.app.movie.entity.Movie; import com.app.movie.repository.MovieRepository; import com.coxautodev.graphql.tools.GraphQLQueryResolver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service pu...
26
87
0.795455
650772b6b78820acdbedc00a1d5943755972158e
1,889
/* * Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria) * * 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 requir...
28.621212
89
0.741133
35f780c6fa99186d41160b60f0d03fcfaea59014
2,427
/** * cacluate surface gravity on different Planets * * @author (Christian Lockley) * @version (11/27/14) */ import java.util.Scanner; import java.io.IOException; import java.io.PrintWriter; import java.io.File; import java.util.Random; public class Gravity { // calcGravity returns an array of doubles contain...
33.246575
109
0.640709
c7aa54305ca8b742ea370b60aec61a0eb4dc05a5
2,065
/** * Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2006-2016 * * 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 * * Unl...
32.265625
98
0.772881
1c5a92a47474f7fd0ae87afc3fd53a8ba7fbde34
4,007
/* * 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 i...
37.101852
96
0.775393
fb0c6d000bd25c742e792415402d939deede0ffd
1,426
package com.mark.threeweek.homework; /** * @author sun * @date 2021-10-24 22:04 */ public class _1_LC_23 { public ListNode mergeKLists(ListNode[] lists) { return merge(lists, 0, lists.length - 1); } public ListNode merge(ListNode[] lists, int l, int r) { if (l == r) { return...
23.766667
77
0.457223
e48d5a23fd820707a854f4b1649b2dcd16629ad0
227
/** * */ package com.alibaba.rocketmq.subclass; import org.junit.Test; /** * @author shijia.wxr<vintage.wang@gmail.com> */ public class TestSubClassAuto { @Test public void test_sub() { } }
12.611111
46
0.590308
c2828ddfd75eaf8f7a82b23233f19661dbcc9f7c
6,214
package com.github.terefang.preproc_maven_plugin; import lombok.Data; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.anno...
31.226131
94
0.52784
3d6de0ec6b2299acee13552a34f9f406b20dcb11
433
package com.whamu2.previewimage.core; import android.support.annotation.CheckResult; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.whamu2.previewimage.entity.Image; import java.util.List; /** * load image type to arrays * * @author whamu2 * @date 2018/7/13 */...
18.826087
47
0.750577
9cbbf1acfcc7132f3e0d286a7b5c65c9f01bd183
1,120
package com.cafecraft.core.mixin; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.hud.DebugHud; import net.minecraft.world.World; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spong...
31.111111
77
0.721429
ac52f55ef7fdd12fd8400a7cf85acacf7134b05c
1,644
/******************************************************************************* * Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * w...
31.615385
86
0.600365
3a3b5b7f8e4f2dbd9e399ffc589b6cd9d14a79d5
1,781
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
30.706897
106
0.683885
afe7dc71865883b72f1fad1887e0f6e0d5c1e74c
1,769
package org.springframework.security.oauth2.client.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.core.annotation.AliasFor; i...
32.163636
130
0.763708
561ef0308b73757698fb2941b88f44847be73419
8,380
package main; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ComponentEvent; import java.awt.event.ComponentListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; im...
28.600683
143
0.731862
db9d4b340719c9b76d9ae073aa761c1044cb1bad
475
package com.lumaserv.netbox.model.ipam; import lombok.Getter; import lombok.Setter; import org.javawebstack.abstractdata.AbstractObject; import java.util.Date; @Getter @Setter public class VLANGroup { Integer id; String url; String display; String name; String slug; String scopeType; Int...
16.964286
52
0.72
c4c4b8ef0185e8619b3bf734cd611801a599e907
819
package io.github.ramboxeu.techworks.common.util.cable.network; import io.github.ramboxeu.techworks.common.util.cable.connection.ConnectionMode; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; public interface IEndpointNode extends INode { TileEntity getTileEntity(); boolean i...
25.59375
80
0.726496
20cf78ca500edc439e8b86a2c81343b52246d80a
981
package com.cbums.core.member.domain; import lombok.*; import javax.persistence.*; @Entity @Getter @Setter @NoArgsConstructor(access = AccessLevel.PUBLIC) public class MemberDetail { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long memberDetailId; @OneToOne @JoinColumn(name...
20.87234
112
0.69317
e0e50579c8a6d8d87f08305f9a176e084eae0f94
3,046
package seedu.contax.storage; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonRootName; import...
39.558442
110
0.726198
af3b290d439f8a851b97f1f393c4f293e3a363c9
520
package com.etl.user.common.service; /** * <b>author</b>: forvoyager@outlook.com * <b>time</b>: 2019-11-19 13:41:22 <br> * <b>description</b>: 账户操作 服务定义 <br> */ public interface IUserAccountBiz{ /** * 标的放款 * 资金从投资人账户划拨到借款人账户 * * @param borrow_id 标的id * @param investor 投资人id * @param borrower 借...
21.666667
109
0.663462
81d6ffa760540902911b8534e7e62dc3c8def600
2,353
package com.gliffy.test.restunit.http; import java.util.*; import com.gliffy.restunit.http.*; import com.gliffy.restunit.*; import org.testng.*; import org.testng.annotations.*; import org.apache.commons.logging.*; public class TestContentType { @Test(dataProvider = "simpleMimeTypes") public void testSimpl...
35.119403
134
0.575011
8a0f9cfc9b9a6901c227b147d5eccfc7c2122db0
228
package api.models.command; public class CommandException extends RuntimeException { private static final long serialVersionUID = -3419515084851063729L; CommandException(Throwable cause) { super(cause); } }
25.333333
71
0.75
516e12cd6935c69e56fa99ec3f5993403d7c93f3
533
class A<T> { A(T... t) { } { A<String> a = new A<>("a", "b"); foo(new A<>("", "")); bar(new A<>("", "")); bar(new A<>(get())); bar(new A<>(get( ), "")); } void foo(A<String> s) {} <T> void bar(A<T> s) {} <K> K get() {return null;} <M> A<M> s(M... m) { return null; } { ...
15.228571
40
0.429644
2c7de3cdddc7effed01729c0118b45d16580fdec
3,221
package com.github.kkevlar.scrubshootsim.server.logic; import java.util.ArrayList; import java.util.function.Consumer; public class MessageHandler { public ArrayList<Consumer<ToServerMsg>> table; public static final byte MSG_INVALID = 0; public static final byte MSG_HEARTBEAT = 1; public s...
32.21
86
0.612853
8a6b5dade1655291facb4e058240fe28e43c77ab
560
/* * Factory.java * * Created on March 6, 2007, 11:02 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.netbeans.api.remoteproject; import org.netbeans.modules.remoteproject.RemoteProjectWizardIterator; import org.openide.WizardDescriptor; /*...
22.4
83
0.7375
fa0fbd45cb2d178d10070b1cd1346dbae05cf062
163
package com.cidic.sdx.dggl.service; import com.cidic.sdx.dggl.model.Apphelp; public interface AppHelpService { public int createHelpInfo(Apphelp appHelp); }
16.3
44
0.785276
e13f72e620944c301886fcea8c8f4a5950485b28
1,132
package snownee.cuisine.plugins.jei; import java.util.Collections; import mezz.jei.api.ingredients.IIngredients; import mezz.jei.api.ingredients.VanillaTypes; import net.minecraft.client.Minecraft; import snownee.cuisine.api.process.prefab.SimpleThrowing; public class SimpleThrowingRecipe extends GenericRecipeWrappe...
32.342857
114
0.742049
5a063b65ac7620073915357107fdbbf0965526b1
1,764
package com.kuqi.mall.system.entity.po; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.kuqi.mall.mybatis.core.entity.BaseEntity; import com.kuqi.mall.mybatis.core.handler.EncryptorsHandler; import com.kuqi.mall.system.entity.enums.UserSex; import...
20.045455
71
0.636054
7811eec8a14b74848c1aa47777d2e0f11bfce095
161
package com.zikozee.sfgpetclinic.repositories; import com.zikozee.sfgpetclinic.model.Vet; public interface VetRepository extends CrudRepository<Vet, Long> { }
23
66
0.826087
dbc37614ffe22f955abc346eeb92b3c798e6db73
5,943
package it.polimi.ingsw.Client.GUI; import com.google.gson.Gson; import it.polimi.ingsw.Client.Commands.Command; import it.polimi.ingsw.messages.MessageEnvelope; import it.polimi.ingsw.messages.MessageType; import it.polimi.ingsw.messages.StarterMessage; import javafx.application.Platform; import javafx.event.EventHan...
37.613924
158
0.612822
dd8c61bd2a348399a748c3cef5e79444dc4c1eba
943
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.dingtalkalitrip_1_0.models; import com.aliyun.tea.*; public class GetFlightExceedApplyRequest extends TeaModel { // 第三方企业id @NameInMap("corpId") public String corpId; // 商旅超标审批单id @NameInMap("applyId") public String app...
25.486486
100
0.679745
518fae46945a5d5c79d85c609575fc2a07061e7e
560
package com.navpreet.demo; import com.navpreet.demo.linkedlist.LinkedList; public class Main { public static void main(String[] args) { var ls = new LinkedList<Integer>(10); ls.append(9); ls.append(23); ls.append(11); ls.prepend(99); ls.prepend(101); ls.ins...
23.333333
47
0.533929
fcea66353515119eb65af90f4b82cbc3284dcad6
1,842
package com.google.android.stardroid; import android.accounts.AccountManager; import android.content.SharedPreferences; import android.hardware.SensorManager; import android.location.LocationManager; import android.net.ConnectivityManager; import com.google.android.stardroid.activities.EditSettingsActivity; import co...
36.84
74
0.833876
a9c5a7f971996a4afd7329075c9a2afed0f482c2
5,836
package com.lincolnpomper.tetris.gui; import com.lincolnpomper.tetris.model.ModeProgression; import com.lincolnpomper.tetris.FontFactory; import com.lincolnpomper.tetris.util.Resolution; import javax.swing.JComponent; import java.awt.Color; import java.awt.Graphics; public class PointsPanel extends JCompon...
28.748768
140
0.586703
c11f6d450d9110f0b9732b1830c42789e7088d96
1,470
package com.team1699.states; import com.team1699.userIO.KeyManager; import java.awt.Graphics; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class StateManager { private static StateManager instance; public static StateManager getInstance() { if (instance == null) { ...
24.915254
82
0.621088
81c598835d848b86b8e642e560c2b347c4da3e18
810
class Test { int var = 0; int foo2(Foo bar) { return 42; return 42; return 42; } int foo3(Foo bar) { return 42; if (true) { return 42; } return 42; } String bar(Foo bar) { return 42; return 42; return 42; } String bar(Foo bar) { return 42...
10.519481
37
0.455556
c69a0375a8d15e8fd0c5591a85f2298663b05b72
1,647
/* * The Exomiser - A tool to annotate and prioritize genomic variants * * Copyright (c) 2016-2018 Queen Mary University of London. * Copyright (c) 2012-2016 Charité Universitätsmedizin Berlin and Genome Research Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms o...
32.294118
86
0.69156
2e40235ef08a27775de4714fc60d6b279072b78f
6,130
/* * Copyright (C) 2015 Domoticz - Mark Heinis * * 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...
26.309013
78
0.580261
cd6570c40bdac6606c7aac77fbf198506c7e0e84
3,728
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 ...
33.890909
114
0.638144
5ba473274566c099a055f340340a064d42c5da6c
2,638
/* * Copyright 2016 Claymore Minds Limited and Niche Solutions (UK) Limited * * 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 * * Unl...
39.969697
124
0.652388
314d8f243eacf2564ec79863a97653969e3bfaec
7,187
package org.pcsoft.framework.jfex.controls.ui.component; import javafx.beans.property.DoubleProperty; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleDoubleProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.scene.control.Spinner; import javafx.scene.control.Spinn...
33.119816
140
0.597468
d1fffc0eb77cc7909fc152b3cf507d3df93875d1
428
package com.smart.proxy; import org.testng.annotations.Test; public class ForumServiceTestByCGlib { @Test public void proxy(){ CglibProxy proxy = new CglibProxy(); //generate child class by dynamic proxy ForumServiceImpl forumService = (ForumServiceImpl) proxy.getProxy(...
26.75
74
0.67757
77d03aa1223abf829171a53f7682d4f8080ebcc5
7,977
/* * Copyright IBM Corporation, 2013. 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 http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.contr...
27.318493
103
0.586185
8da28333ad72c70af947da202781a6337df88007
1,174
package com.example.hotsoon_user_profiiles.Json; import com.google.gson.annotations.SerializedName; import java.util.List; /** * created by liudeyu and the date is 2019/5/9 */ public class FlameInfo { @SerializedName("top_contributors") private List<User> topContributors; @SerializedName("title") ...
20.241379
70
0.675468
6d44523ee882848209eaed8d58f919c1a1427e5d
122
package br.com.ticnova.sumula.domain.sumula; /** * Tipo do cartão */ public enum TipoCartao { AMARELO, VERMELHO }
12.2
44
0.688525
b1ab756289e1cd0959c0b15bb8e697a97f62b413
1,883
/* * Copyright 2019 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance wi...
36.921569
124
0.792353
939fe694dc598b605312c647b3a4931de2cbc2c0
2,429
/* * Copyright 2022 Red Hat * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
29.26506
110
0.672293
d5fe9128013fe4a58205383881c4a7884ce88b9a
7,115
/* * 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...
38.252688
100
0.692621
e1a37a28d4e4dc005f44c389886c3ea2f1548ce0
4,786
package com.cookware.home.MediaManagerServer.ClientStub; import com.cookware.home.MediaManagerServer.DataTypes.AutomateLevel; import com.cookware.home.MediaManagerServer.Tools.WebTools; import org.apache.http.NameValuePair; import org.apache.http.message.BasicNameValuePair; import org.apache.log4j.Logger; import org.j...
32.337838
109
0.597785
e27bcfbff8dfdabfa112a8b4807b1b684ca99298
6,806
//Algorithms for deadend removal //Find deadends by looking for corridors with less than //two accessible neighbors, by definition being deadends public Vector3f[] findDeadends(){ ArrayList<Vector3f> deadends = new ArrayList<Vector3f>(); Vector3f[] toreturn = new Vector3f[0]; Tile...
39.114943
315
0.436233
ed80f60bb1c1d0041c59337bfcfdd3dd6deb02be
9,176
package cech12.ceramicbucket.integration; import cech12.ceramicbucket.BucketTestUtils; import cech12.ceramicbucket.IntegrationTestUtils; import com.alcatrazescapee.mcjunitlib.framework.IntegrationTest; import com.alcatrazescapee.mcjunitlib.framework.IntegrationTestClass; import com.alcatrazescapee.mcjunitlib.framework...
62
176
0.761552
82d3f174fe152991659d85a2861482fddf08a533
343
package inClass; import java.util.Random; public class Lab5 { public static void main(String[] args) { // TODO Auto-generated method stub Random rand = new Random(); for (int i = 0; i < 100; i++) { int x = rand.nextInt(40); System.out.println(x); } String a = new String("X=1235"); System.out.print...
18.052632
41
0.632653
c0a9e7771ce70268b8721615af00af0e03d5e3b2
842
package com.maximgalushka.portforward.mgmt.client; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import javax.management.NotificationListener; import javax.management.Notification; import javax.swing.table.AbstractTableModel; /** * @author Maxim Galushka * @since 0...
29.034483
83
0.738717
972f2f164ae396517742761971135120736a5ef1
7,288
package e.vatsal.kesarwani.headlines.Activity; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.room.DatabaseConfiguration; import androidx.room.InvalidationTra...
36.44
98
0.561745
b357aef1fe6c10383b38e8194d29c925cfc83440
4,891
package org.primaresearch.clc.phd.workflow.gui.dialog; import java.awt.BorderLayout; import java.awt.Color; import java.awt.FlowLayout; import java.awt.Font; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import javax.swing.DefaultLis...
32.177632
131
0.760172
eac7b73be5f0666e0a5639e8f3d4b69bea101833
465
package im.dacer.kata.data.model.bigbang.generated.sql; import android.database.Cursor; import androidx.annotation.CheckResult; import androidx.annotation.NonNull; /** Creates instances of {@code T} from rows in a {@link Cursor}. */ public interface RowMapper<T> { /** * Return an instance of {@code T} corres...
31
99
0.716129
04dcb0b85cf076a7c0c1b5a064bb84381b036f1f
1,993
package io.github.scyptnex.lcalc.expression; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.stream.Collectors; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; public class TestVi...
32.672131
111
0.619669
5e91c1e1732303a9e56f27b9552acd6e8e6824b9
1,278
package uk.gov.companieshouse.efs.web.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import uk.gov.companieshouse.efs...
31.170732
78
0.744131
24c9e17d9c9128cf0eb134ac29fc682e6c2d4076
21,592
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses th...
14.76881
798
0.821415
9fa659b4a126518394e40d12ab9cc5cdf18ff7dd
697
package com.youqin.logoutput; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.fil...
21.121212
62
0.740316
481e6d790818ababb51f104cb87a4507462ea133
9,736
package no.gorman.database; import com.mchange.v2.c3p0.ComboPooledDataSource; import no.gorman.please.utils.Pair; import org.jgrapht.alg.DijkstraShortestPath; import org.jgrapht.graph.DefaultWeightedEdge; import org.jgrapht.graph.SimpleWeightedGraph; import java.beans.PropertyVetoException; import java.lang.reflect.F...
42.330435
223
0.61894
f6a83f56bbe17be4fa023cb22ce7e4dc30fa918c
13,941
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.40 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
40.644315
97
0.70038
62bcffc322e3dcf733811e14067cdddeb6a9e2c5
2,510
package com.yuzeduan.db; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.yuzeduan.bean.Inset; import com.yuzeduan.util.OneApplication; import java.util.ArrayList; /** * 插画数据库信息的增加和查询操作 * Created by YZD on 2018/5/24. */ public class ...
36.911765
115
0.634263
0157eb76d83ac4852c9fd418095d6a11f179d777
109
package net.johnewart.gearman.server.core; public enum JobAction { REENQUEUE, MARKCOMPLETE, DONOTHING }
18.166667
42
0.779817
6bd9c2731cab7a575da50ae4ebd6e7b399b3c6ab
220
package com.petstore.whale.server.protocol; import com.petstore.whale.server.quorum.QuorumPeer; public class Vote { public Vote(long sid, long zxid, long leader, QuorumPeer.ServerState state, long epoch) { } }
24.444444
93
0.754545
86a71bd2f91efe3036d523b5d9cf4690b2eeac5c
7,306
/* Copyright (c) 2010 Egon Willighagen <egonw@users.sf.net> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, t...
50.736111
251
0.643717
d15daa6b338628dfc32a4f235aa6edabf67805e1
202
package io.github.Leonardo0013YT.UltraCTW.objects; import lombok.Getter; import lombok.Setter; import org.bukkit.Location; @Getter @Setter public class Selection { private Location pos1, pos2; }
15.538462
50
0.782178
03c5e770b7c26f137ec10d69b755a2e58dd7ba63
1,092
package ismaelassuncaocosta; import java.util.Date; public class Musica { private String nome; private Banda banda; private Date dataLancamento; private int tempoDuracao; private String estilo; private String link; public Musica() { nome = ""; banda = null; dataLancamento = null; tempoDuracao = 0; ...
16.298507
57
0.704212
cf1f60114b012f180466af4a3a9eb319895ecc61
552
package com.harvard; import android.content.Context; import com.harvard.base.BaseEventBusRegistry; import java.util.ArrayList; import java.util.List; /** * Created by Rohit on 2/15/2017. */ public class FDAEventBusRegistry extends BaseEventBusRegistry { protected FDAEventBusRegistry(Context applicationConte...
21.230769
67
0.735507
a546463c3e4acc55ca47fee259460c40c5e1d0ec
3,520
package com.houoy.game.test.config; import lombok.Data; import org.apache.http.config.Registry; import org.apache.http.config.RegistryBuilder; import org.apache.http.conn.socket.ConnectionSocketFactory; import org.apache.http.conn.socket.PlainConnectionSocketFactory; import org.apache.http.conn.ssl.NoopHostnameVerifie...
40.930233
141
0.747727
b6ae54eb184c4c709b0c570bbfd493a6437705a3
4,827
/** * ============LICENSE_START==================================================== * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. * ==================================================================...
33.992958
90
0.544852
e6218821c184443f8e3b6686295cc6535eaec6d5
312
package org.apache.commons.collections; import java.util.Map; public interface IterableMap extends Map { MapIterator mapIterator(); } /* Location: /mnt/r/ConTenDoViewer.jar!/org/apache/commons/collections/IterableMap.class * Java compiler version: 1 (45.3) * JD-Core Version: 1.1.3 */
24
101
0.705128
e9be8578b0e2930d6608ddf0636bc7155d13fc30
1,430
/* * 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 ...
34.047619
97
0.718881
1a7bd6c52b5eba1e28eca58754f270ae22090688
6,824
/* * Copyright (C) 2016 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 to ...
40.141176
98
0.714244
d2471598b37f984bc23cf9357fb7947fe24c5907
3,941
/* * JEF - Copyright 2009-2010 Jiyi (mr.jiyi@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31.528
97
0.69627
393f509f52e85e8a9dc9b2d7eefacaef3582276f
4,178
/* Copyright 2017, Brett Wooldridge Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
33.15873
160
0.746529
dc591132411f58a5fbf33c65bec195a78db5de49
1,191
package com.ddu.ui.view; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.widget.RelativeLayout; /** * Created by yzbzz on 2017/5/8. */ public class CustomerL extends RelativeLayout { public CustomerL(Context context) { ...
27.697674
102
0.713686
e3425585fe4db80bea09bced8e64bb06f18937d7
1,938
package es.tid.bgp.bgp4.update.fields.pathAttributes; import es.tid.bgp.bgp4.update.fields.PathAttribute; /** * ORIGIN is a well-known mandatory attribute. The ORIGIN attribute is generated by the speaker that originates the associated routing information. Its value SHOULD NOT be changed by any othe...
26.547945
73
0.613003
956f87ede27146c04d0d16ddbdb5c7847391df60
2,680
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
42.539683
98
0.565299
d70ea5b6ff788e7e6e6ccde9e7691bc75cf9598b
379
/* * Class name : UserRepository * * @author Dmitriy Futsur * * @version 1.0.0 19-Aug-2020 * * Copyright (c) Dmitriy Futsur * * Description: */ package fuda.com.beauty_bar.repository; import fuda.com.beauty_bar.model.User; import org.springframework.data.mongodb.repository.MongoRepository; public interfac...
18.95
71
0.744063
500ccbfd560d799fc3ab2e2cbddb75da13405f0c
383
package com.spring5.projects.springmongodbrecipeproject.repositories.reactive; import com.spring5.projects.springmongodbrecipeproject.domain.Recipe; import org.springframework.data.mongodb.repository.ReactiveMongoRepository; import org.springframework.stereotype.Repository; @Repository public interface RecipeReactive...
38.3
91
0.877285
9fc931059d60ad5610a2c875cac4efe729be8547
6,995
package uni.bielefeld.cmg.sparkhit.pipeline; import uni.bielefeld.cmg.sparkhit.io.FastqUnitBuffer; import uni.bielefeld.cmg.sparkhit.io.TextFileBufferInput; import uni.bielefeld.cmg.sparkhit.io.TextFileBufferOutput; import uni.bielefeld.cmg.sparkhit.matrix.ScoreMatrix; import uni.bielefeld.cmg.sparkhit.reference.RefS...
31.227679
134
0.646319
b0d8f4b9b274da623e1a8f604ff5fefd93799a71
2,586
/* * The MIT License * * Copyright 2016 Olavi Mustanoja. * * 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, including without limitation the rights * to use, copy,...
37.478261
80
0.703016
1704d1ba740da85fa6f0581a796cfd40c96f3896
18,526
package io.subutai.core.localpeer.rest; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Preconditions; import com.google.common.base.Strings; import io.subutai.common.environment.HostAddresses; impo...
32.051903
120
0.614164
bc8999feae8cb419454eb2cf1bd52aa0d092c4f6
86
/** * 状态流转支持,使用camel路由完成状态流转逻辑的编排,使用camel路由完成转换逻辑编排 */ package io.ttyys.micrc.state;
21.5
48
0.77907
4493acee0cdacbc75174ebd57042be701f23daf8
1,485
package hudson.tasks.junit; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import static hudson.tasks.test.TestResultTrendSeriesBuilder.FAILED_KEY; import static hudson.tasks.test.TestResultTrendSeriesBuilder.PASSED_KEY; import static hudson.tasks.test.TestResultTrendSeriesBuilder.SKIPPE...
32.282609
89
0.727946
78021c4b01f81b846c73bb43ac2684eecb14c050
135
package com.skeleton.mvp.baseRecycler; /** * Created by rajatdhamija * 10/08/18. */ public interface BaseRecyclerViewListener { }
13.5
43
0.733333
cec47998fcfc3ec239848ad589349dda311559aa
1,824
package xyz.deszaras.grounds.mail; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.time.Instant; import java.util.List; import org.junit.jupiter.api.Test; import xyz.deszar...
28.5
68
0.666667