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
4188cd98803c00c54443d50bdb464a861af650fa
837
package com.moris.user.entity; /** * 管理员 */ public class Admin { private int id; private String adminName; private String adminPassword; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getAdminName() { return admi...
18.6
56
0.550777
558a04f52a5675612a036c812c948c52b2563b1f
1,321
package pathing; /** * Auxiliary class to store pairs. * * @author Gabriel da Motta * @version 10/06/2019 * */ public class Pair<K extends Comparable<K>,T> implements Comparable<Pair<K,T>> { // stored values K x; T y; /** * Constructs the pair with * values x and y. * * @param x the first value ...
16.109756
79
0.576079
46fe3857407a7e04f53a8a00ea5dcc5a44d03184
1,702
package com.webcheckers.ui; import com.google.gson.Gson; import com.webcheckers.Model.PlayerLobby; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import spark.*; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter...
26.59375
110
0.666863
bf70a75180887e9ee6002f6918d8cab8307dc29f
4,640
package com.example.bogdan.sortspeed.screens; import android.content.Intent; import android.content.res.Resources; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.os.Handler; import android.os.SystemClock; import android.support.v4.content.res.ResourcesCompat; import an...
32.676056
103
0.641164
149de86dcf876da95806dc8c4e678366f7e75290
459
package io.ochubey.appium; import io.appium.java_client.remote.MobileCapabilityType; /** * Created by o.chubey on 4/19/18. */ public interface AllCapabilityType extends MobileCapabilityType { /** * If provided, Appium will connect to an existing WebDriverAgent instance at this URL instead of starting a new...
28.6875
121
0.723312
583e5286e7a0325110e85d0223f6d53893d51d4d
407
package Vehicles; public class Truck extends Vehicle { private static final double AIR_CONDITION = 1.6; private static final double TINY_HOLE = 0.95; public Truck(double fuelQuantity, double fuelConsumptionPerKm) { super(fuelQuantity, fuelConsumptionPerKm + AIR_CONDITION); } @Override ...
25.4375
68
0.70516
0aa58b2b9d1dcbafcaba3ba6e828e1edaa4939ae
1,374
package com.kpatil.critter.entity; import com.kpatil.critter.dto.EmployeeDTO; import com.kpatil.critter.constants.EmployeeSkill; import javax.persistence.*; import java.time.DayOfWeek; import java.util.Set; @Entity public class Employee { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private lo...
21.138462
64
0.647016
505102d409ee409f31549b037a815c1fce29d97b
1,490
package io.opensphere.core.util.javafx.input.view; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.geometry.Insets; import javafx.scene.layout.Region; /** * An invalidation listener that preserves the padding of the to-be-invalidated region. */ public class PaddedInvalidation...
26.607143
101
0.630201
172e56759f7b832d87c2a7b2c84008f365bac5d3
1,068
package makamys.coretweaks.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Redirect; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import makamys.co...
36.827586
144
0.796816
6ff13439aeb8da83674055cd43e2fe868aca5630
434
package com.github.osmman.feedback; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.map.repository.config.EnableMapRepositories; @EnableMapRepositories @SpringBootApplication public class FeedbackApplication { ...
28.933333
76
0.817972
b5fc003ef7efe34f81dee8a3766aff31a16726dc
649
package ru.stqa.trainings.testng.simple1.sample9; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @Test publi...
21.633333
49
0.734977
e9612de914cf04d5066fbe44a925f66e9a364334
3,171
package org.frekele.fiscal.focus.nfe.client.enumeration; import org.frekele.fiscal.focus.nfe.client.testng.InvokedMethodListener; import org.testng.annotations.Listeners; import org.testng.annotations.Test; import java.util.List; import static org.testng.Assert.*; /** * @author frekele - Leandro Kersting de Freita...
41.181818
80
0.71397
eec41e4a4b62a1e32744d241111533a0bd73699b
1,401
package andy.ayaseruri.lib.mvc.adapter; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import andy.ayaseruri.lib.mvc.interfaces.Interfaces; /** * Created by ayaseruri on 15/8/18. */ public class HeaderViewAdapter extends Adapter { private static final int HEADER_POSTION ...
25.472727
98
0.66167
67662daa389379e07fe331993cb0b288ff8b1bee
810
package com.beanbox.test.proxy; import com.beanbox.beans.factory.FactoryBean; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; /** * @author: @zyz */ public class ProxyUserDao implements FactoryBean < IUserDao > { @Override public IUserDao getObject () ...
21.891892
129
0.722222
ea14e7ec2627dd39e5cf261ec810a2ebb1024fcd
1,543
package com.github.fmjsjx.libcommon.util; /** * Utility class for Object. */ public class ObjectUtil { /** * Returns a string representation of the object. * * @param obj the object * @return a string representation of the object */ public static final String toString(Object obj) {...
24.109375
81
0.530784
afc7076e6f3ab828c5a82f609d5a14537211aa32
4,062
package es.urjc.code.practica.product; import java.util.List; import es.urjc.code.practica.offers.Offer; import es.urjc.code.practica.offers.OfferRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Pageable; import org.springframework.http.HttpStat...
29.867647
107
0.713195
51f8ec09fc9edf75e920923c75f8db9eef85d260
23,906
/* * Copyright (C) 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 app...
43.944853
100
0.723542
15a7bca150cd8d84fdd05efca761f98e79e835aa
1,121
package com.XuMengyun.dao; import com.XuMengyun.model.User; import java.sql.Connection; import java.sql.SQLException; import java.util.Date; import java.util.List; public interface IUserDao { public boolean saveUser(Connection con, User user) throws SQLException; public int deleteUser(Connection con, User us...
43.115385
108
0.795718
55ff6247eff3d2ab74555821f282dd3006a2555a
3,221
import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.StringJoiner; public class Proceeding implements Comparable<Proceeding> { private static final String synX969String = "}"; private static final String synX968String = "{"; private static final String synX967String = ", "...
27.767241
93
0.706613
0631572dfcaf544b34dceea7661bab9fe7f6beda
436
package lambda_interface; import java.util.ArrayList; import java.util.List; public class RemoveIf { public static void main(String[] args) { // 특정타입(제네릭)을 검사(test)해서 참/거짓 판별해 리턴 List<Integer> number = new ArrayList<>(); number.add(3); number.add(5); number.add(7); number.add(2); number.add(9); numb...
17.44
45
0.65367
0fa980fb82793cda183175e81478d1694c6646b0
1,204
package com.vmware.geode.twitter.listener; import com.vmware.geode.twitter.domain.Sentiments; import com.vmware.geode.twitter.service.polarity.PolarityComputeService; import org.apache.geode.cache.EntryEvent; import org.apache.geode.cache.util.CacheListenerAdapter; import org.springframework.stereotype.Component; /**...
28
80
0.743355
4858f17277d7eaee1d0c57627c5094365fc716ea
339
package com.github.fuckcpp.weatherapp.pojo;/* 作者Crying711 日期:2021/2/7 时间:21:08 */ import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; /** * The type Network proxy. */ @Data @AllArgsConstructor @NoArgsConstructor public class NetworkProxy { private List<Prox...
14.73913
45
0.778761
10e6222171724db17878340b00f67887417e6754
13,209
package com.symphony.bdk.core.service.datafeed.impl; import static com.symphony.bdk.core.test.BdkRetryConfigTestHelper.ofMinimalInterval; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; ...
35.894022
120
0.728216
05b84ceff5adb7a4ef22bd759625056a2a1254b0
1,163
package com.example.pandaexampleshardingjdbc; import com.example.pandaexampleshardingjdbc.dao.PersonDao; import com.example.pandaexampleshardingjdbc.dao.RoomDao; import com.example.pandaexampleshardingjdbc.entity.Person; import com.example.pandaexampleshardingjdbc.entity.Room; import org.springframework.beans.factor...
22.365385
70
0.760963
88c7f97f9e75a04a735eb0522ec1753aa5099274
920
package br.com.ilegra.spring.analyse.dat.service.arquivo.strategy; import br.com.ilegra.spring.analyse.dat.model.arquivo.TipoLayoutArquivo; import org.springframework.stereotype.Service; import java.util.Objects; @Service public class FactoryLayoutArquivoVendasService implements IFactoryTipoLayoutArquivoService { ...
35.384615
115
0.776087
3cfe25628441c51cfe17707a3e8c3488662d8f2d
62
package UserInterface.Forms.Task; public class FormTasks { }
12.4
33
0.790323
b3d4cbcba1097f2489573478a9cb9852f5eef318
6,925
/******************************************************************************* * Copyright 2017 Bstek * * 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/lic...
35.695876
131
0.593502
0ed32a2811abe9ac53c382f142dd1187d025d679
4,104
package com.tomatocart.business.flow; import java.util.HashMap; import java.util.List; import org.apache.log4j.Logger; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import com.tomatocart.page.CommonPage; public class CommonInfo extends CommonPage { public Logger log = Log...
27
100
0.615741
117028eafa0b3dc0bdc8b348c35e5c8c96c56b27
1,379
package io.opensphere.mantle.util.columnanalyzer; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; /** * Single entry in the ma...
21.546875
55
0.640319
f707b492ea6a4f04c76628944f374676ee45b1f1
456
package lsm.base; import java.util.Comparator; import com.google.common.collect.ComparisonChain; /** * InternalKey的比较器 * @author bird * */ public class InternalKeyComparator implements Comparator<InternalKey>{ @Override public int compare(InternalKey left, InternalKey right) { // 先比较bytebuf字节数据,再比较序列号大小 r...
20.727273
79
0.75
8ee6bf3f8f752b6d3637ca1df839d5977af3a84a
2,045
package technology.semi.weaviate.client.v1.graphql.query.argument; import java.util.LinkedHashSet; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import lombok.AccessLevel; import lombok.Builder; import lombok.Getter; import lombok.experimental.FieldDefaults; import org.apach...
32.460317
87
0.657702
5612a255b659d32e4d05ce0b313005378b1d2385
3,328
package com.example.springsecuritydemo.support; import org.springframework.security.access.AccessDecisionManager; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.access.SecurityConfig; import org.springfra...
39.152941
182
0.778846
22339f09e4ff67d2500e2c2ba8272f009ec318c1
1,525
package com.raoulvdberge.refinedstorage.container; import com.raoulvdberge.refinedstorage.container.slot.filter.SlotFilter; import com.raoulvdberge.refinedstorage.container.slot.filter.SlotFilterFluid; import com.raoulvdberge.refinedstorage.tile.TileImporter; import net.minecraft.entity.player.EntityPlayer; import net...
49.193548
206
0.707541
2e2dc763932e6c863a587e89404b950564137b9f
8,466
package com.lordjoe.sparkblast; import com.lordjoe.sparkutilities.Utilities; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.lib.input.TextInputFormat; import org.apache.spark.SparkConf; import org.apache.spark....
36.179487
146
0.55528
bf83eae2fffe86395c45d80fd2181597f10f286c
286
package com.nacid.data.nomenclatures; import java.sql.Date; public class DocCategoryRecord extends FlatNomenclatureRecord { public DocCategoryRecord(){ } public DocCategoryRecord(int id, String name, Date dateFrom, Date dateTo) { super(id, name, dateFrom, dateTo); } }
22
77
0.748252
3e892da1a90772847562d7e8399d05a23269156a
261
package org.yamikaze.compare; /** * @author qinluo * @version 1.0.0 * @since 2019-05-27 23:15 */ public class NoOpCompare implements Compare<Object> { @Override public void compareObj(CompareContext<Object> context) { //do nothing } }
17.4
60
0.662835
263f353cabc90240b78083b6fcc32d42017e20da
1,225
package com.stripe.android; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertEquals; public class AppInfoTest { static final AppInfo APP_INFO = AppInfo.create( "MyAwesomePlugin", "1.2.34", "https://myawesomeplugin.inf...
27.840909
92
0.540408
4e901fd191f79a18de312a5882a652cc7780f3e8
4,697
/* * Copyright (C) 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 app...
34.792593
96
0.688737
a8645fd58f8a6ac368140dad6f5ff7dd10420ec9
1,065
package info.novatec.testit.webtester.support.hamcrest.matchers.pagefragments; import static info.novatec.testit.webtester.support.hamcrest.WebTesterMatchers.has; import static info.novatec.testit.webtester.support.hamcrest.WebTesterMatchers.visibleTextContaining; import static org.junit.Assert.assertThat; import stat...
33.28125
101
0.755869
03febf8981b36b026e5bcff810c675520249164c
1,716
package be.ugent.mmlab.rml.performer; import be.ugent.mmlab.rml.model.RDFTerm.GraphMap; import be.ugent.mmlab.rml.model.dataset.RMLDataset; import be.ugent.mmlab.rml.model.PredicateObjectMap; import be.ugent.mmlab.rml.model.RDFTerm.TermType; import be.ugent.mmlab.rml.model.TriplesMap; import be.ugent.mmlab.rml.process...
35.75
92
0.670163
8d4ce458d5406a9d8f19a11d1d196d2dc71b9ff3
8,108
package ae.ewatheq.list.helper; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Locale; import ae.ewatheq.internal.R; import ae.ewatheq.models.eWatheqFile; import ae.ewatheq.utils...
26.410423
151
0.714233
fc7d57811c5fe4c2df93dd7851e8e63907e65996
7,627
// Copyright 2000-2018 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.openapi.vcs.impl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.open...
41.906593
156
0.667235
0f8e24a8c4567298da09625994d51c3e4e0ae82a
2,031
package org.knowm.xchange.bitstamp.service; import org.knowm.xchange.service.BaseParamsDigest; import si.mazi.rescu.RestInvocation; import javax.crypto.Mac; import javax.ws.rs.HeaderParam; import java.math.BigInteger; /** @author Benedikt Bünz */ public class BitstampDigestV2 extends BaseParamsDigest { private fi...
33.295082
109
0.730675
0a27608b3749fcc2e0a6cdff8380578513fe18f7
6,065
package es.luepg.es.worlddata; import com.google.googlejavaformat.java.FormatterException; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.mave...
36.10119
145
0.635779
cafb399d5013aacf5f4a8178beed9bd54d6f34df
2,339
package com.ost.walletsdk.ui.workflow; import android.os.Bundle; import com.ost.walletsdk.OstSdk; import com.ost.walletsdk.models.entities.OstDevice; import com.ost.walletsdk.models.entities.OstUser; import com.ost.walletsdk.ui.uicomponents.uiutils.content.ContentConfig; import com.ost.walletsdk.ui.uicomponents.uiuti...
34.910448
109
0.735785
369665f7eafdc70fbec00d09a65a3980aa28ba5d
1,404
package com.library; import java.io.File; import java.io.IOException; import java.util.concurrent.TimeUnit; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.runner.RunWith; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; impor...
28.08
85
0.768519
50a389b7c7c68faf8f622544546bee3f6a9be0af
4,048
package com.klinker.android.twitter_l.adapters; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android.database.Cursor; import android.os.Handler; import android.view.LayoutInflater; import android.view.View; import ...
30.208955
120
0.682065
d52805a0036123420c1a3289e16c025ead146eaf
2,221
package br.com.zupacademy.juliana.mercadolivre.model; import org.springframework.stereotype.Component; @Component public class Emails { public void send(Question question){ System.out.println("======================================"); System.out.println("EMAIL"); System.out.println("Subje...
47.255319
122
0.5457
08c4ba757dd0b0fd6068ca5e37068e99e4c1d3e6
1,081
package com.ez4us.shieldapp; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class PoliceGeneralActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstance...
27.717949
92
0.644773
f6eb8fca30b738dbe4fdc5f6e64cd969f8e662a6
1,704
package com.axibase.tsd.model.data.filters; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Date; import java.util.Map; @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(Js...
22.421053
69
0.671362
afae0cfa45a75e6d2f842b65254a1c743c2bc471
16,819
package reciter.engine; import lombok.Data; import lombok.extern.slf4j.Slf4j; import reciter.algorithm.cluster.Clusterer; import reciter.algorithm.cluster.model.ReCiterCluster; import reciter.api.parameters.FilterFeedbackType; import reciter.api.parameters.UseGoldStandard; import reciter.engine.analysis.ReCiterArticle...
48.469741
211
0.6652
76e37910f26985d5a4a23547d8b4b40e4d730313
1,880
/* epub2pdf, version 0.5 - Copyright 2010 Brendan C. LeFebvre This file is part of epub2pdf. epub2pdf 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 late...
27.647059
95
0.635106
6b22b0b2c82491c4fe3f7ee67a6f0728ff1ac7f9
138
package observer.demo2; /** * @author cuishifeng * @date 2018-12-08 */ public interface Observer { void notify(String state); }
11.5
30
0.666667
c53bb68e823c86433caf3a0ebbe04c547a923946
7,912
package com.esotericsoftware.SpineLatency.attachments; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.utils.NumberUtils; import com.esotericsoftwar...
34.103448
123
0.584681
ed5d4b26b5752cf9c9558f88903291701d0255ba
495
package com.practice.designPatterns.structuralType.adaptorMode.clazzAdapter; import java.io.File; /** * @Auther : guojianmin * @Date : 2019/6/27 15:42 * @Description : 我们需要的几个方法;我们只是想要监控文件夹中的文件创建和文件删除事件 */ public class FileMonitor extends FileAlterationListenerAdaptor { @Override public void onFileCreate...
22.5
76
0.707071
6c97bd28a486151b8b96bac3dc206d0a914c11d0
1,059
package ontology.sprites.missile; import java.awt.Dimension; import core.vgdl.VGDLSprite; import core.content.SpriteContent; import tools.Vector2d; /** * Created with IntelliJ IDEA. * User: Diego * Date: 21/10/13 * Time: 17:35 * This is a Java port from Tom Schaul's VGDL - https://github.com/schaul/py-vgdl */ ...
20.365385
81
0.637394
09af57d617838b5a05b2ac512637d4a52fef0a9d
5,953
package com.example.controller; import java.util.List; import java.util.Locale; import javax.validation.Valid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframewor...
35.017647
118
0.778599
9b558d1601314fbd36ea7c48872d3f569b6d0d9c
2,752
package packSpecimenHierarchy; /** * Represents a Crocodile object on the Serengeti Park. * * @version Project - Part 2 * @author Iyán Álvarez */ public class Crocodile extends Reptile implements ExtinctionDanger { // Attributes private static final String CROCODILE_FEEDING = "Big animals"; private s...
30.921348
89
0.661337
731aa289247f52dc3f59f76b80cbc82ae7554448
1,172
package edu.umass.cs.pig.dataflow; import java.io.Serializable; /** * remember the alias and type during processing of Join. * The type of a variable could be changed as upstream * processing goes. For example, A = load A using PigStorage() * as (x:int). B = load B using PigStorage() as (x:int). C= * Join A by...
20.206897
66
0.673208
673fa767edae6523a18bbceeb5c85ea62693ba21
1,711
package com.snowcattle.game.common.socket.server; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelOption; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioServerSocketChannel; im...
38.022222
82
0.677966
68ccabe5135d3851580f5da446356f63b6d7295e
342
package cn.featherfly.common.db.mapping.pojo.order; import javax.persistence.Table; import javax.persistence.Transient; /** * The type Order. * * @author zhongj */ @Table public class Order extends AbstractOrder { @Transient @Override public OrderType getType() { return OrderT...
17.1
52
0.657895
426eadcca9662b82d3f3fe136304aae9bdafba43
13,254
package sbingo.com.popupwindow; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.support.v4.content.ContextCompat; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; impo...
50.587786
134
0.662819
01a8966e0cec23aed6c5dc7b18e66122e356f050
2,181
/** * 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...
44.510204
196
0.736818
2f679bceddc846f228ddbbe9d5a1809120ac3550
1,737
package me.anchore.util.collection.impl; import me.anchore.util.Pair; import me.anchore.util.collection.Cache; import java.util.ArrayDeque; import java.util.Deque; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; /** * @author anchore * @date 2018/10/29 */ pub...
21.444444
69
0.524467
9eb09bc7726a467ff9b663dd1fba6bc014d6a2c3
202
package com.routon.smartcampus.flower; public class FlowerBean { public int id; public String avator; public String name; public String content; public String time; public String[] urls; }
12.625
38
0.742574
0ef0bf7a3ec6d903339e6b4beb301bd8f7a632f5
1,751
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.feedhandler; import com.yahoo.container.jdisc.HttpRequest; import com.yahoo.document.DocumentTypeManager; import com.yahoo.feedapi.FeedContext; import com.yahoo.feedapi.MessagePropertyProcessor; i...
31.836364
104
0.743004
6e98901c01f049b384db3bedef09e976571af090
253
package com.spring.pojo; public class ThingThree { private ThingOne thingOne; private ThingTwo thingTwo; public ThingThree(ThingOne thingOne, ThingTwo thingTwo) { this.thingOne = thingOne; this.thingTwo = thingTwo; } }
21.083333
61
0.6917
41b49f3a0f0727d7a336d4082ecc88e3b3631493
3,341
/* * (C) Copyright 2013 Java Test Automation Framework Contributors. * * 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 requ...
31.518868
89
0.66537
de5198ee16290ffead9ed84f93d7341b91b480d8
2,076
package cn.ivdone.blog.auth; import cn.ivdone.blog.entity.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.BadCredential...
35.793103
102
0.764451
f707ff34f869ae68ed6f18086b06e00e61bb0e85
4,675
package org.simpleflatmapper.jdbc.test; import org.junit.Test; import org.simpleflatmapper.jdbc.JdbcMapperBuilder; import org.simpleflatmapper.test.beans.DbBoxedPrimitiveObject; import org.simpleflatmapper.test.beans.DbFinalPrimitiveObject; import org.simpleflatmapper.test.beans.DbPrimitiveObjectWithSetter; imp...
36.24031
138
0.754011
9a163b44171b57fbd574e9d34f48a78b9240001e
1,497
package com.karthik.customemetric.custommetric.component; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.MeterRegistry; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet....
39.394737
99
0.750167
9e0dcf9c439aeb19493867824644c22016ad627d
7,178
package org.mule.extension.mule.springcloudconfig.anypoint.internal.connection; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.net.HttpHeaders; import org.mule.runtime.api.connection.ConnectionException; import org.mule.runtime.api.util.MultiMap; import org.mule.runtime.http.api.HttpCons...
45.144654
172
0.650738
264cd4aabbd4ff0263391f5bc3f4b0a2f03d5926
2,580
package br.com.financecontrol.controller; import br.com.financecontrol.dto.RecordCreditorDTO; import br.com.financecontrol.entity.RecordCreditor; import br.com.financecontrol.service.RecordCreditorService; import br.com.financecontrol.util.PageBuilder; import io.swagger.annotations.Api; import io.swagger.annotations.A...
40.952381
115
0.775581
dda7ae76cae7a321e0b0496810628761ef9814d2
8,888
/* * 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 ...
42.32381
191
0.713771
5bc0f3587acb578660b394a96a4a3416d0afc71f
835
package io.papermc.hangar.db.daoold; import io.papermc.hangar.db.modelold.RolesTable; import org.jdbi.v3.sqlobject.config.RegisterBeanMapper; import org.jdbi.v3.sqlobject.customizer.AllowUnusedBindings; import org.jdbi.v3.sqlobject.statement.SqlQuery; import org.springframework.stereotype.Repository; import java.uti...
33.4
115
0.716168
55b70b7730b0d17ac9e352a15f494f080bd1f86e
2,991
package com.distrimind.bouncycastle.crypto.test; import com.distrimind.bouncycastle.crypto.Digest; import com.distrimind.bouncycastle.crypto.digests.GOST3411Digest; import com.distrimind.bouncycastle.crypto.generators.PKCS5S1ParametersGenerator; import com.distrimind.bouncycastle.crypto.macs.HMac; import com.distrimin...
36.036145
164
0.719492
5458374f4afe2e4ee8b9fde538eff1ee23876fa0
1,766
package com.ruoyi.broad.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.base.BaseEntity; /** * 短信接收记录表 recivedmessages * * @author 张超 * @date 2019-01-11 */ public class Recivedmessages extends BaseEntity { private s...
18.395833
71
0.662514
476b988692c74e1ffa25a0d34963013bf1fb16f4
1,326
package xyz.flysium.photon.jianzhioffer.find.easy; /** * 剑指 Offer 03. 数组中重复的数字 * <p> * https://leetcode-cn.com/problems/shu-zu-zhong-zhong-fu-de-shu-zi-lcof/ * * @author zeno */ public class J0003_FindRepeatNumber { //找出数组中重复的数字。 // // //在一个长度为 n 的数组 nums 里的所有数字都在 0~n-1 的范围内。数组中某些数字是重复的,但不知道有几个数字重复了,也不知道每个数字重复了...
19.217391
80
0.572398
55cc53dfeee099fbcf5e06e7493dbfe1308e04ff
3,863
/* * Copyright 2012-2020 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in complian...
26.641379
86
0.680041
a42fa25e0d89af8b6c6ce2bf221f986fc5f8a1a6
11,069
/* * Copyright 2013 Robert von Burg <eitch@eitchnet.ch> * * 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...
35.59164
106
0.751829
bc925d7aeccf8bc1465eafe972689b70cb17c38b
505
package com.leone.pay.common.enums.type; /** * <p> * * @author leone * @since 2019-04-23 **/ public enum WxPayType { CREATE(0, "APP"), PAY(1, "NATIVE"), DELIVER(2, "JS_API"); private int status; private String payType; WxPayType(int status, String payType) { this.status = status; ...
14.428571
61
0.566337
079dcdf65f1f0522c9207c8ab3de3521dde2bde1
3,924
package com.carpool.entity; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 微信用户反馈 * * @author bjsonghongxu * @create 2017-09-22 17:32 **/ @Table(name = "carpool_feedback") public class Feedback implements Serializable { @Id @GeneratedValue(st...
21.326087
93
0.619776
6f10864b08f680752ed29c22aa82e505ca3f9329
1,375
package com.inz.slide_table; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.inz.slide_table.bean.SlideTableBean; import java.util.ArrayList; import java.util.List; /** * @author Zhenglj * @version 1.0.0 * Create by inz in 2020/11/03 13:49. */ public class BaseSlideTableBean ...
24.122807
62
0.597818
7232a7a7dddf48e270ffe797981812b2ee9f592e
275
/* @Author: Kethan Kumar */ package org.leaguemodel.interfaces; public interface IInjurySystem { void checkTeamInjuries(ITeam team, IInjuries injuries); boolean isPlayerInjured(IInjuries injuries, IPlayers players); void isPlayerRecovered(IPlayers players); }
25
66
0.774545
0e4dc0fcbacdfa8574de928d465cee9adc2d9e17
526
package io.zrz.zulu.values; import io.zrz.zulu.types.ZPrimitiveScalarType; import io.zrz.zulu.types.ZScalarType; public class ZIntValue implements ZScalarValue { private long value; public ZIntValue(long value) { this.value = value; } @Override public ZScalarType valueType() { return ZPrimitiveSc...
15.939394
48
0.692015
62cbdf5952f04b74e7f2129da4ea395e07a8c61b
471
package leetCode; import java.util.Arrays; public class LeetCode512 { public int change(int amount, int[] coins) { int[][] dp = new int[amount + 1][coins.length + 1]; Arrays.fill(dp[0], 1); for (int a = 1; a <= amount; a++) { for (int i = 1; i <= coins.length; i++) { dp[a][i] = dp[a][i - ...
22.428571
55
0.4862
bc7b093cfdc2b1e9e25fcfa2cace8ebe214613c9
4,351
package net.sf.jabref.gui.fieldeditors; import java.awt.Color; import java.awt.Dimension; import java.lang.reflect.InvocationTargetException; import javax.swing.JComponent; import javax.swing.JLabel; import javax.swing.JScrollPane; import javax.swing.ScrollPaneConstants; import javax.swing.SwingUtilities; import net...
25.89881
92
0.681682
4412d78e72368fb3351d0b6d5068b24aa5bd45cf
2,372
/* * Copyright (c) 2015 EMC Corporation * All Rights Reserved */ package com.emc.storageos.db.client.model; /** * This is the Cassandra logging form of a Workflow. * Workflows contain WorkflowSteps. * * @author Watson */ @Cf("Workflow") public class Workflow extends DataObject { /** The orchestration cont...
26.651685
80
0.675801
a3aee1975d46bbfb4c530596dd37e2875944de5c
7,641
package ru.stqa.course.addressbook.appmanager; import com.sun.xml.internal.bind.v2.TODO; 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.stqa.course.addressbook.model.ContactDat...
38.590909
130
0.675435
22793eae648a2d27e4ff9d277a1a5f27332a14f3
5,547
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
30.646409
95
0.729403
35a077034fa1f2bd9b373b287efabe12abdfc660
1,334
package de.nulide.findmydevice.ui.helper; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import de.nulide.findmydevice.R; import de.nulide.findmydevice.data.Contact; import ...
26.68
71
0.708396
2860427a04d2e8792fcfb88fda9e2446450c74cc
607
// This is a generated file. Not intended for manual editing. package org.intellij.erlang.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface ErlangTypedExpr extends ErlangNamedElement { @Nullable ErlangExpression getExpression(); @NotNull Erl...
17.852941
61
0.752883
985150e188db7eee6422c30098f7fe313ebff4e1
806
package com.eu.habbo.threading.runnables; import com.eu.habbo.habbohotel.rooms.Room; import com.eu.habbo.habbohotel.rooms.RoomUnit; import com.eu.habbo.messages.outgoing.rooms.users.RoomUserHandItemComposer; public class RoomUnitGiveHanditem implements Runnable { private final RoomUnit roomUnit; private final...
26.866667
90
0.682382
353a5ec31bfe5ef146fdafa3e01eb751c8f53ad5
634
package com.gabrielpedrico.proposta.proposta.repositories; import com.gabrielpedrico.proposta.proposta.enums.StatusProposta; import com.gabrielpedrico.proposta.proposta.models.Proposta; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.Lis...
33.368421
78
0.840694
b183194b1506468c9a05725c4da1a83457c459c7
8,257
/* * 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 not u...
47.182857
116
0.718784
084f0fc9c877c18f6dbfa63729ed1f0bf693f986
4,101
/* * Copyright (c) 2007 Peter Veentjer * * This program is made available under the terms of the MIT License. */ package org.codehaus.prometheus.util; import junit.framework.TestCase; public class StandardThreadFactory_ConstructorTest extends TestCase { public void testNoArg() { StandardThreadFactory...
36.616071
100
0.654231
f5da9a177a07ab37a68f658338c5ff3d31a81eab
2,544
package jtrek.message; import jtrek.Copyright; import jtrek.comm.*; import jtrek.data.*; import jtrek.visual.*; public class SendMessage { NetrekFrame view; Universe data; Communications comm; String last_message = ""; /** Constructor */ public SendMessage(NetrekFrame view, Universe data, Communications comm)...
20.352
84
0.612421
4c8c7fa7194eae2e328fe1c120157bef68a191e3
788
package draw; /** * XXXXX * X * X * X * XXXXX */ public class Rectangle05 { public static void main(String[] args) { drawRectangle(5, 5); } private static void drawRectangle(int height, int width) { System.out.println("==============================="); for (int i = 0;...
21.297297
62
0.369289
3ac3180a9e618c53cfe19b92c6b9f095067bd4bc
3,343
package edu.fiuba.algo3.Vista; import edu.fiuba.algo3.modelo.*; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.ChoiceBox; import javafx.scene.layout.VBox; import javafx.stage.Modality; import javafx.stage.Stage; impo...
33.43
90
0.587496
1c4dcf61d1930c6c332cbdef2c041606922f2355
12,707
package store.jesframework.provider; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.NoSuchElementException; import java.util.Objects; import java.util.Set; import java.util.UUID; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; i...
41.390879
120
0.665539