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
23d60a4f686aee3d65dc3b214a0756fc1b4efb12
2,509
package de.palsoftware.tools.maven.git.autover; import org.apache.maven.model.Model; import org.apache.maven.model.io.xpp3.MavenXpp3Reader; import org.apache.maven.project.MavenProject; import org.codehaus.plexus.logging.Logger; import org.codehaus.plexus.logging.console.ConsoleLogger; import org.codehaus.plexus.util....
37.447761
128
0.695496
a44a235eb066016a0711742468c0e8f87ad3b165
2,761
/* * Copyright 2019 ukuz90 * * 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 w...
30.677778
81
0.717856
1ae7140a7b0ee97ae329d54a934c0669a5248eb5
4,032
package com.joymain.jecs.pd.model; // Generated 2011-5-26 12:08:38 by Hibernate Tools 3.1.0.beta4 /** * @struts.form include-all="true" extends="BaseForm" * @hibernate.class * table="PD_SHIP_STRATEGY" * */ public class PdShipStrategy extends com.joymain.jecs.model.BaseObject implements java.io.Ser...
28
184
0.545635
85caa4273685e64276e8a528134384e0b8b6006e
193
package com.malin.java.lib.java7; public class ToyVending extends AbstractVending { @Override public void chooseProduct() { System.out.println("Choose a type of toy"); } }
21.444444
51
0.689119
176cc0dde96346dc6bcb1a63c6c16fdcd9585da3
1,785
package com.jagex; import com.jagex.Class527; public class Class543 { static void method6491(int var0, int var1, int var2, int var3, int var4, Class527 var5, float var6, float var7, float var8, float var9, float var10, byte[] var11, int var12) { int var13 = var1 * var2; float[] var14 = new float...
33.055556
179
0.557983
b029e00cadfd8b503c1b8222e42a4839ddb96785
274
package io.renren.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import io.renren.entity.MmPayEntity; /** * * * @author chenshun * @email sunlightcs@gmail.com * @date 2018-11-13 19:34:23 */ public interface MmPayDao extends BaseMapper<MmPayEntity> { }
16.117647
59
0.726277
ab56798ebd319f50b56c5c2d2ecb3e4002b54013
1,529
/** * Copyright (c) 2014, by the Authors: John E Lloyd (UBC) * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */ package artisynth.core.util; import maspack.util.Scannable; /** * Base class for tokens used in p...
24.66129
79
0.64225
226aa8f2706da4a6f5514f7ab542b26c421a5ba6
19,884
/** * 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 applica...
33.531197
101
0.594347
10e81c6b34d00fb81b64715c7e0e9ff3d7e81f73
11,911
package org.innovateuk.ifs.invite.transactional; import org.innovateuk.ifs.application.transactional.ApplicationProgressService; import org.innovateuk.ifs.application.transactional.ApplicationService; import org.innovateuk.ifs.application.transactional.AutoCompleteSectionsUtil; import org.innovateuk.ifs.commons.servic...
47.454183
166
0.73747
617a7dd4a0737197adc101e5cc2ee14493d56f81
14,295
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may n...
40.726496
176
0.679049
82671f2fbe4e7cfcdbe6b18a604428c0a9859ba2
172
package ch.unisg.tapas.auctionhouse.application.port.out; import java.net.URI; public interface SubscribeToHubPort { void subscribeToHub(URI hubUri, URI topicUri); }
21.5
57
0.790698
b1b728a7e9ab958545b175f56317af7acbbbe2e9
7,585
package main.java.commands.Utility; import main.java.commands.ICommand; import main.java.core.DBProvider; import main.java.core.Main; import main.java.util.secrets; import main.java.util.utilGeneral; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; import java.sql.SQLException; import java.util.Arrays...
46.820988
150
0.484641
cae3026d221dd35248693c3e15ec0792222f5254
366
package learning.factory.methodfactory.factories; import learning.factory.methodfactory.AbstractBookFactory; import learning.factory.methodfactory.Book; import learning.factory.methodfactory.support.MathBook; public class MathBookFactory extends AbstractBookFactory { @Override public Book createBooK()...
28.153846
59
0.76776
a11ba49a0e37cdcab4da7d1fc5a95fcebfec61ce
1,160
package BQN.types.callable.trains; import BQN.tools.FmtInfo; import BQN.types.*; public class Atop extends Fun { public final Value g; public final Value h; public Atop(Value g, Value h) { this.g = g; this.h = h; } public Value call(Value x) { return g.call(h.call(x)); } public Value call...
21.886792
78
0.589655
0bb42c5ef7df13dfae2ff6347b1bc452a8ffadf9
3,670
/******************************************************************************* * Copyright (c) 2021 Gregory Mazo * * 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 * * ...
27.593985
127
0.675477
5abb77ba235360f04dd5401e667d371a34976279
774
package it.polimi.deib.se.pf.testExamples; public class Prova1 { //attrobute of the class private String firstAttribute; /** * costructure of the class, that set the unique attribute * @param firstAttribute the attribute to update */ public Prova1(String firstAttribute) { ...
21.5
62
0.651163
23e07a64c6bc32c5733533df63ad7431549cf788
1,131
package moze_intel.projecte.gameObjs.container; import javax.annotation.Nonnull; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.ContainerLevelAccess; import net.minecraft.world.inventory.CraftingMenu; /** * We *don't* use our ...
43.5
164
0.797524
48b0ea3b2822e3914787b23630a6cea0528cdbbb
9,677
/* * Copyright © 2021 CrashedLife * * 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...
43.986364
180
0.555027
242b254e930b503d6c426519b10dbf5440204804
1,559
package com.synectiks.cms.model; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax...
18.783133
60
0.643361
b4a2cfbb34faab7a78c31f86bf701c715b4ed48e
661
package com.github.dadiyang.wechat.media; import com.github.dadiyang.httpinvoker.annotation.HttpApi; import com.github.dadiyang.httpinvoker.annotation.HttpReq; import com.github.dadiyang.httpinvoker.annotation.Param; /** * @author huangxuyang * date 2019/1/1 */ @HttpApi(prefix = "${wechat.host}/openwx") public int...
28.73913
97
0.709531
cb3374b9faa15381f457957114c48caf18d2fb20
4,563
package application; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.HPos; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.stage.Stage; import jdk.nashorn.internal.objects.Global; import javafx.scene.control.Aler...
29.43871
129
0.743371
ea0f169c224a998b9b71f371939e9142f800f4a4
7,631
/** * Copyright (C) 2012 cogroo <cogroo@cogroo.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 required by appl...
33.323144
80
0.618006
04eccf1b95b575e26d896aec14529932b25f2088
20,689
// Copyright 2020 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 in writi...
38.242144
100
0.687418
68e1b93ee28feaf6688ca79bf081def1d25cff3f
1,202
package de.verygame.surface; import org.junit.Test; /** * @author Rico Schrage */ public class ContentAdapterTest { private de.verygame.surface.screen.base.ContentAdapter contentAdapter = new de.verygame.surface.screen.base.ContentAdapter(); @Test public void testOnBind() throws Exception { co...
21.464286
129
0.654742
cc04dbcd3ea69a1b46b6d45f3152dd52a1b7509f
301
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.gwac.dao; import com.gwac.model.FileNumber; /** * * @author xy */ public interface FileNumberDao extends BaseHibernateDao<FileNumber> { public int getNextNumber(FileNumber fnum); }
17.705882
69
0.727575
2a1881b039d6ecab4a832d4376771305cb6c5550
13,072
/** * 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...
41.498413
161
0.640606
cd1b6c73af90f67d6da5b52429ffbc9fbeab7410
921
package io.github.ramerf.blog.system.entity.domain; import java.io.Serializable; import java.util.Date; import javax.persistence.*; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; /** domain类的父类 */ @Data @Mapped...
27.088235
90
0.778502
e3ea42ab7c4f2931f58f728337e7ab65814dae4d
400
package com.omtlab.algorithmrecipe.binarysearch; import org.junit.Assert; import org.junit.Test; import static org.junit.Assert.*; public class LC50Test { LC50 lc50 = new LC50(); @Test public void myPow() { Assert.assertEquals(16.0d,lc50.myPow(2,4),0); Assert.assertEquals(32.0d,lc50...
22.222222
56
0.6625
e079d2d989e3f8e15e4f82466f7fdc58388f78f9
2,454
package io.contek.invoker.commons.actor.ratelimit; import com.google.common.collect.ImmutableList; import io.contek.ursa.AcquireTimeoutException; import io.contek.ursa.IPermitSession; import io.contek.ursa.cache.LimiterManager; import io.contek.ursa.cache.PermitRequest; import javax.annotation.Nullable; import javax....
32.289474
83
0.720456
2019d53c9c46808baf4a178122f81627bdcfde6c
1,206
package prodigy_hack.packet; import prodigy_hack.event.Event; public class C13PacketPlayerAbilities { public static boolean abilities; public static boolean misplacedAbilities; public static boolean abilitiesCancelEvent; public void packetPlayer(int player){ return; } publi...
29.414634
115
0.713101
039067f931baba68faa2e4e95d9a2f81a8cf0f19
2,450
/** * URLParameters.java * Programmer: Jake Botka * Nov 30, 2020 * */ package main.org.botka.utility.api.web; import java.util.HashMap; import java.util.Hashtable; import java.util.LinkedHashMap; import java.util.Map; import main.org.botka.utility.api.systems.autocomplete.MatchingResult.Builder; /** * @author ...
20.416667
98
0.724082
4245cbb056b1f1292e2f62432ba25920b529787d
1,621
package in.techware.lataxidriverapp.net.WSAsyncTasks; import android.os.AsyncTask; import org.json.JSONObject; import in.techware.lataxidriverapp.model.TripBean; import in.techware.lataxidriverapp.net.invokers.TripAcceptInvoker; /** * Created by Jemsheer K D on 08 June, 2017. * Package in.techware.lataxidriver.ne...
28.438596
90
0.728563
1e412046af6ed0e0609c4eb8718f46a794e11e44
1,216
package com.autobook.bean; /** * Created by jiabaowang on 2018/4/10. */ public class DomesticFare { // 票价 private double ticketPrice; // 机场建设费 private double airportTax = 0.0; // 燃油附加费 private double fuelTax = 0.0; // 最低可接受的票价 private double ticketPriceMin; // 最高可接受的票价 pri...
19.612903
58
0.643092
07a092801d0ad95c48830874e42da9e924f5743e
304
package cn.rong.combusis.common.utils.AudioRecorderUtil; /** * 获取录音的音频流,用于拓展的处理 * @author 李浩 * @version V001R001C01B001 */ public interface RecordStreamListener { void recordOfByte(byte[] data, int begin, int end); /** * 音量大小监听 * @param db */ void recordDb(Double db); }
17.882353
56
0.657895
82fd03e67ac58d495f8a476323a6369e0e59057e
8,905
/* * #%L * wcm.io * %% * Copyright (C) 2017 wcm.io * %% * 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 ap...
30.496575
133
0.730488
54c494017e1aba7e2809729bea4534d45e025551
2,489
package org.jojo.flow.model.data; import java.util.Arrays; import java.util.Objects; import org.jojo.flow.model.api.BasicType; import org.jojo.flow.model.api.ITensor; import org.jojo.flow.model.api.Pair; import org.jojo.flow.model.api.UnitSignature; public final class Tensor<T> extends BasicCheckable implements ITen...
29.987952
116
0.623544
952eaaec0fbdaccabb9650747adb1667e47f4354
1,907
package seabattlegame.websocket.client; import org.eclipse.jetty.util.component.LifeCycle; import javax.websocket.ContainerProvider; import javax.websocket.Session; import javax.websocket.WebSocketContainer; import java.io.IOException; import java.net.URI; import java.util.Observable; public class WebSocketConnectio...
30.758065
90
0.576822
2dedf899f0c9832c83ae5dfc37bde02ef9999472
5,101
package com.d5.tool; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.bson.Document; import org.joda.time.DateTime; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba....
31.294479
115
0.68614
489d9e8bba4162a156478b17ab9972247ecf9842
1,931
package com.neverpile.fusion.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.Requ...
40.229167
118
0.777835
084a40fc3b64e72c680298c0e66f8a9af743bee9
1,096
import java.lang.StringBuilder; import java.util.Scanner; import java.util.ArrayList; public class QuickBrownFox { public static void main(String[] args) { Scanner in = new Scanner(System.in); int num = in.nextInt(); in.nextLine(); while (num > 0) { String[] alpha = "abc...
31.314286
68
0.474453
b7972a05d2d27874f7f08fcd0ffe526402a6b15d
310
package lk.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; @Configuration @EnableWebMvc @ComponentScan(basePackages = "lk") public class WebAppConfig { }
23.846154
70
0.83871
f15cbcc5cd1e11ff4945523aaf3d32d47b2aa112
55
package dk.syslab; public class ApplicationTests { }
9.166667
31
0.763636
b073c60b81b1f88546edba7105ee4504bb78e0be
614
package com.ky.mall; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; public class TestMain { public static void main(String[] args) { // TODO Auto-generated method stub PasswordEncoder encoder = new BCryptPasswordEncod...
29.238095
97
0.767101
7158fb700feb6de339e340cc79363df6d91a1a35
334
package dbdiff.util; import java.util.Collection; public enum Validation {; public static boolean isNullOrEmpty(final String input) { return input == null || input.isEmpty(); } public static <T> boolean isEmpty(final Collection<T> list) { return list == null || list.isEmpty();...
20.875
66
0.622754
3aedae94f76cf278a57db3453ad491f3c523e0d5
6,621
/******************************************************************************* * Copyright 2014 Virginia Tech Visionarium * * 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...
29.824324
119
0.611086
e26b0a00f1a8bb34e499957ae59ff5f4f4ee8570
390
package com.chenws.netty.mqtt.service.impl; import com.chenws.iot.mqtt.service.IdentifyValidService; import org.springframework.stereotype.Service; /** * Created by chenws on 2019/10/31. */ @Service public class Password implements IdentifyValidService { @Override public Boolean isValid(String userName, byt...
24.375
87
0.751282
8098c12d9dc05781339666ffd88b5a54a1d6a2d6
4,430
/* This file is part of BORG. BORG is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BORG is distributed in the hope that it will be ...
23.193717
83
0.677878
d2b14ecf38c90381816900762f1149ba2a102f90
1,215
package hu.progtech.cd2t100.game.model; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlAttribute; /** * {@code PortNameMapping} is a key-value pair that maps node-local * port names to their emulator-global global names. */ @XmlRootElement(name="portNameMapping") public clas...
20.59322
68
0.665844
631b24310db24b3c46b82971e2d9a64d7356b515
446
package com.ldcc.test; import android.os.Bundle; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setConten...
24.777778
56
0.726457
3bba69f10e9edb35690e60dcc793bb86872dadc4
1,112
package application; import banque.AgenceBancaire; import banque.Compte; import banque.exception.ABCompteDejaExistantException; import banque.exception.ABCompteNullException; public class AccesAgenceBancaire { private AccesAgenceBancaire () {} public static AgenceBancaire getAgenceBancaire () { // To be done...
25.272727
70
0.706835
a44bdad24dc1491e8f9d51780fba1609d3375d69
6,364
package de.kraflapps.apps.batteryalarm; import java.io.FileOutputStream; import java.io.UnsupportedEncodingException; import java.util.Calendar; import java.util.Date; import java.util.Properties; import java.util.Timer; import java.util.TimerTask; import javax.mail.Message; import javax.mail.MessagingException; imp...
30.018868
155
0.686047
522e9758940b8d793fbd608676fa901d5076dbc9
5,506
package za.co.richarde.exchange; import java.util.ArrayList; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.mockito.Mockito; import za.co.richarde.exchange.exceptions.ExchangeException; import za.co.richarde.exchange.models.Currency; import za.co.richarde.e...
40.189781
139
0.739375
086b6cda258c60c78104e99bdb1da6f71d6e1b52
1,056
package bind.bugs.git47; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import org.junit.Test; import com.abubusoft.kripton.BinderContext; import com.abubusoft.kripton.BinderType; import com.abubusoft.kripton.KriptonBinder; import bind.AbstractBaseTest;...
27.789474
98
0.783144
55b930b2f56f9090be1f63a100a546a4adbf5152
1,695
package com.virtualpairprogrammers.staffmanagement.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation...
37.666667
104
0.829499
adc23826e86e0da88ebe4d3aa03c11a7a2cae818
1,822
package laberinto; public class laberinto { /** * * @param tablero en el que esta representado un laberinto con posibles estados 0: libre, 1: camino, 2: pasado, 3:pared * @return boolean que indica la existencia de un camino entre entre la casilla (0,0) y la casilla (-1,-1) */ public stati...
35.038462
123
0.489023
53c33372c7614575be21a9a587d018145ca774ae
2,148
package com.yapp.sharefood.like.controller; import com.yapp.sharefood.auth.resolver.AuthUser; import com.yapp.sharefood.config.lock.UserLevelLock; import com.yapp.sharefood.like.service.LikeService; import com.yapp.sharefood.user.domain.User; import lombok.RequiredArgsConstructor; import org.springframework.http.Respo...
37.684211
94
0.67365
67cd10e1cab3372218ba8842e546d1627a05383b
330
package io.nabox.entity.form; import io.nabox.entity.order.BaseModel; import lombok.Data; import java.util.List; @Data public class QueryBridgeTxForm extends BaseModel { private String fromChain; private String toChain; private List<String> addressList; private int pageNumber; private int pa...
15.714286
50
0.748485
fc4c60004b88a5ae1bffe7ab3dbd632cf4e47931
1,323
package org.mikeneck.graalvm.config; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.TreeSet; import org.jetbrains.annotations.NotNull; public class ProxyUsage extends TreeSet<String> implements Comparable<ProxyUsage> { public ProxyUsage() { super(); } Pr...
27
85
0.697657
f0c5c2ceff6a4e06bce8285581ada233cdab23c5
988
package dev.hephaestus.fiblib.fabric.mixin; import dev.hephaestus.fiblib.FibLib; import dev.hephaestus.fiblib.Platform; import net.minecraft.network.protocol.Packet; import net.minecraft.server.level.ChunkMap; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.level.chunk.LevelChunk; import org...
44.909091
142
0.784413
e626d083d366367ea307c7ed2c07871ea2cce20f
2,988
/* * Copyright (C) 2018 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.344828
99
0.743976
d9f4453525e0ece97ab0cff19edb9d08a3bdd3fe
833
/* * 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 com.lab.ocp.day03; /** * * @author MB-study */ public class MultiArrayGame { public static void main(String[] args) { ...
24.5
79
0.487395
b67c0db9d49e95f8beaf570fb4747c303b72e53f
1,954
package org.kogu.sedgewick_coursera.graph; import it.unimi.dsi.fastutil.ints.IntArrayList; import org.kogu.sedgewick_coursera.graph.undirected.UndirectedGraph; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Collections; import java.util.Deque; import static java.lang.System.out; public final...
23.261905
80
0.636131
6fa69346668252d66eb07aaad518684bc217d694
518
package com.bergerkiller.mountiplex.reflection.util.fast; /** * Invokes a constructor. * * @param <T> constructor Class type */ public interface Constructor<T> { T newInstance(); T newInstance(Object arg0); T newInstance(Object arg0, Object arg1); T newInstance(Object arg0, Object arg1, Object arg...
30.470588
83
0.710425
babfed4a8f783beb0d7b5e6eec552af477aa3d4f
5,762
package io.izzel.taboolib; import io.izzel.taboolib.common.plugin.InternalPlugin; import io.izzel.taboolib.module.config.TConfig; import io.izzel.taboolib.module.config.TConfigWatcher; import io.izzel.taboolib.module.db.local.Local; import io.izzel.taboolib.module.db.local.LocalPlayer; import io.izzel.taboolib.module....
36.700637
209
0.640576
ad2fde1113953a705cf740c0621892f1458cf3f8
2,442
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.4375
82
0.732187
c0e868356de2a12e1e4f52cfbb659fa6949cf2b1
18,906
/*************************************************************************** * Copyright (c) 2012-2015 VMware, Inc. 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 * ...
32.540448
91
0.616101
7b471beb1a5a061746b828b413ce743b5126391a
14,593
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
36.944304
199
0.683958
e4ee5004c602f74c1bb432cebcf2c40dc542ae12
1,571
package com.cannolicatfish.rankine.util.elements; import com.cannolicatfish.rankine.util.PeriodicTableUtils; import net.minecraft.enchantment.Enchantment; public class TechnetiumElement implements ElementInterface { @Override public PeriodicTableUtils.Element getReference() { return PeriodicTableUtils...
20.402597
60
0.605983
2019e0a65da182567926e5a4a69f44a6b9e4ccaf
16,028
/* * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javafx.scene.media; import java.net.URI; import java.io.IOException; import java.io.FileNotFou...
32.911704
95
0.580359
0a9bd58576c97523eaeb5a160b4c59a8da631f63
247
package com.liang._02springTest; public class HelloWorld { private String username; public void setUsername(String username) { this.username = username; } public void sayHello() { System.out.println("你好Spring,我是" + username); } }
15.4375
47
0.716599
2e26cdc5b8f60d69851c86e1ef56cfcc2694386e
938
package softuniGallery.entity; import javax.persistence.*; import java.util.HashSet; import java.util.Set; @Entity @Table(name = "linkTags") public class LinkTag { private Integer id; private String name; private Set<Link> links; public LinkTag() { } public LinkTag(String name) { t...
18.038462
55
0.599147
e06763bdad367942b86f81d7034d87b6ef437729
822
package com.lingke.xvp.demo.exception; public class DemoException extends RuntimeException{ /** * */ private static final long serialVersionUID = 1L; private String code; private String message; private Throwable t; public DemoException(String code,String message){ super(message); this.code=code; ...
14.421053
62
0.690998
acf49ab11be4ccbf60665744446f2930f18f7255
260
fdfdfdvcvcsaledwqk fdsfdsfds vcjxnvdkfmnvfdm ddsfnjdsbjbvsdkjfbdskb fdsfdsbmnfdjmsnfdmsnf fdsjfdsk fdsffdsfds fdsjfbnd sfdsfxzc ffffs dd fdsd fdfd fdsfdfdsfdsfd;fdsfdsssk fdskf sk fdsknf fdsfds fds fdsfds fdsfds fdsfds bbbbbbbbbbbbbbbb
10.4
23
0.815385
c28861b8061d7cb177ef60ca5c2d6ffeb0b8963d
1,938
/* * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
42.130435
88
0.687822
2c4d3ceaaf1380aa6ebedcd92280c895f4dccc0c
255
package com.vince.utils; /** * 字符串为空验证工具 */ public class EmptyUtils { public static boolean isEmpty(String s){ if(null==s || "".equals(s)){ return true; }else{ return false; } } }
15.9375
45
0.478431
f2e8fa13ac4750b2cc9abb2bca2673ad7e0b5ecc
1,075
package com.burst.sdk.struct.imos; import com.burst.sdk.constanst.IMOSDefLibrary; import com.sun.jna.Pointer; import com.sun.jna.Structure; import java.util.Arrays; import java.util.List; /** * @描述: 车辆实时显示记录 * @作者: REN * @时间: 2019/3/6 15:54 */ public class TagVehicleRealTimeData extends Structure { /** XP窗...
24.431818
101
0.705116
74593bcce3b2fcf2f1a95e03fe950cc514d1f239
13,822
package com.yc.ui; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.wb.swt.SWTResourceManager; import com.yc.dao.StaffDao; import com.yc.util.AdminUtil; import com.yc.util.ImageResize; import com.yc.util.PlaySound; import com.yc.util.StringUtil; import com.yc.util.SwtUt...
29.788793
118
0.673781
65bb8d82c16e05999b2970bb20bdb4ed8ad111b6
239
package com.loserico.proxy; public class Loser implements Human { private String name; public Loser(String name) { this.name = name; } @Override public void say(String msg) { System.out.println(msg); } }
13.277778
38
0.640167
308df033e7a36840c47e7033fa8ea4e2e562706d
2,071
package ch.akros.am.authservice.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityCon...
38.351852
175
0.693385
21d9e89ce9dcf8cfebb98e806c5677ad72fd3bc7
7,267
/* * AA 2018-2019 * Introduction to Web Programming * Healthcare Management System * UniTN */ package it.unitn.disi.wp.project.hms.services; import it.unitn.disi.wp.lab.commons.persistence.dao.exceptions.DAOException; import it.unitn.disi.wp.lab.commons.persistence.dao.exceptions.DAOFactoryException; import it.un...
37.65285
158
0.667263
b0270bd27914d6ccdc846c1865f3ddcae30c7a98
4,979
package tla.web.mvc; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.notNullValue; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; import static org.spri...
32.331169
91
0.547901
4b92d4f6ceec30c54cee7f2297a3ccefeb99a3a1
9,515
/* * 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 ...
44.671362
115
0.637099
0e000e5660bcd9869ab80e4449a466dc93197015
3,835
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
34.241071
99
0.63807
d0d1a7e87e64f617a8db3b1d542a1ed16e49ea16
832
package com.labs.luizalabschallenge; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.context.annotation.Co...
41.6
76
0.834135
c66db448cefed47856ec7cb57979411eec2d6b23
422
package com.daasuu.camerarecorder; import android.hardware.camera2.CameraCharacteristics; /** * Created by sudamasayuki on 2018/03/16. */ public enum LensFacing { FRONT(CameraCharacteristics.LENS_FACING_FRONT), BACK(CameraCharacteristics.LENS_FACING_BACK); private int facing; LensFacing(int facin...
18.347826
54
0.699052
2f6155c9efad6344cba0ab4913544d24f2000426
169
package com.forcam.na.ffwebservices.model.machinestatedetail; public interface IMachineStateDetailPaths { String MACHINE_STATE_DETAILS = "machineStateDetails"; }
21.125
61
0.822485
f7c3232569b344421a40d27e184ea00951959797
185
package blue.bookapp.services.rest_services; import blue.bookapp.api.v1.model.GenreDTO; import java.util.List; public interface RestGenreService { List<GenreDTO> getGenres(); }
16.818182
44
0.778378
23b40318a11de5e272fc42a1cfdb9a9248eb3804
433
package com.jarektoro.responsivelayout.Styleable; import java.util.HashSet; import java.util.Set; /** * Created by jarektoro on 11/22/16. */ public class CSSClassGroup { public final Set<String> classes; public CSSClassGroup(String... classes) { HashSet<String> hashSet = new HashSet<>(); f...
19.681818
50
0.635104
9ce58ba75e860f4f535f6246aff29a5131d8f153
777
public class BackpackTopDown { int[][] cache; private void initialize(int m, int n) { cache = new int[m][n]; // first column for (int j = 0; j < m; j++) { cache[j][0] = 1; } // first row for (int i = 0; i < n; i++) { cache[0][i] = 1; ...
21.583333
98
0.446589
0a1f086fa1e69af3c48973246feebeb8848b0f39
1,146
package kbs.katefidis.entities; import javax.persistence.*; @Entity @Table(name = "PRODUCTS") public class Product { @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(name = "TITLE", nullable = false) private String title; @Column(name ...
18.483871
55
0.602094
784a68f674936682b7d5010b911a6901b84aa0da
232
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ /** * Stack trace filtering / cleaning internal APIs. */ package org.mockito.internal.exceptions.stacktrace;
23.2
69
0.737069
ba94c5bdf8822c9b22cc5cf9a064f9b5beaf1286
638
package com.bbn.bue.common.converters; import com.bbn.bue.common.symbols.Symbol; import com.bbn.bue.common.symbols.SymbolUtils; import java.util.List; import static com.google.common.base.Preconditions.checkNotNull; public class StringToSymbolList implements StringConverter<List<Symbol>> { public StringToSymbolL...
25.52
74
0.768025
ed25ab97da3a453cefb2ba7744bf04c12e9c01ed
1,070
/* * 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 ejemplo; /** * * @author alumno */ public class Empleado extends Persona { protected double sueldo; ...
23.26087
80
0.56729
5cc629a9faa88a266932ea597892996a94eacf59
2,408
package edu.mit.scansite.server.dataaccess.commands.taxon; import java.sql.ResultSet; import java.util.HashSet; import java.util.Properties; import java.util.Set; import edu.mit.scansite.server.dataaccess.commands.CommandConstants; import edu.mit.scansite.server.dataaccess.commands.DbQueryCommand; import edu.mit.scan...
33.915493
106
0.782807
4cac42368d85739d42b2b12ae7d57ddfe8e9a4fe
4,017
package de.swtproject.doit.core; import com.j256.ormlite.field.DataType; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import java.sql.SQLException; import java.util.Date; import java.util.LinkedList; import java.util.List; /** * The type Milestone */ @DatabaseTable(tabl...
18.013453
67
0.55539
585f980a3fda687678eab915cc105fe68c3e167f
2,436
/* * Copyright 2011-2012 Gregory P. Moyer * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
27.066667
115
0.621921
a64f0f3f858913ebff0efb235de5712cd5c85f24
1,850
package com.axios.core.map; import java.util.HashMap; import java.util.Map; public class CaseInsensitiveMap<K, V> extends CustomKeyMap<K, V> { private static final long serialVersionUID = 4043263744224569870L; /** * [构造](structure) * @description zh - 构造 * @description en - structure * @version V1.0 * @a...
21.764706
81
0.66973
f79dcff03ce66d4006306ecf0da6972441bb9c3f
348
package edu.prahlad.patterns2.behavioural.state.abuse; public class StopWatchSimple { private boolean isRunning; public void click() { if(isRunning){ isRunning = false; System.out.println("Stopping"); }else{ isRunning = true; System.out.println("R...
23.2
54
0.574713
2c9febcbaf36dd6d8cfdd5ea6626bf0addc78866
11,271
/* * Copyright (c) 2007, intarsys consulting GmbH * * 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, * this list of conditions and the f...
32.202857
96
0.624701
d55bdd986f1ea7df23ebd448fda9b8b5cff0e4d6
3,028
package org.interledger.connector.settings; import static org.assertj.core.api.Assertions.assertThat; import org.interledger.connector.accounts.AccountId; import org.interledger.core.InterledgerAddressPrefix; import org.interledger.crypto.CryptoKey; import org.interledger.crypto.CryptoKeys; import org.interledger.lin...
48.83871
116
0.793263