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
a628dd9f5c3ce617ee04ad0eca49c9e52d5f0598
10,331
package zj.neverland.publicsdk.utils; import android.text.format.Time; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; /** * Created by sjzhand on 2017/5/11. */ public class DateUtils2 { private SimpleDateFormat sf ...
26.15443
91
0.490369
9c403c32b3060b977f61b517ee082cf736899e98
602,961
package org.im97mori.ble.characteristic.u2a66; import android.bluetooth.BluetoothGattCharacteristic; import android.os.Build; import android.os.Parcel; import org.im97mori.ble.BLEUtils; import org.im97mori.ble.characteristic.core.DateTimeUtils; import org.im97mori.ble.characteristic.core.SensorLocationUtils; import o...
59.57524
160
0.764214
6fb7454fdde8dffbc921cb7d83565b8fb1f71854
1,827
package com.ye.gdufs.service; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List; import org.hibernate.Session; import com.ye.gdufs.dao.PageDao; import com.ye.gdufs.dao.PageDaoImpl; import com.ye.gdufs.model.Page; import com.ye.gdufs.model.PageSer; public class PagePro { Page p...
22.012048
79
0.751505
66b8b5941c011e3fe947bac8c10edd26d848c1bd
2,065
/* * 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 ...
32.265625
75
0.641162
4cb8a0cdadae83d52fc65de0de67b1ca10fe3438
3,412
/** * Java SOCKS Proxy code originally from http://sourceforge.net/projects/jsocks/ * Listed Developers: Kirill Kouzoubov, Robert Simac (2010) * * Licensed by original developers under the GNU Library or Lesser General Public License (LGPL). * * Recent contributions by Jonathan West, 2012. */ packag...
25.654135
110
0.635991
5da6feec4a8d3d4fe88df1757a4345cc9f725c44
5,239
/* Copyright (C) 2010 Alexandre Riazanov (Alexander Ryazanov) * * The copyright owner licenses this file to You 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/licen...
26.064677
78
0.671502
681670eec66d06dae0e2a1f5c7f3b500115a49ca
2,544
package com.jantvrdik.intellij.latte.inspections; import com.intellij.codeInspection.InspectionManager; import com.intellij.codeInspection.LocalInspectionTool; import com.intellij.codeInspection.ProblemDescriptor; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.psi.PsiElement; import com.i...
31.02439
141
0.770047
125256649a014e0a1dac1cc3564c25b48f6f2948
7,477
package transport; import java.util.*; public class Main { public static ArrayList<AbstractAnimals> filteredList = new ArrayList<AbstractAnimals>(); public static void testCondition(ArrayList<AbstractAnimals> animals, CheckVehicle tester) { filteredList.clear(); for (AbstractAnimals animal :...
46.440994
105
0.603049
8a0b586e65ce0038dd35108942d8af67976d5cc0
2,043
package com.example.walkitoff; public class SoundList { /* this class is to be used by the Alarm class. it functions as a library of sounds that the user can choose from, all stored in an array */ private static final int NUMBER_OF_ALL_SOUNDS = 4; private int arrayCapacity, level; /** ...
24.035294
96
0.618698
4bb75a60d43c9bc15a06c413f3e8a921982fd6ed
12,932
package ca.sykesdev.tpexp.Commands; import ca.sykesdev.tpexp.Models.Transaction; import ca.sykesdev.tpexp.TPExp; import ca.sykesdev.tpexp.Utils.Data; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import o...
45.858156
132
0.556836
e850b2d63d93c7fcde01f481e287dae9c0bf0356
5,268
package common.corba.recordInterfaceManager; /** * Interface definition for the remote functionality being given by the server to the client * * @author Daniel Ricci <thedanny09 * @gmail .com> * */ public abstract class IRecordManagerPOA extends org.omg.PortableServer.Servant implements IRecor...
37.899281
133
0.658314
365b4beb8a1c637683e079d738461ef529d433c8
1,573
package com.dotmarketing.factories; import java.util.ArrayList; import java.util.List; import com.dotmarketing.beans.ChallengeQuestion; import com.dotmarketing.db.HibernateUtil; import com.dotmarketing.util.Logger; /** * This class was created to manage the challenge question search to db * @author Oswa...
28.089286
115
0.724094
f9268ab4eaae24094dee123ff5a5130f0342b4df
304
package com.xmbl.ops.service; import com.alibaba.fastjson.JSONObject; /** * @author: sunbenbao * @Email: 1402614629@qq.com * @类名: WxLoginService * @创建时间: 2018年7月31日 下午9:14:03 * @修改时间: 2018年7月31日 下午9:14:03 * @类说明: */ public interface WxLoginService { void addOrUpd(JSONObject userInfo); }
16.888889
39
0.700658
3432fce4295dea8032ecc49c56ffd35d718e9c1c
21,594
package com.github.joelgodofwar.sps.util; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.bukkit.ChatColor; //This class is where all formatting methods are stored. @SuppressWarnings("unused") public class Format { //private static MineverseChat plugin = MineverseChat.getInstan...
38.698925
522
0.63777
c72688d36e43b3d45b76b9b49564568807d9a113
7,689
package de.quinscape.exceed.runtime.application; import de.quinscape.exceed.model.ApplicationModel; import de.quinscape.exceed.model.annotation.InjectResource; import de.quinscape.exceed.model.annotation.ResourceInjectorPredicate; import de.quinscape.exceed.runtime.ExceedRuntimeException; import de.quinscape.exceed.ru...
32.306723
161
0.620107
cf2f54d08fc802ee517bb9b57d9373972f1c441f
6,627
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.synapse.implementation; import com.azure.core.util.Context; import com.azure.resourcemanager.synapse.fluent.models.ServerVulnera...
37.440678
116
0.70258
219bdf80d8b2fd61b25e4ee6204cda278c4912d1
2,098
package q51; import java.util.ArrayList; import java.util.List; /** * @author admin * @date 2020/8/31 14:24 */ public class Solution { int[] rows; int[] pass; // 正对角线 int[] neg; // 反对角线 int n; List<List<String>> result = new ArrayList<>(); int[] queens; public boolean check(int row, in...
24.682353
71
0.444709
1bbd54059af78c0e191f86b4fc1d98de1550c826
988
package top.easyblog.titan.request; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import top.easyblog.titan.enums.IdentifierType; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; /** * @author: frank.huang * @...
20.583333
77
0.69332
ce5a9c9380f98d9b97e69c18fa9116bc7fabca70
4,615
package com.ebstrada.formreturn.manager.gef.font; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import com.ebstrada.formreturn.manager.util.NoObfuscation; import com.thoughtworks.xstream.annotations.XStreamAlias; @XStreamAlias("cachedFontGroup") public class Cached...
37.827869
131
0.703359
ce6e274b23c4591b5d6a73af9917978ed17368e1
14,009
package kcarlstr.assignment1; import android.app.DialogFragment; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widg...
41.324484
118
0.660861
2273ba191e6f260090dc931d2c8ceb38d8820b6d
2,959
package awe.idea.com.admin.controller; import awe.idea.com.common.utils.Constant; import awe.idea.com.common.utils.PageUtils; import awe.idea.com.common.utils.Query; import awe.idea.com.common.utils.R; import awe.idea.com.common.validators.ValidatorUtils; import awe.idea.com.service.constants.Constants; import awe.ide...
23.862903
92
0.7293
75d7f67c545df923cfb71a9498cae3fe24f76178
2,270
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package sp_dz1; import java.util.LinkedList; import java.util.List; /** * * @author MB */ public class TableDirective {//tabela direktiva class Zapis { private String nameSeg; private int base,...
24.408602
105
0.521145
ac5313db539072b733c63ffc427a7eb29adebd3d
357
package org.javalite.activeweb; /** * Indicates a service in Guice can be destroyed when the application shuts down. * Implement by service classes that are injected into the Guice container. * * @author Igor Polevoy */ public interface Destroyable { /** * Will be called when your app is shut down grace...
22.3125
81
0.70028
e5bbca4a29a2ac24a01b44ab21b582eab66fe204
2,544
/** * */ package domain; import burlap.oomdp.core.Domain; import burlap.oomdp.core.PropositionalFunction; import burlap.oomdp.core.objects.ObjectInstance; import burlap.oomdp.core.states.State; /** * @author Felipe Leno da Silva * Propositional function for "touch" relations. Can identify if an agent is adjacent...
28.58427
123
0.737814
f542f694e6e4c8173053e686d9a9a2d383802e9e
3,276
package com.ruoyi.system.domain; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.util.Date; /** * ...
21.552632
71
0.603175
b0a631c9973f60f26e83dab454432cb7b7a2eb8f
11,927
package com.tami.vmanager.http; /** * Created by why on 2018/6/23. */ public class HttpKey { //用户名和密码登录 public static final String USER_LOGIN = "user/login"; //手机号和验证码登录 public static final String USER_LOGIN_SMS = "user/loginSms"; // 绑定用户RegistrationId public static final String USER_REGIST...
45.007547
102
0.675778
518fe9e13f55b80051ab90d1265aaf8766028b6f
1,918
package net.foreworld.oauth2.authorize.core.aop; import java.util.HashMap; import java.util.Map; import javax.annotation.Resource; import org.apache.shiro.authc.CredentialsException; import org.apache.shiro.authc.DisabledAccountException; import org.apache.shiro.authc.UnknownAccountException; import org.springframew...
24.909091
78
0.74609
32c94444a013d9dfc59f739f9d9ea9b4a3a35d9e
2,050
package com.app.framework.utils; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.text.TextUtils; import java.util.ArrayList; import java.util.List; /** * Created by lowen on 14/08/2017 21:42 */ public final class ManifestParser<T> ...
35.344828
114
0.643902
586b0b843a3082b5d3a6143a9e78b5f833f1242c
11,670
/* * Copyright 2017 Swedish E-identification Board (E-legitimationsnämnden) * * This program 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 3 of the License, or * (at...
33.05949
186
0.596315
f347643ea438da23a42cf1b1822efa104edade7d
3,210
package com.p4square.ccbapi; import com.p4square.ccbapi.exception.CCBParseException; import com.p4square.ccbapi.model.CCBAPIResponse; import javax.xml.XMLConstants; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; import javax.xml.stream.XMLInputFactory; impo...
40.632911
118
0.661682
2df8c8d42aee94b866a3857ce10f53b3c6860afc
4,038
/* * Copyright 2020 Michael Kaisser * * 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...
33.65
137
0.654037
4a0c37c11d7bc66c9223a9a207e09858fd91b148
1,442
package de.codewhite.jmet.target.impl; import com.rabbitmq.jms.admin.RMQConnectionFactory; import com.rabbitmq.jms.admin.RMQDestination; import de.codewhite.jmet.exceptions.InitException; import de.codewhite.jmet.target.JMSTarget; import de.codewhite.jmet.types.DestType; import de.codewhite.jmet.types.ModeType; impor...
31.347826
105
0.642857
ab78e28c544bf0e13fc9d374b8f3485af759e5f2
1,569
package com.webs.api; import java.util.List; import com.webs.api.model.App; import com.webs.api.model.id.AppId; import com.webs.api.model.id.SiteId; /** * Interface which specifies all app-related calls to the Webs API * * @author Patrick Carroll */ public interface AppApi { /** * Get all publicly available ...
25.721311
73
0.703633
41ea0a9ecd132344204d51ef32e66f9033a5541c
10,927
package com.immutables; /* * Copyright 2017 Justin Hughey * * 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 b...
35.477273
108
0.59623
90d8577b2eacbc4e5fdf6a8fc8294bcb694c55f4
850
package br.com.caelum.stella.validation.ie; import br.com.caelum.stella.MessageProducer; import br.com.caelum.stella.validation.Validator; public class IEGoiasValidatorTest extends IEValidatorTest { public IEGoiasValidatorTest() { super(wrongCheckDigitUnformattedString, validUnformattedString, validFormattedS...
30.357143
105
0.792941
0b4ad010fdd32b2b8253a81e1c448cf5e4d68882
1,214
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.ml.job.config; import org.elasticsearch....
28.232558
80
0.708402
476a5304f6567fd61e909361e9ddb085959e20dc
1,349
//@@author ZhangAnli package dog.pawbook.model.managedentity; import static java.util.Objects.requireNonNull; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.function.Predicate; import javafx.util.Pair; /** * Tests that the ID of an Entity is within a supplied list of ...
26.98
92
0.670867
ac0b2a8cdccf1515485ecde727d8dff313c03372
746
package com.oath.cyclops.react; import cyclops.control.Either; import lombok.AllArgsConstructor; import lombok.Getter; @AllArgsConstructor public class SimpleReactFailedStageException extends RuntimeException { private static final long serialVersionUID = 1L; private final Object value; @Getter pri...
27.62963
117
0.738606
bf279fe221a4bbc0da842f63f936aafc6fdeb7bd
1,319
package net.minestom.server.entity.type.monster; import net.minestom.server.entity.EntityCreature; import net.minestom.server.entity.EntityType; import net.minestom.server.entity.Metadata; import net.minestom.server.entity.type.Monster; import net.minestom.server.utils.Position; public class EntityZombifiedPiglin ext...
28.06383
78
0.677786
db8f3f130704292d41b77b6d37c8e9e47b38deb8
1,577
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package io.github.mmm.ui.android.widget.input; import java.nio.channels.IllegalSelectorException; import android.widget.LinearLayout; import io.github.mmm.ui.android.widget.AndroidWidgetVie...
26.283333
110
0.725428
86227777f33fbb1911ab103523d25b248cb812fd
225
class akash7 { public static void main(int a,int b,int r) { double pie=22/7; double area=pie*r*r; double cperi=2*pie*r; System.out.println("circle area..."+area); System.out.println("circle perimeter..."+cperi); } }
20.454545
49
0.675556
8158f1320cddbc73746c1f1699574c5a1b7298e7
595
package dev.shelenkov.microservicesgateway.web; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.client.RestClientE...
35
101
0.826891
e3ae42e41d97d9fa36cff9adecb7c0925f4d8912
5,765
package org.voovan.network.udp; import org.voovan.network.*; import org.voovan.network.exception.ReadMessageException; import org.voovan.network.exception.SendMessageException; import org.voovan.network.tcp.TcpSession; import org.voovan.tools.log.Logger; import java.io.IOException; import java.net.InetSocketAddress; ...
25.968468
122
0.622376
9074560ec9bfc63e66b6f0b6a4166a8f6591e570
747
package dev.kxxcn.app_squad.ui.main.match.fab.quick; import dev.kxxcn.app_squad.data.model.User; import dev.kxxcn.app_squad.ui.BasePresenter; import dev.kxxcn.app_squad.ui.BaseView; import dev.kxxcn.app_squad.util.Constants; /** * Created by kxxcn on 2018-08-03. */ public interface QuickContract { interface View e...
24.9
122
0.780455
cfb71ca39bcfcc569c17fb3249e6cf8b72896b93
854
package karob.bigtrees.config.defaults; import karob.bigtrees.config.Algorithm; import karob.bigtrees.config.BlockAndMeta; import karob.bigtrees.config.TreeConfiguration; import net.minecraft.init.Blocks; public class TallOakTreeDefaults extends TreeConfiguration { public TallOakTreeDefaults() { algorithm = Algori...
24.4
60
0.724824
7244bd8bd2cb38b912df2b370bcc2c089299225b
3,714
package com.android.library; import android.app.Application; import android.content.Context; import android.content.res.Resources; import android.support.annotation.ArrayRes; import android.support.annotation.StringRes; import com.android.library.httptask.RetroRequestQueue; import com.android.library.httptask.RetroVo...
24.27451
136
0.659397
476626d5b7feb43506e82721eea550271a72fba3
2,262
package extraction; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.time.Duration; public class MulticomTest { @Test void tst1(){ var test = "a { main {b!<msg1>; b?; stop} } | " + "b { main {a!<msg2>; a?; stop} }"; var e...
34.8
118
0.51061
90923956ac36fa481ed8dde82fd00204db69d869
474
package com.sparta.eng50.pageModels; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; public class TShirtsPage extends AbstractPage { By productButton = By.xpath("//*[@id=\"center_column\"]/ul/li/div/div[1]/div/a[1]/img"); public TShirtsPage(WebDriver webDriver) { super(webDriver)...
26.333333
92
0.696203
216aedea5a246b76448b91df0f3b13ebf4d72116
6,143
/* * Copyright (C) 2012 www.amsoft.cn * * 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 agr...
44.194245
178
0.646427
9ce291b4fec1106d3a8f6ef73c8a3ad4b62e5996
10,419
package com.thinkbiganalytics.kylo.spark.config; /*- * #%L * kylo-spark-livy-server * %% * Copyright (C) 2017 - 2018 ThinkBig Analytics, a Teradata Company * %% * 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 ...
31.862385
198
0.67089
23c8360fc44c75379b741328598f57e0fb47ccd8
4,620
package com.example.springjsonstreamtest.application.service; import com.example.springjsonstreamtest.domain.model.test.RegistTestData; import com.example.springjsonstreamtest.domain.repository.TestCommandRepository; import com.example.springjsonstreamtest.domain.repository.TestQueryRepository; import com.example.spri...
59.230769
128
0.798268
37dca050cb4b65312943040f57545c1263f9adfb
10,927
package cn.oftenporter.oftendb.data; import cn.oftenporter.oftendb.db.Condition; import cn.oftenporter.oftendb.db.NameValues; import cn.oftenporter.oftendb.db.QuerySettings; import cn.oftenporter.oftendb.db.Unit; import cn.oftenporter.porter.core.base.InNames; import cn.oftenporter.porter.core.base.WObject; import com...
27.04703
113
0.494372
66703124908c1a731197d6b7984144c9dfbd2637
1,313
package com.lihuia.mysterious.core.vo.testcase; import com.lihuia.mysterious.core.vo.base.BaseVO; import com.lihuia.mysterious.core.vo.csv.CsvVO; import com.lihuia.mysterious.core.vo.jar.JarVO; import com.lihuia.mysterious.core.vo.jmx.JmxVO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiMode...
24.314815
82
0.724296
c8146e66496b8ec7ad58f2e5185008e927167e9b
1,534
package com.hanyi.demo.controller; import com.hanyi.demo.component.MapEhcaChe; import com.hanyi.demo.service.EmployeeService; import com.hanyi.framework.model.response.ResponseResult; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.CacheManager; import org.springframewor...
26.912281
71
0.734681
f316981da0bad9e4a09c8079d2adc62159929e7f
588
package io.leopard.boot.util; import java.util.Date; import org.junit.Test; public class StatDateUtilTest { @Test public void getStartTime() { Date date = StatDateUtil.getStartTime(-7); System.out.println(DateTime.getTime(date)); } @Test public void getEndTime() { Date date = StatDateUtil.getEndTime(0);...
21
50
0.719388
ec9dd6adfe2d100e4f31a91f2372b082fdf59183
1,186
/* * Copyright 2011 Benjamin Glatzel <benjamin.glatzel@me.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 require...
30.410256
87
0.733558
131ed03e8251c5fc54e81bc4ae00291b57044528
2,133
package maspack.properties; import maspack.properties.*; /** * Template showing how to define properties within a class */ public class PropertyTemplate implements HasProperties { // property attribute variables public static final String DEFAULT_TEXT = null; protected String myText = DEFAULT_TEXT; pu...
23.7
76
0.663854
2bc5db0897abd87537c0a10fae3b1b06c16add59
2,425
/* * Copyright 2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
43.303571
100
0.716701
a16623fdfad4bbf6177aec80b18078c5f8d5188e
772
package com.cloud.api.response; import com.cloud.api.ApiConstants; import com.cloud.api.BaseResponse; import com.cloud.serializer.Param; import java.util.List; import com.google.gson.annotations.SerializedName; public class GpuResponse extends BaseResponse { @SerializedName(ApiConstants.GPUGROUPNAME) @Para...
26.62069
90
0.743523
d1435b8a437a27d304f81bf4557a796244e741f5
3,618
package com.paragon_software.sound_manager; import android.content.Context; import android.provider.Settings; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.paragon_software.dictionary_manager.Dictionary; import com.paragon_software.native_engine.EngineSoundAPI; import com.paragon_...
35.126214
155
0.728303
84dfb292d1322d4e8d0d951f8973136f285bfe68
5,120
package lastassignment.items; import lastassignment.utils.Console; import lastassignment.Player; /** * @author Boris * @version 1.0 * * The Player can purchase/find a Map that can help with navigation. * The Map shows the player the layout of the Rooms on the first floor * * @see Item */ public ...
72.112676
126
0.272461
acd4d2393e64dbc2ed60b6368e06665b8270d0ba
184
package com.solvd.airport.interfaces; public interface IFlyable { void setInstruments(); boolean takeOffRequest(); void setTakeOffPower(); void setGearUp(); }
20.444444
38
0.684783
03707c06a344a3d6a9841a8e1a5bfd3888f8792d
2,633
package com.dewarim.cinnamon.test.integration; import com.dewarim.cinnamon.api.UrlMapping; import com.dewarim.cinnamon.model.ProviderType; import com.dewarim.cinnamon.model.request.config.ListConfigRequest; import com.dewarim.cinnamon.model.response.ConfigWrapper; import org.apache.http.HttpResponse; import org.junit....
46.192982
154
0.738321
6cb1a0efea26fbc194f10e20d198744d0ed471a5
10,613
package uk.nhs.nhsx.highriskvenuesupload; import com.google.common.base.Strings; import uk.nhs.nhsx.core.DateFormatValidator; import uk.nhs.nhsx.core.Jackson; import uk.nhs.nhsx.highriskvenuesupload.model.HighRiskVenue; import uk.nhs.nhsx.highriskvenuesupload.model.HighRiskVenues; import uk.nhs.nhsx.highriskvenuesuplo...
48.683486
279
0.667106
8d8d183ad74fd92a06457a867653aee83c3ba642
1,814
package com.namelessmc.plugin.spigot.hooks; import java.util.HashMap; import java.util.Map; import java.util.Optional; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import com.namelessmc.java_api.NamelessAPI; import com.namelessmc.java_api.NamelessException; import com.namelessmc....
32.981818
127
0.719405
832f68da3a5764a9e33c226794d42cd6a1f19505
1,884
package com.pokemon.spritedex.model.pojo; import java.util.ArrayList; import java.util.List; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class HeldItem implements Parcelable { @SerializedName("item"...
21.655172
89
0.601911
f0619585c121c98b78f6beabd871ad335157f28e
588
// Copyright (c) 2019, Oracle Corporation and/or its affiliates. All rights reserved. // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. package oracle.kubernetes.operator; import java.net.Authenticator; import java.net.PasswordAuthentication; class MyTestAuthe...
36.75
105
0.784014
dd18e864219b902893c06d78d9a76958a690a94b
462
package com.springboot.angular.app; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ImportResource; /** * Main class to start the app */ @ImportResource("classpath:/aop-config.xml") @SpringBootAppli...
25.666667
68
0.805195
2565ec0dc26070a52a7c9c9bcdfb92e29567b15d
1,137
package com.users.jpa.repository; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.spri...
34.454545
118
0.808267
79fc2985560ca59e4e5bbe9f4379689c2c3ef4f1
2,716
package de.ami.team1.generator; import com.sun.istack.NotNull; import com.sun.istack.Nullable; import de.ami.team1.pojo.RawMovementPojo; import de.ami.team1.util.BigCity; import de.ami.team1.util.RandomHelper; import java.time.LocalDateTime; /** * Generates a random Movement point, which may be used for simulating ...
43.111111
127
0.680044
b37de10854bae8b2a0efad0994bb6d71c6bfa7bc
13,131
/** * 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...
38.964392
115
0.573604
1dfae7bb7fec80e6f874881fcdc79dfe34b82c8a
669
package com.cocona.skyblockrei.data.definition; import com.google.gson.annotations.SerializedName; public class SkyblockItemDefinition { @SerializedName("internalname") public String internalName; @SerializedName("itemid") public String id; @SerializedName("displayname") public String displayN...
26.76
50
0.718984
c0084799093db9e15e2c5b672d9121dfeab4749c
7,222
/** * Copyright (c) 2008-2014 Ardor Labs, Inc. * * This file is part of Ardor3D. * * Ardor3D is free software: you can redistribute it and/or modify it * under the terms of its license which may be found in the accompanying * LICENSE file or at <http://www.ardor3d.com/LICENSE>. */ package com.ardor3d.extension...
29.477551
116
0.621296
57725dca96d56525153032c8b39aa769c5b8bf7a
585
package org.jfrog.artifactory.client.model.impl; import org.jfrog.artifactory.client.model.BuildNumber; /** * @author yahavi */ public class BuildNumberImpl implements BuildNumber { private String started; private String uri; @Override public String getUri() { return uri; } @Overri...
19.5
54
0.564103
d80f2c8a80f2ade8b0d639844ef5e3ff8cbca6f9
2,035
package jscip; /** Class representing a single variable (equivalent of SCIP_VAR).*/ public class Variable { private SWIGTYPE_p_SCIP_VAR _varptr; /** pointer address class created by SWIG */ /** default constructor */ public Variable(SWIGTYPE_p_SCIP_VAR varptr) { _varptr = varptr; } /** return...
23.125
118
0.63145
1e05d240a282ff43202d14bfc2cd6fc7f13646a4
3,984
package com.usal.jorgeav.sportapp.alarms.alarmdetail; import android.content.Context; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.LoaderManager; import com.google.android.gms.maps.model.LatLng; import com.usal.jorgeav.sportapp.BaseFragment; import com.usal.jorgeav.sportapp....
34.344828
99
0.628765
c94a1f4c5eeacc7ea0692e0ad8cf2da5b8538340
10,258
/***************************************************************** * 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 * ...
37.713235
102
0.656658
edad1c7353f6b89b3cc1223a19c6eaf28495015d
2,543
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
34.364865
115
0.703893
a9ab1631632b662aca0722cb4d5aad4ca560cf07
4,163
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
19.729858
76
0.605573
0fc2f29a3d3564b000e2f24e0491ac071cd7a2dd
216
package com.madg.io; import java.io.IOException; import java.io.InputStream; /** * @Author:Madg * @Date:2018/11/7/007 20:51 */ public interface IResource { InputStream getInputStream() throws IOException; }
15.428571
52
0.722222
1c83feff51cb29f2078afe8009c898219662b917
3,097
package org.evergreen.db.helper; import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLXML; import java.sql.Timestamp; public class ColumnUtils { /** * 处理数据类型的转换 * * @param rs * @param columnName * @param propType * @return * @...
32.946809
92
0.585405
03a11c6fe3401cbd4e7434d56a372c5c5b7b277a
361
package polimorfismosAtvPrincipal; public class ContaCorrente extends Conta { @Override public double atualizaTaxaPercentual(double taxaPercentual) { double saldoConta = getSaldo(); double novoSaldo = ( ((2*taxaPercentual) * saldoConta ) / 100 )+ saldoConta; setSaldo(novoSaldo); ...
27.769231
84
0.65928
d89038e84496d255ee896ea3b3e3c6ca9918120e
421
package net.ancronik.cookbook.backend.api.web.dto.author; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.validator.constraints.CodePointLength; import javax.validation.constraints.NotBlank; @Data @NoArgsConstructor @AllArgsConstructor public class AuthorCr...
21.05
59
0.80285
f4b14831d77693c353e707f49db9d4d73a26610e
5,494
package org.talend.mq.headers.rfh2; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.ibm.mq.MQMessage; public class MQRFH2 { private final static String RFH2_FORMAT = "MQHRF2 "; private final static String STRUC_ID = "RFH "; private final static int ...
27.747475
116
0.521478
039e8d4c271e7cd35b8ba581f1b87aeb6a254fe1
6,962
package com.verdantartifice.primalmagick.common.blocks.rituals; import java.awt.Color; import java.util.Random; import com.verdantartifice.primalmagick.PrimalMagick; import com.verdantartifice.primalmagick.client.fx.FxDispatcher; import com.verdantartifice.primalmagick.common.items.ItemsPM; import com.verdantartifice...
42.45122
163
0.688021
f6781bd39171093ee2a2550a117d134c610ae0fa
1,225
package com.progzc.blog; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.progzc.blog.entity.sys.SysRoleMenu; import com.progzc.blog.mapper.sys.SysRoleMenuMapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import ...
28.488372
85
0.72
ee01489961320e25ad325c10321721544d061ff2
1,667
/* * Copyright (C) 2008 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...
30.87037
80
0.70126
974884ac3f35a078977ba34dfc03d669ba324f5e
1,271
package com.miluhe.rowsolitaireapp.actors; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.scenes.scene2d.Actor; import com.miluhe.rowsolitaireapp.SolitaireTextureLoader; /** * Created by jakke on ...
25.938776
66
0.704957
7b54b43a18d5927aebc61b59c7b7d40936e8f664
1,360
package jetbrains.mps.debug.api; /*Generated by MPS */ import jetbrains.mps.annotations.GeneratedClass; import org.jetbrains.mps.openapi.model.SNodeReference; import jetbrains.mps.debug.api.breakpoints.IBreakpoint; import jetbrains.mps.debug.api.breakpoints.BreakpointLocation; import jetbrains.mps.smodel.SNodePointer...
34
184
0.773529
b92072eeb81da7e3cb504b24e3844288d28db374
327
package rikka.bukkit.entity.living.animal; import org.bukkit.entity.Rabbit; import rikka.api.entity.living.animal.IRabbit; import rikka.bukkit.entity.living.BukkitLiving; public final class BukkitRabbit extends BukkitLiving<Rabbit> implements IRabbit { public BukkitRabbit(Rabbit source) { super(source); ...
27.25
81
0.776758
1e8af1d400fe67c3c4121b2afb3dcee02c6892f8
5,435
package mdl.sinlov.android.screen_rec; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.media.projection.MediaProjectionManager; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provider.Settings; import android.widget.T...
39.384058
148
0.598896
3b5da8417d5e0dd8fc2794e886cd4932c6f3142a
5,266
package com.acgist.boot; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.Date; import java.util.Objects; im...
23.508929
156
0.66578
d013e9006cfed8593aa74e2ce571f6e73569cb76
3,655
/* * Copyright (c) 2020 LG Electronics Inc. * SPDX-License-Identifier: LicenseRef-LGE-Proprietary */ package com.connectsdk.service.webos.lgcast.screenmirroring.uibc; import android.view.KeyEvent; import java.util.HashMap; public class UibcKeyCode { public static final int TV_KEYCODE_0 = 0x30; public stati...
48.733333
81
0.742271
9fdc28666e59a3b6052ae3c4d569763b25d9763d
1,083
package com.coding.gateway.config; import com.coding.commons.base.data.redis.RedisUtils; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.springframework.data.redis.connec...
34.935484
103
0.78301
0f50c075e1444d5116d81b8f5768cbe16cfeab57
2,163
package edu.uta.movietalk; import edu.uta.movietalk.entity.User; import edu.uta.movietalk.mapper.UserMapper; import edu.uta.movietalk.utils.JwtUtils; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowir...
29.630137
84
0.702728
0ddb647479465d5ca14a644f0b876038c7ff6c39
4,262
package no.oslomet.cs.algdat; import java.util.Arrays; public class QuickSort { public static void main(String[] args) { int[] values = {8, 5, 3, 6, 5, 2, 9}; System.out.println("Usortert: " + Arrays.toString(values)); quicksort(values, 0, values.length-1); System.out.println("So...
39.100917
98
0.571328
40b3936d67430fde9999c20383562dbd3c1fb3a7
961
/** * <copyright> </copyright> * * $Id$ */ package orgomg.cwmx.resource.coboldata; import orgomg.cwm.objectmodel.core.DataType; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Usage</b></em>'. <!-- end-user-doc --> * * <!-- begin-model-doc --> * A subclass of UML?s DataType cla...
35.592593
286
0.706556
541b8169276f847cefc6ee75cc9baa5e1ada5dfa
1,558
package strategytest; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.Test; import ladders.Ladder; import monkeys.Monkey; import monkeys.Monkey.Direction; import strategy.StrategyTwo; public class StrategyTwoTest { private Ladder l1 = new Ladder(1); ...
31.16
78
0.689345
6258a4a02f3627a69073a09c88cd57283bccf27b
1,503
/* * Copyright 2021 Airsaid. https://github.com/airsaid * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
25.474576
75
0.6833
43b08a536659ee7370bd54700119161a46b5aac5
1,416
/*********************************************************** * @Description : 77.组合问题 * https://leetcode-cn.com/problems/combinations/ * @author : 梁山广(Liang Shan Guang) * @date : 2020/1/24 22:22 * @email : liangshanguang2@gmail.com ***********************************************************/ pac...
32.930233
115
0.516949