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
6a9a7747e003fc8b18e11a6fd5d71ffd3eceef03
2,297
package sol_engine.network.network_utils; import java.io.IOException; import java.net.ServerSocket; import java.net.URI; import java.net.URISyntaxException; import java.util.*; import java.util.regex.Pattern; import java.util.stream.Collectors; public class NetworkUtils { public static String uuid() { re...
31.902778
104
0.538093
89fc66f2300162d1339b0fa98cc21707504fa501
1,081
package domain; public class Book { private String id; private String name; private String author; private double price; private String description; public Book() { super(); // TODO Auto-generated constructor stub } public Book(String id, String name, String author, double price, Strin...
18.964912
88
0.652174
40b3828e7136da993f0834212575383281b0d5e7
8,707
/* * This software is distributed under following license based on modified BSD * style license. * ---------------------------------------------------------------------- * * Copyright 2003 The Nimbus Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
36.128631
98
0.677731
d986f04fcd17ae67f7bce34374f85105eaa4fe4f
875
package lab2.server; import java.net.InetAddress; //describes client or server //with ip & port public class Host { private InetAddress address; private int port; public Host(InetAddress address, int port){ this.address=address; this.port=port; } public InetAddress getAddress() {...
19.886364
52
0.577143
d8b45339fe48939e4b450e8fbd931988d88002af
4,538
package cn.zhengcaiyun.idata.datasource.dal.dao; import java.sql.JDBCType; import java.util.Date; import javax.annotation.Generated; import org.mybatis.dynamic.sql.SqlColumn; import org.mybatis.dynamic.sql.SqlTable; public final class DataSourceFileDynamicSqlSupport { @Generated(value="org.mybatis.generator.api.M...
38.457627
126
0.709564
f28bdccade1f36e92ffcae9059b4cc0ad79d1804
1,770
/* * JDBReport Generator * * Copyright (C) 2006-2014 Andrey Kholmanskih * * 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 ...
30.517241
81
0.713559
7c5c5537ca478bb1e938743724d1908267c6608d
3,738
package com.deepoove.poi.tl.policy; import java.io.FileOutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.openxmlformats.schemas.wordprocessingml.x2006.main.STJc; import c...
35.6
96
0.632424
4c393fc286ad20efcb8e4008390a29d0e01f0681
499
package net.openapi.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import net.dbsource.entity.SmsTemplate; import net.domain.Message; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.util.List; @Mapper public interface OpenApiSmsTemplateMapper ext...
31.1875
75
0.791583
39c8b57e8cb8787b4a79c758c32a9ee82f48bbda
2,630
package alipsa.sieparser; import org.junit.Test; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import static org.jun...
31.309524
93
0.647529
db8225b5026b5f907ce200d69fc1a8c9ae3e0131
69,431
package com.project.convertedCode.globalNamespace.namespaces.Illuminate.namespaces.Console.namespaces.Scheduling.classes; import com.project.convertedCode.globalNamespace.namespaces.Illuminate.namespaces.Support.classes.Arr; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.runtimeconverter...
43.044637
135
0.473535
fc327f4a5db73cdf4775827f2959cc5311b3a95b
179
package org.decaywood.entity.trend; import java.io.Serializable; /** * @author: decaywood * @date: 2015/12/13 17:19. */ public interface ITrendBlock extends Serializable { }
16.272727
51
0.726257
e5757adfe127a6ed6b3634078b58ebfe89afa7fe
1,265
package com.xiaohe66.common.table.parser; import com.xiaohe66.common.table.entity.ParserContext; import java.util.List; /** * @author xiaohe * @time 2020.04.13 12:40 */ public interface TableParseCallback { /** * 读取工作簿开始时回调,整个解析过程仅回调一次 * * @param parserContext ParserContext */ defaul...
18.602941
68
0.603162
1f32a0bf99646e0f95bf9d965537f68a1131e490
17,439
package com.taixue.xiaoming.bot.host.command.executor; import com.taixue.xiaoming.bot.api.account.Account; import com.taixue.xiaoming.bot.api.annotation.RequirePermission; import com.taixue.xiaoming.bot.api.annotation.Command; import com.taixue.xiaoming.bot.api.annotation.CommandParameter; import com.taixue.xiaoming.b...
44.037879
127
0.598773
49f4b15ccc49bce64ffcb02b9fe1d59f203efd6d
1,118
package jogo.entidades; public abstract class Criatura extends Entidade { protected double velocidade; public static final double velocidadePadrao = 6.5; public static final int larguraPadrao = 64, alturaPadrao = 64; public static final int vidapadrao = 1; protected int vidas; protected float xMove, ...
18.327869
64
0.658318
80743380f3b4843adea797b92fa98d69a7271f95
6,307
package es.ubu.lsi.ubumonitor.view.chart.logs; import java.io.IOException; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.csv.CSVPrinter; import es.ubu.lsi.ubumonitor.controllers.MainController; import es.ubu.lsi.ubumonitor.model.Enrolle...
31.222772
117
0.711749
77eb1e304f608fe19fce4e927a03d494081e6932
1,141
package Elementos; import javafx.scene.image.Image; /** * Classe que define e controla o canhão do jogo * @author Marcos Pietrucci * @since dec 2020 */ public class Canhao extends Elemento{ //Atributos do canhão private final int velocidade; private int pontos; public Canhao(double x, dou...
22.82
81
0.608238
125ae3e13b20e76aac13649223b9112005715c52
1,688
package mage.cards.s; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.abilities.effects.common.DrawCardTargetEffect; import mage.abil...
30.142857
103
0.703199
f4bd4d14b216c0944ae2b07d26808b1639311ea3
4,013
/******************************************************************************* * Cloud Foundry * Copyright (c) [2009-2016] Pivotal Software, Inc. All Rights Reserved. * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except i...
33.165289
154
0.643409
6f679155b55d2d3577d39c04f0253cd59814f0ad
473
public class MinStack { //数据栈 Stack<Integer> stack1 = new Stack<>(); //辅助栈,存在每次push后的最小值 Stack<Integer> stack2 = new Stack<>(); public void push(int node) { stack1.push(node); if(stack2.isEmpty()) stack2.push(node); else { if(stack2.peek() > node) stack2.push(node); } } public void pop() { if...
16.310345
39
0.606765
5f30a4fce541cecad29316540de9f22fca3f6671
5,396
package cn.toesbieya.jxc.service.doc; import cn.toesbieya.jxc.constant.ProductConstants; import cn.toesbieya.jxc.mapper.ProductExportMapper; import cn.toesbieya.jxc.model.entity.ProductExportRecord; import cn.toesbieya.jxc.model.vo.R; import cn.toesbieya.jxc.model.vo.result.PageResult; import cn.toesbieya.jxc.model.vo...
43.516129
190
0.711638
19ae00138178b21efb95c2b79313e04cfc0e18d6
603
package so.sample.worker; import java.util.concurrent.CompletableFuture; import so.engine.IWorker; import so.engine.ProcessResult; import so.engine.ResultStatusEnum; /** * A simple worker that prepend a string to another * @author marc_alx */ public class StringToStringWorker implements IWorker<String, String>{ ...
28.714286
90
0.739635
2f53b9bc95f5242135dcc60a4ff0d146b4f37e89
3,612
/*- * ============LICENSE_START======================================================= * Copyright (C) 2019-2020 Nordix Foundation. * Modifications Copyright (C) 2019, 2021 AT&T Intellectual Property. * ================================================================================ * Licensed under the Apache L...
41.517241
114
0.655316
c5486691f0c0c27a369ecec8c76b213bc30366bf
2,085
/* Name: Haris Kamran ID#: 112786164 Recitation 07 */ import java.io.File; import java.util.ArrayList; import java.util.Scanner; /** * TextAnalyzer class which compares multiple texts to check whether they have the same author or not. * @author haris * */ public class TextAnalyzer { /** * Fr...
22.663043
137
0.565947
d1349054ae61bf7d3c2f45fc91e8ef616d75dc48
262
package com.day08.main; import com.day08.Cars; public class MainCars { public static void main(String[] args) { Cars cars = new Cars(4,"yellow", 1); System.out.println(cars.toString()); cars.addSpeed(); cars.subSpeed(); cars.stopSpeed(); } }
16.375
41
0.664122
140e8e9ed3757831cdc71871dbf6f561be72492c
631
package org.cleverframe.fastdfs.protocol.storage; import org.cleverframe.fastdfs.protocol.BaseResponse; import org.cleverframe.fastdfs.protocol.storage.request.TruncateRequest; /** * 文件Truncate命令 * 作者:LiZW <br/> * 创建时间:2016/11/20 18:53 <br/> */ public class TruncateCommand extends StorageCommand<Void> { /** ...
23.37037
72
0.648177
570cd889ccbd9d9a4aad53b3d241a2f1e3524555
520
package com.wb3tech.ui_tests; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.openqa.selenium.WebDriver; import static com.wb3tech.test_framework.DriverFactory.getChromeDriver; public class SeleniumUITest { protected static final String BASE_URL = "https://github.com/";...
20.8
71
0.711538
18f8cdd69cf70b1f4717373f9032cfc28eb59bc7
2,541
package com.github.pgasync; import rx.Observable; import java.util.List; import java.util.function.Consumer; /** * QueryExecutor submits SQL for execution. * * @author Antti Laisi */ public interface QueryExecutor { /** * Begins a transaction. */ Observable<Transaction> begin(); /** ...
33
120
0.669421
e2dd1b0ca56f4dd00808634e54ce1caad651c962
1,140
package run.xuyang.course.service.client; import org.springframework.data.domain.Page; import run.xuyang.course.core.ResponseResult; import run.xuyang.course.entity.client.Course; import run.xuyang.course.entity.query.CourseQuery; import java.util.List; /** * @author XuYang * @date 2021/1/31 22:14 */ public inter...
20.357143
107
0.626316
3861ff77129441991a96bb0a26893b21c895b257
2,331
package com.oa.core.service.dd; import com.oa.core.bean.dd.FieldData; import com.oa.core.bean.dd.TableData; import com.oa.core.bean.dd.TaskData; import org.apache.ibatis.annotations.Param; import java.util.List; public interface DictionaryService { /** * 字段定义 * */ /** 新增字段*/ void insertField(F...
29.1375
70
0.676105
5245f7667935b320a95b6ca64c14e5ef77ae7bc9
3,101
import static org.junit.Assert.assertEquals; import java.awt.geom.Rectangle2D; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import org.junit.Before; import org.junit.Test; import org.opencv.core.Core; import org.opencv.core.CvType; import org.opencv.core.Mat; import utils.Re...
28.190909
67
0.722348
583928499956fc61b9db2b96c0cc6f05b356860c
3,305
/** * Copyright 2011 MultiBit */ package org.multibit.network; import java.io.File; import java.io.IOException; import java.math.BigInteger; import junit.framework.TestCase; import org.junit.Test; import org.multibit.Constants; import org.multibit.Localiser; import org.multibit.controller.MultiBitController; impo...
33.05
149
0.699849
d3901ef0ca758364f6abc378abdc055bea680f02
579
package de.thb.paf.scrabblefactory.models.level; /** * Represents a basic level. * * @author Dominic Schiller - Technische Hochschule Brandenburg * @version 1.0 * @since 1.0 */ public class BasicLevel extends GameLevel { /** * The level's given word pool */ private String[] wordPool; /**...
17.545455
63
0.592401
49523d5844494ec15d091d326676365739e7e215
2,946
package de.tum.in.www1.artemis.domain.quiz; import javax.persistence.*; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.J...
24.147541
173
0.650034
8dddea5e72b10ab2d22bd5bff29a8f454664e40a
1,324
package help.lixin.datasource.meta.impl; import help.lixin.datasource.meta.IDataSourceMetaService; import help.lixin.datasource.model.DatabaseResource; import help.lixin.resource.event.Event; import help.lixin.resource.listener.IEventListener; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; ...
27.583333
129
0.702417
b0b137c67804303704be5a10b5ba0448633db9ab
8,071
package org.knowm.xchange.bitmex.service; import org.knowm.xchange.bitmex.Bitmex; import org.knowm.xchange.bitmex.BitmexException; import org.knowm.xchange.bitmex.BitmexExchange; import org.knowm.xchange.bitmex.dto.marketdata.BitmexPrivateOrder; import org.knowm.xchange.bitmex.dto.trade.BitmexPlaceOrderParameters; imp...
32.027778
100
0.635609
87b0b14338ee27aa5459446b85ab46c83cefaf0c
372
package org.adonai.api; import javafx.event.ActionEvent; import javafx.event.EventHandler; import org.adonai.ApplicationEnvironment; import org.pf4j.ExtensionPoint; public interface MainAction extends ExtensionPoint { String getIconname (); String getDisplayName (); EventHandler<ActionEvent> getEventHandler ...
21.882353
92
0.819892
27d05d4010db6b182ae6e7c28a832f8364b2f0d5
5,661
package anetwork.channel.aidl; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import anet.channel.request.BodyEntry; import anet.channel.util.ALog; import anetwork.channel.a; import anetwork.channel.entity.k; import anetwork.channel.f; import anetwork.channel.g; import ja...
37
134
0.496909
d8af6a827f1d68748706abf6cd8c555326687eae
11,670
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.9 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
38.770764
141
0.788689
e236dea37c0cf0e87cf9a4bb7d54772e68bd5f36
5,736
package de.guntram.mcmod.fabrictools.GuiElements; import com.mojang.blaze3d.platform.GlStateManager; import de.guntram.mcmod.fabrictools.GuiModOptions; import de.guntram.mcmod.fabrictools.Types.ConfigurationMinecraftColor; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.widget.AbstractButt...
38.24
123
0.604951
868cf06c204b54446d58fbe3c8518a6140c57f81
656
/* * @author MATYSIAK Herve * @version 1.0 * Last Update : 2015/10/09 */ package sb.helpers; /** * The Enum ECategoryHelper. */ public enum ECategoryHelper { /** The sensor. */ SENSOR("CAP"), /** The actioner. */ ACTIONER("ACT"), /** The agent. */ AGENT("AGT"), /** The container. */ CONTAINER("C...
13.666667
41
0.58689
1a8a5f97b97dc95df972c3cb823dc46854153746
2,354
package entity; import java.util.UUID; import cn.nukkit.Player; import cn.nukkit.Server; import cn.nukkit.block.Block; import cn.nukkit.entity.Entity; import cn.nukkit.entity.data.EntityMetadata; import cn.nukkit.item.Item; import cn.nukkit.level.Position; import cn.nukkit.network.protocol.AddPlayerPacket;...
26.155556
82
0.669074
230d8dadc7a1b1e44f498ae314d3d9e37bc26b29
9,720
package com.radoslavdosev.userstories.data.remote; import android.support.annotation.NonNull; import com.radoslavdosev.userstories.data.DataSource; import com.radoslavdosev.userstories.data.model.Project; import com.radoslavdosev.userstories.data.model.User; import com.radoslavdosev.userstories.data.model.User...
36.818182
125
0.557099
cb20027c8eb33323d0d81449838097adf77d6265
23,945
package org.ebayopensource.turmeric.monitoring.provider.operations; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.List; import java.util.concurrent.TimeUnit; import org.ebayopensource.turmeric.monitoring.cassandra.storage.provider.CassandraMetricsStorageP...
51.717063
117
0.755982
e7a7e12a0cc1d40d0e806442cf88e556a34ea61d
3,034
package ca.on.oicr.gsi.shesmu.compiler.definitions; import ca.on.oicr.gsi.shesmu.compiler.SignableRenderer; import ca.on.oicr.gsi.shesmu.compiler.Target; import ca.on.oicr.gsi.shesmu.compiler.TypeUtils; import ca.on.oicr.gsi.shesmu.plugin.types.Imyhat; import java.nio.file.Path; import java.util.stream.Stream; import ...
28.092593
100
0.70468
6de65c5108884594343027e3964db674099b3f21
739
package de.predic8.j_serialization; import java.util.Properties; import static org.apache.kafka.clients.consumer.ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG; import static org.apache.kafka.clients.producer.ProducerConfig.*; public class ArtikelProducer { public static void main(String[] args) { Properties ...
30.791667
88
0.714479
b3c067e69e0cc9ec3ac7547dc3fea2cfae3f980e
4,074
package com.home.shineTool.tool.table; import com.home.shine.ctrl.Ctrl; import com.home.shine.global.ShineGlobal; import com.home.shine.support.collection.SSet; import com.home.shine.table.DBConnect; import com.home.shine.utils.FileUtils; import com.home.shineTool.reflect.FieldInfo; import com.home.shineTool.r...
21.903226
103
0.656357
5d4db62da9ece6aec3e910f16593c672f7c54ddf
4,940
/* * MainActivity.java * * Copyright 2020 Heartland Software Solutions 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 * * U...
33.378378
103
0.607895
04fd6eb395fa5a19bb56c39d8f5891a247d3c026
933
package redis.manager.compont.alert; import javafx.beans.NamedArg; import javafx.scene.control.Alert; /** * 使用单例获取提示框. * User: huang * Date: 17-6-27 */ public final class MyAlert { private static Alert warningAlert; private MyAlert() { } /** * 获取提示框实例. * @param alertType 类型 * @r...
22.214286
100
0.562701
66d5622153da97aaeb4387efbd2d2d89bb42df2a
1,305
package com.gitee.sop.adminserver.api.service.result; import lombok.Data; import java.util.List; /** * 每个接口 总调用流量,最大时间,最小时间,总时长,平均时长,调用次数,成功次数,失败次数,错误查看。 * * @author tanghc */ @Data public class MonitorInfoVO { private Integer id; private String instanceId; /** * 接口名 */ private Strin...
15.535714
53
0.538697
4bf3bdf8bd0ebc5a693e5188d3ac01c676789dd6
3,653
package util; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; public class FASTAUtilities { public static String RevComplement(String SEQ) { SEQ = SEQ.toUpperCase(); String RC = ""; for (int x = 0...
35.466019
146
0.647413
703ab12d989ae732287f6f01c660caa004d2b961
11,567
package com.bt.pi.app.networkmanager.addressing.resolution; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; import static org.mockito.Matchers.isA; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import ...
45.007782
220
0.729576
6664ae4cad83dfe8c1fef6038aa7f4a6495f2f3e
1,609
/* * Copyright (C) 2004, 2006 Joe Walnes. * Copyright (C) 2006, 2007, 2008, 2009 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created o...
34.978261
130
0.735861
0c45cbc25f624c38b8f14df83e52bd3f48a0a09e
3,708
package com.proxy.app.controller; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.proxy.config.BRestClientConfig; import com.proxy.utils.DataFormatUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; imp...
44.142857
126
0.568501
e26f821f047800769c2aa6cf84ad1011de45da07
411
package designs.snakeAndLadders; import java.util.logging.Logger; public class Snake { Logger logger = Logger.getLogger(Snake.class.getName()); int head; int tail; public Snake(int head, int tail) throws BoardCreationException { if (head <= tail) { String errorMsg = "Snake creation failed!"; throw new B...
19.571429
65
0.715328
558a99b984221664642a82a2af56774a7b905b5a
3,126
package com.salesmanager.core.model.order.orderproduct; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.salesmanager.core.model.order.orderstatus.OrderStatus; import com.salesmanager.core.model.reference.currency.Currency; public class OrderProduc...
20.701987
74
0.741843
a21f17b91cb38e69ea5c15dd3025ba8094bb8fdd
618
package org.jeecg.modules.system.mapper; import java.util.List; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import org.jeecg.modules.system.entity.SysAnnouncement; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Description: 系统通告表 * ...
32.526316
153
0.789644
c2aa8a1b9092c178b4ab489d3c46ad8e89be7e77
711
package listeningrain.cn.blog.service.api; import listeningrain.cn.blog.input.data.UserShowInformationInputData; import listeningrain.cn.blog.input.dto.PojoInputDTO; import listeningrain.cn.blog.output.data.UserShowInformationOutputData; import listeningrain.cn.blog.output.dto.PojoOutputDTO; /** * User: sunqi...
32.318182
101
0.819972
c0214efe3cbb1974da40112c1e7cf4e6fe518a38
1,156
package com.spring.ratelimit; import com.util.SimpleHttpClient; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * 模拟HTTP请求,瞬间流量 * * Created by books on 2017/12/21. */ public class HttpTest { public static void main(String[] args) { ExecutorService executorSe...
25.688889
80
0.506055
939e02a7ac2f1c0432a11184a7d1b0ceb0ddba63
817
package by.ttre16.briana.transport.mapper.post; import by.ttre16.briana.entity.Employee; import by.ttre16.briana.transport.base.HasPassword; import org.mapstruct.AfterMapping; import org.mapstruct.Mapper; import org.mapstruct.MappingTarget; import org.springframework.beans.factory.annotation.Autowired; import org.spri...
30.259259
77
0.752754
c4f3f56e17ed17344287b01802df203f921aa97f
2,294
/** * Tencent is pleased to support the open source community by making TDW available. * Copyright (C) 2014 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 a copy...
28.320988
93
0.756321
f9a2529322e28160a40a4f3d710bb5ec06121c05
84
package udc.objects.enums; public enum PanelType { CLIENT, SECRETARY, DOCTOR }
14
29
0.738095
789f063aa57ea0217118e8707a35af79f0712126
3,527
import com.fernandovicente.projetas.MainApplication; import com.fernandovicente.projetas.controller.CarController; import com.fernandovicente.projetas.exception.ResourceNotFoundException; import com.fernandovicente.projetas.model.Car; import org.junit.Assert; import org.junit.Before; import org.junit.FixMethodOrder; im...
31.774775
121
0.698327
4db4176d015a8c1f43e6e0321caf45187c2ca010
16,591
/* Copyright 2016-2020 WeAreFrank! 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, softwar...
37.706818
131
0.732144
7262d3b960b7b9ca8658cf2e090916efcb537490
3,390
/* Copyright (c) 2022 Preponderous Software MIT License */ package preponderous.ponder.minecraft.bukkit.tools; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.Player; import static org.bukkit.Bukkit.getServer; /** * @author Daniel McCoy Stephenson */ pub...
37.252747
115
0.687611
39f28c7b619923080cad4915eb7694edae00d63c
260
package me.rainstorm.patterns.factory.entity; /** * @author baochen1.zhang * @date 2018.08.06 */ public class ConcreteProduct1 extends Product { @Override public void method() { System.out.println(ConcreteProduct1.class.getName()); } }
20
61
0.688462
832797c7cac76fb8c7a1498f4d729574cafd728c
5,778
package com.intel.mountwilson.datamodel; import java.io.Serializable; import java.util.Date; /** * * @author Yuvraj Singh */ public class HostDetailsEntityVO implements Serializable { private static final long serialVersionUID = 1L; private String hostId; private String hostName; private String hostIPAd...
19.196013
116
0.663378
b753322b76d1724973662b35f25cdb6ec33a8520
1,783
/* * Copyright (c) 2020 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.schema; import com.evolveum.midpoint.schema.result.OperationResult; import com.evolveum.midpoint.util.a...
45.717949
123
0.742569
aefa4f15321c9d03207cd612243872a6645115a7
1,218
package jhaskell.data.product; import jhaskell.data.Monoid; import jhaskell.data.Semigroup; import static com.google.common.base.Preconditions.checkArgument; public enum Products { ; public static Semigroup<Product> Semigroup = new ProductSemigroup(); private static class ProductSemigroup implements S...
23.423077
90
0.569787
c4f77a8186030c84ac534a2cb2abb8341a80b05c
653
package services; import java.util.List; import daos.TipoRespaldoDAO; import dtos.TipoRespaldoDTO; import java.util.ArrayList; import javax.inject.Inject; import models.TipoRespaldo; public class TipoRespaldoService { private TipoRespaldoDAO dao; @Inject public TipoRespaldoService(TipoRespaldoDAO dao){ ...
23.321429
75
0.689127
cd8d35a3ac593b699513ded49ef5fa6758759523
607
package uk.ac.ncl.openlab.intake24.client.api.uxevents; import uk.ac.ncl.openlab.intake24.client.api.foods.LookupResult; import java.util.List; public class SearchResult { protected String query; protected String algorithmId; protected List<String> existing; protected LookupResult result; @Dep...
23.346154
103
0.70346
f3f0a05f4517cb210cd75a2a6c31638bdb5563e6
2,636
package com.github.mustfun.mybatis.plugin.setting; import com.intellij.openapi.project.Project; import com.intellij.ui.components.JBScrollPane; import com.intellij.ui.table.JBTable; import lombok.Getter; import lombok.Setter; import javax.swing.*; import javax.swing.table.AbstractTableModel; import javax.swing.table....
26.09901
83
0.632777
93dbb1ff80eb5165e9ee4d8b8d189d24fee30cfa
19,377
/******************************************************************************* * Copyright (c) 2016 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and i...
37.049713
263
0.70336
757c94997a617794ac120fd9a435e16dfa28e3e3
609
package seedu.address.model; import javafx.collections.ObservableList; import seedu.address.model.contact.Contact; import seedu.address.model.project.Project; /** * Unmodifiable view of a CoLAB folder. */ public interface ReadOnlyColabFolder { /** * Returns an unmodifiable view of the contact list. *...
24.36
57
0.71757
2373f2ac482778faa574445f4d07de8fab9e67df
483
package nimble.trust.engine.op.propagation; import nimble.trust.engine.model.pojo.Agent; public class TrustAssessmentManagerImpl implements TrustAssessmentManager{ @Override public void assessIt(Agent agent) { if ( isComposed(agent) == false) return ; // decompose & analize } private boolean isCom...
18.576923
74
0.732919
9049bfca0cd66cbb40a5abf08add011c146f88b7
4,339
package org.adligo.tests4j_tests.system.shared.report.summary; import org.adligo.tests4j.models.shared.results.BaseTrialResultMutant; import org.adligo.tests4j.models.shared.results.I_TrialResult; import org.adligo.tests4j.shared.asserts.reference.AllowedReferences; import org.adligo.tests4j.shared.en.Tests4J_EnglishC...
33.898438
98
0.774142
27444dc6fb6179ac569130653cf3a6c6a0fdce86
1,862
package packt.java9.irc; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.Closeable; import java.io.IOException; public class Bot implements Closeable{ final BufferedWriter writer; final BufferedReader reader; public Bot(BufferedWriter writer, BufferedReader reader) { this.write...
25.506849
80
0.619227
507f88c71d627e3e86172dc877a7fd10d891601c
363
package pattern.facade.section3; /** * @author cbf4Life cbf4life@126.com * I'm glad to share my knowledge with you all. * 检查信件,比如是不是恐吓信,有没有炭疽病毒,寄往某地的邮件都要检查 */ public class Police { //检查信件,检查完毕后警察在信封上盖个戳:此信无病毒 public void checkLetter(ILetterProcess letterProcess) { System.out.println(let...
24.2
62
0.674931
6fe4d090ad80dbf1d49b4b7f4568fbfffed1ef32
538
package com.github.q120011676.sec.core.filter; import java.io.IOException; import java.util.Properties; /** * Created by say on 3/16/16. */ public class SecConfig { private static final Properties PROPERTIES = new Properties(); static { try { PROPERTIES.load(SecConfig.class.getResourceA...
22.416667
92
0.644981
238124a720e0c7ea87646910a3fa978cb998f5b5
69,392
package kaptainwutax.featureutils.loot.item; public class Item { private final String name; public Item(String name) { this.name = name; } public String getName() { return this.name; } public static final Item AIR = new Item("air"); public static final Item STONE = new Item("stone"); public static fina...
69.881168
110
0.788146
0a71b521bfbaba1ea2eb792c1075b03246f055c5
1,605
/* * Copyright (C) 2003-2013 eXo Platform SAS. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This...
33.4375
103
0.716511
d4fb3a181e8b61cf122234860c93142c0c3bd510
787
package my.game; import com.artemis.*; import my.game.systems.HelloWorldSystem; /** * Very basic game launcher. * * @author Daan van Yperen */ public class GameLauncher { public static void main( String[] args ) { // 1. Register any plugins, setup the world. WorldConfiguration setup = new Wo...
25.387097
81
0.611182
90a542141106b1a33366e7051f4949815a9a0425
223
/* * Open Source Software published under the Apache Licence, Version 2.0. */ package io.github.vocabhunter.gui.event; public interface ExternalEventListener { void fireOpenFileEvent(ExternalOpenFileEvent event); }
22.3
72
0.780269
93c9c124e4e6da1641cbf0be1e4db2deb37e1899
1,246
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.iot.service.sdk; import com.google.gson.*; import com.microsoft.azure.iot.service.auth.SymmetricKey; import java.lang.reflect.Type;...
38.9375
146
0.764045
e63ab079ae451c8cc8f7a32ef7cb06acca9e0876
796
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.util.predicates.ufCheckingProver; import org....
33.166667
78
0.795226
10d965a9d511749fcf94311d0e680b4ec819ea1e
146
package com.imooc.newslist; public class NewsBean { public String newsIconUrl; public String newsTitle; public String newsContent; }
16.222222
28
0.746575
34167ffe15aea1d40f73deed278890d4bf02fd37
3,806
package com.googlesource.gerrit.plugins.dyfrns; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.text.SimpleDateFormat; import java.util.*; public class TimerEvent implements Comparable<TimerEvent>, Runnable { private static final Logger log = LoggerFactory.getLogger(TimerEvent.class); p...
25.716216
80
0.548607
4897f1c541233474d863337a711c1788c7639de0
30,161
package com.solomatoff.mvc.model; import com.solomatoff.mvc.controller.CommonTest; import com.solomatoff.mvc.controller.Controller; import com.solomatoff.mvc.controller.ControllerTest; import com.solomatoff.mvc.entities.*; import com.solomatoff.mvc.model.store.DbStore; import com.solomatoff.mvc.model.store.dbstore.*; ...
40.107713
129
0.630781
74744e3b15ec1583076f89e9e715c716e9d64e2c
2,288
package main; import dbengine.transaction.model.IsolationLevelType; import dbms.TransactionThread; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.uti...
42.37037
136
0.583479
f2338205f4f2f3b8d2bde6b2ea3b68e48c708694
1,181
package android.text.method; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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://...
22.711538
79
0.690093
278a4ac848e7b4741d949c477344fe8054a6f25f
433
package im.quar.autolayout.attr; import android.view.ViewGroup; /** * Created by DTHeaven on 15/12/5. */ public class HeightAttr extends AutoAttr<ViewGroup.LayoutParams> { public HeightAttr(int pxVal) { super(pxVal); } @Override protected int attrVal() { return Attrs.HEIGHT; } ...
18.041667
66
0.646651
9744c15e7c82462b80eeca2d49db97d41a6988a8
1,128
package org.hkijena.jipipe.api.history; import com.google.common.eventbus.EventBus; import javax.swing.*; import java.util.Collections; import java.util.List; import java.util.UUID; public class JIPipeDummyGraphHistoryJournal implements JIPipeHistoryJournal { private final EventBus eventBus = new EventBus(); ...
20.888889
90
0.696809
740d02be53e4e5f749c6b6b532e1b95fd6c0ba7f
2,490
package org.aksw.dcat_suite.app.gtfs; import java.io.IOException; import java.net.URI; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; ...
31.518987
96
0.595582
e53db73aa52adef7b1ae7d526e0197820b3ada14
6,395
package com.gzlk.android.isp.holder.attachment; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.gzlk.android.isp.R; import com.gzlk.android.isp.etc.ImageCompress; import com.gzlk.android.isp.etc.Utils; import com.gzlk.android.is...
39.720497
141
0.629867
6f974752ffa184eb131ecf6fa1eac7fbc79f807d
2,366
/** * Copyright (C) 2016 - 2030 youtongluan. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
22.320755
83
0.627642
38a34a10275027d841fd83301c37ee945eddc112
13,996
package marf.nlp.Parsing; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.Vector; import java.util.zip.GZIPOutputStream; import marf.nlp.Parsing.GrammarCompiler.GrammarElement; import marf.nlp.Parsing.GrammarCompiler.NonTerm...
30.558952
119
0.553873
697a8bc905c9fcf6da2dc3364e8fa101f29d24b5
830
package cd4017be.indlog.util.filter; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; /** * * @author cd4017be * * @param <Obj> * @param <Inv> */ @SideOnly(Side.CLIENT) public class DummyFilter...
15.660377
65
0.701205
88097716e572e04afc11244846e2203c02d12d0d
3,327
package com.anonymoushacker1279.immersiveweapons.world.structures; import com.anonymoushacker1279.immersiveweapons.ImmersiveWeapons; import com.anonymoushacker1279.immersiveweapons.util.Structures; import com.google.common.collect.ImmutableMap; import net.minecraft.nbt.CompoundNBT; import net.minecraft.util.Mirror; im...
42.113924
140
0.79982
d21e41cbba12a561bc369cf1ea37295fa5809af7
2,991
/** * Copyright 2014-2016 CyberVision, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicab...
37.860759
132
0.724841
55d9599a6e01103fdc9d8be5a0a40acf1bbd3c18
716
package com.rbkmoney.analytics.dao.model; import com.rbkmoney.analytics.constant.PayoutStatus; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.ToString; import java.time.LocalDateTime; @Data @ToString @EqualsAndHashCode @NoArgsConstructor public class PayoutRow { ...
21.69697
52
0.786313
18254a2cbadd3ae2463b42d8e3621e246c3336ca
709
package com.example.android.quakereport; /** * Created by wen-zhao on 9/9/2017. */ public class Earthquake { private double mMagnitude; private String lLocationCity; private Long mDate; private String url; public Earthquake(double mag,String city,Long date, String url){ this.mMagnitude =...
20.852941
68
0.630465