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
e3d58412b871518da4f0cac4b72db7a001d6e992
4,465
package cern.enice.jira.amh.baseruleset; import static junitparams.JUnitParamsRunner.$; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import junitparams.JUnitPara...
38.826087
136
0.759239
bb84d30ef6f4fb6265597ad479ed2ef4e05cee01
1,565
/* * Autor: Hincho Jove, Angel Eduardo * * Descripcion del problema: Implementar el codigo visto en laboratorio * hallar su complejidad. Un metodo que realice una accion 'statement' * * PREGUNTA! * Cual es la complejidad de este codigo? * La complejidad es de O(n^2) * */ public class Cuadratic_Time_S...
20.866667
71
0.444728
652fc9c89d76f8f069cdd561e028aef582222134
684
package ca.dantav.game.gfx; import java.awt.Graphics; import java.util.ArrayList; import java.util.List; import java.util.Objects; import ca.dantav.game.Game; public final class GraphicManager { public final List<GraphicHandler> graphics = new ArrayList<>(); private Game game; public GraphicManager(Game game...
18
93
0.716374
cd1209e194477d8bb0831794a09870bee0816147
1,065
public class Triangle { private int mSideA; private int mSideB; private int mSideC; public Triangle(int sideA, int sideB, int sideC) { mSideA = sideA; mSideB = sideB; mSideC = sideC; } public int getSideA() { return mSideA; } public int getSideB() { return mSideB; } public i...
18.362069
97
0.553991
7c826686b75e37a2596c4ddc7393815e6cee5a1b
2,435
/* * This file is part of ClassGraph. * * Author: Luke Hutchison * * Hosted at: https://github.com/classgraph/classgraph * * -- * * The MIT License (MIT) * * Copyright (c) 2021 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated *...
33.819444
111
0.687474
dca7385c2d297c24f51b4e76a401b88e132ecdcb
1,203
package org.example.ioc.utils; import com.alibaba.druid.pool.DruidDataSource; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import o...
26.733333
61
0.731505
bede2969f9f7e364bd88758d7a192920eb522c09
2,065
/* * Copyright © 2018 www.noark.xyz All Rights Reserved. * * 感谢您选择Noark框架,希望我们的努力能为您提供一个简单、易用、稳定的服务器端框架 ! * 除非符合Noark许可协议,否则不得使用该文件,您可以下载许可协议文件: * * http://www.noark.xyz/LICENSE * * 1.未经许可,任何公司及个人不得以任何方式或理由对本框架进行修改、使用和传播; * 2.禁止在本项目或任何子项目的基础上发展任何派生版本、修改版本或第三方版本; * 3.无论你对源代码做出任何修改和改进,版权都归Noark...
32.777778
160
0.631477
55d44b5e8ffe68c0629b0d11967bdb801f2839c4
972
package frc.robot.commands.auto.commandgroups.testergroups; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; /** * The chassis goes in a diamond command group * @author Madison J. * @category AUTON */ public class swerveDiamond extends SequentialCommandGroup { @SuppressWarnings({"PMD.UnusedPrivateF...
29.454545
68
0.708848
7c001d3644b4be2317a6769d7e4f5c87beb781a4
642
@Inject private UrlRouting urlRouting; @Inject private GroupTable<Customer> customersTable; @Inject private Dialogs dialogs; @Subscribe("getLinkButton") public void onGetLinkButtonClick(Button.ClickEvent event) { Customer selectedCustomer = customersTable.getSingleSelected(); if (selectedCustomer != null) { ...
27.913043
67
0.676012
53d82e7be7a59ed4c1e907cddb5fe9ee33e880ad
3,667
package com.sillykid.app.adapter; import android.content.Context; import android.widget.ImageView; import com.kymjs.common.StringUtils; import com.sillykid.app.R; import com.sillykid.app.entity.PackLineBean.ResultBean.DriverBeanX; import com.sillykid.app.utils.GlideImageLoader; import cn.bingoogolapple.androidcommon...
32.451327
168
0.588219
2690ca017d13446a607ee19ebba75c405b2ab90b
832
package org.lnu.is.converter.person.type; import org.lnu.is.annotations.Converter; import org.lnu.is.converter.AbstractConverter; import org.lnu.is.domain.person.type.PersonType; import org.lnu.is.resource.person.type.PersonTypeResource; /** * Person Type PersonType PersonTypeResource converter. * @author ivanursul...
26
94
0.784856
4fb1c51d117795421d9ffbbc497c80dfe921e8ac
1,550
package com.ptrprograms.androidtvmediaplayer.Bonus; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.view.animation.Transformation; /** * Created by PaulTR on 7/10/14. */ public class Anim...
26.724138
68
0.625161
60c67776ac1426bd7754033e61036a78191f0328
1,107
package com.ecnu.microservice.order.logic; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.ecnu.microservice.order.clients.CatalogClient; import com.ecnu.microservice.order.clients.CustomerClient; @Service class OrderService { private OrderRe...
27.675
66
0.791328
a074b7dcbe84753ac2f1c4b534c4c820c1d575d7
3,179
/* * 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 writing, software * distribute...
26.491667
90
0.616232
472453e1e85d08d5307179085f0a0a77180536f5
1,013
package fr.openwide.maven.artifact.notifier.core.business.search.service; import java.io.File; import java.util.List; import fr.openwide.core.jpa.exception.ServiceException; import fr.openwide.maven.artifact.notifier.core.business.search.model.ArtifactBean; import fr.openwide.maven.artifact.notifier.core.business.sea...
38.961538
107
0.837117
4144746e27cafdefe197e01f8fe9cf898ffb8d37
6,330
/* * The MIT License (MIT) * * Copyright (c) 2019 Twineworks GmbH * * 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 u...
36.37931
127
0.735229
0758eedf2436d45ae2c45e5c4601d278bdaf4ea8
2,104
package vectorwing.farmersdelight.common.loot.function; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonObject; import net.minecraft.MethodsReturnNonnullByDefault; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.c...
34.491803
132
0.803707
516776a710c50b271649cd150807ef903b345fd2
460
package hello.aop.exam.aop; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; @Slf4j @Aspect public class TraceAspect { @Before("@annotation(hello.aop.exam.annotation.Trace)") public void doTrace(JoinPoin...
25.555556
71
0.715217
0a4379a34a3cd5f8777b3f90988e2ae6962a3308
12,962
package com.wecoo.qutianxia.view.wheelcity; import android.app.Dialog; import android.content.Context; import android.content.res.Resources; import android.graphics.Paint; import android.graphics.drawable.ColorDrawable; import android.text.TextUtils; import android.view.Gravity; import android.view.LayoutInflater; imp...
42.638158
134
0.59551
13930a69615871c4add87a36a94bbe0057bb32eb
1,470
package com.adelerobots.web.fiopre.listeners; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.treelogic.fawna.presentacion.componentes.event.api.GestorDatosComponentes; import com.treelogic.fawna.presentacion.componentes.event.api.GestorEstadoComponentes; ...
28.823529
106
0.74898
01ae9ebe83ffd3e3cc5169b1083b43a62ca2a528
3,174
/* * Decompiled with CFR <Could not determine version>. */ package org.apache.http.impl; import org.apache.http.HttpRequest; import org.apache.http.HttpRequestFactory; import org.apache.http.MethodNotSupportedException; import org.apache.http.RequestLine; import org.apache.http.annotation.Contract; import org.apache...
44.083333
156
0.713926
f372c41c78efb1da3ac63fb2436cc44b1ffc95d3
158
/** * This package only exists to avoid using reflection when accessing * internal variables of Weka's classifier trees. */ package weka.classifiers.trees;
31.6
68
0.772152
8ff685a104f825164711443c5013928a2037c0b0
991
package student_player; import java.util.ArrayList; public class Node{ static final int WIN_SCORE = 10; int level; int opponent; private final State state; private Node parent; private ArrayList<Node> childArray; Node(State pState){ state = pState; parent = null; ...
19.82
74
0.57114
a887e52a8847440a4158e718640b1272da1a76fe
2,777
package com.webcheckers.ui; import com.webcheckers.appl.PlayerLobby; import com.webcheckers.model.Player; import com.webcheckers.utils.Constants; import spark.*; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.logging.Logger; /** * The UI Controller to GET the Home page. ...
34.7125
103
0.684192
a921d90d541f39e17485e7c760793c3565d9b567
1,429
package org.blacksmith.finlib.datetime.calendar; import java.time.LocalDate; import java.util.Set; import org.blacksmith.finlib.datetime.calendar.extractor.DateExtractor; import org.blacksmith.finlib.datetime.calendar.policy.DatePartHolidayPolicy; import org.blacksmith.finlib.datetime.calendar.provider.DatePartInMemo...
40.828571
81
0.751575
0b149886db477c60b1a6f9e68f6429ca1c5359c8
221
package com.andersonmarques.bvp.exception; public class LoginInvalidoException extends RuntimeException{ private static final long serialVersionUID = 1L; public LoginInvalidoException(String msg) { super(msg); } }
24.555556
61
0.80543
f33777646c7a0eb7fb80fd68b2b0a41a16ce32d8
2,486
/* * package tests; * * import base.BaseTest; import lombok.extern.slf4j.Slf4j; import * org.testng.Reporter; import org.testng.annotations.Parameters; import * org.testng.annotations.Test; * * import pages.Dashboard; import pages.LoginPage; import pages.SecureAreaPage; * * import static org.testng.Assert.a...
40.754098
80
0.736525
a2816f90e6528b1ec9151eefddb6eadc6c25c313
4,217
package com.alsash.reciper.mvp.presenter; import android.support.annotation.UiThread; import android.support.annotation.WorkerThread; import com.alsash.reciper.logic.BusinessLogic; import com.alsash.reciper.logic.StorageLogic; import com.alsash.reciper.mvp.model.entity.BaseEntity; import com.alsash.reciper.mvp.model....
33.468254
95
0.664453
e6c09e02fecb399856be17982eb290fd74f12d8c
3,226
package net.sytes.surfael.api; import android.content.Context; import java.io.IOException; import java.net.SocketException; import net.sytes.surfael.api.ApiReceiveInterface; import net.sytes.surfael.api.ApiSendFacade; import net.sytes.surfael.api.control.sync.ClientStream; import net.sytes.surfael.api.control.sync.S...
28.298246
78
0.736206
b64257d2a72e3d382d3de23132af6db512137109
2,449
/* * (C) Copyright 2018 VILMAA. * * 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...
33.547945
136
0.690486
9d9d0042423c0c68654e9fd785053cb0dc3780e0
604
package com.umg.ventas.core.ies.bo; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Set; @Data @Table(name = "proveedores") @Entity public class Proveedor implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "codigo_prove...
22.37037
53
0.746689
52bf83a49ca930196a6b77cf2eaadc849272fe49
2,110
package com.testing.pageObjects.pages; import org.openqa.selenium.By; import net.thucydides.core.annotations.DefaultUrl; @DefaultUrl("/") public class HomePage extends BasePage { // Locators ---------------------------------------------------------------------------------------------------------- public static B...
51.463415
140
0.624171
593f7f5eb50224108196c380b5248f3212c8ccc8
482
package com.java.offer; //左旋转字符串 /* * 我的思路就是:先将字符串转成字符数组,然后先将从n到最后的字符加入字符串中, * 然后再将前n个字符加入字符串中 * 运行时间33ms * 占用内存629k */ public class Solution14 { public String LeftRotateString(String str, int n){ if(str == null || n > str.length()){ return ""; } StringBuffer sb = new StringBuffer(); char [] ch = str....
18.538462
51
0.609959
41105b935e11c588c73440eed147c2683267cff2
240
package org.metasyntactic.automata.compiler.python.scanner; public class WhitespaceToken extends PythonToken { public WhitespaceToken(String text) { super(text); } public Type getTokenType() { return Type.Whitespace; } }
20
59
0.741667
3d1cdf17e40464796aab1f19d19d03a46e6e9253
1,416
package com.google.common.collect; import java.util.Comparator; import java.util.Map.Entry; public final class ImmutableListMultimap$Builder<K, V> extends ImmutableMultimap$Builder<K, V> { public ImmutableListMultimap$Builder<K, V> put(K key, V value) { super.put(key, value); return this; } ...
30.782609
101
0.661017
4d3991a061b3625337da2574a3147e6c393021cc
2,681
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 行业代理收单接口 * * @author auto create * @since 1.0, 2017-05-10 11:09:03 */ public class AlipayCommerceTradeApplyModel extends AlipayObject { private static final long serialVersionU...
20.007463
70
0.694144
b8e2a8ddec66328503a889afa7a367eca6d5cd6a
1,378
package com.example.application.calendar; import com.example.application.calendar.EventsJSONConverter; import org.junit.BeforeClass; import org.junit.Test; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.text.DateFormat; import java.text.ParseException; import java.te...
32.046512
110
0.748186
2ce0449b7058a609e98f6a7bdba45ed987fc3f10
751
package com.blogspot.toomuchcoding.book.chapter3._6_MockingFinalClassesPowerMock; import com.blogspot.toomuchcoding.person.Person; public final class TaxService { public static final double POLAND_TAX_FACTOR = 0.3; public static final double DEFAULT_TAX_FACTOR = 0.5; public static final String POLAND =...
27.814815
131
0.71771
8f0d3e5abc6cfe75e1ff489154327ba09f7cb2d0
641
package org.osmdroid.tileprovider.modules; /** * @author Fabrice Fontaine * Used to be embedded in MapTileModuleProviderBase * <p> * Thrown by a tile provider module in TileLoader.loadTile() to signal that it can no longer * function properly. This will typically clear the pending queue. * @since 6.0.2 */ publi...
29.136364
92
0.74415
26d625532286dc74d57801f8f069da6fd4f56832
1,958
/******************************************************************************* * Copyright 2020 Pinterest, 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.apac...
30.59375
85
0.6619
ec737e98ed5ded3eed5417c2d581953746f19a8d
546
package optifine; import net.minecraft.util.BlockPos; import net.minecraft.world.ColorizerFoliage; import net.minecraft.world.IBlockAccess; final class CustomColors$3 implements CustomColors.IColorizer { public int getColor(IBlockAccess p_getColor_1_, BlockPos p_getColor_2_) { return CustomColors.access$2...
34.125
157
0.763736
54e89b5365607acc15c1d50e5d05ef2059aba90c
1,985
package org.xbib.netty.http.server.api; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufInputStream; import io.netty.handler.codec.http.HttpHeaders; import io.netty.handler.codec.http.HttpMethod; import org.xbib.net.URL; import org.xbib.netty.http.common.HttpParameters; import javax.net.ssl.SSLSession; i...
21.117021
94
0.704786
424af9fd5b34c57958b2744fbff4388eac7c5831
100
package org.ttrzcinski.dictionaries; public enum Binding { NONE, DASHES, UNDERSCORES }
12.5
36
0.7
f4a1c5053dc5db3a3390ae812e5dc50f80a1f1a8
199
package work.lollipops.循环依赖; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class B { @Autowired private A a; }
18.090909
62
0.809045
2b7d5da8d11a460bf1e5d4d0255e562f84d68700
2,209
package robtest.stateinterfw.examples.openStack; import robtest.stateinterfw.*; import robtest.stateinterfw.data.TestStateVerdictItem; import robtest.stateinterfw.examples.openStack.content.OpenStackUserContent; import robtest.stateinterfw.openStack.cli.waiters.PowerOnWaiter; public class OpenStackTestStateCommand ex...
40.163636
123
0.742417
1b4e77380cc2fd101a33e4c1820ded95c9e9313e
1,510
package org.openbaton.tosca.templates.TopologyTemplate.Nodes.CP; import java.util.Map; /** * Created by rvl on 17.08.16. */ public class CPProperties { private String type = null; private boolean anti_spoof_protection = false; private String floatingIP = null; public CPProperties(Object properties) { ...
22.537313
88
0.664901
3455dc2c4f2f22206c9297c495bb91b33ce2a62e
7,735
package edu.uwpr.protinfer.idpicker; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import edu.uwpr.protinfer.infer.InferredProtein; import edu.uwpr.protinfer.infer.Peptide; import edu.uwpr.protinfer.infer.P...
38.869347
136
0.61797
45fdd8b756b250df8e91434e4cb053c3ce400ccd
122
package epitech.epioid.API.Items; /** * Created by michelantoine on 16/01/15. */ public abstract class EpitechItem { }
15.25
40
0.721311
31048d230fe927c09f4f3e55e9cb9305d6c53244
2,069
package com.ty.product.api.domain.productPb.service.impl; import com.ty.april.common.tool.page.PageParam; import com.ty.april.core.mybatis.AbstractService; import com.ty.product.api.domain.productPb.repository.dao.ProductMapper; import com.ty.product.api.domain.productPb.repository.model.Product; import com.ty.product...
40.568627
150
0.761237
1db7143c7a873bfa66c3be81723853f6e01f6ff9
706
package com.xwx.myblog.utils; import com.xwx.myblog.dao.CategoryDao; import com.xwx.myblog.dao.UserDao; import com.xwx.myblog.service.CategoryService; import com.xwx.myblog.service.UserService; import org.springframework.beans.factory.annotation.Autowired; /** * Created by 73667 on 2017/11/6. */ public class OtherU...
29.416667
91
0.760623
4cd8b5abf702a5e7583435d2b0d0ae9aed1b7bc8
1,252
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
30.536585
89
0.634984
4115a6f2cb8b0fcf31c708a4c91ca586bd7a7baa
5,804
package top.easyblog.util; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingException; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import java.io.UnsupportedEncodingException; impor...
35.175758
211
0.615955
0f54c00fe665e26f3eacde3e99a88aa2f3d230a3
5,022
package catrobat.calculator.uitest; import android.widget.TextView; import catrobat.calculator.R; /** * Created by chrl on 01/06/16. * <p/> * Basic Testcase */ public class CalculatorTest extends CalculatorUITestTemplate { public void testButtons() throws Exception { for (int i = 0; i < 10; i++) { ...
31
112
0.599761
d98d31698b5f014067e4495deb0f01a998b4f41c
5,391
/******************************************************************************* * Copyright 2019 Mountain Fog, 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.a...
36.924658
114
0.700983
4d41c0041c280a47e6ab2d273fb088dde624c11e
8,324
import java.io.*; import java.net.Socket; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; public class ServerThread extends Thread { protected Socket socket; protected UserList UList; protected PostList PList; protected ArrayList<String...
41.412935
143
0.373378
65dc400de152fc506a025b603e514b1abb510bfd
13,917
/* * Copyright (C) 2016 Red Hat, 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 agre...
52.91635
212
0.720198
c770d2d72a25423656884a1e8bf491045e119eb7
1,596
package cn.aethli.lock.aspect; import cn.aethli.lock.annotation.DistributedLock; import cn.aethli.lock.common.emnus.ResponseStatus; import cn.aethli.lock.model.ResponseModel; import cn.aethli.lock.utils.LockUtil; import java.lang.reflect.Method; import java.util.UUID; import lombok.extern.slf4j.Slf4j; import org.aspec...
32.571429
87
0.753759
76ab793024a98de59cd2c15a437fafbff56293b9
2,645
package com.bitdubai.reference_wallet.crypto_broker_wallet.preference_settings; import com.bitdubai.fermat_wpd_api.layer.wpd_middleware.wallet_settings.PreferenceWalletSettings; import com.bitdubai.fermat_wpd_api.layer.wpd_middleware.wallet_settings.exceptions.CantGetDefaultLanguageException; import com.bitdubai.ferma...
36.736111
122
0.774669
4a8182f55179a3f34e3a2fe035556c46ae848e86
45
test warning keyword param bar foo invoke foo
45
45
0.844444
72cadcfcd12fbb20bc3d62945c600234aa9f1cbc
432
package hotciv.framework.Strategies; import hotciv.framework.Position; import hotciv.framework.Unit; import hotciv.framework.World; public interface BattleStrategy { /** returns the victor of a battle * * @param attacker the unit that attacks * @param defender the unit that defends * @return th...
28.8
70
0.731481
4ea7d2aef3a0274047f6efa09257f3e01404e6db
5,687
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
45.134921
187
0.737999
311fa0be31cfc90b71f77dff0b571176dd95971e
426
package ai.eve; import java.util.Properties; public abstract class AbstractTrackerClient { private Properties properties; public AbstractTrackerClient(Properties props) { this.properties = props; } public Properties getProperties() { return this.properties; } abstract public void trackEvent(UserSess...
21.3
82
0.79108
71b22f498532f1ba710e3fc3c96644fa3b747fed
1,462
package com.jstechnologies.usermanagement; import android.os.Bundle; import android.widget.Toast; import androidx.annotation.IdRes; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.ViewModel; /*Base fragment for authentication and auth protection. Implements some ...
32.488889
98
0.70383
c434913376750aad058bac5b675454c45a736366
674
package ai.residences; import l2f.gameserver.model.instances.NpcInstance; public class SiegeGuardRanger extends SiegeGuard { public SiegeGuardRanger(NpcInstance actor) { super(actor); } @Override protected boolean createNewTask() { return defaultFightTask(); } @Override public int getRatePHYS() { re...
11.423729
50
0.689911
54797416bb2732b05fe78c2309ec4712dfc2ffec
36
./dependencies/D/src/android/D.java
18
35
0.777778
cb3c4ada38a36f1be4fbd7735c59b840bf7ef372
260
package ayp2.clase15.patrones; public class File implements AbstractFile{ private String m_name; public File(String name){ m_name = name; } public void ls(){ System.out.println(AbstractFile.g_indent + m_name); } }
14.444444
60
0.638462
4b087ef40d366b2be5b40a21ee2535c87a3fbd75
4,560
/* * Copyright 2017 Lime - HighTech Solutions s.r.o. * * 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 ...
25.333333
79
0.65
661827afcf4037be07df778438e243faf3841d9d
218
package com.jun.jpa.domain; import com.jun.jpa.model.Role; import org.springframework.data.jpa.repository.JpaRepository; /** * 数据持久层操作接口 * */ public interface RoleRepository extends JpaRepository<Role, Long> { }
16.769231
67
0.761468
5e6951b7dead032c25c00cc607c9d572c82628f1
90
/** * Classes for storing constant values. */ package com.epam.brest.courses.constants;
18
41
0.733333
8dbf7ddb6e6928bff423ce6daf5dcfd6644c1c33
5,564
package com.sung.hee.shcrowd.model; /** * Created by SungHere on 2017-05-24. */ public class SHCrowd { private String rnn=""; private int seq; private int pnum; private String title = ""; public String getTitleTemp() { titleTemp = title; titleTemp = titleTemp.replace("&", "&a...
20.014388
106
0.554996
e8ef8545b41cd7037da3f6e5c900c94bc2c832a6
3,297
package org.bzewdu.graph; import org.bzewdu.stats.DataSet; import org.bzewdu.util.Subresults; import javax.swing.*; import java.awt.*; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; public class GraphRW { private static void usage() { System.out.print...
38.337209
111
0.569912
8b2591693c5ab342b09995f36d9d71a2794a5d3f
2,811
/********************************************************************************* * TotalCross Software Development Kit * * Copyright (C) 1998, 1999 Wabasoft <www.wabasoft.com> * * Copyright (C) 2000-2012 SuperWaba Ltda. ...
41.338235
121
0.521878
d47ecc656606853ff8adb5b2fde7fa03967274bf
3,260
package activity; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.os.Bundle; import android.widget.EditText; import android.widget.Toast; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database...
33.265306
76
0.662883
04817e26424f0bbb39712f0abbc5318c19216b51
836
package br.com.fjsistemas.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import br.com.fjsistemas.backend.Almoxarifado; import br.com.fjsistemas.repository.AlmoxarifadoRepository; @Service public class AlmoxarifadoService...
22.594595
70
0.808612
dbd77665e11aa06fc9894672491514e2fd8f5b59
1,862
package com.couchbase.perftest; import android.content.Context; import android.util.Log; import com.couchbase.lite.CouchbaseLiteException; import com.couchbase.lite.DatabaseConfiguration; import com.couchbase.lite.MutableDocument; public class DocPerfTest extends PerfTest { public DocPerfTest(Context context, D...
29.555556
107
0.546187
90e0834d05c5111187e75e60843e0ea0cb4ed099
1,659
package com.goodjob.crm.security; import java.util.Collection; import java.util.stream.Collectors; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import com.auth0.jwt.interf...
20.7375
88
0.729355
b7cd2c52488fa7afecd974442ef515e639882d37
596
/* * 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 org.muzza.ws; import java.util.Date; import javax.jws.WebService; /** * * @author M Mozammil */ @WebService(endpointInter...
19.866667
79
0.686242
42c520438fe9a4e80587f5809dcb571a32ff674f
4,783
package io.vertx.ext.web.openapi; import io.vertx.codegen.annotations.VertxGen; import io.vertx.core.json.JsonObject; import io.vertx.core.json.pointer.JsonPointer; /** * Main class for router factory exceptions * * @author Francesco Guardiani @slinkydeveloper */ public class RouterFactoryException extends Runtim...
37.661417
179
0.755384
1a3f516fb2698dd4c2f11d0729e89563b609f4fd
1,443
package mkTails.invariants; import java.util.List; import mkTails.model.event.EventType; import mkTails.model.interfaces.INode; /** * An implicit invariant for totally ordered Synoptic models that encodes the * constraint that (1) every trace must start with an Initial event, (2) end * with a Terminal event, and ...
25.767857
77
0.652807
05418cf1009424a26be698ad1f6c14f24e2a217c
1,375
/** * AET * * Copyright (C) 2013 Cognifide 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 * * Unless required by applicable law...
22.916667
100
0.72
b46cf89ac3d790584eba0a38031b0ab875f193f7
3,158
package polsl.tab.skiresort.api.employee; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import polsl.tab.skiresort.api.employee.request.AgeDiscountsRequest; import polsl.tab.skiresort.api.employee.request.P...
38.987654
110
0.758075
cefc9decac89693b79a134e3ae81214dff29abde
436
package com.github.mirs.banxiaoxiao.framework.core.log; public interface BizLogger { void debug(String bizType, Object... propertys); void info(String bizType, Object... propertys); void warn(String bizType, Object... propertys); void warn(String bizType, Throwable e, Object... propertys); vo...
24.222222
65
0.711009
657ea396399eacdf80c5d1a29590780547929498
407
package com.thenetwork.app.android.thenetwork.HelperClasses; import android.support.annotation.NonNull; import com.google.firebase.firestore.Exclude; /** * Created by Kashish on 14-03-2018. */ public class BlogPostId { @Exclude public String BlogPostId; public <T extends BlogPostId> T withId(@NonN...
17.695652
71
0.695332
f8660d7925368a03349f7b32aeeb212762a8a537
2,740
package com.lightbend.futures; import java.io.*; import java.nio.file.Path; import java.util.Optional; import java.util.UUID; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; interface ObjectStore { Optional<Object> read(UUID id); boolean write(UUID id...
29.148936
78
0.633212
884d73ebd6f85b44594780c14f62665fd8d6d263
4,988
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
27.865922
99
0.663392
2e85d36fb4fe8e40d3f85c1ecab429d1bb503aea
1,683
package mkl.testarea.pdfbox2.content; import java.io.File; import java.io.IOException; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.pdmodel.PDPage; import org.apache.pdfbox.pdmodel.PDPageContentStream; import org.apache.pdfbox.pdmodel.font.PDType0Font; import org.junit.BeforeClass; import org...
33
145
0.673797
34ef390de5c68ced3eed9fc03506fa8f428522b6
4,531
/* * AT&T - PROPRIETARY * THIS FILE CONTAINS PROPRIETARY INFORMATION OF * AT&T AND IS NOT TO BE DISCLOSED OR USED EXCEPT IN * ACCORDANCE WITH APPLICABLE AGREEMENTS. * * Copyright (c) 2013 AT&T Knowledge Ventures * Unpublished and Not for Pu...
34.325758
146
0.723681
f8bef78c913659a3a16c8a053bd83e6d763bb51a
1,246
package org.bougainvillea.java.basejava.codequality.chapter09; /** * 119.启动线程前stop方法是不可靠的 */ public class Eo { /** * 此段代码中,设置了一个极端条件: * 所有的线程在启动前都执行stop方法,虽然它是一个已过时(Deprecated)的方法,但它的运行逻辑还是正常的, * 况且stop方法在此处的目的并不是停止一个线程,而是设置线程为不可启用状态。 * 想来这应该是没有问题的,但是运行结果却出现了奇怪的现象: * 部分线程还是启动了,也就是在某些线程(没...
25.428571
64
0.624398
2f2976382f4c08e5e7aaa9a34d46443f62b8e55b
10,114
/* * 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 ...
37.738806
100
0.654439
327038eb5dd6b60a047da759ff3119c6119789ff
182
package frc.robot.subsystems.dummy; import frc.robot.subsystems.Climber; public class DummyClimber implements Climber { @Override public void setOutput(double output) { } }
16.545455
46
0.769231
acddb065e8b6599d00f869213cd343e02bd7e6b5
448
package uk.co.gmescouts.stmarys.beddingplants.data; import org.springframework.data.jpa.repository.JpaRepository; import uk.co.gmescouts.stmarys.beddingplants.data.model.Plant; import javax.persistence.OrderBy; import java.util.Set; public interface PlantRepository extends JpaRepository<Plant, Long> { Plant findByN...
29.866667
69
0.823661
37d0df0777f9c2df3faa0df2406244b36fe13cda
3,866
/* * Copyright (C) 2020 Beijing Yishu Technology Co., 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
28.218978
91
0.699948
e1aeacc8407eaad31575e5125e68360921de017b
1,128
package hash; import com.google.cloud.translate.Translate; import com.google.cloud.translate.TranslateOptions; import com.google.cloud.translate.Translation; public class LinguisticHash { public static int hash(String key) { //Google Translate Set up Translate translate = TranslateOptions.getDefa...
26.232558
163
0.617908
a392705e16716b567a1e7785371d923d909a064c
3,946
package edu.anadolu.qpp; import edu.anadolu.datasets.DataSet; import org.apache.lucene.index.Term; import org.apache.lucene.queryparser.classic.ParseException; import org.apache.lucene.queryparser.classic.QueryParser; import org.apache.lucene.search.BooleanClause; import org.apache.lucene.search.BooleanQuery; import o...
34.614035
129
0.667765
a378740f0485815130a396812f8fc0650d7dbc6d
1,072
/** * */ package de.unileipzig.ws2tm.ws.soap.impl; import de.unileipzig.ws2tm.ws.soap.Authentication; /** * <b>Class AuthenticationImpl</b> implements class {@link Authentication} * * @author Torsten Grigull * @version 0.1 (2011/01/31) * */ public class AuthenticationImpl implements Authentication { priva...
17.866667
74
0.67444
bae05dc3c765ed8f95799961888855c922f387ae
2,369
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, 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:/...
41.561404
129
0.649219
ed239c80491d3d350176a11956dc785745e13923
5,452
package openblocks.client.renderer.item; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.renderer.enti...
34.506329
111
0.747982
b651f1cdaf0c0163f05729bbfbc75b34c8f09d6b
2,512
package gov.vha.isaac.ochre.model.logic.node; import gov.vha.isaac.ochre.api.DataTarget; import gov.vha.isaac.ochre.model.logic.LogicalExpressionOchreImpl; import gov.vha.isaac.ochre.api.logic.LogicNode; import gov.vha.isaac.ochre.api.logic.NodeSemantic; import java.io.DataInputStream; import java.io.DataOutput; impo...
28.545455
129
0.6875
b09badcba504879281aaac9d086ada58a461cd26
147
class Test { { Object o = null; Comparable<String> c = <error descr="Variable 'o' is already defined in the scope">o</error> -> 42; } }
24.5
103
0.612245
9a2422dbece9bf559b83e841202b8845eaa6cc9a
1,610
package com.alibaba.arthas.tunnel.server.app.security; import com.alibaba.arthas.tunnel.server.app.entity.SysRole; import com.alibaba.arthas.tunnel.server.app.entity.SysUser; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org...
22.676056
86
0.752174