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
e6227acd4899e852a7f0be9e37e2d14297b0c3db
11,443
package at.petrak.hexcasting.forge.cap; import at.petrak.hexcasting.api.addldata.Colorizer; import at.petrak.hexcasting.api.addldata.DataHolder; import at.petrak.hexcasting.api.addldata.HexHolder; import at.petrak.hexcasting.api.addldata.ManaHolder; import at.petrak.hexcasting.api.block.circle.BlockEntityAbstractImpet...
37.152597
142
0.641178
d5897b37ff24a6af21a936b418fe26ee9b372b02
171
package filter; /** * Created by mlh on 2017/12/29. */ import java.util.List; public interface Criteria { public List<Person> meetCriteria(List<Person> persons); }
17.1
59
0.707602
90e3fbf679816a7a2b4a44c1c193891d9a74584b
1,114
package behavioral.chain.entity; import java.util.List; import static java.util.Optional.ofNullable; /** * @author <a href="mailto:budaevqwerty@gmail.com">Ivan Budayeu</a> */ public class Robot { private Head head; private Body body; private List<Arm> arms; private List<Leg> legs; public Robot() { } publ...
17.967742
113
0.648115
d0274946d3871b0a701cc673170e0b2ed347af2a
18,326
/* * JBoss, Home of Professional Open Source. * See the COPYRIGHT.txt file distributed with this work for information * regarding copyright ownership. Some portions may be licensed * to Red Hat, Inc. under one or more contributor license agreements. * * This library is free software; you can redistribute it and/...
45.815
139
0.638055
493b04a1fabb0a2de53875b85b41be4019f5ecc5
1,521
package org.onereed.helios.logger; import java.util.function.Supplier; import java.util.logging.ConsoleHandler; import java.util.logging.Level; import java.util.logging.Logger; /** * A Java {@link Logger} based implementation of {@link GeneralLogger}, intended for use only in * tests. */ class JavaLogger implement...
24.934426
96
0.712032
f49a9014eeb02384f2efaa619ac41c92fa65ef44
4,010
/* * (C) Copyright IBM Corp. 2021. * * 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 w...
27.094595
118
0.668828
bc9e8b7d2c1149dc7613e266af010e118de2c0f6
1,553
package ch.epfl.sweng.project.location; import java.util.function.Consumer; /** * This service allows you to get the current location of the user. */ public interface LocationService { /** * Finds the current location of the user and pass it to the given callback function. * * @return the current...
39.820513
126
0.681262
7e151a6e227898b2960fa0ec767546c2f6fd7b2c
435
package com.example.cloudservermock; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; @EnableScheduling @SpringBootApplication public class CloudServerMockApplication { public...
27.1875
70
0.822989
9d386a476ea1334ae4be4ebe20f6fd0d84796453
4,778
package cn.zifangsky.easylimit.cache.impl; import cn.zifangsky.easylimit.cache.Cache; import cn.zifangsky.easylimit.exception.cache.CacheException; import java.io.Serializable; import java.util.Collection; import java.util.Collections; import java.util.Map; import java.util.Set; import java.util.concurrent.Concurrent...
31.025974
114
0.640854
ed718f42af1141432d57fbe407442cd5d78793f2
1,474
package nice.fontaine.overpass.models.response.adapters; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import nice.fontaine.overpass.models.response.geometries.Coordinate; import org.junit.Test; import java.io.IOException; import static org.assertj.core.api.Assertions.assertThat; public cla...
34.27907
90
0.63365
67af65418f77b3264a74725ee804ebca1c3d84be
1,165
package service; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.Transaction; import model.User; import util.HibernateUtil; public class loginService { public boolean authenticateUser(String userId, String password) { User user = getUserByUserId(userId); ...
28.414634
98
0.537339
52e020ee2b923e21a2d703354e46b557f5a42eef
60
package marekpulka.subdb2; public class TestCheckstyle { }
12
29
0.8
9e3b42b171f53da97fcc8728d20aeb5ab4bd5c14
316
package business.dto; public class JornadaLaboralDto { public int id; public java.util.Date fechainicio; public java.util.Date fechafin; public int idempleado; @Override public String toString() { return "Jornada laboral del empleado " + idempleado + " desde " + fechainicio + " hasta " + fechafin; } }
21.066667
103
0.724684
ad5fa39927a269f70a110eff8209f906cf91b723
3,084
package com.matthewhatcher.randomspawn; import java.util.logging.Logger; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.plugin.java.JavaPlugin; import com.matthewhatcher.randomspawn.Commands.CommandRandomSpawn; import com.matthewhatcher.randomspawn.Listeners.FirstJoinListener; imp...
29.653846
144
0.706226
6e2724a1195d9d3af3112d5a84ddb1e3c5044292
2,577
package hr.vub.laptracker; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.IBinder; import android.util.Log; public class GPSLocation extend...
29.62069
153
0.66007
74cb24049ec9029ea01cbd7bb3616c9a9df20a4b
6,032
package com.sip.light.server; import com.sip.light.server.data.DataServer; import com.sip.light.server.data.open.UserData; import gov.nist.javax.sip.clientauthutils.DigestServerAuthenticationHelper; import gov.nist.javax.sip.clientauthutils.DigestServerAuthenticationWWWHelper; import javax.sip.*; import javax...
39.168831
123
0.658654
db957a3a419433f9950a58b72ede935cd0836207
472
package p005cm.aptoide.p006pt.home.apps; import p026rx.p027b.C0129b; /* renamed from: cm.aptoide.pt.home.apps.ed */ /* compiled from: lambda */ public final /* synthetic */ class C3685ed implements C0129b { /* renamed from: a */ public static final /* synthetic */ C3685ed f7088a = new C3685ed(); private...
23.6
71
0.650424
bda6d2c39b7499f2ff4ea50bf6ed0252c86f6ce7
322
package vazkii.quark.world.block.stairs; import vazkii.quark.base.block.BlockQuarkStairs; import vazkii.quark.world.feature.RevampStoneGen; public class BlockLimestoneStairs extends BlockQuarkStairs { public BlockLimestoneStairs() { super("stone_limestone_stairs", RevampStoneGen.limestone.getDefaultState()); } ...
24.769231
78
0.819876
df1c16ae182a39f8fb3697fa52434268cafaf187
1,254
package me.chensir.ggank.ui.adapter; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; impor...
30.585366
106
0.751994
f7e4f16f48e6bf648101d5ee56c7abe6701afbcd
7,515
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
38.937824
220
0.691417
759d4efd7ca356e7591bc2b45671705ad4d7acf3
638
package codeexamples.tcpserver; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; public class Client { public static String makeRequest() throws IOException { String response; try (var socket = new Socket("localh...
29
81
0.713166
a402b0c9fae867ab79ce2f65a9787eb45427bf7e
2,538
package io.bdrc.iiif.metrics; import java.io.IOException; import org.apache.http.HttpResponse; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache....
44.526316
210
0.689125
75f82f4d29ce5a9fbab993cd97c5f752249639ac
6,911
/* * Copyright (C) 2016-2017 NBIChain SunCrowdfund System. * * 本系统软件遵循Apache2.0开源协议. * * ============================================================ * * FileName: ResultHander.java * * Created: [2014-12-26 上午10:48:02] by haolingfeng * * $Id$ * * $Revision$ * * $Author$ * * $Date$ ...
37.972527
103
0.568514
6abecedacb511faeb47e46ad1341a6c441701635
35,868
/* * 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 ...
43.902081
142
0.612886
9e2461a52a8b71ba6479edbe8976d68b25726eaa
30,108
/* * 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")...
41.019074
120
0.680616
e4f25cba081fafc49aaa9fd71e730c039261e347
794
package com.salesianostriana.dam.TrianaTourist.validation.annotations; import com.salesianostriana.dam.TrianaTourist.validation.validators.UniquePhotosValidator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.*; @Target({ElementType.TYPE}) @Retention(RetentionPolicy....
25.612903
90
0.739295
2c29078e9cc8a601129ce9d2399a74a0f41d6ca7
1,410
package com.pragma.serviciocliente.infraestructura.persistencia.mapper; import com.pragma.serviciocliente.dominio.Cliente; import com.pragma.serviciocliente.dominio.Foto; import com.pragma.serviciocliente.infraestructura.persistencia.entidad.ClienteEntidad; import org.mapstruct.Mapper; import org.mapstruct.Mapping; im...
58.75
148
0.760993
4131e10f1e5f0f8138685d6b172dda69fdbfdd22
163,317
/* * Copyright 2013 - 2019 The Original Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
39.429503
224
0.68015
0c6046e375d74cff544e4f6157b2ebcacd39e7ce
4,814
/* * Copyright (C) 2013 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
33.901408
99
0.713128
42c044c456aa724ce37a161038cfedf1db23c770
2,436
package com.slient.tool; import java.util.*; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ConcurrentLinkedDeque; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.LinkedBlockingQueue; /** * @author liutao * Date 2021/8/16 2:44 下午 * Description: * Version: ...
27.066667
102
0.577176
5ccb61e662968b2e23645c166f678895aa5f6a10
1,281
package guru.springframework.controllers; import guru.springframework.exceptions.NotFoundException; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotatio...
33.710526
80
0.743169
b8554cec9881514b4020210beae5cb16e55f1c27
3,614
package com.monte.indoorpositioning.database; /* MIT License Copyright (c) 2017 Montvydas 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 th...
36.877551
107
0.662147
5524715f4b2e123bb40289ec23ef5f5a7bad5d52
1,072
package org.eclipse.paho.client.mqttv3.internal.wire; import java.io.IOException; import java.io.InputStream; public class MultiByteArrayInputStream extends InputStream { private byte[] bytesA; private byte[] bytesB; private int lengthA; private int lengthB; private int offsetA; private int of...
26.146341
96
0.565299
8327dd48efb0a7abd9be1161b9900f7c9b8f937e
10,860
package com.hware.util; import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGImageEncoder; import java.awt.BorderLayout; import java.awt.Button; import java.awt.Color; import java.awt.Dimension; import java.awt.FileDialog; import java.awt.Font; import java.awt.Frame; import java.awt.Graphics;...
33.312883
95
0.568692
b7ec4afcfaedc514b54ca8860baf3727f20be80d
7,991
import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import javax.swing.GroupLayout; import javax.swing.GroupLayout.Alignment; import javax.swing.JLabel; import javax.swing.JOptionPane; import java.awt.Color; ...
36.488584
152
0.719309
bba8dc5f65145fe37bee284c8d20dc21822e301b
774
package org.openapitools.api; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import java.util.Optional; <<<<<<< HEAD @javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen") ======= >>>>>>> ooof @Controller @RequestMappin...
28.666667
128
0.749354
d6ee39db06b3afdadfb73a9df539bf0000dd1bff
995
package com.omnicrola.voxel.data.level; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.UUID; /** * Created by Eric on 1/20/2016. */ public class LevelDefinitionRepository { private List<LevelDefinition> levels; public LevelDefinitionRepository(List<LevelDe...
26.891892
71
0.629146
703b64eeea5be52a825a172d7810ae11a9c366e2
5,352
package com.puppyscanner.scanner; import java.io.IOException; import java.text.NumberFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.solr...
46.137931
385
0.724589
ba3059ffa8e4451f9653a1d8323237feefc36396
1,118
package com.jtricks.jira.reports; import java.util.LinkedHashMap; import java.util.Map; import com.atlassian.configurable.ValuesGenerator; public class CascadingValuesGenerator implements ValuesGenerator<String> { public Map getValues(Map arg0) { Map allValues = new LinkedHashMap(); allValues.put("One1", ne...
24.304348
74
0.717352
7245ade72e47f0cce57245d617e499bc397e09c7
412
package estrrep3; public class EstrRep3 { public static void main(String[] args) throws InterruptedException{ for (int h = 0; h < 1; h++) { for (int m = 0; m < 60; m++) { for (int s = 0; s < 60; s++) { System.out.print(h+":"+m+":"+s + " ")...
27.466667
71
0.381068
c26a1802ecaa54dd8003a0b57c0bbda074770978
6,326
package extract; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.regex.Pattern; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; impo...
27.504348
72
0.676257
848eda350aa6a5f0adc301ea7ac026713aac4610
8,841
/* * Copyright (c) 1997, 2005, 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 ...
46.046875
80
0.537043
ca63f4eff36176b058ce01ab6741244af682aa88
3,356
/* * Copyright (c) 2015-2020, Chen Rui * * 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...
31.364486
142
0.721097
c41754f5ebbf8a589876bd9ee20189bb7d459e49
3,087
package ru.otus.spring.dao; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.jdbc.JdbcTest; import org.springframework.context.annotation.Import; import ru.otus.spring.domain.Genre; import java.util.List; import stati...
36.317647
110
0.676061
cf5675a13b732da68720b33a14d30297976d95e7
5,216
import java.util.*; import java.lang.*; import java.io.*; import java.math.*; class nqueenbfs { static int n; static int column_no[]; public static void main (String[] args) throws java.lang.Exception { // Initialize the value of n n = 4; column_no = new int[n+1]; Tree T = new Tree(null, n...
27.308901
131
0.436158
01dd40f6a6c60fbc37560de342c849065ae56374
1,763
/* * ************************************************************ * 文件:HttpCatDao.java 模块:http-cat 项目:component * 当前修改时间:2019年04月23日 18:23:19 * 上次修改时间:2019年04月13日 08:43:55 * 作者:Cody.yi https://github.com/codyer * * 描述:http-cat * Copyright (c) 2019 * *********************************************************...
28.435484
138
0.673284
3821df772a4912f5a069d7ec57e45c7216c88451
4,474
package com.jantvrdik.intellij.latte.settings; import com.jantvrdik.intellij.latte.config.LatteMacro; import com.jantvrdik.intellij.latte.utils.LattePhpUtil; import com.jantvrdik.intellij.latte.utils.LatteUtil; import org.jetbrains.annotations.Nullable; import java.util.Arrays; public class DefaultSettings { publi...
45.191919
119
0.790791
e2ef93d2ac3a02e0a4c1e0f44c1ea9974a4c543d
1,931
package com.reactnativeaudio; import androidx.annotation.Nullable; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContext; import com.facebook.react.modules.core.DeviceEventManagerModule; import java.util.ArrayList; impor...
34.482143
110
0.692387
ee54f147bddf7910daeadd07308ec451f93acb27
6,654
package ru.glavkniga.gklients.rule.test; import com.google.common.base.Strings; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPClientConfig; import org.apache.commons.net.ftp.FTPReply; import org.junit.After; import org.junit.Before; import org....
33.104478
100
0.665915
ea4cecb89b6e9c92ea48d6c4fd3848d7e2951195
1,356
package estoque.controller; import java.io.IOException; import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import estoque.p...
30.818182
119
0.794248
16ccee51a0ed1586d3ec95b1a6fb132d7d37f15a
3,878
package cn.rdtimes.impl.cache.redis; /** * @description: redis缓存配置信息 * @author: BZ * @create: 2020/2/13 */ public class BRedisCacheConfiguration { //地址、端口和密码一组,每组使用逗号分隔,组内使用冒号分隔 // ip:port:pwd,ip:port:pwd private String ipAndPortAndPwd; //连接池最大连接数 private int maxActive = 10; //连接池中最大空闲的连接数...
25.682119
85
0.689015
b0dea6ccbafc740ff9a4f7eae094a3d7664ddd85
128
package rosetta; public class MDC_OUTPUT_CARD { public static final String VALUE = "MDC_OUTPUT_CARD"; }
14.222222
57
0.648438
52f8c9df15b73a243ffffa308e40781165da5c96
1,077
package de.jwi.curlmgr.process; import java.io.File; import java.util.Arrays; import java.util.Iterator; import de.jwi.curlmgr.process.ProcessManager; public class ProcessManagerTest { public static void main(String[] args) throws Exception { File f = new File("."); ProcessManager pm = new Pro...
23.933333
130
0.645311
103dfb6b676c1bc0e3cd9aae190391e9d8b01210
822
import java.util.*; public class NumberReverse { public static void main(String[] args) { Stack<String> stack = new Stack<String>(); Scanner in = new Scanner(System.in); System.out.println("Enter a sentence to reverse: "); while (in.hasNext()) { String temp = in....
31.615385
93
0.478102
8c2c52671027db62c5faf4ce0b5b11392bb15ea3
5,922
/* * JxmlBanda.java * * Created on 25 de enero de 2007, 9:04 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package impresionXML.impresion.xml; import impresionXML.impresion.estructura.IBanda; import impresionXML.impresion.estructura.IImagen; ...
29.909091
89
0.619385
4dd6dfd93db88aebfd411b156f363f716f0bb5d2
41,225
/** * Copyright (c) 2016-present, RxJava 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/licenses/LICENSE-2.0 * * Unless required by applicable l...
43.258132
188
0.674154
d82a10bda39f8fc0d3d09d69a6d36120156676f0
4,755
package info.noname.moviehub.adapters; import android.content.Context; import android.content.res.Resources; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andro...
38.04
194
0.655941
1486c665a9b1a483ad84baf2cb2b6fa114a54e80
4,140
/** * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, s...
37.636364
123
0.719807
81ebe8d9298d386eda2875a8f83eecf221f6673a
2,942
package com.itelg.docker.cawandu.composer.container; import com.itelg.docker.cawandu.composer.PopupComposer; import com.itelg.docker.cawandu.composer.zk.WireArg; import com.itelg.docker.cawandu.composer.zk.events.LogRefreshEvent; import com.itelg.docker.cawandu.domain.container.Container; import com.itelg.docker...
40.30137
142
0.702583
1fa50eb2f70122964dfc84452056bcce717bf5c4
5,646
package org.jfrog.bamboo.processor; import com.atlassian.bamboo.build.BuildLoggerManager; import com.atlassian.bamboo.build.CustomBuildProcessor; import com.atlassian.bamboo.build.artifact.ArtifactManager; import com.atlassian.bamboo.build.logger.BuildLogger; import com.atlassian.bamboo.plan.PlanResultKey; import com....
42.451128
152
0.686149
96fe43dce98f0ecbb82d97b122edb4ed16e64a72
3,797
package com.aiw.base.controller.api; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springfram...
23.152439
93
0.626021
0c2d3213f2c3205151aa03cb2c8e33a4243334e5
6,571
package sun.bob.mcalendarview; import android.content.Context; import android.graphics.Color; import android.graphics.Paint; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.RectShape; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; impor...
33.52551
118
0.670218
f9670da80cedbfab79a876e3e2b09e43bc09d607
9,026
package smpc_rsa; import javacard.framework.APDU; import javacard.framework.Applet; import javacard.framework.ISO7816; import javacard.framework.ISOException; import javacard.framework.JCSystem; import javacard.security.CryptoException; import javacard.security.KeyBuilder; import javacard.security.KeyPair; import jav...
33.805243
118
0.652005
37806cb66629a095d4d8f6929cbd0e83ed4c0fdf
1,773
package P2018; import java.io.File; import java.io.IOException; import java.util.Scanner; public class Zadanie5 { int[] data; public static void main(String[] args) { Zadanie5 z = new Zadanie5(); z.loadFile(); z.solve1(); z.solve2(); z.solve3(); } private void solve1() { int max = -1; for(int n...
20.147727
64
0.521715
c94325390f73cd89d478ce9eadea3eac5b2d4d74
392
package xyz.core; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Service; @Service public class RedisService { @Autowired RedisTemplate<String,Object> redisTemplate; public void setString(Stri...
23.058824
62
0.762755
c67ebb75e5758a39dcbf81ea2fde1240e84dd681
3,678
package com.vip.saturn.job.console.service.impl; import com.vip.saturn.job.console.exception.SaturnJobConsoleException; import com.vip.saturn.job.console.mybatis.entity.*; import com.vip.saturn.job.console.mybatis.repository.*; import com.vip.saturn.job.console.service.AuthorizationManageService; import org.springfram...
29.190476
96
0.756117
911a011624f0061412255fee35aefd59b474eb7e
251
package de.ust.skill.common.jforeign.internal.fieldDeclarations; /** * Specialized field access for short. * * @author Timm Felden */ public interface KnownShortField<T> { public short get(T ref); public void set(T ref, short value); }
19.307692
64
0.709163
26e0818459cbaaf88d869d524590d2f7e3340b87
4,012
package es.caib.sgtsic.error.bitel; import java.sql.SQLException; import java.util.HashMap; /** * La clase ErrorBaseDatosDelete representa un error producido por un DELETE en base de datos. * $Id: ErrorBaseDatosDelete.java,v 1.3 2007/02/08 13:02:30 fros Exp $ * * @author Miguel Angel Nieto * @au...
41.791667
187
0.67672
4a6363e7642cf12e78abe9457ea23c42ced81d10
377
package ca.neitsch.grubbyjar; public interface Exceptionable<E extends Exception> { void run() throws E; default void runRethrowing() { try { run(); } catch (Exception e) { throw new RuntimeException(e); } } static <E extends Exception> void rethrowing(...
20.944444
70
0.583554
e6b391a8f4d3098429bd2fd517e9efafbe5e29e2
1,367
package ru.org.sevn.rss; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; @XmlAccessorType(XmlAccessType.FIELD) public class RssImage { @XmlElement(required=true) private String url; @XmlElement(required=true) private St...
20.402985
58
0.700805
67371ee0bb4c7f6a0eee030a85d594bd571f0238
1,723
package de.rieckpil.blog; import org.junit.ClassRule; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.util.TestPropertyValues; import org.springframew...
32.509434
108
0.786999
e1d74592e94782f2b7318f5d1f47b968bc97f521
445
package cz.nigol.zpravodaj.producers; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.context.RequestScoped; import javax.enterprise.inject.Produces; import javax.faces.context.FacesContext; import javax.inject.Named; @Named @ApplicationScoped public class FacesContextProducer { @Produ...
23.421053
50
0.793258
bb4615f544e38e3cf4068ef5aa81a29c56ddf520
6,058
/* * Copyright 2007 Penn State University * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to...
27.411765
75
0.608617
80bfe714cf1b25aee9d4423014f0f882b29d241e
633
package com.fsck.k9.helper; import android.content.Context; import android.text.ClipboardManager; /** * Access the system clipboard using the now deprecated {@link ClipboardManager} */ @SuppressWarnings("deprecation") public class ClipboardManagerApi1 extends com.fsck.k9.helper.ClipboardManager { public Clipbo...
27.521739
88
0.733017
e479d4f8cea139f7e5204d33b5fd7c121fda0775
11,335
/* * The MIT License * * Copyright 2021 000ssg. * * 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, ...
33.735119
158
0.488134
d3e41077781cd4ce700451bd56c37f4f4d71d74e
812
package com.notably.view.blockcontent; import static com.notably.commons.util.CollectionUtil.requireAllNonNull; import com.notably.logic.Logic; import com.notably.model.Model; import javafx.scene.layout.VBox; /** * View of the currently open block's content. */ public class BlockContent { private final Block...
29
85
0.779557
19fe81a6549f8e838b085beec12d380e8e8f03d1
1,251
package jndc_server.core.filter; import io.netty.channel.ChannelHandlerContext; import jndc.core.UniqueBeanManage; import jndc.utils.LogPrint; import jndc_server.core.IpChecker; import java.net.InetAddress; import java.net.InetSocketAddress; import java.util.Arrays; public class IpAddressRule implements CustomRule ...
27.8
92
0.650679
5e51098ea9b199913a17123b0b9e20b53fcf70ff
5,842
/* * Copyright 2016 Black Duck Software, 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 ...
39.208054
106
0.611092
d8f5167f5417b9d557e27c21b10c0e1164222941
2,127
/** * Copyright (c) Orange. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.orange.lo.sample.kerlink2lo; import com.orange.lo.sample.kerlink2lo.lo.LoProperties; import java.util.UUID; import org.ecl...
36.050847
110
0.729666
38426ea46aa2265cf7e103f3a5005c52fb83080c
2,176
/* * Copyright (C) 2019 Knot.x 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 applicable law or agr...
28.25974
99
0.730699
e827f8e370cb284d043682b668a29b94e64bec93
2,157
package com.oregonscientific.meep.communicator; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import com.oregonscientific.meep.database.Model; /** * The UserFriend object that rep...
23.193548
92
0.730181
ec76ab8b7bef2634e50ce207170efc05c35440b0
551
module voogasalad.crackingopen { requires java.sql; requires javafx.base; requires javafx.controls; requires javafx.graphics; requires javafx.media; requires javafx.web; requires javafx.fxml; requires org.json; requires gson; requires org.codehaus.groovy; requires java.deskt...
22.958333
58
0.720508
a61de0f01b054891624b6afe81d493943873ec0d
86
/** * Hazelcast configuration. */ package github.orius123.orchapp.config.hazelcast;
17.2
49
0.755814
2148aa8a5e6b1826a9b4d7f13c73d79f0041d304
772
package org.hongxi.whatsmars.cloud.consumer.controller; import org.hongxi.whatsmars.cloud.consumer.feign.DemoFeign; import org.hongxi.whatsmars.cloud.consumer.rpc.DemoRpc; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springfram...
24.903226
62
0.743523
b14bf045218051a2f496db244f8da813864698f0
11,642
package commun; import static commun.Couleur.*; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.lang.Math; /** * @authors Yannick Cardini, Benoît Montorsi, Rémi Felin, Pierre Saunders, Thomas Gauci */ public class Joueur { private int id = -1, piece = 5, jetonsDefaite =...
31.983516
113
0.483336
12f94937d01e5cd48167424e74a0ce517737c588
526
package io.github.oxayotl.meikik.spring; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.thymeleaf.dialect.IDialect; import io.github.oxayotl.meikik.dialect.TextDialect; @Configurati...
25.047619
60
0.809886
22761d6638c20c6acc4ae5a3a257d617c6452509
8,810
package at.bitfire.gfxtablet; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android...
35.813008
189
0.674574
79c46d774f7aa987373d91e90e178b32f70fa162
643
package org.samo_lego.taterzens.compatibility.forge; import net.minecraft.commands.CommandSourceStack; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.registries.RegistryManager; public class LoaderSpecificImpl { private static final ResourceLocation ITEM_ID = new ResourceLocation("ite...
33.842105
124
0.791602
861cc1636d69ab3d7f64b352b0eb924457b9cfec
336
package ai.verta.modeldb.experimentRun.subtypes; import ai.verta.modeldb.common.futures.FutureJdbi; import java.util.concurrent.Executor; public class DatasetHandler extends ArtifactHandlerBase { public DatasetHandler(Executor executor, FutureJdbi jdbi, String entityName) { super(executor, jdbi, "datasets", ent...
30.545455
80
0.800595
f7c3c42db2ed182faa0ee8885cf51c8dfc87c85a
449
package com.orientechnologies.orient.core.storage.impl.local.paginated.wal; /** * @author Andrey Lomakin (a.lomakin-at-orientdb.com) <a href="mailto:lomakin.andrey@gmail.com">Andrey Lomakin</a> * @since 31/12/14 */ public abstract class OOperationUnitBodyRecord extends OOperationUnitRecord { protected OOperationU...
32.071429
114
0.777283
60d36f2b7255e81ab4b1e8c7a4e3ac6cefd4db97
5,639
/* * Copyright (C) 2016-2017 NBIChain SunCrowdfund System. * * 本系统软件遵循Apache2.0开源协议. * * ============================================================ * * FileName: FbdCoreConstants.java * * Created: [2014-12-22 上午11:26:48] by haolingfeng * * $Id$ * * $Revision$ * * $Author$ * * $Dat...
28.054726
71
0.529527
c0a23dbed9cfbbdfa671b6320197186c70313d94
1,059
// // Decompiled by Procyon v0.5.30 // package com.bdoemu.core.network.receivable; import com.bdoemu.commons.network.ReceivablePacket; import com.bdoemu.core.network.GameClient; import com.bdoemu.core.network.sendable.SMListAlchemyRecord; import com.bdoemu.gameserver.model.alchemy.AlchemyRecord; import com.bdoemu.g...
29.416667
120
0.69594
ad68117a5a692a4784b52cfa602692e7608fcc17
2,924
/* * 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 ...
29.836735
101
0.666895
e0856366d0218cb006ac549c17b5159511d28312
3,394
/* * Time.java * Copyright 2008, 2009, 2010, 2011, 2012, 2013 Fiji Systems Inc. * This file is part of the FIJI VM Software licensed under the FIJI PUBLIC * LICENSE Version 3 or any later version. A copy of the FIJI PUBLIC LICENSE is * available at fivm/LEGAL and can also be found at * http://www.fiji-systems.co...
35.726316
80
0.694166
509e94004a7adeb7065837dc9ef212fb7a6a64ec
8,350
package me.hugeblank.allium.loader; import com.google.gson.Gson; import me.hugeblank.allium.Allium; import me.hugeblank.allium.lua.event.Event; import me.hugeblank.allium.util.FileHelper; import net.fabricmc.loader.api.ModContainer; import net.fabricmc.loader.api.metadata.CustomValue; import net.fabricmc.loader.api.me...
40.338164
120
0.588144
75e5ff94a37576089bf8240d843fec50257fdf03
2,216
/* * Copyright 2016-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
24.622222
75
0.6787
6e92aa65b669c822c0750a7a1d2016e0ef806fdc
1,118
package com.twitter.meil_mitu.twitter4holo.api.directmessages; import com.twitter.meil_mitu.twitter4holo.AbsGet; import com.twitter.meil_mitu.twitter4holo.AbsOauth; import com.twitter.meil_mitu.twitter4holo.ITwitterJsonConverter; import com.twitter.meil_mitu.twitter4holo.OauthType; import com.twitter.meil_mitu.twitter...
29.421053
75
0.746869
7ab98217e79f07301dd7ad1db566977ed5423012
309
package com.tecacet.jquotes; import java.math.BigDecimal; import java.time.LocalDate; public interface Quote { LocalDate getDate(); BigDecimal getOpen(); BigDecimal getClose(); BigDecimal getHigh(); BigDecimal getLow(); BigDecimal getAdjustedClose(); Long getVolume(); }
13.434783
34
0.692557
07bcd4f2a1a103b9af1bd5918a923d0656259270
962
package org.gpc4j.ftp.server; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.nio.file.Path; import java.nio.file.Paths; import java.util.logging.Logger; /** * * @author Lyle T Harris */ public class Main { private static final Logger LOG = Logger.getLogger(Main....
21.863636
77
0.60395
7ac955262015a64c97a7dc0ab778797da6b9b1c7
913
package com.vegaasen.http.rest.utils; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * @author <a href="vegaasen@gmail.com">vegardaasen</a> */ public final class StringUtilsTest { @Test public void isBlank_nullString_false() { asse...
20.75
55
0.664841