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
3cac2b2c1eb317a770bd87f6f06676514da0a72f
1,829
package eu.nimble.service.catalogue.validation; import com.google.common.base.Strings; import eu.nimble.service.catalogue.exception.NimbleExceptionMessageCode; import eu.nimble.service.model.ubl.catalogue.CatalogueType; import eu.nimble.service.model.ubl.commonaggregatecomponents.CatalogueLineType; import org.slf4j.Lo...
34.509434
108
0.731001
7f699c020c541f7758933d3d8890939f22680d3d
1,883
package me.streib.janis.dbaufzug; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.net.InetSocketAddress; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.SessionManager; import org.eclipse.jetty.server.handler...
33.625
75
0.749336
8bf94d4cc9fd779e1fb25dddccfaf224bf6fa903
407
/* * NEC Mobile Backend Platform * * Copyright (c) 2013-2018, NEC Corporation. */ package com.nec.baas.object; import com.nec.baas.core.*; /** * オブジェクトバケット取得用コールバック。 * @since 1.0 */ public interface NbObjectBucketCallback extends NbCallback<NbObjectBucket> { /** * オブジェクトバケットの取得に成功した場合に呼び出される。<br> ...
18.5
76
0.687961
55ff7f922c0ce846e78454904b4d0273a7033bf5
2,536
package it.cosenonjaviste.security.jwt.utils; import com.auth0.jwt.JWT; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.exceptions.JWTVerificationException; import org.junit.BeforeClass; import org.junit.Test; import java.util.Arrays; import static org.junit.Assert.*; public class JwtTokenVerifierTe...
26.978723
72
0.751972
10ac3be95cd4e3c20677f45758be0d0ae86854f6
46,193
/** * Copyright 2016 Red Hat, Inc. * * Red Hat licenses this file to you 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...
42.378899
299
0.600892
36612ba659b1da774b2b9e5c51ee087bbc0766b4
3,681
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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...
36.81
99
0.698452
b62cdc1bb309ee3cb24328624b3ab347e6248c73
6,945
package org.neuroph.nnet.learning; import java.util.Iterator; import org.neuroph.core.NeuralNetwork; import org.neuroph.core.data.DataSet; import org.neuroph.core.data.DataSetRow; import org.neuroph.core.learning.SupervisedLearning; import org.neuroph.util.NeuralNetworkCODEC; /** * This class implements a simulated...
32.004608
120
0.634701
fe287a8b2a5d085d1be3597cdd9065282cdd8cdf
1,267
/* * Copyright (c) 2008-2013, Hazelcast, 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 required ...
31.675
75
0.728493
85df08e4abbcc10e51c3eae345d8b4ee2b13ab01
266
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.container.logging; /** * @author Tony Vaagenes */ public interface RequestLogHandler { void log(RequestLogEntry entry); }
26.6
118
0.755639
5904632e4be278a258a30584a30781510c28f80c
1,126
package org.cggh.common.counters; public class ExtendedNtAlleleCounter extends AlleleCounter { public static final char[] ALLELES = {'A','C','G','T','*'}; public ExtendedNtAlleleCounter () { super(ALLELES); } public ExtendedNtAlleleCounter (AlleleCount[] initCounters) { super(ALLELES); in...
20.472727
106
0.595915
95cf0de001e8525e634d34acd365b4a10b35576a
825
package getta.gettaroo; import fi.dy.masa.malilib.config.ConfigManager; import fi.dy.masa.malilib.event.InputEventHandler; import fi.dy.masa.malilib.interfaces.IInitializationHandler; import getta.gettaroo.config.Callbacks; import getta.gettaroo.config.Configs; import getta.gettaroo.event.InputHandler; import net.mine...
31.730769
98
0.796364
8bc3bec6becdd23c0e33eea70376519b1b6e72f4
4,317
package no.dcat.portal.query; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import org.elasticsearch.action.search.SearchRequestBuilder; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.index.query.QueryBuilder; import org.elasticsearch.index.query.Q...
48.505618
150
0.732916
4207d1ea2bc2deaa684b1bbfe307348376452346
2,457
package org.tiwindetea.animewarfare.gui.game.gameboard; import javafx.application.Platform; import javafx.beans.binding.Bindings; import javafx.beans.binding.NumberBinding; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleStringPropert...
38.390625
100
0.79243
0c3436ee0600d6ee525b595f8d6395a4e3fdf549
13,845
package com.mathgame.plugin.sudoku.controller; import android.app.IntentService; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; import android.support.annotation.Nu...
43.952381
175
0.555652
032ca3c3acc543409c504316e3686ae1b21cdb53
2,606
/* * Copyright 2017 ThoughtWorks, 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 agr...
37.768116
110
0.700307
d9e136a730cecca891c1d96ec6049666a6315cde
5,314
/** Generated Assertion Class - DO NOT CHANGE */ package au.org.greekwelfaresa.idempiere.test.assertj.u_webmenu; import au.org.greekwelfaresa.idempiere.test.assertj.po.AbstractPOAssert; import java.util.Objects; import javax.annotation.Generated; import org.compiere.model.X_U_WebMenu; /** Generated assertion class fo...
30.895349
134
0.710764
72a288dac6a9e140a9b265c1c20f97a99b3d1413
1,951
package org.apache.spark.deploy; /** * Whether to submit, kill, or request the status of an application. * The latter two operations are currently supported only for standalone and Mesos cluster modes. */ public class SparkSubmitAction { static public scala.Enumeration.Value SUBMIT () { throw new RuntimeExcepti...
75.038462
122
0.743721
7f8947f64b485ddf33c10206ba3aa69cb40254ba
2,354
/* * Copyright 2016 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 applicable la...
21.796296
85
0.614274
70167cce697abbb84831f4351a5da2422134d2d2
1,829
package org.assertj.core.api; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; import java.util.List; import org.assertj.core.util.Lists; import org.junit.Test; import org.junit.runners.model.MultipleFailureException; public class JUnitSoftAssertionsFailureTest { //w...
44.609756
101
0.459267
ef74ab1e71a4c41f3923615f6c369880345cf2b8
1,399
/* * Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 re...
30.413043
99
0.743388
81732c01f127231b562eb3e781e97ab04e11630d
13,900
// // ======================================================================== // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
33.253589
151
0.602158
8d7613fa664bc98513e44377f8f033830e324f02
5,706
package com.x.bbs.assemble.control.jaxrs.permissioninfo; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import java...
38.04
129
0.754644
bd6acfc1b7a0b46d0ceecdef2e6ed47396cc967c
7,340
package com.sap.cloud.lm.sl.cf.core.helpers; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.when; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import org.cloudfoundry.client.lib.C...
43.431953
136
0.700272
83fa00e12b57afb5967dec7edbcbef8fca90d869
1,253
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: model/user/users_online_statuses.proto package im.turms.turms.pojo.bo.user; public interface UsersOnlineStatusesOrBuilder extends // @@protoc_insertion_point(interface_extends:im.turms.proto.UsersOnlineStatuses) com.google.protobuf.Message...
32.973684
85
0.705507
45d66eb455a0a7b14b750aa0d1d1d24679153c08
569
package eu.fbk.rdfpro.util; import java.util.Arrays; import org.junit.Test; import org.openrdf.query.algebra.ValueExpr; import org.openrdf.query.impl.ListBindingSet; public class AlgebraTest { @Test public void test() throws Throwable { final ValueExpr expr = Algebra.parseValueExpr("CONCAT(STR(ks:mi...
28.45
97
0.695958
e525164e328265966c9b077b2622b542f180696b
2,136
/* * Copyright 2014-2020 Rudy De Busscher * * 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.827586
136
0.767322
92295cdbc584845065f71f4ad947e38d344f8942
431
package com.vaadin.fastui.backend.POJO; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import lombok.Data; import java.util.List; @Data public class PixaBay { @SerializedName("total") @Expose private Integer total; @SerializedName("totalHits") @Expos...
19.590909
50
0.721578
930c88f6a6016b4fbba62aef144248d16162441d
2,433
package de.teiesti.proxy; import java.util.Iterator; /** * A {@code ProxyIterator} iterates over the associated proxies in the same order as a given other iterator iterates * over the subjects. In detail: Assume you have an iterator iterating over some subject. Now you encapsulate it - by * the help of a {@link Ma...
34.267606
117
0.725442
56336ebd17598371bf774c174f9671cbfe5bec06
2,450
package crisscrosscrass.Tasks; import com.jfoenix.controls.JFXCheckBox; import javafx.application.Platform; import javafx.scene.paint.Paint; public class ChangeCheckBox { private static String isInProgress = "#EEF442"; private static String isSuccessful = "#0F9D58"; private static String isNotSuccessful ...
37.121212
96
0.637551
574266dc810dda3d2dc76eece08e6872b70b770a
4,656
package edu.udacity.java.nano; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; im...
34.488889
148
0.710911
b49e3951f5c62796d7d3c58f3a8874b954d5d890
8,493
package io.github.bergturing.point.core.result; import io.github.bergturing.point.core.result.defaults.MethodResultImpl; import java.util.Arrays; import java.util.Objects; import java.util.Optional; import java.util.function.BooleanSupplier; import java.util.function.Consumer; import java.util.function.Function; /**...
27.047771
103
0.511362
af28a6fe0424f0b05179152ceb16c172363b9e0e
3,830
/* * 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 co.edu.uniandes.kadda.galeriaarte.resources; import co.edu.uniandes.kadda.galeriaarte.dtos.ObraDetailDTO; import co.edu.uniand...
30.887097
113
0.675457
139f9f84a06f6e753997a4d53d57c1138c45890a
12,678
package com.arrow.kronos.api; import java.time.Instant; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
40.634615
113
0.749724
5b7578909c15c16350762dfe274c64d7208f7e41
3,505
package me.ahornyai.httpclient; import lombok.Getter; import lombok.Setter; import lombok.SneakyThrows; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URLConnection; import java.net.URLEncoder; import java.util.HashMap; import j...
32.757009
140
0.659344
a1b97cc1a765319b9ba484de0e014b81ba1d225c
3,281
package jason.algorithm.practice; import java.util.BitSet; import java.util.PriorityQueue; //http://www.programcreek.com/2014/05/leetcode-minimum-path-sum-java/ public class MinimumPathSum { public static class QueueEntry { int sum; int row; int col; public int getSum() { return sum; } public voi...
23.604317
108
0.580006
a690c378a92ab37a665f8c535a4a54af5bff1345
1,666
package com.dbui.wc.util; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.stream.Stream; public class CountUtil { pri...
29.22807
105
0.556423
a7f11cc73a3187372449dc0ce6eae3c0c725e2ab
6,601
package org.firstinspires.ftc.teamcode.subsystems; import android.text.method.Touch; import com.acmerobotics.dashboard.config.Config; import com.ftc12835.library.hardware.management.Subsystem; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import co...
29.337778
83
0.652931
d3df7ca7687e73eb67474adb9a8a4ce9c0b75847
3,160
package com.filip.versu.view.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; i...
39.012346
226
0.743354
69a988ca91f90bfb184d2c8ca707f2349525cc74
4,143
package com.soebes.itf.jupiter.extension; /* * 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 Li...
31.869231
93
0.728216
dc99b692f3560ac693ffe12a1793dfc0d47b4a4c
3,257
package com.zazuko.spatialindexer; import java.io.File; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; im...
29.080357
115
0.675161
53cdff8bb83d6c4f8a37d71959754bddaa680c39
3,086
/******************************************************************************* * Copyright 2016 Sparta Systems, 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.apa...
32.829787
113
0.722294
c156c17fb6c61d9655a7e95d8843eb1729058437
733
package com.bnd.math.business.rand; abstract class PositiveNormalDistributionProvider<T> extends AbstractRandomDistributionProvider<T> { protected final RandomDistributionProvider<T> normalDistributionProvider; protected PositiveNormalDistributionProvider(Class<T> clazz, RandomDistributionProvider<T> normalDistrib...
25.275862
121
0.761255
620207d2d362ab7b00c7a101356dd51be2bbe2c1
612
package com.capitalone.dashboard.azure.repos.model; public class Repository { private String id; private String name; private String url; private Project project; public String getID() { return id; } public void setID(String value) { this.id = value; } public String getName() { return nam...
29.142857
67
0.679739
d9cfdfdadb83f8d8f2f166a2f74d3dce17ab320e
1,893
package com.mobilebox.repl.selectors; import org.openqa.selenium.By; import org.testng.annotations.Test; import com.mobilebox.repl.selectors.UISelector; import static org.assertj.core.api.Assertions.*; public class UISelectorTest { @Test public void classNameTest() { String expected = "className(\"my.class...
28.681818
82
0.707871
408e8ca7be01d34e62c8d9af5c7d9fa2444f90a2
1,512
package com.common.redis; import com.common.utility.ComLogger; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; /** * @auther tonyjarjar * @create 2017/9/8 */ public class RedisFactory { //redis db0 public static JedisPool redis0Pool = RedisUtil.initRedisPool("/redis0pool.properties...
24.786885
92
0.584656
8b88c86b09a8e1edc301ef343ded607402e6feb4
7,654
package io.syndesis.qe.rest.tests.integrations.steps; import org.springframework.beans.factory.annotation.Autowired; import java.util.Map; import java.util.UUID; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import io.syndesis.common.model.action.Action; import...
55.463768
158
0.701333
1ebe40e75b595c1934768b7eef3cd79b6e77015a
1,005
package com.plivo.api.models.powerpack; import com.plivo.api.models.base.Deleter; import okhttp3.ResponseBody; public class RemoveTollfree extends Deleter<Tollfree> { private Boolean unrent; private String number; private String tollfree; public RemoveTollfree(String id) { super(id); if (id == null)...
22.840909
102
0.702488
e1f86623f33f1ae647bbe6564e8f636f77c0860d
7,430
package com.fvostudio.project.mancamure; import java.util.ArrayList; import java.util.List; import com.fvostudio.project.mancamure.gom.Board; import com.fvostudio.project.mancamure.gom.BoardState; import com.fvostudio.project.mancamure.gom.Movement; import com.fvostudio.project.mancamure.gom.util.Vector3; public cla...
35.89372
87
0.588291
012564f8300b8fc236ba3ee7833db5f2e98e9075
444
package frc.lib.Webserver2.DashboardConfig; public class CameraConfig extends VisibleWidgetConfig { String streamURL = ""; public CameraConfig(){ super(); this.nominalHeight = 30; this.nominalWidth = 40; } @Override public String getJSDeclaration(){ ...
23.368421
111
0.592342
134a55eddba13c6789b49587e9a62af964e0da81
1,565
package com.facebook.imagepipeline.memory; import android.util.SparseIntArray; import com.facebook.common.internal.Preconditions; import javax.annotation.Nullable; public class PoolParams { public static final int IGNORE_THREADS = -1; public final SparseIntArray bucketSizes; public final int maxBucketSize; pu...
32.604167
140
0.729073
05103994b421ff573856eb5f23167eadff98b9c4
2,779
package com.aspose.imaging.examples.ModifyingImages; import com.aspose.imaging.Image; import com.aspose.imaging.examples.Logger; import com.aspose.imaging.examples.Utils; import com.aspose.imaging.fileformats.eps.EpsBinaryImage; import com.aspose.imaging.fileformats.eps.EpsImage; import com.aspose.imaging.filef...
41.477612
111
0.559194
6808f46723c667af17bc5e28185c7106a256c304
1,001
package com.isaacbrodsky.zztsearch.web.resources; import com.codahale.metrics.annotation.Timed; import com.isaacbrodsky.zztsearch.query.search.GameTextSearcher; import com.isaacbrodsky.zztsearch.query.search.Index; import com.isaacbrodsky.zztsearch.query.search.SearchResult; import javax.ws.rs.GET; import javax.ws.rs...
30.333333
80
0.709291
ce16cacea9f77206063f999c654b524f8995b8b4
4,039
/** * Copyright 2011 Pablo Mendes, Max Jakob * * 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...
30.368421
92
0.502104
05c5144ab0c9e087fbd55a9defb3263e6cd5bebc
3,814
/******************************************************************************* * Copyright (c) 2009, 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...
32.87931
109
0.70215
e4f6b8671b1eef0c43c2db075c2c689a7b6a846c
2,936
package SPRY.Streaming.RealTime; import java.util.HashMap; import javax.realtime.AbsoluteTime; import javax.realtime.AsyncEvent; import javax.realtime.AsyncEventHandler; import javax.realtime.Clock; import javax.realtime.OneShotTimer; import javax.realtime.RelativeTime; /** This class is used internally by SPRY. It r...
37.641026
127
0.725817
d02cc4fae6969d0782bf314f04f3ebc10a5afd48
8,012
/* Copyright 1995-2015 Esri 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...
32.048
152
0.59698
881f07ff617e2f278fa6815d4fd21ed3f31d3b58
3,282
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
31.864078
107
0.719074
013b666a55f7b67d0d1749db81161b11ce5122bf
11,662
package name.remal.tracingspec.renderer.plantuml.sequence; import static java.util.Objects.requireNonNull; import static name.remal.gradle_plugins.api.BuildTimeConstants.getClassSimpleName; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.LinkedHashMap; import java.uti...
34.502959
116
0.554622
bbf023b6d8bd64c6736a9bbd059fb4f7caa894f1
5,934
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
40.367347
127
0.705932
89304c009dc9db01a94efdd31d7dae32e6cbe523
373
package pro.gravit.launcher.modules.events; import pro.gravit.launcher.modules.LauncherModule; public class PostInitPhase extends LauncherModule.Event {} /* Location: C:\Users\Main\AppData\Roaming\StreamCraf\\updates\Launcher.jar!\pro\gravit\launcher\modules\events\PostInitPhase.class * Java compiler ...
33.909091
144
0.745308
76d560dfe19f034c15a91a6efb4c73ebd1801308
1,416
package com.trickl.model.oanda.account; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import lombok.Builder; import lombok.Data; /** ...
37.263158
91
0.766243
f6d0c73757269d37ee1f8316ce97ae35a898deb6
3,961
/* * 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 ...
39.61
117
0.708659
efb614af5331ada7f5905d3bb283c0d915be79dc
3,482
package com.sparkpost.model; import java.util.Map; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.core.config.Configurator; import org.junit.After; import org.junit.AfterClass; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import com.g...
35.171717
133
0.63699
614db61b23b61f925f97b73502666b5024cc27cc
863
package fundamentos.constantesVariaveis; import java.util.Scanner; public class conversor { public static void main(String [] args) { Scanner inputMedida = new Scanner(System.in); System.out.println("Qual a medida deseja converter fahrenheint[F] ou celsius [C]? "); String medida = inputMe...
34.52
93
0.625724
e62b57ba1ba6304e3f6da59a0db6fb810f56a9ad
1,663
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
36.955556
85
0.755262
73290b3aeedf41361756eb2aeb4f316a90ca28a6
2,150
/* * 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 ...
37.068966
79
0.711628
88de13e797287573ffc560303cafe769a48d7df1
1,865
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // /** * */ package javax.servlet.sip; import java.io.Serializable; /** * @author christophe */ public class SipApplicationRouterInfo { String _NextApplicationName; String _Route; Seriali...
24.220779
104
0.678284
3ace5fec614853a08efbaff5d9f22aaa848f3cd4
2,228
package com.collegiate.ui.common; import android.content.Intent; import android.widget.Toast; import com.collegiate.R; import com.collegiate.util.ResourceUtils; import com.google.android.youtube.player.YouTubeBaseActivity; import com.google.android.youtube.player.YouTubeInitializationResult; import com.google.android...
33.757576
154
0.733393
9db1cf2fe5730e08d302ca956fe0162e55bdc194
3,829
package org.mj.bizserver.cmdhandler.club; import io.netty.channel.ChannelHandlerContext; import org.mj.bizserver.allmsg.ClubServerProtocol; import org.mj.bizserver.allmsg.InternalServerMsg; import org.mj.bizserver.foundation.BizResultWrapper; import org.mj.bizserver.mod.club.membercenter.MemberCenterBizLogic; import o...
31.908333
118
0.608514
3a830e816d0b838b0eb2e7a3edd4f592b992eaf3
2,127
package com.tinkerpop.gremlin.process.graph.step.filter; import com.tinkerpop.gremlin.process.Traversal; import com.tinkerpop.gremlin.process.graph.marker.Reversible; import com.tinkerpop.gremlin.process.traverser.TraverserRequirement; import com.tinkerpop.gremlin.process.util.TraversalHelper; import java.util.Collec...
39.388889
209
0.724024
9c27af1c73ea7afc0b521a35a8aba3e730262ca8
1,294
package com.yueyue.readhub.common.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Environment; import java.io.File; /** * author : yueyue on 2018/4/3 10:12 * desc : */ public class AppUtil { private AppUtil() { } publ...
28.130435
97
0.640649
5577ac2528759ff83b54caeedbc6cb9412558d63
303
package com.zan.tasks.service; import java.util.List; import com.zan.tasks.model.Board; import com.zan.tasks.model.User; public interface BoardService { public void addBoard(Board board, User user); public Board getBoard(Long id); public List<Board> getBoards(User user); }
17.823529
47
0.712871
b509dd1f6f5202486d965ae723d9250a3725af85
493
package com.careberos.Response; import java.util.ArrayList; import com.careberos.Model.Ticket; public class TicketsResponse { private int code; private ArrayList<Ticket> tickets = new ArrayList<>(); public TicketsResponse() { } public int getCode() { return code; } public void setCode(int code) { t...
14.5
55
0.703854
635b29fc54972ef3c2665062c0da0cc37b1d63db
2,709
package org.ovirt.engine.core.bll.network.vm; import java.util.List; import javax.inject.Inject; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt.engine.core.bll.validator.VmNicFilterParameterValidator; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.act...
38.7
108
0.745663
fd3e9222ff06acfc51ccf796b096a44512dd3412
6,767
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
27.176707
97
0.670164
e7d81c259a60a5172b576501f2aca82a8a6e6547
538
package org.camunda.bpm.extension.mockito.query; import org.camunda.bpm.engine.TaskService; import org.camunda.bpm.engine.task.Task; import org.camunda.bpm.engine.task.TaskQuery; import javax.annotation.Generated; @Generated(value="org.camunda.bpm.extension.mockito.generator.processor.GenerateQueryMocksProcessor", da...
33.625
138
0.799257
a31ba6f63c78320693e4b4bc9a0254be19e33a09
6,264
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot; import frc.robot.subsystems.DriveSubsystem; import frc.robot.subsystems.IntakeSubsystem; import frc....
40.675325
102
0.762612
b2993b10a84d92349a30a763fb793917d788438c
2,864
/* * Copyright 2006-2010 Virtual Laboratory for e-Science (www.vl-e.nl) * Copyright 2012-2013 Netherlands eScience Center. * * 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 the following...
24.271186
92
0.607542
087e369e19b60f96d5da405f87373c5fd4fbbb25
7,640
package com.codeborne.selenide; import com.codeborne.selenide.impl.ThreadLocalSelenideDriver; import com.codeborne.selenide.impl.WebDriverContainer; import com.codeborne.selenide.impl.WebDriverThreadLocalContainer; import com.codeborne.selenide.proxy.SelenideProxyServer; import org.openqa.selenium.Proxy; import org.op...
26.344828
115
0.703141
559f6c77f1cdbc5712985c012db8374e5bbca3d1
4,883
import akka.stream.javadsl.Source; import models.Pet; import org.junit.*; import play.libs.Json; import play.libs.ws.WSClient; import play.libs.ws.WSResponse; import play.mvc.*; import play.test.*; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CompletionStage; import static play.test.Hel...
37.852713
100
0.557444
f7c4030d997294556acd77d5e3a66a0b3ec2d87e
186
package com.multi.thread.guide.design.pattern.chapter4; /** * @author dongzonglei * @description * @date 2019-02-16 11:14 */ public interface Predicate { boolean evaluate(); }
15.5
55
0.698925
100d7aa08ee0beb81214d56af7bb0afdba7d8a58
303
package softuni._02usersystem.services; import softuni._02usersystem.models.entity.Country; /** * Created by IntelliJ IDEA. * User: LAPD * Date: 1.4.2018 г. * Time: 12:59 ч. */ public interface CountryService { Country getCountryById(Long id); void registerCountry(Country country); }
16.833333
51
0.719472
4bd8c872d4aaba3fd59ae40feab5f129878a4b7f
6,827
package uk.gov.hmcts.reform.divorce.orchestration.controller.ccdcase; import com.github.tomakehurst.wiremock.matching.EqualToPattern; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.spri...
40.88024
132
0.711
31cea5205f6fe542c87f3e96f0aa72eb491ec4ac
918
package edu.gemini.shared.util.immutable; /** * An association of three objects of type <code>T</code>, <code>U</code> and <code>V</code>. */ public interface Tuple3<T, U, V> { /** * The first (or left) object in the tuple. */ T _1(); /** * The second (or middle) object in the tuple. ...
26.228571
94
0.587146
ab745a0f4df3cb0acbd14fed4c58ce78f53ec250
1,152
package com.test.basic.chapter7; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; /** * Created by beigui on 2016/3/26. * 功能:文件内容的写入 -- FileOutputStream * 写入“Java 学习”到文件 d:/test/work.txt中 */ public class FileWriteStreamDemo { public s...
26.181818
53
0.503472
acf5cb7a6db1421a746f848d69302c9d83cc8ef7
484
package com.exam.record; import org.springblade.common.constant.CommonConstant; import org.springblade.core.launch.BladeApplication; import org.springframework.cloud.client.SpringCloudApplication; import org.springframework.cloud.openfeign.EnableFeignClients; @SpringCloudApplication @EnableFeignClients(CommonConstant...
32.266667
67
0.840909
b4c873a14d15db1044d3be0286e0dedb182d1311
1,037
package agh.cs.lab8; import javax.imageio.IIOException; import java.io.IOException; import java.util.Arrays; import java.util.List; public class ConstitutionReader { public static void main(String[] args) { if(args.length < 2){ System.out.println("Bład: Minimalna ilosc argumentów to 2"); ...
30.5
103
0.559306
14237a1934edd3b56ed1631285f07215f7e22ba9
2,297
package com.dmd.weixin.app.media; import com.dmd.weixin.app.AppWxClientFactory; import com.dmd.weixin.app.base.AppSetting; import com.dmd.weixin.app.base.WxEndpoint; import com.dmd.weixin.common.WxClient; import com.dmd.weixin.common.exception.WxRuntimeException; import com.dmd.weixin.common.media.Media; import com.dm...
29.448718
96
0.665651
9de1dc98c0629f6e942672a514e1880ac6cfef82
4,063
/* * 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...
63.484375
126
0.801378
2af93d8cf49fe541fa3f258ed9ecdf1094ba49db
281
package com.cantinho.cms.sqs.impl.result; import java.util.List; /** * Created by samirtf on 13/04/17. */ public interface ICloudiaReceiptResult<T> { String getRole(); void setRole(String role); List<T> getReceipts(); void setReceipts(List<T> receipts); }
14.789474
43
0.679715
2431ef60c64f1cf3d6678aec45a866e8567f086a
450
package io.onedev.commons.jsyntax.haskell; import org.junit.Test; import io.onedev.commons.jsyntax.AbstractTokenizerTest; import io.onedev.commons.jsyntax.haskell.HaskellTokenizer; public class HaskellTokenizerTest extends AbstractTokenizerTest { @Test public void test() { verify(new HaskellTokenizer(), new Str...
28.125
82
0.764444
0dbddccdbc9e00c3af0004f38b094b5b37fa5456
577
package com.sjani.usnationalparkguide.Data; import java.util.List; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; @Dao public interface AlertDao { @Insert(onConflict = OnConflictStrategy.REPLACE) ...
20.607143
52
0.741768
8e18ca023c6592c4ae63e16b2c3224a9242a07e8
4,018
package com.mrbysco.miab.entity.projectile; import com.mrbysco.miab.init.MemeEntities; import com.mrbysco.miab.init.MemeRegister; import com.mrbysco.miab.memes.MemeRegistry; import net.minecraft.entity.AreaEffectCloudEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityType; import net.minecra...
33.483333
140
0.693629
3395668fa7efe80818abfe1c3bf8c46fe26aadf3
1,176
package com.mimecast.robin.smtp.transaction; import java.util.ArrayList; import java.util.List; /** * Session transaction list. * * <p>This provides the implementation for session transactions. * * @see TransactionList */ public class SessionTransactionList extends TransactionList { /** * Gets last SM...
24.5
119
0.667517
cc40edff24070edce216a46f34bf6411b6ab5560
182
package behavior.state; public class SleepState implements State { @Override public void exec(Human h) { System.out.println(h + "睡觉"); h.setStateType(StateType.GETUP); } }
15.166667
42
0.714286
760548f1ac442c19f34812b57d4c0815f9f946fe
26,207
package com.project.convertedCode.globalNamespace.namespaces.Carbon.classes; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.nativeClasses.Closure; import com.runtimeconverter.runtime.interfa...
47.390597
150
0.384439
d4c80cb1eb2cba646eb44719dd123b864e25a81e
611
package danieer.galvez.testrappi.viewmodel; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import danieer.galvez.testrappi.model.MovieDetailResponse; import danieer.galvez.testrappi.repository.DetailMovieRepository; public class DetailMovieViewmodel extends ViewModel { DetailMov...
29.095238
78
0.806874
800fa5a648d44a0b237e9e959251bd574bd864c3
5,628
/** * 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...
39.083333
116
0.749112
63c6d9f504b09dec4cd3e877b7eb722428f67fc4
3,777
/** ** Copyright 2016 General Electric Company ** ** ** 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...
32.282051
135
0.771247
5cec6d3c811927f594afce491e3b68c77324bbe4
320
package de.cuuky.cfw.configuration.placeholder.placeholder.util; public class DateInfo { public static final int YEAR = 0; public static final int MONTH = 1; public static final int DAY = 2; public static final int HOUR = 3; public static final int MINUTES = 4; public static final int SECONDS = 5; }
26.666667
65
0.721875