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
cd60749b5a05470395b4c455a74b7cc5bebf2442
12,904
package com.pogeyan.swagger.helpers; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; import java.util.stream.Collectors; import org.apache.chemistry.opencmis.client.api.CmisObject; import org.apache.chemistry.opencmis.client.api.Document; import org.apache.chemistry.opencmis.client.a...
44.343643
113
0.727914
ac10a56ae78746c0d905f02b7750f939a47718e2
490
package uk.nhs.cdss.model.enums; import lombok.Getter; import lombok.RequiredArgsConstructor; import uk.nhs.cdss.constants.Systems; @Getter @RequiredArgsConstructor public enum IdentifierType implements Concept { SDS("SDS user id", "https://fhir.nhs.uk/Id/sds-user-id"), SDSR("SDS role", "https://fhir.nhs.uk/Id/sd...
27.222222
65
0.74898
deb450ad427c0a2c2ffecae6713c0d2501c25a13
1,151
package com.javaweb.queue.activemq; import org.apache.activemq.command.ActiveMQMapMessage; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jms.core.JmsMessagingTemplate; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component...
23.979167
79
0.675065
8493128489ff8770115d8f60d961ef78dd296c36
1,334
package g_ISPandDIP.Exercises.BoatRacingSimulator.engines; import g_ISPandDIP.Exercises.BoatRacingSimulator.contracts.CommandHandler; import java.io.BufferedReader; import java.io.InputStreamReader; public class Engine implements Runnable { private static final String TERMINATE_COMMAND = "End"; private Comma...
30.318182
85
0.625937
2da1b680398f3d997b24536b794cd79f80d07024
603
package juanf846.javaSimpleCLI.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import juanf846.javaSimpleCLI.Shell; /** * Un metodo anotado con {@link Help} será invocado cuando el usuario e...
27.409091
77
0.774461
ca85cfdc89345a505cf295ff3a028be337218211
954
package com.lib.bridge.core.implement; import com.lib.bridge.core.LibResponse; /** * 请求返回数据基类 * * Created by jimmy on 2017/7/15. */ public class LibBaseResponse implements LibResponse { public static final int STATUS_CODE_SUCCESS = 0; /** 请求结果状态码 */ private int statusCode; /** 请求结果数据 */ pri...
18
57
0.626834
f0d996b79bee1fe86bb6310b3d476670a36a00b7
48,004
/* Syntax is distributed under the Revised, or 3-clause BSD license =============================================================================== Copyright (c) 1985, 2012, 2016, Jaime Garza All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitt...
33.522346
165
0.609512
819ad13b41142f7b715e07ad5aae9342b9d7bc85
710
package org.chronos.chronosphere.api.exceptions; public class ResourceIsAlreadyClosedException extends ChronoSphereException { public ResourceIsAlreadyClosedException() { super(); } protected ResourceIsAlreadyClosedException(final String message, final Throwable cause, final boolean enableSuppression, final ...
26.296296
88
0.805634
b5ccb2654c9210c3ed4995d5c45561460b2218c6
28,465
package hex.gbm; import static water.util.ModelUtils.getPrediction; import static water.util.Utils.div; import hex.ConfusionMatrix; import hex.VarImp; import hex.VarImp.VarImpRI; import hex.gbm.DTree.DecidedNode; import hex.gbm.DTree.LeafNode; import hex.gbm.DTree.Split; import hex.gbm.DTree.TreeModel.TreeStats; impor...
44.476563
208
0.610434
90d5ee2ff6b237ae56ee1edb89785cf3e814b459
10,890
/* * Copyright 2000-2013 JetBrains s.r.o. * * 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...
41.09434
153
0.721671
7ddb7cca560857c2195483ea0b7c93546060bd47
3,083
/* * * Copyright 2008-2021 Kinotic and 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unles...
24.664
127
0.656503
1b0f06bf8975c6c0c4c853bbb282abe38740cee0
779
package mekanism.common.content.boiler; import mekanism.api.Coord4D; import mekanism.common.base.MultiblockFluidTank; import mekanism.common.content.tank.SynchronizedTankData.ValveData; import mekanism.common.tile.TileEntityBoilerCasing; public abstract class BoilerTank extends MultiblockFluidTank<TileEntityBoilerCas...
31.16
86
0.672657
ce19912f69a3193eb2cd29d3ebc523cd673db404
367
package com.baeldung.algorithms.mercator; public class SphericalMercator extends Mercator { @Override double xAxisProjection(double input) { return Math.toRadians(input) * RADIUS_MAJOR; } @Override double yAxisProjection(double input) { return Math.log(Math.tan(Math.PI / 4 + Math....
24.466667
90
0.689373
619cd02f513224356b81e489841c2bdbdf183d06
874
package com.github.thethingyee.parkourplugin.SubCore.listeners; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.inventory.ItemStack; public class deltethis implements Listen...
33.615385
77
0.641876
1e376445bb9f7bf6a927974a2bebc35d4e98d8ee
1,007
package util; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.MessageType; import com.intellij.openapi.ui.popup.Balloon; import com.intellij.openapi.ui.popup.JBPopupFactory; import com.intellij.openapi.wm.StatusBar; import com.intellij.openapi.wm.WindowManager; import com.intellij.ui.awt.Re...
31.46875
99
0.692155
4c895facc9d68ea58ba9aa13de342f19bcf23e83
6,581
/** * Copyright 2012 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
31.488038
98
0.580307
c0a6a0943db8fae992350511debc76990bde4be4
160
package org.deplabs.entity.cart.order; import org.marketlive.entity.cart.order.IOrderPayment; public interface IOrderPaymentAffirm extends IOrderPayment { }
20
60
0.83125
d3fbff1e29c6f0539a8899dc864072889b8b35aa
1,853
package net.disy.biggis.opensensemap.model; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonProperty; public class Sensor { private static final String ID = "_i...
21.546512
67
0.721533
696265ee1039ab3b2acc5f0cf3cf6061bdb49314
1,727
package ix.idg.controllers; import java.util.*; import play.*; import play.db.ebean.*; import play.data.*; import play.mvc.*; import ix.core.NamedResource; import ix.idg.models.Gene; import ix.core.controllers.EntityFactory; @NamedResource(name="genes",type=Gene.class) public class GeneFactory extends EntityFactory...
25.776119
70
0.609728
b83830e1c28025600d5485600d50c1cc92f9742e
3,842
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
38.808081
99
0.738938
e026f3761f1254713133a142e52bef63efa41917
7,805
/* * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: release-1.17 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * ...
39.619289
695
0.734401
71ac4a40941654835d8f00a4cf49fa38d69699de
1,752
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package erp.mcfg.data; import java.util.HashMap; import sa.lib.SLibUtils; /** * SCfgParamValues permite obtener valores individuales...
34.352941
122
0.669521
adc7d771d449e890ef2786c57ab390662fcf0c48
4,219
package com.jlkj.project.ws.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.jlkj.framework.aspectj.lang.annotation.Excel; import com.jlkj.framework.web.domain.BaseEntity; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.apa...
24.672515
72
0.63854
e31645abba3e3a3f39feee4af7a90ca5a9d46e3e
6,534
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2011 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
34.755319
96
0.628252
c55697ae398a093d31166fbe637a1c3b7757438f
389
package com.dasher.osugdx.assets; import com.badlogic.gdx.assets.AssetDescriptor; import com.badlogic.gdx.graphics.g2d.BitmapFont; import org.jetbrains.annotations.NotNull; public class FontHolder extends AssetHolder<BitmapFont> { public AssetDescriptor<BitmapFont> aller; public FontHolder(@NotNull AssetPat...
25.933333
57
0.77635
d7d728f68fe8265e9148275c5c23c6c5ada172ca
970
package com.adai.opensource.config; /** * @author zhouchengpei * date 2019/12/11 11:06 * description 统一配置 */ public class ParentConfig { /** * 创建 controller、service、dao、mapper的基本名字 * 假如 BASE_NAME = OperationLog 那么相应的Controller、Service、Dao、Mapper如下 * Controller: OperationLogController * ...
23.095238
88
0.63299
2f255c57c1bf6abe8849bacb4c44052777f0268c
14,891
package com.google.common.base; import java.io.Serializable; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.regex.Pattern; import org.checkerframework.checker.nullness.compatqual.NullableDecl; public final class Predicates { enum ObjectPr...
32.655702
188
0.590625
fcd9518df617950640a0d07b0c56a368c98696f5
2,610
package arkanoid.shapes.special; import arkanoid.shapes.Sprite; import biuoop.DrawSurface; import java.awt.Color; /** * @author Tommy Zaft * <p> * Drawing of a Among-us character * (some may say amogus). */ public class Amongus implements Sprite { private static final Color RED = new Color(195, 17, 17); ...
24.857143
78
0.542146
3d51e2afee586d880f2dd58e94029c6e2dc8fcaa
2,212
package array; import java.util.*; /** * @Author czgggggggg * @Date 2021/8/21 * @Description */ public class Array500 { public static void main(String[] args) { // String[] words1 = {"Hello","Alaska","Dad","Peace"}; // String[] words1 = {"omk"}; String[] words1 = {"adsdf","sfd"}; ...
34.5625
130
0.43264
a4e0ef60fe9ec291168b626622e42a39bd5e0f0d
1,079
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.decora; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; /** * Special <code>HttpServletRequestWrapper</code> allows filtering of the HTTP headers. */ public class DecoraR...
23.456522
88
0.698795
cfc0a3eed4d59137982c4c75bf95e1d5846c99e3
674
package com.example.mybatis.demomybatis.dao; import com.example.mybatis.demomybatis.entity.UserEntity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** * @author dhb * 这里目前先不加@Mapper注解,等以后看Spring和Mybatis结合的时候再加,现在是纯原生 * @date 2019/11/14 9:43 */ @Mapper public interface ...
19.823529
57
0.642433
df46430c27e68f653a4895bb344f6b9ae57f6283
616
// CloudListUiHandlers.java -- // // CloudListUiHandlers.java is part of ElectricCommander. // // Copyright (c) 2005-2011 Electric Cloud, Inc. // All rights reserved. // package ecplugins.EC_CloudManager.client.view; import com.gwtplatform.mvp.client.UiHandlers; import ecplugins.EC_CloudManager.client.model.PlanDet...
20.533333
80
0.663961
10a6354a5bacd5893bd5ca872df67ef502811067
870
package org.bspb.smartbirds.pro.db; import android.provider.BaseColumns; import net.simonvt.schematic.annotation.AutoIncrement; import net.simonvt.schematic.annotation.DataType; import net.simonvt.schematic.annotation.PrimaryKey; import static net.simonvt.schematic.annotation.DataType.Type.BLOB; import static net.si...
23.513514
69
0.747126
b58ef7b75472cd7481f25d1b5b520ebe83bc79b0
6,641
/* * Copyright 2014-present IVK JSC. 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 appl...
29.127193
170
0.71164
bd5f3acd49e399ab3b7f262cc580efd1b0c04694
750
class Solution { public int countArrangement(int N) { final String filled = "x".repeat(N + 1); StringBuilder sb = new StringBuilder(filled); Map<String, Integer> memo = new HashMap<>(); return dfs(N, 1, sb, memo); } private int dfs(int N, int num, StringBuilder sb, Map<String, Integer> memo) { ...
25
80
0.545333
51b58d946b2410e05273c305e4c5a5d95574d5c4
578
import java.util.Arrays; import java.util.Scanner; import java.io.IOException; import java.lang.reflect.Array; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int testes = input.nextInt(); int dividida = 100; int q = 0; i...
24.083333
47
0.536332
a26208b44d8f45b19c4ec9cacdb1a7d974f17371
1,002
package net.alenzen.a2l; import java.io.IOException; import java.util.List; public class CalibrationMethod implements IA2LWriteable { private String name; private long version; // optional parameters private List<CalibrationHandle> calibrationHandle; public String getName() { return name; } public void se...
20.875
103
0.763473
4bf08f4039b8a78d882023d3df0b65529132e7c0
1,569
/* * (C) Copyright IBM Corp. 2020. * * 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 w...
39.225
120
0.74761
401251b96e5f0cc21d9632de8e670573049d7e17
3,972
package com.mateuslima.mvvmpartedois.ui.books; import android.app.Application; import android.os.AsyncTask; import android.util.Log; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import com.mateuslima.mvvmpartedois.data.db.FavoriteDatabase; import com.mateuslima.mvvmpartedois.data.db...
35.464286
108
0.599698
a9b17a60e668eef42dccedccf884a07e82c1753b
872
package com.totvslabs.mdm.client.ui.events; import java.util.Date; import com.totvslabs.mdm.client.util.ProcessTypeEnum; public class SendDataFluigDataDoneEvent { private Date when; private String jsonData; private ProcessTypeEnum processTypeEnum; public SendDataFluigDataDoneEvent(ProcessTypeEnum processTypeEnu...
20.27907
84
0.761468
7a7e1fef9414b9b6c1e89bbbe6df163a4764060f
1,057
package io.github.walterinkitchen.formula; import io.github.walterinkitchen.formula.token.Operand; import javax.validation.constraints.NotNull; import java.util.Deque; import java.util.LinkedList; /** * Operand Stack * * @author walter * @date 2022/3/12 **/ public class OperandStack { private final Deque<Op...
17.327869
60
0.566698
9d5938c057fcbacee644085fca56a0f4b112f7c4
3,498
package com.dataart.steps; import org.junit.Assert; import org.openqa.selenium.support.ui.ExpectedConditions; import com.dataart.pages.LoginPage; import com.dataart.utils.Vars; import net.thucydides.core.annotations.Step; import net.thucydides.core.annotations.StepGroup; import net.thucydides.core.steps.ScenarioStep...
23.32
83
0.777587
11567df12c55ef990f21d25bddb4acfeed8e3d20
1,534
package com.yjq.data.admin.model.dto.request; import com.yjq.data.admin.common.Constant; import lombok.Data; import org.hibernate.validator.constraints.Range; import javax.validation.constraints.NotNull; /** * @author netyjq@gmail.com * @date 2019-05-06 */ public class AlarmHistoryRequestDTO extends PageRequestDT...
18.707317
75
0.618644
042aca8610eb6e1629902cf2c0947c484789701d
3,221
package com.a7space.commons.utils; import java.lang.reflect.Field; import java.util.Collection; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /* import net.sf.json.JSONArray; import net.sf.json.JSONObject; import net.sf.json.JsonConfig; import net.sf.json.util.PropertyFilter;*/ public...
23.172662
87
0.535858
b04d2bdff90b0da7cbcbae0dea0b7b9ea7a610a2
1,397
package beans; import beans.services.DataService; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.inject.Inject; import org.jboss.logging.Logger; /** * A bean that is responsible of listening to certain destination for incoming messages * from the Processing Server */ @Mess...
35.820513
177
0.756621
e5601156bb53b656d231f90f8da8f46401c409b2
2,064
package yatzi; import yatzi.categories.*; import java.util.List; public class YatzyScorer { private static final int DICE_SET_SIZE = 5; private final List<Integer> diceList; public YatzyScorer(List<Integer> diceList) { // I added a validation here because in old code, the methods have (d1,d2,d3...
22.434783
136
0.614341
136f8c054ed192b378f13a0ba695b8f0602d32df
3,677
package org.endeavourhealth.core.database.dal.datasharingmanager.models; import com.fasterxml.jackson.annotation.JsonInclude; import java.sql.Date; @JsonInclude(JsonInclude.Include.NON_NULL) public class JsonDataSharingSummary { private String uuid = null; private String name = null; private String desc...
25.184932
86
0.691868
9cb65200d277f8eb8d1c4a9fb9c31ac4a59b8607
3,255
/* * Copyright (c) 2016 咖枯 <kaku201313@163.com | 3772304@qq.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.0625
108
0.683871
b6a6ce889552f938dffbbf00da5521eae3da69fe
666
package families.dao; import java.util.List; import families.Father; /** * Interface for a DAO class containing data methods implementation for a Father class */ public interface IFatherDAO { /** * Returns a list with Father objects containing all Father entities stored in DB */ List<Father> getAllFather...
21.483871
87
0.6997
62ec01107fdfb266ade5314329ebe00b0c7dd438
1,617
package com.wuwenxu.codecamp.base.question; /** * @Title: QuestionTest1 * @Description: * @Version:1.0.0 * @author pancm * @date 2017年7月21日 */ public class QuestionTest1 { /** * @param args */ public static void main(String[] args) { /* * 在一个二维数组中,每一行都按照从左到右递增的顺序排序, 每一列都按照从上到下递增的顺序排...
20.730769
70
0.572665
275f044217b30de784df7222ff91a08b5e614713
2,819
package com.aidex.common.utils; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; public class NumberUtils extends org.apache.commons.lang3.math.NumberUtils { /** * 提供精确的减法运算。 * @param v1 被减数 * @param v2 减数 * @return 两个参数的差 */ public static double sub(double v1, ...
22.19685
86
0.665484
8ce832c4b43f4633250984757fb4f950ff7420bb
5,300
package sg.com.temasys.skylink.sdk.sampleapp.multivideos; import android.content.Intent; import android.support.v4.app.Fragment; import org.webrtc.SurfaceViewRenderer; import java.util.List; import sg.com.temasys.skylink.sdk.rtc.SkylinkMedia; import sg.com.temasys.skylink.sdk.sampleapp.BaseService; import sg.com.te...
26.633166
121
0.608868
a9d7485d1c97135d637770667776128f9cd88c5a
3,795
/* * Copyright 2004-2009 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 ap...
33.289474
88
0.69697
5cdb0b6861e4d3deea0946b41246bad8ff1e9ef9
583
package ai.datagym.application.labelIteration.models.change.update; import ai.datagym.application.labelIteration.entity.geometry.SimplePointPojo; public class PointChangeUpdateBindingModel extends LcEntryChangeUpdateBindingModel { private SimplePointPojo point; public SimplePointPojo getPoint() { re...
24.291667
84
0.682676
b21d82e3930c48dd0e3c81131efe55fbe27e2f13
1,702
package org.iupac.fairdata.sample; import org.iupac.fairdata.common.IFDConst; import org.iupac.fairdata.core.IFDReference; import org.iupac.fairdata.core.IFDRepresentableObject; import org.iupac.fairdata.core.IFDRepresentation; /** * An IFDSample represents a physical sample that optionally has one or the * other o...
33.372549
111
0.783784
375555b1eb5f4a43f0706be29c84bd499fdc0cd5
351
package de.vta.vtalauncher.exception; public class VtaLogicException extends vtaException { public VtaLogicException(String message) { super(message); } public VtaLogicException(Throwable cause) { super(cause); } public VtaLogicException(String message, Throwable cause) { ...
21.9375
63
0.68661
60370944ea411d8dbdc3b1619a0dfa11f2d4dbda
1,078
package com.reason.lang.ocaml; import com.reason.lang.core.psi.PsiVal; import com.reason.lang.core.psi.impl.PsiLowerIdentifier; import com.reason.lang.core.psi.impl.PsiScopedExpr; import com.reason.lang.core.psi.impl.PsiValImpl; public class ValParsingTest extends OclParsingTestCase { public void test_qualifiedName...
29.944444
85
0.694805
522b1bbeacbbb7a8e2e707629c2b81b7e29b4d45
957
package com.example.shmulik.control; import android.app.Fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import com.example.shmulik.myjavaproject.R; /** * Create...
30.870968
103
0.742947
2c59c829873b9845d296fc0eb9350f261b506584
458
/*-------------------* | Rodrigo CavanhaMan | | URI 2172 | | Evento | *--------------------*/ import java.util.Locale; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int X, M; X = sc.nextInt(); M = sc.nextInt(...
17.615385
41
0.504367
81dd237b7f3300be06eb770bbf24118f6ade5f9c
4,746
package com.andreistraut.gaps.datamodel.graph; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; public class DirectedWeightedGraphStaticTest { private final int RUN_LIMIT_SMALL = 10000; p...
36.790698
89
0.663506
ad1268f563183e003aef1b2838b1ef9f03da4a28
10,760
/* * 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 ...
50.754717
119
0.67277
0eb33ac1ef0d49748c0cb1b04a1e1e3bcd0f1819
1,526
package com.softicar.platform.common.core.constant.container.field; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.Objects; public class ConstantContainerField<T> implements IConstantContainerField<T> { private final Class<?> containerClass; private final Class<T> expectedField...
20.078947
98
0.742464
e83565a329534feec37de3088722268c6b5eeb0a
4,528
/******************************************************************************* * Copyright 2016 Geoscience Australia * * 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....
28.477987
111
0.702959
336e77798e5ce6161a4fc7c0a388d6b996fe1c5f
1,580
package seedu.address.model.recipe; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.testutil.As...
35.111111
97
0.718987
6a6f354170b931b4f231ffc9115be165dc496d22
7,403
package options; import java.io.*; import java.util.Vector; import javax.microedition.rms.*; import mts.TransSched; import ObjModel.Bus; import ObjModel.BusStop; import ObjModel.FilterDef; public class OptionsStoreManager { final static int SETTINGS_SLOT_COMMON = 1; final static int SETTING...
22.919505
73
0.623801
14783bd7426e491638ea879071350fad0fb75728
773
/* * Copyright (C) 2020 Intel Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.intel.iot.ams.service; import com.intel.iot.ams.entity.Product; import com.intel.iot.ams.repository.ProductDao; import com.intel.iot.ams.repository.hibernate.ProductDaoImpl; public class ProductServic...
20.891892
67
0.739974
54940979a4552d4bcd42cde18d07d9428e9feaca
14,730
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
32.231947
162
0.794976
3ee0102c453f28a73474f35b11c468132f8a7201
19,010
/* * Copyright 2015 Jeff Hain * * 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...
37.495069
133
0.550552
467eecabedf231ed167344981b433542a878c183
837
package com.hartwig.pipeline.alignment.bwa; import java.util.List; import com.google.common.collect.Lists; import com.hartwig.pipeline.execution.vm.Bash; import com.hartwig.pipeline.execution.vm.SambambaCommand; import org.jetbrains.annotations.NotNull; class SambambaMarkdupCommand extends SambambaCommand { Sa...
34.875
118
0.749104
6bb750d3cdd34b8cbeadde3de1c51569ce053eda
3,171
package com.jxd.archiveapp; import android.app.Activity; import android.content.Intent; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.avast.android.dialogs.fragment.ProgressDialogFragment; import com.jxd.archiveapp.bean.CloseEvent;...
29.091743
134
0.6386
baa3a036ab7efe9c53d5d9d6f941a07d6b407152
1,011
package com.example.rh.ec.main.personal.order; import android.view.View; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.listener.SimpleClickListener; import com.example.rh.core.fragment.BaseAppFragment; /** * @author RH * @date 2018/11/12 */ public class OrderListClick...
24.658537
89
0.74184
96ce1ca320d063713083be949b08101779f4f948
4,795
/* * Copyright 2016 Crown Copyright * * 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...
35.518519
97
0.676538
729a189ac2d007408b247dc13aa3296077f42605
6,296
/* * Asset Share Commons * * Copyright (C) 2019 Adobe * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
41.150327
150
0.731576
2df35194096a859b54c57b05881eb4aae7ee31d4
1,649
package com.uniz.admin.mapper; import java.util.List; import org.apache.ibatis.annotations.Param; import com.uniz.admin.domain.Criteria; import com.uniz.admin.domain.Uniz; import com.uniz.admin.domain.UnizLayer; public interface UnizMapper { public List<Uniz> getListWithPaging(Criteria cri, Long unizSn); pub...
29.981818
145
0.783505
aca5a7b157222a02ad7aa7d096fe669f17d5edec
1,098
package server.pojo; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; public class OnlineManage{ public OnlineManage() { } public static List<UsersBuffer> onlineUsers = new ArrayList<UsersBuffer>(); public static List<GameRoom>Rooms = new ArrayList<GameRoo...
23.869565
107
0.686703
9d1c4162d381afba64c73b20679f4c4bc7926286
4,438
package org.algorithmdb.datastructures.map; import java.util.Stack; import java.util.concurrent.ArrayBlockingQueue; public class BinarySearchTreeMap<K extends Comparable , V> implements OrderedMap<K, V>{ Node root; private class Node<K, V> { K key; V value; Node leftNode; Node rightNode; public No...
21.543689
87
0.635872
b5a17cc434a636eb8ca10bf34efdf38f430629fa
15,695
package com.aliyun.svideo.base.widget.beauty.seekbar; import android.content.Context; import android.graphics.drawable.GradientDrawable; import android.os.Build; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.WindowManager; import android.widget.LinearLayout; impo...
41.302632
231
0.617012
aaa75d44fc39415eed3d22d56a30d7c517451efd
729
package sh.pancake.spellbox.api.observer; import java.util.Map; /* * Created on Sat Jan 09 2021 * * Copyright (c) storycraft. Licensed under the MIT Licence. */ public class MapValueObserver<K, T> implements IValueObserver<T> { private Map<K, T> map; private K key; private T lastValue; public ...
17.357143
66
0.59808
d6bed35ed2cf98da7834eee22e34fd407c0c6534
404
package no.nav.foreldrepenger.behandlingslager.behandling.inntektarbeidytelse; import javax.persistence.Entity; import no.nav.foreldrepenger.behandlingslager.kodeverk.Kodeliste; @Entity(name = "YtelseType") public class YtelseType extends Kodeliste { YtelseType(String kode, String discriminator) { super...
22.444444
78
0.742574
1cab19d29a0e37830e29971cb42ee89d4a746965
3,532
package com.test.printers; import com.test.cases.AbstractInstrumentationTest; import com.test.cases.SafeCaller; import com.test.cases.util.ForkProcessBuilder; import com.ulyp.core.CallRecord; import com.ulyp.core.printers.IdentityObjectRepresentation; import com.ulyp.core.printers.NullObjectRepresentation; import com....
34.970297
126
0.638165
e9cc55ecd4db457e721a9c62748707da14f1d6be
1,771
package com.bytezone.dm3270.display; import com.bytezone.dm3270.attributes.ColorAttribute; import java.awt.Color; public class ScreenContext { public static final ScreenContext DEFAULT_CONTEXT = new ScreenContext(ColorAttribute.COLORS[0], ColorAttribute.COLORS[8], (byte) 0, false, false); public final Col...
31.625
97
0.746471
56a9afa1a9cd6aea641db21ee74231e101db9e10
2,610
package problems; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; import static problems.BinaryTreeLevelOrderTraversal.*; public class BinaryTreeLevelOrderTraversalTest { @Test public void emptyTreeShouldBeEmptyListOfLists() { List<List<In...
27.765957
70
0.605364
f44979c2315dd7afd82e3aec5f13ed85311da1cd
4,628
package de.borisskert.spring.springvalidationexample; import org.json.JSONObject; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc; import org.springframework.boot.test.context.SpringBoo...
34.281481
108
0.613656
c9a9a7d9024a8cb69e0e3a672117fd9daf25dc96
973
package com.ceiba.pagos.administracion.servicio.testdatabuilder; import com.ceiba.pagos.administracion.comando.ComandoPagosAdministracion; import com.ceiba.pagos.administracion.modelo.dto.DtoConsultarSaldoPagosAdministracion; public class ConsultarSaldoPagosAdministracionTestDataBuilder { private String codigoIn...
28.617647
102
0.731757
fce07901be5024b2c1a6c0cb9f4abfd9649086be
2,531
/* * Copyright 2011-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
31.6375
160
0.751877
f991eae48d396c6e4681c3b9cf2f62259c42814f
2,570
/* * Board * * Max Rossmannek */ package monopoly; import java.io.FileReader; import java.io.BufferedReader; import java.util.ArrayList; public class Board { private char[][] board; // board 2d-array private int rows; // number of rows on board private int cols; // number of columns ...
19.469697
135
0.625292
2154ae9095fc31119542c75e801e91e8bb4a91e2
5,779
package com.skytala.eCommerce.domain.product.relations.costComponent.control.calc; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import javax.servlet.h...
38.785235
161
0.796678
6421efbfea8c474285483266eb40a8a087f5f488
225
package org.thehustletech.kafka; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class WsSpringbootKafkaApplicationTests { @Test void contextLoads() {} }
18.75
60
0.804444
47ec853fe3bc66d86518a36a76fd3f389f76a5cb
538
package com.learn.thread.exercise2; /** * Date: Tuesday, 3/16/21 * Time: 11:24 AM * Author: Hung.Pham */ public class RunExercise2 { public static void main(String[] args) throws InterruptedException { ThreadOne threadOne = new ThreadOne(2); ThreadTwo threadTwo = new ThreadTwo(2); ...
22.416667
72
0.6171
520b782fa3fe957030c50b84d410578449ad9be1
2,586
package utils; public class arrayEnteros { /** * Introduce un valor en una posición de un array de enteros, desplazando el * valor existente y todos los que hay acontinuacion a la derecha, no se * borra nungún valor. * * @param array Array de enteros original * @param pos P...
32.325
83
0.535189
5f99e0b7501c4fec5a3413b610384c72a9d94b57
321
package com.marklalor.monopolysim.game.display; import java.awt.image.BufferedImage; public class DisplayHQ extends Display { @Override public void draw() { // TODO draw on HQ graphics; } @Override protected BufferedImage createImage() { return new BufferedImage(600, 400, BufferedImage.TYPE_INT_RGB); } }...
16.894737
65
0.753894
d912300beb78116de77af6b56e4cd97bebd29d99
4,196
package hu.unideb.inf.notebookservice.service.impl; import hu.unideb.inf.notebookservice.commons.exeptions.AlreadyExistsException; import hu.unideb.inf.notebookservice.commons.exeptions.NotFoundException; import hu.unideb.inf.notebookservice.commons.request.ModificationRequest; import hu.unideb.inf.notebookservice.per...
45.11828
118
0.753813
3a412d2fa54da8631e0b893a6c6522d4f2effe17
2,864
import java.io.IOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class C3063467A4Conf { public static java.util.Scanner xbox =...
38.702703
99
0.699022
b8430ab04526cb949e955f5aa96a7c83048b4662
17,131
package eu.daiad.web.mapreduce; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Array; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLExc...
37.485777
138
0.606094
b5dea5b50444439743481ee1c90eaad13ed8f5ca
8,347
package no.sb1.troxy.record.v2; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import no.sb1.troxy.http.common.Response; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * A templated Response, used for creating a R...
35.071429
139
0.587037
67ad6c32a17c17cc10f2549ec29b2f5735e72da7
629
package com.jyg.gameserver.queue; /** * created by jiayaoguang at 2018年5月26日 */ class Data { private final long squenceId; private long timeMills; private Object content; public Data() { squenceId = 0L; timeMills = System.currentTimeMillis(); } public Object getContent() { return content; } public ...
15.725
46
0.691574
ea0ea06633b54c68943da122be22e0a1021bafb1
443
/** * An app built in JavaFX to graphically simulate the Three-Body Problem in classical mechanics. */ module threebodysimulation { requires javafx.controls; requires javafx.fxml; requires commons.math3; requires commons.csv; requires java.desktop; requires org.kordamp.ikonli.javafx; requi...
27.6875
96
0.744921
39e5db2e21e239a8ac15ed41658f30aa11b167c2
3,301
/* * Maintained by brightSPARK Labs. * www.brightsparklabs.com * * Refer to LICENSE at repository root for license details. */ package com.brightsparklabs.asanti.decoder.builtin; import static com.google.common.base.Preconditions.*; import com.brightsparklabs.asanti.common.DecodeExceptions; import com.brightspa...
35.494624
96
0.615874
76410135f1e9c4e90e78b123a45f68b294fafe86
3,244
/******************************************************************************* * Copyright 2017 The MITRE Corporation * and the MIT Internet Trust Consortium * * 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 ...
28.45614
81
0.717324
0abf0f308ba05ce329388c90fa068514f890fff4
786
package ru.roborox.itunesconnect.api.analytics.model; import java.util.Arrays; import java.util.List; public class ApiList<T> { private int size; private List<T> results; public ApiList() { } public ApiList(int size, T... results) { this.size = size; this.results = Arrays.asList(...
18.27907
53
0.55598