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
86ae55991d117fffc02766f5120406edc6d6cd4c
1,751
/* * Copyright 2019 Jonathan West * * 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 o...
27.793651
104
0.717304
8a633bebc10b2962026e09e7ef2361072de7beef
1,957
package com.netcracker.ncstore.service.data.order; import com.netcracker.ncstore.dto.OrderGetDTO; import com.netcracker.ncstore.dto.OrderGetPageDTO; import com.netcracker.ncstore.dto.UserIdProductIdDTO; import com.netcracker.ncstore.exception.OrderServiceNotFoundException; import com.netcracker.ncstore.exception.Order...
39.14
137
0.758304
c1d3265c6b026a1fd9fb5c1e763b93575beb4bf7
364
package com.gmail.stefvanschiedev.buildinggame.utils.arena; /** * Represents the modes an arena can be in * * @since 2.1.0 */ public enum ArenaMode { /** * Represents a free for all match; only one person a plot * * @since 2.1.0 */ SOLO, /** * Represents a team match; with as...
16.545455
63
0.593407
3e2b26fea08d193e8a772eeae8292e22a6e965db
383
package com.airbnb.lottie.parser; import com.airbnb.lottie.parser.moshi.JsonReader; public class FloatParser implements ValueParser<Float> { public static final FloatParser INSTANCE = new FloatParser(); private FloatParser() { } public Float parse(JsonReader jsonReader, float f) { return Flo...
25.533333
72
0.733681
636dbe1a02d7654f110bebf5995117b5d1ddf2cf
318
package masterofgalaxy; import java.util.Random; public class RandomUtil { public static float nextFloat(Random random, float min, float max) { return min + (random.nextFloat() * (max - min)); } public static int nextSign(Random random) { return random.nextInt(1) == 1 ? 1 : -1; } }
22.714286
72
0.641509
07eb687f9df47713b41528c02ae1dc30ddad47a2
1,959
/** * */ package com.soartech.simjr.ui.actions; import java.awt.event.ActionEvent; import java.io.File; import javax.swing.JFileChooser; import javax.swing.filechooser.FileFilter; import com.soartech.simjr.ui.SimulationMainFrame; /** * @author aron * */ public class LoadKmlFileAction extends AbstractSimulatio...
25.441558
85
0.598775
740dd27329f7abd477b19649cf322c5b339a5b9e
4,024
package com.kristurek.polskatv.service.impl; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import com.kristurek.polskatv.service.PreferencesService; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import j...
28.13986
90
0.622018
f3e51aea3cb964c0c83650b48dfad170f181ebdd
4,404
package net.minecraft.command.arguments; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.arguments.ArgumentType; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; import com.mojang.brigadier.exceptions.DynamicCommandExceptionType; i...
50.045455
139
0.788828
1b0b170e7a6c9d693826ef8ce07585908d71764b
332
package net.unit8.waitt.server.tomcat7; import org.apache.catalina.loader.WebappClassLoader; /** * */ public class Tomcat7WebappClassLoaderWrapper extends WebappClassLoader { public Tomcat7WebappClassLoaderWrapper(ClassLoader parent) { super(ClassLoaderFactoryHolder.getClassLoaderFactory().create(parent...
25.538462
79
0.786145
490acac1216e8fcf4cafcf2a52a987974855548d
693
package ca.mimic.oauth2library; class Constants { public static final String GRANT_TYPE_REFRESH = "refresh_token"; public static final String GRANT_TYPE_PASSWORD = "password"; public static final String POST_GRANT_TYPE = "grant_type"; public static final String POST_USERNAME = "username"; public s...
40.764706
70
0.763348
477133e0f834cd260b2f8a8668d3a00130f5ce76
2,974
package com.springboot.hotelbookingsystem.models; public class OrderModel { private String checkin; private String checkout; private String cardNumber; private String expireDate; private String cvv; private double totalPrice; private Long roomId; private Long userId; private String ...
19.959732
60
0.618695
dedc2dfa77f35657f93aab36e8619c25d1090aa3
874
package io.codebyexample.springbootrabbitmq.dataprovider; import io.codebyexample.springbootrabbitmq.configuration.RabbitConfiguration; import io.codebyexample.springbootrabbitmq.core.entities.Greeting; import io.codebyexample.springbootrabbitmq.util.GsonUtils; import org.springframework.amqp.rabbit.core.RabbitTemplat...
29.133333
77
0.818078
59f8b5ac54f6707a9dac3b835fe866a8421eb78f
238
package ua.es.transit.kafka; import org.springframework.cloud.stream.annotation.Input; import org.springframework.messaging.SubscribableChannel; public interface IBrokerChannel { @Input("delay") SubscribableChannel inbound(); }
23.8
57
0.798319
f7032dd41d1f74bf959146425fd07def54f1317f
17,655
/* * Copyright 2010 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...
47.205882
215
0.686038
bfa882f95780d503bd431de99671c6664f6648d1
1,309
/******************************************************************************* * Copyright (c) 2013-2017 Contributors to the Eclipse Foundation * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * All rights reserved. This program and the accompanying ...
31.926829
113
0.634836
a445d86e4c32fd6482d54e4d21c595e3cd6a92ab
4,208
/** * MIT License * <p> * Copyright (c) 2017-2019 nuls.io * <p> * 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, ...
30.273381
81
0.663023
766127b48d4d8307a18f4d8b7de5fc31e4692886
36,383
/** * Copyright (c) 2017 Dell Inc., or its subsidiaries. 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 */ pac...
52.425072
133
0.600253
f113a56cc988a54370b709842d941c2c8bdccbc9
2,548
package com.mint.controller.portal; import com.mint.common.ServerResponse; import com.mint.service.ICollectionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.spring...
30.698795
133
0.686028
349744d68a28d9b8209aabfacda61675e86a16fa
2,293
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra Collaboration Suite Server * Copyright (C) 2016 Synacor, Inc. * * 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, * version 2 of the License. * ...
42.462963
126
0.737462
7b390d08cc8263575c18755fe9557f0efdaaec73
4,713
/* OpenRemote, the Home of the Digital Home. * Copyright 2008-2012, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public...
27.086207
110
0.635264
ed6a0179d9c40b89aa9d7191fd9db9febf7490cf
4,013
package de.erdbeerbaerlp.gbmod.gui; import de.erdbeerbaerlp.gbmod.items.CapabilityGameBoy; import de.erdbeerbaerlp.gbmod.util.ClientOnly; import de.erdbeerbaerlp.guilib.components.Button; import de.erdbeerbaerlp.guilib.gui.BetterGuiScreen; import eu.rekawek.coffeegb.controller.ButtonListener; import net.minecraftforge...
32.626016
119
0.621231
5e6884b97436a785569617e04602cbc171b061bb
7,983
package com.homework.Controller; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.FileNotFoundException; import java.io.IOException; import java.sql.SQLException; import java.util.Pr...
44.597765
127
0.575849
6c34654f237f6307b5aa3bc3b5ce52c858465784
2,127
package com.lambdaschool.oktafoundation.models; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.persistence.*; import javax.validation.constraints.NotNull; @ApiModel(value = "Reactions") @Entity @Table (name = "reactions") public class Reactions extends Auditable ...
22.62766
62
0.639868
490c71b4f600dabc2735c5a5a9b2688714d40741
1,575
package com.javachess.screens; import com.javachess.Constants; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.SwingConstants; import javax.swing.JButton; import java.awt.*; /* import java.awt.event.ActionEvent; import java.awt.event.ActionListener; */ public c...
27.631579
92
0.674286
f1b49438f43980a3fa394ee9b0c48e867e8f5020
2,205
package app.hanks.com.conquer.activity; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.widget.ImageButton; import android.widget.ProgressBar; import android.widget.TextView; import app.hanks.com.co...
28.269231
122
0.741497
cf20304f14fa020aa8585445024ef397d785f587
240
package br.com.gabriel.exercicios; public class Fibonacci { public static void main(String[] args) { int x = 0; int y = 1; while (x <= 50) { System.out.print(x + " "); System.out.print(y + " "); x += y; y += x; } } }
16
41
0.545833
55a353e21747e71a66757d93eaea2fcd470bcc71
4,307
package semexe.tables.serialize; import semexe.*; import semexe.basic.IOUtils; import semexe.basic.LispTree; import semexe.basic.LogInfo; import semexe.basic.Pair; import semexe.exec.Execution; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Generate TSV files containing informa...
38.455357
133
0.521244
6e7fe97885c56c3ce08c048f2266c0985d926b40
1,307
package pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; public class CheckoutPage extends BasePage { public static final By CHECKOUT_BUTTON = By.id("checkout"); public static final By FIRST_NAME_FIELD = By.id("first-name"); public static final By LAST_NAME_FIELD = By.id("last-...
30.395349
67
0.68707
c119368b37fb8770844f1720b9f083ae00997d1e
1,926
/* * Copyright 2007 skynamics AG * * 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 applic...
26.027027
92
0.675493
4ab6c48d63d7c1d8c7caf5161a5c32fb186ce639
6,317
//package fi.csc.chipster.toolbox; // //import java.io.IOException; //import java.util.Arrays; // //import jakarta.jms.JMSException; //import jakarta.xml.parsers.ParserConfigurationException; // //import org.apache.logging.log4j.LogManager; //import org.apache.logging.log4j.Logger; //import org.xml.sax.SAXException; //...
33.601064
113
0.707773
16ccb4cd1ff6234c6c585550c4f5ac40b3a738ee
3,923
package com.parser; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.sql.SQLException; import com.common.Config; i...
40.864583
131
0.559266
3381de294cd6d69c8212c8de98c60bd4db3e8d34
62,831
/* * Copyright (C) 2019 Alberto Irurueta Carro (alberto@irurueta.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
41.527429
128
0.663797
185da7a7d3207ba4c9fa4f09c36034a938f7190c
259
package super_keyword04; public class Vehicle { String color; double weight; Vehicle(String c, double w){ color = c; weight = w; } void display(){ System.out.println("Color :"+color); System.out.println("Weight :"+weight); } }
11.26087
40
0.625483
c156728d8c4b4f2e7f178b35a24ce2aaaf0f4a93
115
package edu.anadolu.eval; /** * Enum for effectiveness measures */ public enum Metric { NDCG, ERR, MAP, P }
12.777778
34
0.66087
44370944e96d1abe3b0a8e8ad64a87c0ee05b762
2,911
package com.qa.ims.controller; import java.text.DecimalFormat; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.qa.ims.persistence.dao.ItemDAO; import com.qa.ims.persistence.domain.Item; import com.qa.ims.utils.PrintUtils; import com.qa.ims.utils.U...
24.462185
73
0.696324
c0217c85d6e6661a5f604791c3b7d6d547d8f359
40,672
package com.spark.blockchain.rpcclient; import com.alibaba.fastjson.JSONObject; import com.spark.blockchain.rpcclient.Bitcoin.AddNoteCmd; import com.spark.blockchain.rpcclient.Bitcoin.AddressValidationResult; import com.spark.blockchain.rpcclient.Bitcoin.BasicTxInput; import com.spark.blockchain.rpcclient.Bitcoin.Bloc...
33.865112
269
0.596774
68fb9a7fbd1426808d2024c9c14d0395a2aefb35
4,819
/* Copyright (C) GridGain Systems. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
36.233083
105
0.619216
af5491d3aa592384c0dd4a3775b84c3802e25836
14,247
package com.helenssc.android.toddlertabletpublic; import android.content.Intent; import android.content.res.AssetFileDescriptor; import android.graphics.Color; import android.media.MediaPlayer; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.Menu...
34.664234
148
0.573945
fa63dedb1e515d0a4ea88e5e59638ccbb4abd6bc
4,279
/* * Copyright (c) 2009-2014 jMonkeyEngine * 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 * notice, this list of ...
46.51087
156
0.656228
6303d3757f9dd8305d6095ee032a08f05405e7fb
9,855
package us.ihmc.robotics.math.trajectories; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.Random; import org.junit.After; import org.junit.Test; import us.ihmc.continuousIntegration.ContinuousIntegrationAnnotations.ContinuousIntegrationTest; import us.ihmc.euclid.r...
46.706161
128
0.756875
e0df586c4cfce4714efc5e1241aa27fc751a5b62
737
package de.langs.archivela; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * Check if the given page name is valid. */ @Component public class PageValidator { @Autowired public PageValidator() { } public void validate(String pageName) throws...
28.346154
96
0.72863
7ef06a9e2486f940967e6897dd0b2e5011c1808d
1,964
package org.wildfly.halos.proxy; import javax.inject.Inject; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Respo...
29.313433
109
0.620672
d3d2d707e9ca54e3a49c1f01e16eac1515f2a9f5
8,245
/* * Copyright 2020, OpenTelemetry Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
51.855346
139
0.752699
fcc501201df90b56550f73bcc8f90d6f0286aecb
12,966
package org.firstinspires.ftc.teamcode.Controllers; import android.os.Environment; import com.acmerobotics.dashboard.FtcDashboard; import com.acmerobotics.dashboard.config.Config; import org.firstinspires.ftc.teamcode.Development.PoseStorage; import org.jetbrains.annotations....
45.978723
167
0.591239
78dd8d82d6c92e018cd65226cc7fdae7fe5312b5
4,413
/* * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### #####...
26.267857
109
0.51303
7b382eaeaa65c4ce0d6d43dd18a462aa268b9b7d
183
package name.atsushieno.midi; public interface IMidiPlayerStatus { PlayerState getState(); int getTempo(); int getPlayDeltaTime(); int getTotalPlayTimeMilliseconds(); }
18.3
37
0.748634
828397a2440993988ba4ae7aa2517f390d743bd4
1,480
package com.jamonapi; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class CounterTest { @Test public void testSetCount() { Counter counter=new Counter(); assertThat(counter.getCount()).isEqualTo(0); counter.setCount(150); assertThat...
23.492063
62
0.630405
30204caa6d49ebcd14a6c33bff3eb286438a3d5c
4,429
package com.chutneytesting.execution.domain.report; import static java.util.Collections.emptyList; import com.chutneytesting.environment.domain.Target; import java.time.Instant; import java.util.List; import java.util.Map; import java.util.Optional; public class StepExecutionReportCoreBuilder { private long exec...
30.129252
99
0.680063
3a1bb80dcc024c4d665b0bd779b50e3b5be0d95d
425
package org.ylzl.eden.spring.boot.qcloud.tpns.env; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; /** * TPNS 配置 * * @author <a href="mailto:shiyindaxiaojie@gmail.com">gyl</a> * @since 2.4.x */ @Data @ConfigurationProperties(prefix = "tencent.cloud.tpns") public cl...
19.318182
75
0.755294
0352a3c9986885f068024f4474a27be505d2dfe9
3,968
/* * 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 ...
36.072727
99
0.707913
8a026d0e4f61ca33e125628e8fa1eedc8066aea7
43,759
package com.smartfoo.android.core.app; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Color; import android.graphics.Typeface; import android.net.Uri; import android.os.AsyncTask; ...
33.76466
153
0.548344
0ca44c8fb2f2849686efc0aec1bdf7a0e221ccb9
2,883
package com.anker.bluetoothtool.util; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.view.View; import androidx.recyclerview.widget.RecyclerView; /** * ...
31.336957
105
0.663892
03397b53061da1041ed876daca273336a307f6d4
594
package com.zednight.utils; import cn.hutool.core.util.RuntimeUtil; public class CaddyUtils { public static boolean isRun() { boolean isRun = false; if (SystemTool.isWindows()) { String[] command = { "tasklist" }; String rs = RuntimeUtil.execForStr(command); isR...
29.7
72
0.560606
4552f141dc295604e8f8c5dadd67a430bbad83cb
1,972
package sample; import javafx.beans.property.ListProperty; import javafx.beans.property.SimpleListProperty; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; impor...
26.648649
82
0.71146
a27397470e601e1d763ec5b10a86778b4017a538
2,656
package me.mical.cleaneraddon.config; import me.mical.cleaneraddon.CleanerAddon; import me.mical.cleaneraddon.utils.DebugPrintUtil; import me.mical.cleaneraddon.utils.MapUtil; import me.mical.cleaneraddon.utils.TempStorage; import org.bukkit.inventory.ItemStack; import org.serverct.parrot.parrotx.api.ParrotXAPI; impor...
33.620253
101
0.674322
ee57514d8bfe5b79fe58b9c60ee8de7b20f702e0
6,621
package fi.nls.oskari.control.admin; import java.util.Collections; import java.util.List; import java.util.Set; import fi.nls.oskari.control.*; import fi.nls.oskari.util.PropertyUtil; import org.oskari.log.AuditLog; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.oskar...
38.271676
117
0.657907
5d41f565257859ebcd464fcf10375391730c4578
25,530
/* * 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.621035
96
0.469487
e3339a2b8a77fb66d297e34bc52c8065c15f765a
2,086
package api_testing.lfuentes.restassured; import org.junit.*; import static io.restassured.RestAssured.*; import static io.restassured.RestAssured.given; import static org.hamcrest.Matchers.*; public class Covid_Data { //variables del encabezado String key; String host; //parametros String name;...
27.447368
72
0.511985
d80f3e1d9fcb0ba16d6c2fc2f768168fa5b0e412
8,353
package ecommercejava.cms.icommyjava.helper; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import com.google.gson.reflect.TypeToken; import ecommercejava.cms.icommyjava.Helpers; import ecommercejava.cms.icommyjav...
32.885827
216
0.57189
8d3bd5c2bd70290485d83b606245cc23a6b648dd
1,142
package org.xson.web.handler; import java.io.IOException; import java.io.Writer; import javax.servlet.http.HttpServletResponse; import org.xson.common.object.XCO; import org.xson.web.RequestContext; import org.xson.web.ResponseHandler; public class DefaultXCOResponseHandler implements ResponseHandler { ...
27.190476
70
0.723292
cd34caf1c9d0e588ff1523865ac2269c1ba9cc09
7,347
package com.guo.android_extend.widget; import android.content.Context; import android.graphics.ImageFormat; import android.hardware.Camera; import android.hardware.Camera.PreviewCallback; import android.hardware.Camera.Size; import android.util.AttributeSet; import android.util.Log; import android.view.SurfaceHolder; ...
26.912088
141
0.717163
8e5eab7b24bf7de97730cae02086f884fc6a7d08
1,201
/* * (C) Copyright 2010 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
29.292683
80
0.698585
9c7ab459d9b29aed6d4c80bd1955277d4741f5ce
1,108
// github.com/RodneyShag package _17_08_Circus_Tower; import java.util.*; public class CircusTower { public static int findMax(int[][] persons) { if (persons == null || persons.length == 0 || persons[0].length != 2) { return 0; } Arrays.sort(persons, (a, b) -> { if...
26.380952
79
0.400722
aeff123611239970d563b12ad6b4a43a90bd92db
2,789
package com.zuoxiaolong.deerlet.redis.client.util; import com.zuoxiaolong.deerlet.redis.client.io.MultibulkOutputStream; import java.io.IOException; /** * * 协议工具类,封装了一些响应解析的操作 * * @author zuoxiaolong * @since 2015 2015年3月6日 下午11:44:47 * */ public abstract class ProtocolUtil { private static final int defa...
29.989247
131
0.760846
dbe69aa0b2b93d263c41c32b5088560e6b752ed5
1,194
package com.example.myapplication.Utils; import android.content.Context; import android.os.Bundle; import com.example.myapplication.R; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentTransaction; public class ChangeFragments { private C...
29.85
82
0.695142
14af6b4ade552946a3dabf6c3eee2b28c9856ce8
12,022
/* * Copyright 2018 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
36.210843
99
0.687822
ca367118fab02c7d5c1546bb0bb424340090b38c
105
/** View groups that do not pass their states to children. */ package com.stanfy.enroscar.views.nostate;
35
61
0.761905
88a5941e6cf2732bb28de94e5a135767c246bd08
973
package com.ruoyi.project.device.devUserCompany.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.web.domain.BaseEntity; /** * 用户公司表 dev_user_company * * @author ruoyi * @date 2019-02-02 */ public class DevUserCompa...
20.270833
71
0.700925
6a4effca0079447a81849fa35fc22d2f9219bbad
5,489
// Generated by data binding compiler. Do not edit! package com.example.lunchtray.databinding; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.TextView; ...
33.469512
142
0.781927
422e33d6a600c0b113985acd4d2ebb5c1086c6a5
6,285
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.iso.dashboard.utils; import com.iso.dashboard.dto.CProcedure; import com.iso.dashboard.ui.ProcedureSearchUI; import com.vaadin.data.Item; import com.vaadin.data.util.BeanItemContainer; import com.vaadin.data...
33.609626
94
0.620048
5fe4694a4730fae4f7ac5de91ef2867062f5a34e
999
/** * Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package io.k8s.client.models; import com.fasterxml.jackson.annotation.JsonProperty; /** * LocalObjectReference contains enough information to let you loc...
22.704545
73
0.644645
1e8491d376275c46d9968e6c47eaeec62244dafb
4,830
/** * Copyright (C) 2016-2019 Expedia, 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 ag...
38.951613
317
0.75383
0dfe763faca6522b553ae44cb4dd8313cf6a6489
2,821
/** * Promise.java * * @author Sidharth Mishra <sidmishraw@gmail.com> * @description * @created Feb 15, 2018 12:28:48 AM * @last-modified Feb 15, 2018 12:28:48 AM * @copyright 2018 Sidharth Mishra */ package io.sidmishraw.job_pooler; import java.util.Objects; import java.util.Observable; import java.util.Obse...
21.210526
77
0.559731
53af3bc42403e5297ea1f3a6dfb61db9fccda799
2,753
package de.tub.dima.condor.benchmark.efficiency.oneOffImplementation.utils; import de.tub.dima.condor.core.synopsis.NonMergeableSynopsisManager; import de.tub.dima.condor.core.synopsis.Wavelets.WaveletSynopsis; import java.util.ArrayList; public class SliceCointMinSketchManager<Input> extends NonMergeableSy...
35.753247
161
0.633854
186da381cb4d04a69b1b163bfa9c33d1e06e09bb
4,900
package com.mrkirby153.snowsgivingbot.commands; import com.mrkirby153.botcore.command.Command; import com.mrkirby153.botcore.command.Context; import com.mrkirby153.botcore.command.args.CommandContext; import com.mrkirby153.snowsgivingbot.services.setting.SettingService; import com.mrkirby153.snowsgivingbot.services.se...
52.688172
160
0.677959
5da86acfbf628247242ba4aae3320309b7e35fbc
1,682
package com.metaopsis.icsapi.v3.dom; public class Query { private StringBuilder query; private boolean _IsFirstParam = true; public Query() { query = new StringBuilder(); query.append("?q="); } public void andType(Asset type, boolean isEqual) { if (!isFirstParam()...
21.291139
85
0.532105
dbd1226420db46c302fbe1deda58e71e16e6c51f
77
package com.estontorise.simplersa.interfaces; public interface RSAKey { }
11
45
0.792208
f56aeb4032b0f236c5ad3a713a69342674ac05f4
2,143
/* * 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 com.acidmanic.pactdoc.dcoumentstructure.renderers.pagecontexts.pdfcontext; import com.itextpdf.text.Font; /** * * @author d...
18.316239
86
0.544564
ffad965678908e7448831230a1cb9d2591ec7ad8
21,347
package org.protege.editor.owl.ui.preferences; import org.protege.editor.owl.model.entity.*; import org.protege.editor.owl.ui.UIHelper; import org.protege.editor.owl.ui.renderer.OWLRendererPreferences; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model.OWLAnnotationProperty; import org.semant...
36.805172
122
0.675224
d872ac1d6d8a8775394053d5e372c09a260e1e3f
1,637
package mage.cards.l; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.effects.common.DestroyTargetEffect; import mage.abilities.keyword.HeroicAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubTy...
30.314815
135
0.725718
4fd9160256973e619ab701e1532e5eb2cf49698e
915
package io.eventuate.tram.commands.consumer; import io.eventuate.tram.messaging.common.Message; import java.util.List; import java.util.Optional; import java.util.Set; import static java.util.stream.Collectors.toSet; public class CommandHandlers { private List<CommandHandler> handlers; public CommandHandlers(L...
26.142857
82
0.756284
d0779d4503b860b2ea1d2027b7b422e470bb3f84
4,048
package com.github.emm035.openapi.schema.generator.internal.visitors; import com.fasterxml.jackson.databind.BeanProperty; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor; import ...
36.8
92
0.763587
dbb4123a910ad1799bc6a1645d849cb9ccb414c3
3,878
/** * Copyright 2003-2015 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 requi...
45.623529
103
0.721248
f702768fc3baef11af6700f51bb15f8602949a70
615
package org.jabref.logic.layout.format; import org.jabref.logic.layout.LayoutFormatter; import org.jabref.model.entry.AuthorList; /** * <ul> * <li>Names are given as first name, von and last name.</li> * <li>First names will not be abbreviated.</li> * <li>Individual authors separated by comma.</li> * <li>There i...
27.954545
81
0.723577
817d129d2aa6258a3971c6ddef442af81f7d61ca
6,782
package com.adsdk.sdk.nativeformats; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.Thread.UncaughtExceptionHandler; import java.nio.charset.Charset; import org.apache.http....
30.687783
195
0.576231
035c4a7e92b239ad306adcfd5904461d453498a9
33,171
/* * This file is part of OpenTSDB. * Copyright (C) 2021 Yahoo. * * 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...
41.002472
143
0.575774
373628e7af960d1d913da3fd2aacedfdaea94a01
383
package com.testing.jacoco; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class JacocoApplicationTests { @Test public void whenEmptyString_thenAccept() { Palindrome palindromeTester = new Palindrome(); ...
21.277778
60
0.798956
896d2eb978eec253618c98134c2cf8204eac77af
3,184
package Listeners; import Database.*; import Frontend.WordSender; import Tools.JSONWordsDatabase; import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.react.MessageReactionAddEvent; import net.dv8tion.jda.api.hooks.Listen...
37.458824
117
0.584799
cb01375d5b55cbbb2ea8a4d909d096b43349cb54
2,846
package seedu.address.logic.commands.editcommand; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.TEAM_DESC_ALFRED; import static seedu.address.logic.commands.CommandTestUtil.TEAM_DESC_BRUC...
43.784615
112
0.762474
996300b107516542cdf6177979d34477ab3af3f1
3,996
package seedu.intern.commons.core.selection; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.intern.tes...
41.625
119
0.714965
63f1f58511315e192aa1c735b2ff2c6b84bb287b
692
package org.advanze.springframework.security.provisioning; import org.advanze.springframework.security.provisioning.domain.User; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.validation.BindException; public interface UserManager extends UserDetailsService { ...
32.952381
97
0.823699
7ea803a4b26aca0dba81a6090b30a8e4eaf22cca
16,715
package com.zebra.scannercontrol.app.activities; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.util.Xml; import android.view.Menu; import android.view.View; import android.widget.CheckedTe...
54.983553
165
0.515884
cc28462a8bfc6e8771f90f7c97eff8db3cec3fb5
1,797
package com.akkademy; import static org.junit.Assert.assertEquals; import akka.actor.ActorRef; import akka.actor.ActorSystem; import akka.actor.Props; import akka.actor.Status; import akka.testkit.TestActorRef; import akka.testkit.TestProbe; import com.akkademy.messages.SetRequest; import com.typesafe.config.Config; ...
33.90566
110
0.711185
b2667497c3fe3ce08be43b96306788ee43d7470c
1,156
package de.stormboomer.chunky.plugin.models; import javafx.scene.shape.Arc; import oshi.SystemInfo; import oshi.hardware.CentralProcessor; import oshi.software.os.OperatingSystem; public class CPU{ public int LogicalCoreCount; public int PhysicalCoreCount; public int SocketCount; public long MaxFreq; ...
35.030303
94
0.734429
994106860417aa8159948cf255a65620fede7c02
1,233
package mage.abilities.keyword; import mage.abilities.ActivatedAbilityImpl; import mage.abilities.costs.Cost; import mage.abilities.effects.common.AttachEffect; import mage.constants.Outcome; import mage.constants.TimingRule; import mage.constants.Zone; import mage.filter.common.FilterControlledCreaturePermanent; impo...
30.073171
86
0.743715
5a1416009e9e52ea38c0a61d3a8cda390eb88ac0
22,801
/** * Copyright © Microsoft Open Technologies, 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 * * THIS ...
38.065109
120
0.62835
525d96e17a7e1b119c5ce9cb64da25f843d99e05
5,383
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * 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/LICENSE-2.0. * *...
37.643357
121
0.656511
83c4b059e2757abb6727ada97de8c1448f96cbfc
19,329
/* * 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 ...
41.657328
159
0.672823
6d4c6ca2c0c6c09abbf182f22b013d89036c994f
326
package io.github.kavahub.learnjava.common.eventbus; /** * * 子事件 * * @author PinWei Wan * @since 1.0.0 */ public class ChildEvent extends FatherEvent { public ChildEvent(String name) { super(name); } @Override public String toString() { return "ChildEvent[name=" + name + "]"; ...
16.3
52
0.604294
ebccce97e8ac33f1c11c26d7f45129eb9ce0aeca
18,932
/** * Copyright 2015 Tampere University of Technology, Pori Department * * 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 ...
42.63964
337
0.756761