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
4457c328cc92d7273eae792481cbf63919499c21
1,671
package com.hsf1002.sky.weread.view.adapter; import android.support.annotation.Nullable; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.request.RequestOptions; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; impor...
32.134615
91
0.677439
f8365224bb11f5ef0e53ce26cef4be955ce6f5cf
5,003
package com.aurora.account.validator; import com.aurora.account.model.AssignedApplicant; import com.aurora.account.service.ApplicantService; import com.aurora.account.service.AssignedApplicantService; import com.aurora.account.service.SchoolService; import org.springframework.beans.factory.annotation.Autowired; import...
34.034014
143
0.655807
4908447924d151ddad4d5e5d54731c7631dba504
5,739
package com.zscat.mallplus.oms.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.zscat.mallplus.annotation.SysLog; import com.zscat.mallplus.oms.entity.OmsOrderReturnApply; import com.zscat.mallplus.oms.service....
39.040816
158
0.649765
3082ecb684f639f171a1bf00f0791913b2b72c67
1,600
package com.leroymerlin.pandroid.demo.globals.model; import android.os.Parcel; import android.os.Parcelable; public class Review implements Parcelable { private long userId; private long id; private String title; private String body; protected Review(Parcel in) { userId = in...
20.779221
74
0.548125
abe69f907353ca72269e4efecd123287dc9cc398
2,946
package com.telran.oscarshop.tests; import com.telran.oscarshop.data.UserData; import com.telran.oscarshop.helpers.DataProviders; import com.telran.oscarshop.helpers.PropertiesLoader; import com.telran.oscarshop.pages.DeleteProfilePage; import com.telran.oscarshop.pages.HomePage; import com.telran.oscarshop.pages.Logi...
42.085714
133
0.743041
61819c956f5940178effe15293e05414194c9a22
6,133
/* * Copyright 2013 Google Inc. * Copyright 2015 Andreas Schildbach * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
51.108333
135
0.734551
996ed52d4a0659099f0fb584d220d8270560d33f
4,478
package nl.tno.stormcv.model.serializer; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import nl.tno.stormcv.model.CVParticle; import backtype.storm.tuple.Fields; import backtype.storm.tuple.Tuple; import backtype.storm.tuple.Values; import com.esotericsoftw...
30.053691
149
0.72912
bd808b46e30322699c858688a511580cebf49ce1
47,315
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License /* ******************************************************************************* * Copyright (C) 2013-2016, International Business Machines Corporation and * others. All Rights Reserved. *******...
37.581414
130
0.555131
6401945cab2e127762c94cb287b2061df71c9bbe
1,456
package io.sentry.android.core; import io.sentry.ILogger; import io.sentry.SentryLevel; import io.sentry.SentryOptions; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; /** An Adapter for making Class.forName testable */ public final class LoadClass { /** * Try to load a clas...
30.978723
100
0.673077
c451d507cadefca0a5a7bfed2766118c58396123
1,936
package org.literacybridge.content.model; import java.util.Map; /** * Defines a deployment. This structure will include all the structures needed to build a deployment object * that can be partied on by the TB Loader to put on talking books. * * @author willpugh */ public class DeploymentDefinition { String ...
29.333333
115
0.720558
d89ffde8a53b63f87b93f6399d411fd57e3d4fdb
1,308
package com.y2020.m01.d29; import java.util.Arrays; /** * Created by zhangweilong on 2020/02/29 * * @author zhangweilong@corp.netease.com * @since 2020/02/29 * * 扩展到n个不重叠的和的一个解题思路 * https://www.acwing.com/solution/LeetCode/content/668/ */ public class Leetcode0689_2 { public int[] maxSumOfThreeSubarrays(i...
28.434783
86
0.423547
ae9b348036e02c9c458789319e2305e5a78b15bd
2,500
package com.leewg.mvvm.data; import io.reactivex.observers.DisposableObserver; import com.leewg.mvvm.data.exception.ResponseThrowable; import com.leewg.mvvm.tools.KLog; import com.leewg.mvvm.tools.NetworkUtil; import com.leewg.mvvm.tools.ToastUtils; import com.leewg.mvvm.tools.Utils; import java.net.ConnectExceptio...
24.509804
90
0.596
be39720e09b2c9146999ed96e3b79bdbb4caa80c
1,308
package day01; import java.util.concurrent.TimeUnit; /** * @author chenxinwei * @date 2021/1/13 11:18 **/ public class VolatitleDemo { public static void main(String[] args) { volatitlePlus(); // volatitleDemo(); } public static void volatitlePlus() { MyData demo = new MyData();...
21.8
57
0.496177
83ff3ce53ee25940e0cc804689ae94fca36618b8
910
package com.lms.app; import java.io.IOException; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; import com.lms.customExceptions.CriticalSQLException; import com.lms.menu.MainMenu; public class App { public static void main(String[] args) { String env = "product...
30.333333
90
0.738462
447c9bf25d138d7698bf1f3b7cddaedef368dbe6
1,298
package com.querydsl.apt.domain; import java.io.Serializable; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.MappedSuperclass; import org.junit.Test; public class Generic2Test extends AbstractTest { public static class Range<T extends Comparable<? super T>> { ...
20.935484
87
0.59245
22212b7c45e5d631cc4ebc0407bd914a50162523
648
/** * */ package repast.simphony.visualizationOGL2D; import java.awt.Color; import repast.simphony.space.graph.RepastEdge; /** * Inteface for 2D OGL edge styles. * * @author Nick Collier */ public interface EdgeStyleOGL2D { /** * Gets the width of the line used to represent the edge. * * @param ...
18.514286
63
0.646605
71bbdc95f71c42966c8e41f77f786bb879a85e15
699
package com.reactNativeOptions; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.Callback; public class RNDeviceOptionsModule extends ReactContextBaseJavaModule { pr...
26.884615
85
0.799714
0ef7c3c2326b4c65a8c6907111580e356ec5b5c4
2,661
package Adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.carmel.guestj...
36.958333
133
0.748591
71fb1189f1206a90f6fd4464b726708b0853e036
379
package nl.hypothermic.htf.loader; import lombok.Getter; import nl.hypothermic.htf.api.ClassTransformer; public class ClassTransformerImpl { @Getter private final ClassTransformer annotation; @Getter private final Class<?> clazz; public ClassTransformerImpl(Class<?> clazz) { this.annotation = clazz.getAnnot...
18.95
64
0.775726
de5fc26341c626d7ad42e1834eb8e0a6a9d4eeab
13,728
import javax.swing.*; import java.awt.*; import java.util.Random; import java.awt.Graphics2D; import javax.swing.border.*; /** */ public class Panel2048 extends JPanel { private static final int BOARD_SIZE = 4; private Cell2048[][] board; private Random r; private ScoreBar score; public Panel204...
34.579345
125
0.365603
1434188aa333c5b1156a27d836d0bee91183ab08
1,983
package sample.hello; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.stream.IntStream; import java.util.stream.LongStream; import java.util.stream.Stream; import com.github.ninerules.annotation.IgnoreRules; @SuppressWarnings("unused") @IgnoreRules public class GodObjectButNot...
27.929577
77
0.550681
98d819e8d0215c882d26ecf04b171ad19346919a
1,297
/* * License: Apache License, Version 2.0 * See the LICENSE file in the root directory or at <a href="http://www.apache.org/licenses/LICENSE-2">apache.org</a>. */ package io.leangen.geantyref; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Type; import static org.junit.A...
33.25641
118
0.719352
54bcd9fc6b450cd11ee211ebbb5644715e097f36
4,332
package org.hive2hive.core.processes.files.list; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.hive2hive.core.model.UserPermission; import org.hive2hive.core.security.EncryptionUtil; /** * Gives information about a file in the DHT. Links to child nodes and ...
24.896552
116
0.679132
0e26aca72fc353560e0626669bf6953f5db0ac1d
5,213
package oneapp.onechat.chat.network; import android.util.Log; import okhttp3.Request; import oneapp.onechat.androidapp.R; import oneapp.onechat.chat.utils.BaseUtils; import oneapp.onechat.chat.view.BaseActivity; import oneapp.onechat.oneandroid.chatsdk.OneAccountHelper; import oneapp.onechat.oneandroid.chats...
43.441667
143
0.564167
424b689ad10a2b190066f13c5f7a321ce5336c5b
3,132
/* * Copyright 2011-present Greg Shrago * * 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...
43.5
135
0.744891
76d97a2572c87ba18b7b307f331823b091aba722
507
package design_pattern.templatemethod_8.simplebarista; public class Coffee { void prepareRecipe() { boilWater(); brewCoffeeGrinds(); pourInCup(); addSugarAndMilk(); } public void boilWater() { System.out.println("Boiling water"); } public void brewCoffeeGrinds() { System.out.println("Dripping Co...
18.107143
55
0.704142
e666f62cf839cd12b66d4272548e12e0c23f4826
4,029
package hugman.mod.objects.blocks; import java.util.Random; import hugman.mod.init.BlockInit; import hugman.mod.init.CostumeInit; import hugman.mod.init.ItemInit; import hugman.mod.util.handlers.SoundHandler; import hugman.mod.util.interfaces.IHasModel; import net.minecraft.block.Block; import net.minecraft.block.Sou...
40.29
202
0.65103
1920233b6448be4f2d11d4594cc89ccb612eb695
4,462
/* * Mars Simulation Project * PhaseType.java * @version 3.1.0 2016-06-29 * @author Manny Kung */ package org.mars_sim.msp.core.structure.building.function.farming; public enum PhaseType { /** default logger. */ //private static Logger logger = Logger.getLogger(Phase.class.getName()); /* Defau...
28.240506
80
0.678171
88a9f63a3cd108418437a422ea7f5eac0d11d591
1,602
package org.xpdojo.jdbc.service; import org.xpdojo.jdbc.domain.Member; import org.xpdojo.jdbc.repository.MemberRepositoryV1WithDataSource; import javax.sql.DataSource; import java.sql.Connection; import java.sql.SQLException; public class MemberServiceV0 { private final DataSource dataSource; private final ...
31.411765
102
0.684145
4d25e155eefcf200886899027431c7ef94464250
2,052
/* * Copyright 2020 ThoughtWorks, 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 agr...
35.37931
103
0.716374
ca5aaba83c1156ec6a075378b2ef7b13dc5f65d7
2,057
package com.sage.bean; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by Anuj Sharma on 5/9/2017. */ public class LoginResponse extends GenericBean{ @SerializedName("data") private List<DataBean> data; public List<DataBean> getData() { return data; ...
21.427083
54
0.542538
69cbf7b886df3b1557e6fa87f95aba8ee6b0b4fe
1,846
package utilities; import model.NodeProperties; import javax.xml.bind.DatatypeConverter; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import static model.NodeProperties.KEY_SIZE; public class Utilities { /** * Example of SHA 1 -> uses m = ...
31.827586
96
0.619177
5c8e24d3e054231e6143f27557914e80690f21b4
31,980
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 license...
14.642857
814
0.811789
d3dd5dec6ddc34e4d3e3bfd91ab16f6dd457a631
2,216
/* * Copyright 2010-2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
31.211268
99
0.716606
94d48d79fd036563f647b27dbd74976e0ba15041
499
package org.openecomp.sdc.health.data; public enum SiteMode { Active("active"), NOT_ACTIVE("NotActive"); private String name; SiteMode(String name) { this.name = name; } @Override public String toString() { return name; } public static final SiteMode toValue(String...
17.821429
56
0.54509
309b6cfbe026fae3a01a7a766c51875ab38a8c48
114
package org.firstinspires.ftc.teamcode; /** * Created by sawyerthompson on 11/8/17. */ public class Juuls { }
12.666667
40
0.701754
ee2e5f23658f27fc2a9232ae04ff20a3bba7d99a
6,895
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.bytes.BytesMarshallable; import org.junit.Assert; import org.junit.Test; import static net.openhft.chronicle.wire.WireType.TEXT; import static org.junit.Assert.assertEquals; @SuppressWarnings("rawtypes") public...
32.069767
105
0.615954
33d7b3bd621101e509cac9d4ce6f1c4d9698c52a
1,013
/* * Copyright (c) 2017 Dell Inc., or its subsidiaries. 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 may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * */ pac...
31.65625
86
0.770977
6fbfe98e1a0828acf0badab5f966b42ffbdb0e9b
2,079
package com.udacity.gradle.builditbigger; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.support.v4.util.Pair; import android.test.AndroidTestCase; import and...
33.532258
83
0.772006
efe57930f10e3f353cbe8c18639f8989b1cc4a9a
762
package com.evatool.domain.repository; import com.evatool.domain.entity.FindByAnalysis; import com.evatool.domain.entity.SuperEntity; import org.junit.jupiter.api.Test; import org.springframework.data.repository.CrudRepository; import static org.assertj.core.api.Assertions.assertThat; public interface FindByAnalysis...
27.214286
125
0.738845
e17fa077399f86153f09307124b05d3c75b81bc4
978
package com.feiyangedu.springcloud.petstore.common.context; import java.util.ArrayList; import java.util.List; public class UserContext implements AutoCloseable { static final ThreadLocal<List<UserInfo>> threadLocal = new ThreadLocal<>(); public static UserInfo getCurrentUserInfo() { List<UserInfo> list = threa...
22.744186
76
0.690184
8c527bea6b02bbf9744b7c3ea23c4e830f7bd81e
1,197
package com.jozufozu.flywheel.core.model; import com.jozufozu.flywheel.api.vertex.VertexList; import com.jozufozu.flywheel.core.Formats; import com.mojang.blaze3d.vertex.PoseStack; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.BakedModel; import net.minecraft.world.level.block.sta...
23.470588
93
0.764411
933aaade67f1077095042f48aa43d036b94567ad
3,702
package AttackCbcAndEcb.CbcOraclePadding; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.util.Arrays; import static util.Util.concatArrays; class OraclePaddingAttack...
33.654545
93
0.704214
10f9e78497344d0650b36c855db5511773d461d1
3,848
package online.blickle.juvr.read; import online.blickle.energy.data.DataUnit; import online.blickle.juvr.data.UVRDataSet; /* * One complete set of measured data at one point in time * including sensors and actors * * @author tbl * */ public class CommonDataSetDecoder { protected UVRDataS...
23.041916
123
0.612266
8f4107e87f1e4f7f9bce964e48bc9be32d83dd8b
1,568
package com.info.infoService.model; import java.io.Serializable; public class Info implements Serializable{ private String id; private String title; private String create_time; private String desc; private String contend; private String source_link; private String source_name; private String create_time_for...
21.189189
65
0.746811
091c3bcd6d3942615f2b205fcc7ec974086e8da9
860
package core; import dto.Talk; import java.math.BigDecimal; import java.util.List; import static java.math.BigDecimal.ROUND_HALF_UP; import static util.SpecificationConstants.MAX_TRACK_TIME; import static util.SpecificationConstants.MIN_TRACK_TIME; import static util.TalkUtil.calculateTotalTimeOf; class OptimalTrac...
35.833333
109
0.696512
2a7f51285675781b2210949430fb8f7dbc95a294
1,095
package com.grizzly.restServices; import com.grizzly.restServices.Controllers.Hello; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; import org.glassfish.jersey.server.ServerProperties; import org.glassfish.jersey.servlet....
25.465116
111
0.711416
aaa8cd0ed541b5a923693c8f8feee0dd72f2ef2a
8,522
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2013-2020 The original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
45.089947
137
0.639169
704d7e147cee044920a8cae2466be1d8d07ee216
569
package ru.doxhost.newhost.server.routing; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Indicates that this annotation should use the given argument extractor * * @author James Roper */ @Targe...
27.095238
73
0.768014
1ed17ebc400f0f52424e4524d6e7d80f18751ae8
3,558
/* * Copyright (c) 2020 Cognite AS * * 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...
41.858824
116
0.650365
7c928551e0d9f00247284064f4ee21b7b5c4f9e9
609
package org.ovirt.engine.core.searchbackend; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Test; public class NumericConditionRelationAutoCompleterTest { @Test ...
29
110
0.714286
5acc6ed549d74b1fc1ab2633d9ea333f126ef331
710
package dev.ri0arjuna.palembangtrip.model; public class ModelMainFeatures { private String gambar, id, count; public ModelMainFeatures(String gambar, String id, String count) { this.gambar = gambar; this.id = id; this.count = count; } public ModelMainFeatures() { } pu...
18.684211
70
0.585915
246a1ad0fa3e6128be662963c1cb67fdf4835801
2,969
package com.ruoyi.user.service.impl; import com.ruoyi.common.exception.BusinessException; import com.ruoyi.common.json.JSONObject; import com.ruoyi.user.domain.RcMoneyRecord; import com.ruoyi.user.mapper.RcUserMapper; import com.ruoyi.user.service.IRcMoneyRecordService; import com.ruoyi.user.service.IUserMoneyService;...
37.582278
158
0.653419
97ee0f7cf813ef3cf05ac438667a7eebdeacb19e
12,577
/* * 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 Presentacion.PAdministrarLibros; import Negocio.NAdministrarLibros.CategoriaNegocio; import java.util.Arrays; import javax.swi...
48.937743
169
0.666773
053db33c48cd22f3d8848f3bd2d2fd5a57f77c8a
6,344
/* * Copyright (C) 2017 Gautam Chibde * * 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...
27.582609
98
0.533417
34185c55a6c6c719549c3d941f5b79adc64f638d
1,757
/* * Copyright (C) 2010 Benoit Guerout <bguerout at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
30.293103
84
0.684121
ec2813a0ff13d345af8a46cb9b3d0940e22ed842
5,190
package duelistmod.events; import java.util.ArrayList; import com.megacrit.cardcrawl.characters.AbstractPlayer; import com.megacrit.cardcrawl.core.*; import com.megacrit.cardcrawl.dungeons.AbstractDungeon; import com.megacrit.cardcrawl.helpers.FontHelper; import com.megacrit.cardcrawl.localization.EventStrings; impor...
53.505155
159
0.656647
bf9b155c56ccf77ee24a68c10aafed59bd252a74
2,819
package com.aliyun.openservices.log.flink; import com.aliyun.openservices.log.common.LogItem; import com.aliyun.openservices.log.exception.LogException; import com.aliyun.openservices.log.producer.ILogCallback; import com.aliyun.openservices.log.producer.LogProducer; import com.aliyun.openservices.log.response.PutLogs...
27.368932
147
0.663001
2bf0c0cb821245519725fcf9aee1caaa95e35db4
782
package org.adorsys.adpharma.client.jpa.productfamily; import javafx.concurrent.Service; import javafx.concurrent.Task; import javax.inject.Inject; public class ProductFamilyEditService extends Service<ProductFamily> { @Inject private ProductFamilyService remoteService; private ProductFamily entity; p...
21.135135
73
0.667519
f6b39fc30a3b549c483887d9a27d91920faf5154
47,134
/* * Copyright 2010 Vrije Universiteit * * 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.070534
87
0.393028
2d83b635853aed293770696e35924981d2382c99
4,013
package com.example.healthtracker.EntityObjects; import android.content.Intent; import android.os.Bundle; import android.app.Activity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; import android.widget.Tex...
37.858491
112
0.707949
4dbb29b1922d4875bdd178c7b14958a0010ee686
7,582
/* * JPPF. * Copyright (C) 2005-2019 JPPF Team. * http://www.jppf.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
32.681034
133
0.684516
630273e313b92c915157c333abf67efdd0693a3e
4,309
package frc.robot.commands.auton; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import frc.robot.RobotContainer; import frc.robot.commands.AutoArcDrive; import frc.robot.commands.AutoDrive; import frc.robot.commands.AutoGather; import frc.robo...
47.351648
163
0.657925
f783ae7317105fcfaad6a27d56c9fbf3deb60ee3
2,313
package com.bluewind.boot.module.sys.sysroleinfo.service; import com.bluewind.boot.module.sys.sysroleinfo.entity.SysRoleInfo; import com.bluewind.boot.module.sys.sysroleinfo.entity.XmSelect; import com.bluewind.boot.common.utils.JsonTool; import com.bluewind.boot.module.sys.sysroleinfo.mapper.SysRoleInfoMapper; import...
20.469027
73
0.6377
f757bbde7debdda943a755378170a073c39e5212
440
package a_Introductory; public class Vector2D { public Integer x, y; Vector2D(Integer x, Integer y) { this.x = x; this.y = y; } /* Construct Vector2D from two points */ Vector2D(Point p1, Point p2) { this.x = p2.x - p1.x; this.y = p2.y - p1.y; } public int dotProduct(Vector2D v) { return (x * v....
17.6
44
0.606818
67fe0f55e23faa340c9f2507ec00670652f9cf19
238
package ru.taskurotta.recipes.calculate; /** * User: dimadin * Date: 22.10.13 12:49 */ public class RandomDeciderException extends RandomException { public RandomDeciderException(String message) { super(message); } }
18.307692
61
0.705882
7093882c4493017a7712bf76cc2798cebe491759
1,465
package com.ceiba.tarifa.adaptador.repositorio; import com.ceiba.infraestructura.jdbc.CustomNamedParameterJdbcTemplate; import com.ceiba.infraestructura.jdbc.sqlstatement.SqlStatement; import com.ceiba.tarifa.modelo.entidad.Tarifa; import com.ceiba.tarifa.puerto.repositorio.RepositorioTarifa; import org.springframewor...
40.694444
144
0.80273
38adf980cf22ca8472ffcbd78ee55a6c3e7f33b8
1,138
package com.rwork.cloudeye.dao; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class MysqlUtil { /*public static void main(String[] args) { try{ Class.forName("com.mysql.jdbc.Driver"); System.out.println...
27.095238
108
0.695958
6cdb57c6da4117763f2462a4763dc2f2d9190373
18,795
/* * Copyright (c) 2007-2018 Siemens AG * * 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, merg...
45.953545
115
0.695132
c70eec999ec8fb1c210c00555ebfa05d5a088584
133
package com.lieve.online.base.dao; import com.lieve.online.base.common.IBaseDao ; public interface SysFuncDao extends IBaseDao { }
19
46
0.796992
4a220410db2b8a93d44d8bfb36bf6c132e44ae61
370
package rikka.bukkit.tileentity; import org.bukkit.block.BrewingStand; import rikka.api.tileentity.carrier.IBrewingStand; public final class BukkitBrewingStand extends BukkitTileCarrier<BrewingStand> implements IBrewingStand { public BukkitBrewingStand(BrewingStand source) { super(source); } publ...
24.666667
104
0.751351
3c584f36ec7179953e61e089973f7e69bbbba7a0
2,110
package io.xdire.unicode; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.UnsupportedEncodingException; import static org.junit.Assert.*; /** * Created by xdire on 2/14/16. */ public class UTFStringReaderTest { String utf8String = "ߺ0ࠀhello€"; String utf16String = "...
23.186813
91
0.563981
1f7f18d8a3ef45e3f06fb8f78c6c177acbc483b3
568
package com.turreta.springboot.springdata.sp; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; @SpringBootApplication public class ComTurretaSpringbootSpringdataSpApplication { public static...
31.555556
104
0.827465
6c8433e7bcc9478a76c655842b0fa2d7fec9e1d3
953
package com.itsoul.lab.generalledger.validation; import com.itsoul.lab.generalledger.entities.TransactionLeg; import com.itsoul.lab.generalledger.entities.TransferRequest; import com.itsoul.lab.generalledger.exception.AccountNotFoundException; import com.itsoul.lab.generalledger.exception.InsufficientFundsException; i...
32.862069
91
0.839454
f8a38b031831debd927f04c09cf07fad33303577
776
package com.formssi.frms.system.vo; import com.formssi.frms.system.domain.SysUser; /** * @author gaoyuzhe * @date 2017/12/15. */ public class UserVO { /** * 更新的用户对象 */ private SysUser SysUser = new SysUser(); /** * 旧密码 */ private String pwdOld; /** * 新密码 */ pri...
16.510638
46
0.568299
3d439fcae182305cf99b6f2e81b37c13ead510e1
1,054
package EntityFX.Core.Scimark2; public class SOR { public static double num_flops(int M, int N, int num_iterations) { double md = (double)M; double nd = (double)N; double num_iterD = (double)num_iterations; return (((md - (1.0))) * ((nd - (1.0))) * num_iterD) * 6.0; } pub...
31
124
0.460152
d647a39340affcfb1bfdcdf6cee04ef40f58e19c
429
package com.gulimall.gulimallseckill.feign; import com.gulimall.common.utils.R; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; /** * @decription: * @author: zyy * @date 2020-06-29-21:10 */ @FeignClient("gulimall-coupon") public interface CouponFe...
22.578947
60
0.769231
f61182051dcea6e5215737421d4a2e45eb5b6b27
3,542
/** * MIT License Copyright (c) 2015 Rob Terpilowski 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, ...
27.038168
126
0.684641
3d1adf98346fbefd11775d20f3d4bbc7d9d2c119
4,847
package me.limeice.common.function.algorithm.security; import org.jetbrains.annotations.NotNull; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.util.Arrays; import javax.crypto.BadPaddingException; import j...
27.856322
122
0.632763
035ced9f37b8d5a74715a27e99ca8d728623aa47
431
package org.hmcore.tests.modules.impl; import org.hmcore.registration.ObjectInfo; import org.jetbrains.annotations.NotNull; public class JavaCustomObjectInfo extends ObjectInfo { private final int beanCount; public JavaCustomObjectInfo(@NotNull String texturePath, int beanCount) { super(texturePath)...
22.684211
77
0.726218
709ba352ad7aee2bda10cd5c2a6a9720c7977b93
1,644
/* * Copyright 2017 EpochArch.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
46.971429
132
0.718978
bf4da90390a095d5e8580f041aca354382c9eaa8
273
package br.com.siqueira.javacore.introducaoclasses1.classes; public class Estudante { // Molde, para diversos objetos, de diversos estudantes public String nome; // public: modificador de acesso public String matricula; public int idade; }
30.333333
87
0.70696
ed09edba5f55987b72ad3d04fa0fc1fa199041b6
327
package com.szb.platform.workflow.dal.entity; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.Table; /** * 调用过的进度方法,子流程 * * @author Wang.hm */ @Table(name = "ac_hi_child_invoke") public class ChildInvokeAfter extends ChildInvo...
18.166667
51
0.776758
02554791904ace0035a552de86c5cc6f3cb4cc13
1,104
package com.example.richsoap.backgroundData; import java.util.ArrayList; import java.util.List; import java.util.UUID; /** * Created by richsoap on 18-3-15. */ // TODO: 18-3-16 checkCurrentItemByUUID // TODO: 18-3-16 uncheckCurrentItemByUUID // TODO: 18-3-16 getTitleByUUID // TODO: 18-3-16 getCurrentItemByUUID //...
26.285714
56
0.673913
c295a5efbef6cad540c3aadfbcaac66d645d794b
680
package com.otcdlink.chiron.testing.junit5; import org.junit.jupiter.api.extension.ExtendWith; import java.lang.annotation.Repeatable; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementT...
30.909091
63
0.819118
a4d4dcde7c0ca827e48375fe6c75e077803fa015
425
package de.ustutt.iaas.cc; public class TextProcessorConfiguration { public static enum Mode { local, remoteSingle, queue }; public static enum MOM { SQS, ActiveMQ }; public Mode mode; public String textProcessorResource; public MOM mom; public String a...
16.346154
42
0.632941
dce255f62e37636eef6c60bdfee90e37dd54a69a
235
package main; public interface PaperDocumentInterface { void setType(String type); String getType(); void setTitle(String title); String getTitle(); void setContent(String content); String getContent(); }
14.6875
41
0.689362
fd8b82593b4fbddf0c31461ffbeea2ec089ad0db
1,228
package tech.cathywu.houcing.service; import com.mongodb.DBRef; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Query; import org.springframework.stereotype.Service; import tech.cathywu.houcing...
36.117647
109
0.785831
85d8d5a54f94292ff7818332f9f946ef7f12a651
3,090
/** * Copyright (C) 2013 Loophole, LLC * * Licensed under The Prosperity Public License 3.0.0 */ package io.bastillion.manage.control; import io.bastillion.common.util.AuthUtil; import io.bastillion.manage.db.ScriptDB; import io.bastillion.manage.model.Script; import io.bastillion.manage.model.SortedSet; imp...
32.87234
171
0.647249
8bd414ff6f90061582b55e2299339f70d50c1ef1
426
package com.gome.garbage.service; import com.gome.garbage.model.Point; import java.util.List; import com.gome.garbage.model.Bag; import com.gome.garbage.model.Recycle; public interface HistoryService { List<Point> findPointByPage(String loginToken, int page, int pageSize); List<Bag> findBagByPage(String loginToke...
30.428571
76
0.795775
a122e82ea3201ac0ea394a685c59ba3b83362ec1
319
package com.ppb.cpp.slack; import com.slack.api.bolt.App; import com.slack.api.bolt.servlet.SlackAppServlet; import javax.servlet.annotation.WebServlet; @WebServlet("/slack/events") public class SlackAppController extends SlackAppServlet { public SlackAppController(final App app) { super(app); } }
21.266667
57
0.755486
2d313a46747553c247d637ced0f56581aacb1bc5
875
package top.jfunc.http.component.apache; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import top.jfunc.http.component.AbstractRequesterFactory; import top.jfunc.http.component.CloseNoneCloser; import top.jfunc.http.req...
35
99
0.808
e75c48233b7eb91c4feeb6d90faa794d44b47909
3,168
package org.apache.cayenne.scaladsl.server.test.model.auto; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.List; import org.apache.cayenne.BaseDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.scaladsl.server.test.model.Rea...
28.540541
96
0.647727
d8e075fa399bdf1a5f7dec7527a02313b1241799
23,797
package com.aliyun.ros.cdk.gws; /** * A ROS resource type: `ALIYUN::GWS::Instance`. */ @javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:58.139Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cdk.gws.$Module.class, fqn = "@alicloud/ros-cdk-gws.Instance") public...
44.731203
344
0.637685
0c9228ec6e07a7c59010f37738281af47328fdbf
2,003
package nl.mirabeau.ceddl4j; import java.io.IOException; import java.util.Date; import org.json.JSONException; import org.junit.Test; import org.skyscreamer.jsonassert.JSONAssert; public class EventTest { @Test public void testEvent() throws IOException, JSONException { final Date date = new Date(0); final...
23.564706
77
0.681478
0fb18f615182ebd6973a99b82ec58593e6aaacd4
218
package com.comcast.pop.handler.kubernetes.support.config; import com.comcast.pop.modules.kube.client.config.NfsDetails; public interface NfsDetailsFactory { NfsDetails createNfsDetails(String propertyPrefix); }
24.222222
61
0.825688
5bbf1eeea90e9cd8183d8988844930cfb5d20154
482
public static void copyFromTo(String src, String des) { staticprintln("Copying:\"" + src + "\"\nto:\"" + des + "\""); try { FileChannel srcChannel = new FileInputStream(src).getChannel(); FileChannel dstChannel = new FileOutputStream(des).getChannel(); dstChannel....
40.166667
76
0.570539
b4e7b5562916f7a46d19a7f5b8fac34e41bf5aa4
581
package com.fkf.juc.c_031; import java.lang.reflect.Field; import java.util.HashSet; import java.util.Set; /** * @author fankaifeng * @date 2020/5/13-9:34 */ public class Test_Final { public static void main(String[] args) throws Exception { ThreeStoopes stoopes = new ThreeStoopes(); Field fiel...
25.26087
69
0.654045
adc36afd9e5ab9be2b0b8c18d9f3ab94b7e56186
4,474
/** * Copyright (C) 2012-2019 Philip Helger * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
35.507937
106
0.673
dfd5bc9766e1dcf874b091e3280d14cb56b2bbdb
960
package com.hutong.supersdk.service.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.hutong.supersdk.SuperSDK; import com.hutong.supersdk.mysql.inst.model.SdkConfig; public class ServiceCommon { @SuppressWarnings("unused") private static final Logger logger = LoggerFactory.getLogger(Serv...
29.090909
110
0.757292