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
d14adbd70f1e7fc8bd1b354175d7f0cea2240e41
1,399
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ package io.dapr.apps.twitter.provider.model; import com.fasterxml.jackson.annotation.JsonProperty; public class Tweet { @JsonProperty("id_str") private String id; @JsonProperty("user") private TwitterUser author; ...
19.164384
109
0.59614
6d23dcf291c6641461b352da9750e8249ee26c94
3,095
package xreliquary.items; import net.minecraft.entity.Entity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.MobEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; import net.minecraft.item.Rarity; import net.minecraft.potion.EffectInstance; import net.m...
33.641304
188
0.78643
0643d6e97b880e036e93e85a07c4c81f5421fb28
2,109
package b.l.a.c.f.i; public final class j1 extends p5<j1, i1> implements r6 { /* access modifiers changed from: private */ public static final j1 zzi; private int zza; private int zze; private c2 zzf; private c2 zzg; private boolean zzh; static { j1 j1Var = new j1(); zz...
22.923913
196
0.485064
4af4ec2ca2f277ce678d5166b22ebdf27e5f6b85
1,447
package transformation; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import org.junit.Test; import org.junit.runner.RunWith; import junitparams.JUnitParamsRunner; import junitparams.Parameters; import transform.LineTransformator; @RunWith(JUnitParamsRun...
31.456522
114
0.626814
faed01e76c9be57d928f3bd48e7b48eb115bb3a4
168
package com.duo.bai.cheng.web.api.service; import com.duo.bai.cheng.commons.dto.BaseResult; public interface EssentialService { BaseResult select(String name); }
21
48
0.779762
4f6265a3a43826097eba6577f72053cf1216702e
2,253
/******************************************************************************* * 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 ...
38.186441
82
0.671105
6129d3818223b20867a45759e32ee4c10830569d
4,939
package automaton.cards; import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.actions.common.AttackDamageRandomEnemyAction; import com.megacrit.cardcrawl.actions.common.ExhaustSpecificCardAction; import com.megacrit.cardcrawl.actions.utility.WaitAction; import com.megacrit.cardcrawl....
37.135338
134
0.585746
96f9d01e365db1275d367a6ebd75ab15c9931995
884
package site.wenlong.dimens.utils; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Locale; /** * 计算工具类 * * @author : 郭文龙 * @date : 2019/4/30 23:30 */ public class CalculateUtils { public static String targetDimension(float dimens, int length, float scale) { return for...
29.466667
99
0.670814
853f862feb46221967f66ef85dea57bd151e3967
13,162
package com.alibaba.dcm.agent; import com.alibaba.dcm.DnsCache; import com.alibaba.dcm.DnsCacheEntry; import com.alibaba.dcm.DnsCacheManipulator; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.io.*; import java.lang.instrument....
39.525526
164
0.625893
6336bee1a73a1a8afe49a8829867ce2431d622eb
1,018
package smitebot; import javax.security.auth.login.LoginException; import net.dv8tion.jda.core.AccountType; import net.dv8tion.jda.core.JDA; import net.dv8tion.jda.core.JDABuilder; import net.dv8tion.jda.core.exceptions.RateLimitedException; public class Bot { public static JDA jda; // public static fina...
29.941176
134
0.710216
aa5b545331af01800bf535d6737bff67ee2db478
425
package com.epicodus.guest.fairweatherfriend.ui; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.epicodus.guest.fairweatherfriend.R; public class RestaurantDetailActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
26.5625
65
0.788235
59a6911e061f8c1542e9c1fc7ce6e95f861cef2f
898
// The SUPPLYQUANTITIES procedure returns the average, minimum, and maximum // quantities of available parts in inventory to separate output // parameters. // // See http://trafodion.incubator.apache.org/docs/spj_guide/index.html#supplyquantities-procedure // for more documentation. public static void supplyQuantities(...
27.212121
97
0.64588
347fa39f1697b21799ecc50aab5016aa93299a7e
266
package com.fr.swift.cloud.service.info; import com.fr.swift.cloud.executor.type.ExecutorTaskType; /** * @author Heng.J * @date 2020/11/13 * @description 计划任务信息, 同planningInfo * @since swift-1.2.0 */ public interface TaskInfo { ExecutorTaskType type(); }
19
57
0.718045
00b2d59c15dc04d8fce740e8ea262c88f281736e
1,968
package net.collaud.fablab.manager.data; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import j...
27.333333
97
0.780488
6fa04973853d96e0ac7732f64c51bf7ab92b72b8
666
package edu.usd.pheno2grn.reporting.dox4jUtilities; import org.docx4j.openpackaging.packages.WordprocessingMLPackage; /** * Contains word document styling functionality. */ public class StylingUtilities { /** * Adds header3 text to a word document package. * * @param wordPackage Docu...
30.272727
92
0.696697
f10d93545e2dbe0fb15cadfcc3a6d8f4b774c57a
3,637
/* * 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 ...
42.788235
111
0.74237
f0a9f7098c3dbe2342b2dde851c5a0083ee6cbd2
379
package com.nolva.product.dao; import com.nolva.product.entity.CommentReplayEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品评价回复关系 * * @author Nolva * @email nolvafighting@gmail.com * @date 2020-08-10 20:07:43 */ @Mapper public interface Comm...
21.055556
75
0.773087
ba9ac6688ce0b66aedf75c7773cbbd4f187e90db
1,550
package com.osomapps.pt.programs; import com.fasterxml.jackson.annotation.JsonBackReference; import java.time.LocalDateTime; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax....
28.181818
100
0.776774
139cdcf05c1704498489fce4114886d2c1be14aa
3,820
/* * 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 ...
28.939394
118
0.631675
3ecd52162e9ef4825f3a27b9cbe5086da358e7e3
2,253
package com.queatz.snappy.team.actions; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.preference.PreferenceManager; import com.queatz.snappy.chat.ChatManager; import com.queatz.snappy.chat.ChatRoom; import com.queatz.snappy.shared.Config; import java.io.IOExceptio...
31.732394
119
0.577452
cf30ad3a949d4e1a398b82772e56697921cf5781
252
package io.hektor.core.internal.messages; /** * Internal message to indicate that an actor should be started. * * @author jonas@jonasborjesson.com */ public class Start { public static final Start MSG = new Start(); private Start() {} }
18
64
0.694444
d3666ea7b53fe8747e43a2a0d07d7d3dd5d665ae
2,164
/* * Copyright 2019 Arcus Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
29.243243
77
0.679298
7202a1ec637457b7fbeaa23eeae3c83ba2b33743
2,388
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
33.633803
126
0.703936
954bc4941c5c1861e61b571cc3ec1341321cb5a9
3,272
package vn.iadd.excel; import java.io.Serializable; import java.lang.reflect.Field; import java.util.HashMap; import java.util.List; import java.util.Map; import vn.iadd.util.ObjectUtil; /** * BaseExcelModel * * @author DaiNV * @since 20180529 */ public abstract class BaseExcelModel implements IExcelModel, Ser...
21.385621
81
0.682152
818445bc73b78240735e444aca29d452c5e1b395
3,505
package balance; public class BalanceCheckerTester { public static void main(String[] args) { System.out.println("CS 1723 Lab 5: written by Ivan Capistran"); BalanceChecker test1=new BalanceChecker("(a+(b*c3)+d)"); BalanceChecker test2=new BalanceChecker("(a+(b+dog+cat)"); BalanceChecker te...
53.923077
116
0.65592
143cadc81cbbde4ac6fd155892a8ccec5d9a5112
834
package org.kilocraft.essentials.api.util.schedule; import org.kilocraft.essentials.api.user.OnlineUser; public class SinglePlayerScheduler extends StandStillScheduler { private final ScheduledExecution scheduled; public SinglePlayerScheduler(OnlineUser sender, int blocks, int countdown, ScheduledExecution ...
24.529412
110
0.64988
e70d91f123e77f5bd7b844c1b210ad5360f885c8
2,321
package app.components; import app.app; import app.screens.Level; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import java.util.Random; /** * @author Samantha Whitt * used for creating shooting stars on the screen * example: create a shooting star to eventually fall down the scene */ pub...
24.177083
113
0.618268
0c67a97905d52a1104394594747ec0bfcff5c3a0
1,492
package org.shahin.nazarov.edd.rabbitmq.producer; import com.fasterxml.jackson.databind.ObjectMapper; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import org.shahin.nazarov.edd.rabbitmq.domain.JavaObject; import org.shahin.nazarov.edd.rabbitmq...
37.3
108
0.649464
d22df2f72b295894f1af7ed125d03856a64667d5
3,162
/* * Copyright 2017 StreamSets 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...
35.52809
120
0.70525
b60f22c6d923f6c306324a2b18be965e42c92fa4
14,610
/* * Copyright (C) 2004-2016 L2J DataPack * * This file is part of L2J DataPack. * * L2J DataPack 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 option...
30.311203
140
0.67796
ace9b286cbaaf84ceb2608a6b7acd6c046a51198
3,611
package com.qiniu.process.qiniu; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.qiniu.common.Constants; import com.qiniu.common.QiniuException; import com.qiniu.http.Client; import com.qiniu.http.Response; import com.qiniu.storage.Configuration; import com.qiniu.util.Auth; import com.q...
40.122222
133
0.660759
26372c1fbcef2844f075e17c18613a235d330b41
3,045
package org.jfrog.teamcity.server.project.maven; import jetbrains.buildServer.controllers.ActionErrors; import jetbrains.buildServer.serverSide.ProjectManager; import jetbrains.buildServer.serverSide.SBuildServer; import org.apache.commons.lang3.StringUtils; import org.jfrog.teamcity.common.ReleaseManagementParameterK...
48.333333
114
0.745156
a47a9d6a495a5f5477fe3aca04eb95e8f4a31913
1,627
package com.ferius_057.onlineToStatus.vk; import com.ferius_057.onlineToStatus.data.Config; import com.ferius_057.onlineToStatus.utilities.Request; import java.io.IOException; import java.net.URLEncoder; public class Status { public boolean setStatus(String text) { try { String req...
49.30303
209
0.609711
3ba5813fb0de8f0050d74b1c22d7bca484cfdb07
7,191
/* * Copyright (c) 2018 Stanislav Myachenkov * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge...
37.847368
105
0.69295
07a6f8ff19dd3338bd3bd8bb7d36f33f55c27cb0
7,504
/** * Copyright "TBD", Metron Aviation & CSSI. All rights reserved. * * This computer Software was developed with the sponsorship of the U.S. Government * under Contract No. DTFAWA-10-D-00033, which has a copyright license in accordance with AMS 3.5-13.(c)(1). */ package gov.faa.ang.swac.common.flightmodeling; ...
29.085271
220
0.701493
80bd686305a71fa71f3ec45b9bd2750bef55c560
3,227
package ninja.egg82.primitive.doubles; import it.unimi.dsi.fastutil.Arrays; public class DoubleArrays { //vars public final static double[] EMPTY_ARRAY = new double[0]; //constructor private DoubleArrays() { } //public public static double[] ensureCapacity(final double[] array, final int length) { if ...
26.024194
100
0.651379
9d3fa08865a7ae05b5bd874a0711400f415838b4
691
package gd.rf.ta98.coffeeGit; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JTextArea; public class Main { public static void main(String[] args) { JFrame win = new JFrame("coffe...
20.939394
57
0.680174
301081bb656cf27401b197241b34b47b75ddb997
1,701
package com.swr.matchmatch.util; import android.support.design.widget.Snackbar; import android.view.View; import com.swr.matchmatch.R; /** * Created by Steve Rock, SWR Technologies, LLC on 10/6/2017. * * MIT License Copyright (c) [2017] Steven William Rock, SWR Technologies, LLC Permission is h...
47.25
462
0.740153
6bec6dc659e18d9e91d58e0c1d1e14f0e61b4f9a
3,416
package io.ebeaninternal.server.core; import io.ebean.config.ServerConfig; import io.ebeaninternal.server.dto.DtoNamedQueries; import io.ebeaninternal.xmlmapping.XmlMappingReader; import io.ebeaninternal.xmlmapping.model.XmDto; import io.ebeaninternal.xmlmapping.model.XmEbean; import io.ebeaninternal.xmlmapping.model....
30.5
119
0.711066
76f83f08647b1edf9454c79d49520a21c786b443
1,403
package com.app2.manager; public class Configuration { public static final String MANAGER_SERVER_IP = "10.128.180.43"; public static final int MANAGER_SERVER_PORT = 6666; public static final int ADB_SERVER_PORT = 9999; public static final String CMD_RETURN_TAG = "RETURN-"; public static final Str...
41.264706
91
0.758375
8ddcae1b4c774cd8238b664e15a9ed81a6329d5f
3,268
// ********************************************************** // Assignment2: // Student1: // UTORID user_name: bryanch3 // UT Student #: 1004015683 // Author: Chanzo Bryan // // Student2: // UTORID user_name: gaylejoe // UT Student #: 1004029268 // Author: Joey Lakerdas-Gayle // // Student3: // UTORID user_name: apple...
31.423077
78
0.571909
c1fc603327453f69a8053c9311b709a2f8057e32
1,710
package com.intellij.spring.webflow.graph.impl; import com.intellij.spring.webflow.graph.WebflowNodeType; import com.intellij.spring.webflow.model.xml.Transition; import com.intellij.spring.webflow.model.xml.WebflowNamedAction; import com.intellij.spring.webflow.WebflowIcons; import com.intellij.util.Icons; import com...
30.535714
112
0.781287
7ea508ae40a84d861b88c685da0c91e3edf762db
789
package com.essue.jvcache.redis; import com.essue.jvcache.Cache; import com.essue.jvcache.CacheProvider; import com.essue.jvcache.event.CacheEventBus; import com.essue.jvcache.redis.codec.RedisCodec; import io.vertx.redis.RedisClient; public class RedisCacheProvider implements CacheProvider { private CacheEventBus...
23.909091
91
0.755387
f572954d796eb047b8324fae89efb231a31c49aa
525
// http://codeforces.com/problemset/problem/61/A import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner read = new Scanner(System.in); String a = read.nextLine(); String b = read.nextLine(); StringBuilder output = new StringBuilder(); for (int i = 0; i < a...
17.5
48
0.60381
8c2c853ce084213d336900cff2fffdfb843bdd00
682
package izuzeci; import java.util.Scanner; public class TestTryCatchPetlja { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Unesite ceo broj: "); int i = sc.nextInt(); sc.close(); // telo for-petlje je try-catch blok // (izbacivanje izuzetk...
26.230769
63
0.617302
1da47ca6ec17067efbdf687d6936e1d6f9a271fe
659
package org.embulk.input.jira; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import org.embulk.config.ConfigException; public enum AuthenticateMethod { BASIC; @JsonValue @Override public String toString() { return this.name().toLow...
23.535714
129
0.666161
6de024a195a36a2579f8e6ed485f29127df78f35
8,259
package org.umlg.sqlg.test.where; import org.apache.commons.lang3.time.StopWatch; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.process.traversal.Traversal; import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal; import org.apache.tinkerpop.gremlin...
45.131148
167
0.583606
8000a0ae1eee136f348bfae7256440d0fbf94717
2,789
/* * 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 pmart; /** * * @author LeakSmey */ public class ProductList { private int pid; private String barcode; private...
19.368056
129
0.557189
5f64a468f55fc810c231165ad8ad86d61f2d5554
1,760
package main; import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import java.util.Map; public class Main { JFrame mainFrame = new JFrame(); JPanel panel = new JPanel(); JTextPane poem = new JTextPane(); JButton s...
28.852459
158
0.55625
d0d540a321d7b87b35a81ffcf866a763d689e575
447
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.outlook; import com.wilutions.com.*; /** * AccountSelectorEvents. * */ @CoInterface(guid="{00063104-0000-0000-C000-000000000046}") public interface AccountSelectorEvents extends IDispatch { static boolean __typelib__loaded = __Type...
31.928571
110
0.744966
9e0c7a86eba7e9934ba3f74da06e18f20ee96443
634
package de.agrirouter.middleware.persistence; import de.agrirouter.middleware.domain.Endpoint; import de.agrirouter.middleware.domain.log.Error; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * Access all errors. */ public interface ErrorRepository extends JpaRepository<Er...
21.862069
69
0.687697
4fd7edfb20b6aa99279dc5d7118e1e70abd4b63d
4,622
package picard.arrays.illumina; import htsjdk.tribble.annotation.Strand; /** * A simple class to represent a locus entry in an Illumina Bead Pool Manifest (BPM) file */ public class IlluminaBPMLocusEntry { int version; // The LocusEntry version. // IlmnID (probe identifier) of locus String ilmnI...
19.668085
92
0.598442
786df75a1ce8bbb3a4e923c703572368c259e734
6,388
package com.easydataservices.db2admintool.database.agent.db2luw; import java.util.Arrays; import java.util.logging.Level; import java.util.logging.Logger; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.core.env.StandardEnvironment; import org.springframewor...
36.712644
120
0.695679
ac90eebe05c8547770d3a23e3656ab0f4037f644
1,645
package org.kidding.orm.test; import org.kidding.orm.parser.impl.EntityParser; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; /** * Created by iCrany on 14/11/28. */ public class EntityParserTest {...
33.571429
125
0.621277
ecfe71ef0f28181bd437280f3f9d6453e8e8386d
288
package dev.mohsenkohan.petclinic.repositories.jpa; import dev.mohsenkohan.petclinic.model.Vet; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface VetRepository extends CrudRepository<Vet, Long> { }
28.8
66
0.847222
980ba0efbdad4cf67a274c35914a14b182c4af0b
1,974
package Models.Clowns; import Models.Utils.ArrayListIterator; import Models.Utils.Loader; import Models.Stick.Observer; import View.game.GameObject; import java.awt.image.BufferedImage; import java.util.ArrayList; public class ImageObject implements GameObject,Cloneable { public BufferedImage[] spriteImages = ne...
20.142857
70
0.599797
8cbd3ffc4944233cfecb54f01a5b664062f0558b
793
package me.paulf.wings.client.flight.state; import me.paulf.wings.client.flight.Animator; import me.paulf.wings.server.flight.Flight; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.math.BlockPos; public final class StateIdle extends State { public Stat...
28.321429
100
0.760404
4e6b215b46e99ac0972a8b47cffbf150b5587a8e
2,219
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.138462
94
0.71744
73fcadea6ccd6775cf8334bed11a10bc4091aad7
925
// This file is part of MicropolisJ. // Copyright (C) 2013 Jason Long // Portions Copyright (C) 1989-2007 Electronic Arts Inc. // // MicropolisJ is free software; you can redistribute it and/or modify // it under the terms of the GNU GPLv3, with additional terms. // See the README file, included in this distribution, f...
31.896552
72
0.743784
a23b73a2176e241e20c9a873f881027ed0d446c4
2,181
package ink.dvc.ezmybatis.core.sqlgenerate.oracle; import ink.dvc.ezmybatis.core.sqlgenerate.AbstractEzUpdateToSql; import ink.dvc.ezmybatis.core.sqlstruct.UpdateSet; import ink.dvc.ezmybatis.core.sqlstruct.update.UpdateItem; import org.apache.ibatis.session.Configuration; import ink.dvc.ezmybatis.core.EzUpdate; impor...
37.603448
112
0.665291
fe4564a6721ea4beac82c076634150bb0cc92afc
1,521
package mdelacalle.com.cartasnauticas; import io.realm.RealmObject; public class Situacion extends RealmObject { String analisis; String inicio; String fin; String texto; String nombre; public Situacion(String analisis, String inicio, String fin, String texto, String nombre) { this.an...
20.554054
95
0.529257
a3ad8d9c1bf2ab7688636c3866188abc5ad44ddd
647
package Release_VIII.B_Chapter_13.P3_Editor; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Editor { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str[] = new...
22.310345
75
0.684699
42473ea706e57a94f00e0a7b30dbcd5a0b4b4799
1,290
/* * Copyright 2019 StreamSets 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...
30.714286
115
0.72093
577a2791b255f7d781e365ffd0295c69dedc3707
1,181
package hackerrank.practice.warmup; public class CountingValleys { public static void main(String[] args){ // String[] path= {"D", "D", "U", "U", "U", "U", "D", "D"}; // String[] path= {"U", "D", "D", "D", "U", "D", "U", "U"}; // String[] path= {"U", "D", "D", "D", "U", "D", "U"}; // St...
31.918919
83
0.401355
fb57ce901b80cd32909ce1888afed8e066cc25da
743
package de.melanx.skyguis.config; import io.github.noeppi_noeppi.libx.annotation.config.RegisterConfig; import io.github.noeppi_noeppi.libx.config.Config; import java.text.SimpleDateFormat; @RegisterConfig(client = true) public class ClientConfig { @Config({ "See here for information how to configur...
35.380952
107
0.656797
a5f3cc281d3a75c193751257ba4f825f40a842e5
930
package com.github.sqrlserverjava.backchannel; import static com.github.sqrlserverjava.backchannel.SqrlTifTest.isTifAbsent; import static com.github.sqrlserverjava.backchannel.SqrlTifTest.isTifPresent; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; import org.j...
32.068966
84
0.811828
3bb15a6158a49f4a4aac3f661f9f0af1eba8255e
8,659
package keisuke.count.diff; import static keisuke.count.diff.renderer.RendererConstant.MSG_DIFF_RND_PREFIX; import static keisuke.count.option.CountOptionConstant.*; import static keisuke.report.property.MessageConstant.MSG_DIFF_STATUS_PREFIX; import java.io.File; import java.io.FileNotFoundException; import java.io....
29.452381
107
0.727451
f870113ce0c78bb36d1dbe3d879d27e36a6cc131
1,741
package uk.gov.hmcts.ethos.replacement.docmosis.service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import uk.gov.hmcts.ethos.replacement.docmosis.helpers.PersistentQHelper; import uk.gov.hmcts.ethos.replacement.docmosis.servicebus.CreateUpda...
38.688889
119
0.673751
439b71d909c5dcb256ecbaa5ff1e0d2b18728c0a
318
package dev.vality.wallets.hooker.handler.withdrawal; import dev.vality.fistful.withdrawal.TimestampedChange; import dev.vality.machinegun.eventsink.MachineEvent; import dev.vality.wallets.hooker.handler.EventHandler; public interface WithdrawalEventHandler extends EventHandler<TimestampedChange, MachineEvent> { }
35.333333
95
0.858491
c0200ed67a5cb2afd1ba7c6baacc102ce3fcc3d2
372
package me.haruhime.utils.time; public class TimerUtils { private long past; public TimerUtils() { past = 0; } public boolean hasPassed(float tp) { return (float) (getTime() - past) >= tp; } public long getTime() { return System.nanoTime() / 1000000; } publi...
15.5
48
0.553763
ddd94ff79b761134c6450b0b1039be71dd0a8b7f
197
package com.neko233.forward; import org.junit.jupiter.api.Test; /** * @author SolarisNeko * Date on 2022-04-12 */ public class ForwardEngineTest { @Test public void test() { } }
12.3125
34
0.654822
6f281480699c6232a884b410b3e20a567ecf86bb
6,168
/* * Pixel Dungeon * Copyright (C) 2012-2014 Oleg Dolya * * 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 option) any later version. * * ...
24.09375
98
0.649643
96897ab96e3cbd70099bdc2fdac35d01b305ccf5
1,441
/* * Copyright DataStax, 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 in wri...
34.309524
97
0.726579
d2f8db4823968dd48da7f54b65d7ac91fa108c4b
3,843
/** */ package org.multicore_association.shim.model.shim; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Power Consumption Set</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are s...
38.049505
131
0.686963
65815d48a913b593e26998462798dd03aeba35da
2,698
/* * Copyright 2017 Nemanja Zbiljić * * 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...
32.119048
108
0.70089
00e5d2b0dd614c2e2661d76e763857db38d4a343
14,351
package org.ovirt.engine.core.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.inject.Named; import javax.inject.Singleton; import org.apache.commons.lang.StringUtils; import org.ovirt.engine....
41.002857
149
0.658421
9c27a387be997d4cb27f3584b4fdfe12a1db8e97
1,177
package com.ABC.bitrade.entity; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence....
18.390625
68
0.677145
8d996083984df64127b81ab0a47a8b6634d7e85c
2,364
package com.dong.lib.common.di.component; import android.app.Application; import android.content.Context; import com.dong.lib.common.base.delegate.AppDelegate; import com.dong.lib.common.di.module.AppModule; import com.dong.lib.common.di.module.ClientModule; import com.dong.lib.common.di.module.GlobalConfigModule; im...
27.172414
102
0.730541
26a9233360d20b573188328ce6f488e484551bfe
1,276
package ${rootPackage}; import com.google.gwt.core.client.EntryPoint; import org.dominokit.domino.ui.Typography.Paragraph; import org.dominokit.domino.ui.cards.Card; import org.dominokit.domino.ui.icons.Icons; import org.dominokit.domino.ui.layout.Layout; import org.dominokit.domino.ui.style.ColorScheme; import org.do...
36.457143
142
0.615204
3f3d64720d16071b279a4f6ed7c0f64aa61a80d5
3,267
/* * Copyright (C) 2013 Google 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 ...
26.346774
96
0.689317
f1de6a7978726897da0fdbc75e3333d9a3f0a012
4,756
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
22.224299
75
0.641295
a53ec80ee4cf6747e3283d4cf7d608ec948d36e0
1,178
package me.zhengjie.modules.qe.repository; import me.zhengjie.modules.qe.domain.EnvironmentBaseGroup; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import ...
51.217391
146
0.782683
f99a4db604b07ce22f4540b50c58ba6a77252c87
3,525
package com.rommelrico.exercises.s7queuesandstacks.queuewithtwostacks; import java.util.NoSuchElementException; import java.util.Stack; /** * Solution * * Let's call our stacks inStack and outStack. * * For enqueue, we simply push the enqueued item onto inStack. * * For dequeue on an empty outStack, the oldest...
41.964286
117
0.689362
d72450ccfa7417b6da24f8abefed43a5cde521eb
1,882
package com.service.framework.jdbc.interceptor; import org.apache.ibatis.executor.statement.StatementHandler; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.plugin.*; import org.apache.ibatis.reflection.DefaultReflectorFactory; import org.apache.ibatis.reflection.MetaObject; import org.apache.ibat...
37.64
119
0.679065
c8e284084d9e8fd007dd0c118c1c26adeab0d3c9
2,136
package cn.codethink.xiaoming.contact; import cn.codethink.common.util.Preconditions; import lombok.Data; /** * Qq 群设置项 * * @author Chuanwise */ @Data public class QqGroupConfiguration implements GroupConfiguration { private final QqGroup group; public QqGroupConfiguration(QqGroup group)...
26.04878
85
0.660581
6ffbfc88ac13bad049bdc1cce547237bc844ec41
4,206
package io.fluidity.search.agg.histo; import io.fluidity.util.DateUtil; import org.graalvm.collections.Pair; import org.joda.time.DateTime; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import org.junit.jupiter.api.Test; import java.util.List; import java.util.stream.Colle...
35.344538
139
0.66524
aaf96e4664858b71862d71c605134c26a522e3ba
627
/* * Copyright (C) 2017 Orange * * This software is distributed under the terms and conditions of the 'Apache-2.0' * license which can be found in the file 'LICENSE.txt' in this package distribution * or at 'http://www.apache.org/licenses/LICENSE-2.0'. */ package com.orange.oswe.demo.woofer.webfront.clients; imp...
26.125
84
0.720893
4397ac0d38df59d46043f7e505d1a2feb629e503
2,927
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. */ package com.microsoft.embeddedsocial.ui.fragment; import com.microsoft.embeddedsocial.base.event.EventBus; import com.microsoft.embeddedsocial.data.model.Acco...
33.643678
91
0.724291
b07d1097419c72253c15e34dfec69d72e3378814
6,880
/* * Copyright © 2015 Cask Data, 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 t...
38.01105
119
0.738517
533d833089b716f533d3b8a236b494bc6949fbd9
3,354
package wcsdata.xmen.controller.crud_html; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.http.MediaType; impo...
35.680851
102
0.725104
fcf5753fb372d418a602dd91c494047503e8a8f4
2,605
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
24.345794
93
0.753167
3b25ac320d7a8ee3ec55eecb89ec3552795396fb
28,936
/* * Copyright 2016-2021 Amazon.com, Inc. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
35.723457
137
0.586259
7f35373ce6ee64a4f4fd751b08831ae82d194363
3,610
/* * Copyright 2010-2012 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...
38
118
0.730748
e1b1f07f14c746804ffb0c617805c04cf0519a6d
948
package org.com.allen.enhance.basic.limit; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; /** * @author allen.wu * @since 2018-06-21 22:52 */ public class CountLimiter { private static final AtomicInteger count = new AtomicInteger(0); public static void main(Stri...
23.7
77
0.514768
b432f246115480549da74b1549c0bb003292ab75
261
package bytecryb.clio.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import bytecryb.clio.model.PDF; @Repository public interface PDFRepository extends JpaRepository<PDF, Long> { }
23.727273
65
0.835249
faf9780c3069b32dcea6da67b948dcdb1f03702c
1,247
package cn.k12soft.servo.module.wxLogin.repository; import cn.k12soft.servo.module.wxLogin.domain.pojo.PushCode; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import org.spring...
41.566667
110
0.730553
08e0027ffab839891b8c4c5f6245437e297756f2
2,312
package nl.lucasridder.RealIP.bungee.handler; import io.netty.channel.AbstractChannel; import net.md_5.bungee.api.connection.PendingConnection; import nl.lucasridder.RealIP.provider.PlayerProvider; import nl.lucasridder.RealIP.util.ReflectionUtil; import nl.lucasridder.RealIP.util.exception.manipulate.PlayerManipulati...
29.265823
134
0.772924
a12f5937ab6def75b41f2f5c1a1a68c8419f6a8c
2,118
package io.github.reugn.gravity.bench; import io.github.reugn.gravity.bench.state.Before; import io.github.reugn.gravity.matcher.BMHMatcher; import io.github.reugn.gravity.matcher.ContainsMatcher; import io.github.reugn.gravity.matcher.Matcher; import io.github.reugn.gravity.util.Utils; import org.openjdk.jmh.annotati...
35.898305
85
0.687441
e86fc57155d462e79d2d049bdafaf3350241fd0f
516
package com.fullmark.service; import com.fullmark.pojo.Goods; import org.springframework.web.multipart.MultipartFile; import java.util.List; public interface GoodsService { public List<Goods> showGoodsList(); boolean isGoodsEnough(int gid, int number); void reduceNumber(int gid, int number); void ...
25.8
73
0.75
35d50c02151afb0a161adeb288021efd92e7922d
1,457
package com.kencloud.partner.user.network_util; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Response; import com.android.volley.toolbox.HttpHeaderParser; import com.android.volley.toolbox.JsonRequest; import org.json.JSONArray; import org.json.JSONExcepti...
28.568627
86
0.707618