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
4203554d4942c93a7e69d69f8b02762f070d0275
1,962
package de.spreclib.api.main; import de.spreclib.model.longtermstorage.enums.LongTermStorageTemperature; /** * LongTermStorageTemperatureOption * * <p>To obtain the name of the ListOption e.g. for usage in GUIs use getStringRepresentation() * * @author Christopher Meyer * @version 1.0 */ public fin...
26.513514
98
0.685525
76d6d6bf6ad4fa96203508d34a9c5c523afe5bbf
810
package com.xu.dao; import org.springframework.context.ApplicationContext; import org.springframework.context.support.FileSystemXmlApplicationContext; import org.springframework.jdbc.core.JdbcTemplate; public class MyMain { public static void main(String[] args) { // TODO Auto-generated method stub Ap...
31.153846
147
0.740741
647f8175474418e3af43467fcdc725498e3e7311
1,349
package com.github.signer4j.gui.alert; import javax.swing.JDialog; import javax.swing.JOptionPane; import com.github.signer4j.gui.utils.Images; import com.github.signer4j.imp.Config; public final class TokenLockedAlert { private static final String MESSAGE_FORMAT = "Infelizmente seu dispositivo encontra-se BLOQUE...
28.702128
104
0.700519
8417c2b17282864f8ff36bba6889457ff165ec21
3,039
package com.github.pmoerenhout.atcommander.module._3gpp.commands; import com.github.pmoerenhout.atcommander.AtCommander; import com.github.pmoerenhout.atcommander.Command; import com.github.pmoerenhout.atcommander.api.SerialException; import com.github.pmoerenhout.atcommander.basic.commands.BaseCommand; import com.git...
35.752941
141
0.745969
df60070c06b403f6f6d95f7a91715e4ea2fcd27f
2,303
package auyar.pms; /** * Copyright 2017 Ahmet Uyar * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, mer...
37.754098
132
0.667825
f04410dcd70af07479fa05aa879aa72bbac95d58
1,678
/* * Copyright (C) 2016 Li Jiangdong 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 appl...
32.269231
79
0.73242
4e375bbe6ed13573a19736d576427c43d622936d
10,496
/******************************************************************************* * Copyright 2016 by the Department of Computer Science (University of Genova and University of Oxford) * * This file is part of LogMapC an extension of LogMap matcher for conservativity principle. * * LogMapC is free software:...
28.444444
103
0.768864
61e8745dfc8175b5176d495cfeb372e0d95f033d
2,226
/* * Copyright (C) 2013 salesforce.com, 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 ...
35.903226
124
0.764151
266b93db63bf7ff02390ba9583acea5a38649f0b
276
package com.suizhu.work.log.service; import com.suizhu.common.core.service.IService; import com.suizhu.work.entity.LogDoorway; /** * <p> * 门店日志 服务类 * </p> * * @author GaoChao * @since 2019-03-07 */ public interface LogDoorwayService extends IService<LogDoorway> { }
16.235294
65
0.713768
f6f69130ec9ba63427e3a3cf3bd9a035754c73b0
2,184
package com.javacourse.springmvc.examples; import java.util.Locale; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootSe...
36.4
94
0.825092
1f7b2fb53acc979e69e5087f37018ad310f88fa5
2,112
package seedu.cakecollate.storage; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonRootName; import seedu.cakecollate.commons.e...
34.622951
110
0.723485
aea6cc5662b5519911ef0ef4f031abc4dc167135
636
package com.team_htbr.a1617proj1bloeddonatie_app; import android.util.Log; import com.google.firebase.iid.FirebaseInstanceId; import com.google.firebase.iid.FirebaseInstanceIdService; /** * Created by Ruben on 23/03/2017. */ public class MyFirebaseInstanceIDService extends FirebaseInstanceIdService { private s...
23.555556
76
0.775157
2b66e611f1925cd10e142efb54361dff3646d4f5
2,458
package spreadsheet; import limiter.Originator; import spreadsheet.Programmer; import spreadsheet.Summons; import java.util.Comparator; import java.util.PriorityQueue; public class DefinedCompiler extends spreadsheet.Programmer { public java.util.PriorityQueue<Summons> preppedDragon; public java.util.Comparator<S...
28.252874
95
0.681041
bc941ae56f0dbb52238c3c791d3ce30996b0d40f
797
package com.udacity.gradle.jokedisplayer; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.TextView; public class MainActivity extends AppCompatActivity { public static final String jokeKey = "jokeKey"; private static final String LOG_T...
30.653846
77
0.723965
8453f708db105fbe7a9cc6922b6060474b439d5c
561
public void trimAndWriteNewSff(OutputStream out) throws IOException { TrimParser trimmer = new TrimParser(); SffParser.parseSFF(untrimmedSffFile, trimmer); tempOut.close(); headerBuilder.withNoIndex().numberOfReads(numberOfTrimmedReads); SffWriter.writeCommonHeader(headerBuil...
37.4
73
0.638146
41ebcb029650f077eaf32674c963ceebd6bbad90
564
package jef.database.dialect.handler; import jef.database.wrapper.clause.BindSql; import jef.tools.PageLimit; /** * LimitHandler用于进行结果集限制。offset,limit的控制 * * @author jiyi * */ public interface LimitHandler { /** * 对于SQL语句进行结果集限制 * * @param sql * @param offsetLimit * @return */ ...
17.625
72
0.652482
05582ddd7fe39d72c2bd93366100eb64ec70bfba
21,174
/* * Copyright (C) 2019 Toshiba Corporation * SPDX-License-Identifier: Apache-2.0 */ package org.wcardinal.controller; import java.security.Principal; import java.util.Collection; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent...
27.787402
155
0.665628
1250ae0c8b902ecf2ad849b8621a9f246c9d9303
1,328
package me.mrletsplay.mrcore.bukkitimpl.ui; /** * This class is used by UIMultiPages to define a basic, flexible layout which will then be parsed into the final chat message<br> * This class is only available to the UIBuilderMultiPage/UIMultiPage * @author MrLetsplay2003 */ public class UILayoutMultiPage extends U...
26.56
130
0.741717
0ad2df355817f4762a68889490e3bda58280f4d3
129
/** * Пакет для выполнения задач по массивам. * @author vzamylin * @version 1 * @since 28.02.2018 */ package ru.job4j.array;
18.428571
42
0.674419
9a75aa45c314e5181c7ccea4f37304e9013ae5ea
2,541
/* * #%L * wcm.io * %% * Copyright (C) 2021 wcm.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 ap...
25.158416
83
0.730028
1c60c3858888efa152547571bce9af6a7b541639
16,612
/* $Id: FigStereotypesGroup.java 17741 2010-01-10 03:50:08Z bobtarling $ ******************************************************************************* * Copyright (c) 2009-2010 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the E...
35.269639
80
0.58223
0049810e0d561465a497415952f580cc919fdec3
2,274
/* * Copyright Verizon Media, Licensed under the terms of the Apache License, Version 2.0. See LICENSE file in project root for terms. */ package com.yahoo.cubed.pipeline.launch; import com.yahoo.cubed.pipeline.command.CommandExecutor; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; /...
33.940299
265
0.721196
1e62b0994783ca36a529ab3d460280a5d534f599
3,867
/* * 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 n...
41.580645
124
0.668994
67d6b84f40bf732eee83633143c23e44daa66939
2,476
package com.clsaa.dop.server.permission; /** * 权限管理的切面类 * * @author lzy */ import com.clsaa.dop.server.permission.annotation.GetUserId; import com.clsaa.dop.server.permission.annotation.PermissionName; import com.clsaa.dop.server.permission.service.AuthenticationService; import com.clsaa.dop.server.permission.se...
28.790698
93
0.650242
ce36ddf4d0e628936252c5e6d370d132302efda9
2,547
/** * Copyright 2013 Canada Health Infoway, 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...
33.513158
83
0.742442
1bdc2163ee087552f9ec06cf05830fa6b9e8efe6
2,858
package com.softicar.platform.db.structure.foreign.key; import com.softicar.platform.db.core.table.DbTableName; import com.softicar.platform.db.structure.table.IDbTableStructureFeature; import java.util.List; import java.util.Map; /** * Describes the structure of a foreign key of a database table. * * @author Oliv...
30.731183
77
0.714136
ecf785dc66b60e06c51705e2de8fb3f22cef8783
12,537
package fr.insee.stamina.national; import fr.insee.stamina.utils.Names; import fr.insee.stamina.utils.XKOS; import org.apache.jena.rdf.model.*; import org.apache.jena.sparql.vocabulary.FOAF; import org.apache.jena.vocabulary.DC; import org.apache.jena.vocabulary.DCTerms; import org.apache.jena.vocabulary.RDFS; import ...
41.376238
343
0.740369
f803af61d3f9ecaae05cd133c5db1e435b9ee3ea
669
package com.fernandocejas.android10.restrofit.enity; import android.support.annotation.Nullable; import com.google.auto.value.AutoValue; import com.google.gson.Gson; import com.google.gson.TypeAdapter; import com.google.gson.annotations.SerializedName; import java.util.Collection; /** * Created by jerry on Jan-18-...
25.730769
83
0.784753
647bbc728273eeafcc5df15ac0d3e6fbd61afe88
141
package com.hive.apps.cleveler.cnc; public class CNCStatus { public double x = 0; public double y = 0; public double z = 0; }
14.1
35
0.64539
6f3b6fcccfe24ed392d979c34cc91212e69d419a
369
package net.eduard.api.lib.storage.annotations; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({java.lang.annotation.ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) public @interface StorageReference { boolean mapKey() defau...
26.357143
49
0.799458
34dcd53069e5c21f71271d217c5020148ba66a47
1,487
package de.huddeldaddel.sudoku.game; import java.util.Arrays; public class FieldValidator { private final Field field; FieldValidator(Field field) { this.field = field; } public boolean isCompleted() { return (0 == field.getEmptyCellCount()) && isValid(); } public boolean i...
26.087719
64
0.564896
fba213794e345609cd270d18f86de0c736b37436
1,798
package com.skydoves.preferenceroomdemo.utils; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import com.skydoves.preferenceroomdemo.R; import com.skydoves.preferenceroomdem...
26.441176
99
0.690768
2bc0568dc2bd78e1be5ad619f8c7f87deb1b4396
3,308
/** * Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caintegrator/LICENSE.txt for details. */ package gov.nih.nci.caintegrator.common; import java.util.Arrays; import java.util.Collections; import java.util.List; /** ...
29.017544
79
0.562576
f1159c20cf6cd1d1cbee6f0634e9b69ba26e5d7f
801
package Methods.exercises; import java.util.Locale; import java.util.Scanner; public class VowelsCount { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String input = scanner.nextLine().toLowerCase(); String output = countSingleString(input); S...
29.666667
91
0.56804
1d913b99bc2acad46f310b36371d44c6467ebf97
3,850
package com.chii.www.controller; import com.chii.www.Tool.SafeCode; import com.chii.www.pojo.PageBean; import com.chii.www.pojo.Sct; import com.chii.www.pojo.Student; import com.chii.www.pojo.Teacher; import com.chii.www.service.CourseService; import com.chii.www.service.UserService; import com.github.pagehelper.PageI...
33.478261
102
0.691429
87242c68499d272c246fc1df086a9749c7202902
917
package io.dactilo.sumbawa.spring.spreadsheets.converter.api; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; /** * Serialize and send a {@link Spreadsheet} into a stream. */ public interface SpreadsheetStreamer { /** * Serialize and send a {@link Spreadsheet}...
33.962963
98
0.728462
dfc26f08b77d26fa4134ca1625e747f2857beab0
32,219
/* * Copyright (c) 2003, 2010, Dave Kriewall * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * 1) Redistributions of source code must retain the above copyright notice, this list of condi...
41.951823
207
0.626214
29fe0f3f56841ae4a19ba29187c706b6dac56e82
13,179
/* * 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 ...
44.224832
268
0.620381
90f4e391980e650c991352cca1619dcde8bbde35
2,042
package expo.modules.updates.manifest; import android.util.Log; import org.json.JSONObject; import java.util.HashMap; import androidx.annotation.Nullable; import expo.modules.updates.UpdatesConfiguration; import expo.modules.updates.db.UpdatesDatabase; public class ManifestMetadata { private static final String...
39.269231
128
0.773751
ef59a0568f77de1c1f239871289aede51ecc5710
1,807
package com.cooker.msgbus.core; import com.google.common.base.Preconditions; import java.util.Optional; import java.util.StringJoiner; /* * 版权: * 创建者: ykq * 创建时间: 2018/09/06 下午4:48 * 功能描述: 获取参数,类型适配 * 修改历史: */ public interface IParams { default String getString(String key){ return getString(key...
28.68254
71
0.610404
92e7ff5c4d6e7c292c8f3d7a4be6b131b82390d8
7,429
package net.id.incubus_core.datagen; import com.google.common.base.Charsets; import net.minecraft.item.Item; import net.minecraft.util.registry.Registry; import org.apache.commons.io.FileUtils; import java.io.File; import java.io.IOException; @SuppressWarnings("unused") public class RecipeJsonGen { public stati...
34.235023
160
0.425225
52dc91767fd0ce072a7d541be6ed336795d90839
23,821
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.wm.impl.status; import com.intellij.ide.IdeEventQueue; import com.intellij.notification.impl.IdeNotificationArea; import com.intellij.openapi.Disposa...
31.719041
140
0.674447
f9308da944c615c6bc2b98262952ef479fc3ecd1
1,211
package org.iib.icdd2ams; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.file.Path; import java.nio.file.Paths; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.Marker; import org.slf4j.MarkerFactory; public class ToSQLTemplate {...
29.536585
103
0.695293
6910d033a9ff4f815dc3470a5d7a44a2b9330282
4,011
package com.java.utils; import java.io.UnsupportedEncodingException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.NoSuchPaddingExce...
27.472603
133
0.644228
49d400668d99e78623f82736f7b0955354cb234c
1,059
package com.github.kebbbnnn.nextbutton.util; import java.util.HashMap; import java.util.Map; import java.util.Stack; /** * Created by kevinladan on 3/19/17. */ public class Utils { public static boolean isValidExpression(String expression) { Map<Character, Character> openClosePair = new HashMap<>(); ...
27.153846
66
0.552408
84c2364642d23e69169750ed47f8280dd5cc89db
464
r#"package org.example; import android.support.annotation.NonNull; import android.support.annotation.Nullable; public final class ReturnNullableValue { public static @NonNull java.util.Optional<String> getOpt() { String ret = do_getOpt(); java.util.Optional<String> convRet = java.util.Optional.ofN...
27.294118
80
0.715517
6a32d342657456f1406dab8c6432c4e33761d4d1
6,062
package com.Da_Technomancer.essentials.blocks; import com.Da_Technomancer.essentials.ESConfig; import com.Da_Technomancer.essentials.Essentials; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.nbt.CompoundTag; import net.m...
36.739394
163
0.774002
2e96b0b77e83e5c79945e45f2cfb1db5ba593a2e
14,251
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
58.167347
263
0.676163
145de9b71f9c2aa4262f5bae42d7d79aab7bd8b6
1,359
package net.lazyio.oretree.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import net.lazyio.oretree.api.IOreTree; import net.lazyio.oretree.api.OreTreesAPI; import net.lazyio.oretree.block.OreLeavesBlock; import net.minecraft.util.ResourceLocation; import java.uti...
29.543478
90
0.738779
b43d349adc36bf0674a4edd0687ecf8f92a3e2db
1,152
package cs451; import java.util.ArrayList; public class PerfectLinks implements Links, Observer { private StubbornLinks stb; private Observer observer; private ArrayList<Message> delivered; public PerfectLinks(Observer observer){ this.stb = new StubbornLinks(this); this.observer = ob...
26.181818
106
0.605035
ed3f8f9f0c1851ddada11383e2525bab47736fee
2,874
package net.christophe.genin.monitor.domain.server; import io.vertx.core.DeploymentOptions; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import io.vertx.rxjava.core.Vertx; import net.christophe.genin.monitor....
32.659091
98
0.63396
4694166689da24d96d6303fadaa3fb9cc28f76bd
1,253
package com.cky.learnandroiddetails.UnitTestExample; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.cky.learnandroiddetails.R; /* * 参考http://stackoverflow.com/...
29.833333
77
0.689545
bd00b02665dba84d254fc1c1266253e10a315f63
166
public class Test { @lombok.EqualsAndHashCode class Car { } @lombok.EqualsAndHashCode(callSuper = true) class Ferrari extends Car { } }
11.857143
46
0.626506
8fa5b5457151eb75d95dd5b80134a3c86e8f717b
2,580
package tads.tdm.mediaescolar.fragmets; import android.tdm.mediaescolar.R; import android.tdm.mediaescolar.adapter.ResultadoFinalListAdapter; import android.tdm.mediaescolar.controller.MediaEscolarController; import android.tdm.mediaescolar.model.MediaEscolar; import android.os.Bundle; import android.support.design.wi...
28.988764
94
0.666279
8257a050c6c700100c20d6ef4125b9a4426db1f4
2,350
package com.github.gv2011.quarry.nfs.swing; import static com.github.gv2011.util.ex.Exceptions.notYetImplementedException; import static org.slf4j.LoggerFactory.getLogger; import java.util.ArrayList; import java.util.List; import java.util.Optional; import javax.swing.event.TreeModelEvent; import javax.swing.event.T...
26.704545
86
0.722979
19ca51f7e7e33982cf315e26894cb7cab151657f
6,204
/******************************************************************************* * * Copyright 2012 Impetus Infotech. * * * * 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 *...
27.330396
110
0.582527
ff222a3f447b18787bf8ba33cad517b44bb38cae
186
public class UMUC_IntDemo { public static void main(String[] args) { int carCount = 123456; System.out.print("The int carCount : "); System.out.println(carCount); } }
18.6
44
0.655914
d8bab431ec1f7fd13b5806b5d80c28b12f65ca71
19,000
package com.tngtech.jgiven.impl; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.reverse; import static com.tngtech.jgiven.impl.ScenarioExecutor.State.FINISHED; import static com.tngtech.jgiven.impl.ScenarioExecutor.State.STARTED; import com.tngtech.jgiven.Cur...
35.250464
118
0.644053
3c256ec7d8bd7de87cab009e49921c338105b05a
196
package test; import java.util.*; public class MethodWithMappedClasses { public <T> void copy(List<? super T> dest, List<T> src) { throw new UnsupportedOperationException(); } }
19.6
61
0.678571
e79f374df47f2b358cf90896b476d8de962124ae
4,646
/* * Copyright 2021 The University of Manchester * * 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 ...
57.358025
126
0.628067
074de8bd701181eb736a447d505949d34671d0fd
315
package edu.neu.cs5520.chatime.domain.interactors; import edu.neu.cs5520.chatime.domain.interactors.base.Interactor; public interface DailyCheckInInteractor extends Interactor { interface Callback { void onDailyCheckInSucceed(String message); void onDailyCheckInFailed(String error); } }
26.25
65
0.771429
81c0252c1fd684574bb339b35a3c82eca3d5fa32
7,151
package org.solovyev.android.tasks; import android.app.Activity; import android.content.Context; import com.google.common.util.concurrent.FutureCallback; import org.solovyev.android.Threads; import org.solovyev.tasks.NamedTask; import org.solovyev.tasks.Task; import javax.annotation.Nonnull; /** * User: serso * Da...
29.427984
151
0.687316
6b9b84ae55d124bc94097d40413ff070da1a484f
106
package org.snomed.heathanalytics.ingestion; public interface HealthDataIngestionSourceConfiguration { }
21.2
57
0.867925
867d78769ab4d18758ba667200206fea9a400273
8,130
/* * Copyright (c) 2020 Squaredesk GmbH and Oliver Dotzauer. * * This program is distributed under the squaredesk open source license. See the LICENSE file * distributed with this work for additional information regarding copyright ownership. You may also * obtain a copy of the license at * * https://squaredes...
43.945946
159
0.670357
2d6ef84e9f5be0ef2c5bd22b4009229c5c680bb9
6,512
package mx.nic.rdap.store.model; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import mx....
37.860465
117
0.751229
2f0a1bd72f2969a2b258dbacf8101b73d16e49a2
1,690
package net.tokensmith.otter.gateway.servlet.merger; import helper.FixtureFactory; import helper.fake.FakePresenter; import net.tokensmith.otter.router.entity.io.Answer; import org.junit.Before; import org.junit.Test; import javax.servlet.http.HttpServletRequest; import java.util.Optional; import static org.mockito....
30.727273
110
0.747337
9f05cf2cdd67ad7967182f8bf2814ceb5bc14b04
1,738
/* * Copyright 2021 ConsenSys 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 applicable law or agreed to in wr...
31.035714
118
0.675489
8ff6291fbb8fe76cfec011fe789cd4a44a993ab8
3,034
/* * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
39.921053
89
0.708306
a6fa2ec070d27f47bb7448d694cdc7257d3fb584
6,495
/* * $Id: AttributeEvent.java,v 1.3 2004/07/15 02:11:01 cniles Exp $ * * Copyright (c) 2004, Christian Niles, unit12.net * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistr...
27.289916
88
0.644034
ea1652fb43f937cee04817a5dce754ebb63051be
1,001
/* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * @(#)FullTimeEmployee.java 1.1 06/02/21 */ package com.sun.ts.tests.ejb30.persistence.inheritance.mappedsc.descriptors; import java.sql.Date; /* * FullTimeEmployee entity e...
22.244444
85
0.611389
09c4e6574c933db2e42d784cb35ab1d7d12d5bc6
4,061
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
32.230159
97
0.669786
2afc2d80061c4d74bf0bcbbaf973b98003f88668
1,719
/** * (c) Copyright 2016 Admios. The software in this package is published under the terms of the Apache License Version 2.0, a copy of which has been included with this distribution in the LICENSE.md file. */ package org.mule.modules.watsonalchemylanguage.automation.functional; import static org.junit.Assert.assert...
36.574468
203
0.794066
fc6b3e2115c8d671d1e12f27154516e251e333d1
1,330
package org.gt.connections.jdbc; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.gt.GenevereException; import org.gt.pipeline.BaseReaderWriter; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Map; public abstract...
30.227273
84
0.672932
fb607ada407f7ac725d604cef200b44ca8f6977b
597
package org.jboss.resteasy.spi; import javax.ws.rs.container.AsyncResponse; import java.util.concurrent.TimeUnit; /** * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> * @version $Revision: 1 $ */ public interface ResteasyAsynchronousContext { boolean isSuspended(); ResteasyAsynchronousResponse...
28.428571
95
0.798995
22aa2ce920d0245b84879322e326c8dd62022e0c
19,554
/* * Copyright 2001-2006 LEARNING INFORMATION SYSTEMS PTY LIMITED * * 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 requir...
33.425641
129
0.588882
330be58fe5afa8a14afbaa0a40e2bb20b1af24de
354
package com.boluozhai.snowflake.xgit.repository; import java.net.URI; import com.boluozhai.snowflake.xgit.XGitComponent; import com.boluozhai.snowflake.xgit.XGitContext; import com.boluozhai.snowflake.xgit.workspace.Workspace; public interface Repository extends XGitComponent { XGitContext context(); URI locatio...
19.666667
56
0.80791
83fde7cc7d9973e242f7d39eb33641cca1327dc3
1,706
package com.aditya.personal.algorithmproblems.leetCode; import java.util.LinkedList; import java.util.Queue; public class M_116_PopulatingNextRightPointersInEachNode { class Node { public int val; public Node left; public Node right; public Node next; public Node() { ...
22.746667
70
0.492966
ec45e58a410d078a6288bd45ad8c828eceef9f91
1,740
package mg.rivolink.app.aruco.renderer; import android.content.Context; import android.view.MotionEvent; import org.rajawali3d.Object3D; import org.rajawali3d.lights.PointLight; import org.rajawali3d.loader.LoaderOBJ; import org.rajawali3d.loader.ParsingException; import org.rajawali3d.renderer.Renderer; import mg.r...
22.307692
96
0.728736
e337e1efcc23dac9c752a61305cc15a2261e66c6
4,149
package mchorse.mclib.client.gui.mclib; import mchorse.mclib.client.gui.framework.elements.buttons.GuiButtonElement; import mchorse.mclib.client.gui.framework.elements.buttons.GuiSlotElement; import mchorse.mclib.client.gui.framework.elements.context.GuiSimpleContextMenu; import mchorse.mclib.client.gui.framework.elem...
33.731707
186
0.657508
f76290ece8f09f6eeeafc814cb35442dd2542256
2,160
package stackElimination; import java.util.concurrent.atomic.AtomicReference; public class LockFreeStack<T> implements MyStack<T> { AtomicReference<Node<T>> top = new AtomicReference<Node<T>>(null); static int MIN_DELAY = 1, MAX_DELAY = 100; Backoff backoff = new Backoff(MIN_DELAY, MAX_DELAY);...
29.189189
74
0.398611
a78abef3228254a0703961b943fa6a3e6a8a33ed
1,614
package ru.guar7387.servermodule.tasksfactory; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; import ru.guar7387.servermodule.Logger; import ru.guar7387.servermodule.api.ConnectionManager; import ru.guar7387.servermodule.api.Co...
32.938776
115
0.710657
c446d4ca0b7107622bcd1c372df7864aa6ef66ee
16,730
/* * 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 ...
52.776025
126
0.642857
f52ea48ea4076762936fd853f61d727c170d0eeb
2,339
package net.minecraft.util.profiling.jfr; import java.net.SocketAddress; import java.nio.file.Path; import javax.annotation.Nullable; import net.minecraft.resources.ResourceKey; import net.minecraft.util.profiling.jfr.callback.ProfiledDuration; import net.minecraft.world.level.ChunkPos; import net.minecraft.world.leve...
30.776316
173
0.719111
9bba88f52543d3090a54af5e5d4cb0d451ce6a11
1,543
package takt.repositories; import takt.models.User; import org.springframework.stereotype.Repository; import java.util.ArrayList; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; @Repository public class UserRepository { private...
27.553571
112
0.618276
2f19a1115509c954754c9a5a6e0a3f3c2b136845
2,504
/* * Copyright 2020 SvenAugustus * * 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...
37.373134
89
0.702077
03878f69d4ee256ff907ec0c5b046b9814557013
15,486
// Copyright 2003-2005 Arthur van Hoff, Rick Blair // Licensed under Apache License version 2.0 // Original license LGPL package javax.jmdns.impl; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.InetSocketAddress; import java.util.HashMap; import java.util.Map; import javax.jmdns.im...
32.465409
166
0.537195
72d02c9f250bdcda5394a407a3e69b89957b7ace
2,633
/** * Copyright 1996-2014 FoxBPM ORG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
30.264368
75
0.698823
5dbdc098d68cd1fea7834754a4aded91bf8ec956
2,700
package org.codehaus.xfire.annotations; import java.io.Serializable; import org.codehaus.xfire.service.OperationInfo; /** * Represents an common representation of a web method annotation. Specifies that the given method is exposed as a Web * Service operation, making it part of the Web Service�s public contract. A...
27.55102
119
0.637407
119a0bdf8079af6496c89e111668a85fbbcdf41e
2,530
package com.choonster.testmod2.block; import com.choonster.testmod2.TestMod2; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net...
38.923077
177
0.75336
6e720bae852e87e7618ee7600c5b89ae853dcb7f
7,998
/** * */ package com.vijitha.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import com.vijitha.model.Book; import com.vijitha.model.Standards; import com.vijit...
30.643678
227
0.689797
34fbd66e17878006401206542b81cc0c44da3ec2
2,619
/** * Copyright (C) 2013 – 2016 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.org>) * * 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/LICEN...
30.453488
84
0.754105
c1eca344725a2e9097f3e65ead8db49a5cb91548
5,449
package io.github.stefanosbou; import io.vertx.core.DeploymentOptions; import io.vertx.core.Vertx; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import io.vertx.ext.web.client.WebClient; import org.junit.After...
30.61236
115
0.532208
24cbc3919a6ae6ce1b1d60fb049773b5da7d0de4
1,083
package i5.las2peer.services.cdService.data.util.table; import static org.junit.Assert.assertEquals; import java.util.List; import org.junit.Test; public class DataTableTest { @Test public void addTwoDoubleArray() { double[] val1 = new double[]{1.0,2.0,3.0,4.0}; double[] val2 = new double[]{1.2,2.3,4.5,...
31.852941
72
0.702678
7325fe1f359093a5899a62765a9e05a99c8b1f68
1,908
import java.awt.*; import java.awt.event.*; import java.util.ArrayList; public class BankInterface extends Frame implements ActionListener, Runnable { private TextField RefNo_lbl; private Button auth_pay; private Button decline_pay; private Label CardNo_lbl; private Label Total_...
30.774194
78
0.553983
de97b89fdf67db8b7ae8b295e5e89815e0341562
482
package jp.ats.liverwort.support.annotation; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * DTO の setter 情報を表すアノテーションです。 * * @author 千葉 哲嗣 */ @Target({ METHOD }) @R...
15.0625
59
0.682573
80797bfd6a7e8e97892efe0e874c13998e667a04
14,863
/* * Copyright © 2021-present Arcade Data Ltd (info@arcadedata.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 * * Unless requ...
32.594298
153
0.609971
ef02af84fb1f0b2b402073048067e99ff0db9b03
330
package roth.lib.java.json; @SuppressWarnings("serial") public class JsonException extends RuntimeException { public JsonException(String message) { super(message); } public JsonException(Throwable cause) { super(cause); } public JsonException(String message, Throwable cause) { super(message, cause...
14.347826
54
0.730303
e1ab9efc9da650732854481bbf869b1ad0badbd6
293
public class Car { CarType.Model model; public Car(CarType.Model model){ this.model = model; } public CarType.Model getModel(){ return this.model; } public void setModel(CarType.Model model){ this.model = model; } }
16.277778
46
0.549488
01c27df3790202d532d2386db8bafe588dde619b
892
package com.team2052.frckrawler.comparators; import com.team2052.frckrawler.listitems.ListItem; import com.team2052.frckrawler.listitems.elements.CompiledMetricListElement; import java.util.Comparator; public class SimpleValueCompiledComparator implements Comparator<ListItem> { private boolean desc; public ...
34.307692
128
0.746637
094b72433f5fecd17721c3f1935a4cbe666ea5c1
454
package com.javaedge.design.pattern.behavioral.chainofresponsibility; /** * 批准者 * * @author JavaEdge * @date 2019/1/19 */ public abstract class AbstractApprover { protected AbstractApprover abstractApprover; public void setNextApprover(AbstractApprover abstractApprover) { this.abstractApprover =...
18.916667
69
0.682819