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
7d1bea1f652e55ccf5aec1a7ec68f53af0e3eb8e
2,501
package net.miraclepvp.kitpvp.bukkit.nms; import org.bukkit.Bukkit; public class NMS { public static String getVersion(){ return Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3]; } public static Class<?> ChatSerializer; public static Class<?> ChatComponent...
44.660714
131
0.680528
c9652a3425eed6cee4894fd3a149656f6b104ec9
629
/* * 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 Modelo; /** * * @author SALA 02 - 1º AUTO */ public class Categoria { private int Cod_Cat; private Str...
18.5
80
0.588235
884613f3b201afae027ed2674f63a0e6dd3028cb
467
package com.haakon.code.generation.web; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages="com.haakon.code.generation") @MapperScan("com.haakon.code.generation...
31.133333
69
0.824411
37d55423c5de2c45dcafc33617654f3bf4eb7726
4,164
package net.bytebuddy; import net.bytebuddy.instrumentation.type.TypeDescription; import net.bytebuddy.utility.MockitoRule; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TestRule; import org.mockito.Mock; import org.objectweb.asm.MethodVisitor; import static org.hamcrest.CoreMatchers.equalTo; i...
48.418605
142
0.742315
367ed8b2423d8a5a49f71b417fc55130b1a781e3
3,823
/* * Copyright 2014 Neil Miller * * 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 ...
29.183206
95
0.724039
f4eac6c8ff6a35cd25c42fb7ad6d7c4b6b6c2378
223
// PARSER_WEEDER public class J1_ForUpdate_ClassCreation { public J1_ForUpdate_ClassCreation() {} public static int test() { for (int i = 0 ; i < 10 ; new String("foo")) { i = 10; } return 123; } }
18.583333
47
0.609865
1b948bb6c165f47c1edc3ccb02ac2e64e72c720e
6,139
package androidx.media2.player.exoplayer; import android.net.Uri; import androidx.core.util.Preconditions; import androidx.media2.exoplayer.external.upstream.BaseDataSource; import androidx.media2.exoplayer.external.upstream.DataSource; import androidx.media2.exoplayer.external.upstream.DataSpec; import java.io.FileDe...
37.662577
159
0.559212
f8f63f75650f3a67daa6f06190df3d27361afd2d
231
package org.jetbrains.fortran.lang.psi; import org.jetbrains.annotations.Nullable; public interface FortranEndUnitStmt extends FortranStmt { @Nullable default FortranDataPath getDataPath() { return null; } }
19.25
57
0.744589
5e5f0ffb8ba39ecf16e8af8a887f2cb13332901d
475
package com.github.njuro.jard.ban; import java.io.Serial; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * Exception to be thrown when looked up ban is not found. * * <p>Set 404 HTTP status. */ @ResponseStatus(code = HttpStatus.NOT_FOUND, reason = "B...
27.941176
75
0.781053
9fb6954fe2243ca391c7085e06255228c2505887
3,183
/* -------------------------------------------------------------------- * ImportLinkPathMatrix.java * -------------------------------------------------------------------- * (C) Copyright 2015-2016, by Huijun Liu and all Contributors. * * Original Author: Huijun Liu * Contributor(s): Qinrui Tang * * L...
29.747664
99
0.597235
751c03e2d2337e9317bda7a30ddcbabe1f7e571d
5,695
/* Copyright ©2017-2019 SyncPrem, all rights reserved. Distributed under the MIT license: https://opensource.org/licenses/MIT */ package com.syncprem.uprising.streamingio.relational; import java.sql.JDBCType; public final class JdbcStreamingColumnImpl implements JdbcStreamingColumn { public JdbcStreami...
17.741433
74
0.70676
3658257fefd27dfb2a3c78e309089c6c5d19e881
29,882
/* * 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 ...
48.747145
178
0.76618
a990d9ea0e12db4a8964c016460cd1db09060880
1,183
package com.iasmar.rome.util; import android.support.annotation.Nullable; import android.support.annotation.VisibleForTesting; import static com.google.common.base.Preconditions.checkNotNull; /** * Created by Asmar on 01/7/2018. * <p> * This Class provides utility methods containing the backport of Java 7's Obje...
26.288889
98
0.683855
1baa0936829ff33d137d214b3635ea187d7d69ce
2,372
package com.bigcay.excel.excelfiller.style; import org.apache.poi.hssf.util.HSSFColor; public enum Color { AUTOMATIC(HSSFColor.AUTOMATIC.index), AQUA(HSSFColor.AQUA.index), BLACK(HSSFColor.BLACK.index), BLUE(HSSFColor.BLUE.index), BLUE_GREY(HSSFColor.BLUE_GREY.index), BRIGHT_GREEN(HSSFColor.BRIGHT_GREE...
31.626667
63
0.746206
4a0c0695a55f152e674db5e4eb795ede77a24fba
1,322
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 查询用户权益列表 * * @author auto create * @since 1.0, 2021-12-22 19:57:05 */ public class AlipayCommerceOperationUserBene...
18.109589
85
0.720121
86bb551c4d102d40fe98b5901489ccd60b608ae8
2,006
package com.example.mary.mary.net.callback; import android.os.Handler; import com.example.mary.mary.ui.loader.LoaderStyle; import com.example.mary.mary.ui.loader.MaryLoader; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; /** * 项目名: FestEC * 包名: com.example.mary.mary.net.call...
24.463415
115
0.577268
9089375519ad006c793e8e9ac4368032fd9db407
2,555
/** * 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 * distribu...
35
75
0.593346
04b15f3f700e9106012ae5b0d38bb6a022b17940
3,354
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
41.407407
207
0.781157
6e74f498cae5268f6ca96a753a56058fabe29e29
477
package com.noobanidus.circadian.compat.agricraft.handlers; import thaumcraft.common.lib.utils.CropUtils; public class CropHandler { public static void init() { // TODO: I don't even think this is needed any more? CropUtils.clickableCrops.add("tile.agricraft:crop7"); /* Plz work IMC ...
34.071429
142
0.70021
12b824e1d45caca68c5c1581ea686248202c5a95
1,494
package org.nuclearfog.twidda.backend; import android.os.AsyncTask; import org.nuclearfog.twidda.activity.AppSettings; import org.nuclearfog.twidda.backend.engine.EngineException; import org.nuclearfog.twidda.backend.engine.TwitterEngine; import org.nuclearfog.twidda.backend.items.TrendLocation; import java.lang.ref...
27.666667
101
0.676037
925579e44f2017702184f79dd82920496c02e62d
2,125
package org.basex.io.serial; import static org.basex.util.Token.*; import java.io.*; import org.basex.build.*; import org.basex.query.util.ft.*; import org.basex.util.*; /** * A serializer that pipes the events directly through to a builder. * * @author BaseX Team 2005-15, BSD License * @author Leo Woerteler *...
23.097826
99
0.656471
134941bae97697ceaa6d5c5a215cefef79b140b1
5,891
package io.github.pureza.warbots.search; import io.github.pureza.warbots.collection.Graph; import java.util.*; import java.util.function.Predicate; /** * Implementation of the A* graph search algorithm * * @param <V> The type of the vertices in the graph. */ public class AStarSearch<V> { /** The graph to s...
29.752525
109
0.57834
6c99d461e7bc6dd0abf5c3ff13751daf94b8a63c
4,645
/* * Copyright (C) 2019, y785, http://github.com/y785 * * 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, modi...
30.359477
96
0.639182
0fadfe8dda2fadc70ae87db4a22900cca70e2d6d
1,781
/* * [y] hybris Platform * * Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. * * This software is the confidential and proprietary information of SAP * ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the te...
37.104167
128
0.815272
f91c315944e96464dc02ada70e0d259194561dee
2,795
package com.pengsoft.system.messaging; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.inject.Inject; import com.pengsoft.security.domain.User; import com.pengsoft.security.service.UserService; import com.pengsoft.support.exception.Exceptions; import com.pengsoft.support.util.Stri...
37.77027
114
0.724508
b74247960fc716fd6df318d28658a23199e6562f
5,176
/* * Copyright (C) 2016 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 applic...
39.212121
97
0.578246
eafc1b07ae4f836b292048ced03ce24cf16b1939
5,030
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.awt.event.MouseMotionListener; import java.util.Objects; import javax.swing.*; import javax.swing.table.DefaultTableC...
33.758389
147
0.700398
3c254bd35d7ecba3e9a106348ac1cf201c86169c
10,953
package com.mizo0203.lilywhite.domain; import com.linecorp.bot.model.action.Action; import com.linecorp.bot.model.action.DatetimePickerAction; import com.linecorp.bot.model.action.PostbackAction; import com.linecorp.bot.model.event.*; import com.linecorp.bot.model.event.message.*; import com.linecorp.bot.model.message...
38.163763
97
0.742901
2221cda3e51a4051ed5a638308f337743b3659e1
2,657
/* * 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 ...
27.112245
85
0.625518
c33ee13b21a977f8ab2e668fe3542bf38748ffa1
315
package com.crazyhitty.chdev.ks.popularmovies.videos; import com.crazyhitty.chdev.ks.popularmovies.models.VideoItem; import java.util.List; /** * Created by Kartik_ch on 3/8/2016. */ public interface OnVideosLoadListener { void onSuccess(List<VideoItem> videoItems); void onFailure(String message); }
21
62
0.765079
7646b8c663017bf932c74d2cfa4d308c2e517823
2,281
package org.generation.projeto_uana.model; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.validation.constraints.NotB...
20.185841
120
0.739588
338d94d2038fec83ccf7ade9d2c6be4c36da1772
1,737
package model; import static org.lwjgl.opengl.GL46.*; public class Mesh { private final float[] vertices; // n*8: x,y,z,nx,ny,nz,u,v private final int[] indices; private final TexturePack texturePack; private final Shader shader; private int vao; private int vbo; private int ebo; publ...
28.47541
112
0.62867
cbf3125185c83c93adc286b855a714b490803c06
994
package ros.integrate.pkg.xml.condition; import com.intellij.lang.BracePair; import com.intellij.lang.PairedBraceMatcher; import com.intellij.psi.PsiFile; import com.intellij.psi.tree.IElementType; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import ros.integrate.pkg.xml.conditi...
31.0625
121
0.77163
9929fa2f233a1a46217be4e46343a6d5afe794aa
5,298
/* * * Copyright BinquanWang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
37.842857
130
0.664024
e5778982da93ab1d841c44f4b73b7fc28346091e
949
package com.sunya.electionguard; import com.google.common.base.Preconditions; import javax.annotation.concurrent.Immutable; /** * Superclass for encrypted selections. */ @Immutable public class CiphertextSelection extends ElectionObjectBase { /** Manifest.SelectionDescription.crypto_hash(). */ public final Gro...
32.724138
132
0.785037
6582e0f70290c205b6834897e527478bce275116
5,541
package com.konumsal.orbisozetmobil.OrtakUI; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.GridV...
33.786585
155
0.61072
86f8ef0d16bac8bcd6e06303d9b1cfff8c5a2c7c
267
import org.checkerframework.checker.lock.qual.*; class Issue2163 { @GuardedBy Issue2163() {} void test() { // :: error: (constructor.invocation.invalid) :: error: (guardsatisfied.location.disallowed) new @GuardSatisfied Issue2163(); } }
24.272727
100
0.659176
b09cf57c7c78d6299d3e91ff7eb606eba23738da
1,003
package com.zanjou.http.response; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; /** * Created by Andersson G. Acosta on 3/01/17. */ public abstract class XmlResponseListener extends BaseResponseListener { private static final String TAG = "XmlResponseListener"; @Override public void onErro...
25.075
73
0.656032
96119b4bcc8f7e5b5903eddc608b6bd7d4bb6550
4,423
/** * * Copyright (c) Microsoft and contributors. 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 r...
29.486667
95
0.683247
13b1ea7e674676f97d9d889dcca6bb0676e11a1d
2,633
package com.echinacoop.lightos.domain.svn; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import com.echinacoop.lightos.domain.base.BaseEntity; /** * 此实体类...
22.313559
97
0.601595
dba08e0a2ea93413354b2445c43e4351c59dd21c
7,550
package com.stolsvik.mats.lib_test.basics; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.stolsvik.mats.lib_test.DataTO; import com.stolsvik.mats.lib_test.MatsBasicTest; import com.stolsvik.mats.lib_test.StateTO; import com.stolsvik.mats.test.MatsTestLatch; import com.stolsvik.mat...
49.671053
170
0.659205
39fa587646e96103b20c6d6cc77045683f5a4ca6
4,218
package spicy.gui.alt; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.gui.GuiTextField; import org.lwjgl.input.Keyboard; import spicy.alt.Alt; import spicy.alt.GuiMaskedTextField; import spicy.main.Spicy; import java.io.IOException; public class GuiA...
39.055556
192
0.601944
662e305e02bb45c2915985250d290a67e7f59ec6
1,178
package com.slurpy.glowfighter.guns; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.Vector2; import com.slurpy.glowfighter.Core; import com.slurpy.glowfighter.entities.Entity; import com.slurpy.glowfighter.entities.Team; import com.slurpy.glowfighter.entities.bullets....
23.098039
129
0.737691
d5b11a734d1ec8ec25e1460c0856c6fda57a3a32
5,787
package https.siat_impuestos_gob; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for respuesta complex typ...
29.984456
152
0.636945
420ff07529c619c447108badefe27f582600668a
4,500
package io.quarkus.eureka; import io.quarkus.eureka.client.DataCenterInfo; import io.quarkus.eureka.client.EurekaService; import io.quarkus.eureka.client.Instance; import io.quarkus.eureka.client.InstanceBuilder; import io.quarkus.runtime.ShutdownEvent; import io.quarkus.runtime.StartupEvent; import io.vertx.core.Vert...
36
94
0.606667
330dbce88aca01d4bf13ee823f40e6e5991e2c44
7,934
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF license...
17.670379
814
0.782959
8665aef0e43b9cdb99b057b51ca1cfb9cf202eb3
2,921
import java.text.MessageFormat; import java.util.Date; public class Syntax { // Test 2.1.1: Missing '}' at end of message format (Unmatched braces in the pattern) public static void unmatchedBraces() { // :: error: (i18nformat.string) MessageFormat.format("{0, number", new Date(12)); // :: error: (i18...
30.747368
87
0.611092
8a7e59c55fab30d5e08bc8d32659e0a4a8905b7f
443
package com.mashibing.springboot; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan(value = "com.mashibing.springboot.mapper") public class DubboProviderAuthApplica...
27.6875
68
0.8307
7a277f0701ed29dda713c7d584e479a003b332d3
137
package ch.hslu.ad.sw02.list; import ch.hslu.ad.sw02.Allocation; public interface Iterator { boolean hasNext(); Node next(); }
15.222222
34
0.70073
738b27de1d73d53439628cf01e84e096e66ee99e
774
package com.henriqueneivafood.jpa; import org.springframework.boot.WebApplicationType; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.ApplicationContext; import com.henriqueneivafood.ApiApplication; import com.henriqueneivafood.domain.model.Cozinha; import com.hen...
30.96
91
0.830749
b7fcaa7f00380227525f02af1fc938a69d3eb440
10,302
package com.anychart.anychart; import java.util.Locale; import java.util.Arrays; import java.util.List; import java.util.ArrayList; import android.text.TextUtils; // class /** * Composition view, that concatenates two different views. */ public class Exports extends JsObject { public Exports() { js.se...
32.294671
283
0.542419
40b0844136fb70f23e0fce524b750a2a11b9875c
4,726
package net.codejava.controller; import java.io.IOException; import java.util.Map; import java.util.ArrayList; import java.util.List; //import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.JdbcTemplate; import org.springfram...
30.688312
193
0.710114
0f57d8dd338da438e2eb734e2dd6a429719f17b2
957
package com.blamejared.crafttweaker.impl.actions.items.tooltips; import com.blamejared.crafttweaker.api.item.IIngredient; import com.blamejared.crafttweaker.api.item.tooltip.ITooltipFunction; public class ActionModifyTooltip extends ActionTooltipBase { private final ITooltipFunction function; public...
22.785714
86
0.639498
678d2fb65e2f9515a34ea7b7f37a6868274c4913
2,653
package com.davromalc.kafka.streams.bootstrap; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.concurrent.Executor; import java.util.concurrent.Executors; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; import org.apache.kafka.clients.consumer.Consum...
35.373333
148
0.785149
62f7a1a3a631d8c0344dc627abc87abb1dd07421
46,668
/* * 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.98492
221
0.641125
df7f580960ecb545ee4f85d032783e5521b79229
176
package ArduinoUploader; public class ArduinoUploaderException extends RuntimeException { public ArduinoUploaderException(String message) { super(message); } }
25.142857
64
0.767045
61a01af3241f8999f88c5c0c8afa6bd6f254a087
2,347
package ca.carleton.gcrc.utils; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; public class StreamUtils { static final public int DEFAULT_TRANSFER_BUFFER_SIZE = 4096; /** * Copy all the bytes from an input stream to an output s...
29.708861
108
0.709842
9d7bad494f1ea623bcd18bb231110e471f0892eb
904
package oop.oopFood; public class CandyShop { public static void main(String[] args) { Person fifyCent = new Person("Curtis", 102, 0); //fifyCent.eat(new Toblerone()); //fifyCent.eat(new Lollipop()); Food zeli = new Cabbage(357); Food blizalka = new Lollipop(); Toblerone heartAtta...
21.023256
52
0.643805
06292e86e7a7d4271971a167bdd4671d98edda85
1,549
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.communication.chat.implementation.converters; import com.azure.communication.chat.models.ChatError; import com.azure.communication.chat.models.CreateChatThreadResult; import java.util.ArrayList; import j...
33.673913
108
0.708844
23abdf256595967409a67e382759322bb5dd6669
33,207
package com.outbrain.ob1k.concurrent; import com.google.common.base.Preconditions; import com.google.common.base.Predicate; import com.google.common.base.Supplier; import com.outbrain.ob1k.concurrent.combiners.Combiner; import com.outbrain.ob1k.concurrent.combiners.FutureBiFunction; import com.outbrain.ob1k.concurrent...
43.57874
171
0.655705
0289d2ada409cc2451f46c0e64cf9c6f86b2d701
10,591
/* * 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 chess.connection; import chess.bot.ChessBot; import chess.engine.GameState; import chess.model.Event; import chess.model.Profi...
31.900602
116
0.560287
aa81e45c26330cc7c293bf1cc6d8398b2426ea78
7,097
package nl.joozt.abc_tts; import android.content.Context; import android.media.AudioManager; import android.media.SoundPool; import android.os.Handler; import android.util.Log; public class AlphabetPlayer { private static final String TAG = AlphabetPlayer.class.getSimpleName(); private static final String[] A...
31.402655
179
0.615612
6d2f3ba40dd2aaadf380ea2dc5eca392bfbca3d9
964
package org.javamoney.moneta.internal.convert.yahoo; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.an...
22.418605
70
0.73444
bd0110e644cb6c901ce97bbd5716fd37b9e0b938
6,953
/* * 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...
38.203297
116
0.723285
d7d309e584c59cfd9d9ae589ff84f94e99e3d3c4
1,769
package de.digitalcollections.iiif.hymir.config; import de.digitalcollections.commons.springmvc.interceptors.CurrentUrlAsModelAttributeHandlerInterceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.LocaleResolv...
42.119048
105
0.839457
3aa583179b40f2e92aa9ea8b2d9218f176772816
2,485
package gov.cdc.usds.simplereport.config; import com.azure.storage.queue.QueueAsyncClient; import com.azure.storage.queue.QueueClientBuilder; import com.fasterxml.jackson.databind.ObjectMapper; import gov.cdc.usds.simplereport.db.model.TestEvent; import gov.cdc.usds.simplereport.properties.AzureStorageQueueReportingPr...
38.230769
102
0.791147
145f18ec14a3222186b5236e1296bd91cd650965
12,362
/* * Copyright 2018 Gerald Curley * * 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...
31.697436
107
0.611713
8db8f3c38e4675811f7341e8db05c2d5cea59c7b
17,525
package com.vimukti.accounter.mobile.commands; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.vimukti.accounter.core.Account; import com.vimukti.accounter.core.Currency; import com.vimukti.accounter.core.FixedAsset; import com.vimukti.accounter.core.IAccounterServerCor...
31.238859
97
0.700371
ecf69df7f8e2c9804ed58e4fdfc4097ce28a0d40
361
package com.guiper.repository; import java.util.List; import org.springframework.data.repository.CrudRepository; import com.guiper.entities.Porta; /** * * @author guiper */ public interface PortaRepository extends CrudRepository<Porta, Integer>{ List<Porta> findByNome(String nome); List<Porta> findByE...
21.235294
72
0.756233
85cf75aeaed3756ebed83c9f6be36bf53bd16fc0
2,532
/******************************************************************************* * Copyright Duke Comprehensive Cancer Center and SemanticBits * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/c3pr/LICENSE.txt for details. **********************************************...
45.214286
149
0.672196
56bb9151fe817753ab6dd75e0b9a6245fd837683
4,205
/* * Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e) * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * For details, see the LICENCE.txt file location in the root directory of this * distribution or obtain ...
23.361111
98
0.706064
dc5a1dba13d0e47ca991287c662e65ec3f83386e
5,542
package me.kubqoa.creativecontrol.utils.lists; import org.bukkit.Material; import java.util.ArrayList; import java.util.List; /** * CreativeControlPaidByKubqoA class * Created by jacobarbet on 26/04/16. */ public class list_1_8 { public static final List<Material> willbreak = new ArrayList<Material>(); s...
37.194631
77
0.665464
3feb08169133648fb051acc094458d676f93394d
1,704
package com.fsck.k9; import android.content.Context; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; impor...
32.769231
141
0.734742
4269a66f8b105fa33311f4907318e35c2e14ef14
14,619
/* * RadarPane.java * * $Id: RadarPainter.java,v 1.3 2008/02/27 14:55:48 marco Exp $ * * 04/gen/08 * * Copyright notice */ package org.mmarini.atc.sim; import java.awt.Color; import java.awt.Dimension; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import jav...
26.245961
78
0.64765
353eb9fede6f2c94ab1e7d1faada621e11b77011
1,093
package com.spandr.meme.core.activity.webview; import android.support.test.espresso.intent.rule.IntentsTestRule; import android.support.test.runner.AndroidJUnit4; import com.spandr.meme.R; import com.spandr.meme.core.activity.main.MainActivity; import org.junit.Rule; import org.junit.Test; import org.junit.runner.Ru...
34.15625
87
0.795974
688e748150f404295793bb5c53cc9f58d110d9b3
264
package cn.mcmod.sakura.block.noodles; import cn.mcmod.sakura.item.ItemLoader; import net.minecraft.item.ItemStack; public class BlockPasta extends BlockNoodle { @Override public ItemStack getNoodle() { return new ItemStack(ItemLoader.MATERIAL,2,57); } }
18.857143
49
0.780303
5e6ada1d9335fb98fb757b9be78a882351d7124c
227
package softuni.mobile.model.service; /** * This package contains service models. * * These are the classes that we pass to our services. * Usually we populate them from the data that * comes into the binding models. */
22.7
54
0.731278
a302448fe39137ae43b02d9e4ccfe05c6259e8d8
4,845
/* * Copyright 2015-2020 Austin Keener, Michael Ritter, Florian Spieß, and the JDA contributors * * 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/lice...
27.219101
129
0.61548
22de431917c8e265df4adbb77d0c0f9424e0fab1
10,704
/* * Copyright 2013-2019 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...
32.534954
102
0.78793
ea11f2ea63d432df00eb8cb6d269a7f5ee516af3
4,285
package de.pxlab.pxl.display; import java.awt.*; import de.pxlab.pxl.*; /** * A letter matrix followed by a clear screen interval followed by an optical * cue. * * @author H. Irtel * @version 0.3.1 */ public class CuedLetterMatrix extends LetterMatrix { /** Cue color. */ public ExPar CueColor =...
38.258929
78
0.688448
8d5464feeac57fdcd219daa4beb4f8c0511adc14
2,454
package com.spring.akka.eventsourcing.persistance.eventsourcing; import static akka.actor.Props.create; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import or...
33.162162
170
0.809698
bb298714965aa3c5252d227a972f0969578d1dcf
1,184
package Problem_1987; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static char[][] arr; static int R,C; static int max_can = Integer.MIN_VALUE; static int[] dx = {0,0,-1,1}; static int[] dy = {-1,1,0,0}; static void answer(int x, in...
28.190476
78
0.592905
e6101221ba48e971a292658c39a6d9222d4f02f3
727
package com.pxworlds; import com.pxworlds.util.OSHelperUtil; import java.io.File; public class Constants { public static final String TITLE = "pxWorlds - Let's Adventure!"; public static final String PROGRAM_NAME = ".pxworlds"; public static final String HOME_DIR = ...
45.4375
136
0.708391
c5edeef2c8f5ee3700b315c9e146a2adf2d4d49f
681
package com.leetcode.solution; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * 15. 三数之和 * 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?请你找出所有满足条件且不重复的三元组。 * * 注意:答案中不可以包含重复的三元组。 * * * * 示例: * * 给定数组 nums = [-1, 0, 1, 2, -1, -4], * * -4 -1 -1 0 1 2 * *...
17.461538
86
0.546256
8c5e1572f6f0e884acdc6b0fa17e553e148dee7a
1,346
package gov.nasa.jpf.android.checkpoint; public class Path { protected String pathID; protected int eventID; public Path(int eventID,String pathID) { this.pathID = pathID; this.eventID = eventID; } @Override public Object clone() { return new Path(eventID,new String(pathID)); } @Overri...
18.189189
73
0.603269
9b14c2451ae3adb6eb0608a1afcdb04c3a9bb820
1,822
/* * Copyright 2010 STI Innsbruck * * 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 ...
24.293333
75
0.745884
5a9e48ec972e94cb0f9616b7aa1c8c3d18303343
14,006
/* * (c) Copyright 2020 Palantir 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 * * Unless ...
44.322785
120
0.691989
95f72f53b3f558e80ba7cd472f214089972dc410
460
package hr.fer.zemris.optjava.dz5.models.cfplans; /** * Created by Dominik on 11.11.2016.. */ public class LogCompFactorPlan implements ICompFactorPlan { private double base; public LogCompFactorPlan(int maxIterations, double factor) { base = maxIterations * factor; } @Override public d...
24.210526
70
0.667391
70bd0db7febfe23eb4c6541c251584645b1a1b7b
3,122
/* * Copyright (c) 2020. MobilityData IO. * * 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 l...
43.361111
108
0.679693
d63bcfb9d1a6f3489506bfa0ee5df4a5c4473fd7
684
package com.darcy.java8.c93; public class Student { String name; String id; double score; String grade; public Student(String name, String grade, double score) { this.name = name; this.id = name; this.score = score; this.grade = grade; } public String getName() { return name; } public void setNam...
13.68
58
0.654971
f0c26abc772c69b0d3107af1594500908613138d
955
package com.company; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Queue<Integer> queue = new LinkedList<>(); int prevSum = 0; int count = 0; // Store the sum of the first 3 integers into the variable...
24.487179
77
0.518325
b5db5b4f274d7f8d1aef88568ff67906099e914e
5,206
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distribute...
38
135
0.599308
41bb4fc4ea703c6674293d8076518b151b2da10a
1,359
/* * 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 fogtorch.utils; /** * * @author stefano */ public class QoSProfile { private int latency; private double bandwidth;...
25.166667
79
0.558499
4eb465511983ea486bb06a01400b4854e7a829d7
1,565
/* * Copyright (c) 2021, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * https://oss.oracle.com/licenses/upl. */ package com.oracle.coherence.examples.todo.server; import java.util.Collections; import org.junit.jupiter.api.MethodOrderer; import org.junit.jupi...
26.525424
110
0.743131
3c6fd4f4e35242b39b8164baaa21cd9118ece108
940
package org.apache.http.util; public class Asserts { public static void check(boolean z, String str) { if (!z) { throw new IllegalStateException(str); } } public static void check(boolean z, String str, Object... objArr) { if (!z) { throw new IllegalStateExc...
27.647059
72
0.593617
e731dbe575fc0fecd23c81609beb8ef23ed3c0df
7,696
package site.zido.coffee.security.token; import io.jsonwebtoken.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.authentication.AuthenticationTrustResolver; import org.springframework.security.authentication.AuthenticationTrustResolverImpl; import org.springframework.secu...
40.083333
145
0.665411
9d47de22cec0cdaf2199b7ea45368bce8ed9e02e
1,814
package com.a2big.android.library.init; /** * Free for modification and distribution * @author jihun,kang * */ import android.app.ActivityManager; import android.content.Context; import android.graphics.Bitmap; import android.util.LruCache; import com.android.volley.RequestQueue; import com.android.volley.toolb...
29.737705
104
0.670342
c1e34179ca3b3bc5c5cc59d9a758cab5d3e99f48
117
package com.github.jstumpp.uups; public class UupsFrameComment { public String context; public String text; }
16.714286
32
0.760684
b18a883c65763f90fc5f0d252a9341e784439138
482
package tp.p2.commands; import tp.p2.logic.Controller; import tp.p2.logic.Game; public class NoneCommand extends NoParamsCommand { public static final String commandText = "none"; public static final String commandInfo = "[none]"; public static final String helpInfo = "Skips cycle."; public NoneCommand() { su...
24.1
56
0.748963
4dce6d2ff8f21aad4450b41172a9893346828b78
3,069
package arc.box2d.joints; import arc.box2d.*; import arc.math.geom.*; /** * A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a * massless, rigid rod. */ public class DistanceJoint extends Joint{ // @off /*JNI #include <Box2D/Box2D.h> */...
28.416667
125
0.672532