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
8010b8e4045a549833cd5501f59bbc6d093f643f
105,783
/* * 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 ma...
40.607678
185
0.590615
57cd76b95a48e481e493eb518b2b64fe1b361ef1
19,407
/* * 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 ...
55.60745
177
0.674499
761b691cc03b9f23a6a30db06a7e99f3a69f2c9d
3,275
/** * 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...
28.72807
75
0.68
9563e75617a29ef63f05ba027d8d899f3478d14a
21,541
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package modelo; import controlador.BeanCarta; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; imp...
47.135667
360
0.479829
35ab06049f4bd553a476f45869c3c17a4bfb6e59
1,794
/* * 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 ...
40.772727
120
0.784838
ec99ee84a67b9e3918a3a1500b2576e8278653b6
220
package de.Jannify.Screen; public interface Screen { String getName(); void execute(ScreenController controller); void buttonDown(ScreenController controller); void reset(ScreenController controller); }
24.444444
49
0.763636
933d7490d30975b5105acaa1964deac913eda0ba
216
package home.learn.academy.section003_inheritance; public class BaseDataStructure { protected int count; public int size() { return count; } public void clear() { count = 0; } }
16.615385
50
0.625
05bee781164ed22af9aa0d9cece53652d7dd2e4e
15,942
// Autor y desarrollador parcial o total: Santiago Hernández Plazas (santiago.h.plazas@gmail.com). /** * Paquete admif * Función: administración de inventarios forestales */ package co.gov.ideamredd.admif; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultS...
20.703896
177
0.60971
fc657a18f4f433e5b4c648961faf53d45690c9cf
2,977
/** * */ package OctopusConsortium.Service.Models; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annot...
26.114035
75
0.757474
5ed77d4f1f452bcdd057d48a963ad22e9a8ecc84
192
package gov.samhsa.c2s.ums.domain.reference; import javax.persistence.Entity; /** * The Class StateCode. */ @Entity public class StateCode extends AbstractLocalDBLookupCodedConcept { }
13.714286
66
0.770833
eceeb34f793ef6dbb0ae97991b272659b005a967
1,470
package com.hp.autonomy.frontend.find.idol.dashboards.widgets; import com.hp.autonomy.frontend.configuration.ConfigException; import com.hp.autonomy.frontend.find.idol.dashboards.WidgetNameSetting; import com.hp.autonomy.frontend.find.idol.dashboards.widgets.datasources.WidgetDatasource; import lombok.Data; import lom...
47.419355
279
0.772109
7e06d57dd90defce38b7ba175f306ad4bc185f7c
616
package org.eclipse.microprofile.jwt.wfswarm.cdi; import javax.enterprise.inject.spi.Bean; import javax.enterprise.inject.spi.Producer; import javax.enterprise.inject.spi.ProducerFactory; /** * The ProducerFactory for RawClaimProducer * @param <T> */ public class RawClaimProducerFactory<T> implements ProducerFacto...
29.333333
86
0.753247
502cd8063d15a8c26451a582f5dd5a55b14a3f6b
2,766
/* * This code is subject to the HIEOS License, Version 1.0 * * Copyright(c) 2011 Vangent, Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, ...
22.306452
91
0.698482
abea68614922125209dc721aaca2034104be252b
152
package me.camdenorrb.sweetsqlj.base.codec.parts; import java.sql.ResultSet; public interface SqlFieldPuller<T> { T pull(final ResultSet input); }
15.2
49
0.776316
db6a59f66821dc1c5e1b2024728266d82540c247
270
package com.huc.android_ble_monitor.services; import android.bluetooth.BluetoothGattDescriptor; public interface IBLeDescriptorCallbacks { void onDescriptorRead(BluetoothGattDescriptor descriptor); void onDescriptorWrite(BluetoothGattDescriptor descriptor); }
30
63
0.851852
a21bde34a1dcb5abdc5d01d2d149fb0c115064e8
2,313
package net.ripe.db.whois.changedphase3.util; import net.ripe.db.whois.api.MailUpdatesTestSupport; import net.ripe.db.whois.api.rest.mapper.WhoisObjectMapper; import net.ripe.db.whois.common.dao.jdbc.DatabaseHelper; import net.ripe.db.whois.nrtm.NrtmServer; import net.ripe.db.whois.scheduler.task.export.DatabaseTextEx...
33.042857
131
0.734544
8cd47351238cd3542d40aa439fcf465cc5aebbc7
1,709
/* * Copyright (C) 1999-2019 Alibaba Group Holding Limited */ package com.alibaba.innodb.java.reader.schema.provider.impl; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.alibaba.innodb.java.reader.schema.TableDef; import com.alibaba.innodb.java.reader.schem...
30.517857
102
0.754242
8eff93c16e8798a5b0d7ee866ba883d211319840
2,050
package com.MikeTheShadow.ExpansiveBiomes.WorldGen.Biome.DefaultBiomes; import com.MikeTheShadow.ExpansiveBiomes.WorldGen.BiomeFeatures.ExpansiveBiomeFeatures; import net.minecraft.entity.EntityClassification; import net.minecraft.entity.EntityType; import net.minecraft.world.biome.Biome; import net.minecraft.world.ge...
60.294118
309
0.796098
8003a4add5ad228a7ba87d145d093ffdd430a1e8
8,825
package io.hawt.example.ircplugin; import org.schwering.irc.lib.IRCConnection; import org.schwering.irc.lib.IRCEventAdapter; import org.schwering.irc.lib.IRCModeParser; import org.schwering.irc.lib.IRCUser; import org.schwering.irc.lib.ssl.SSLDefaultTrustManager; import org.schwering.irc.lib.ssl.SSLIRCConnection; impo...
26.661631
185
0.664816
89e6343b2df8271be429704338933ef1381a236d
593
package ex4; import java.util.Scanner; public class Ex4 { public static void main(String[] args) { int num, mult; Scanner leitura = new Scanner(System.in); System.out.print("Digite um número entre 1 e 9 para a tabuada: "); num = leitura.nextInt(); if ((num < 1) || (num > 9...
25.782609
74
0.489039
1fc27c21e01c773368bac708c281b199683290ae
104
package io.eventuate.coordination.leadership; public interface LeadershipController { void stop(); }
17.333333
45
0.798077
c2ad911338f35d3a3cdb4e2e58ef592ba70434a5
105,464
package com.project.convertedCode.globalNamespace.namespaces.Webmozart.namespaces.Assert.classes; import com.runtimeconverter.runtime.nativeInterfaces.Countable; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.nativeClasses.spl.exceptions.BadMethodCallExcept...
45.10864
199
0.435931
dde2ead41f231f0f3efa195d75bd8ddbf0909cb0
593
package com.glitchcam.vepromei; import android.content.Context; import com.umeng.commonsdk.statistics.common.DeviceConfig; /** * Created by CaoZhiChao on 2018/12/26 13:52 */ public class DeviceInfo { public static String[] getTestDeviceInfo(Context context) { String[] deviceInfo = new String[2]; ...
25.782609
76
0.620573
37ab38b0472291d64f5d7b9e6e0dd3ad42695261
6,231
/* * Copyright 2017 Courtanet * * 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 writin...
42.678082
118
0.591398
bdbe1cac99a0bd821f85718844f6756e92de7add
15,708
class NGo1RIJ_Onu { } class bJb4UajmUcX { public static void m9lXsz2B (String[] JqyGDw) throws VtuywRSCrB { ; ; if ( !( true[ !NWMQcRKCO().u5D3dGFlLNoI2()]).VpLQdjxZEWaj) -!!false.SnAzdYx();else -true.tm(); this.ajpZEGgrJW091P; while ( -!!2638[ 8487896.jRvcqqh]) while ( !...
36.873239
263
0.486058
7a3fb8b8e1a1623244b4f83f69fea810fd8a8e18
4,862
package com.daiyc.lark.core.complete; import com.daiyc.lark.core.command.Command; import com.daiyc.lark.core.command.CommandRepository; import jline.console.completer.ArgumentCompleter; import jline.console.completer.Completer; import jline.console.completer.StringsCompleter; import org.apache.commons.cli.Option; impo...
31.777778
114
0.63081
6599dfb92144223865670ef74ef7f955fcedf06e
3,121
package com.antonioalejandro.smkt.cookbook.service; import java.util.List; import java.util.Optional; import com.antonioalejandro.smkt.cookbook.model.Recipe; import com.antonioalejandro.smkt.cookbook.model.dto.RecipeDTO; import com.antonioalejandro.smkt.cookbook.model.exceptions.CookbookException; /** * Recipe Serv...
30.009615
113
0.697533
0d85479fbfc7da6f45c25921c646d4b99ba15abb
567
package xyz.rexlin600.transaction.entity; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; /** * User * * @author hekunlin */ @Entity @Data public class User { /** * Id */ @Id @GeneratedValue priva...
13.186047
41
0.66843
66f57364e0db58a354617cd260f64ae6ad6e4a9e
829
package com.dmonsters.proxy; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import com.dmonsters.main.EventH...
26.741935
70
0.764777
6a8d908e182438f38759d25b7e895a008e810f62
3,462
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, LLC // // 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:/...
45.552632
184
0.647025
8f5a15673c7569357775dc64952f67262ede432c
3,739
package com.Da_Technomancer.crossroads.API.effects.alchemy; import com.Da_Technomancer.crossroads.API.alchemy.EnumMatterPhase; import com.Da_Technomancer.crossroads.API.alchemy.ReagentMap; import com.Da_Technomancer.crossroads.items.CRItems; import com.Da_Technomancer.crossroads.items.itemSets.OreSetup; import net.min...
40.204301
212
0.763573
93fa2c1bec3c95a5c867dba0fd02c9bb5351cff2
3,306
package net.logvv.raven.push; import io.swagger.annotations.ApiOperation; import net.logvv.raven.common.model.ErrorCode; import net.logvv.raven.push.model.PushMessage; import org.apache.commons.lang3.StringUtils; import org.apache.tomcat.jni.Error; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.sp...
29
83
0.640653
ad8f6d50cdcd7f1acc5229108219372c288fae93
4,642
/* * Copyright 2010 MIT Strategic Engineering Research Group * * 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...
25.932961
90
0.713916
46ee28963513f1d0ad5ea60770884b2af8b8fe91
167
package org.kwaq.brewit.service; import org.kwaq.brewit.entity.Recipe; import java.util.List; public interface RecipeService { List<Recipe> getAllRecipes(); }
15.181818
37
0.760479
6fb5cd74817d49e31e8d1fb3f397987ccdd10998
863
package com.example.tvcommon.filmData; import com.alibaba.fastjson.JSON; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; /** * Created by zh_zhou on 2017/4/1. */ public class FilmDataUtil { static OkHttpClient client=new OkHttpClient(); public ...
22.710526
65
0.668598
740bcd6b2bfd056b8c99b8e45a9a21c4f1284240
794
package com.Voxce.Views; public class VisitNamesView { private int visitid; private int visitsvisitnametextid; private int visitnametextid; private String visitname; public int getVisitid() { return visitid; } public void setVisitid(int visitid) { this.visitid = visitid; } public int getVisitsvisitname...
21.459459
66
0.768262
68350f8e5fa828a56a74234a9e3c68ce793ac731
2,494
package me.puras.mo.common.util; import sun.misc.BASE64Encoder; import java.io.IOException; import java.io.InputStream; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * Created by puras on 7/3/16. */ public class MD5 { public static String getMD5(byte[] source) { ...
28.666667
70
0.519246
700e318e12748b23d0aaa0c85dc6a01a42004108
2,061
package ihm; import java.awt.*; import javax.swing.*; import java.awt.event.*; /** *Classe de la boite de dialogue de Composer */ public class WtDialogComposer extends JDialog { //Attributs //Zone de texte, seul element de la boite de dialogue private JPanel panConfirmer; private JButton confirmer; private JLabel ...
22.16129
91
0.715187
a34812d7fed1585cb4d3f2a07fe5d5bd7d34864f
15,553
package com.dgex.offspring.ui; import java.text.DecimalFormat; import nxt.Asset; import nxt.Constants; import nxt.NxtException.ValidationException; import nxt.Transaction; import nxt.util.Convert; import org.eclipse.jface.layout.GridDataFactory; import org.eclipse.jface.layout.GridLayoutFactory; import org.eclipse.j...
30.79802
81
0.631454
02d90bd0ddc5a56c455c8975395c8a6ee4f913b4
1,565
/* * 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 ...
34.021739
75
0.734824
4e9961ee8e5b2acfd83379452303c1d5844b3234
5,355
/* * 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 ...
33.46875
116
0.751074
0cb3b55e1dc0ecfca4fa162481078e72bbb16602
155
package polyCode.main; import polyCode.entities.Display; public class Main{ public static void main(String[] args){ new Display().show(); } }
11.923077
40
0.690323
c2723c48e705d95f744a4c86d2cb5a323d48ad86
984
package io.reactivex.gwt.schedulers; import io.reactivex.Scheduler; /** GWT-specific Schedulers. */ public final class GwtSchedulers { static final class UserDeferredHolder { static final Scheduler DEFAULT = new GwtScheduler(false); } static final class UserIncrementalHolder { static fin...
27.333333
97
0.696138
45c1483fb4ab50fe880fc1b3d533298c9ec27834
3,480
/* * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * d...
32.523364
150
0.581897
2285ff6fef5f45a911739facee02f40a3d0c8bf3
18,331
/** * AlertQuery.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.adwords.axis.v201406.mcm; /** * Querying criteria for getting alerts. */ public class AlertQuery implements java.io.Serializable { /* Spec...
40.199561
135
0.623698
6dd08b7248884daf9598424cccf9fdfb0351ef4f
1,067
package com.thomasvitale.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationPropertiesScan; import org.s...
27.358974
79
0.795689
771ed954da674b5a09593d0110c9bd1a32252687
353
package uu.toolbox.network; /** * UUHttpClientDelegate * * Useful Utilities - Callback interface used to communicate from UUHttpClient async task back * to the calling application. * * In the future we may add other callbacks here, such as progress. * */ public interface UUHttpDelegate { void onCompleted(f...
22.0625
94
0.753541
50769bc9025a13985b632fda2b5e26b7b39581b5
6,729
/* * 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 ...
45.466216
158
0.694457
542ca727789a7f5cf04e4633f16c23455c08eb8c
88
package swarm.client.entities; public enum E_CodeRequestType { GET, PREVIEW, SYNC }
9.777778
30
0.761364
0c095d0a136ad154d2c939d50d475a525fe11262
552
package edu.mtu.steppables; import edu.mtu.environment.Forest; import sim.engine.SimState; import sim.engine.Steppable; /** * The environment that the agents operate within. */ @SuppressWarnings("serial") public class Environment implements Steppable { /** * Update the forest with new growth and aggregate statis...
23
63
0.722826
3714b9af4bf37b09051275ff94ae1785f9c81330
330
package com.jero.mongodb; import com.mongodb.DBCollection; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.stereotype.Component; @Component public class mongoUtils { @Autowired private MongoTemplate mongoTem...
22
62
0.821212
72d12adcd071246279985c3b5d200785b1ac0356
400
package io.github.chomsson; /* created by PM at 07.10.2020 */ import java.util.Optional; public class IllegalCharValidator implements Validator { @Override public Optional<ValidationResultState> validate(String input) { if (!input.matches("[0-9\\s-]*")) { return Optional.of(ValidationRes...
25
72
0.67
6289d70bf05581da27d93ccdc8f78100b9085bc8
8,757
/* * Copyright 2015 - 2017 Xyanid * * 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...
57.993377
161
0.621332
5b67fa187b3fccc18ac869da10700973422dc810
922
import java.io.PrintStream; import java.util.ArrayList; import java.util.LinkedList; /* * 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. */ /** * * @author arizo */ publ...
24.263158
80
0.559653
10b93482a2af0fa24a31584ecd950229f580060b
7,189
/* * Copyright 2018 Netflix, 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 a...
27.231061
87
0.553067
d2d20085b7f48b28f90adb0462d7fbe2093317ef
583
package com.academic.academeet.domain.service; import com.academic.academeet.domain.model.Lesson; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.http.ResponseEntity; public interface ILessonService { Lesson createLesson (Long courseId, Long...
38.866667
105
0.801029
c5fc93cb8751559eec85dbd207214523dd292b2c
3,381
/** * Defines utils for TPM handles. * * Copyright 2016 - 2017 * * Endalkachew Asnake <endalkachew.asnake@usmile.at> * Michael Hölzl <hoelzl@ins.jku.at> * * 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 cop...
33.147059
194
0.676131
f54e13275b9053e5f33002a86c56a160c9b6feb7
864
package cursor.rybak.model.race.kind.impl; import cursor.rybak.model.hero.AbstractAbility; import cursor.rybak.model.race.AbstractRace; import cursor.rybak.model.race.kind.Races; import java.util.Map; public class Human extends AbstractRace { public Human(String heroName) { super(Races.Human.getName(), ...
24
102
0.657407
455c79e64e9431a62298a934f49dd61e4ed4f191
306
package com.aek56.qt.WUE; import javax.inject.Named; import org.jfpc.beans.common.MSSUU.MSSUUDBO; @Named /** 添加子账号*/ public class WUEPVO extends MSSUUDBO { private String roles =""; public String getRoles() { return roles; } public void setRoles(String roles) { this.roles = roles; } }
12.75
44
0.696078
c3308c0473f4203064d5ec787357a560cdf8847c
604
/* * 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. */ /** * * @author xuantruong */ public class EdmondsKarpDisplayer extends Displayer { public EdmondsKarpDisplayer() { Ne...
20.133333
79
0.634106
80437b11abfa330b4455460cd0ed029707cabd64
4,854
/** * 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...
38.52381
118
0.639473
fb6dd81b61a76802d6f8a74145722becba1ab34d
945
package modelo.heranca; import javax.persistence.DiscriminatorColumn; import javax.persistence.DiscriminatorType; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Inheritance; import javax.persistence.InheritanceType; @Entity @Inherita...
18.173077
53
0.750265
b0663d272fbb5396350d145c7676ad8bbccebb4d
2,362
package org.zeksa.collections.basic; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurr...
29.525
96
0.621507
dba46f8be27697fedfb48efdd51492be59b401f4
599
package cn.edu.ahu.carmanagement.Repo; import cn.edu.ahu.carmanagement.Domain.SchoolStatusRecord; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * @Author: FZC * @Despriction: 车辆在...
28.52381
91
0.801336
2f6720a8e713df5859528bb68ae10d724b3ea0c5
2,102
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.hardware.Servo; //only if we need the additional feeder. import com.qualcomm.robotcore.hardware.HardwareMap; public class WobbleMech { private...
29.605634
86
0.658896
2cf1eaeda81c9dea39c2200494dd81706c990646
804
package net.md_5.bungee.netty.packetrewriter; import io.netty.buffer.ByteBuf; import net.md_5.bungee.netty.Var; public class ClientSettingsRewriter extends PacketRewriter { @Override public void rewriteClientToServer(ByteBuf in, ByteBuf out) { String locale = Var.readString( in, true ); V...
25.125
62
0.628109
70cf505aea5a641071324bd6fca960ae504ce26d
9,799
/* * Tencent is pleased to support the open source community by making Angel available. * * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You m...
25.518229
103
0.479539
5d46da43ad6529865a0d4e2046906ce46f30cde7
3,794
import java.io.*; import java.util.ArrayList; import java.util.Map; import java.util.Stack; import java.util.TreeSet; public class perimeter { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new FileReader("perimeter.in")); PrintWriter...
32.991304
99
0.317607
9770de41ac24d18ab4eb766be2377895fe9f757e
1,832
import java.util.ArrayList; import java.util.Random; public class ProblemGen { private int startDepth, maxDepth, trialsPerDepth; public ProblemGen(int startDepth, int maxDepth, int trialsPerDepth) { this.startDepth = startDepth; this.maxDepth = maxDepth; this.trialsPerDepth = trialsPer...
40.711111
113
0.610262
7895a045791370a6989372c94086031aec19c19d
2,699
package fr.osallek.eu4parser.model.save.country; import fr.osallek.clausewitzparser.common.ClausewitzUtils; import fr.osallek.clausewitzparser.model.ClausewitzItem; import fr.osallek.eu4parser.model.game.Game; import fr.osallek.eu4parser.model.game.GameModifier; import fr.osallek.eu4parser.model.game.Modifier; import ...
29.988889
116
0.662838
4337061bdefd09fa719944d0b9f392934ec4f01e
659
package com.hr.framework.repo; import com.hr.framework.po.issue.tracking.users.IssueAttachment; import com.hr.framework.projections.issues.IssueAttachmentProjection; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource...
34.684211
148
0.820941
c59f4c5d8bbec7a8ab5d746ff31734507d5da67b
287
package org.ithot.android.business.transmit.http.core; public abstract class FileRes implements IHTTPFileRes { @Override public void undone() { } @Override public void progress(double rate) { } @Override public void disconnected(Req req) { } }
14.35
55
0.662021
bc4f257fd5128aa797c6567cb709d1fe7f16f64e
10,289
package org.contentmine.graphics.svg.fonts; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.contentmine.eucl.euclid.Real2; import org...
34.877966
117
0.750413
f6e72942dd2514926e89937cce675965fb5e9e7a
66
package org.drools.factmodel; public interface GeneratedFact { }
13.2
32
0.80303
25aa2c3d45eb9c1cde3471f69a36ae1072e67919
733
package org.pradeep.txn.mngmt.api; import org.pradeep.platform.constants.C; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.data.jpa.repository.config.Enab...
31.869565
76
0.781719
075d68aca499cc582fe7c601bce320cebad6eaab
1,800
package sg.edu.np.mad.Sharecipe.ui.common; import androidx.annotation.IdRes; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; import androidx.fragment.app.FragmentManager; import androidx.lifecycle.Lifecycle; import androidx.viewpager2.adapter.Fr...
30.508475
121
0.726667
fc4c495f86050cec2e05e3bdaa28142868894d9b
2,323
package pnet.data.api.companygrouptype; import static pnet.data.api.util.MockFilters.*; import java.util.List; import java.util.Locale; import pnet.data.api.PnetDataClientException; import pnet.data.api.client.PnetDataClientResultPage; import pnet.data.api.client.context.PnetDataApiContextMock; import pnet.data.api....
34.161765
120
0.767542
b83c4c7a2a75fb52e12c2614a8b516a97cedd541
3,806
package com.microsoft.schemas.xrm._2011.contracts.services; import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the com.microsoft.schemas.xrm._2011.contracts.services package. * <p>An Ob...
23.639752
165
0.586442
2d92ce11a3507f00b9cab217d42f66c52f0d75fa
2,872
/* * Copyright © 2017 CHANGLEI. All rights reserved. */ package com.baidaojuhe.library.baidaolibrary.widget; import android.content.Context; import androidx.annotation.IntRange; import androidx.annotation.Nullable; import android.util.AttributeSet; import net.box.app.library.widget.ISwipeRecyclerView; /** * Crea...
25.873874
144
0.681058
db99e37363dadc1df8aff904cb0c605f295ccf5a
4,557
package com.github.yiuman.citrus.security.authenticate; import com.github.yiuman.citrus.security.jwt.JwtToken; import com.github.yiuman.citrus.security.jwt.JwtUtils; import io.jsonwebtoken.Claims; import lombok.extern.slf4j.Slf4j; import org.springframework.security.authentication.AuthenticationServiceException; impor...
37.04878
124
0.68905
d3b12675d0eb5a25977094db6126168dac921c68
2,109
package ch.ethz.systems.netbench.ext.flowlet; import ch.ethz.systems.netbench.core.network.Packet; import ch.ethz.systems.netbench.ext.basic.TcpHeader; /** * The uniform flowlet intermediary simply increases the flowlet identifier * each time a flowlet gap has occurred, changing the sequential hash for each packet ...
30.565217
110
0.67615
b2115b71a17c2189bb3efc45259c0cb07dff4004
556
package org.commcare.core.network; /** * Created by amstone326 on 5/8/18. */ public abstract class AuthInfo { public String username; public String password; public static class NoAuth extends AuthInfo { } public static class ProvidedAuth extends AuthInfo { public ProvidedAuth(Strin...
17.935484
63
0.654676
e930c3070ed0144781fe3e03805fd7679a9d79fa
3,292
package it.nextworks.nfvmano.libs.osmr4PlusDataModel.nsDescriptor; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.HashMap; import j...
31.653846
88
0.701094
21d8f03e8f22d4b82545a066fad83001f3d785b0
1,728
package com.br.flashcard.services; import java.time.LocalDateTime; import java.time.LocalTime; import java.util.Date; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.br.flashcard.exceptions.Regi...
25.411765
62
0.756944
6a17534ee009c14a276b243c2618aee0829aa0a1
4,455
package com.zw.platform.dto.protocol; import lombok.Data; import org.apache.commons.lang3.StringUtils; /** * 客运车辆静态信息数据 * @author penghj * @version 1.0 * @date 2020/9/25 10:34 */ @Data public class PassengerVehicleDto { /** * 运输行业编码 */ private String transType; /** * 车牌号 */ pr...
26.676647
82
0.553086
2322d456f6f22a4dd8e846768ceccea3902bbdb7
3,521
/* * Copyright 2006-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
38.271739
118
0.757739
b0e27a9542233d3a388d6f20e5aa9543e7151a41
4,870
package org.ripple.bouncycastle.crypto.util; public abstract class Pack { public static int bigEndianToInt(byte[] bs, int off) { int n = bs[ off] << 24; n |= (bs[++off] & 0xff) << 16; n |= (bs[++off] & 0xff) << 8; n |= (bs[++off] & 0xff); return n; } public sta...
25.233161
75
0.486037
14fcd84e6cd2f0ba376c8c50157b59b4bfcad69d
5,028
/* * 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")...
39.590551
141
0.580549
1faad0f2b4f745101d670917de1bbea7dd9410d5
5,743
/* * This file was automatically generated by EvoSuite * Tue Aug 20 09:51:37 GMT 2019 */ package com.github.pagehelper; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import com.github.pagehelper....
37.051613
176
0.690928
6545a232a6665f03668150aad18b89088c86045d
570
package org.folio.finc.dao; import io.vertx.core.Context; import io.vertx.core.Future; import org.folio.rest.jaxrs.model.FincConfigMetadataCollection; import org.folio.rest.jaxrs.model.FincConfigMetadataCollections; public interface MetadataCollectionsDAO { Future<FincConfigMetadataCollections> getAll(String query...
35.625
116
0.835088
3316046f008b41b39b8d3f751bc1662c258f1547
604
package me.xenodevs.xeno.utils.entity; import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; public class EntityHelper { public static double[] interpolate(Entity entity) { double partialTicks = (Minecraft.getMinecraft()).getRenderPartialTicks(); double[] pos = { entity.lastTic...
31.789474
61
0.680464
c270d26d6a21adc52eb511efb8a3e2fe4244a781
432
package com.rentmycar.rentmycar.dto; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; @Getter @Setter @AllArgsConstructor public class TcoDto { private Long CarId; private Double consumption; private int kilometers; private int costPrice; private Double depreciation; ...
21.6
38
0.775463
26525c4e1371d62907fcc7fde410bc675241a792
386
package com.example.istg.services; import java.util.List; import com.example.istg.commons.UserBlocking; public interface UserBlockingService { List<UserBlocking> getAllUserBlockings(); UserBlocking getUserBlocking(Long id); void deleteUserBlocking(Long id); UserBlocking createUserBlocking(UserBlocking blocki...
19.3
56
0.818653
d633af8c3bff8966b36b41e80ae0596b7381c60d
982
package org.bizhunt.vendor; import org.apache.wicket.protocol.http.WebApplication; import org.bizhunt.vendor.web.HomePage; import org.bizhunt.vendor.web.SecondPage; import com.giffing.wicket.spring.boot.context.extensions.ApplicationInitExtension; import com.giffing.wicket.spring.boot.context.extensions.Wicket...
35.071429
93
0.789206
043df7b727b22cd5034a06d5e5a9e58654f57293
664
package admin.client.registrationService; import org.aries.bean.Proxy; import org.aries.tx.service.jms.JMSProxy; public class RegistrationServiceProxyForJMS extends JMSProxy implements Proxy<RegistrationService> { private RegistrationServiceInterceptor registrationServiceInterceptor; public RegistrationServi...
22.896552
100
0.816265
82a25db8392c5df903092a5ab76e6dd2a73293f9
3,942
package com.intel.cordova.plugin.ocf; // Cordova import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.PluginResult; // Android import android.content.Context; import android.util.Log; // Third party import org.json.JSONArray; import org.json.JSONException; imp...
34.278261
81
0.563166
7000a84d8bc19d298b30c5031d7d53a3598b6051
1,997
package info.thereisonlywe.core.search; public class SearchSimilarity { public static double SIMILAR = 0.70; public static double HIGHLY_SIMILAR = 0.775; public static double EXCEPTIONALLY_SIMILAR = 0.85; public static double ALMOST_IDENTICAL = 0.925; public static double IDENTICAL = 0.99; public static double S...
27.356164
73
0.620931
44123dbcf33649043579ac415ca91c17fa704735
13,825
package org.opentosca.planbuilder.type.plugin.connectsto.bpel.handler; import java.io.File; import java.io.IOException; import java.io.StringReader; import java.net.URL; import java.util.HashMap; import java.util.Map; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory;...
47.02381
151
0.627197
c4e18d373992e6c1d832640f308695bec9593a43
1,652
package com.nishantboro.splititeasy; import androidx.annotation.NonNull; import androidx.appcompat.app.ActionBarDrawerToggle; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.core.view.GravityCompat; import androidx.drawerlayout.widget.DrawerLayout; import andr...
32.392157
78
0.729419
19a97a7a49c85f1135b85fa541819ef8a55f8726
396
package com.zzsong.device.common.constants; /** * 设备状态 * * @author 宋志宗 on 2021/12/6 */ public enum DeviceState { /** * 未注册 * <pre> * 设备的初始状态 * 当设备完成第三方平台注册时, 状态会变更为离线 * 当设备向第三方平台注册失败时, 状态会变更为注册失败 * </pre> */ UNREGISTERED, /** * 设备注册失败 * <pre> * 设备在第三方平台注册时失败了 * </pre...
12
43
0.532828