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
ebbc568fd7b8acd37da0465de6d21dcb2a4c8f9a
17,704
package com.theyapps.ccstreamviewer.entity; import com.theyapps.ccstreamviewer.views.VideoPanel; import org.apache.log4j.Logger; import org.json.JSONException; import org.json.JSONObject; import uk.co.caprica.vlcj.player.MediaPlayerFactory; import uk.co.caprica.vlcj.player.embedded.EmbeddedMediaPlayer; import uk.co.ca...
24.285322
83
0.629123
8ef973506055ce15291c4d98e062e129638dbf8e
3,183
/* * Copyright 2009 Inspire-Software.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...
40.291139
133
0.633051
6a0b89e784c08584f7aa553300dc6416b378219b
2,637
package com.example.mywiki.service; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.example.mywiki.domain.Category; import com.example.mywiki.mapper.CategoryMapper; import com.example.mywiki.request.CategoryQueryReq; impo...
28.354839
100
0.69397
096546cd375bb9c9f343253ecab971a5ab5d7a60
4,702
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.media; import android.os.Bundle; import android.support.v4.os.ResultReceiver; import android.util.Log; // Referenced classes o...
36.734375
95
0.549766
c85bf629398b448b562d2263f9503b37f581e29b
1,900
package cn.ac.yhao.algorithm.leetcode; import org.junit.jupiter.api.Test; import java.util.Arrays; /** * @description: * 图像渲染 * 有一幅以二维整数数组表示的图画,每一个整数表示该图画的像素值大小,数值在 0 到 65535 之间。 * 给你一个坐标(sr, sc)表示图像渲染开始的像素值(行 ,列)和一个新的颜色值newColor,让你重新上色这幅图像。 * 为了完成上色工作,从初始坐标开始,记录初始坐标的上下左右四个方向上像素值与初始坐标相同的相连像素点,接着再记录这四个方向上符合条件的像素...
27.941176
130
0.572105
d19f2fc86d485039e600afd6f6cb9fb8677beb54
1,438
package com.socotech.wf4j; import java.beans.PropertyEditorSupport; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import org.apache.commons.lang.StringUtils; public class DatePropertyEditor extends PropertyEditorSupport { private boolean allowEmpty; /** * De...
28.196078
78
0.606398
119bcd30cc9e705f84a6da4abcfcf158b0796579
8,482
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
44.177083
121
0.654916
af23c3203b2106c1f2687dbebdb546f8dc0fc4a5
3,239
package strlet.experiments; import com.novemser.HHAR; import strlet.auxiliary.ThreadPool; import strlet.transferLearning.inductive.SingleSourceTransfer; import weka.core.Instance; import weka.core.Instances; import weka.core.Utils; import weka.core.converters.ArffSaver; import weka.core.converters.CSVLoader; import we...
33.739583
95
0.686632
12ffb8d23bbe094b2ee90e72575186178d6d6327
4,943
package agenda; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Dewes */ public class DAO extends Model { public Connection c...
34.089655
101
0.538337
bc7cacac59b2b1fa57d0a4143271339274854b32
855
/** * Created by Jacob Xie on 2/22/2022. */ package com.github.jacobbishopxy.ubiquitousassetmanagement; import static org.junit.jupiter.api.Assertions.assertThrows; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import com.github.jacobbishopxy.ubiquitousassetmanagement....
23.75
82
0.756725
3685efac9bad86f89fc778cebab5a8754e6324c2
978
package com.scaleunlimited.flink; import java.nio.charset.StandardCharsets; import org.apache.flink.api.common.io.OutputFormat; import org.apache.flink.api.java.io.TextOutputFormat; import org.apache.flink.core.fs.FileSystem.WriteMode; import org.apache.flink.core.fs.Path; @SuppressWarnings("serial") public class Te...
30.5625
124
0.723926
6ae08459790efbf2074e11f0076a50635d34aca7
1,747
package com.jeffdisher.cacophony.utils; /** * Utility class to make common assertion statement idioms more meaningful (and not something which can be disabled). */ public class Assert { /** * Called when an exception was not expected. This should be for cases where the assertion is statically known to * be no...
31.196429
117
0.727533
115a45969a16b23c594983694ba6b07be46f86f2
497
class Test { public <T> void varargs(int i, String... p1) { } public <T> void usage(String p1) { } { varargs<error descr="Cannot resolve method 'varargs()'">()</error>; varargs(1); varargs(1, ""); varargs(1, "", ""); usage<error descr="'usage(java.lang.String)' in 'Test' cannot be applied to ...
35.5
137
0.587525
92bdcf9fdedb46311b792bfdc3d9af6007350eb5
1,804
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.CRServo; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.Servo; public class HardwareRobot { // Public OpMode members. public DcMotor frontl...
36.816327
111
0.706763
7f7bac97e9cffb8ded4932d262eeb2d3a7773e70
750
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) // Source File Name: SimplePrivilige.java package system.security; // Referenced classes of package system.security: // Privilige public class...
17.44186
63
0.577333
249fafc42f18bb04fbc13930c66c07a29265b63d
267
package com.pacgame.provider.color; import com.pacgame.provider.Proxy; import javafx.scene.paint.Paint; public abstract class PaintProxy extends Proxy { protected Paint proxyObject; public Paint getProxyObject() { return proxyObject; } }
16.6875
48
0.726592
7d29015f9201edf8906d0a8626d5979dba6855db
1,745
/* * Copyright © 2021 Mark Raynsford <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVID...
24.928571
78
0.730086
af61ee0a7220c41fd31446b29fe78dd13ae6c221
1,221
import java.util.ArrayList; import java.util.List; public class ShortestDistantFromCharacter { public int[] shortestToChar(String s, char c) { int[] result = new int[s.length()]; List<Integer> set = new ArrayList<>(); for (int i =0; i<s.length(); i++){ if (s.charAt(i)==c){ ...
29.071429
78
0.452088
80217728b759553229f21095834f045a9faf9c33
15,259
package org.mockserver.examples.mockserver; import org.mockserver.client.MockServerClient; import org.mockserver.file.FileReader; import org.mockserver.matchers.TimeToLive; import org.mockserver.matchers.Times; import org.mockserver.mock.Expectation; import org.mockserver.model.OpenAPIDefinition; import java.util.con...
48.907051
195
0.318501
269576f661f10ba933ed38b5f20893c0997c3721
314
package egovframework.knia.foreign.exchange.cmm.code; public enum ConstCode { loginVO("loginVO"); private String code; public void ConstCode(String code) { this.code = code; } public String getCode() { return code; } private ConstCode(String code) { this.code = code; } }
14.952381
54
0.649682
ce0ef9f19642487fe8421f413f4c8520b78d8084
766
package vip.efactory.modules.system.service.dto; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; import java.time.LocalDateTime; import java.util.List; @Data public class MenuDto implements Serializable { private Long id; private Integer type; priva...
17.409091
68
0.724543
6de0cdd34b9033a457eb9297969e355a7240957b
6,387
package com.courierx.courierx.Track; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentTransaction; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget....
39.425926
139
0.700642
c47888568753ea01f06179f88f1251b038af3a6b
2,904
// SPDX-License-Identifier: MIT package com.daimler.sechub.sereco.importer; import java.io.IOException; import java.util.Iterator; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.DocumentHelper; import org.dom4j.Element; import org.springframework.stereotype.Component; import com.daim...
35.414634
113
0.774449
aad42d35dc14ff52ffc293f31f6fa2d8df89c297
1,554
package BabyBaby.data; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import BabyBaby.Command.commands.Public.MuteCMD; import net.dv8tion.jda.api.entities.Guild; import net.dv8tion.jda.api.entities.Role; import net.dv8tion.jda.api.entities.User; public class GetUnmute i...
29.884615
89
0.602317
3d2ce8808db26280faa1eceee25935d34bca34e6
1,144
package com.madzera.happytree.core.atp; import java.util.Map; import java.util.Set; import com.madzera.happytree.core.ATPPhase; import com.madzera.happytree.exception.TreeException; abstract class ATPGenericPhase<T> extends ATPPhase<T> { /* * Protects this constructor. The API Client must not initialization no o...
27.238095
78
0.774476
ee0c6790a9b875afbabd34b2d34db9548b7281e4
1,261
package net.minecraft.entity.ai.attributes; import javax.annotation.Nullable; import net.minecraft.util.math.MathHelper; public class RangedAttribute extends BaseAttribute { private final double field_111120_a; public double field_111118_b; // Spigot private String field_111119_c; public RangedAttr...
31.525
104
0.671689
76890fc247dcb09a1de0c5dcee2751f9bcf7167b
390
package mb.statix.scopegraph.diff; public class Edge<S, L> { public final S source; public final L label; public final S target; public Edge(S source, L label, S target) { this.source = source; this.label = label; this.target = target; } @Override public String toStri...
20.526316
54
0.579487
6e74ac178bb0d04202d848af8490153e26c1e92d
1,134
package com.aerhard.oxygen.plugin.dbtagger; import static org.mockito.Mockito.mock; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.ju...
25.2
71
0.701058
7a96efe5220004904499c5e72c323925dd09566a
638
package org.blab.mde.ee.dal; import java.util.List; import org.blab.mde.core.annotation.Mixin; @Mixin public interface RepositoryMixin<Entity, Key, Criteria> { Entity load(Key id); Entity load(QueryMixin<Criteria> query); <V> PageList<V> loadAll(QueryMixin<Criteria> query); boolean remove(Key id); bool...
19.333333
57
0.739812
e9e8739e5f2ac4120b1f6bcbfbb7bde61dce9643
4,140
package io.ei.jsontoxls.resources; import io.ei.jsontoxls.AllConstants; import io.ei.jsontoxls.Messages; import io.ei.jsontoxls.repository.TemplateRepository; import io.ei.jsontoxls.util.ExcelUtils; import io.ei.jsontoxls.util.ResponseFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws....
39.428571
128
0.687681
0a9cac00db078d5684f812f3f3bc31a1a712c655
6,484
package com.ymt.framework.hybrid.model.params; /** * Created by xujian on 2016/2/1. */ public class JChatOrder { private int ActuallyPrice; private Object AddTime; private String Catalog; private int DistributionType; private String DistributionTypeText; private int Earnest; private boole...
21.905405
70
0.649136
8306aad59f862d01115cdebd230329cf10f2a257
1,270
package com.sap.olingo.jpa.metadata.core.edm.mapper.annotation; import java.util.Arrays; import java.util.Objects; import org.apache.olingo.commons.api.edm.provider.CsdlAction; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; @J...
28.863636
76
0.774016
0dda4e4cc729066462855e594e23d6dd3845431f
7,083
package ru.courses.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import ru.courses.addressbook.model.ContactData; import ru.courses.addressbook.model.Contacts; i...
35.415
138
0.616123
24c9743d2b4d8749fa644c1e8960701020d57493
4,476
package net.glowstone.util; import net.glowstone.GlowServer; import javax.net.ssl.HttpsURLConnection; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import ja...
39.610619
157
0.614388
11c4fe5109353d338d28634bad49711585b9e964
53,317
/* * This file was automatically generated by EvoSuite * Fri Aug 24 11:17:41 GMT 2018 */ package com.soops.CEN4010.JMCA.JParser; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import com.soops.CEN...
36.098172
176
0.666954
eeb2bbd16f36149de828dfa40d14eb21eab3b530
459
package no.hvl.dat104; import java.util.HashMap; import java.util.Map; public class Votes { private Map<Integer, Integer> votes; public Votes() { this.votes = new HashMap<>(); } public void addVote(int valg) { votes.put(valg, votes.get(valg) + 1); } public Map<Integer, Inte...
17.653846
55
0.601307
024a73f44c5253c8796fa51ff97921fc433d1b6c
357
package cn.zzq0324.alarm.bot.web.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; /** * description: 钉钉回调 <br> * date: 2022/2/18 10:05 下午 <br> * author: zzq0324 <br> * version: 1.0 <br> */ @Controller @RequestMapping("/dingtalk") public ...
22.3125
62
0.747899
19d27f2402baaf1933edebb3546d86ad92a977b1
1,178
package com.imasson.commandrouter.demo; import com.imasson.commandrouter.CommandRouter; import com.imasson.commandrouter.CommandRouterBuilder; import com.imasson.commandrouter.driver.UriDriver; public class Main { public static void main(String[] args) { final CommandRouter router = new CommandRouterBuil...
34.647059
97
0.657895
165134fe8009e2535e90dd714054f90fd62fd000
339
package com.trace.keywords.masker; import com.trace.keywords.Masker; /** * 密码脱敏器 * * @author jinkai125@126.com * */ public class PasswordMasker implements Masker { @Override public String masking(String name, Object value) { if (value == null) { return null; } return...
16.142857
54
0.587021
d6068fdaccca9d0ba71af3003d70879a1fe83d19
562
package kr.spring.batch.chapter07; import kr.spring.batch.chapter07.jpa.ProductRepository; import lombok.Setter; import org.springframework.batch.item.ItemProcessor; /** * kr.spring.batch.chapter07.IdToProductItemProcessor * * @author 배성혁 sunghyouk.bae@gmail.com * @since 13. 8. 8. 오후 2:49 */ public class IdToPro...
25.545455
81
0.791815
511c40c537bcb5139bb59f20ff69355164ea27fd
3,417
package com.krys.codelibrary.ui.room; import androidx.annotation.LayoutRes; import androidx.lifecycle.Observer; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.lifecycle.ViewModelProviders; import androidx.recyc...
34.515152
132
0.731343
301592c0debd48d209eaaccf126c82812343bd6b
1,478
package com.alibha; import com.alibha.db.ExpenseItemDao; import com.alibha.db.ExpenseItemRepository; import com.alibha.resources.ExpenseItemResource; import io.dropwizard.Application; import io.dropwizard.jdbi3.JdbiFactory; import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; import org.jdbi.v...
36.04878
105
0.76184
68f12b28b989b62451792a248f1a430d05899efa
13,400
/** ** TurkanaSouthModel.java ** ** Copyright 2011 by Andrew Crooks, Joey Harrison, Mark Coletti, and ** George Mason University. ** ** Licensed under the Academic Free License version 3.0 ** ** See the file "LICENSE" for more information ** ** $Id$ **/ package sim.app.geo.turkana; import java.io.BufferedWr...
33.58396
178
0.614627
717338f80ade2ee323b125e405e8691aa40d859d
900
package io.quarkus.security.test; import org.junit.jupiter.api.extension.RegisterExtension; import io.quarkus.test.QuarkusUnitTest; /** * Tests of a CUSTOM authentication mechanism that uses the BASIC authentication headers */ public class CustomAuthEmbeddedEncryptedTestCase extends CustomAuthEmbeddedBase { st...
39.130435
91
0.701111
5dad36f93a6a59ed57e9c3e2e673dd009b044481
14,464
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
37.568831
100
0.633435
2e4a309c74bc3e3f6a5ccfb6910ef167796bb6ce
288
package tk.traiders.ui.markets.children; import tk.traiders.ui.markets.children.util.ParityFragment; public class CurrencyFragment extends ParityFragment { @Override protected String getURL() { return "https://api.traiders.tk/parity/latest?category=currency"; } }
22.153846
73
0.743056
93753ddb9f0259cedb5ddedcd1a7bd9524f2b5f2
1,035
package timely.testing; import java.util.Map; import java.util.Random; public class MetricPut { private String metric = null; private Map<String, String> tags; private Random r = new Random(); public MetricPut(String metric, Map<String, String> tags) { this.metric = metric; this.tags...
26.538462
65
0.586473
b22ca1f9d767a46a4ef1cca489c7bed7437c4439
1,280
package cminor.ast; import java.util.List; import cminor.parser.LocationInfo; import cminor.symbol.StringSymbol; import cminor.visit.Visitor; public class PrintStatement extends Statement { public static final String TRUE_STRING = "true"; public static final String FALSE_STRING = "false"; public static final Str...
24.150943
76
0.751563
f4a25a895d9c41c852e5c278b5cf57cd0b49a508
1,655
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
33.77551
110
0.764955
bf7374347b44f11de9ba9ae658d0ad58547364a4
4,219
package com.example.pay.controller; import com.alipay.api.AlipayApiException; import com.alipay.api.AlipayClient; import com.alipay.api.domain.AlipayTradeWapPayModel; import com.alipay.api.internal.util.AlipaySignature; import com.alipay.api.request.AlipayTradeWapPayRequest; import com.example.pay.configuration.Alipay...
34.300813
144
0.674804
8abf0390189bde63e0137c57279f8068d19f0e50
10,911
package me.jessyan.mvpart.demo.app.utils.net.sign; import android.util.Log; import java.io.ByteArrayOutputStream; import java.io.UnsupportedEncodingException; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.MessageDig...
35.891447
256
0.623774
1073a2f682e72fe37fe56c06dcaa45ed7bd68641
1,979
package gov.loc.repository.bagit.conformance.profile; import java.io.File; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class BagitProfileDeserializerTest extends AbstractBagitProfileTest{ @Test public void testDeserialize() throws Exception{ BagitProfile expectedProfil...
56.542857
130
0.81809
ce89669fde78c60d1e7bd0c2fc04066531d97759
479
package com.baeldung.web.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; @Controller public class SampleController { @GetMapping("/sample") public String showForm() { return "sample"; } @GetMapping("/sample2") p...
19.16
58
0.653445
71c270fba97106e4fdaa693f7f9c49fb4bc8d42b
2,595
package io.github.bycubed7.lifestealcore.commands; import java.util.List; import java.util.Map; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import io.github.bycubed7.corecubes.CubePlugin; import io.github.bycubed7.corecubes.commands.Action; import io.github.bycubed7.corecubes.commands.ActionUse; impor...
28.516484
72
0.746435
5f10871ba833eae89a7c4661da0a3e0ed9bb0835
713
//package com.lujiahao.canal.client.mq; // //import org.springframework.beans.factory.annotation.Value; //import org.springframework.context.annotation.Bean; //import org.springframework.context.annotation.Configuration; // ///** // * RocketMQ生产者配置 // * @author lujiahao // * @date 2018/10/21 // */ //@Configuration //pu...
26.407407
92
0.657784
fc16c19a930f0ea84f10126521eb24e91050a9a7
3,107
package app.services; import java.awt.Color; import java.awt.Cursor; import java.awt.Font; import javax.swing.BorderFactory; import javax.swing.border.Border; public class RecursosService { private Color cyan, cyanOscuro, verdeClaro, verde, verdePastel, morado, moradoClaro; private Font fuenteTitulo, fuenteVe...
26.784483
95
0.590602
9373128c7b9c70c8b436addf67b66f733b51618e
296
package org.uma.jmetal.auto.component.evaluation; import org.uma.jmetal.solution.Solution; import org.uma.jmetal.util.observable.ObservableEntity; import java.util.List; public interface Evaluation<S extends Solution<?>> extends ObservableEntity { List<S> evaluate(List<S> solutionList) ; }
26.909091
77
0.797297
352ace1a1798df2c5abc1ebb2c3a3a4fb9f62ccc
1,541
package com.fincatto.documentofiscal.cte300.classes; import org.junit.Assert; import org.junit.Test; public class CTCodigoSituacaoTributariaICMSTest { @Test public void deveRepresentarOCodigoCorretamente() { Assert.assertNull(CTCodigoSituacaoTributariaICMS.valueOfCodigo(null)); Assert.ass...
61.64
172
0.814406
57b63e31d3316362f68a2a65904437beb26f956c
142
package com.paragon_software.word_of_day; import androidx.core.content.FileProvider; public class WotDFileProvider extends FileProvider { }
23.666667
54
0.84507
3b1ab632cc7b298d380e54393e350e819740db58
2,390
/* * Copyright 2019 くまねこそふと. * * 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 ...
32.739726
117
0.615063
36ac5d31c1fa8305b9f8623a4a98f5cdb79ac0d2
11,899
/* * Copyright (c) 2019. Semenoff Slava */ package ex.capybara; import org.openqa.selenium.*; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui.ExpectedCondition; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.Select; import org.o...
40.063973
128
0.633246
fa573ab838411d4611b8eb19137ccc8df247a6dc
2,753
package com.p6e.germ.security.config; import java.io.Serializable; import java.util.List; import java.util.Map; /** * 认证的模型对象 * 自定义的认证的模型对象需要继承 P6eAuthModel 对象 * @author lidashuang * @version 1.0 */ public class P6eAuthModel extends com.p6e.germ.starter.oauth2.P6eAuthModel implements Serializable { private I...
20.856061
100
0.630585
1c42139873b6b1f2371e3539167c57380d30951d
4,962
package io.crnk.client; import java.io.Serializable; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import io.crnk.client.legacy.RelationshipRepositoryStub; import io.crnk.client.legacy.ResourceRepositoryStub; import io.crnk.core.exception.Resourc...
29.360947
99
0.735994
a15a02e46d2c5977ac37325b0a1975981241e1ac
8,838
/* * @#KnownServerCatalogInfo.java - 2015 * Copyright bitDubai.com., All rights reserved.  * You may not modify, use, reproduce or distribute this software. * BITDUBAI/CONFIDENTIAL */ package com.bitdubai.fermat_p2p_plugin.layer.ws.communications.cloud.server.developer.bitdubai.version_1.structure.entities; import...
25.917889
288
0.6136
b687b2149d0d3ecefd3af09ced8a2464ed2760c7
18,651
/* * Copyright 2011 Corpuslinguistic working group Humboldt University Berlin. * * 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 * *...
28.518349
165
0.668597
dce02e293203dd8c2d9a04cc329dacccca2f2f63
15,629
/* * Copyright (c) 2015. Qubole 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 agreed to...
46.933934
88
0.652185
85283826f65ee1127211022a658d496e835f1dc5
6,436
package com.fr.swift.cloud.api.info; import com.fr.swift.cloud.api.info.api.CreateTableRequestInfo; import com.fr.swift.cloud.api.info.api.InsertRequestInfo; import com.fr.swift.cloud.api.info.api.TableRequestInfo; import com.fr.swift.cloud.api.info.api.TruncateRequestInfo; import com.fr.swift.cloud.api.rpc.bean.Colum...
45.971429
106
0.689403
0a0c9c362d550cd7c4f34dcaf7cecba7000012a6
872
public class Snaiper extends Adventurer{ final int SNIPER_BONUS = 500; //레벨업 final float SNIPER_MAJOR_COEF = 3.1f; //계수로 사용 final float SNIPER_MINOR_COEF = 1.5f; public Snaiper(){ super(); sniperPromotionBonus(); } public void sniperPromotionBonus(){ //레벨업 스탯 계수...
22.358974
77
0.556193
fe0300ba79c1296a1fd9c7e379f0563d5cf0688a
1,397
package com.unq.dapp0.c1.comprandoencasa.webservices.dtos; import com.unq.dapp0.c1.comprandoencasa.model.objects.Location; import com.unq.dapp0.c1.comprandoencasa.model.objects.ShoppingList; import com.unq.dapp0.c1.comprandoencasa.model.objects.ShoppingListEntry; import java.math.BigDecimal; import java.util.ArrayLis...
36.763158
125
0.747316
7b789ba3fbec64e9cf5048560a9c4524cf47204d
5,380
/* Copyright (C) 2005-2011 Fabio Riccardi */ package com.lightcrafts.ui.layout; import com.lightcrafts.ui.toolkit.FadingContainer; import com.lightcrafts.ui.LightZoneSkin; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent...
33.416149
84
0.586617
fad6eb82ab0607e1f7946dcdd7c0813ca3f44566
1,794
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.userguide.collections; import javax.persistence.Entity; impo...
22.708861
94
0.695652
0594a57831d24536575009bd3d402c63595cf4cd
1,243
package com.heaven7.android.util_v1_app; import android.graphics.Color; import android.os.Bundle; import android.widget.TextView; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import com.heaven7.core.util.HighLightTextHelper; import com.heaven7.core.util.MainWorker; public cl...
28.906977
83
0.6428
3cead8c0ede8e70576a007865e52913ad097fbe2
142
package cn.huangxulin.cloud; /** * 功能描述: 自定义注解排除 SpringBoot 自动装配的类 * * @author hxulin */ public @interface ExcludeFromComponentScan { }
12.909091
44
0.71831
d057b12f0c1b4a7160220b6241f9811b965ca922
963
package com.hp.model; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; /** * 错误处理结果 * Created by yaoyasong on 2016/5/4. */ public class ErrorResponse { private Integer code; private String message; private Throwable stackInfo; public Er...
21.886364
77
0.63136
d83246c2f23385c633c948e8d2ddddd1d5fc0ec8
5,352
/* * 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 co.edu.uniandes.csw.vivienda.ejb; import co.edu.uniandes.csw.vivienda.entities.UniversidadEntity; import co.edu.uniand...
44.6
245
0.676196
476332c40d50fea134584d58079c914178382f73
1,801
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.resourcemanager.network.implementation; import com.azure.resourcemanager.network.NetworkManager; import com.azure.resourcemanager.network.fluent.ApplicationSecurityGroupsClient; import com.azure.resourcema...
40.022222
116
0.784564
0d8e73109ac96067d533ecc6b021d7f8f9206a82
367
package com.atguigu.gulimall.product.dao; import com.atguigu.gulimall.product.entity.BrandEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 品牌 * * @author yaojunyi * @email yao_junyi@qq.com * @date 2021-04-30 11:20:32 */ @Mapper public interface ...
20.388889
59
0.760218
ab7c22200313171d1dc4e70da09d16673aa584c5
713
package com.regitiny.catiny.service.mapper; import com.regitiny.catiny.GeneratedByJHipster; import com.regitiny.catiny.domain.*; import com.regitiny.catiny.service.dto.FollowGroupDTO; import org.mapstruct.*; /** * Mapper for the entity {@link FollowGroup} and its DTO {@link FollowGroupDTO}. */ @Mapper(componentMode...
39.611111
96
0.774194
01d2b07ecafd27254fb7c349fb09b977a73325e9
144
package cn.shaojintian.smartordersys.model; import org.omg.CORBA.INITIALIZE; public enum OrderState { INIT,PAID,BREWING,TAKEN,CANCELLED }
18
43
0.791667
5887e683d3cc2f71885eb57802bbdcfa933c59ca
1,911
package au.gov.amsa.detection.behaviour; import java.util.function.Predicate; import au.gov.amsa.detection.Util; import au.gov.amsa.detection.model.Craft; import au.gov.amsa.detection.model.Craft.Events.Create; import au.gov.amsa.detection.model.Craft.Events.Position; import au.gov.amsa.detection.model.CraftIdentifie...
34.745455
98
0.652538
473f32cda578e13b061702e13adebe802daa1351
39,093
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. package com.microsoft.sampleandroid; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.net....
41.107256
154
0.571535
0bc62633f307b0ea69afe546208ec7a996da3a46
925
package se.cygni.game.worldobject; public class SnakeBody implements SnakePart { private SnakePart nextSnakePart = null; private int position; public SnakeBody() { } public SnakeBody(SnakePart nextSnakePart) { this.nextSnakePart = nextSnakePart; } public SnakeBody(int position) ...
18.877551
59
0.631351
f5e8b7a2ae1236dcc3d769eb371ed27cf2d92d60
1,456
package eu.stefanangelov.chatbot.chatservice.service; import org.springframework.stereotype.Service; import org.springframework.web.socket.WebSocketSession; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * This service is responsible to ha...
30.333333
101
0.734203
c9566f2569ef36a80a80e27f718d96efb45ca4a7
6,702
package io.configrd.core.aws.s3; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.URI; import java.util.Date; import java.util.Optional; import javax.ws.rs.core.MediaType; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.amazonaws.auth.AWSCredentialsProvider; import c...
29.012987
100
0.710087
b3a3a0040b639484dc95e76b493503adfe0cf31c
265
package com.hankcs.hanlp.model.bigram; import junit.framework.TestCase; public class BigramDependencyModelTest extends TestCase { public void testLoad() throws Exception { assertEquals("限定", BigramDependencyModel.get("传", "v", "角落", "n")); } }
24.090909
75
0.70566
4bcac2ed71712979efade2636f03867ac5299c04
26,895
package org.github.dtsopensource.admin.dao.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.List; public class ActivityRuleDOExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public ActivityRuleDO...
33.162762
103
0.565867
2f67a3c1c6573ca11bf6a28f90c1d8dbe02e9eb4
1,329
package com.example.domain.interactor; import com.example.domain.executor.PostExecutionThread; import com.example.domain.executor.ThreadExecutor; import com.example.domain.model.PillDomain; import com.example.domain.repository.UserDataRepository; import javax.inject.Inject; import rx.Observable; import rx.Subscriber; ...
27.6875
115
0.772009
b845283e031ae4033e20c05f4471f866027a0759
2,354
package com.avereon.xenon.task; import com.avereon.event.Event; import com.avereon.event.EventHandler; import com.avereon.event.EventType; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import ja...
31.386667
140
0.753186
900a5e0a3b14c0fba8ba813e9341a89f7f5c4b01
484
package com.themastergeneral.ctdtweaks.items; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagList; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class BasicGlow extends BasicItem { public BasicGlow(String name) { super(name); ...
25.473684
54
0.760331
59dbc0f857f0190745f70e15a45839c55bffc448
600
/* * Copyright (C) 2016 LinuxTek, Inc All Rights Reserved. */ package com.linuxtek.kona.rest.exception; import com.linuxtek.kona.rest.AbstractRestException; public abstract class ApiException extends AbstractRestException { private static final long serialVersionUID = 1L; public ApiException() { sup...
22.222222
70
0.686667
11321a0589a66207849d79c146ae019f90cd80a9
1,245
package com.mrclbndr.jms_demo.shipping.adpater.messaging.impl; import com.mrclbndr.jms_demo.shipping.adpater.messaging.api.CustomerNotifier; import com.mrclbndr.jms_demo.shipping.domain.ShippingState; import javax.annotation.Resource; import javax.ejb.Stateless; import javax.inject.Inject; import javax.jms.Destinatio...
34.583333
96
0.730924
4d7f52085c9476bca4e630669700b7de7dce8fdc
3,819
package com.sqisland.android.advanced_textview; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.widget.AdapterView; import android.widget.Simpl...
39.78125
93
0.724535
e455e960ec7d4f484ad03579daa941bb6e41eeea
1,147
package com.mtm.demo.collection; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public class SortingListDemo { public static void main(String args[]) { // Example 1 (Sorting the elements of List that contains string objects) ArrayList<String> aList1 = new Ar...
29.410256
88
0.615519
bd630794647fafe2f82cd15677b3011e7078e33a
504
package io.github.parubok.text.multiline; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Insets; class MultilineUtils { private MultilineUtils() { } static Dimension toDimension(int width, int height, Insets insets) { return new Dimension(width + insets.right + insets.lef...
26.526316
102
0.712302
6d5b3926fbc74d05d05d957bc1f76c12e0f403a7
6,285
package org.ekstep.genieservices.commons.network; import org.ekstep.genieservices.auth.AuthHandler; import org.ekstep.genieservices.commons.AppContext; import org.ekstep.genieservices.commons.GenieResponseBuilder; import org.ekstep.genieservices.commons.IParams; import org.ekstep.genieservices.commons.bean.GenieRespon...
38.558282
127
0.642959
86530db5c7e52a852d6604fb5e0afd7091ab6b12
5,093
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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...
15.433333
815
0.806401
f51e9680ef9f229024e096d5b7b7daed076c63bc
2,773
package eu.qualimaster.adaptation.platform; import java.io.IOException; import java.net.InetAddress; import java.util.ArrayList; import java.util.List; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import eu.qualimaster.adaptation.AdaptationConfiguration; import eu.qualimast...
35.101266
112
0.584565
16a0e6c36b5185e2af9eb3c953fcd63d506b7f0a
3,553
/* * Copyright (C) 2008-2017 Matt Gumbley, DevZendo.org http://devzendo.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 ...
32.898148
109
0.722488
14338ddd5b48ddd1a8e4451ca65ce3ba301c77d4
740
package hu.fallen.countitbaby.helpers; import java.util.Random; import hu.fallen.countitbaby.model.Settings; public class RandomHelper { // TODO [Postponed] Scale up/down images based on count - maybe introduce scaled-up drawables to avoid programatical scaling? private static final String TAG = RandomHelp...
27.407407
129
0.702703
95d36175a3e660a092f425a2e784079362ae608b
2,440
package app.controllers; import app.data.CoreDBImpl; import app.domain.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.util.List; import java.util.UUID; @RestController @RequestMapping(p...
30.5
89
0.629918