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
18c9ed1a950e7d0d533c95c2b5954880a3222845
470
package ru.frostdelta.authserver; import java.util.HashMap; public class UserSession { public static HashMap<String, Boolean> session = new HashMap<String, Boolean>(); public UserSession(String username) { UserSession.session.put(username, true); } public UserSession() { } pub...
15.16129
84
0.651064
4bf8bf09eeff29c7347f8bc05a69daa08cf3f358
1,717
package edu.uta.futureye.lib.element; import edu.uta.futureye.core.Element; import edu.uta.futureye.core.Line1DCoord; import edu.uta.futureye.core.Mesh; import edu.uta.futureye.core.intf.CoordTrans; import edu.uta.futureye.core.intf.FiniteElement; import edu.uta.futureye.function.basic.FX; import edu.uta.futureye.func...
20.939024
81
0.703553
fea5a04d5cfbfca58d862c2643aa84be5577a9af
18,402
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; import net.runelite.rs.ScriptOpcodes; @ObfuscatedName("ci") @Implements("Players") public class Players ...
34.918406
189
0.672807
e8c1559e47b2964e9e66c4e8818b416669d99411
3,092
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.costmanagement.implementation; import com.azure.core.http.rest.PagedIterable; import com.azure.core.util.Context; import com.azu...
42.944444
120
0.750323
69e4b8ebec2f1909763a85aca93ead4fc634a742
1,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 ...
35.935484
75
0.753142
14452bce94ffa6544064b847ade2ce9deb898c30
4,164
/* * Copyright (C) 2014 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 applicable ...
40.038462
100
0.684198
481e2598194dc941d7f3a45beefb561cc296090f
1,009
package com.victor.sample.controller; import com.victor.sample.service.ISampleService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; @RestController @RequestMapping("sample") public class SampleControll...
28.828571
144
0.679881
2ad54e577f07ce3812269bda0871db716e4a6f68
2,892
package com.boydti.fawe.jnbt.anvil; import com.boydti.fawe.beta.IChunkGet; import com.boydti.fawe.beta.implementation.packet.ChunkPacket; import com.sk89q.jnbt.CompoundTag; import com.sk89q.worldedit.EditSession; import com.sk89q.worldedit.MaxChangedBlocksException; import com.sk89q.worldedit.WorldEditException; impor...
27.283019
148
0.737898
8a36571ba7da9758af428262f7c07123ff8f0fc0
8,173
package basearch.dao.impl; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import javax.persistence.EntityGraph; import javax.persistence.EntityManager; import javax.persistence.EntityNotFoundException; import javax.persistence.N...
32.177165
124
0.703903
7281ebc9f01a86ef1024cd40a616c018e91da77c
76
package org.hidetake.stubyaml.service; public interface ObjectCompiler { }
15.2
38
0.815789
141618b8a47b94fb2fda74798d7e70740b5d2342
8,408
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
28.405405
137
0.59931
6bd6f96825943624c37ce535bcb89363cf5cf966
3,383
package org.jasig.cas.authentication; import org.jasig.cas.util.http.HttpClient; import org.jasig.cas.util.http.SimpleHttpClientFactoryBean; import org.junit.Test; import org.springframework.core.io.ClassPathResource; import java.io.File; import static org.junit.Assert.*; /** * Tests for the {@code FileTrustStoreS...
47.647887
122
0.759976
e2e35705b3a75e4e42a649f0ba6c1830e8586ffc
2,974
/* * Copyright (c) 2016 DreamLiner Studio * 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 a...
34.581395
118
0.704775
3232523961f707b04d5fd28d8bdb3f5d3eb99c30
201
package com.shieldui.wicket.dropdown; public abstract class SelectEventListener extends com.shieldui.wicket.combobox.SelectEventListener { private static final long serialVersionUID = 1L; }
28.714286
99
0.800995
28e2a71cf3fe9e5b24fe9264878eda760dd0b366
133
package com.atlassian.maven.plugin.clover.samples.testsources; /** * Simulate a base class for tests. */ public class WebTest { }
16.625
62
0.736842
ff808148d0c4a162499c282d27de40fa7038b26b
13,522
/* * 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 ...
51.026415
104
0.472415
f7ce4d4d8ef2ec81ea573d8d5c15346b64457806
3,829
/* * Copyright 2020 Netflix, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agr...
45.583333
118
0.733612
c7f735780fe4ac1a175a5c941e48aaa13451fea2
1,354
class Intersect { int intersectPoint(Node headA, Node headB) { // code here Node temp1 = headA; Node temp2 = headB; int countA = 0; int countB = 0; while(temp1 != null){ countA++; temp1 = temp1.next; } while(temp2 != null)...
22.566667
50
0.370015
84ad290a0af124564bbca234e52d318bdc7326c3
1,928
package com.telerik.app.tasks; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import com.google.android.gms.auth.GoogleAuthException; import com.google.android.gms.auth.GoogleAuthUtil; import com.google.android.gms.auth.UserRecoverableAuthEx...
37.803922
119
0.693983
e841ed3dab5b8b4578f0d4b2b8e12fcb64619b92
183
package github.ryuunoakaihitomi.poweract.test; import org.junit.Rule; public class BaseTest implements Log { @Rule public BorderLogger borderLogger = new BorderLogger(); }
18.3
58
0.765027
4df3222e60893b94b8fbdf46e86fcae49e78220d
1,590
package com.example.webtestclient; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.contex...
36.976744
115
0.835849
6291300ba4857952bb41f5a9a1a33945f8afc2e0
2,721
package com.nmittal.maze.solve; import org.junit.Assert; import org.junit.Test; import com.nmittal.maze.domain.Aisle; import com.nmittal.maze.domain.Block; import com.nmittal.maze.domain.Maze; import com.nmittal.maze.domain.Wall; import com.nmittal.maze.util.MazeBuilder; /** * JUnit to test the Maze * * @author ...
30.233333
87
0.615215
a4d9fc93765b7dd93fdd62e93a24e860a9026ac6
530
package org.vinci.commons.orm.mybatis.scurd; public class UpdateDepict extends CurdAbstractDepict<UpdateDepict> { public UpdateDepict(String fieldName, String columnName) { super.setFieldName(fieldName); super.setColumnName(columnName); } public UpdateDepict(String fieldName, String column...
37.857143
121
0.754717
729e95d5f281a3545623782f61dab648a89411f9
2,231
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2010 SAP AG. * 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 ...
34.323077
81
0.700134
d8bf4e4cdaacab725c5ceab21c84d992c9b8c338
55,038
/* This thread does all the work. It communicates with the client through Envelopes. * */ import java.lang.Thread; import java.net.Socket; import java.io.*; import java.util.*; // include crypto librarys needed import javax.crypto.*; import javax.crypto.KeyGenerator; import java.security.*; import java.security.sp...
57.813025
204
0.509194
b920b6c009c2aaa808795e9eefb2a61cb2bd6666
1,571
package seedu.address.logic.parser; import static java.util.Objects.requireNonNull; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_TAG_NAME; import java.util.List; import seedu.address.logic.commands.FilterCommand; import se...
38.317073
96
0.754297
f80482b157de6dcc8b8f8ca3d80137f7c5d19d3e
2,869
package admob.plugin; import android.app.Activity; import android.os.Bundle; import androidx.annotation.Nullable; import com.google.ads.mediation.admob.AdMobAdapter; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.RequestConfiguration; import org.apache.cordova.CallbackContext; import...
31.184783
102
0.653886
582f211dd18b453875fbd6a8e1c7678a357646cf
704
package jasonftw.CustomDifficulty.commands; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import jasonftw.CustomDifficulty.hooks.Permissions; import jasonftw.CustomDifficulty.util.Manager; public abstract class Reload { public static void onCommand(Command...
30.608696
83
0.714489
08847119266e19ba69057b71ba5b7628654b8b36
564
package fun.epoch.learn.design.pattern.structural.facade; public class Test { public static void main(String[] args) { PointsGift pointsGift = new PointsGift("《Java 从入门到放弃》"); System.out.println("使用积分兑换礼物:" + pointsGift.getName()); String shippingOrderNo = ""; // 使用外观模式简化一系列子系统的调用...
33.176471
76
0.698582
524d73720757b6085691256cea7b8a3a817ac2df
1,943
package fr.inra.urgi.datadiscovery.pillar; import java.util.List; import java.util.Objects; import fr.inra.urgi.datadiscovery.util.Utils; /** * A pillar, with its list of database sources * @author JB Nizet */ public final class PillarDTO { /** * The name of the pillar */ private final String na...
27.366197
110
0.633042
761ef5d03b40a1756aa18bf38b275f7fbe9a1500
401
package filemanager.harshapp.hm.fileexplorer.directory; import filemanager.harshapp.hm.fileexplorer.directory.DocumentsAdapter.Environment; public class AvMessageFooter extends Footer { public AvMessageFooter(Environment environment, int itemViewType, int icon, String message) { super(itemViewType); ...
30.846154
97
0.740648
36b6a093ecb6935e47dd09778d430ea6a752791f
1,482
/* * JBoss, Home of Professional Open Source. * Copyright 2021 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
36.146341
105
0.695682
a0f488eeb3d401844f2fefc13ba6dd710ef79f2e
916
package learnings.sriram.enums; /** * Enum representing a Month of a calendar year. * @author tansr02 * */ public enum Month implements Comparable<Month>{ FEB(28, "February"), MAR(31, "March"), APR(30, "April"), MAY(31, "May"), JUN(30, "June"), JAN(31, "January"), JUL(31, "July"), AUG(31, "August"), SEP(30, "Sep...
23.487179
120
0.643013
4a0c3db9bf0f5823d48fb49181dc235ac46fc6a7
4,450
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution.actions; import com.intellij.execution.ExecutionBundle; import com.intellij.execution.RunnerAndConfigurationSettings; import com.intellij.executio...
46.354167
145
0.739326
c4d82b49e96445b7c25286b3966cfec2a3e42a7f
2,519
/* This file is part of AvatarMod. AvatarMod 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 your option) any later version. AvatarMod is distributed in...
31.886076
83
0.767368
959b7c561288692721f7002ae4732b258bf40fde
7,771
/* * #! * Ontopia Rest * #- * Copyright (C) 2001 - 2017 The Ontopia 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 ...
32.244813
94
0.76438
9f7c6748ba5911a2e991ca715ecadb171ce9fee3
4,687
package com.akhh.aungkhanthtoo.androidforall; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.Typeface; import android.support.v4.app.ActivityOptionsCompat; import android.support.v4.util.Pair; import android.support.v7....
36.053846
129
0.676979
ae0d27203f82130dbfb47ed92e78c6b3766c26d8
1,974
package foodev.jsondiff.jsonwrap.jackson2; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import com.faster...
30.369231
74
0.764944
1bd0aa4849d4cdad8234d7ba30e9c9c00276a41c
878
// 전화번호부 클래스 필드 public class PhoneInfo { // 필드 String name; // 이름 int age; // 나이 String phoneNum; // 전화번호 String email; // 이메일 int group; // 그룹 // 생성자 public PhoneInfo(String name, int age, String phoneNum, String email, int group) { this.name = name; this.age = age; ...
25.085714
86
0.498861
b756afd9f8dce4151fce49c127e9abd1035c7d52
1,374
public class QuickSort { private long count; private long exchange; protected String fileName; public void resetCount() { count = 0; exchange = 0; } public void sort(int[] input,int beginning,int end) { int index; increaseCount(); if (beginning>end){ ...
22.16129
64
0.453421
675427eb53f40ecce2670f989183620934a2ce09
2,857
package org.fourbit.stuffeverywhere.model; public class StuffTag { CharSequence mLabel; CharSequence mValue; private StuffTag(CharSequence label, CharSequence value) { // FIXME java.lang.NoClassDefFoundError: android.test.MoreAsserts on device!? // MoreAsserts.assertNotEqual(label.toStri...
40.239437
109
0.628281
e8123b449911a9eeaa15f7fdaef0c68a3b50360b
1,846
package com.rationaleemotions.pojo; import com.jcraft.jsch.UserInfo; /** * Represents a user for whom it's assumed that passwordless setup has already been completed. * Passwordless setup refers to the process wherein a user is allowed login to a remote host via ssh * without being prompted for their password. * ...
26
118
0.68039
04e14d27af02c0a093ba35bd15e5ebb6d73686d2
530
package com.kenshine.nutz.utils; import org.apache.shiro.crypto.hash.SimpleHash; /** * @Author kenshine */ public class PasswordUtils { private PasswordUtils(){} /** * * @param salt 盐 * @param password 明文密码 * @return String 加密后的数据 */ public static String getPassword(String sal...
19.62963
81
0.626415
34d3f511188f20ca7d60bb0bb59497558b9a8b52
109
package org.synyx.urlaubsverwaltung.absence; public enum AbsenceMappingType { VACATION, SICKNOTE }
13.625
44
0.761468
00a857afe0017ec0281e30d3ae03bb93a56ce58f
9,833
package binarytreedemo; import java.util.*; /** program to demonstrate implementation of a traditional binary search tree **/ public class BinaryTreeDemo { public static void main(String[] args) { // Declare new binary search tree. BinarySearchTree myTree = new BinarySearchTree(); ...
27.776836
102
0.430998
0140916724c4ba200c5282f4d18c5dc422b00d6a
1,786
/* * Copyright (c) 2015 EMC Corporation * All Rights Reserved */ package com.emc.storageos.volumecontroller.impl.plugins; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.emc.storageos.networkcontroller.exceptions.NetworkDeviceControllerException; import com.emc.storageos.networkcontroller.impl....
35.019608
93
0.736282
35fb141c977ad49c72a0ed1ebf977b89197a56c7
2,374
package com.veezean.idea.plugin.codereviewer.common; import java.io.*; /** * 序列化反序列化工具类 * * @author Wang Weiren * @since 2021/4/26 */ public final class SerializeUtils { /** * 生成文件序列化地址 * * @param parentDirName 父目录名称(非绝对路径,仅仅是父级目录名称,最终会放在user.home下面) * @param fileName 具体文件名称 * @retu...
30.435897
103
0.592671
88cdd1c0ac17ddd73e2f18901720a907cd117c1a
137
package net.sourceforge.greenvine.model.api; public interface MutableComponentField extends ComponentField, MutableFieldCollection { }
22.833333
87
0.854015
a52f0ef210b4052c147213c9d2555d590c1aa0bf
1,041
package com.yang.young.common.sso.rest.controller; import org.springframework.hateoas.VndErrors; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.R...
32.53125
82
0.830932
bcbf35e7fd1f1aca98b8aabc6f85c8479747d85a
255
package Factory_Design.Concrete_Creator; public class Client { public static void main(String[] args) { ShapeFactory shapeFactory = new ShapeFactory(); Shape shape_1 = shapeFactory.get_shape("Circle"); shape_1.draw(); } }
25.5
57
0.678431
35ef0e205703ff8c5b5fd5479fea6ad63368e4a4
80
package complex_numbers; public enum StatusComplex { ONLY_REAL, ONLY_IMAG; }
11.428571
27
0.7875
426daad1cb40f32e5faa20b8c725d1e889a9eb3a
4,549
/** * Copyright (C) 2011-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
32.492857
129
0.657947
ee20426c8c34ec5e3e97956facd6fa09a5490e11
1,003
/* ************************************************************************ # # DivConq # # http://divconq.com/ # # Copyright: # Copyright 2014 eTimeline, LLC. All rights reserved. # # License: # See the license.txt file in the project's top-level directory for details. # # Authors: # * Andy ...
27.108108
80
0.613161
116bb8a60d875b410164fe0ebebb6f405b07e52e
516
package com.nobr.android.questr; import android.os.Bundle; import android.support.v4.app.Fragment; import com.nobr.android.questr.util.InjectionUtils; public abstract class BaseFragment extends Fragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);...
23.454545
53
0.713178
ab3c456e394193855be5ad572ca06fa165f69b1c
14,490
package com.vackosar.gitflowincrementalbuild.boundary; import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull;...
40.027624
130
0.736715
2a1e030b5e0ac3ceaedb0d6132faf416640e01f3
2,222
/** * Copyright 2011-2015 John Ericksen * * 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...
34.71875
138
0.735824
be3664d1a2fbfe930d17f9a350b969897566f7f2
2,866
package org.dragon.zhang.annotator.annotator.impl; import net.bytebuddy.asm.MemberAttributeExtension; import net.bytebuddy.description.annotation.AnnotationDescription; import net.bytebuddy.dynamic.DynamicType; import net.bytebuddy.matcher.ElementMatchers; import org.codehaus.plexus.logging.Logger; import org.dragon.z...
37.710526
157
0.693301
3cae1e4dc290836f52c66d044d9e7dfae76f137b
1,278
package demo.model.user; import javax.enterprise.context.RequestScoped; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import java.util.List; @RequestScoped public class PersonDao { @PersistenceContext(name = "jpa-unit") private EntityManager em; public void createP...
25.56
78
0.676839
86a7837780275c6f748ce7672f46f18d2e6f822c
819
public static int findProfit(List[] inventory, int order){ HashMap<Integer, Integer> hm = new HashMap<>(); int res = 0; int max = 0; for(int i = 0; i < inventory.size();i++){ if(hm.containsKey(inventory.get(i))){ hm.put(inventory.get(i),hm.getOrDefault(inventory.get(i), 0) + 1); ...
31.5
78
0.509158
275d71f6a7f9707b9f0b765879e4e3c357eba31f
137
package p; public @interface A { Class<?> val(); String constant(); } class B {} class C { public static final String FOO = ""; }
12.454545
38
0.613139
862cf638cf230d07c9a056f6d90dd9dbc334a6a1
14,650
package cucumber.runtime; import cucumber.api.Pending; import cucumber.api.StepDefinitionReporter; import cucumber.api.SummaryPrinter; import cucumber.runtime.io.ResourceLoader; import cucumber.runtime.model.CucumberFeature; import cucumber.runtime.model.RunResult; import cucumber.runtime.snippets.FunctionNameGenerato...
42.961877
230
0.675222
26d79d4d481b5ddf407d8d9a0407f0ad99965a61
680
package com.labs64.utils.swid.builder; import com.labs64.utils.swid.exception.SwidException; import org.iso.standards.iso._19770.__2._2014_dis.schema.Process; import org.junit.Test; import static org.junit.Assert.assertEquals; public class ProcessBuilderTest { @Test(expected = SwidException.class) public vo...
28.333333
72
0.705882
a6a04d918126dc0c6e31f5a8568bd7c4031b68b1
182
package io.cdap.plugin.json.parser; import java.util.List; public class DQRules { private List<Rule> rules; public List<Rule> getRules() { return rules; } }
13
35
0.648352
eca7d563f60f8fe80eae9fb736faa6295311abf9
5,945
/* * Copyright 2018 Azilet B. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
37.15625
112
0.677544
e3257fa5511a1de21b2f9f2bc7d86406ae4049e6
2,170
package com.github.onblog.snowjenaticketserver.rule; import com.github.onblog.commoon.entity.RateLimiterRule; import com.github.onblog.commoon.entity.RateLimiterRuleBuilder; import com.github.onblog.snowjenaticketserver.exception.ResultEnum; import com.github.onblog.snowjenaticketserver.exception.ResultException; impo...
36.166667
91
0.746083
76a9375ed07ebe0e0eb050ba116939292d422760
151
package objet.typestat; public interface Deplacements extends TypeStat { public static Class<?> getTypeStat() { return Deplacements.class; } }
15.1
48
0.748344
3c8969cff9a3395bcda479526626454c23b422b7
864
package com.company.cab.routeplan; import java.util.ArrayList; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import com.company....
26.181818
62
0.824074
fd334cbb3d4c88ff895afb527db9bcb68cebb345
1,130
package xyz.keksdose.spoon.code_solver.history; import spoon.reflect.declaration.CtType; import xyz.keksdose.spoon.code_solver.transformations.BadSmell; public class Change { private MarkdownString text; private String issue; private CtType<?> affectedType; private BadSmell badsmell = BadSmell.emptyRule(); pub...
22.156863
80
0.733628
93903f1df89d59eb996016613b93351f4c310f28
2,504
/* * Copyright 2017, Backblaze Inc. All Rights Reserved. * License https://www.backblaze.com/using_b2_code.html */ package com.backblaze.b2.util; import java.io.IOException; import java.io.InputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import static com.backblaze.b...
29.809524
79
0.646565
66b622817a6777a7f58d173606182b6945008263
821
package com.qmetric.spark.metrics; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Timer; import spark.Request; import spark.Response; import spark.Route; import static com.codahale.metrics.MetricRegistry.name; public class RouteTimerWrapper implements Route { private final Route route; ...
24.878788
84
0.690621
fb94995d02ada3e99118c2885993b13f68574dcf
1,602
package com.messolution.openmes.entitys.baseInfo.factoryModel; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.OneToMany; import javax.persistence.Table; import org.hibernate.anno...
19.301205
67
0.747815
311a4f706baecfde5da98e58ae890d3c4ffe600f
553
package com.tqmars.requisition.presentation.dto.share; /** * 分页查询模型,提供起始页,页码int值 * @author jjh * */ public class PageModel { public int pageIndex; public int pageSize; public int getPageIndex() { return pageIndex; } public void setPageIndex(int pageIndex) { this.pageIndex = pageIndex; } public int getP...
19.068966
71
0.692586
0ca9bd0f88fdfed37bdfcb7716024aa06d78615b
690
package com.glisco.victus.item; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; public abstract class EdibleItem extends Item { public EdibleItem(Settings settings) { ...
28.75
98
0.744928
0bfa332a84f84b0cb3bc6dd24f0d787c203513bc
9,702
package tk.sciwhiz12.basedefense; import net.minecraft.resources.ResourceLocation; import net.minecraft.sounds.SoundEvent; import net.minecraft.world.inventory.MenuType; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraf...
45.125581
117
0.745619
1f1331a802b6f1ba9cd930a2ba424e968de93cf0
2,836
package org.flowant.website.rest; import java.util.UUID; import java.util.function.BiFunction; import javax.validation.Valid; import org.flowant.website.model.Relation; import org.flowant.website.repository.RelationRepository; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity...
35.898734
91
0.714386
b9192b58fe9c154981be84c77341eb4359b3944d
7,903
package com.bellotapps.the_messenger.consumer; import com.bellotapps.the_messenger.commons.Message; import com.bellotapps.the_messenger.commons.headers.MessageType; import java.util.Map; import java.util.function.BiConsumer; /** * An adapter of a {@link TypedMessageHandler.Builder} to be used in the context of a pa...
40.116751
120
0.687967
b855807f41549eb6538a49496f8c943e30406526
1,609
package com.tobiascode.marvelclient.rest.model; import java.security.NoSuchAlgorithmException; import java.time.LocalTime; import java.util.Optional; import javax.el.PropertyNotFoundException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.tobiascode.marvelclient.rest.util.Md5Creator; import co...
33.520833
140
0.717837
8503eabc665ee13185f5f3e17b74e6d9940b585b
2,601
package com.ucar.zkdoctor.service.machine.impl; import com.ucar.zkdoctor.dao.mysql.MachineStateDao; import com.ucar.zkdoctor.dao.mysql.MachineStateLogDao; import com.ucar.zkdoctor.pojo.po.MachineState; import com.ucar.zkdoctor.pojo.po.MachineStateLog; import com.ucar.zkdoctor.service.machine.MachineStateService; impor...
30.964286
107
0.747789
027462b93a659a8d6b6b64e7ec4c88b010dea025
3,063
package uk.co.codelity.event.sourcing.core.utils.reflection; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.net.URISyntaxException; import java.net.URL; import java.util.Arrays; import java.util....
35.206897
122
0.688214
99bfe91ca1da7a4201fd467308d18d02eb8cedc7
2,724
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
28.673684
86
0.657122
f3ec41988e883139b28c009a0da2acc094767154
426
/** * * Copyright (c) 2016 * All rights reserved. * * @Title PCHandler.java * @Package com.probestar.pc.pipeline * @author ProbeStar * @Email probestar@qq.com * @QQ 344137375 * @date 2016年6月14日 下午4:52:25 * @version V1.0 * @Description * */ package com.probestar.pc.pipeline; public abstract class PCHand...
16.384615
48
0.697183
d2ce2a8d4ddb07328f6e20b225c1c2bebe4413ea
1,418
package ru.i_novus.ms.rdm.api.async; import org.springframework.data.domain.Sort; import ru.i_novus.ms.rdm.api.model.AbstractCriteria; import javax.ws.rs.QueryParam; import java.util.List; import java.util.UUID; /** * Асинхронная операция: Критерий поиска. */ public class AsyncOperationLogEntryCriteria extends Abs...
21.484848
78
0.679126
84848d211d6f279657f13d1783783e77fd4ab354
24,143
package de.jmonitoring.DBOperations; import java.sql.PreparedStatement; import de.jmonitoring.base.buildings.BuildingInformation; import de.jmonitoring.base.buildings.BuildingProperties; import de.jmonitoring.base.Messages; import de.jmonitoring.base.MoniSoftConstants; import de.jmonitoring.base.sensors.SensorProperti...
47.062378
233
0.611357
2279e23f0c420256843fb97ab17f5c7a63fda129
2,015
package com.dry3.concurrentProgramming.example.unsafe; import com.dry3.concurrentProgramming.annotations.NotThreadSafe; import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; imp...
31.484375
100
0.608933
125cda7007c61f23f634fa911fde49dda49b18aa
1,017
/* * Copyright 2016-present Open Networking Foundation * * 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...
26.076923
79
0.688299
8d65bb06add51fb07ad945353e4715362ca3bdc0
1,688
package rosipetkova.cmdtester; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; import org.mockito.ArgumentMatchers; import org.reflections.Reflections; import rosipetkova.cmdtester.interfaces.ApiTest; import java.io.File; import java.io.IOException; import java.util.HashSet; imp...
28.610169
124
0.661137
d658728c953e9f707b05d05d6553f2a2bb6363f4
673
package com.enioka.jqm.api; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @WebListener public class Ctx implements ServletContextListener { static Logger log = LoggerFact...
24.035714
77
0.7474
66c88b16a49950778a06bfee28c32557bb4a9bba
147
/** * Strategy interfaces and classes for extracting URI fragment tokens and query parameters. */ package org.roklib.urifragmentrouting.strategy;
36.75
91
0.802721
a1d5b77198a3ba978176e9d78bea6b30ea62f0fc
899
package com.example.gstokengame; public class Token { private String Id; private String Content; private String Created; private String Consumed; private String ConsumedA; public String getId() { return Id; } public void setId(String id) { Id = id; } public S...
17.627451
48
0.600667
4efd811dc6cb508d7e1973d9c300a562525dc05d
2,327
package at.fh.ima.swengs.bartendrV2.model; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.util.Date; import java.util.List; import java.util.Objects; @Entity public class Drink { @Id @GeneratedValue(strategy = G...
22.161905
89
0.558229
fc2621b1eab7b8fd4a537f5bc02f8ff6a39979f7
144
@javax.xml.bind.annotation.XmlSchema(namespace = "http://soap.chapter4.webservices.koitoer.com/") package webservices.chapter4.client.wsimport;
48
97
0.8125
86397c40292fdc66efe3f6cdcb30812cd4ce2267
43,483
/** * 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...
43.966633
120
0.64554
3a574e8c00ebff8c8312dede9dc08279bf61e22b
5,400
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.core.amqp; import java.time.Duration; import java.util.Objects; /** * A set of options that can be specified to influence how retry attempts are made. */ public class RetryOptions implements Cloneable ...
29.347826
119
0.632778
bf385095bf97bcf39eb5d8b413fbf33e826772db
6,867
package xyz.sleekstats.softball.dialogs; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.DialogFr...
39.465517
139
0.653124
41336637331a62ebae699e4bba69463e80e7d27d
6,161
package com.happybudui.venuesystem.service; import com.happybudui.venuesystem.bean.AreaBean; import com.happybudui.venuesystem.entity.OrderEntity; import com.happybudui.venuesystem.entity.VenueEntity; import com.happybudui.venuesystem.entity.VenueExternEntity; import com.happybudui.venuesystem.mapper.OrderMapper; impo...
44.644928
231
0.728291
ad15d688a155da52efe6cb7293789c6d70b92f18
1,995
package net.clgd.ccemux.init; import static java.lang.System.getProperty; import java.awt.Desktop; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.util.LinkedHashMap; import java.util.Map; import com.google.common.base.MoreObjects; import c...
29.776119
103
0.701754
fe3dcefd9b885817a81fd72b5a37f2f2dcb5478e
400
package com.blue_unicorn.android_auth_lib.android; import android.os.Binder; public class FidoAuthServiceBinder extends Binder { private FidoAuthService fidoAuthService; public FidoAuthServiceBinder(FidoAuthService fidoAuthService) { super(); this.fidoAuthService = fidoAuthService; } ...
22.222222
67
0.74
2c02bdf6d72a643a085fb0ddc641bb3a4611847d
815
package com.bazl.dna.lims.model.po; import java.io.Serializable; /** * @Author: lzn * @Date: 2020/3/31 14:10 * @Version: 1.0 */ public class DnaNoSeq implements Serializable { /** * */ private static final long serialVersionUID = 1L; private String code; private String currentVal; private St...
17.717391
54
0.63681
d7f6fb4f9286a1c64f9da5db36cbd656e2efc550
1,936
package com.janiwanow.flatmap.realty.provider.n1; import com.janiwanow.flatmap.internal.http.HttpConnection; import com.janiwanow.flatmap.realty.PropertyDetailsExtractor; import com.janiwanow.flatmap.realty.RelevanceCheckResult; import com.janiwanow.flatmap.realty.RelevanceChecker; import java.net.URI; import java.ut...
33.37931
83
0.692665
4b08d6b3d6c99d02d33184b489657d4f888e91de
118
/** * This package holds all the events used within the JDS library */ package io.github.subiyacryolite.jds.context;
29.5
64
0.762712