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
b5f06c081fffa59a6bbcdff831a8d1f406bb77f6
7,098
/** * */ package com.ctapweb.web.client.service; import java.util.List; import com.ctapweb.web.shared.Analysis; import com.ctapweb.web.shared.AnalysisEngine; import com.ctapweb.web.shared.PlotData; import com.ctapweb.web.shared.exception.AccessToResourceDeniedException; import com.ctapweb.web.shared.exception.Data...
30.86087
91
0.764159
475d33f676663563d5381c11e7f4d62400a78d82
4,052
package com.aconcepcion.geofencemarkerbuilder; /** * This class manages a map circle, with markers * * Currently there's position marker (in the middle) and resizing marker (in border) * Long pressing these markers allow to change circle position or size. * * @author A-Ar Andrew Concepcion * */ import android...
37.869159
142
0.716436
5afd272ff0bfdeb259ad054bd15b033e83455ca6
5,142
package org.meridor.perspective.worker.fetcher.impl; import org.meridor.perspective.backend.messaging.Destination; import org.meridor.perspective.backend.messaging.IfNotLocked; import org.meridor.perspective.backend.messaging.Producer; import org.meridor.perspective.backend.storage.ProjectsAware; import org.meridor.pe...
39.860465
201
0.683975
2d84060d518c7ad22edb6b001e71fb05c3e4fe28
628
package fpl.sdk.model; import java.util.List; public class EntryRoot { private List<EntryChip> chips; private Entry entry; private List<EntryEvent> history; private EntryLeagues leagues; private List<EntrySeason> season; public EntryRoot() { } public List<EntryChip> getChips() ...
15.317073
42
0.619427
ecbfb1677ae16ef107ec4b515ac73314cc7d5821
1,199
package pl.filmbox.services.implementations; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import pl.filmbox.models.Person; import pl.filmbox.repositories.PersonRepository; import pl.filmbox.services.PersonService; import javax.transaction.Transactional;...
24.979167
65
0.744787
8b75b177aca6b6c19fffb48b5c4d085d7630affb
6,121
/* * Copyright 2020 berni3. * * 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 ...
47.820313
176
0.555628
f7661f30adb28a03f9bda20309c58c935c94c13d
2,481
package org.wycliffeassociates.translationrecorder; import android.app.Activity; import android.content.Context; import android.view.View; import android.view.inputmethod.InputMethodManager; import org.wycliffeassociates.translationrecorder.Reporting.Logger; import java.io.File; /** * Created by sarabiaj on 7/1/20...
29.535714
125
0.613462
b0bda3f506c3486018adbd2c4e89b241c7abb4c2
6,242
package org.apache.maven.model.profile.activation; /* * 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 ...
32.680628
119
0.629926
0894a66793820049beb3d2a972339a7fbfba02b5
486
package ru.maximkulikov.goodgame.api.handlers; /** * Обработчик неуспешных ответов */ public interface BaseFailureHandler { /** * @param statusCode Код ответа * @param statusMessage Сообщение с ошибкой * @param errorMessage Детальное опсиание ошибки */ void onFailure(int statusCode, S...
25.578947
78
0.699588
2b27c2f1d6f30574901c3cfa53b5877df9157bed
9,085
/* * $Id$ */ /* Copyright (c) 2000-2008 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
32.916667
96
0.695982
294545f7b7e7b7b2950b10b0fbb3b2f39cbb3372
4,711
/* * Copyright 2016 jeffrey. * * 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...
35.156716
115
0.722776
a07e5b91c485a90120597f05552f1341765ce823
76
package com.lambdaschool.piggybank.piggybank.models; public class Coin { }
12.666667
52
0.802632
3d2500825ce4e752459592980410fad80d1d36c7
4,481
/* ID: xinkun.2 LANG: JAVA TASK: namenum */ import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; class namenum_v1 { public static void main(String[] args) throws IOException { Scanner reader = new Scanner(new Fi...
24.486339
107
0.61281
1d521a855bf44af6d3d35b775c8a7f800462b072
3,359
package tos.system; import java.awt.*; import java.awt.event.*; import java.util.*; import com.sun.java.swing.*; import tos.api.*; import javax.swing.*; /** This dialog is used to allow users to enter in the mount point * to which a disk is to be mapped. The mount point must be an * absolute file name...
26.65873
121
0.664483
a97d2dd7aa20a799c20eca04495b24f6b728e3d0
5,523
/* * 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 ...
40.021739
108
0.671374
29a5a3d2fe3fe80f027d6ca0d74537637ef196cd
1,817
package dexter.modifier; import dexter.ir.Expr; import dexter.ir.Transformer; import dexter.ir.bool.CallExpr; import dexter.ir.bool.FuncDecl; import dexter.ir.bool.LetExpr; import dexter.ir.bool.VarExpr; import dexter.ir.type.TypesFactory; import java.util.ArrayList; import java.util.HashSet; import java....
30.283333
114
0.647771
34a82c2dbc7ad188ca4dc2f0a729d850f208e756
616
package com.interdepartmental.service; import com.interdepartmental.model.Rent; import com.interdepartmental.repository.RentRepository; import org.springframework.stereotype.Service; import java.util.ArrayList; @Service public class RentServiceImpl implements RentService { RentRepository rentRepository; pub...
22.814815
58
0.74513
825e9dc11e5c239047305387598da4a45c6a81ff
1,125
package tlist.db; import java.sql.SQLException; import java.util.List; import tlist.models.Label; public class LabelDao implements Dao<Label> { private final QueryRunner<Label> query; public LabelDao(Database db) { this.query = new QueryRunner<>(db, new LabelCollector()); } @Override pu...
27.439024
68
0.610667
41084ea8de4165b6fc84c1a8f3eca8673fb53be4
1,864
/* * 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 edu.eci.arsw.cinema.persistence; import edu.eci.arsw.cinema.model.Cinema; import edu.eci.arsw.cinema.model.CinemaFunction; imp...
28.676923
113
0.671674
fd681f9927f3e2db63e99a5807b5230d139093b2
1,558
package com.nokia.library.nokiainnovativeproject.controllers; import com.nokia.library.nokiainnovativeproject.DTOs.Email; import com.nokia.library.nokiainnovativeproject.services.EmailService; import com.nokia.library.nokiainnovativeproject.utils.EmailRecipients; import com.nokia.library.nokiainnovativeproject.utils.M...
44.514286
99
0.838896
d0bbf986404e3299a5ac92d405d655e01b77b81d
3,369
/* Copyright (c) 2013 The MITRE Corporation, All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work 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...
32.085714
116
0.674681
f80f32f7de3c839c8136019d9252dec66d31ecb9
1,089
https://leetcode.com/problems/sort-integers-by-the-number-of-1-bits/ //problem no : 1356 /* Explanation: 1. Create Look up table for given length. 2. Now we know that we have maximum 32 bits in integer so number of 1 in given number will be in 0 to 32 3. Iterate over number for 0 to 32 let say i 1) Che...
26.560976
85
0.484848
2619cf25defb4dbc1e4fe87ad866c3dca464957e
2,389
package uk.gov.hmcts.cmc.claimstore.tests.functional.citizen; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.springframework.http.HttpStatus; import uk.gov.hmcts.cmc.claimstore.idam.models.User; import uk.gov.hmcts.cmc.claimstore.tests.BaseTest; import uk.gov....
32.726027
104
0.706572
1f602488695e29999520b66f1c7708655a5632d2
6,835
package net.wuebros.android.remoteioagent; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; /** * Created by Benedikt on 16.05.2015. */ public class ScreenPanel extends JPanel { private boolean wasNull = false; private BufferedImage originalDeviceImage...
35.414508
175
0.537381
299944e449d133d9a0ed0466e85d7d86c66c21d4
523
// Int // java语言提供各种大小的整型 // java没有无符号数,没有平台相关的整型 // int8 -> byte // int16 -> short // int32 -> int // int64 -> long class Int { public static void main(String[] args) { long max_long_long = Long.MAX_VALUE; long min_long_long = Long.MIN_VALUE; int max_int = Integer.MAX_VALUE; int min...
27.526316
88
0.604207
f98d65aba76c77e6bec52f865356cf04b8b3aa65
1,803
/* * Copyright 2014 Semyon Proshev * * 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 ...
30.05
75
0.575153
b7d493c71c8b24482e44bac7ca7df8ccd3dda0f6
539
package com.centurylink.cloud.sdk.server.services.dsl.domain.statistics.monitoring; /** * @author aliaksandr.krasitski */ public class DiskUsage { private String id; private Integer capacityMB; public Integer getCapacityMB() { return capacityMB; } public DiskUsage capacityMB(Integer cap...
19.25
83
0.634508
aba6867421beeb52dd52a24464c29751c91c84a7
1,067
package ch.unisg.tapasexecutor.executor.service; import ch.unisg.tapasexecutor.executor.core.Executor; import ch.unisg.tapasexecutor.executor.core.Task; import ch.unisg.tapasexecutor.executor.web.ExecutorAdapter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling...
33.34375
103
0.758201
886cd616072dba4ffd9cad7e1d8ea1ad37a1f0ac
618
package com.smzdm.soy.domain; import com.smzdm.soy.util.BuiltIn; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * Created by zhengwenzhu on 2016/11/16. */ public class ProxyServiceFactory { private static final Map<BuiltIn.Proto, ProxyService> proxyServices = new ConcurrentHashMap<Bui...
28.090909
127
0.752427
a47d67f053b70f3d8bdf2ad1d00ff78e067adcfe
2,768
package com.baz.app.lc.easy; import com.baz.app.Interface.Google.Google; import com.baz.app.util.Utils; public class RelativeRanks implements Google { public String[] findRelativeRanks(int[] nums){ if(nums == null || nums.length == 0) return new String[]{}; String [] result = new String[nums.leng...
28.536082
70
0.419075
7d483172912fa6fd1b7a77d2fa97c526f7d8ca56
803
package com.nicotinaestudio.forestamovil.model; import com.nicotinaestudio.forestamovil.adapters.ContentAdaptable; public class CAT implements ContentAdaptable{ public int id; public String uuid; public String denominacionORazonSocial; public String estado; public String municipio; public String domicilio; pu...
24.333333
66
0.800747
1cbe13919ae0f77ddee9fd633f255e06e3e0ab40
4,468
package com.phicomm.product.manger.module.navigation; import com.alibaba.fastjson.JSON; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.io.Resources; import com.phicomm.product.manger.exception.DataFormatException; import com.phicomm.product.manger.model.navigati...
36.325203
94
0.659132
97d4c9fb556945f8f040357fd79f415d3dd804cf
1,371
package org.firstinspires.ftc.teamcode.drive; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.Servo; import org.jetbrains.annotations.NotNull; public class GrabberHandling { Servo arm; Servo gripper; public GrabberHandling(@NotNull HardwareMap hardwareMap) { ...
29.170213
63
0.592268
2fbb8cfadfe9903e2902457134b1dea9851f4745
591
package io.nbs.client.ui.panels.im.views; import io.nbs.client.ui.holders.AvatarViewHolder; import javax.swing.*; /** * @Package : com.nbs.ui.holder * @Description : <p></p> * @Author : lambor.c * @Date : 2018/6/24-8:14 * Copyright (c) 2018, NBS , lambor.c<lanbery@gmail.com>. * All rights reserved. */ public ...
19.7
64
0.661591
ac0c430beafaa887605e6303b8dbe8b07f4d8f65
365
package com.CreditCardNumEngine.app.CreditCardNumEngine; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CreditCardNumEngineApplication { public static void main(String[] args) { SpringApplication.run(Credi...
28.076923
68
0.846575
61308558dc01285f4599d1d69c50921324a2b245
9,127
/** * LIZENZBEDINGUNGEN - Seanox Software Solutions ist ein Open-Source-Projekt, * im Folgenden Seanox Software Solutions oder kurz Seanox genannt. * Diese Software unterliegt der Version 2 der Apache License. * * PDF Service * Copyright (C) 2021 Seanox Software Solutions * * Licensed under the Apache License...
38.838298
107
0.590665
e1544fc95625b42e12605399d3d541251877e0c4
5,592
/* * Copyright 2018 jd.com * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
26.628571
106
0.695458
b613df0bc0c25f4be09ce228832e9552b595fc56
3,495
package com.fitpay.android.utils; import com.fitpay.android.api.models.ErrorResponse; import com.fitpay.android.api.models.Links; import com.fitpay.android.api.models.Payload; import com.fitpay.android.api.models.Transaction; import com.fitpay.android.api.models.card.CreditCardInfo; import com.fitpay.android.api.model...
47.22973
119
0.727897
02445f8d2dc4874b24d1c3c8c875bab130c0e4a7
3,054
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2015 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...
33.195652
85
0.697773
221773faf7187af69ece520a9dfbc62fe82ab51e
6,280
package com.lisong.learn.core.containers.test; import com.lisong.learn.core.containers.util.CollectionData; import com.lisong.learn.core.util.Generator; import java.util.*; public class ListPerformance<T> { private static Random rand = new Random(100); private static int reps = 100; public List<Test<Lis...
33.763441
73
0.451911
8c755eaf3688ae15504bceb5c9c6b45f335998fa
494
/** * Exercise 10 - Polymophism * @author wei.shen@iro.umontreal.ca * @version 1.0 */ package com.ciaoshen.thinkinjava.chapter8; import java.util.*; class ExerTenBase { /** * PUBLIC METHOD */ public void call(){beCalled();} public void beCalled(){System.out.println("From Base!");...
14.969697
61
0.534413
ee790a84b3888296ecd921718f608edb9e54aea6
3,520
/* ### * IP: GHIDRA * * 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 writin...
31.428571
86
0.739773
57eb83caa33366e619b9142e4ba147fddb3b1dbf
1,654
/** * Copyright(C) 2013 Patrik Dufresne Service Logiciel <info@patrikdufresne.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/LIC...
28.517241
80
0.637243
0309ab69234e5d4521df33212d3383ab80322ebc
762
package org.ovirt.engine.core.common.vdscommands; import org.ovirt.engine.core.common.utils.ToStringBuilder; import org.ovirt.engine.core.compat.Guid; public class GetVGInfoVDSCommandParameters extends VdsIdVDSCommandParametersBase { private String privateVGID; public GetVGInfoVDSCommandParameters() { } ...
24.580645
82
0.695538
3ea198750a6ff0491a32c01891d39eb66040f1dc
5,700
package com.aerospike.explore; import com.aerospike.client.*; import com.aerospike.client.Record; import com.aerospike.client.policy.Policy; import com.aerospike.client.policy.WritePolicy; import com.aerospike.documentapi.*; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databi...
37.748344
142
0.692456
03ae077e06834077052db14ac468b2c757f60e68
354
package com.kuafu.framework.excel.utils; /** * Created by yangjiayong on 2016/9/23. */ public interface ExcelConvertInterface { public String convertTo(Object value,String fieldName,String fieldDesc); public Object convertFrom(Class type,String value,String fieldName,String fieldDesc,boolean required) thro...
27.230769
140
0.793785
a2b3e9b8df2ebd36398e2fa10ab988d0c2eaa2e1
4,768
package com.github.tangyi.user.service; import com.github.tangyi.common.core.constant.CommonConstant; import com.github.tangyi.common.core.service.CrudService; import com.github.tangyi.common.security.constant.SecurityConstant; import com.github.tangyi.common.security.utils.SysUtil; import com.github.tangyi.user.api.c...
30.369427
144
0.646602
1445f086ea1676def517da11b32062e564fba284
757
package com.github.davidmoten.oas3.internal.model; import com.github.davidmoten.guavamini.Lists; import org.junit.Test; import java.util.Optional; import static org.junit.Assert.assertEquals; public class InheritanceTest { @Test public void testToString() { Inheritance a = new Inheritance("Vehicle", ...
29.115385
107
0.574637
7567dde61332feecd724663277a5e93d6c200652
5,993
package trader.simulator; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j....
34.843023
148
0.696146
30dbea9a7137a474ad873080ccc619530db3e977
332
package dataAccess; import org.json.simple.JSONObject; public interface DataAccessor { void updateRecord(JSONObject person); boolean removeUser(String id); void addRecord(JSONObject person); String getRecordById(String id); String getRecord(String firstName, String lastName); String getAny...
18.444444
54
0.746988
4924253dbe44609818b6298fd7114f6ffa59e236
6,614
package com.bfsi.mfi.cbs.model; public class CbsEnrollCustomerDocument { private String enrolmentId; private byte[] kycCustImage; private byte[] kycIdImage1; private String kycIdType1; private String kycIdNo1; private String kycIdProofType1; private byte[] kycIdImage2; private String kycIdType2; private S...
25.937255
61
0.76202
83bacdffe56139e5709158bdcb1af06584a51519
1,327
package com.codeborne.selenide.logevents; import org.junit.Test; import static com.codeborne.selenide.logevents.LogEvent.EventStatus.IN_PROGRESS; import static org.junit.Assert.assertEquals; public class SelenideLogTest { @Test public void testGetSubject() { SelenideLog log = new SelenideLog("Element", "Sub...
27.081633
96
0.689525
25564c3138579bcc3d292513329d25ec76ecafea
3,958
package org.openecomp.core.migration.convertors; import com.amdocs.zusammen.datatypes.item.ElementContext; import com.amdocs.zusammen.datatypes.item.Info; import com.amdocs.zusammen.plugin.statestore.cassandra.dao.types.ElementEntityContext; import com.amdocs.zusammen.sdk.collaboration.types.CollaborationElement; impo...
46.564706
130
0.745326
93d48eda1d70b3e29edbe80948e0b08f0ecbddca
150
package io.syndesis.qe.entities; /** * Mar 1, 2018 Red Hat * * @author tplevko@redhat.com */ public enum DataSourceType { java, json, xml }
12.5
32
0.653333
f301ebfe68937444d325932c2a838d3dde9ff8d6
9,426
/* * LingPipe v. 4.1.0 * Copyright (C) 2003-2011 Alias-i * * This program is licensed under the Alias-i Royalty Free License * Version 1 WITHOUT ANY WARRANTY, without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Alias-i * Royalty Free License Version 1 for more det...
37.404762
110
0.633991
803061d9c9bbcbe7b24ae161bc886b0209b02c46
6,137
/* * Copyright (c) 2018 Oracle and/or its affiliates. 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 * * Unle...
36.96988
128
0.648525
58ff29e1cc2644ee77d517c723cc64a730304cc0
191
package com.github.shoothzj.demo.command; import com.beust.jcommander.Parameters; /** * @author hezhangjian */ @Parameters(commandNames = {"pulsar"}) public class SubPulsarCommand { }
13.642857
41
0.73822
7940e1246529b6c5ee6300c284cf9cb68298babf
5,227
/* * Copyright (c) 2018 by Oliver Boehm * * 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...
34.163399
107
0.678018
132d449206fb8cda92fab6b4f45f1022232cc285
299
package io.neow3j.abi.exceptions; /** * Base class for NEP3 exceptions. */ public class NEP3Exception extends Exception { public NEP3Exception(String message) { super(message); } public NEP3Exception(String message, Throwable cause) { super(message, cause); } }
18.6875
59
0.672241
39ea3af39d46a4f3b22884c56f7bd20648d9d14d
205
package com.github.heywhy.springentityfactory.contracts; import com.github.javafaker.Faker; public interface FactoryHelper<T> { Class<T> getEntity(); T apply(Faker faker, ModelFactory factory); }
25.625
56
0.770732
592885810ffc79866a39c02f299edbf6774e67fe
1,947
package fi.om.municipalityinitiative.web.controller; import fi.om.municipalityinitiative.service.CachedInitiativeFinder; import fi.om.municipalityinitiative.service.MunicipalityService; import fi.om.municipalityinitiative.web.Urls; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Contr...
34.157895
113
0.766821
99aba6c2844288b7b0abb0ee75ed9668eb22940c
1,027
package per.yunfan.cse406.rmi; import per.yunfan.cse406.rmi.beans.Group; import java.rmi.Remote; import java.rmi.RemoteException; /** * RMI的计算器接口定义部分,RMI需要远程调用的接口都必须继承Remote接口 */ public interface Calc extends Remote { /** * 测试的add方法,输入两个integer值,返回它们的和 * * @param a 第一个integer参数 * @param b ...
23.883721
64
0.678676
cbbff97bac028b580a29e1814a16f0e7b57049d8
5,184
/* * Copyright 2018 Genentech Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
41.142857
118
0.752894
c2cd5ae285c05796bb6991e42296a5f5f627abb3
35,861
package nablarch.common.mail; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.sql.SQLExce...
36.932029
117
0.607624
7de6c689215c0b4e0712c98ece8b4d3eecea0217
568
package javaweb.battleShipsExam.repository; import javaweb.battleShipsExam.model.entity.ShipEntity; import javaweb.battleShipsExam.model.entity.UserEntity; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interfa...
24.695652
72
0.81338
e2bc8c1f12174a995cff1dd0eb09da0f2e8e8d50
2,256
/** * NOTE: This class is auto generated by the swagger code generator program (3.0.14). * https://github.com/swagger-api/swagger-codegen * Do not edit the class manually. */ package io.swagger.api; import io.swagger.model.Devices; import io.swagger.model.ErrorResponse; import io.swagger.annotations.*; import org....
52.465116
271
0.759752
2541ce3f8fc9f92956fb9267ab844b778426c078
12,371
/* * 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 simplivitygui; import java.nio.charset.Charset; import java.io.BufferedReader; import java.io.IOException; import java.io.Inpu...
33.708447
104
0.553553
e610e128d44cb5b794f03da092e36c6b9748dc0b
2,611
package org.orecruncher.dsurround.processing; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.util.Formatting; import net.minecraft.util.math.BlockPos; import org.orecruncher.dsurround.Client; import org.orecruncher.dsurround.eventing.ClientEventHooks; import org.orecruncher.dsurround.lib.math.Ti...
34.813333
131
0.73535
d75da4af39f64162da5446b14e861ce76592ddde
207
package com.example.hades.dagger2._13_created_twice_when_live_together.live_together; public class Test { public static void main(String[] args) { new LiveTogetherActivity().onCreate(); } }
25.875
85
0.743961
077dcd3c45946e056c017f9d6e8df2170e42e068
1,335
package com.ymartin.ui.example; import com.ymartin.data.model.User; import com.ymartin.data.repository.UserRepository; import com.ymartin.ui.base.Presenter; import java.util.List; import javax.inject.Inject; import rx.Subscriber; import rx.android.schedulers.AndroidSchedulers; import rx.schedulers.Schedulers; publ...
25.188679
101
0.597753
f5a168a376cfc5202afbff377bac20bde2f58c74
313
package it.kdevgroup.storelocator.database; import java.util.Map; /** * Created by damiano on 20/04/16. * Interfaccia per la gestione di una query asincrona eseguita sul database. */ public interface IAsyncMapQueryHandler { void handle(Map<String, Object> value, Throwable error); void onFinish(); }
24.076923
76
0.744409
ec209945c8c1fc0e7158e1fb083ba5780b936d87
49
package unet.kad3.kad; public class RPCCall { }
9.8
22
0.734694
cd6691884baee9d3d40b9f079865d25497e4bf0e
866
package vmware.CPBU.crd.vmimage; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.model.KubernetesResource; @JsonDeserialize( using = JsonDeserializer.None.class ) public class VirtualMachineImageOSInfo i...
23.405405
70
0.660508
a48ec150ac2e981fef224be6c61db8c29bca1838
11,646
package tests.storage.migrator; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.stream.Collectors; import...
46.031621
123
0.703847
edab73d20af3a6c613a6622bec6d90a80c6ceb9c
424
package shiver.me.timbers.cloudformation.json; import com.fasterxml.jackson.databind.ObjectMapper; import static com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES; public class ObjectMappers { public static ObjectMapper objectMapper() { final ObjectMapper mapper = new Obje...
28.266667
95
0.773585
0c756725de239f949b5eda18703bdc7472071266
5,782
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2015 Florian Kohlmayer, Fabian Prasser * * 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/LI...
31.944751
109
0.619682
76dea2f675306e60eb30468376c8efa1b9aad019
114
package com.example.hospitalfinder; import android.app.Activity; public class ItemFragment extends Activity { }
16.285714
44
0.815789
c7850eb2874a98b685c5f8a9fecdcde67068f0c4
10,984
package org.apache.helix.controller.stages; /* * 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 ...
39.369176
128
0.73343
2d88c61bb267094ff7183df0e545e1316a9392cf
1,102
package Package01; import java.util.*; public class Maps_01 { public static void main(String[] args) { System.out.println("Hashmap : keys not in any fixed order"); System.out.println("LinkedHashMap : keys in order of insertion"); System.out.println("TreeMap : keys in natural order"); ...
30.611111
84
0.598911
38f8d4990eef17ababfcb9e2d714d4cd93f9fa97
440
package com.macro.mall.dao; import com.macro.mall.model.CmsSubjectProductRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Customize product and thematic relationship operations Dao * Created by macro on 2018/4/26. */ public interface CmsSubjectProductRelationDao { /** * ...
24.444444
94
0.756818
159d96c81b51c6c9e37753af15aa11851b3db735
402
//#Patterns: category_java_errorprone_JumbledIncrementer public class JumbledIncrementerRule1 { public void foo() { for (int i = 0; i < 10; i++) { // only references 'i' //#Warn: category_java_errorprone_JumbledIncrementer for (int k = 0; k < 20; i++) { // references both 'i' and...
30.923077
74
0.557214
78555c9eb677f6d16586bea22deabd4bfe42f927
638
package com.concurrenteditor.model; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class OperationTest { @Test public void testOperation() { int [] pos = new int[]{1,2,4}; String clientId = "545432198788353"; String type = "INSERT"; ...
29
69
0.645768
747e72f0a65093daff636d09ee3d306291143cdc
182
package br.com.limaflucas.word_genius_server.application.dtos; import lombok.Builder; import lombok.Data; @Data @Builder public class PlayerDTO { private final String name; }
15.166667
62
0.785714
2799a8fe6117a76c8469e8cc2e32cfa8beb5de7f
1,610
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CmdTypeCliSyntax.CMDTYPE_APPOINTMENT; import static seedu.address.logic.parser.CmdTypeCliSyntax.CMDTYPE_DIAGNOSIS; import static seedu.address.logic.parser.CmdT...
38.333333
94
0.779503
329ee5599eef6eafc9cc5c50f130a41f3719654c
543
package com.shuframework.designpattern.composite.example1; /** * @author shuheng */ public abstract class Component { public abstract void someOperation(); public void addChild(Component child) { throw new UnsupportedOperationException("对象不支持这个功能"); } public void removeChild(Component chil...
21.72
61
0.705341
d48fea9c6ef99f1a31cbaeb69c57cbc39ed9132f
509
package de.bitnoise.sonferenz.service.v2.actions; import java.io.Serializable; /** * Memmento for this action. Concrete classes get stored via XStream. * It's highly recommend to use XStreamAlias for your State. */ public interface ActionState extends Serializable { /** * The name under which this class get's...
21.208333
69
0.699411
2c97a0ab55cbd375f16f1f799a7b60d15d5ed709
11,348
/* * Copyright (C) 2006 Kai Toedter * kai@toedter.com * www.toedter.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your opt...
24.351931
91
0.69889
d4b2fc6273a2739adb55b96a916a336f6337d258
3,158
package indi.cyd.InformationPortal.Servlets; import indi.cyd.InformationPortal.Utils.VerificationUtil; import indi.cyd.InformationPortal.dao.Account; import indi.cyd.InformationPortal.dao.Operation; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServle...
40.487179
119
0.626029
f8a93b4bb18dd2b1959b9b470c96590bdf1605d3
1,646
import java.util.Scanner; public class ExF_Volumes_Solidos_Revolucao { static Scanner ler = new Scanner(System.in); public static void main(String[] args) { String solido; double raio, altura, volume; solido = ler.nextLine(); while (solido.equals("fim") == false) { ...
30.481481
80
0.481774
44983e2749ce156f46d579acad69987228b167fd
3,012
/* * Copyright (c) 2019-2020 gzu-liyujiang <1032694760@qq.com> * * The software is licensed under the Mulan PSL v1. * You can use this software according to the terms and conditions of the Mulan PSL v1. * You may obtain a copy of Mulan PSL v1 at: * http://license.coscl.org.cn/MulanPSL * THIS SOFTWARE IS PROV...
31.051546
99
0.551129
b1e1183721d4dcfcb6fd9de242dacd02cabceabf
2,842
/* * Copyright (c) 2017 BlizzedRu (Ivan Vlasov) * * 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 l...
20.3
75
0.641098
f7f3170876430510e381a4a7d8b6f74103171380
56
// "Suppress for class" "true" class <caret>BaddName { }
18.666667
30
0.678571
5256f09d16effd283f0b3ab7e820637f8bff1535
14,202
/* * 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 ec.edu.ups.vista; import ec.edu.ups.controlador.ControladorCliente; import ec.edu.ups.controlador.ControladorTicket; import ec...
51.456522
266
0.671948
ede95cec5937ed75c8589f28fae58c6b167980fa
397
package com.majoapps.lunchapp.business.domain; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import lombok.Data; @Data @JsonInclude(JsonInclude.Include.NON_NULL) public class RecipeDto { @JsonProperty("title") private String titl...
24.8125
66
0.790932
b36a0bf44f6572b059d96d22b3bdcbc34f9585cd
584
package com.metaui.core.util.format; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.SerializerFeature; import com.metaui.core.util.UString; /** * JSON代码美化 * * @author wei_jc * @since 1.0 */ public class JsonFormat implements CodeFormat { @Over...
22.461538
70
0.69863
25ef9b568fa2ed80c8dd233621ebfea2f6a1295b
1,241
package sample; public class Customer { private String name; private String surname; private double balance; private String email; private String phone; private String address; private int id; public Customer(){ name=null; surname=null; balance=0; email=null; phone=null; address=null; id=0; } p...
20.344262
83
0.691378
46111c0e6298c7e481b8dbcd691766f3653466ea
1,164
package de.unistuttgart.ims.drama.util; import java.util.Random; import de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token; import de.unistuttgart.ims.drama.api.Mention; public class CoreferenceUtil { /** * This function checks if a mention's surface form is identical to a token, if * it starts with the...
29.846154
83
0.676117
6801339b348fe7067a046d96fbc65b7eae76d789
5,287
/** * Copyright (c) 2020, Alexander Kapralov */ package ru.capralow.dt.hrm.support.internal.personnelaccounting_v3_1.ui.pi; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.Execut...
36.715278
134
0.668999
893cbff76e46ed718b94b1d0bc9dae39fa621fd0
927
package de.unihamburg.swk.traceabilityrecovery.commands; import de.unihamburg.swk.traceabilityrecovery.ITraceabilityRecoveryService; import java.io.IOException; /** * Created by Tilmann Stehle on 14.02.2018. */ public class RemoveDocumentsForFilePathPrefixCommand implements ITraceabilityRecoveryCommand { priv...
30.9
127
0.78425
6e468c5893b7b2d11c279776a1eccb4b8104950c
4,870
package org.checkerframework.checker.nonneg; import javax.lang.model.element.AnnotationMirror; import org.checkerframework.checker.nonneg.qual.*; import org.checkerframework.dataflow.analysis.ConditionalTransferResult; import org.checkerframework.dataflow.analysis.RegularTransferResult; import org.checkerframework.da...
45.514019
138
0.778029