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
a64507695a94568975d4193ed66d74c06e65d05c
2,323
package gui.lobby; import java.awt.Color; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import javax.swing.BorderFactory; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JPanel; import javax.swing.JScrollPa...
26.101124
93
0.690917
f81564922e65d47ed782a6b3cd539f944086330c
7,438
/******************************************************************************* * 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...
31.516949
137
0.585641
4bf23694e13d1c19b1a8d843db2fb642de330ffe
1,227
package stack_and_queue; import java.util.*; public class TwoStackSort { public void sort(LinkedList<Integer> s1) { if (s1 == null || s1.size() <= 1) { return; } LinkedList<Integer> s2 = new LinkedList<>(); helper(s1, s2); } private void helper(LinkedList<Integ...
26.106383
73
0.421353
08f60e367fecf494dce463403074e31c8b9e3e7a
747
package com.networknt.kafka; import com.networknt.server.ShutdownHookProvider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * This is the class to be called during the light-4j server shutdown to release resources. It needs * to be added to the service.yml file. * */ public class WordCountShutdown...
31.125
100
0.732262
a8efddd7bf548a086fa0862ac4be99753bb0a418
3,775
package com.dexafree.andfgc.app.fragments; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import...
26.964286
123
0.674437
5b7d28b145744487a2a33fe8dd15d0c7e69ca9c2
3,648
package agent; import java.io.Serializable; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class Block implements Serializable { private static final long serialVersionUID = 1L; private int index; private Long timestamp; private String hash; private Stri...
25.158621
105
0.558114
c631a0e996605c16b5982e4d94f4e535069e170d
6,862
package one.empty3.feature; import one.empty3.io.ProcessFile; import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Comparator; import java.util.List; /*** * radial density of region (x, y, ...
31.049774
146
0.453658
80371bbaf74a5b8b618d871c4a672d6ea20e56e7
1,262
package ecda.daff; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Scanner; import ecda.experiments.size.SizeOps; import ecda.utils.CSVUtils; public class FileChecker { public static void main(Strin...
21.033333
74
0.671157
bd019a60df19b7923c0c8170ed920b3d42c38d44
3,113
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
35.375
98
0.683906
bb4cf234a7f35b48f0f737d57c70d9b6d9196c85
2,036
package com.mastercard.finicity.client.api; import com.mastercard.finicity.client.ApiException; import com.mastercard.finicity.client.model.ReportConstraints; import com.mastercard.finicity.client.test.BaseTest; import com.mastercard.finicity.client.test.utils.ConsumerUtils; import org.junit.jupiter.api.BeforeAll; imp...
35.719298
121
0.674853
8c2b22f3a07ecbcf78ada52c8b578b4290cac314
3,612
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.webapps.launchpad; import static org.mockito.Mockito.mock; import android.app.Activity; import androidx.appcompat.w...
38.83871
98
0.732004
d8e97ad597349f5e6f24fc813ab002312db31ace
1,231
package com.dantsu.thermalprinter.async; import android.util.Log; import com.dantsu.escposprinter.EscPosPrinterSize; import com.dantsu.escposprinter.connection.DeviceConnection; public class AsyncEscPosPrinter extends EscPosPrinterSize { private static final String TAG = "AsyncEscPosPrinter-Mullife"; privat...
36.205882
209
0.756296
6a0de36d64b4f490daf21d7639cf737fa4a5555e
2,161
/* * Copyright 2019, Perfect Sense, 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 a...
24.280899
105
0.639981
b8ba9d0ea62118aa5e45c2e98c47d838d2a31d2a
4,978
/** * blackduck-nexus3 * * Copyright (C) 2018 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 ...
52.957447
199
0.801125
2fa4dc3cd30a67d061590aa167467756b894e578
2,663
package org.nuclearfog.twidda.backend; import android.content.Context; import android.os.AsyncTask; import org.nuclearfog.twidda.backend.engine.EngineException; import org.nuclearfog.twidda.backend.engine.TwitterEngine; import java.lang.ref.WeakReference; /** * Backend async task to manage users on lists * Twitte...
25.122642
93
0.573413
5b6003e97d927338d0a50e4435de6932390a39a5
864
package ru.job4j.matrix; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; /** * @author John Ivanov (johnivo@mail.ru) * @since 07.03.2019 */ public class MatrixToList { public List<Integer> matrixToList(Integer[][] matrix) { List<Integ...
27
66
0.590278
6047ba8642f740d1bf2ca976213afb15c2cf41ae
1,478
package com.bootslee.leetcode; public class NumDistinct115 { /** * 给定一个字符串 S 和一个字符串 T,计算在 S 的子序列中 T 出现的个数。 * 一个字符串的一个子序列是指, * 通过删除一些(也可以不删除)字符且不干扰剩余字符相对位置所组成的新字符串。(例如,"ACE" 是 "ABCDE" 的一个子序列,而 "AEC" 不是) * @param s * @param t * @return */ public int numDistinct(String s, String...
36.95
91
0.563599
947f36f8379990e0a05d78b717f7507c414c0de8
919
/** * Copyright Hand China Co.,Ltd. */ package top.joden123.securityservice.service; import org.springframework.stereotype.Service; import top.joden123.securityservice.domain.Blog; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * 博客 * <p> * Created by xiaofeng.he on 2021/04/10...
20.422222
65
0.595212
22774ba7806eebc96d5d65f049d1c5eca98a47c6
2,560
/** * 项目名称:quickstart-activemq * 文件名:Server.java * 版本信息: * 日期:2016年12月22日 * Copyright youngzil Corporation 2016 * 版权所有 * */ package org.quickstart.mq.activemq.mqtt.paho; /** * Server * * @author:yangzl * @2016年12月22日 下午5:27:38 * @version 1.0 */ import org.eclipse.paho.client.mqttv3.MqttClient; import...
31.219512
93
0.682031
5e0c9570511e9e3cf04a8b5f231d8d5450482aac
524
package com.sq.jk.common.enhance; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; public class MpQueryWrapper<T> extends QueryWrapper<T> { public final MpQueryWrapper<T> like(Object val, String... columns) { if (val == null) return this; String str = val.toString(); if ...
30.823529
72
0.593511
bf188c4ab16977b150108e37e465c5d037fb2221
241
package pl.janusz.hain.androidplayground.viewspresenters.person; import pl.janusz.hain.androidplayground.BasePresenter; public interface PersonContract { interface View{ } interface Presenter extends BasePresenter { } }
17.214286
64
0.767635
b5f6bb6ebea23b7c7357eba05b8eeb8ffb0d3818
1,513
//////////////////////////////////////////////////////////////////////////////// // // Created by MJesser on 24.11.2017. // // Copyright (c) 2006 - 2017 FORCAM GmbH. All rights reserved. //////////////////////////////////////////////////////////////////////////////// package com.forcam.na.ffwebservices.model.operation;...
36.902439
112
0.504296
eed5840fd8ff26199e432f279839cc4a80c92277
546
package org.smooth.systems.ec.migration.model; import java.util.ArrayList; import java.util.List; import lombok.Data; /** * Created by Smooth Systems Solutions */ @Data public class CategoryTranslateableAttributes { private String langCode; private String name; private String metaTitle; private String s...
17.0625
59
0.758242
f785e574af2e4788f65efc75155d2bf33a7e0e04
3,479
/* * 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.230769
90
0.682093
2421f4f72d9d9b08be9ce89812bc5e74e583d6ba
1,850
// // Decompiled by Procyon v0.5.30 // package com.MOJICT.UBI.Forms; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; public class DataForm extends ActionForm { private String ca...
20.786517
58
0.653514
413bc2dec098dfaa11097becacccbec9f396f67c
2,503
/* * Copyright 2013, Unitils.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
36.275362
140
0.736316
6741f5f74cea17bf4ee29c0f6c58e4d277f25e0d
3,086
/* * Copyright 2006-2009, 2017, 2020 United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA World Wind Java (WWJ) platform is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this f...
41.702703
120
0.66429
e0afc98a10aa090ba0abce6a54e9b2fb140d328e
7,394
package com.dolapps.bank_noti_widget.ui; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPreferences; import android.database.DatabaseUtils; import android.da...
33.917431
136
0.764674
72a01f5b89698c1b74bb904f0552ed617bd45336
216
package org.charles.learning.pattern.structural.adapter.computer; public class Adapter extends NetworkAdapter implements USBAdapter { @Override public void handleRequest() { super.request(); } }
24
67
0.736111
8b43670bf00147fa38109e8804b0fc7edd2f0278
5,731
/* * Copyright 2014 Martin Kouba * * 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 ...
30.647059
98
0.619089
368b0653d7a20a3fc609610ce2e86821b2720ac4
21,976
package com.y2w.uikit.utils; import android.app.ActivityManager; import android.content.ComponentName; import android.content.Context; import android.text.TextUtils; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.math.BigInteger; import java.security.MessageDigest; import ja...
28.689295
108
0.515335
35c2aef845353d39b0bc3b57cbdf8ccf2f3f07d5
360
public void test16() throws Throwable { EvoSuiteURL evoSuiteURL0 = new EvoSuiteURL("https://g:0"); NetworkHandling.createRemoteTextFile(evoSuiteURL0, "("); Services.HTTP_Result services_HTTP_Result0 = Services.testHTTPS("g", 0); assertTrue(services_HTTP_Result0.works); assertEquals(2, ...
45
78
0.727778
5950c3e85ac22cc29b8e2fb45a1aad779f32afa5
636
package net.minestom.server.api; import org.junit.jupiter.api.extension.ExtensionContext; import org.junit.jupiter.api.extension.InvocationInterceptor; import org.junit.jupiter.api.extension.ReflectiveInvocationContext; import java.lang.reflect.Method; final class EnvCleaner implements InvocationInterceptor { @O...
37.411765
173
0.790881
22a3d6732d0e7a8f7251ca92402db7c4339a2d6b
9,528
/* * Copyright (c) 2020 RAJKUMAR S */ package in.co.rajkumaar.amritarepo.helpers; import android.annotation.SuppressLint; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Handler; import android.u...
37.960159
131
0.524139
2b8507354576cd1e0246c9e707215382e230f51d
3,054
package co.edu.utp.misiontic2022.c2; import java.util.Scanner; public class NumeroSuerte { //Algoritmo -> Paso a paso //1) Obtener la fecha en formato String (Cadena DD/MM/AAAA) //2) Separar los días, los meses, y el año de la fecha y los almacenamos //3) Convertir días, meses y años a números //...
33.933333
110
0.625737
11fd8a51082c0578804a5235e54d42f2e6167566
1,751
/* * Copyright (c) 2017 Sphereon BV https://sphereon.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 appl...
30.719298
81
0.688178
468d75901c9dee776e3637a6fe072359fe6a1f6d
839
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ package com.sportradar.unifiedodds.sdk.entities; /** * Defines methods implemented by classes providing data of a long term sport event */ public interface LongTermEvent extends SportEvent { /** * Returns a {@link Sport...
33.56
115
0.735399
48ba4bbe5a9e9af10d5f66bfb6cd947cb858efa3
509
package com.greymass.esr; import com.greymass.esr.interfaces.ISignatureProvider; import com.greymass.esr.models.Signature; import static com.greymass.esr.ESRTest.FOO; public class MockSignatureProvider implements ISignatureProvider { public static final String MOCK_SIGNATURE = "SIG_K1_K8Wm5AXSQdKYVyYFPCYbMZurcJ...
29.941176
152
0.811395
743490e7185943923d863484cd21f2da6caa31e3
2,667
package com.recipeme.myrecipe.restapi; import android.app.Application; import android.arch.lifecycle.LiveData; import android.arch.lifecycle.MutableLiveData; import android.os.AsyncTask; import com.recipeme.myrecipe.db.RecipeDao; import com.recipeme.myrecipe.db.RecipeDatabase; import com.recipeme.myrecipe.model.Reci...
28.37234
92
0.625797
77b63aa10320db0fcb79353861e0acb931fcd2e7
5,881
/** * Copyright 2019 MetaRing s.r.l. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
33.798851
205
0.663153
68026b9af10a446482fc56e2ab6d60e07415acda
1,187
package org.sadtech.bot.vcs.core.service.converter; import org.sadtech.bot.vsc.bitbucketbot.context.domain.TaskStatus; import org.sadtech.bot.vsc.bitbucketbot.context.domain.entity.Comment; import org.sadtech.bot.vsc.bitbucketbot.context.domain.entity.Task; import org.springframework.core.convert.converter.Converter; ...
33.914286
71
0.717776
e9fd63fde317f9d58dc7faeb27b25187d6942b86
21,395
/* Copyright © 2018, Lucas Bonvin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub...
45.424628
207
0.625754
2969aa4e4f6f75fb40558a164b7827dbaea23b45
555
package com.leekwok.msclass.configuration; import com.leekwok.ribbonconfiguration.RibbonConfiguration; import org.springframework.cloud.netflix.ribbon.RibbonClients; import org.springframework.context.annotation.Configuration; /** * <b>Author</b>: Xiang Liguo<br/> * <b>Date</b>: 2020/01/21 14:41<br/> * <b>Version<...
30.833333
64
0.765766
5663bc2253b47c4b53010c6a53d0c9d5bb349119
175
package com.kafka.viewer.config; import org.springframework.context.annotation.Configuration; @Configuration public class WebMvcConfiguration extends BasicConfiguration { }
25
63
0.851429
b7eca330bf0d91a2b75cfc4d87e7c9ade295901d
19,522
/* == KOST-Val ================================================================================== * The KOST-Val application is used for validate TIFF, SIARD, PDF/A, JP2, JPEG-Files and Submission * Information Package (SIP). Copyright (C) 2012-2018 Claire Roethlisberger (KOST-CECO), Christian * Eugster, Olivier ...
43.190265
101
0.750896
69dc1bc4ce87b53ab2216025da64526be0efb822
154
package com.epiano.av.ictvoip.androidvideo.utils; import android.os.Bundle; public interface CallbackBundle { abstract void callback(Bundle bundle); }
19.25
49
0.805195
964d3a0662d28ce0b465894caa2666ab4dc5c577
3,711
package servlet_homework; import java.io.IOException; import java.io.PrintWriter; import java.util.Enumeration; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse...
34.361111
119
0.689572
09708ed15982eac66e9462dc9b7194519d29713e
610
package net.minecraft.world.level.block.state.properties; import net.minecraft.util.StringRepresentable; public enum ChestType implements StringRepresentable { SINGLE("single", 0), LEFT("left", 2), RIGHT("right", 1); public static final ChestType[] BY_ID = values(); private final String name; priva...
23.461538
57
0.691803
69207a00e523d61556f5f751a7fe4113715e7c87
6,489
/****************************************************************************** * * Copyright (c) 2007-2011 Cryptzone Group AB. All Rights Reserved. * * This file contains Original Code and/or Modifications of Original Code as * defined in and that are subject to the MindTerm Public Source License, * Version 2.0...
35.850829
79
0.405301
4eb4106441ff668cc5cd4e17328994d7f43e49af
3,895
package pe.warrenth.samplerxbus; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; ...
29.961538
111
0.631322
6daa3a8f81ae2922ed16f1d39da005867ede6311
2,050
package com.mauriciotogneri.designpatterns.concurrency.readwritelock; import java.util.ArrayList; import java.util.List; import java.util.concurrent.locks.ReentrantReadWriteLock; public class Resource { private final List<String> content; private final ReentrantReadWriteLock lock; public Resou...
26.623377
109
0.48878
37864d080d80071843d027070be1c6e2f0aa5c15
5,535
package org.cbioportal.genome_nexus.service.mock; import org.cbioportal.genome_nexus.model.VariantAnnotation; import org.cbioportal.genome_nexus.component.annotation.CanonicalTranscriptResolver; import org.mockito.Mockito; import java.util.Map; public class CanonicalTranscriptResolverMocker { public void mockMet...
40.698529
150
0.679855
10849fd2d7a01b84cdf0e8367b94ef29ad20aeba
372
package ru.job4j.shapes; /** * This class is interface and Strategy for shapes. * @author Andrey Bukhtoyarov (andreymedoed@gmail.com). * @version %Id%. * @since 0.1. */ public interface Shape { /** * This method must return a shape in a pseudo-graphic in the form of a line. * @return line with a sha...
23.25
81
0.650538
87cbcf556c1b0e654229d53d3f293eb8f9749ba2
856
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package com.mycompany.maven_java; /** * * @author shoai */ public class PlayingState extends State { PlayingSta...
21.4
101
0.647196
b5cc6797caf61f38e4d53410101e8fec31edbdc4
2,028
package com.lemon.consumer.controller; import com.lemon.soa.api.dto.CategoryDTO; import com.lemon.soa.api.dto.VideoDTO; import com.lemon.soa.api.provider.CategoryProvider; import com.lemon.soa.api.provider.VideoProvider; import feign.Client; import feign.Contract; import feign.Feign; import feign.Logger; import feign....
34.372881
109
0.789448
2c0f0e4ab29d8f169d82bfbefb12106549c13dff
3,934
// // Decompiled by Procyon v0.5.36 // package org.pitest.reloc.antlr.stringtemplate.language; import java.io.IOException; import org.pitest.reloc.antlr.common.RecognitionException; import org.pitest.reloc.antlr.stringtemplate.StringTemplateWriter; import java.util.ArrayList; import java.util.Map; import org.pitest...
36.091743
148
0.618454
7285275f8ddf80ced4f63cd1d9fb9e7056cfdd7c
2,066
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands.autoCommands; import static frc.robot.Constants.DriveConstants.*; import edu.wpi.first.wpil...
30.835821
100
0.751694
bfca43000dd2318c75aaaf8ab76852321c56062b
5,773
/* * The MIT License (MIT) * Copyright (c) 2016 Ubiqueworks Ltd and contributors * * 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 rig...
34.568862
160
0.6229
65ee2b9d44e61b09e8e9412224ee19900d24d343
7,168
/* * 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 ...
37.139896
294
0.636858
4e8d19f647b7849639be5d39a6972c2b8e9bfbb2
717
package com.burton.arlen.vibe; /** * Created by arlen on 7/15/16. */ public class Constants { public static final String YELP_CONSUMER_KEY = BuildConfig.YELP_CONSUMER_KEY; public static final String YELP_CONSUMER_SECRET = BuildConfig.YELP_CONSUMER_SECRET; public static final String YELP_TOKEN = BuildConf...
44.8125
89
0.779637
f30ac9728ee68065ec582a7151fedc2b6704cb07
1,477
package com.tank.table; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Skin; import com.badlogic.gdx.scenes.scene2d.ui.Slider; import com.badlogic.gdx.scenes.scene2d.ui.Table; import com.badlogic.gdx.utils.Align; import com.tank.media.MediaMusic; import com.tank.medi...
31.425532
82
0.719702
9ce4e76a1f7fd786b3fc56d3be9c5bcb72c6f4cb
2,015
/* * Copyright 2013, 2014 Deutsche Nationalbibliothek * * 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 applicab...
29.632353
89
0.713151
ff7e0e4fd7b97b689d4229bd256c4ae5dfb2cfca
4,077
package com.xrade.validator.form; import javax.servlet.http.HttpServletRequest; import com.xrade.entity.MarketAnalysisEntity; import com.xrade.validator.AbstractFormValidator; public class SaveMarketAnanlysisFormValidator extends AbstractFormValidator<MarketAnalysisEntity> { public static final String FIELD_MAR...
29.121429
99
0.737062
6be55bd35dbdbb64c082118a690f4d783e67a82d
914
package org.dsweb.orm.generate; import java.util.HashMap; import java.util.Map; /** */ public class GeneratorFactory { public final static String UUID = "uuid"; private static Map<String, Generator> generatorMap = new HashMap<String, Generator>() {{ put(UUID, new UUIDGenerator()); }}; public static vo...
21.761905
90
0.66302
e786805383d6ff6351e2ca6867178f014651b82e
731
package com.momohelp.util.webservice; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlTyp...
27.074074
58
0.764706
4782482b272e9b5690a66f218a37284f481c6fec
761
package io.leopard.lang.inum; /** * 枚举元素不存在. * * @author 谭海潮 * */ public class EnumConstantNotFoundException extends EnumConstantInvalidException { private static final long serialVersionUID = 1L; /** * 枚举元素key */ private Object key; /** * 枚举类 */ private Class<?> enumClazz; public EnumConstantN...
16.543478
95
0.660972
2b6807e5ceca480a4e6ba544fee1ce7a454c1152
826
package es.voghdev.prjdagger2.datasource.api.model; import es.voghdev.prjdagger2.global.model.User; public class UserApiEntry { private static final String SPACE = " "; IdApiEntry id = new IdApiEntry(); UserNameApiEntry name = new UserNameApiEntry(); String email = ""; String gender = ""; U...
28.482759
95
0.656174
0a1bc718766f0c82a51344332dd3f383b0a87c97
848
package org.ezapi.html; import javax.imageio.ImageIO; import java.awt.image.BufferedImage; import java.io.ByteArrayOutputStream; import java.io.IOException; public class PngImageContent implements PageComponent { private byte[] bytes = new byte[1024]; public PngImageContent(BufferedImage image) { By...
22.918919
81
0.634434
83ef4ca6a4e401bfa08a5d76fa766896b7962f30
1,859
package com.zhenghao.admin.common.config; import com.zhenghao.admin.common.jwt.JWTTokenProcessor; import com.zhenghao.admin.common.jwt.RsaKeyHelper; import com.zhenghao.admin.common.jwt.RsaKeyManager; import com.zhenghao.admin.common.properties.JWTProperties; import org.springframework.boot.context.properties.EnableCo...
29.507937
112
0.745024
73c9217d5b4bd5aedc6f804f5febd05008a3c634
2,288
/** * Copyright 2012 Comcast Cable Communications Management, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
33.15942
100
0.762238
c4c22f444fe8422eb3bda270168deb3ec1dcb8aa
802
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.bootstrap; import java.lang.instrument.ClassFileTransformer; /** * Holder for {@link ClassFileTransformer} used by the instrumentation. Calling transform on this * class file transformer processe...
27.655172
97
0.793017
e67b154c23f5390e5dc266436cf364234bbf986e
1,445
package ui.list_item; import javafx.geometry.Pos; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import javafx.scene.layout.Pane; import javafx.scene.layout.Priority; import model.Board; public class BoardItem { private Board board; private BoardItem.O...
24.913793
84
0.670588
e72dba6d921b6ad69dfaf43f532ccc27b0cbd3a3
356
package org.smoothbuild.cli.console; import java.io.PrintWriter; import com.google.inject.AbstractModule; public class ConsoleModule extends AbstractModule { private final PrintWriter out; public ConsoleModule(PrintWriter out) { this.out = out; } @Override protected void configure() { bind(PrintW...
18.736842
51
0.747191
3c610cc805276590d5f5fb834fe737995b5c0462
13,957
package com.cuiot.openservices.demo.service; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.cuiot.openservices.demo.enums.ResultCode; import com.cuiot.openservices.sdk.CloudAdapter; import com.cuiot.openservices.sdk.config.ConfigFactory; import com.cuiot.openservices.sdk.conf...
37.119681
138
0.642903
db9ebbab12ea0129114674a03e2993a0d75687d5
7,088
/** * Copyright (C) 2008 Stratio (http://stratio.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 ap...
32.663594
150
0.603132
3522dc8e67c45b4233de3e4c64e6f90eedd35f8c
269
package com.aircjm.limon.project.card.vo.anki.vo; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; @Data public class Fields { @JSONField(name = "Question") private String front; @JSONField(name = "Answer") private String back; }
20.692308
49
0.724907
06d26adab040b0b6f50c1f4314581f80f834893d
721
package org.h0110w.som.core.controller; import org.h0110w.som.commons.dtos.Message; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class HelloController { @GetMapping("/hello") public String getHello() { ...
24.033333
62
0.687933
bb65dfeabb4106e4f7fe42e4926f1093191de791
3,798
package com.rainng.coursesystem.service.student; import com.rainng.coursesystem.manager.OptionManager; import com.rainng.coursesystem.manager.student.CourseSelectManager; import com.rainng.coursesystem.model.bo.StudentCourseSelectItemBO; import com.rainng.coursesystem.model.entity.CourseEntity; import com.rainng.cours...
39.5625
131
0.699315
1e49d3333c6c6f982805ec4e6550d8c6450979d9
846
package com.ht.authorization.autoconfig; import com.ht.authorization.AuthenticationManager; import com.ht.authorization.filter.AccessTokenFilter; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configu...
31.333333
88
0.765957
af424d9050199167db2ac4fcba3c1e2d99df5976
1,959
package arthur.dy.lee.controller; import com.alibaba.fastjson.JSONObject; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.locks.Lock; import java.util.concu...
28.391304
80
0.59316
2aae8c855fb42b65623e5bba47220823ecaf5a27
397
package com.it235.knife.order.dto; import com.baomidou.mybatisplus.annotation.TableField; import com.it235.knife.data.mybatis.entity.BaseEntity; import lombok.Data; /** * @description: * @author: jianjun.ren * @date: Created in 2020/9/25 12:43 */ @Data public class OrderDTO extends BaseEntity { @TableField ...
18.904762
54
0.725441
9b3e54524bc582ecb702d0d4c47bd6de6cd77b87
262
package com.nuskin.tests; import com.nuskin.pages.PageSignIn; import org.junit.Test; public class SignInTest extends BaseTest{ PageSignIn pageSignIn; @Test public void signInLocal(){ pageSignIn.open(); pageSignIn.signIn(); } }
17.466667
41
0.687023
c1197df1ab4ecc7e844b2325e2543b3f382b7123
162
package com.sudoplay.mc.pwcustom.modules.dumpt.spi.serializer; public interface IElementSerializer<E> { String getTitle(); String serialize(E element); }
16.2
62
0.765432
6030b7739b2e328ae8d9ca4d170a557e1da701c4
833
package com.octoperf.cluster.api; import com.google.common.testing.NullPointerTester; import org.junit.After; import org.junit.Before; import org.junit.Test; import static com.google.common.testing.NullPointerTester.Visibility.PACKAGE; public abstract class AbstractClusteredLockTest { private ClusteredLock service...
20.317073
77
0.732293
dcb6d3222f088ab2101e65693da2104ab5c6d8e6
1,927
/** * Copyright (C) 2015 Cambridge Systematics, 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 app...
37.784314
107
0.775817
43a1c9aeb5637e4be8f15c7fd78f9442fe20f6cd
1,894
package com.zgph.utils; /** * */ public class NotBugUtil { public static void pritNoBug(){ System.out.println(" ......................我佛慈悲......................"); System.out.println(" _oo0oo_ "); System.out.println(" o88888...
59.1875
88
0.260296
cd34b15e3ebf322009533fe37e1dcb4e387ee4de
3,723
package br.health.workflow.core.communication; import br.health.workflow.core.data.Buffer; import br.health.workflow.core.data.Header; import com.google.gson.Gson; import com.google.gson.JsonObject; import lombok.Data; import lombok.extern.log4j.Log4j2; import org.springframework.amqp.core.*; import org.springframewor...
28.638462
105
0.730056
a0cf8b75bd16fe1135403ddc6e34df99f1cf973b
1,568
package com.puc.sistemasdevendas.controllers.configurations; import com.google.common.base.Predicates; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSel...
38.243902
129
0.708546
7867bbbc6b47738dd886cadf43db23a4656bb604
853
package com.skytala.eCommerce.domain.order.relations.orderHeader.model.workEffort; import java.util.Map; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.Map; import java.io.Serializable; import com.skytala.eCommerce.domain.order.relations.orderHeader.mapper.workEffort.OrderHeaderWorkEffortMapp...
23.054054
110
0.813599
74980ce99dbbeea1d6f39a1499d01db41562cf32
1,001
/* * Copyright 2012-2016, 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 required by applicable law ...
35.75
86
0.738262
60f97dff5e1d3df5303c30222d8dac14bbb01779
16,607
package align2; import java.util.Arrays; import java.util.Locale; import java.util.Random; import stream.Read; import jgi.Dedupe; import shared.Tools; /** * * @author Brian Bushnell * @date Jul 17, 2011 12:04:06 PM */ public class QualityTools { /*-------------------- Main ---------...
29.289242
131
0.590715
6ed40947bc3e4b517b24683229451ee1ae7cbcd6
59
package rx; public enum Result { WIN, DRAW, LOSE; }
9.833333
21
0.610169
92aa5a23e21da6a99b6fa2d6a1f6b9a4d460a1a2
566
package examination.entity; public class Class { long classid; long teacherid; long classname; public long getClassid() { return classid; } public void setClassid(long classid) { this.classid = classid; } public long getTeacherid() { return teacherid; } ...
17.6875
46
0.613074
0ca3d2aa6bfe3c6d43148be1423ab599691507b9
2,153
package org.aieonf.template.processor; import java.util.Collection; import org.aieonf.concept.IDescriptor; import org.aieonf.concept.core.Descriptor; import org.aieonf.model.constraints.IAspect; import org.aieonf.model.core.IModelLeaf; import org.aieonf.model.core.ModelException; import org.aieonf.template.c...
32.621212
99
0.70785
00af8ebb34b26e51d594f128e1876e9d2838c1c4
4,315
/* * Copyright (C) 2015 Square, 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...
37.198276
102
0.653766
a5058346d729a890544000e2a721493b5ef68487
2,457
package com.ruoyi.project.group.groupWork.mapper; import com.ruoyi.project.group.groupWork.domain.GroupWorkInfo; import com.ruoyi.project.production.devWorkOrder.domain.DevWorkOrder; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 工单产品建档 数据层 * * @author sj * @date 2019-11-30 */ public i...
21.9375
117
0.623525
773f50d86670ca224d2cd207cfc743f74444ed9c
4,472
/* * 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 minetweaker.mc1710.brackets; import static minetweaker.api.minecraft.MineTweakerMC.getIItemStackWildcardSize; import java.ut...
31.055556
118
0.733005
2db5e8ce4bd54c0bb696e56e79e9e0e360a9b97f
1,909
package com.performance.slidedeletelistviewdemo; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import java.util.ArrayList; /** * Cre...
26.150685
89
0.631221
59484df499131c13a1d2076651b2b6e60e6bc3b7
952
/* * Copyright (c) 2018 * User:qinghua.xu * File:AwesomeErrorCode.java * Date:2018/09/30 */ package me.xqh.awesome.delayqueue.common.exception; /** * @author qinghua.xu * @date 2018/9/30 **/ public enum AwesomeErrorCode { PARAM_ERROR("1","参数错误"), UNSUPPORT_STORAGE("2","不支持的存储方式"), NO_TOPIC("10000"...
20.255319
56
0.64916
7a4418c65828d6016d2d4d564572330887b122cf
1,271
/* * @lc app=leetcode id=270 lang=java * * [270] Closest Binary Search Tree Value */ // @lc code=start /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode() {} * TreeNode(int val) { this.val = val; } * TreeNode(...
21.183333
116
0.511408