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
62c9569d026139874ec07def16661145baf39740
534
package com; import java.util.*; /** * @author Sanjay * */ public class SumOfCubeOfDigits { public static int Cubes(int x) { // Calculate Sum int number = x; int sum = 0; while (number > 0) { int digit = number % 10; sum += digit * digit * digit; number /= 10; } return sum; ...
17.225806
42
0.574906
c9b5900b482c929bf98c4796b8e0388c0536c36f
784
import java.io.*; class FileHandling{ public static void main(String[] args) throws IOException{ FileReader in=null; // in is a referance FileWriter out=null; try{ in=new FileReader("a.txt"); out=new FileWriter("b.txt"); int c; while(...
31.36
63
0.528061
2a9e98c11e2155df20806345d1164a5e2b9b43fc
229
package com.codepoetics.octarine.json.deserialisation; import java.io.IOException; public class DeserialisationException extends RuntimeException { public DeserialisationException(IOException e) { super(e); } }
22.9
64
0.772926
5e71601742f3c9fbdb80414fea7567d8edfaf2f0
6,352
/* * 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 ...
36.716763
79
0.711272
293142d7b0c3bc0ab4cf24056a26259166b4120e
2,703
package YukEcmWeb.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; impo...
38.614286
97
0.763226
50671c6db9f0921084ccb5de97de43cd84f1f05a
465
package com.kenshine.extentreport; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author :kenshine * @date :Created in 2021/12/27 10:37 * @description:Springboot+TestNG+ExtentReport生成测试报告 * @modified By: * @version: $ */ @SpringBoot...
24.473684
68
0.750538
e593a2d31e2d28e988e8b14d9cb60b98defa2393
2,364
package ru.pecom.peges; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class FieldSearchCargoInMenu extends BasePage { p...
27.811765
89
0.722081
5245084fd07b0233b4b15fde8dfd143d60a9c3d4
10,816
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.296552
98
0.626849
9265326cf6f61c4d3dea89cd1be4e88fd4d0e72d
2,195
package com.zxz.common.entity; import com.zxz.common.excel.annotation.AnnotationType; import com.zxz.common.excel.annotation.Mapping; import org.hibernate.validator.constraints.NotEmpty; import org.springframework.validation.annotation.Validated; import java.math.BigDecimal; import java.time.LocalDateTime; @Annotat...
20.514019
59
0.620046
7fb6bfe82ac79a9e7e3bebf5a08dfda5cd5df9e5
22,066
/* * * Copyright 2017 Netflix, 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 ap...
51.435897
120
0.640442
34cd2a6c87c79989ccaba77a90999ad05a59addf
1,263
package net.minecraft.server; import java.util.Random; class PathfinderGoalEndermanPickupBlock extends PathfinderGoal { private EntityEnderman enderman; public PathfinderGoalEndermanPickupBlock(EntityEnderman entityenderman) { this.enderman = entityenderman; } public boolean a() { r...
37.147059
203
0.670625
bd7ea87406a0d52c0414cda8bdc155fba0a9c06f
31,640
/***** BEGIN LICENSE BLOCK ***** * Version: EPL 2.0/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Eclipse Public * 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.eclipse.org/legal/epl-...
37.399527
168
0.473957
8ae9cec0faef96ce4ebab0d0f0418cc3ec565091
3,142
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain ...
40.282051
112
0.759389
083ef5ead079aa24c425f9df18eb6cc681075815
400
package com.zk.system.domain.weixin.domain.req; import com.zk.system.domain.weixin.domain.bean.base.BaseLaunchCode; import com.zk.system.domain.weixin.domain.bean.entity.ActionInfo; /** * @Classname LaunchCode * @Description TODO 投放卡券 * @Date 2020/8/14 5:17 PM * @Created by nihui * @Version 1.0 * @Description L...
23.529412
67
0.755
3da30df09ab4a5882c8b8faeb04a281dca39a378
508
package com.unimelb.swen30006.metromadness.trains; import com.unimelb.swen30006.metromadness.stations.Station; import com.unimelb.swen30006.metromadness.tracks.Line; public class LargeCargoTrain extends CargoTrain { private static final int PASSENGER_CAPACITY = 80; private static final int CARGO_CAPACITY ...
31.75
87
0.783465
6a88029d1e280545ca59f3289c35eb4061b993b8
15,775
package kar.method.defragmenter.fragmenters; import java.util.List; import org.eclipse.jdt.core.dom.ASTNode; import org.eclipse.jdt.core.dom.ArrayAccess; import org.eclipse.jdt.core.dom.ArrayCreation; import org.eclipse.jdt.core.dom.ArrayInitializer; import org.eclipse.jdt.core.dom.ArrayType; import org.ecli...
29.321561
118
0.718162
761a245339defda0804ee3ce141284537221126d
360
package jp.cssj.e; import java.io.FileNotFoundException; import java.io.IOException; import java.net.URI; public interface c { b b(URI paramURI) throws IOException, FileNotFoundException; void a(b paramb); } /* Location: /mnt/r/ConTenDoViewer.jar!/jp/cssj/e/c.class * Java compiler version: 8 (5...
21.176471
70
0.683333
ac0058f6d010a7ad6e31cb9a7f16a480a19e47eb
186
package com.julive.library.navigation; /** * 小红点提醒状态 */ public enum RemindType { /** * 仅提醒 */ REMIND_NORMAL, /** * 文字提醒 例如标识未读数量 */ REMIND_TEXT, }
11.625
38
0.532258
d383ee5295562078783545a584fee59bcc94e968
2,504
/* * Copyright 2004-2010 Institute of Software Technology and Interactive Systems, Vienna University of Technology * * 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.if...
33.837838
117
0.658546
d918bf944307da3ae1d23f7eac03e0b3fd996ab5
11,392
package net.minecraft.server.players; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.io.Files; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonArray; import com.google.gs...
32.271955
147
0.581022
f0a3600708f09f9f2436867d101274f2b3807608
372
package org.aksw.tsoru.acids3.io; /** * @author Tommaso Soru <tsoru@informatik.uni-leipzig.de> * */ public enum Arg { SOURCE(0, "source"), TARGET(1, "target"); public int getPos() { return pos; } public String getName() { return name; } private int pos; private String name; Arg(int pos, String n...
12.827586
57
0.629032
e550acd12176e11d2b4118049e901cb267f57c98
1,258
package io.sample.interceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.configuration.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import o...
29.952381
84
0.789348
10e07621a6a65c4f47a93dddbc430452921ad388
2,695
/** * Copyright (c) 2014, Kinvey, Inc. All rights reserved. * * This software is licensed to you under the Kinvey terms of service located at * http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this * software, you hereby accept such terms of service (and any agreement referenced * ther...
37.430556
156
0.661967
c95e5341c84a535b079fda4c0e44e262d9ef9d76
1,698
package me.fo0.spring.start.reactive.web.config; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.web.embedded.tomcat.TomcatConnectorCustomizer; import org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer; import org.spri...
32.653846
123
0.756184
2c335af5aa8dfa37c28c2e0919b17cd87bb959ec
4,121
package com.example.kanjuice.activities; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.util.Log; import android.view.View; import android.widget.AdapterView; import andr...
28.034014
94
0.639165
017ed1075fbda3b76d3e46f60294da896b0b2227
22,944
package edu.memphis.iis.tdc.annotator; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Random; import java.sql.Timestamp; import javax.servlet.ServletExcept...
43.454545
128
0.572524
9ac5a0b1461b81574f5e3388f4872d8f9d339d6a
799
package br.samirtf.rxjava.examples.reactiveaddition; import io.reactivex.Observer; import io.reactivex.disposables.Disposable; public class SimpleObserver implements Observer<AVariable> { @Override public void onSubscribe(Disposable disposable) { System.out.println("added variables: " + DriverThree.VARIABLES...
25.774194
82
0.654568
73b6de389edb78075ddc4645177e8def1558ce27
1,375
/* * Copyright (c) 2018, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory * CODE-743439. * All rights reserved. * This file is part of CCT. For details, see https://github.com/LLNL/coda-calibration-tool. * * Licensed under the Apache License, Version 2.0 (the “Licensee...
32.738095
209
0.733091
fd7e1fc577819712fc39e901d5573eff94276180
3,150
package com.cat.service.impl; import com.cat.common.Const; import com.cat.common.ResponseCode; import com.cat.common.ServerResponse; import com.cat.dao.CatMapper; import com.cat.pojo.Cat; import com.cat.service.IMainService; import com.cat.vo.CatListVo; import com.cat.vo.CatVo; import com.github.pagehelper.P...
32.474227
135
0.651429
e8587a6731483147ff348134148ccf17c77fb70a
2,868
package software.changelog.graphql_jooq.internal; import static graphql.schema.GraphQLObjectType.newObject; import static java.util.stream.Collectors.toList; import software.changelog.graphql_jooq.GraphQLFieldDefinitionGenerator; import software.changelog.graphql_jooq.GraphQLObjectTypeGenerator; import software.chan...
35.407407
120
0.617503
99fd39de4c173ab99ae1959d374337a97637aeb4
1,242
package me.cybulski.pl.warszawa.um.api.public_transport; import me.cybulski.pl.warszawa.um.api.public_transport.model.WarsawPublicTransportState; /** * A default implementation of the {@link WarsawPublicTransportApi} interface. * * @author Michał Cybulski */ class WarsawPublicTransportApiImpl implements WarsawPub...
34.5
98
0.778583
daab980477c7cc2d33dcc6686586497af1c0cbb8
4,974
package org.library.util; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.os.Build; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.ActivityCompat; import androi...
36.306569
137
0.581624
d5387b6665f632f8eb7a4ea068bf48e1e70c4892
6,621
// Generated from org/apache/metron/common/transformation/generated/Transformation.g4 by ANTLR 4.5 package org.apache.metron.common.transformation.generated; //CHECKSTYLE:OFF /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed...
30.652778
108
0.720737
4db13c0db4979b14798018a3f2591665b0d8a361
5,818
package net.nocturne.utils; import net.nocturne.Settings; public enum News { /* * NEWS1("876 Revision", * "We have now upgraded to the latest revision, enjoy our new features! More to come soon!" * , Settings.GAME_UPDATES, "1/7/17", true), NEWS2("Home Sweet Home", * "Enjoy the new home, packed with everythi...
39.578231
101
0.696975
1e33be5f3ece2d022e2388c5ed06bee97321eb8e
487
package com.jeff.demo.androiddemo.net; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 创建时间:2018/10/08 18:23 <br> * 作者:JeffLee <br> * 描述:用于标记该网络请求接口是否允许重试,如...
24.35
44
0.776181
b1b781665a9f7b8f15aec3647bec4eae7f686b2d
1,398
package org.gavaghan.lisa.sdk.email.tph.smtpcommands; import java.io.BufferedReader; import java.io.IOException; import java.io.StringReader; import org.gavaghan.lisa.sdk.email.tph.EmailConstants; /** * This is a pseudorequest capturing the client sending the actual email payload * following a DATA transaction. *...
19.690141
80
0.635908
0c29c446cbdb22555afda56adea8ea7ff64dbec3
1,998
package ros.integrate.pkg.xml.intention; import com.intellij.codeInsight.intention.impl.BaseIntentionAction; import com.intellij.codeInspection.LocalQuickFix; import com.intellij.codeInspection.ProblemDescriptor; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.project.Project; import com.intelli...
36.327273
114
0.746246
7e0d14f936c81dff83bc9801a42345d17cb98cf7
1,515
package org.i3xx.lemonade.lang.ext.util.f; import org.i3xx.lemonade.lang.core.Function; import org.i3xx.lemonade.lang.core.LeafNode; import org.i3xx.lemonade.lang.core.ListNode; import org.i3xx.lemonade.lang.core.Node; import org.i3xx.lemonade.lang.util.NodeTools; /** * Print out the intern data to a JSON String * ...
21.041667
61
0.608581
2f33bffaddca667770c323bbd634a189434ed429
5,340
package com.squareup.square.models; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.squareup.square.http.client.HttpContext; import jav...
29.832402
101
0.580899
bc909a65d4a0774057e4a5941e3ac481e9161a14
3,505
/* ###################################################################################### ## ## ## (c) 2006-2012 Cable Television Laboratories, Inc. All rights reserved. Any use ## ## of this documentation/package is subject to the terms...
23.059211
86
0.501284
86f46198e9022662c3f98c0b9ed9e1d931784181
2,491
package de.rieckpil.blog.testng; import de.rieckpil.blog.review.ReviewValidation; import org.testng.Assert; import org.testng.annotations.*; import java.lang.reflect.Method; public class ReviewValidationTest { private ReviewValidation cut = new ReviewValidation(); @BeforeSuite public void beforeSuite() { ...
28.965116
80
0.706544
2bba658475fa9a359bd56cc9240ffb4ffe9d48d7
11,240
/* * This file is part of the Benno4j project. * * Copyright (c) 2021, stwe <https://github.com/stwe/Benno4j> * * 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...
27.616708
114
0.56121
313f23bc4c4b7edffdf33446c2573ef51ea8a954
484
package noppes.npcs.api.entity.data; public interface INPCMelee { public int getStrength(); public void setStrength(int strength); public int getDelay(); public void setDelay(int speed); public int getRange(); public void setRange(int range); public int getKnockback(); public void setKnockback(int knoc...
16.133333
57
0.745868
86dba61f5496f87270a5c807acc064acd427ac97
1,146
/* * Copyright 2014 Opencard 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 to ...
30.972973
87
0.726003
22eeb14749db6bd5675f3dfb699bca081d365096
653
package com.agonyforge.core.controller; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class InputTest { @Test void testSetInput() { Input input = new Input(); input.setInput("Testing"); assertEquals("Testing", input.getInput()); ...
22.517241
60
0.621746
be5a5086efc3107431867772c35c266b16caa5f2
7,098
package com.eklanku.otuChat.utils.helpers; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.support....
47.006623
249
0.658354
dfb104dda5d29c8eb732da3e9860c359d7fdea34
8,108
/* * Copyright (C) 2017 MUKTADIR * 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://muktadir.com/license/apache-v2 * * Unless required by applicable law or agreed to in wri...
42.010363
133
0.619142
91f26acca0793b9d13153a8032c78f49f0c857f4
2,881
package com.felipeflohr.unojava.swing.frames.mainframefirstlayer; import com.felipeflohr.unojava.swing.frames.leftmenuframes.RestartGameDialog; import com.felipeflohr.unojava.swing.frames.leftmenuframes.SettingsFrame; import com.felipeflohr.unojava.swing.frames.leftmenuframes.StatusFrame; import javax.swing.BorderFac...
35.134146
117
0.706352
1401826f263267cf1ad60253f9d26953f5df7863
5,621
package com.intkr.saas.domain.dbo.item; import java.util.Date; import com.intkr.saas.domain.BaseDO; /** * * @author Beiden * @date 2011-10-31 下午7:49:16 * @version 1.0 */ public class AuctionDO extends BaseDO { private Long id; private Long relatedId; /** * 商品类型 * * @ItemType */ private String t...
14.753281
61
0.701299
e5e8b4954accb4d8b66cfc5a9d80a62d7e25e8e4
188
package uk.ramp.parameters; import uk.ramp.file.CleanableFileChannel; public interface ParameterDataReader { ReadComponent read(CleanableFileChannel fileChannel, String component); }
20.888889
73
0.829787
9abaaa3361647fc9cc1af120318458adf87123ca
319
package controllers; public class Program { public static void main(String[] args){ WestminsterLibraryManager manager = new WestminsterLibraryManager(); for (int i=0; i<manager.bookArrayList.size(); i++){ System.out.println(manager.bookArrayList.get(i).toString()); } } }
24.538462
76
0.652038
d65741ba28effd25e78feac766518dc6a94f168f
2,555
package entities; import parsers.Parser; import utils.MyTimer; import java.text.DecimalFormat; import static utils.AppConstants.*; /** * Класс для отдельных операций тестов. */ public class TestOperation { private boolean isPassed; private String name; private String value; private...
32.75641
114
0.523288
10cdf8218cb4261150ee1fa4435baf834e535b52
3,478
package org.unix4j.util; import java.util.Map; import org.unix4j.command.Command; /** * Variables contains static utility methods related to variables or place * holders used as {@link Command} arguments. Variables are represented as * string of the form <tt>"{varname}"</tt>, where {@code varname} refers to the ...
35.131313
85
0.658137
f080a291d2210b0d7f9781408a8eebe6b1c5ccf1
520
package xyz.a00000.blog.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import xyz.a00000.blog.bean.common.PageForm; import xyz.a00000.blog.bean.orm.SystemConfig; ...
27.368421
80
0.817308
d6e0a3895a38604220d8e9431c9ae2c1dfb4be44
173
package com.scj.beilu.app.mvp.base; import com.mx.pro.lib.mvp.MvpView; /** * @author Mingxun * @time on 2019/1/15 21:22 */ public interface TabView extends MvpView { }
15.727273
42
0.699422
ccd97e79b5fd6e9f7a6b8948662093815fe9ac1d
503
package br.com.integrador.backend.service; import br.com.integrador.backend.model.TimeScrum; import br.com.integrador.backend.repository.TimeScrumRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * Created by simonini on 18/06/17. */ @Servi...
26.473684
66
0.787276
39dd6aebed01123d14112bf1739775e80e116546
540
package com.jstarcraft.core.common.identification; import org.redisson.api.RAtomicLong; public class RedisAtomicIdentityFactory extends MiddlewareIdentityFactory { private RAtomicLong middleware; public RedisAtomicIdentityFactory(RAtomicLong middleware, IdentityDefinition definition, int partition, ...
27
121
0.724074
0b9631af83155f29cce08de019879fbde6017d92
2,101
package com.yk.controller.admin; import com.yk.model.ResultInfo; import com.yk.model.dto.SettingsAndDeleteIds; import com.yk.service.SiteSettingService; import com.yk.annotation.OperationLogger; import com.yk.entity.SiteSetting; import org.springframework.stereotype.Controller; import org.springframework.web.bind.anno...
22.591398
106
0.625416
ad99ab36df0cd601c067225816427323c3d4b35e
114
package com.drakezzz.roadmodeller.persistence.entity; public enum LightStatus { RED, YELLOW, GREEN }
14.25
53
0.719298
cc10ef35d2186ffb24dd36f082bb7eb0cd7aba7b
3,746
package model.prank; import config.ConfigManager; import model.mail.Group; import model.mail.Mail; import model.mail.Person; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Generate prank * * @author Alexandra Cerottini, Miguel Do Vale Lopes */ public class PrankGenerator {...
29.496063
103
0.585424
0f63ab7b1189c14ec38857f016e0b898ee97280c
194
package ro.ase.csie.cts.dp.factoryMethod; import ro.ase.csie.cts.dp.simpleFactory.AbstractWeapon; public class WaterBucket extends AbstractWeapon{ @Override public void pewPew() { } }
14.923077
55
0.762887
18f7ba44295ebfd312f6ca460620652386174476
1,996
/** * Copyright 2013 Comcast Cable Communications Management, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
30.707692
98
0.65481
077bd77bf0ba55896f11c8eac0e37d998e9d22ed
1,305
package org.iot.dsa.dslink.scheduling; import org.iot.dsa.node.DSElement; import org.iot.dsa.node.DSNode; public abstract class EventNode extends DSNode implements Comparable<EventNode> { private ScheduleNode schedule; private boolean enabled = true; public EventNode() { ...
21.048387
82
0.558621
c6ad80cf35d722871bfdce97e9f13ed9cad92dfd
1,664
import java.util.concurrent.Semaphore; import static java.lang.String.format; public class Buyer implements Runnable { private static final int synX708int = 5; private static final String synX707String = "%-10s%10s%10s%10s"; private static final int synX706int = 1; private int finaleClock = 0; public static ...
26.83871
91
0.688702
761875007dea9c34957830d1e084116f916e0e46
4,882
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 th...
15.799353
798
0.783286
7d1c840b1a3c2f1ee955fbcd0fa1007e813ad7b3
121
public class C { public static void main(String[] args) { A b = new B(7); System.out.println(b.getValue()); } }
12.1
41
0.61157
f7cfe19e79efab5726a85c38f6a6fd6017e3851b
1,654
import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import Gemini; /** * This is a simple example of an HTTP Servlet. It responds to the GET * and HEAD methods of the HTTP protocol. */ public class servDisarm extends HttpServlet { Gemini t; public void doGet (HttpServl...
25.84375
72
0.502418
c698865f3dc7cefe13c252b91d1273b66324c14d
1,088
package leelawatcher.parser; import leelawatcher.goboard.PointOfPlay; import org.junit.Test; import static junit.framework.TestCase.assertNotNull; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; public class AutoGtpOutputParserTest { @Te...
26.536585
63
0.732537
3823b0d972dc5418a658ecf952f48b682037f1c9
620
package application; import java.io.File; import java.io.FileInputStream; import java.io.ObjectInputStream; public class LoadViewModel { private File file; public TaskBoardModel load(File f) { this.file = f; return deserializeTaskBoardModel(this.file); } public TaskBoardModel deserialize...
20
59
0.701613
7edba726b63c4c8eb2a0f6318669a3611823f7e5
2,284
package com.barley.party.service.searchvo; import com.barley.party.vo.OrganizationCriteria; import lombok.Getter; import lombok.Setter; import org.apache.commons.lang3.StringUtils; /** * @author peculiar.1@163.com * @version $ID: com.barley.party.service.searchvo.OrganizationSearchVO create date 2020-12-27...
23.306122
111
0.588879
d2fd682ce7c313c8179b5e18aa9551b5753d141c
586
package com.garlicg.screenrecord4cm.util; import android.content.Context; import android.content.res.Resources; import android.graphics.Point; import android.view.WindowManager; public class DisplayUtils { public static Point getDisplaySize(Context context){ WindowManager manager = (WindowManager)context.getSyst...
27.904762
90
0.761092
3e95d76415e76ed817a59d1451a78ad6eaa8fdec
1,040
package io.gitgub.eaxdev.jsonresume.validator; import com.fasterxml.jackson.databind.ObjectMapper; import io.gitgub.eaxdev.jsonresume.validator.exeption.JsonResumeParseException; import io.gitgub.eaxdev.jsonresume.validator.model.Resume; import io.gitgub.eaxdev.jsonresume.validator.validator.JsonResumeValidationModule...
27.368421
82
0.675962
c8aaf7f756c053dfaa0e4fe274d3d08f640139bb
1,339
package com.gqlolap.automata.pipeline.generate; import com.gqlolap.automata.pipeline.validate.ValidatedEnvironment; import graphql.schema.idl.TypeDefinitionRegistry; /** * Created by weijialuo on 7/3/18. */ public class GeneratedEnvironment extends ValidatedEnvironment { private final ValidatedEnvironment source...
30.431818
92
0.813294
1e6e327a53a788a9061aa8800e1edf5439aa7212
617
package com.lambdaschool.recipes.repository; import com.lambdaschool.recipes.models.Recipe; import com.lambdaschool.recipes.models.User; import com.lambdaschool.recipes.models.UserRecipe; import org.springframework.data.repository.CrudRepository; import javax.validation.constraints.NotNull; import java.util.L...
32.473684
73
0.787682
f7a9ce35a176dd512375edaa2e8796aa02116b16
9,298
/* GanttProject is an opensource project management tool. License: GPL3 Copyright (C) 2011 Dmitry Barashev This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your...
37.643725
130
0.711121
12b494f5d83cbddc61fcfd271966536ab0c3c30d
3,469
package com.syntaxphoenix.syntaxapi.net.http; import java.util.HashMap; import java.util.Objects; import com.syntaxphoenix.syntaxapi.utils.java.Arrays; import com.syntaxphoenix.syntaxapi.utils.net.SimpleConversion; public class RedirectRequestHandler implements RequestHandler, PathHandler { private final HashMa...
30.429825
125
0.629288
6061a7e9fe9b211b4a9d16f0b581f870c1568e04
2,390
package gov.nasa.jpl.aerielander.activities.heatprobe; import gov.nasa.jpl.aerie.merlin.framework.annotations.ActivityType; import gov.nasa.jpl.aerie.merlin.framework.annotations.ActivityType.EffectModel; import gov.nasa.jpl.aerie.merlin.protocol.types.Duration; import gov.nasa.jpl.aerielander.Mission; import static ...
49.791667
94
0.80795
23f424a353b9869e4ec330e4c5bd98dc68daa34d
1,445
import java.util.Iterator; import java.util.Spliterator; import java.util.function.Consumer; public class IteratorArray2Dimention<T> implements Iterator<T> { private int rowNo = 0, columnNo = 0; private T[][] arr; private int rowSize; public IteratorArray2Dimention(T[][] arr){ this.a...
24.491525
100
0.522491
9daf895c72b0e7bc32871becb4980cf8eabf2269
4,597
package com.android.sebiya.firebase.remoteconfig.sample; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.w...
38.957627
119
0.644333
dc72c2d45f71f314ef906bdab90b2e7e242c3370
1,869
/* * ****************************************************************************** * * Copyright (c) 2020 Konduit K.K. * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICE...
32.224138
122
0.613697
0dd361dc8e463e1dbada41e02384efe49c0f0a1a
81
package com.netflix.spinnaker.orca.batch; public interface RestartableStage { }
16.2
41
0.814815
53a7a138f99883c599d850adc53b0ac3e078cf4b
458
package spring.cloud.demo.spring.gateway.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import spring.cloud.demo.spring.gateway.factory.MyGatewayFilterFactory; /** * @auther: fujie.feng * @DateT: 2019-10-21 */ @Configuration public class Fil...
24.105263
71
0.770742
3e4ed1b13bb61b7cbcb122902aff53bc7c6e65fa
239
package org.apache.skywalking.apm.collector.testtool; import java.io.FileNotFoundException; /** * @author peng-yongsheng */ public class BootStartUp { public static void main(String[] args) throws FileNotFoundException { } }
17.071429
73
0.740586
c5c5848a847f8e31f5bd815367ddb789c8ce810c
13,948
package pku.yang.controller; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.Iterator; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.text.SimpleDateFormat; import org.hibernate.SessionFac...
28.997921
154
0.68103
aeb67f783fd52d52f6731fa89dd83045e3c8f2fe
12,744
/* * E: Ken@kenreid.co.uk * Written by Ken Reid */ package uk.co.kenreid.io; import java.io.File; import java.io.FileOutputStream; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.apache.poi.hssf...
28.32
137
0.699545
d0409ca5a6f3a5209f5413cb1e600bc9783f4e4e
2,549
package name.xs.rpc.proxy; import name.xs.rpc.common.context.ProxyContext; import name.xs.rpc.common.enums.ErrorEnum; import name.xs.rpc.common.exceptions.XsRpcException; import name.xs.rpc.proxy.invoke.LocalProxyInvoker; import name.xs.rpc.proxy.invoke.RemoteInvoker; import java.lang.reflect.Proxy; /** * @author x...
42.483333
123
0.617105
15cb607509193127234de5e4cf0b44b7976b5301
1,145
package com.ruoyi.biz.service; import java.util.List; import com.ruoyi.biz.domain.BizOrderDetail; /** * 订单详情Service接口 * * @author xiniu * @date 2021-09-12 */ public interface IBizOrderDetailService { /** * 查询订单详情 * * @param id 订单详情主键 * @return 订单详情 */ public BizOrderDetail sel...
18.467742
88
0.606114
8174de0ccbb76a5721cb496cd480d5c70737885f
5,762
/* * 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")...
40.865248
142
0.687608
3d00592f732f3ee7c74983b1f297fa0ca40ea01e
3,271
package com.mousebirdconsulting.autotester.TestCases; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.mousebird.maply.AttrDictionary; import com.mousebird.maply.ComponentObject; import com.mousebird.maply.GlobeController; import com.mousebird.maply.MapCon...
36.752809
111
0.680832
e43bf3da698cd32749fa58dfe6828f29ead88cc6
951
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; import io.airbyte.config.persistence.ConfigNotFoundException; import java.io.IOException; import java.util.Map; import java.util.UUID; public interface OAuthFlowImplementation { String getSourceConsentUrl(UUID workspaceId, ...
38.04
147
0.819138
a0544127395925e1333301ae94ffd609f9e9dac7
1,961
package io.gridgo.xrpc.impl.dynamic; import static lombok.AccessLevel.PROTECTED; import org.joo.promise4j.Promise; import io.gridgo.connector.Connector; import io.gridgo.connector.Consumer; import io.gridgo.connector.Producer; import io.gridgo.framework.support.Message; import io.gridgo.xrpc.XrpcRequestContext; impo...
29.268657
110
0.72361
77281a5054f8fe01373c0b5fd567e1d358f9a3dc
198
package modulo1.library; import modulo1.Book; public class Library { public static void main(String[] args) { Book book = new Book(); // System.out.println(book.isbn); } }
18
44
0.631313
1088a2e3cf511aece2d6d80bc9495abf19ed77a6
1,532
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.044444
101
0.727807
998c52847868b8ba49c35ce6e0e002b1309a4369
3,160
package de.thiesgerken.moneydb.fragments; import android.content.Context; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.ListAdapter; import android.wid...
31.287129
114
0.659494
8fa927f5c47b43ce11640f19fe58b56274d4432c
900
package Tests; import static org.junit.Assert.*; import org.junit.After; import org.junit.Test; import Board.Board; public class RookTests { private Board b = new Board(); @After public void resertBoard() { b.initBoard(); } @Test public void testMoves() { b.move(1, 0, 3, 0); ...
18.75
73
0.575556
e8621a1d23ffc0771d1356549a9dad80b3717332
437
package audio; public enum SFX_Sound { Generate("generate"), Copy("copy"); private String name; private SFX_Sound(String n) { this.name = n; } @Override public String toString() { return this.name; } public static String[] getSoundNames() { SFX_Sound[] temp = SFX_Sound.values(); String[] target = new ...
21.85
71
0.659039
45ac3c1e56e862ef8d433fe2e4ba74cdeb1d7dfd
157
package com.softicar.platform.core.module.cron.element; public interface ICronElement { boolean test(int value); boolean isInRange(int min, int max); }
17.444444
55
0.770701
95e70970f21d383cf44814627b03f1ccc8c7641c
57,863
import java.io.IOException; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.util.*; import java.util.concurrent.atomic.AtomicReference; /** * Controller class delegating between the client and rest of subsystem. * * ...
43.571536
185
0.490987
d3e941821391f7e1c3e97f62b19dddabf21fd4d1
4,843
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.LinkedList; import java.util.Queue; import java.util.StringTokenizer; public class Main { private static int T, n, m; private static String DNA, marker; private static final int DNA_KIND = 4; p...
32.503356
85
0.431551
dc847b94b03bb584db105a5ee7ec41ca47099ad4
289
package net.fishtron.eval; import java.util.function.Function; /** Created by user on 14. 2. 2017. */ public interface Fun2 extends Fun { Function<Object,Object> applyFun2(Object arg); @Override default Object applyFun(Object arg) { return applyFun2(arg); } }
18.0625
50
0.681661