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
d8d3def95316ab280175264755ebd93a31cb1574
17,677
package io.antmedia.statistic; import java.time.Instant; import java.time.format.DateTimeFormatter; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.Queue; import java.util.Set; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ExecutionExcept...
31.907942
151
0.768796
d1a4ab59275adcd7d14e7aa2b4a5f630b2030d2d
311
package com.knits.kncare.repository; import com.knits.kncare.model.PracticeAttachment; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface PracticeAttachmentRepository extends JpaRepository<PracticeAttachment, Long> { }
31.1
95
0.858521
a8938308815c101bf1997c313a790fd3b675b4fb
1,652
package com.lzq.echarts.series; import com.lzq.echarts.code.Orient; import com.lzq.echarts.code.SeriesType; import com.lzq.echarts.style.ItemStyle; import lombok.Getter; import lombok.Setter; /** * 『箱形图』、『盒须图』、『盒式图』、『盒状图』、『箱线图』 * * @author lizhiqiang */ @Getter @Setter public class Boxplot extends Series<Boxpl...
19.435294
116
0.588378
14d6098eba006d19ff3a6bb2bb3875304e5e16ba
2,303
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
33.376812
114
0.691272
98fb26850f53d4f60602e5072bc12c69dd7ea593
3,877
/* Copyright 2017 Petr Michalík 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...
29.371212
89
0.7057
aca64b8396f9146b36afaadcd446aabeca469e2f
7,997
/* * * Copyright 2017 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 ap...
37.195349
200
0.644992
2573466a1acb1b53fbd713b33e3f5e524e0513c8
1,986
/** * Copyright to 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 applicable law ...
33.661017
111
0.674723
bcd3e0fd63c7a10769469793d7d67380f05e2397
1,941
/* * Copyright (C) 2015 Mesosphere, 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 ...
53.916667
123
0.750644
6b896720c5881a245365d6d5e081a2f778ca44bf
5,991
package beenalongday.lenslauncher.util; import android.app.Application; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android....
46.084615
138
0.651811
8ae6c267fc9f7c8a39870ea12141a72e0c82313e
274
package com.sap.cloud.lm.sl.cf.core.dto.serialization; import javax.xml.bind.annotation.XmlTransient; import com.sap.cloud.lm.sl.mta.model.v1_0.Target; @XmlTransient @Deprecated public abstract class TargetPlatformDto { public abstract Target toTargetPlatform(); }
19.571429
54
0.791971
a9046755ca22081a77f7d8dc53d83bcf1a17dacc
3,720
/******************************************************************************* * ENdoSnipe 5.0 - (https://github.com/endosnipe) * * The MIT License (MIT) * * Copyright (c) 2012 Acroquest Technology Co.,Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this s...
37.2
81
0.635484
b06d0f874b3f0a295916832015299967bb24feb4
5,665
package se.fortnox.reactivewizard.mocks; import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import io.netty.handler.codec.http.DefaultHttpHeaders; import io.netty.handler.codec.http.HttpHeaders; import io.netty.handler.codec.http.HttpMethod; import io.netty.handler.codec.http.HttpResponseStatus; ...
24.209402
187
0.66549
c068c8600f9604e0fbf2672a1e02f12d9dc843a3
1,295
package org.zxp.ConcurrentLatch; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.HashMap; import java.util.Map; /** * 代理对象生成类 */ class ConcurrentLatchBeanFactory implements InvocationHandler{ private Object target; private String ...
25.9
107
0.637066
bef15fd10891b5c480c9680f30a1d360a1edf73c
1,081
/* * Copyright (C) 2015 theta4j project */ package org.theta4j; import org.theta4j.ptp.type.UINT32; import java.util.EventListener; /** * An interface for receiving THETA events. * * @see Theta#addListener(ThetaEventListener) * @see Theta#removeListener(ThetaEventListener) */ public interface ThetaEventListe...
21.62
64
0.666975
d0ce8a0d8238cf6200d1ce8ed2d6a79727406b1d
3,519
/* * Copyright (C) 2020 Matthew Rosato * * 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 o...
31.419643
114
0.683717
db9b2ec2045c9d203e7478a869e1c7a3f2ff3c2c
1,619
package org.apache.dubbo.admin.config; import org.apache.commons.lang3.StringUtils; import org.apache.dubbo.admin.common.util.UrlUtils; import org.apache.dubbo.common.extension.ExtensionLoader; import org.apache.dubbo.registry.Registry; import org.apache.dubbo.registry.RegistryFactory; import org.springframework.conte...
39.487805
127
0.665843
8596b663e9fa7974aed8fe1bdd8bf62cc814685a
6,369
package com.liaoyb.saber.modules.job.domain; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.hibernate.annotations.Cache; import org.hibernate.annotations.CacheConcurrencyStrategy; import javax.persistence.*; import java.io.Serializable; import java.time.Instant; import java.util.Objects; /...
23.764925
109
0.613754
9a6758b10fe70c70309ca546cd517580022f2a41
237
package saci; public class Tuple3<F1, F2, F3> { public final F1 f1; public final F2 f2; public F3 f3; public Tuple3(F1 x, F2 f2, F3 f3) { this.f1 = x; this.f2 = f2; this.f3 = f3; } }
15.8
40
0.506329
a86dab94a67110f4957becef016e97aa74904a51
476
package leetcode.lc283_move_zeroes; import java.util.Arrays; /** * https://leetcode.com/problems/move-zeroes/ #easy */ public final class LC283MoveZeroes { public void moveZeroes(final int[] nums) { int target = 0; for (int index = 0; index < nums.length; index++) { nums[target] = nu...
23.8
59
0.552521
75131926876cedd7e378d4a99cd32bcbbcf4db01
6,640
package de.unisiegen.gtitool.ui.netbeans; import javax.swing.JDialog; import javax.swing.JFrame; import de.unisiegen.gtitool.core.entities.Transition; import de.unisiegen.gtitool.ui.logic.ChooseTransitionDialog; import de.unisiegen.gtitool.ui.netbeans.interfaces.GUIClass; /** * The choose {@link Transition} dialog....
43.398693
167
0.705723
ebd9557c8be40e5ef9b7db8d03a2ae307a52a7f2
1,730
package com.cesurazure.crm.controller; import com.cesurazure.crm.controller.impl.IPackSMSController; import com.cesurazure.crm.model.PackSMS; import com.cesurazure.crm.service.impl.IPackSMSService; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation...
35.306122
135
0.742197
2cdffe1e0d91f306a7b2d39382cfaca1dcf7ab90
1,068
package eu.wauz.wauzunit; import static org.junit.Assert.assertEquals; import org.bukkit.ChatColor; import org.junit.Test; import eu.wauz.wauzcore.system.util.Formatters; import eu.wauz.wauzunit.abstracts.AbstractCoreTest; /** * Tests the currency mechanics from WauzCore. * * @author Wauzmons */ public class C...
30.514286
90
0.755618
4b9eeeee6a2f24c6bfbc88bec58cae32cc4a3358
2,875
package com.ilcarro.qa.tests; import com.ilcarro.qa.model.Car; import com.ilcarro.qa.model.User; import org.testng.annotations.DataProvider; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.uti...
35.060976
91
0.529391
25cd81f31774c62ca24cd51fcb74f88b14ab2dcd
6,844
/** * Copyright 2019 Huawei Technologies Co.,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...
36.795699
120
0.577294
ffa5f3bad0256dff9c2f79304dd55079aaa068c6
2,360
/* * Copyright (c) 2020 TurnOnline.biz s.r.o. * * 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 ...
34.202899
75
0.733475
117cb0aec7dca6c9a019c943a1b82868b772252b
2,369
/* * Copyright 2016 Crown Copyright * * 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...
34.838235
118
0.721401
30d9cf158f4ad913e53df58b5ce75d25302d2b08
2,262
/* * Copyright 2016-2018 Cisco Systems Inc * * 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, merge, ...
34.8
82
0.699823
5f433c74220f5e4bb3564afd2902c745317f2949
3,676
package etri.sdn.controller.protocol.rest.serializer; import java.io.IOException; import org.codehaus.jackson.JsonGenerator; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.Version; import org.codehaus.jackson.map.JsonSerializer; import org.codehaus.jackson.map.SerializerProvider; imp...
36.76
117
0.77802
3a9d1ca92b688db5a31a242a36db3be3f3d80415
4,188
/** * */ package com.force.formula.commands; import java.lang.reflect.Type; import java.math.BigDecimal; import java.util.*; import com.force.formula.*; import com.force.formula.FormulaCommandType.AllowedContext; import com.force.formula.FormulaCommandType.SelectorSection; import com.force.formula.impl.*; import c...
38.777778
131
0.647803
ac1aafceab661f228da83986f353a15b9bbd0e9f
2,469
package org.support.project.knowledge.logic; import java.lang.invoke.MethodHandles; import java.util.List; import org.support.project.aop.Aspect; import org.support.project.common.log.Log; import org.support.project.common.log.LogFactory; import org.support.project.common.util.DateUtils; import org.support.project.di...
36.850746
98
0.688943
70eb22ec73a2b2040d7ba6e267befc16dbc43ad9
537
package co.caio.casserole.service; import co.caio.cerberus.db.RecipeMetadata; import co.caio.cerberus.db.RecipeMetadataDatabase; import java.util.Optional; import org.springframework.stereotype.Service; @Service public class MetadataService { private final RecipeMetadataDatabase metadataDatabase; public Metadat...
25.571429
67
0.811918
b46f8bc4129dc927076833b048b45744c012a977
1,712
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
32.301887
82
0.768107
d75bd8be1fd72d27471f68d75b8693e9912ae431
2,289
/* * Copyright 2002-2013 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...
36.919355
99
0.790301
0d30a686c4ccf19bf5d21f5ff6a3f5f973d48308
366
package maquina.hibernate.repository; import maquina.hibernate.dominio.one2one.Mago; public class MagoRepositoryTest extends JpaRepositoryImplTest<Long, Mago> { @Override public Mago getInstanceDeE() { Mago mago = new Mago(); mago.setNombre("Natsu"); return mago; } @Override public Long getClavePrimariaN...
18.3
75
0.756831
00fa0891cabb9d79b6b0192a11bcfc579093fca8
1,335
// Autogenerated from vk-api-schema. Please don't edit it manually. package com.vk.api.sdk.objects.video; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.vk.api.sdk.objects.Validable; import com.vk.api.sdk.objects.base.Image; import com.vk.api.sdk.objects.base.PropertyExists;...
27.8125
67
0.67191
a14a2ad86ca6d93925eeb43d4f6d24704292f344
1,313
/* * Class: MathFunctionWithFirstDerivative * Description: * Environment: Java * Software: SSJ * Copyright (C) 2001 Pierre L'Ecuyer and Universite de Montreal * Organization: DIRO, Universite de Montreal * @author Éric Buist * @since * * * Licensed under the Apache License, Version 2.0 (th...
32.02439
77
0.718964
dd7392e88f4f4beb06b5cd631268f313a25fa565
1,097
package com.pull_more_refresh.ui; import android.graphics.Bitmap; import android.os.Bundle; import android.os.Message; import android.widget.ImageView; import com.pull_more_refresh.R; import com.pull_more_refresh.model.ImageBean; import com.pull_more_refresh.net.URLConstants; /** * Created by wangliang on 2017/6/27...
23.340426
67
0.606199
c1ce1e3d07ce62e038ae39551aba83bb5c76cfa9
6,111
/** * Copyright 2015 DuraSpace, 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 agree...
44.933824
118
0.702504
b9c4d4e8cd6dd7332afc3e596a67279841f55482
2,866
package farmsim.crops; import farmsim.tiles.TileProperty; import farmsim.world.terrain.Biomes; import org.junit.*; import org.junit.runner.RunWith; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.Pr...
32.202247
80
0.65806
b9be00c2bc13c0bc3322d006c72aca85210df995
531
package cic.cs.unb.ca.flow.ui; import cic.cs.unb.ca.weka.WekaXMeans; import java.io.File; public class FlowFileInfo { private File filepath; private WekaXMeans xMeans; public FlowFileInfo(File filepath, WekaXMeans xMeans) { this.filepath = filepath; this.xMeans = xMeans; } @Ov...
17.129032
59
0.634652
16521a48523ab68332bbe31ce05bc63030709c8e
1,406
/* * Copyright 2015 Adaptris 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 agree...
29.291667
78
0.745377
47fb02497f55cc5e864305ba8c4c984aee03a3ea
982
package it.polimi.ingsw.server.model; /** * Choose action phase. */ public class ChooseActionPhase extends TurnPhase { public ChooseActionPhase(Game game) { super(game, "Choose the next action", false); } @Override public void start() { getGame().getViewAdapter().announceTurnPhase(ge...
32.733333
120
0.652749
9b5dd03347cf5f224f10cef7c2fb0ab8dcecb2bc
3,247
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.3.0 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.08.06 ...
28.482456
99
0.62704
93d32b0809ee5da3963552305610bc8191b4a8e5
2,008
package ignis.warren.gsontime; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import java.time.format.DateTimeFormatter; import java.time.temporal.TemporalAccessor; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.Objects; public class GsonJava8TimeAdap...
34.033898
118
0.726096
77dc1c3e3ddc8ad99a2495e923abc85e464e4b00
281
package com.shunyi.autoparts.exception; /** * @description VFS类目找不到异常 * @author Shunyi Chen * @date 2020/3/23 */ public class VFSCategoryNotFoundException extends RuntimeException { public VFSCategoryNotFoundException(String exception) { super(exception); } }
21.615385
68
0.736655
0864a5d11aaa3c830ab346949d6bc6e5394a60e1
444
package cn.gyyx.bts.core.ctrl; import com.google.inject.Inject; public class ZooPathCtrl { @Inject public ZooPathCtrl() { } public String getGlobalLockPath() { return "/global/lock"; } public String getServerParent() { return "/onlineserver"; } public String getOnlinePath(long processIndex) { r...
15.857143
67
0.691441
6d696d8d1bfa9dbfa5346340989f8465d9ab0b52
5,732
/* * This file is part of Cubic Chunks Mod, licensed under the MIT License (MIT). * * Copyright (c) 2015-2019 OpenCubicChunks * Copyright (c) 2015-2019 contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "So...
36.74359
140
0.56141
6afe5bab6018cae2b23839115410cae9e9024c17
273
package BQN.tokenizer.types; import BQN.tokenizer.Token; public class SemiTok extends Token { public SemiTok(String line, int spos, int epos) { super(line, spos, epos); type = ';'; flags = 0; } @Override public String toRepr() { return ";"; } }
18.2
51
0.6337
08d86021b25f84e1cde8584b9bb5e037916d5b46
5,119
/** * 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"); yo...
34.126667
109
0.616722
7f74086c6fab53e1b0367ba4d181187d38359b36
4,661
/* * 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 server; import java.io.IOException; import java.io.OutputStream; import java.net.*; import java.util.logging.Level; import jav...
41.247788
106
0.544947
5d68e23ed62307f132ab1c2dd1330676f5f85195
2,003
/* * $Id$ * * 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 * "Lice...
28.211268
81
0.637544
082d813ac4eef5b1c2e05f288e5081aeedf5454e
2,797
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses ...
19.289655
810
0.806578
bcfd95adecf7ca1837ec8984f21360b2445f3587
4,213
// Autor y desarrollador parcial o total: Santiago Hernández Plazas (santiago.h.plazas@gmail.com). /** * Paquete para conectarse a R */ package co.gov.ideamredd.R; import java.util.LinkedList; import java.util.Queue; import org.rosuda.JRI.RMainLoopCallbacks; import org.rosuda.JRI.Rengine; /** * Clase de entidad d...
22.650538
236
0.678376
cd21f2eae25602e192b6f08c2b9975233d4f86ec
323
package com.bblog.test.support.hooks; import io.cucumber.java.After; import io.cucumber.java.Before; import io.restassured.RestAssured; public class Hooks { @After public void after() { } @Before public void before() { RestAssured.baseURI = "https://qa-task.backbasecloud.com/api/"; }...
17.944444
71
0.674923
d6598831ca41deca2ef643c2d8396cd28ff57aa5
1,710
package com; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.UnknownHostException; public class SocketProducer { public static void main(String[] args) throws InterruptedException { try { //1.建立客户端socket连接,指定服务器位置及端口 ServerSocket server = new...
33.529412
120
0.519883
59fbde54777b8b3bf7ded76fe670b21828ea133f
1,139
package com.liueq.keyper.data.repository; import android.support.annotation.Nullable; import com.liueq.keyper.data.model.Account; import com.liueq.keyper.data.model.Tag; import java.util.List; /** * Created by liueq on 24/2/2016. * Tag Repository */ public interface TagRepo { /** * Get all tags in db * @re...
17.796875
64
0.685689
8b5065c57b33136fc13c3d60a7e329ddcd94662d
4,546
/* * 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 org.fhwa.c2cri.centermodel; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutput...
33.182482
94
0.592609
3826b6ed0f39f204832dbb9523a49fa0461a6af9
2,036
/* * Copyright (C) 2015 Google, 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 in writi...
36.357143
97
0.749018
efe73aa3b7dc3eded26c4f690f03efa9555c670a
925
package com.davidmarian_buzatu.benchme.tester; import com.davidmarian_buzatu.benchme.benchmark.IBenchmark; import com.davidmarian_buzatu.benchme.logging.ConsoleLogger; import com.davidmarian_buzatu.benchme.logging.ILogger; import com.davidmarian_buzatu.benchme.timing.ITimer; import com.davidmarian_buzatu.benchme.timin...
33.035714
75
0.659459
8519e936b65cbad20988ad598a43286fe537150e
4,737
/* * Copyright 2010-2014 Ning, Inc. * Copyright 2014-2020 Groupon, Inc * Copyright 2020-2020 Equinix, Inc * Copyright 2014-2020 The Billing Project, LLC * * The Billing Project licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with t...
32.668966
149
0.649778
ce36ff6e0c396f2253263553ab654a040e995895
377
package kelvin.mite.blocks; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.minecraft.client.render.RenderLayer; public class MiteTallPlantBlock extends net.minecraft.block.TallPlantBlock { public MiteTallPlantBlock(Settings properties) { super(properties); BlockRenderLayerMap...
26.928571
76
0.822281
08a8389c1366b2bd71e0dba3cc3509035cfbaef1
947
package frc.robot.oi.movements; import frc.robot.oi.controllers.XboxPositionAccessible; import frc.robot.oi.positions.ThumbstickPosition; // The values needed to drive using arcade mode. public class ArcadeMovement { public double straightSpeed = 0; // x Forward & Backward public double rotationSpeed = 0; /...
33.821429
106
0.751848
6d2bcbe667e7a6be324563d6be5ee094cb7fc39b
7,858
package com.github.idegtiarenko.json.ui; import com.github.idegtiarenko.json.Json; import com.github.idegtiarenko.json.Node; import com.github.idegtiarenko.json.ui.components.BackgroundTaskExecutor; import com.github.idegtiarenko.json.ui.components.LabeledProgressBarTreeTableCell; import com.github.idegtiarenko.json.u...
38.331707
160
0.64902
722bdb1066bcd840acd997b8427abfa37e9660e6
993
package com.custom.rest; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; /** * Serializable class containing LCSProduct, LCSSKU, LCSProductSeasonLink, LCSSKUSeasonLink, LCSSeason * Including the List<FlexBOMPart>(s),...
27.583333
103
0.758308
12fbe3c78c35a0e130c1248a58e1806be0845c19
16,957
package com.jeecms.cms.action.admin.assist; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.UnsupportedEncodingException; import java.sql.SQLException; import java.uti...
36.62419
117
0.727487
3f6695f39b3f12a483d3560dfd720a996dfbb2c7
1,093
class Unite { private boolean enVie; private int pointsDeVie; } class Hache {} class Arc {} interface Nain { public void frappeAvecHache(); } interface Elfe { public void tireFleche(); } interface Magicien { public void lanceSort(); } interface Cavalier { public...
21.019231
69
0.643184
886466f08a6ce12b56bc50e1514e90fee171763e
288
package com.joker17.rdt_jpa_test.service; import com.joker17.rdt_jpa_test.base.BaseService; import com.joker17.rdt_jpa_test.domain.Goods; import org.springframework.stereotype.Service; @Service public class GoodsService extends BaseService<Goods, String> implements IGoodsService { }
24
87
0.836806
017416e7f854bd16188c2b5972e70c5aaddbef74
294
package com.elgendy.photoservice.service; import com.elgendy.photoservice.model.Photo; import java.util.List; public interface PhotoService { List<Photo> getAll(); Photo getOne(Integer id); void add(Photo photo); void update(Photo photo); void delete(Integer id); }
15.473684
44
0.714286
d6731630bc7cb8b4d0b108cfdc3b97e0d3e91481
1,587
package com.example.demo2.controller; import java.net.URI; import java.net.URISyntaxException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.DeleteMapping; import...
26.45
90
0.712035
8102f886702901ccdb1402da8d190ab666682645
3,801
package com.the8team.dragonboatrace; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.World; /** * An obstacle, extended from MovingObject. * * @author Josh Stafford */ public class Obstacle extends MovingObject { // Characteristics p...
29.695313
120
0.604578
d7a0cc8703485da4b8a42efb689f8b0dcfdce5d6
1,910
/** * The MIT License * Copyright (c) 2014 Ilkka Seppälä * * 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, ...
31.833333
80
0.743455
51190422f2ce894e5f2c667fe21d7ee571d6317e
2,623
/* * 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 tr.gov.turkiye.esign.support; import java.security.cert.X509Certificate; import java.util.ResourceBundle; import org.bouncycas...
39.149254
128
0.658406
8f282e78c4b305b07eb5b04f266ad5505ed06a8f
3,695
/* * Licensed to Gisaïa under one or more contributor * license agreements. See the NOTICE.txt file distributed with * this work for additional information regarding copyright * ownership. Gisaïa licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this file except ...
34.212963
197
0.686062
7c4ffd2c90e4f55cb538eb15f6398c51813a388f
621
package de.id.tigergraph.sdk.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import java.util.Map; @Data @JsonIgnoreProperties(ignoreUnknown = true) public class Edge { @JsonProperty("IsDirected") private boolean direct...
20.032258
61
0.78905
8b7950de05071eab0577d54034646caadb2d2448
1,229
package com.wch.gulimall.member.web; import com.alibaba.fastjson.JSON; import com.wch.common.utils.R; import com.wch.gulimall.member.feign.OrderFeignService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org....
28.581395
103
0.707079
c343acf5bb1ff0c8e938ab693bb5e1e70cdd7790
2,950
/* * Copyright (c) 2014 Red Hat, Inc. and others * * Red Hat licenses this file to you 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 ...
30.102041
119
0.715254
31dd35b10db13cf133b1315630030be22c0a476d
8,107
package moeam.db.queryTest; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Date; import moeam.db.query.driver.DatabaseDriver; import org.junit.AfterClass; import org.junit.BeforeClass; public abstract class AbstractQueryTest { private ...
33.639004
128
0.576539
905c6be5aa067d00c7ff7b50834d8dee166fb966
3,988
/* * Cardinal-Components-API * Copyright (C) 2019-2020 OnyxStudios * * 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 u...
41.541667
130
0.704614
b4cdbae8c9db40d95d89e30e1a893e8dbe1259b9
1,520
package com.wanandroid.module_home.mvp.di.module; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.LinearLayout; import com.alibaba.android.arouter.launcher.ARouter; import com.jess.arms.base.DefaultAdapter; import com...
29.803922
105
0.7875
fbcdb0bd6e1c2a3f8c712bc93021bba733a35139
8,437
package com.forkexec.rst.ws; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.jws.WebService; import com.forkexec.rst.domain.Restaurant; import com.forkexec.rst.domain.RestaurantMenu; import com.forkexec.rst.domain.RestaurantMenuId; import com.forkexec.rst.domain.RestaurantM...
33.086275
155
0.716724
fd9873ca60f62503aec7cfc53fd6610c1cfed188
1,717
package com.frestoinc.maildemo.data.local.room; import com.frestoinc.maildemo.data.model.AccountUser; import com.frestoinc.maildemo.data.model.EasFolder; import com.frestoinc.maildemo.data.model.EasMessage; import com.frestoinc.maildemo.data.model.GalContact; import java.util.List; import io.reactivex.Completable; i...
22.012821
58
0.721607
6652feb4dd72c998735baed64fa488b0788b9e14
12,320
/* * Tencent is pleased to support the open source community by making BK-BASE 蓝鲸基础平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-BASE 蓝鲸基础平台 is licensed under the MIT License. * * License for BK-BASE 蓝鲸基础平台: * ----------------------------------------------...
47.022901
118
0.625731
23157b62dde607c19111002d8395fa3780f4df46
6,533
package io.opensphere.core.util.javafx.input.view; import java.util.regex.Pattern; import javafx.beans.property.IntegerProperty; import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.value.ObservableIntegerValue; import javafx.beans.value.ObservableValue; import javafx.scene.control.Button; import j...
31.258373
129
0.618399
fa87b5fc8b923ba4ec5ec4bae7cd44ad42f5e1dd
2,549
package com.santiagoapps.sleepadviser.activities.profile; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.santiagoapps.sleepadviser.R; public class ProfilingActivity_occupation extends AppComp...
38.044776
90
0.622205
7cb8b3c317609901b0463ed48db738bdc2f0ed1b
2,407
package net.sourceforge.squirrel_sql.client.session.mainpanel; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collections; import net.sourceforge.squirrel_sql.fw.util.StringManager; import net.sourceforge.squirrel_sql.fw.util.StringManagerFactory; public class SQLHistoryItemWrapper {...
25.606383
114
0.687993
fa32935518551ebac1447bbfe4efef947cd6a53b
999
package com.nukkitx.protocol.bedrock.v291.serializer; import com.nukkitx.protocol.bedrock.BedrockPacketHelper; import com.nukkitx.protocol.bedrock.BedrockPacketSerializer; import com.nukkitx.protocol.bedrock.packet.PlayStatusPacket; import io.netty.buffer.ByteBuf; import lombok.AccessLevel; import lombok.NoArgsConstru...
37
98
0.804805
531169606d4c3cb88c0ef8271378d130230be0d6
5,301
/* * SoapUI, Copyright (C) 2004-2016 SmartBear Software * * Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the Licence. * You may obtain a copy of the Li...
31.553571
116
0.722882
2484868cca1af9ca78d8cc91dbc785b77e21bc45
2,340
package fr.pizzeria.doa.pizza; import java.io.IOException; import java.math.BigDecimal; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; import java.nio.file.Files; import java.nio.file.Path; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.stream.Co...
28.192771
112
0.694017
150ffd63d022c6c694242d5dfccdccf7f8bf8174
2,829
/* * 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 ...
32.147727
110
0.639802
bae91404d05d7daad0b6cd6d06cc818210e54a94
851
package org.DataBase; import java.sql.ResultSet; import java.sql.SQLException; /** * データベースを扱うための共通インターフェース * @author max * */ public interface DataBaseAccess { // SQL実行 /** * DML文のSelectが主に使用されます * @param sql SQL文を受け取る変数 * @return ResultSetクラスのメタデータを返します * @throws SQLException SQLが受け付けなかった場合に...
20.756098
67
0.741481
746033266026a06f5ce0d5e09fbbbc77b1d34522
2,545
package com.start.quick.entity; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import javax.persistence.*; import java.util.Calendar; import java.util.Date; @Entity public class Carousel { /** * 主键 */ @Id private String id; ...
17.312925
60
0.588212
a4926664f5c848859606ead6c3454439426f4be0
912
package se.cygni.paintbot.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.HashMap; import java.util.Map; @Service public class AuthenticationService { TokenService tokenService; Map<String, String> users = new HashMap<...
24.648649
80
0.64693
be913bd0a6b8153ea8a383249e09b078c0063e10
1,849
package net.FENGberd.Nukkit.FNPC.npc; import cn.nukkit.Player; import cn.nukkit.item.Item; import net.FENGberd.Nukkit.FNPC.Main; import net.FENGberd.Nukkit.FNPC.utils.Utils; import java.util.ArrayList; import java.util.HashMap; @SuppressWarnings("unused") public class CommandNPC extends NPC { public ArrayList<Strin...
21.252874
174
0.685776
ef963362768a7e9437a0dcdbd1e27be473132ae5
512
package php.runtime.ext.core.classes.stream; import php.runtime.env.Environment; import php.runtime.ext.java.JavaException; import php.runtime.reflection.ClassEntity; import static php.runtime.annotation.Reflection.Name; @Name("php\\io\\IOException") public class WrapIOException extends JavaException { public Wr...
26.947368
66
0.753906
aac50c77c39fa07847807df9c0dfc9da57a4685e
3,512
/* * This software is released under a licence similar to the Apache Software Licence. * See org.logicalcobwebs.proxool.package.html for details. * The latest version is available at http://proxool.sourceforge.net */ package org.logicalcobwebs.proxool; import org.logicalcobwebs.dbscript.ConnectionAdapterIF; import...
27.873016
117
0.681948
728ae624b70d8a4fb5f42e68cc281a6228cbe364
604
package br.com.ipet.Repository; import br.com.ipet.Models.Service; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.PagingAndSortingRepository; import java.util.Set; public interface ServiceRepository extends PagingAndSortingRepo...
31.789474
86
0.793046
56d72d280462e39d5e172de19e9f4b30cb44237c
61,284
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination *...
36.718993
94
0.581636
b37af6b69af8d6939cb212f827b9820a98357011
566
package com.kenez92.betwinner.domain.weather; import com.kenez92.betwinner.domain.matches.MatchDto; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; import java.util.List; @AllArgsConstructor @NoArgsConstructor @Builder @Data public ...
21.769231
53
0.779152
1ee3b2a08c07b7ae6f16aa2831a1ee2dde1c4781
1,009
package servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.jsp.PageContext; import java.io.IOException; /** * @ClassName RequestTest * @Description TODO * @Author lx...
25.871795
114
0.725471
9a7d5b9473a7e2cc2360ee3fb64ec0efadf0cc02
741
package malculator.shared; import malculator.shared.ast.*; public class Function { NodeTree tree; NodeTree dTree; String original_function; String simplified_function; String derivative; public Function(String func) { original_function = func; Lexer lex = new Lexer(original_f...
21.794118
52
0.635628