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
57a858f66348533ddd1dd573756c730c0999869a
1,716
package com.service.room.booking.service; import com.service.room.booking.entity.BookingCalendar; import com.service.room.booking.entity.Room; import com.service.room.booking.entity.RoomType; import com.service.room.booking.repository.RoomRepo; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import...
30.642857
71
0.722611
a1d2b2b9234a2dad91629a2cf85c1a34afa969c3
33,809
/* * Copyright (c) 2011-2019, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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...
36.120726
117
0.69307
8a7384cd7c07468817e7573cc9df28d495799a8c
95
package com.fasterxml.mama; public enum NodeState { Fresh, Started, Draining, Shutdown; }
13.571429
39
0.736842
c2377ebb1f7fea08a70d0812870416906b474ec8
590
package de.peeeq.wurstscript.attributes; import com.google.common.base.Preconditions; import de.peeeq.wurstscript.ast.Annotation; import de.peeeq.wurstscript.ast.Modifier; import de.peeeq.wurstscript.ast.NameDef; public class HasAnnotation { public static boolean hasAnnotation(NameDef e, String annotation) { Pre...
23.6
68
0.732203
2e58f99772562496638e3df34cdb72389d8e92e9
1,188
package org.eclipse.dataspaceconnector.spi.persistence; import org.jetbrains.annotations.NotNull; import java.util.List; /** * Define a store that can be used within a state machine */ public interface StateEntityStore<T> { /** * Returns a list of entities that are in a specific state. * <br/> ...
33
162
0.628788
3eec7da6c51cdbf32eb136ca89830a3c8abf715e
16,177
package com.project.convertedCode.globalNamespace.namespaces.SebastianBergmann.namespaces.CodeCoverage.namespaces.Node.classes; import com.runtimeconverter.runtime.references.ReferenceContainer; import com.runtimeconverter.runtime.nativeFunctions.string.function_str_replace; import com.runtimeconverter.runtime.passByR...
45.569014
136
0.554367
233f61c76b5c0729e5cc0f4ef6f087f709f41f9c
2,248
package com.epam.ccproject.web.controller; import static org.junit.Assert.*; import static org.springframework.test.web.servlet.setup.MockMvcBuilders.*; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers....
35.68254
110
0.799377
a54aecb77cd57198e3b1915df15d747ac571a9fd
921
package cyan.toolkit.rest.error.supply; import cyan.toolkit.rest.RestError; import cyan.toolkit.rest.RestErrorException; import cyan.toolkit.rest.RestErrorStatus; /** * <p>ForbiddenException</p> * @author Cyan (snow22314@outlook.com) * @version V.0.0.1 * @group cyan.tool.kit * @date 9:28 2019/12/20 */ public cl...
28.78125
117
0.730727
7d9370183cd4fc67d14b7e83117d35889f7090ab
998
package frc.team832.robot.commands; import edu.wpi.first.wpilibj2.command.InstantCommand; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import edu.wpi.first.wpilibj2.command.WaitCommand; import frc.team832.robot.subsystems.ConveyerSubsystem; import frc.team832.robot.subsystems.ShooterSubsystem; import ...
45.363636
98
0.752505
380bd3ba427029c1a339ace652a6a4942cf1f086
12,859
package ru.ps.vlcatv.remote.data; import android.view.KeyEvent; import androidx.annotation.ColorRes; import androidx.databinding.BaseObservable; import androidx.databinding.Observable; import androidx.databinding.ObservableArrayList; import androidx.databinding.ObservableBoolean; import androidx.databinding.Observable...
42.863333
133
0.635819
67ee0c95cfb3249ee5cc3126847f3f8020078dd9
910
package org.osmdroid.samplefragments.layouts.rec; /** * created on 1/13/2017. * * @author Alex O'Ree */ /** * This class content Data * <p> * TypeLayout: type of layout to generate in recyclerview */ public class Info { public String TypeLayout; public String Title; public String Content; ...
17.169811
66
0.614286
2fe4bc09398baf7b02e72385b7ffcddedad914cc
556
import java.util.Scanner; public class TimeConversion { public static void main(String[] args) { // TODO Auto-generated method stub Scanner in=new Scanner(System.in); int SecInNum=in.nextInt(); int hour=SecInNum/(60*60); int remain=SecInNum-(hour*(3600)); int min=remain/60; remain=remain-(min*60); prin...
22.24
54
0.67446
cb140b83932fe309dae8200116a4aa41a3933ace
713
package cello.jtablet.installer.ui; import java.io.File; import java.net.URL; public abstract class Download { private final URL source; private final File destination; public Download(URL source, File destination) { this.source = source; this.destination = destination; } public abstract boolean hasStar...
17.825
53
0.72791
9d1f34e21d675276cf18a00e319835df3de05f2b
166
package com.transwrap.transwrap.utils; public interface SystemUtil { boolean ISWINDOWS = System.getProperties().toString().toLowerCase().contains("windows"); }
23.714286
92
0.76506
7139a2be1d07a50a94de14b524cc383fa0c2f84e
1,780
package tree; public class CollatzTree { // prints tree diagram for tree representation of "reverse" Collatz sequences public static void main(String[] args) { TreeNode root; root = collatzTree(15); // Collatz Conjecture: for every positive integer X, there is some N such that X appea...
43.414634
124
0.626966
5d14c0c92d66fc164db77438b86b54691c230c0c
2,783
package com.example.dealball.main.course; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.example.dealball.main.course.friends.FriendsFragment; import com.example.dealball.main.course.girl.GirlFragment; import com.ex...
31.269663
77
0.652533
f76cec202421d50166f090144988fac81c3eeb9d
18,790
package org.basex.data.atomic; import java.util.*; import org.basex.data.*; import org.basex.util.*; import org.basex.util.hash.*; /** * A container/list for atomic updates. Updates are then carried out in the same order * that they have been added. No reordering takes place. The user is responsible to add * them...
35.187266
90
0.664822
264441312cf2920e1f7c1abcc82496c141443ed1
878
package io.agora.propeller; import android.view.SurfaceView; public class VideoStatusData { public static final int DEFAULT_STATUS = 0; public static final int VIDEO_MUTED = 1; public static final int AUDIO_MUTED = VIDEO_MUTED << 1; public static final int DEFAULT_VOLUME = 0; public VideoStatusD...
23.72973
79
0.583144
0b9b7f2e1e8154078bb7282b63da2d3cb188c83d
5,694
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill.keyboard_accessory; import android.content.Context; import android.graphics.drawable.Drawable; import androi...
43.8
110
0.727081
018f9eecc4be7c6221e6f556e8cc3594f72d1375
1,590
package com.javaweb.context; import java.util.Map; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; //new ClassPathXmlApplicationContext(xmlFilePath).getBean(beanName) public class ApplicationContextHel...
35.333333
103
0.755346
66aae6faf1ad15d0ac3bf25e7f611474ad788bef
1,880
/* * Copyright 2020 Alibaba Group Holding 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 required by applicable la...
30.819672
75
0.668085
15fdde96ca84290f2463b2b0dfa7d43f49cc919a
5,852
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.uniandes.csw.incidencias.resources; import co.edu.uniandes.csw.incidencias.dtos.IncidenciaDTO; import co.edu.un...
35.253012
152
0.665584
b87222496f5b3a0ddccb64f5b0ca64f7fc84aaf5
375
package faced.extend.server; /** * B模块. * * @author Zhang.Ge * @version v1.0 2017年3月26日 下午2:25:07 */ public class BModule { public void api1() { System.out.println("B模块接口1"); } public void api2() { System.out.println("B模块接口2"); } public void api3...
16.304348
39
0.514667
8e2428cb6cef121c7c7c0cc62ca150f3eefa0e8e
3,977
package iotserver; import java.io.*; import java.net.*; import java.util.Iterator; import java.util.logging.Level; import java.util.logging.Logger; import org.json.simple.*; import org.json.simple.parser.*; public class ConnectionHandler extends Thread { final DataInputStream dis; final DataOutputStream dos;...
41.427083
112
0.508926
9f7687ad39355122043492404aadf394409f9fa4
2,093
package org.squiddev.plethora.core.builder; import com.google.common.base.Strings; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Type; import org.squiddev.plethora.api.method.IMethodBuilder; import org.squiddev.plethora.api.method.IUnbakedContext; import org.squ...
34.883333
189
0.784042
177cfe92a020b66e2cec9b9ed7ecc01576ad0208
988
package com.mycompany.myapp.service.dto; import com.mycompany.myapp.web.rest.EmployeeResourceIT; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; import com.mycompany.myapp.web.rest.TestUtil; public class EmployeeDTOTest { @Test public void dtoEqualsVerifier() thro...
39.52
70
0.758097
52a98ec76559d6781b8a1e497a8bfdad52f5bedb
1,609
package com.example.notas.util; import com.example.notas.model.Notas; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; public class FileManager { public String readFile(String path, String fileName) ...
28.732143
79
0.558732
1bdf740e3bd07a798aa2728ed5f6d7b569bcd1fe
1,958
package iotraceanalyze.model.analysis.file; public class FileIdRegular implements FileComparable<FileIdRegular> { private String hostName; private long deviceId; private long fileId; public FileIdRegular(String hostName, long deviceId, long fileId) { super(); this.hostName = hostName; this.deviceI...
22
76
0.613892
9be89883ea014ebe948f3a0c812a3bac9300335a
1,457
package com.emeraldcube.ais.objects; public class GridRowMobile extends GridRow { // Field level representation of the row at this level for ADF use only, not part of JSON. private String id; private String value; private String title; private String datatype; private Object internalValue; ...
19.426667
94
0.619767
95094e86cf2da23199844803178ec0c927188b7e
1,545
/* Faça um algoritmo que mostre os números que são divisíveis de um número digitado pelo usuário. Além desse número, o usuário deve indicar também o número inicial e final da busca. Exemplo: Número divisíveis: 9 De 30 até 238 */ package semana1; import java.util.Scanner; public class Pratica03 { public static v...
36.785714
120
0.522977
3b54a2121e4961d5bc3e3c5b99df49582e3bb6ce
4,824
package com.noseparte.battle.utils; import LockstepProto.Frame; import LockstepProto.NetMessage; import LockstepProto.S2CLockStep; import com.google.protobuf.ByteString; import com.noseparte.battle.BattleServerConfig; import com.noseparte.battle.battle.BattleRoom; import com.noseparte.battle.battle.BattleRoomMgr; impo...
39.219512
123
0.628731
23972f8072977cc5a25ebb4971850afb2153972d
1,131
package org.apache.shiro.grails.annotations; import java.lang.annotation.Annotation; import org.apache.shiro.authz.AuthorizationException; import org.apache.shiro.authz.aop.AuthorizingAnnotationHandler; /** * Ties a Shiro @Requires* annotation instance to a Shiro annotation handler. * This is because Shiro's annota...
36.483871
91
0.756852
07b8fbbe2618e3efe8224b5487415788beb20adf
492
package com.cai.work.ui; import android.content.Context; /** * Created by clarence on 2018/4/17. */ public class Help { private Context context; private static class Holder { public static Help help = new Help(); } private Help() { } public static Help install() { return...
15.375
45
0.603659
de20beb05c993ddba0002aec308e36e729c5fae0
702
package fizz; import java.util.stream.Collectors; import java.util.stream.IntStream; public class FizzBuzz { public String fizz(IntStream range) { return range.mapToObj(i -> intToFizzBuzzed(i)). collect(Collectors.joining(", ")); } private String intToFizzBuzzed(int x) { ...
24.206897
55
0.501425
2b427da500efaf74fa96700c74fce45a5fd904e9
2,325
package com.pwc.core.framework.processors.web.elements; import com.pwc.core.framework.data.WebElementAttribute; import com.pwc.core.framework.data.WebElementType; import com.pwc.core.framework.service.WebElementBaseTest; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.R...
35.769231
94
0.742796
ee7aa68c69c2fd8b950a172832f978ac45db3aeb
5,543
package org.ovirt.engine.core.bll; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static org.mockito.Mockito.when; import static org.ovirt.engine.core.bll.CommandAssertUtils.checkSucceeded; import static org.ovirt.engine.core.utils.MockConfigRule.mockConfig; import java.util...
37.201342
128
0.715136
caf3206a0f6059bd2d55b16a05b81872f580fcc6
511
/* * Copyright (C) 2016 the original author or authors. * * This file is part of jGrades Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package com.project; import org.j...
26.894737
89
0.735812
c3781763d9c8d809fc8441f578c13e8d297c18e4
1,735
package com.github.harbby.ashtarte.api; import com.github.harbby.gadtry.base.Iterators; import com.github.harbby.gadtry.base.Serializables; import com.github.harbby.gadtry.collection.tuple.Tuple2; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.util.ArrayList; import j...
41.309524
105
0.544092
aa539194a793496729e6cd9d1aae99083b6bd84d
2,004
/*-- * Copyright 2010 René M. de Bloois * * 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 ...
22.516854
98
0.658683
d901cf3eefc7bc074ddf70143d3e1be15cfe5207
927
package org.atpfivt.jsyntrax.units.tracks.loop; import org.atpfivt.jsyntrax.exceptions.LoopNotTwoArgsException; import org.atpfivt.jsyntrax.units.Unit; import org.atpfivt.jsyntrax.units.tracks.ComplexTrack; import org.atpfivt.jsyntrax.units.tracks.Track; import org.atpfivt.jsyntrax.visitors.Visitor; import java.util....
23.175
64
0.720604
99e4d2a6d70d5b50e3d0ed5c49868b7e7778f17b
171
package pokecube.core.database.abilities.n; import pokecube.core.database.abilities.Ability; public class NeutralizingGas extends Ability { // TODO Implement this. }
19
48
0.795322
3968a6a6f0603825226c36d727d895d78282392e
848
package model.executable; import java.util.List; import exception.SyntacticErrorException; import model.Executable; import model.LogHolder; import model.TurtleLog; /** * @author billyu * command type that operates on each turtle * loops over each active turtle log to execute */ public abstract class TurtleComman...
21.2
78
0.764151
47736d8d8767d8f71e4e9784711ba743c3cf694f
6,292
/* * 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 ...
34.571429
207
0.660521
6a9013ee9326a3019c5e68498ff57fa2367b58d7
3,623
package io.thill.jacoio.slf4j; import io.thill.jacoio.ConcurrentFile; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import java.io.File; import java.text.SimpleDateFormat; import static io.thill.jacoio.slf4j.JacoioLogger.*; public class JacoioLoggerFactory implements ILoggerFactory { private static f...
45.860759
141
0.701904
bf705d61ed2a064111e6d9fafadb1da84560da7b
1,736
/* * package-info.java * * This source file is part of the FoundationDB open source project * * Copyright 2015-2018 Apple Inc. and the FoundationDB project 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 ob...
48.222222
225
0.758641
bcbfdf1f4cfe72270f72d913ef7b32fa6856cd77
9,704
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.visualization.coauthorship; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; impo...
38.054902
98
0.732894
f96ecf4eb49489671fe7cca56d57f9ae402ef448
2,893
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
29.520408
115
0.768406
fce727a4905d1ad75dc71b49a6558fb3f5a1fe59
6,810
/** * Copyright 2013 David Karnok * * 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...
31.82243
81
0.473421
a3c9f02b75ddaf09d07b46651ade855783f8053c
957
package com.fasterxml.jackson.dataformat.ron.parser; import com.fasterxml.jackson.dataformat.ron.InfTest; import com.fasterxml.jackson.dataformat.ron.RONFactory; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import static org.junit.Assert.assertEquals; public class InfParserTest ex...
29
87
0.704284
d75094823b6be8882b6070aacf29251c46e92c87
1,763
/* * Copyright © 2019 Cask Data, 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 agreed t...
35.26
97
0.779921
1afc3ebe9c416580db73263bcb8443ad245337be
1,182
package com.blinkfox.fenix.jpa; import javax.persistence.EntityManager; import org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean; import org.springframework.data.repository.Repository; import org.springframework.data.repository.core.support.RepositoryFactorySupport; /** * 用来构造 {@link FenixJpaR...
30.307692
93
0.735195
7ae732b83126d8117b12ed4131c0cd397c662a8d
1,061
package org.javamaster.b2c.https; import org.apache.catalina.connector.Connector; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory; import org.springframework.context.annotation.Bean; import org.springframework.cont...
30.314286
99
0.763431
85b6a19b27802e596013618e598181cb86ab9de9
2,983
package mt.edu.um.cf2.jgribx; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.comm...
30.438776
87
0.534361
751dfe8dda58f85fe24f3636be15fa8d4c54bc45
3,727
package be.wegenenverkeer.atomium.server.spring; /** * Utility klasse om de SQL query op te bouwen om een een sync uit te voeren om het volgnummer in de atomium feed in the vullen voor een feed. */ public final class PostgreSqlSyncQueryProvider { private PostgreSqlSyncQueryProvider() { throw new Unsuppo...
52.492958
142
0.576603
a2c853a7cdcdd2daf53285d49b3457aaa940cc03
12,845
package integration.tests; import com.github.springtestdbunit.DbUnitTestExecutionListener; import com.github.springtestdbunit.annotation.*; import com.github.springtestdbunit.assertion.DatabaseAssertionMode; import fr.mypr.MyPrApplication; import fr.mypr.ihm.controller.RegistrationForm; import integration.*; import or...
51.38
136
0.733904
3298a5cf6e8641be4b8af521952ec6fc509f4b23
769
/** * Lesson 003. * <dl> * <dt>課題4(Lesson 003-04)</dt> * <dd>配列内の一番大きい値を返す。</dd> * </dl> * * @author tomo-sato */ public class Lesson_003_04 { public static void main(String[] args) { int[] iarr = {32,1,2,1,32,654,113,21,32,212}; int ans = max(iarr); System.out.println(ans); } /** * 2つの数値を比較し大きいほ...
14.509434
50
0.548765
e2856f28be151b35e889231f98fbc2c3d60dd2a7
12,226
package game_tact; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; public class dbFunctions { public static int id; public static int sId; public static String gURL;...
32.429708
116
0.53239
eae070139958f6c769c083cdfb4f48b2a07b342a
1,690
package ar.com.javacuriosities.jsf.filters; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.annotation.WebFilter; import javax.servlet.http.HttpServletRequest; import javax....
32.5
103
0.685207
f803d4f5eee2c766eee6c2798c16e6f317070eb3
4,574
package egovframework.let.uss.olp.qtm.service; import java.io.Serializable; import org.apache.commons.lang3.builder.ToStringBuilder; /** * 설문템플릿 VO Class 구현 * @author 공통서비스 장동한 * @since 2009.03.20 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수정일 수정자 ...
20.790909
74
0.644294
2fca845c4ccda900fd4a8f8154ff7c72063a87a9
611
/** * Description: provide the information for obtaining a best reference value for 1-move * * @ Author Create/Modi Note * Xiaofeng Xie Aug 10, 2006 * Xiaofeng Xie Jun 02, 2008 * Xiaofeng Xie Aug 21, 2008 MAOS M01.00.00 * * @version M01.00.00 * @since M01.00.00 */ package ...
25.458333
88
0.690671
43fd353c4c85bebae646c10c842a5ca9261f5e58
3,690
/* * Copyright 2016 Davide Maestroni * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
26.73913
96
0.704336
9cbafd3fe9e8ed9c6752c51b94aeb2a9bc568613
333
package com.linktera.linkteraquiz.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.repository.NoRepositoryBean; import java.io.Serializable; @NoRepositoryBean public interface GenericRepository<T> extends JpaRepository<T,Long> { T merge(T entity...
20.8125
70
0.777778
9c91e0d35f87fb2a4979fdc2de52194bad207b4e
8,825
/* * Copyright @ 2015 Atlassian Pty Ltd * * 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...
30.431034
80
0.627989
882cf0490c25b67fb521b93638c73ce53e58bf85
2,706
// // This file is auto-generated. Please don't modify it! // package org.opencv.features2d; import org.opencv.core.Mat; import org.opencv.core.MatOfFloat; import org.opencv.core.MatOfInt; // C++: class BRISK //javadoc: BRISK public class BRISK extends Feature2D { protected BRISK(long addr) { super(addr...
31.835294
167
0.698448
0bae85b90a5066a20f32ab811e66ecf00ddeaacd
162
package de.embl.cba.mobie.transform; public abstract class AbstractSourceTransformer implements SourceTransformer { // Serialisation protected String name; }
18
76
0.820988
f6ff1844871db08f87cd931be67756078d6b1328
489
package integration.connection; import com.myproject.test.queries.jooq.util.Config; import com.myproject.test.queries.jooq.util.ConnectionDb; import org.junit.Assert; import org.junit.Test; import java.sql.Connection; import java.sql.SQLException; public class ConnectionDbTest { @Test public void checkConn...
19.56
73
0.754601
79a559dc20bffbde0fed019edec9136caced0247
8,324
package cord.common; import java.util.Arrays; import java.util.List; import cord.roles.*; public class AllRoles { public Administrator Administrator; public Consultant Consultant; public ConsultantManager ConsultantManager; public Controller Controller; public FieldOperationsDirector FieldOperationsDirecto...
43.810526
124
0.636953
891752bdb8eedc9686cf7f2a4d31ac95f53da1a8
5,318
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
31.099415
106
0.716435
712576f304d9552ff3b0ef949f93f28d2c9e6a1f
35,812
/* * Copyright (C) 2011 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 app...
44.0492
100
0.645091
53c9ec71585adf4c75c10de78e4b2af8c3824b2f
102
package com.charlyghislain.authenticator.api.domain; public enum WsHealthStatus { UP, DOWN }
14.571429
52
0.745098
7bda6810e40d2882b59447413c1245d9d2682d5b
1,487
package com.zapstitch.analyzer.base; /** * @author Neeraj Nayal * neeraj.nayal.2008@gmail.com */ public class Constants { public static final String SESSION_APPUSER = "appUser"; public static final String SESSION_REPORT = "myReport"; public static final String CALLBACK_URI = "http://localhost:8080/dashboard"...
24.377049
94
0.747814
018f1ae43c53757d3171badfd33c3d94d5e11bf6
1,051
package com.aravind.tot.service; import com.aravind.tot.domain.Kingdom; import com.aravind.tot.domain.Message; import com.aravind.tot.domain.World; import java.util.List; import java.util.stream.Collectors; public class MessageTransformer { public static List<Message> transform(List<String> rawMessages, Kingdom fr...
29.194444
98
0.65176
de99088c2783951fd9f4cf955da088b0db4359b8
3,038
package com.marklogic.hub.dataservices.ingestion; import com.fasterxml.jackson.databind.JsonNode; import com.marklogic.client.DatabaseClient; import com.marklogic.client.dataservices.InputEndpoint; import com.marklogic.client.document.JSONDocumentManager; import com.marklogic.client.io.JacksonHandle; import com.marklo...
38.948718
155
0.675115
0de4014b533a845bae9a644886e2e3cbf90c8eb1
195
package melody.intermediates; public interface CanonMelody17 { melody.intermediates.CanonMelody18 b(); melody.intermediates.CanonMelody18 d(); melody.intermediates.CanonMelody18 g(); }
17.727273
41
0.784615
d33e7ab1368ecddd7c7cd80ee066ea50a0ecabd6
4,271
package com.api.controller; import java.io.IOException; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.util.String...
35.297521
114
0.760712
ff64312fd8aac1d8aeb94cec90fb2bbd1d56c415
1,214
package org.helpboi.api.application.command.organisation; import java.util.List; import java.util.Objects; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import org.helpboi.api.application.Command; import org.helpboi.api.domain.model.user.User; public class GetAllOrganisationU...
24.28
67
0.647446
e0e2644eec2aa633bee2b2490a9325fa27aa80ec
12,817
package com.github.vfyjxf.jeiutilities.jei.bookmark; import com.github.vfyjxf.jeiutilities.JEIUtilities; import com.github.vfyjxf.jeiutilities.config.JeiUtilitiesConfig; import com.github.vfyjxf.jeiutilities.helper.IngredientHelper; import com.github.vfyjxf.jeiutilities.helper.RecipeHelper; import com.github.vfyjxf.je...
44.814685
197
0.644925
0e140aeea70109defa498017a471841928d19bfe
1,774
package org.aksw.commons.graph.index.jena; import java.util.Comparator; import java.util.function.Function; import org.aksw.combinatorics.solvers.ProblemNeighborhoodAware; import org.aksw.commons.graph.index.core.IsoMatcher; import org.aksw.commons.graph.index.jgrapht.ProblemNodeMappingGraph; import org.jgrapht.Graph...
36.204082
131
0.726043
d4ff92ff6bb5237c3cebb95cd8dd36d7d873e5ed
740
package com.qthegamep.pattern.project2.exception.mapper; import javax.inject.Inject; import javax.validation.ConstraintViolationException; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class ValidationExceptionMapper implements ExceptionMap...
30.833333
97
0.810811
5689e8a8e0d192f458d7f2e93189e0aa4b506efb
629
package backend.util; import backend.unit.properties.InteractionModifier; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; /** * @author Created by th174 on 4/28/2017. */ public interface HasPassiveModifiers extends VoogaEntity { List<? extend...
28.590909
126
0.793323
4c760110615417e2072afe6563bead7d1d305d38
1,507
import com.squareup.okhttp.OkHttpClient; import com.squareup.okhttp.Request; import com.squareup.okhttp.Response; import rx.Observable; import rx.Subscriber; import rx.schedulers.Schedulers; import java.io.IOException; import java.time.Duration; import java.time.Instant; import java.util.List; import java.util.concurr...
33.488889
105
0.560053
36fc927c4bdc7b8d53a7624249e2f25100534f4a
3,992
package com.premar.muvi.fragments.person_detail_fragments; import android.content.Context; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import androidx.annotation.RequiresApi; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.GridLayoutManager;...
32.991736
103
0.660571
6a71d312716e8c5a649295befbded55bd5a26c3e
2,523
package gg.projecteden.nexus.features.resourcepack.decoration.types; import gg.projecteden.nexus.features.resourcepack.decoration.common.Decoration; import gg.projecteden.nexus.features.resourcepack.decoration.common.DisabledPlacement; import gg.projecteden.nexus.features.resourcepack.decoration.common.DisabledRotatio...
38.815385
87
0.754657
17f4ebae81edab0df155016f8e7a41f10cfad005
993
package hrms.HrmsProject.entities.concretes; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence...
23.642857
52
0.803625
77bec5189e750d62a33db4e65a19101d99469b78
847
package com.example.finalapp.dibbitz.model; /** * Created by KJ on 12/8/15. */ import com.example.finalapp.dibbitz.model.Dibbit; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseObject; import com.parse.ParseUser; import android.app.Application; public class ParseApplication extends Appli...
24.2
119
0.72137
8340ce3f13554d08f65bd69198baedd6a97c9094
3,075
package io.github.pureza.warbots.resources; import java.util.NoSuchElementException; import java.util.Properties; /** * Utility class to read .properties files. */ public class PropertiesReader { /** The properties */ private Properties properties; /** * Creates a new reader for the given proper...
28.472222
106
0.618537
ae68e1333e81b079c741ce6d7d9c27dea5d21884
481
/* * 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 Praktikum_11; public class AutoNim { public static void main (String []args){ String ta="2015"; String kd_prodi=...
24.05
79
0.644491
7db29fd755b26754646cfd8b45a65f340d5b5454
2,304
package achecrawler.seedfinder; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import achecrawler...
36
120
0.65191
59e23814f0ccf7d7490a245765a757f05c295e31
5,266
/*- * #%L * Genome Damage and Stability Centre SMLM ImageJ Plugins * * Software for single molecule localisation microscopy (SMLM) * %% * Copyright (C) 2011 - 2020 Alex Herbert * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
30.439306
98
0.632738
7898a90294029d6cae19e450da2df0e6e197784d
984
package com.example.ajaalimentoschange.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/") public class PageController { @GetMapping public String ind...
19.294118
62
0.738821
5e980cf7f073358fadced2dafdbe6445d8724166
1,200
package com.learn.netty.buf; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.util.CharsetUtil; import java.nio.charset.Charset; /** * 一些声明信息 * Description: <br/> * date: 2020/11/24 11:21<br/> * * @author ${李佳乐}<br/> * @since JDK 1.8 */ public class NettyByteBuf02 { public ...
31.578947
86
0.5875
dc25ebfa74284b63ac947b97b204c3adf121c89d
360
package pers.zhc.tools.pi; import pers.zhc.tools.jni.JNI; public class JNICallback implements JNI.Pi.Callback { private final StringBuilder sb; public JNICallback(StringBuilder sb) { this.sb = sb; } @Override public void callback(int a) { this.sb.append(a); } StringBuild...
17.142857
53
0.627778
3d8ad22466ce0d6463b9cfc98a5fd7d2093aaf65
3,199
/* * Copyright 2013 JBoss 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 agreed to i...
35.153846
120
0.733354
1551d706570a0d4a5a83215bd353cb652a60aacf
310
package cn.hdj.hdjblog.model.vo; import lombok.Data; import java.util.Date; /** * @author hdj * @version 1.0 * @date 12/01/2020 16:22 * @description: 时间线归档--文章 */ @Data public class TimelinePostVO { private Long id; private String slug; private String title; private Date createTime; }
15.5
32
0.677419
6c9cfb218151d66ac23fc94c2cce35dce481792f
432
package com.github.neuralnetworks.samples.mnist; import com.github.neuralnetworks.input.InputConverter; import com.github.neuralnetworks.util.Util; public class MnistTargetSingleNeuronOutputConverter implements InputConverter { private static final long serialVersionUID = 1L; @Override public void conve...
27
79
0.768519
027dc377b8cbe1e27e150b3fc24a2977856d6cf6
1,611
package cloud.timo.TimoCloud.api.objects; import java.net.InetAddress; import java.util.Collection; public interface BaseObject extends IdentifiableObject { /** * @return The base's name. Usually in the format BASE-1, ... */ String getName(); /** * @param name A non-existing base name ...
23.347826
144
0.62694
cb9653017fc162356eb95e35db7847d2a0111168
632
package dijkspicy.ms.server.proxy; import com.google.inject.Guice; import com.google.inject.Inject; import org.junit.Test; /** * micro-service-template * * @author dijkspicy * @date 2018/6/28 */ public class ProxyTest { @Inject private XXProxy proxy; @Inject private XXProxy proxy2; @Test ...
24.307692
92
0.710443
ab57debaadfc7c63fca61708856c2ea46f18821c
350
package com.site.blog.model.dto; import com.site.blog.model.entity.Link; import lombok.Data; import java.util.List; /** * @Author: Yangzhengqian * @Description: * @Date:Created time 2020/11/9 下午1:33 * @Modified By: */ @Data public class LinkDto { List<Link> favoriteLinks; List<Link> recommendLinks ; ...
16.666667
39
0.7
581b8acc449a0bf865ceec9e05a434f072c9d9bc
2,807
/* * [The "BSD licence"] * Copyright (c) 2010 Ben Gruver * 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,...
36.454545
104
0.700036
f70a6a22b85ff0da76e67e9b223ad4e0b020b5c4
19,515
package org.bukkit.inventory; import com.google.common.collect.ImmutableMap; import java.util.LinkedHashMap; import java.util.Map; import org.apache.commons.lang.Validate; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.Utility; import org.bukkit.configuration.serialization.ConfigurationSeriali...
32.579299
228
0.594824