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
85ce2923c653b1ae0bc0b0806d9cf1474afa3c34
2,405
package com.myshop.eventstore.infra; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.myshop.eventstore.api.EventEntry; import com.myshop.eventstore.api.EventStore; import com.myshop.eventstore.api.PayloadConvertException; import org.springframew...
36.439394
81
0.577963
df21bd6f9ce66a4b110f3652f5497fd1399c52a4
949
package com.example.zhoul_pc.mytestapp.Bean; import java.io.Serializable; /** * Created by Administrator on 2017/2/8. */ public class JavItemEntity implements Serializable { private String url; private String img; private String title; private String code; private String time; public Strin...
16.946429
52
0.58588
1052086011504d2dfb8f6086ae50d65c78787c83
521
package com.github.ylfjm.config.web; import lombok.Getter; import lombok.Setter; /** * 描述:全局统一返回数据格式 * * @author YLFJM * @Date 2020/10/21 */ @Getter @Setter public class WebMvcResult<T> { private int code; private String message; private T data; public WebMvcResult() { } public WebMvcR...
15.787879
59
0.616123
4e03211a86fe80e676fbb084a0eab76c0260af71
19,659
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, ...
41.916844
128
0.656086
80a01ea7e2ba75faa497621cc5de3f0abe878b65
232
package guru.springframework.petclinic.repositories; import guru.springframework.petclinic.model.Pet; import org.springframework.data.repository.CrudRepository; public interface PetRepository extends CrudRepository<Pet, Long> { }
29
66
0.849138
1189e1a97b0b3ffe2bdf8e3129fa9c358d3acd5a
464
package cn.ishenran.vm.fuji.vmsetup; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class SettingActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
27.294118
56
0.741379
b8757a1cf6871f8a55d375ac01d3198316911f76
2,704
package commoble.tubesreloaded.blocks.tube.redstone_tube; import commoble.tubesreloaded.blocks.tube.TubeBlock; import commoble.tubesreloaded.registry.TileEntityRegistrar; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.state.BooleanProperty; import net.minecraft.state.Stat...
31.44186
105
0.758136
c2c288d7c6fe257ac238a9df10a0d11525fd7a2a
18,625
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.compute; import com.azure.core.annotation.ServiceClient; import com.azure.core.http.HttpPipeline; import com.azure.core.manageme...
37.855691
119
0.744966
f823fee95f644d91afa48cfb5a07bc4aba47d6d8
2,319
/** * Copyright 2006-2016 the original author or authors. * * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by ...
33.128571
99
0.695558
2385db56b4a5844311f2ef4322bd8fc9125e2cb0
2,185
package rfx.core.stream.functor.common; import java.util.concurrent.atomic.AtomicInteger; import rfx.core.stream.functor.BaseFunctor; import rfx.core.stream.model.DataFlowInfo; import rfx.core.stream.topology.BaseTopology; /** * the base class for data source functor, that listen and emitting data to all processing...
26.325301
98
0.777574
19e9de8b0ead0926bf941ffc6ac8dbbc483a391d
1,524
package com.hadoop.study.reactor; import com.hadoop.study.reactor.domain.User; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; /** * Learn how to transform values. * * @author Sebastien Deleuze */ public class Part04Transform { //===========================================================...
33.866667
116
0.555118
34588edeb932e9b298d1ff5cefc0bac9ee713a49
7,446
package mb.pie.task.java; import mb.common.message.KeyedMessages; import mb.common.message.KeyedMessagesBuilder; import mb.common.message.Severity; import mb.common.result.Result; import mb.common.util.ListView; import mb.pie.api.ExecContext; import mb.pie.api.Supplier; import mb.pie.api.TaskDef; import mb.pie.task.ja...
38.184615
145
0.668815
be0322123899c59a8a968564e2b88671cc7c1d8c
4,223
/* Tencent is pleased to support the open source community by making Hippy available. * Copyright (C) 2018 THL A29 Limited, a Tencent company. 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...
35.191667
100
0.71229
5058d5463c9f396da5528a10a0e5513a61b15691
2,009
public class Carona { // variáveis de instância - substitua o exemplo abaixo pelo seu próprio private String nomeUniversidade; private String cidadePartida; private int lugaresDisponiveisIda; private int lugaresDisponiveisVolta; public Carona(String universidade, String cidade, int passageirosIda, int passageirosVolt...
24.204819
108
0.800398
b3de1155f6bbd631daf4be5c61a10cd4398c1071
1,786
package com.daimler.sechub.domain.scan; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; /** * This class builds descriptions suitable for HTML output * * @author Albert Tregnaghi * */ public class HtmlCodeScanDescriptionSupport { public boolean isCodeS...
25.884058
98
0.737402
f7ad1069d33e1813dfe79f67015a1e151a707c25
1,177
/*** Copyright (c) 2016 CommonsWare, 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 by applicable law or agreed to in writing, so...
32.694444
78
0.762957
8f62c81d6e598f6d9315241b1ad66306c56f26f3
5,589
package com.carepet.server; import com.carepet.model.*; import com.datastax.oss.driver.api.core.CqlSession; import com.datastax.oss.driver.api.core.cql.ResultSet; import io.micronaut.http.HttpStatus; import io.micronaut.http.MediaType; import io.micronaut.http.annotation.Controller; import io.micronaut.http.annotation...
34.5
124
0.611022
360da7eccee3e178f702f0f94407c3177a904443
5,614
package io.openslice.tmf.ri639.model; import java.util.HashSet; import java.util.Objects; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.validation.Valid; import javax.validation.constraints.NotNull; import org.springframe...
27.655172
151
0.733523
98a7e1e3ff321cb0ae434121215bdd6ab5724179
1,801
package course.examples.basiccolorpalette; import android.app.Activity; import android.app.ListFragment; import android.os.Bundle; public class DisplayColorActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setConten...
29.52459
82
0.627429
52a1a99a7c0d3156a6d07eec42cd0ba1080d6040
2,222
// Copyright 2013 Daniel de Kok // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
30.438356
91
0.705221
64b9f61addb08dda3f85ef5da6d12525588093f0
1,176
import org.junit.Test; import ru.spoddubnyak.searchTextInFile.multi.ParallelSearchManyThreads; import java.util.ArrayList; import java.util.List; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Class ParallelSearchManyThreadsTest for testing class ParallelSearchManyThreads se...
29.4
136
0.677721
645b85be51c04779150bb26f59be8883492adc4e
1,638
/******************************************************************************* * Copyright (c) quickfixengine.org All rights reserved. * * This file is part of the QuickFIX FIX Engine * * This file may be distributed under the terms of the quickfixengine.org * license as defined by quickfixengine.org and ...
25.59375
80
0.551893
ccb23e8bb002954ed7a8c6a31ba1ab8ab320a392
1,736
/* * Copyright (c) 2015, Alachisoft. 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 ...
21.974684
74
0.631336
c4ca85dbb8ab19a171564ec0f857d6a21216e544
1,287
package co.com.sofka.demo_ddd.venta.values; import co.com.sofka.domain.generic.ValueObject; import java.io.Serializable; import java.util.Objects; public class InfoFabricante implements ValueObject<InfoFabricante.Properties> { private final String nombre; private final String tiempoGarantia; public Info...
29.25
113
0.644134
08a989d001734e08fc5d46639b467e508928e5c7
6,198
/*********************************************************************************************************************** * Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi...
38.259259
204
0.721039
fa5529e0bbdadcdd7f80f1c29b8a2993f469a543
1,967
package com.qatix.base.hibernate; import org.hibernate.Session; import org.hibernate.Transaction; import java.util.Date; /** * P6Spy is a framework that enables us to log all sql statements and parameters for java application. * <p> * By using P6Spy with Hibernate, you can log current execution time, total elapse...
35.125
151
0.610066
731040abe1ae9ac3d47f59cc85faa226532e41f8
4,100
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.game.engine.i18n; import java.util.Locale; import java.util.MissingResourceException; import java.util.ResourceBundle; import java.util.logging.Logger; import net.sf.mmm....
26.623377
100
0.611707
a8afc81bee3ae98ee32ce65ebf888295dcfc182e
1,094
package es.dracon.bukkit.solarfurnace; import org.bukkit.permissions.Permission; import org.bukkit.permissions.PermissionDefault; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.PluginManager; import org.bukkit.Server; import java.io.IOException; import org.mcstats.MetricsLite; import lombok.Get...
24.863636
146
0.758684
bfd95842b18ecd26befb8272a5a73dc27f7e5530
1,568
package pt.com.broker.messaging; import org.apache.mina.core.session.IoSession; import org.caudexorigo.text.StringUtils; public class BrokerConsumer { private static BrokerConsumer instance = new BrokerConsumer(); public static BrokerConsumer getInstance() { return instance; } private BrokerCon...
22.4
82
0.695153
222aa487c2146f445d03f57e40cdebcb8f6b1fd1
262
package com.gerritforge.logback.nats; import java.util.Optional; public class NatsClientFactoryImpl implements NatsClientFactory { @Override public Optional<NatsClient> create(String url) { return Optional.of(new NatsClientImpl(url)); } }
21.833333
65
0.748092
cb37e6a3cef3b708fff43ad271f9620b7c93de48
916
// Author: Muaaz Khan, Markus Delgado // Description: Server class that listens for client connections and passes pairs to a game handler package edu.sdccd.cisc191.a; import java.net.*; import java.util.*; public class Server { public static void main(String[] args) { System.out.println("Enter 'exit' to shut dow...
45.8
157
0.691048
77f3d612978712a4e345e6a08f8e9dfe7ae0af1c
3,311
/* * Copyright (C) 2016 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...
38.5
100
0.665962
95d4e082ab0000f9bfc59993cafd1dc23bd56b2a
585
package com.duke.microservice.blog.domain.basic; public class BlogArticleTypeR { private String id; private String articleId; private String typeId; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getArticleId() { ...
17.727273
48
0.611966
bc60c3e54b55009984d08532b55f0b6ff5a1272b
453
package com.app.util; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.serializer.SerializerFeature; import com.app.interceptor.FastjsonFilter; public class JsonUtil { public static String writeJson(Object object) { FastjsonFilter filter = new FastjsonFilter(); String json = JSON.toJSONString(obje...
26.647059
57
0.799117
db36e88d6496153ae0b340d1668b9138bc0fa99e
1,330
package com.example.imageflow.model; class DataModelLinks { // Initially thought about using Gson // @SerializedName("self") // private String selfUrl; // // @SerializedName("html") // private String htmlUrl; // // @SerializedName("photos") // private String photosUrl; // // @SerializedName(...
19.275362
94
0.628571
5de7ec560b17e5df40e347bb63e3164398f22dd2
4,876
package com.ctrip.zeus.restful.message; import org.glassfish.hk2.api.Factory; import org.glassfish.hk2.api.ServiceLocator; import org.glassfish.jersey.server.internal.inject.AbstractContainerRequestValueFactory; import org.glassfish.jersey.server.internal.inject.AbstractValueFactoryProvider; import org.glassfish.jerse...
39.967213
160
0.664479
08637c652a844714bda1eaf729b152c7270c4066
9,671
package org.apache.cassandra.streaming; /* * 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, ...
46.946602
130
0.68783
f6139e711ff3a57e7a241cb72f6f038191f3791b
10,776
/* * Copyright (c) 2013 ICM Uniwersytet Warszawski All rights reserved. * See LICENCE.txt file for licensing information. */ package pl.edu.icm.unity.engine.registration; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.Deque; import java...
37.416667
111
0.761229
59409732c3b26414c36135ad6b5a2fb11c694aa6
625
package com.bukhmastov.teacheritmo; import com.bukhmastov.teacheritmo.config.AppConfig; import com.bukhmastov.teacheritmo.event.ConfigReloadedEvent; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.event.EventListener; import org.springframework.scheduling.concurrent.T...
28.409091
73
0.8048
d132083f2ae7a6cbed4b78e4556f01e352d8cf4f
1,503
package cn.faury.fwmf.module.api.system.bean; import cn.faury.fdk.common.utils.JsonUtil; import java.io.Serializable; /** * 业务系统对象Bean */ public class SystemInfoBean implements Serializable { /** * 业务系统ID */ private Long systemId = null; /** * 业务系统名称 */ private String systemName = null; /** * 业务...
13.663636
53
0.644045
eeed337c4a98a2ce4facc18ed3bf9286496b96f2
1,319
package com.wave.blog.notify; import com.wave.notify.DefaultPublisher; import com.wave.notify.EventPublisher; import com.wave.notify.Subscriber; import com.wave.notify.event.Event; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * 帖子通知中心 */ public class BlogNotifyCenter { /** ...
28.673913
98
0.671721
0fa48e56cbe1b1c47cdcfe9d35201eaa353d7714
6,412
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07....
32.882051
159
0.595758
1b49d6c67d04b994c24e9e3b363942f03ca47ea8
1,774
package com.stirante.ainite; import java.util.regex.Pattern; /** * Created by stirante */ public class Constants { /** * All names have to be lower or upper case english alphabet letters, numbers or spaces */ public static class Patterns { /** * input("name", "type") * G...
34.784314
116
0.5
083da859109174e75d153e14743af1667e593712
319
package com.sourceone.nemo.nemo; /** * Created by SourceOne on 12.09.2016. */ public class Settings { public static final int MAX_TRACKS = 16; public class Default { public static final double BPM = 120; public static final int STEPS = 4; public static final int BEATS = 16; } }
21.266667
45
0.645768
349cc8f7d02f981e924c81aa614a5be2639fd3c8
1,435
package com.sccbv.webapp.demo; import com.sccbv.demo.Book; import com.sccbv.demo.BookService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Requ...
26.090909
69
0.709408
40784bac368e0968cec6818025f37372b0bd17ed
845
package ru.job4j.tree; import java.util.Optional; /** * SimpleTree - interface setting behavior of simple tree. * @author Alexander Kordyukov (alex-programm@yandex.ru) * @version $Id$ * @since 0.1 */ public interface SimpleTree<E extends Comparable<E>> extends Iterable<E> { /** * The method adds child i...
30.178571
89
0.643787
285ab286a34387be0303323c1bc3c3b760d08175
815
package com.imarcats.interfaces.client.v100.dto.types; /** * Defines a Name, String Value pair * @author Adam */ public class StringPropertyDto implements PropertyDto { /** * Name of the Property * Required */ // @Column(name="NAME", nullable=false, length=DataLengths.MARKET_OBJECT_PROPERTY_N...
18.522727
95
0.662577
90af0a9e3bc777fcfb1cdf7a6793057e81329fba
1,557
/* * This file was automatically generated by EvoSuite * Wed Aug 01 17:37:02 GMT 2018 */ package org.mozilla.javascript.ast; import org.junit.Test; import static org.junit.Assert.*; import org.evosuite.runtime.EvoRunner; import org.evosuite.runtime.EvoRunnerParameters; import org.junit.runner.RunWith; import org.m...
36.209302
176
0.737958
ebc454335c40ffa667f3c1b0101acd078cfca5fd
4,416
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package magic.pkgfor.english.support; import java.util.ArrayList; import java.util.Set; import magic.pkgfor.english.support.Grammar.Rule; import magic.pkgfor.english.support.Grammar.Rule.NonTerminal; import ma...
35.902439
125
0.507473
db76d27fea23788105e58bf81bb3107f5178b2c2
2,588
package util.math.geometry; import java.util.function.Function; import static java.lang.Math.acos; import static java.lang.Math.atan2; import static java.lang.Math.cos; import static java.lang.Math.hypot; import static java.lang.Math.sin; /** * An enum containing common 3D coordinate systems. * <p> * Creation Dat...
37.507246
166
0.543663
d2f17c023b44835ea9b9cfed5a09e75ff60099cd
2,677
package com.epam.ta.reportportal.core.analyzer.auto.indexer; import com.epam.ta.reportportal.core.analyzer.auto.client.IndexerServiceClient; import com.epam.ta.reportportal.core.analyzer.auto.impl.LaunchPreparerService; import com.epam.ta.reportportal.dao.LaunchRepository; import com.epam.ta.reportportal.jooq.enums.JL...
37.704225
143
0.793799
55ad58cf9941ea7f9752dd6edcb3e63d945f7da0
46
package Environment; public class Place { }
7.666667
20
0.73913
044dda270ce2149abf84858a5bd432f0e1b51e7b
1,578
package com.nsit.hack.energy.geoFencing; import com.google.android.gms.maps.model.LatLng; import com.nsit.hack.energy.utils.SharedPrefs; import java.util.HashMap; public final class Constants { private Constants() { } public static final String PACKAGE_NAME = "com.nsit.hack.energy"; public static ...
34.304348
99
0.703422
8c1669f55b91435f9aaf61376d9890a6b93fef36
4,912
package com.lnwazg.framework; import java.io.IOException; import java.util.Map; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.sql.DataSource; i...
36.932331
137
0.617467
2aef8d6c4551393ddc23131455f720df3b0aebe7
1,359
package org.funtime.services; import org.funtime.data.LatLngValueMap; import org.funtime.data.TimedLatLngValueMap; import org.springframework.stereotype.Service; /** * Created by uv on 08/12/2015 for awstest */ @Service public class SimpleAccelerometerPersistenceServiceImpl implements AccelerometerPersist...
27.18
100
0.656365
12974f91eaeae26d6cbf78551d6507348a9feca7
10,032
package org.revenj.server.servlet; import com.dslplatform.json.XmlConverter; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.module.SimpleMod...
42.871795
146
0.70933
e1d037f15c33a0c100e73d53a8e95bc6930343a5
6,299
package kr.pe.courage.tech.cop.bbs.service; import kr.pe.courage.common.annotation.KeepCondition; import kr.pe.courage.common.core.CommonDefaultVO; /** * <pre> * kr.pe.courage.tech.cop.bbs.service * BoardMasterVO.java * </pre> * * @Author : ChangHo Seok * @Date : 2016. 5. 20. * @Version : 1.0 * @see * * ...
20.584967
68
0.760438
b696d5a6b2363cd30a700459ddc45c98ce2a8861
1,518
package com.github.swapbook.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.*; @JsonIgnoreProperties(ignoreUnknown = true) @Entity @Table(name = "books", schema="swapbook") public class Book { @Id @PrimaryKeyJoinColumn @Column private int id; @Colum...
19.714286
77
0.604743
d99be4031f93001dc63c4812d519b831d96cb7b5
506
import analog.ProceedingPrototype; public class C3063467A2 { public static synchronized void main(String[] align) { if (align.length < 1) { System.out.println("Error: No input file provided. Please run again with a input param."); } else { java.lang.String information = ""; for (java.lang...
26.631579
96
0.660079
f4d8ef6a6c165e75a4804e69c82d6ded56aa4291
110
package ioc; /** * 初始化 * * @author xwz */ public interface Initializable { public void initialize(); }
10
32
0.636364
61ef213a6d8187df2d93aa3b5cc68656316f1950
5,234
/* * 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 ...
46.318584
121
0.755827
9f1a3d1b2af8a3770ecca12841d0c0e23df5910f
158
package org.phpnet.openDrivinCloudAndroid.Common; /** * Created by germaine on 24/07/15. */ public enum TypeFile { TXT, PDF, IMG, DIR, AUDIO, NOTYPE }
17.555556
49
0.696203
255ac693ce3b1ce45795a8f9d492b19396793ec1
537
package org.hfeng.leet.lengthoflastword; public class Solution { public int lengthOfLastWord(String s) { if (s.length() == 0) { return 0; } StringBuilder sb = new StringBuilder(); int len = s.length() - 1; while (len >= 0 && s.charAt(len) == ' ') { l...
23.347826
50
0.426443
6360f6ec51a4d8a968ff32bfbac16583cf7993e5
991
package my.company.web.pages; import my.company.web.elements.SearchArrow; import my.company.web.elements.SearchResults; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; import ru.yandex.qatools.htmlelements.loader.decorator.HtmlElementDeco...
26.078947
76
0.723512
8be762da5b609c6c8012223f1793ca8bf27a7dd9
220
package com.javaweb.web.dao.ds1; import org.apache.ibatis.annotations.Mapper; import com.javaweb.db.mybatis.api.DaoWapper; import com.javaweb.web.po.File; @Mapper public interface FileDao extends DaoWapper<File> { }
20
50
0.790909
4e88d324dc071a21667e9eb16f69437f7b9b8a19
2,313
package ual.dra.artifact19; import java.io.Serializable; import java.util.List; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence....
19.436975
83
0.705577
3d8cf2b449a6552fa459b35239a39ef95093a18a
1,828
package com.cts.corda.etf.listener; import com.cts.corda.etf.cordainteface.FlowInvokerService; import com.cts.corda.etf.services.SwiftMessageProcessor; import com.cts.corda.etf.util.SecurityOrder; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframewor...
33.851852
110
0.749453
377e3decc4d6b850dabdd1e9ce20894904c8e07b
3,615
/* * Copyright (c) 2015 [1076559197@qq.com | tchen0707@gmail.com] * * Licensed under the Apache License, Version 2.0 (the "License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
29.390244
112
0.717012
f6575e5ee01994b0778aeb5ffc5d08818afef9de
3,279
import java.io.FileWriter; import java.io.IOException; import java.sql.SQLException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Random; import org.apache.lucene.queryparser.classic.ParseException; public class GenerateComperisonFile { static ArrayList<Inte...
36.842697
164
0.634645
931ad8c6197cdcc307ea96bd385096df2fc4878b
9,130
/* * ============LICENSE_START======================================================= * Cert Service * ================================================================================ * Copyright (C) 2020-2021 Nokia. All rights reserved. * ===========================================================================...
59.673203
144
0.699452
aac0e0b636f7404cfb22fead32b8226d03826787
938
package com.mans.sbugram.models; import com.mans.sbugram.models.interfaces.JSONRepresentable; import org.json.JSONObject; import java.util.Objects; public class UploadedFile implements JSONRepresentable { public final String name; public final String blob; public UploadedFile(String name, String blob) ...
22.878049
66
0.628998
de85fb54ff94766ffd875397e0068f2101067eaf
840
package org.transfer.broadcaster.console.io; /** * Input interface */ public interface Input { /** * Returns argument * * @param name argument name * @return argument value */ String getArgument(String name); /** * Checks if argument exists * * @param name argu...
17.87234
44
0.569048
3fec1a9bb178e23620362e26a4fc37257d41e4e2
8,868
package giroresh.mediacenterclient; import android.annotation.TargetApi; import android.app.Activity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.Toast; import ...
44.562814
146
0.594835
b6be817d7efe710cd2427f025e825862e27af5b5
7,108
package com.revolsys.geometry.operation; import com.revolsys.geometry.model.BoundingBox; import com.revolsys.geometry.model.Geometry; import com.revolsys.geometry.model.GeometryFactory; import com.revolsys.geometry.model.LineString; import com.revolsys.geometry.model.editor.LineStringEditor; import com.revolsys.geomet...
32.162896
94
0.675155
605293676e87fbb966432658d839fb5c4bd06ecc
2,543
package com.timepath.web.api.base; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.io.*; import java.math.BigInteger; import java.security.MessageDigest; import java.util.Date; import java.util.logging.Level; import java.util.logging.Logger; /** * @author TimePath *...
29.569767
87
0.563901
98481266a8e8c262bfd30d7df401e7621fa68747
2,043
package nl.rutgerkok.topographica.config; import java.io.File; import java.nio.file.Path; import java.util.Objects; import org.bukkit.configuration.ConfigurationSection; import nl.rutgerkok.topographica.util.StartupLog; import nl.rutgerkok.topographica.webserver.WebPaths; public final class WebConfig { private...
27.24
83
0.642193
9785323e4ae24ab18e5250a96f3ee8adc5099ec2
1,781
package uk.nhs.adaptors.gp2gp.ehr; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import uk.nhs.adaptors.gp2gp.common.service.RandomIdGeneratorService; im...
41.418605
91
0.747894
c37976af152bef4bcf71587ae9db0bb077cdf667
2,661
package com.bupt.hwsystem.model; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import java.io.Serializable; import java.util.Date; import java.util.Objects; @Entity public class Student implements Serializable { private String stude...
23.548673
97
0.623074
e1ecefe089c0b79c051dd4dcf5bef433b7cba150
1,292
package com.lassekoskela.maven.bean; import java.util.Set; import com.google.common.base.Objects; import com.google.common.base.Objects.ToStringHelper; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.FluentIterable; public class Project extends MavenI...
21.180328
58
0.713622
53145eb413e672c39896eb24cf14cabb7ab41b72
8,702
/* * Copyright by Zoltán Cseresnyés, Ruman Gerst * * Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Kn...
39.022422
188
0.661572
c711171cba4ac1fa286c959cde2db367caa5a03d
7,336
/* Copyright 2017 Abhijit Kiran Valluri 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 t...
41.213483
158
0.698064
9978a886f133576ecd74ebd2ad8eee58a07662a0
400
package com.piotrblachnio.reddit.exceptions; import com.piotrblachnio.reddit.constants.Exception; import lombok.Data; import org.springframework.http.HttpStatus; @Data public class ExpiredTokenException extends BaseException { private String message = "Provided token is expired"; private Integer id = Exceptio...
30.769231
60
0.81
31886e7b3e0c2508bdb38c7cafb4fa5b39cefc56
3,290
/* * Copyright 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 applica...
32.574257
117
0.723404
5584a1166682df91457c0bcd2f9d6f6e0f2dc190
3,611
/* * 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...
64.482143
144
0.81584
b1dcf9d48f35d6b4bac2699155aa04f37005616a
384
package com.network.android.monitor.observer; import com.network.android.monitor.a.b; import com.network.android.monitor.a.d; import com.network.e.a.a; import java.util.LinkedHashMap; public abstract class r extends d implements b { public LinkedHashMap c = new LinkedHashMap(); public Integer d = -1; pub...
22.588235
49
0.71875
43b70b35778247f5cc373039600fc4ffbf792654
52,581
/* * 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 ...
44.711735
121
0.663034
df1a8032cc53cca1a303f3aa4bf46449ac8e6fb6
6,289
package io.g2tech.jfc; import java.io.IOException; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Optional; import javax.script.AbstractScriptEngine; import javax.script.Bindings; import javax.script.Compilable; ...
33.994595
109
0.720941
4ab0e8a23648bb7fa7fdb39d9bdd9f5f0a9eb06e
83
package com.github.jolice.bot; public interface Sticker { Integer getId(); }
11.857143
30
0.710843
3c188b94f5d1ce13d1cc0d7cfd89746474b65956
762
package model; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ImageIcon; import javax.swing.JButton; public class XOButton extends JButton implements ActionListener { private static final long serialVersionUID = 1L; private ImageIcon X, O; // 0 = nada; 1 = x; 2 = ...
17.318182
65
0.661417
748200f2eb6ddef6f9a55353d9f59136ed5e3b39
6,045
/** * 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.78125
171
0.667659
dfdac9807972b869addde5a6a051a7378af1b7ea
1,935
package org.owasp.pangloss.domain.item; import javax.annotation.Nonnull; import java.math.BigDecimal; import java.util.Objects; import static java.util.Objects.requireNonNull; import static org.apache.commons.lang3.Validate.isTrue; import static org.apache.commons.lang3.Validate.notBlank; public final class Item { ...
28.043478
99
0.635659
7d788d414c7f05840a2a107ef40a23acc76f0f7c
3,318
package ru.illine.weather.geomagnetic.dao.access.impl; import ru.illine.weather.geomagnetic.dao.access.ForecastAccessService; import ru.illine.weather.geomagnetic.dao.repository.ForecastRepository; import ru.illine.weather.geomagnetic.mapper.impl.ForecastDtoMapper; import ru.illine.weather.geomagnetic.model.base.TimeI...
45.452055
146
0.762809
ceb612e05d5911429cdebdf9e1296965616dd1a1
2,258
/* * Copyright 1999-2015 ami.com. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
29.710526
102
0.644818
3b3634b2d5546c876a29b5e8a17ac3b65e25a6c5
2,587
package org.hpccsystems.saltui.concept.table; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.resource.ImageRegistry; import org.eclipse.jface.viewers.ITableColorProvider; import org.eclipse.jface.viewers.ITableFontProvider; import org.eclipse.jface.viewers.ITableLabelProvider; import org.e...
32.3375
131
0.766525
1bf621e12fd0e6a59bbf049acfc1bc2757a3d5dd
2,500
/* * Copyright 2014 Andrew Romanenco * www.romanenco.com * andrew@romanenco.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 *...
29.411765
83
0.7028
5d375faea771315c4f3e8c695717e9cd5fba0b63
807
package org.menacheri.jetserver; import java.util.HashMap; import java.util.Map; import org.menacheri.jetserver.app.GameRoom; import org.menacheri.jetserver.service.LookupService; import org.menacheri.jetserver.service.impl.SimpleLookupService; import org.springframework.context.annotation.Bean; import org.s...
32.28
76
0.801735
7955193f677cc33dd8586560f3ef7156e45511c2
3,194
package Method.Client.module.movement; import Method.Client.Main; import Method.Client.managers.Setting; import Method.Client.module.Category; import Method.Client.module.Module; import Method.Client.utils.Patcher.Events.PlayerMoveEvent; import net.minecraft.block.Block; import net.minecraft.client.settings.KeyBinding...
49.138462
679
0.681277
d6334a383f48122389a8419541aada3d0b45046c
9,803
/******************************************************************************* * Copyright (c) 2013, 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
32.785953
208
0.634092
e5d695cb6086cb0e8f46919e9e96343320ccce1f
3,577
package mapreduce1; import java.io.IOException; import java.util.Iterator; import java.util.StringTokenizer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.MapWritable...
33.12037
144
0.696114
a5e89b1941c2252dfb0fbaa95291eb62c9097e9d
1,447
package cl.cc.zcsclient.mail; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for enableSharedReminderRequest complex type. * * <p> * The following schem...
24.116667
80
0.665515