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
a07455210ff268077d4d96eb3b89aea89ae07781
1,404
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.batch; import com.azure.core.util.Context; import com.azure.resourcemanager.batch.models.CheckNameAvailabilityParameters; /** S...
36.947368
114
0.719373
820b83a8bf13dfaf7fe74fea3d833cf5f1c9283a
3,330
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
29.469027
92
0.703003
ca960576177ada14823846c164df261718639287
7,148
package authoringEnvironment.settingsWindow.ObjectEditorFactory.GUIMakers; import authoringEnvironment.settingsWindow.ObjectEditorFactory.Constants.ObjectEditorConstants; import authoringEnvironment.settingsWindow.ObjectEditorFactory.Constants.StylesheetType; import javafx.css.Styleable; import javafx.event.EventHandl...
28.365079
95
0.757974
2d0b1f5320668dc021fe39b31153082aae13b139
1,242
package com.thinkaurelius.faunus.hdfs; import com.thinkaurelius.faunus.BaseTest; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import java.io.File; import java.io.IOException; /** * @author Marko A. Rodr...
33.567568
93
0.688406
8f79927a9a4a0cd67c938a13c31e594c2a726c01
1,987
package io.minimum.minecraft.alien.minecraft.bedrock.proxy.client.handler; import io.minimum.minecraft.alien.minecraft.bedrock.packet.*; import io.minimum.minecraft.alien.minecraft.bedrock.proxy.client.McpeServerConnection; import io.minimum.minecraft.alien.minecraft.bedrock.proxy.player.McpePlayer; import io.netty.ut...
31.539683
108
0.731756
23410d7b5c96f1649aad5b68cef98bf5ac6b604e
19,771
package com.lordjoe.voter.votesmart; import com.lordjoe.utilities.CollectionUtilities; import com.lordjoe.utilities.DualList; import com.lordjoe.utilities.DualMap; import com.lordjoe.voter.*; import com.lordjoe.voter.State; import org.votesmart.api.VoteSmartErrorException; import org.votesmart.api.VoteSmartException; ...
37.659048
133
0.536341
665a85c22adb194b5c0b4e85e400d0ddee019ed4
933
package com.smartlogic.ontologyeditor.examples; import java.io.IOException; import com.smartlogic.cloud.CloudException; import com.smartlogic.ontologyeditor.OEClientException; import com.smartlogic.ontologyeditor.OEClientReadWrite; import com.smartlogic.ontologyeditor.beans.Label; import com.smartlogic.ontolo...
35.884615
96
0.779207
f0628cd552157d45c22619b7fe4525ed3fe35a48
12,017
// Copyright (c) Piotr Morgwai Kotarbinski, Licensed under the Apache License, Version 2.0 package pl.morgwai.samples.jocl; import java.io.IOException; import java.util.Random; import org.jocl.CL; import org.jocl.Pointer; import org.jocl.Sizeof; import org.jocl.cl_command_queue; import org.jocl.cl_context; import org...
34.334286
96
0.721478
d35fc000c7116b0be693bfb8f3b1fac4ce32e13e
4,325
/* * Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.struts.inplace.gutter; import com.intellij.icons.AllIcons; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.lang.annotation....
35.162602
140
0.64
038481a00fa1f3bd96b11f53875fc7c072b73366
1,955
package com.hys.exam.model; /** * ***************************************************************************** * * Copyright(c) 2017 by 伟宏互联网科技有限公司. * * All rights reserved. * ******************************************************************************* * ...
19.356436
86
0.51509
90e06d64b32df1c190ffb7ca97283b48f7e09595
2,973
/* * 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 ...
40.175676
113
0.754457
8c98769402d23b19b0f674094a5905a38bd8f215
433
package com.camunda.consulting; /** * Definition of process constants, just to prevent typo * * @author jonathanlukas * */ public interface GlobalMessageCorrelationConstants { interface VariableName { String RunnerVar = "runner"; } interface MessageName { String GlobalIncomingMsg = "global_incoming_mes...
16.653846
69
0.757506
087806ebb56c67d63a6cdf4d309734da804cb666
5,550
package com.example.lwy.myapplication; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.GridLayoutManager; import android.support.v...
34.90566
119
0.632072
29c3d15c1d708b62698144a0de1685249b0ecb4f
2,556
/* * @lc app=leetcode.cn id=901 lang=java * * [901] 股票价格跨度 * * https://leetcode-cn.com/problems/online-stock-span/description/ * * algorithms * Medium (42.42%) * Likes: 59 * Dislikes: 0 * Total Accepted: 7K * Total Submissions: 14.8K * Testcase Example: '["StockSpanner","next","next","next","next","...
21.661017
93
0.544601
d2f28cc66aaafe099d5dc7623b99090eb651f8a9
369
package com.zebra.datawedgeprofileenums; public enum SC_E_PREAMBLE { PREAMBLE_NONE("0"), PREAMBLE_SYS_CHAR("1"), PREAMBLE_COUNTRY_AND_SYS_CHAR("2"); private String enumString; private SC_E_PREAMBLE(String confName) { this.enumString = confName; } @Override public String to...
19.421053
42
0.661247
6c86d08c8edead4c777a9f08e844bd8e3fbac9bd
1,505
package co.banano.natriumwallet.network.model.response; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import co.banano.natriumwallet.network.model.BaseResponse; public class AccountBalanceItem extends BaseResponse implements Serializable { @SerializedName("balance") private...
21.811594
88
0.690365
ffc49d265557ffe08fe28778fb64757aba14d77e
930
/* * 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 klose.effj.enums; /** * * @author klose */ public enum FragilePayrollDay { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDA...
26.571429
79
0.591398
53f566afeea2fa84f4f702e2d5fde3278e946e0a
2,854
package mods.natura.items; import java.util.List; import mods.natura.Natura; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minec...
31.362637
186
0.647863
7a239d2615694568b17fa32fa34b28869e7f44f6
578
package net.glowstone.block.state; import net.glowstone.block.GlowBlock; import net.glowstone.block.GlowBlockState; import net.glowstone.block.entity.TEHopper; import org.bukkit.block.Hopper; import org.bukkit.inventory.Inventory; public class GlowHopper extends GlowBlockState implements Hopper { public GlowHopp...
24.083333
66
0.728374
767dce7dd554bd03e1957f0ce3c1470c78a9e600
2,228
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
37.762712
118
0.712747
945653ce46990a600df3eefb6616028dd2dc56a6
1,266
/******************************************************************************* * Copyright (c) 2019 NetAllied Systems GmbH, Ravensburg. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for details. *************************************************************************...
66.631579
152
0.743286
9c172cb1fb962aa9d0feef3ea3e5e4f2a2f1ff66
920
package org.ros.internal.node.response; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.ros.address.AdvertiseAddress; import org.ros.internal.transport.ProtocolDescription; import org.ros.internal.transport.tcp.TcpRosProtocolDescription; /** * @author Jonathan Groff Copyright...
34.074074
101
0.779348
71a76e55bab669cc52d72388619ee11c72442225
4,093
/** * This private project is a project which automatizate workflow in medical center AVESTA * (http://avesta-center.com) called "MedRegistry". The "MedRegistry" demonstrates my programming * skills to * potential employers. * <p> * Here is short description: ( for more detailed description please read README.md o...
37.209091
100
0.657708
e07a93b7cb06fd716e60e066df0528e9cc37e143
3,335
/* * Copyright Terracotta, 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 ...
27.561983
75
0.683658
5e327a7b963e9516ae00f5b9946a892b04a11e9b
1,800
package com.zfgc.dbobj; public class AvatarGalleryDbObj { /** * This field was generated by MyBatis Generator. This field corresponds to the database column AVATAR_GALLERY.AVATAR_GALLERY_ID * @mbggenerated Wed Nov 14 23:10:41 EST 2018 */ private Integer avatarGalleryId; /** * This field was generated by M...
35.294118
137
0.759444
c07d09990277c9b2773d900d8ace230ca82f82d9
599
package com.unia.android.hellojni; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class MainActivity extends Activity { // native lib static { System.loadLibrary("hellondk"); } native String getStringFromJNINative(); TextView ndkText; @Ov...
22.185185
60
0.686144
e1b3e99f04a730545a85cf7627982dfbff2addf7
800
package kendal.api.impl.builders; import com.sun.tools.javac.tree.JCTree.JCIdent; import com.sun.tools.javac.tree.TreeMaker; import com.sun.tools.javac.util.Name; import kendal.api.AstUtils; import kendal.api.builders.IdentifierBuilder; import kendal.model.Node; import kendal.model.TreeBuilder; public class Identifi...
27.586207
89
0.7475
b23316d54b0522dea87512e5ff6a0007bd761a8f
1,371
/*LC974: Subarray Sums Divisible by K https://leetcode.com/problems/subarray-sums-divisible-by-k/ Given an array A of integers, return the number of (contiguous, non-empty) subarrays that have a sum divisible by K. Example 1: Input: A = [4,5,0,-2,-3,1], K = 5 Output: 7 Explanation: There are 7 subarrays with a sum divi...
34.275
77
0.551422
d7f42563779b622c0d999b25b2a630e4d4540f37
748
package ch.usi.dag.disl.test.suite.exception.instr; import ch.usi.dag.disl.annotation.After; import ch.usi.dag.disl.annotation.Before; import ch.usi.dag.disl.marker.BodyMarker; import ch.usi.dag.disl.marker.BytecodeMarker; public class DiSLClass { @Before(marker = BytecodeMarker.class, args = "invokevirtual", scope...
26.714286
90
0.712567
b32de1971cec1fab424463a6983915693f43c81e
3,303
/* * Copyright (c) 2014. Vlad Ilyushchenko * * 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 agr...
29.491071
144
0.512867
7d7033fe4d543fb29da2295cfa492f49d1b4eded
2,762
/* * Copyright (C) 2008 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 app...
30.021739
83
0.595945
71df69af783b4a2dc0df2643738f8be2ef0e8aff
37,347
class ucznYvji { public static void o5q61dg7Q (String[] N3GmpQ732UyD) throws kNDDnxD55BMz2 { ndF9enR speR6Cxf7; int[] azaqQY; if ( -!false.c4jkgJxElAz()) if ( this.m1o0POkUNrXD7()) while ( !null.jxG2ZI) while ( false.NXtYzLyilYa8l()) return; { int[] zbj1J0N; d...
40.638738
405
0.516025
beef4372fad430f5eef4b64a5b89d7be3d80bc6f
1,100
package pl.zankowski.iextrading4j.client.rest.request.market; import pl.zankowski.iextrading4j.api.market.MarketVolume; import pl.zankowski.iextrading4j.client.rest.manager.RestRequest; import pl.zankowski.iextrading4j.client.rest.manager.RestRequestBuilder; import pl.zankowski.iextrading4j.client.rest.request.Abstrac...
42.307692
112
0.766364
0ea952fcf8be2249f0b8e17f7b5ed4fd6e896f4a
542
package io.doov.core.dsl.lang; /** * Conditional mapping rule * The conditional mapping rule will execute when this validation rule is valid. */ public interface ConditionalMappingRule extends MappingRule { /** * Validation rule * * @return validation rule */ ValidationRule validation()...
21.68
80
0.673432
113152f33b4db767fae9aa30767aa4a5470eca25
341
package com.rayllanderson.raybank.external.payment.services; import com.rayllanderson.raybank.external.payment.requests.ExternalPaymentRequest; import com.rayllanderson.raybank.external.payment.responses.ExternalPaymentResponse; public interface ExternalPaymentMethod { ExternalPaymentResponse pay(ExternalPaymen...
31
84
0.86217
c8a868c150e6d46f71360589017e72e51ffce9c0
222
package locals_in; public class A_test570 { public void foo() { Object[] a = null; int i = 0; for (Object element : a) { /*[*/ /*]*/ i++; } } }
14.8
34
0.373874
86137f761176705a2a5e055eb62fafbbb7f08012
7,213
package view; import control.GameControl; import exceptions.GameControlException; /** * * @author brenda */ public class GameMenuView extends ViewBase { // private void annualReportView() { // this.console.println("annualReportView() called. Implementation coming soon"); // AnnualReportView annua...
36.614213
140
0.560932
2931c635d2ce679a474363a6f1bbe8f2a5a50844
1,580
/******************************************************************************* Exercício 5) Escreva uma classe VeiculoAVenda que represente informações básicas sobre um veículo genérico que esteja à venda, como tipo (podendo ser representado por uma String), ano e precoDeVenda. • Escreva uma classe AutomovelAVenda qu...
31.6
186
0.64557
66d7c8b2c041eea8c9b15d33038944175ade68e2
524
package talkhouse; public class LogCompressor { double log_zero; public LogCompressor(double log_zero) { this.log_zero = log_zero; } public double[][] apply(double[][] m) { double[][] result = new double[m.length][]; for (int i=0;i<m.length;++i) { result[i] = new dou...
26.2
74
0.496183
a47da45aee4ff40b993b508b6e95e6586725b625
809
package org.gov.uk.homeoffice.digital.permissions.passenger.admin.country.db.action; import lombok.EqualsAndHashCode; import org.gov.uk.homeoffice.digital.permissions.passenger.admin.country.db.CountryDAO; import org.gov.uk.homeoffice.digital.permissions.passenger.domain.Country; import org.jdbi.v3.core.Handle; import...
31.115385
90
0.779975
1908c04394ce6161a82311cb4c0526a7ef9aa38c
710
package JavaPrograms.Arrays; import java.util.Scanner; public class SumDigitsNoWith7 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Enter no. of blocks of array: "); int n=sc.nextInt(),arr[] = new int[n],s=0,j=0; for(int i=0;i<n;i+...
35.5
77
0.511268
e47d6a931c91efe2b6e40d55c56f5673e734bae2
7,328
/* * Copyright 2019 Phil Steinhorst * * 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, Ver...
30.156379
100
0.681086
fec5c4f65e31932c3a98289ac302f2e7b140f593
16,695
package com.hctrom.romcontrol.alertas; import android.app.Activity; import android.app.Dialog; import android.content.DialogInterface; import android.content.res.Resources; import android.support.v7.app.AlertDialog; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android....
44.050132
111
0.578736
4bb5b51fd2e1343629871a1a58d3cf86d073cb57
13,140
/* * Copyright (c) 2018 Dafiti Group * * 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, publi...
31.211401
135
0.625342
1ab9fd01a8ea3373c24b617c50a42a6ed18b4783
3,304
package kamillobinski.sheltybackend.controller; import kamillobinski.sheltybackend.entity.Animal; import kamillobinski.sheltybackend.service.AnimalService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.Multipart...
52.444444
183
0.729419
cb68e14fa917245a55607917329494ccc96a27ed
858
package com.senacor.example.wicket.taskapp.task.model; import org.apache.wicket.model.AbstractReadOnlyModel; import org.apache.wicket.model.IModel; import java.util.List; /** * Model chain to get the number of completed tasks. * @author Sven Ludwig, Senacor Technologies AG */ public final class TaskCompletedCount...
26.8125
83
0.7331
0fd7e4ca7087860fb138674adadfd6145ea0565d
500
package vinz486.jpoem.parser; import com.reprezen.kaizen.oasparser.OpenApi3Parser; import javax.inject.Inject; import java.io.File; public class SpecParser implements Parser { @Inject OpenApi3Parser openApi3Parser; @Inject public SpecParser() { } @Override public void parse() { ...
16.666667
52
0.618
faa65632ce621f4e10a09d5550d8789364b67cd9
2,263
package com.simon.service.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.simon.common.utils.SmsUtil; import com.simon.dto.SmsResultDto; import com.simon.service.BaseSmsService; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.RandomUtils; import org.apa...
33.279412
96
0.632346
a360e44c792482c0fbe4907bc63f393dad56b6ea
958
package com.mgc.letobox.happy.domain; import com.leto.game.base.http.SdkConstant; /** * Created by liu hong liang on 2016/11/9. */ public class InstallBean extends BaseRequestBean { private String channel_url;//是 STRING 客户服务器URL OR IP private String channel_id= SdkConstant.PROJECT_CODE;//是 INT 客户编号 pr...
22.27907
74
0.678497
4f3bc1b72c60d1381ce33a0fa218fa9cbcafbaba
1,297
package app; import client.PingClient; import server.ProcessingServer; import server.worker.WorkerFactories; import java.net.InetAddress; public class TwoServicesExample { public static void main(String[] args) { ProcessingServer primeDecomposeServer = new ProcessingServer("Prime Decompose Server", 8080...
37.057143
148
0.690054
9c591bc7dcbc07caf9769e82c5df886b5091438a
1,177
package lab07a_if_else_if_labs; // A+ Computer Science - www.apluscompsci.com //Name - //Date - //Class - //Lab - import java.util.Scanner; public class GradeCheck { public static void main(String args[]) { Scanner keyboard = new Scanner(System.in); Grade test = new Grade(78); System.o...
26.75
66
0.593883
6bdd27fa1c5d53203ca855677bc284c16603c6f0
1,620
/* * Copyright (C) 2017. Uber Technologies * * 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 ...
32.4
96
0.761111
2bf3664d6ddeedf07df046ab3112a726a42173a9
8,854
package de.fhg.iais.roberta.ast.stmt; import org.junit.Assert; import org.junit.Test; import de.fhg.iais.roberta.ast.AstTest; import de.fhg.iais.roberta.syntax.lang.stmt.IfStmt; import de.fhg.iais.roberta.util.test.UnitTestHelper; public class IfStmtTest extends AstTest { @Test public void ifStmt() throws E...
38.495652
148
0.601875
63bea08d9d519d47f0c5e5c55e91c4cafb871b33
362
package io.jmix.sampler.screen.ui.containers.responsivegridlayout.offset; import io.jmix.ui.screen.ScreenFragment; import io.jmix.ui.screen.UiController; import io.jmix.ui.screen.UiDescriptor; @UiController("responsivegridlayout-offset") @UiDescriptor("responsivegridlayout-offset.xml") public class ResponsiveGridLayo...
32.909091
73
0.842541
b0c117d7e5dca189aa36998c0b936719faf9b12b
1,780
package org.apache.servicecomb.pack.alpha.server.actuate.endpoint.mvc; import org.apache.servicecomb.pack.alpha.server.actuate.endpoint.ActuatorEndpoint; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.actuate.endpoint.Endpoint; import org.springframework.boot.actuate.end...
36.326531
110
0.742697
95e075385393a18d6d4f585b1b02a88605809103
4,916
package mainapp; import main.java.kvindex.IndexBuilder; import main.java.kvindex.IndexNode; import main.java.query.EpsilonMatchingQuery; import main.java.tools.FunctionsKVIndex; import main.java.tools.GlobalConfKVIndex; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.nio.chann...
46.377358
152
0.64524
eb3bc27d2d0aab6b0194ba6c6769e42c43f44253
7,047
package haxe.io; import haxe.root.*; @SuppressWarnings(value={"rawtypes", "unchecked"}) public class Input extends haxe.lang.HxObject { public Input(haxe.lang.EmptyObject empty) { } public Input() { //line 28 "C:\\Apps\\Haxe\\haxe\\std\\haxe\\io\\Input.hx" haxe.io.Input.__hx_ctor_haxe_io_Input(this); } ...
27.208494
175
0.570172
b3952b5679d656899bd32f8feb0408c6d5c24bcf
1,982
/* * Code Lyoko Mod for Minecraft ${version} * Copyright 2014 Cortex Modders, Matthew Warren, Jacob Rhoda, and other contributors. * Released under the MIT license http://opensource.org/licenses/MIT */ package net.cortexmodders.lyoko.entities.mob; import net.minecraft.world.World; public class EntityBlok extends...
28.314286
93
0.645812
c7f2dad2c487455bbc452d41bb685c5a2618267a
12,186
/* * 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 ...
43.99278
145
0.614229
d86c1828528ba285731440c3c59851196a56ebe2
1,391
package com.gildedtros; public class TexttestFixture { public static void main(String[] args) { System.out.println("AXXES CODE KATA - GILDED TROS"); Item[] items = new Item[] { new Item("Ring of Cleansening Code", 10, 20), new Item("Good Wine", 2, 0), ...
34.775
67
0.483825
91a2d4102e6b21a4704d66f43d1ef8c0ae18c016
1,127
package com.dotcommonitor.plugins; import org.apache.commons.lang.Validate; /** * * @author dotcom-monitor.com */ public enum StressTestTaskStatus { SCHEDULED("Scheduled"), SUBMITTING_TEST_REQUEST("SubmittingTestRequest"), INITIALIZING_TEST("InitializingTest"), STARTING_LOAD_INJECTORS("Startin...
23.479167
115
0.641526
52e706cfd3a3fb7ebe5f3bd2925e121c1294b55f
17,576
/* * Copyright 2011-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
35.723577
126
0.654586
c72f00189a16988eefafda31719bb3ca1c20c2e2
64,600
/******************************************************************************* * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
61.406844
239
0.760093
a62c0539382ec5b50419d538915763363c7136b9
3,079
import org.apache.http.client.fluent.Request; import org.apache.http.client.fluent.Response; import java.io.File; import java.io.PrintWriter; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; public class MainApp { // Yes this is hack that will break one day static private String ge...
33.107527
140
0.578759
8cbaaffbaea995bff604af4a226030afa81d9f77
5,122
package chapter5.section2; import edu.princeton.cs.algs4.*; import util.Constants; /** * Created by Rene Argento on 18/02/18. */ public class Exercise26_Indexing { public class LookupIndex { public void lookupIndex(TrieInterface<Queue<String>> trie1, TrieInterface<Queue<String>> trie2, String filePath...
36.070423
120
0.51679
3ba1a9cae04ca861daa7d622f93dc7945eb5bb10
17,528
package io.permit.sdk.api; import com.google.gson.Gson; import io.permit.sdk.PermitConfig; import io.permit.sdk.api.models.*; import io.permit.sdk.enforcement.User; import okhttp3.*; import org.jetbrains.annotations.NotNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import j...
41.933014
166
0.624315
702d5219c4d321543e08b2de5cfa27a6165ff44b
2,447
package com.javanibble.algorithm.sequence.sort; /** * The QuickSort class implements the QuickSort algorithm for sorting an array of integers. * QuickSort, also known as partition-exchange sort, is an efficient divide and conquer sorting algorithm. * * The algorithm divides the array into two smaller sub-array...
36.522388
109
0.651001
1055a06cc96896bd8dad8a4fdb485c3fadf5c643
75
package resource; public enum ResourceType { AI, Question, Channel; }
8.333333
26
0.72
249a352fafe54398152cdef4e4671154575b5888
2,239
package findajob.hrms.core.adapters; import org.springframework.stereotype.Component; import findajob.hrms.core.utilities.results.ErrorResult; import findajob.hrms.core.utilities.results.Result; import findajob.hrms.core.utilities.results.SuccessResult; import findajob.hrms.entities.dtos.request.CandidateDto; @Co...
34.984375
116
0.481912
f203090cc0e33001dcd598787c2692c881724d1c
2,261
package at.ac.tuwien.dsg.scaledom.util; import org.apache.xerces.dom.ParentNode; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import at.ac.tuwien.dsg.scaledom.dom.ChildNodeList; /** * This utility class traverses a DOM tree, starting at a given root node (may also be the Docum...
28.987179
117
0.717382
a13b857fb079d50244a967a70eeb9cfbc825fb4d
428
package mk.microservices.songsservice.controller; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class SongListControllerTest { @Test void getSongListXml() { } @Test void getSongListsForUser() { } @Test void postNewSongList() {...
15.285714
50
0.595794
9b1bcc6840e05e62bdc41e6ad213901de372d90d
2,480
package tech.debs17gc.common.key; import org.apache.flink.api.java.tuple.Tuple; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.util.MathUtils; public class Flink { /** * Computes the index of the operator to which a key-group belongs under the given parallelism and maximum parallelism. * ...
37.014925
133
0.7125
bf8678605612346c6f6ac3f5346f1f0c11985ed5
5,112
/* * Copyright (C) 2011 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 app...
50.613861
100
0.714984
14feec11ef38ea34aad552fc1ca723126bf45cb6
4,358
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.rx; import com.azure.cosmos.CosmosAsyncClient; import com.azure.cosmos.CosmosAsyncContainer; import com.azure.cosmos.CosmosAsyncUserDefinedFunction; import com.azure.cosmos.CosmosClientBuilder; impo...
41.903846
151
0.709959
4326075d17f209bc6420cde0f7df580fa52bb0ed
10,673
/* * 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 ...
45.611111
112
0.643306
2d1097f6b3f53d979ef728b720ab7fd3301f30f7
3,249
package com.github.taxbeans.crypto; import java.math.BigDecimal; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; public class CurrencyBatchSet implements Iterable<CurrencyBatch> { private static Map<Curren...
29.536364
109
0.710065
9ba4aece2cfe952e6065c37365fe4fe89500d13d
40,778
/* * Copyright © 2019 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...
51.293082
116
0.576438
812030e2470d2ed7d328f7993f6c9838529d4df1
208
package com.uchoice.ucenter.ui.support; public enum OperationState { /** * 成功 */ SUCCESS, /** * 失败 */ FAIL, /** * 默认 */ DEFAULT, /** * 异常 */ EXCEPTION, /** * 未登录 */ UNLOGINED }
8.32
39
0.5
e63631b7a199ab0b5a1c483641f693f3062a73e3
14,768
// // Ce fichier a été généré par l'implémentation de référence JavaTM Architecture for XML Binding (JAXB), v2.3.0 // Voir <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Toute modification apportée à ce fichier sera perdue lors de la recompilation du schéma source. // Généré le ...
41.954545
271
0.618161
9f26a8331e60bb40d32445f63eaca95c22d80e84
19,429
package vg.civcraft.mc.civmodcore.config; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.function.Function; import java.util.function.Predicate; import java.util.logging.Logger; import javax.annotat...
34.571174
122
0.680323
5c618502c061ae9a92c94d43e74b688621ab764f
837
package com.example.myapplication1.slice; import com.example.myapplication1.ResourceTable; import ohos.aafwk.ability.AbilitySlice; import ohos.aafwk.content.Intent; import ohos.global.resource.Resource; import ohos.agp.components.Button; public class MainAbilitySlice extends AbilitySlice { @Override public vo...
27.9
95
0.718041
caabca23083552d4d704b8806f8b4c504de08581
1,722
package jnet.packet; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import jnet.serialization.ByteSerializable; import jnet.serialization.Serializable; import jnet.serialization.SerializationException; @Serializable public class PacketHeader implements ByteSerial...
19.133333
85
0.730546
68776ccec36e625fdf82dc6dc9775a735990b969
6,405
package FxmlControllers; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.ResourceBundle; import com.fr3sh.JiraParam; import com.fr3sh.config.LoaderConfig; import com.fr3sh.helper.BindedObjects; import javafx....
24.078947
131
0.646682
3ae1c5eaaf0649b7a06ded2ced022ae152b94c8e
96
package exceptions; public class InvalidCoordinatesException extends InvalidFieldException { }
19.2
72
0.864583
8fe00729d29c9b93c415154d061dafd67f30154d
5,613
/* ======================================================== * ServletContext.java * * Author: kenmchugh * Created: Mar 13, 2011, 12:04:47 PM * * Description * -------------------------------------------------------- * General Class Description. * * Change Log * --------------------------------------...
27.514706
196
0.61411
da656fac5e7773cf0884bd86176c9b1f2f55e096
655
package net.upd4ting.gameapi.gamehandler.handlers; import org.bukkit.GameMode; import org.bukkit.entity.Player; import net.upd4ting.gameapi.Game; import net.upd4ting.gameapi.gamehandler.SpectatorHandler; /** * Class used to handle spectator * like 1.8+ version minecraft * @author Upd4ting * */ public class Norm...
20.46875
65
0.745038
5aa3398790ad728cd20d2cd1e4b230844dd1c84d
936
package ru.udjin.addressbook.category.tests; import org.testng.annotations.*; import ru.udjin.addressbook.category.model.FillDataField; public class AddGroupTestCase extends TestBase { @Test public void testUntitledTestCase() throws Exception { app.getNavigationHelper().navigateByURL("//a[@href='group.php']...
39
92
0.758547
33df0315fc73e2717b9f97d1c4683d8552b2facb
2,025
package com.solucionesdigitales.vote.controller.user; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; im...
27.739726
139
0.76
83168c1689b6583799ed65552277000189177e2d
11,171
/*$$ * Copyright (c) 1999, Trustees of the University of Chicago * 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 the above copyright not...
36.152104
102
0.668517
d614abecb77fda9c4e433a4d69e86c59ae405ec6
6,345
/* * Copyright 2020-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
30.800971
113
0.623798
e7896d9e9813f6caafa0109026b88932595e2432
1,336
package com.example.adminstator.myviewdesign.huitujinjie.ShadowLayerViewTest; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android...
30.363636
112
0.711078
028be282f38aaf85d2889ff9f3a98bc4015c0083
2,435
package com.twu.biblioteca.model; import com.twu.biblioteca.model.Book; import com.twu.biblioteca.model.BookCollection; import java.time.Year; import com.twu.biblioteca.model.NoSuchBookException; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertArrayEquals; import static org.juni...
31.217949
84
0.670226
49910cf30378a880925bb3790c15f4753ada5ccb
6,863
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.commands.CommandTestUtil.INVALID_CARD_ANSWER_ARGS; import static seedu.address.logic.commands.CommandTestUtil.INVALID_CARD_QUESTION_ARGS; import static seedu.address.l...
46.060403
117
0.750546
e5c1db58a1d39b5bc7459322e28966bef20bd798
8,256
/* * Copyright 2018 Alfresco, Inc. and/or its affiliates. * * 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 ...
45.114754
116
0.741521
ce23f7dcd2b9d7cbb89e9c57e089e9997fe01380
1,461
package leetcode.problems.linkedin; /** 1611. Minimum One Bit Operations to Make Integers Zero * Given an integer n, you must transform it into 0 using the following operations any number of times: * Change the rightmost (0th) bit in the binary representation of n. * Change the ith bit in the binary representatio...
38.447368
115
0.66256
f46739b5f9c53b18397974c5c4e47e7eda8cb6ec
267
package com.codeosseum.miles.communication.websocket.handler; import java.io.IOException; import org.eclipse.jetty.websocket.api.Session; @FunctionalInterface public interface OnMessageHandler<T> { void handle(Session session, T payload) throws IOException; }
24.272727
63
0.812734
a5bb9ada14cdd8d5511521a01b51cb9713c59ce8
365
package com.gmail.demidovich.giphy.executor; import com.gmail.demidovich.domain.executor.PostExecutionThread; import io.reactivex.Scheduler; import io.reactivex.android.schedulers.AndroidSchedulers; public class UIThread implements PostExecutionThread { @Override public Scheduler getScheduler() { re...
24.333333
64
0.789041
846bb6fc733684ccc252eb12bf0c3cbd4cc37bb6
4,069
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.night_mode; import static org.chromium.chrome.browser.preferences.ChromePreferenceKeys.UI_THEME_DARKEN_WEBSITES_ENABL...
40.69
108
0.72524
3eb8502f07962f5a4c67c26555d2fd7fe20d1186
235
package com.ctrip.xpipe.redis.meta.server.keeper.keepermaster; import com.ctrip.xpipe.tuple.Pair; /** * @author wenchao.meng * * Nov 4, 2016 */ public interface KeeperMasterChooserAlgorithm{ Pair<String, Integer> choose(); }
15.666667
62
0.731915
f247e0d00dd0ac415122247937480312a93e2373
4,192
package com.communote.server.web.api.service.post; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.mock.web.MockHttpServletRequest; import org.testng.Assert; import org.testng.annotations.Test; import com.communote.server.api.ServiceLocator; import...
49.317647
100
0.659351