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
6d032411422869418908e5827f7ad15f245d4ea0
2,492
package io.funbet.security; import io.funbet.model.entity.UserEntity; import io.funbet.repository.UserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.Cacheable; import org.springframework.security.authentication.AuthenticationProvider; import org.s...
43.719298
130
0.715891
6c82da9ec087f8fdd116823f50c7a15ad03790e6
158
package ch.hslu.pcp.sw8; public interface GeneralInterface { default public void doIt() { System.out.println("Do it the GENERAL way."); } }
17.555556
53
0.658228
ff304757c2c5e0a35e291ba915bb3c22f09311e4
9,040
/******************************************************************************* * Copyright 2015 - CNRS (Centre National de Recherche Scientifique) * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additio...
29.16129
112
0.644248
74867f4e959e14eada58b4cae0370a2efb470f2a
1,032
package com.pedromateus.zupacadey.MercadoLivre.config; import org.springframework.boot.web.servlet.FilterRegistrationBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org...
29.485714
88
0.781977
a6bbb57c7dc85c3c5fa93c4677fb95d9be65ff47
2,610
package dev.bstk.gameokkjogoforca.domain.service.factory; import com.fasterxml.jackson.databind.ObjectMapper; import dev.bstk.gameokkjogoforca.domain.model.Dica; import dev.bstk.gameokkjogoforca.domain.model.PalavraSecreta; import org.springframework.core.io.ClassPathResource; import java.io.IOException; import java....
34.342105
98
0.691188
cfc1075a483953e765df612d7369f164d0f07486
1,191
package com.dv.student.api.controller; import com.dv.student.api.exception.BadRequestException; import com.dv.student.api.model.Student; import com.dv.student.api.service.StudentService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.s...
36.090909
97
0.739715
874f603dacd308cb926585d00bb203831d5c92b0
488
package com.lufax.jijin.ylx.request.domain; import com.lufax.jijin.ylx.batch.dto.YLXBatchDTO; import com.lufax.jijin.ylx.batch.dto.YLXBatchFileDTO; import java.io.File; import java.math.BigDecimal; public interface IYLXRequestWriter { public static final int ROWNUM = 500; // batchSize public BigDecimal writeReq...
28.705882
147
0.79918
5ab40cd11ebb9555b10d84ae8b87454856d34229
4,225
package com.vbyte.decisionengine.fields; import com.alibaba.fastjson.JSON; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; im...
24.005682
77
0.551716
795696a8a29f5561b07a72a09c705c6585adabc0
1,817
package com.github.zeroone3010.openinghoursparser; import java.time.DayOfWeek; import java.time.format.DateTimeFormatter; import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; import java.util.Optional; final class LocalizedTokens { private final Map<String, TokenType> tokens = new LinkedHa...
34.942308
106
0.719318
833847db15d6434f749980757f8c565e9968753f
3,211
package com.zoctan.api.controller; import com.zoctan.api.core.response.Result; import com.zoctan.api.core.response.ResultGenerator; import com.zoctan.api.entity.Dbvariables; import com.zoctan.api.entity.Enviroment; import com.zoctan.api.entity.Project; import com.zoctan.api.service.ProjectService; import com.github.pa...
32.434343
145
0.66459
ffe10ed0be5c368d2e1296bb68484bce80e98257
7,866
/* * Copyright 2003-2020 JetBrains 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 or agre...
44.948571
152
0.705187
a3574c21188d495ebd4b948a555b2bef9329d4f4
1,414
package com.bai.ding.common.exception.handler; import com.bai.ding.common.Result; import com.bai.ding.common.exception.JwtException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.RestControllerAdv...
31.422222
100
0.700141
72bda4bfcaa5994e17976cc7e1380cd2d77b400f
1,434
package org.fitting.dnsproxy.server; import static org.apache.commons.lang.StringUtils.startsWith; /** Session utils. */ public final class SessionUtils { public static String GET = "GET"; public static String HEAD = "HEAD"; public static String POST = "POST"; public static String PUT = "PUT"; pub...
34.142857
81
0.610181
81ed3f1daa5c5d0d7a2e67da6c65c0cc0e98319d
14,032
/* * Copyright (C) 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 ...
39.750708
148
0.652223
15c0292e7445afb9057374a2267db9ad23e4bde2
3,266
package es.nimio.nimiogcs.maven.subtareas.proyecto; import es.nimio.nimiogcs.errores.ErrorInesperadoOperacion; import es.nimio.nimiogcs.jpa.entidades.operaciones.ProcesoAsincrono; import es.nimio.nimiogcs.jpa.entidades.proyectos.ElementoBaseProyecto; import es.nimio.nimiogcs.jpa.entidades.proyectos.EtiquetaProyec...
41.341772
110
0.766993
d2a2e2f9c93120b3e2610fd0a6acbea2bda15a5f
110
package com.petstore.whale.client; public interface Cache<K, V> { void put(K k, V v); V get(K k); }
13.75
34
0.618182
9bc3cac215c14613cf0a083ac97eace94eb225a7
3,629
package edu.fiuba.algo3.controlador; import edu.fiuba.algo3.modelo.Partida; import edu.fiuba.algo3.modelo.ciudad.Ciudad; import edu.fiuba.algo3.modelo.jugador.Jugador; import edu.fiuba.algo3.vista.ContenedorJuego; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Insets; import ...
40.775281
128
0.718104
6a7aad620ad25cefce268cc0ceff24e23cf777e6
834
package com.example.pengyuanfan.fablix.util; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.Button; /** * Created by pengyuanfan on 6/9/2016. */ public class DontPressWithParentButton extends Button { public DontPressWithParentButton(Context con...
26.0625
89
0.689448
a59d5d12c3128e00a12c4c73a59135464142f82b
726
package <%= basePackage %>.model.dto.<%= snakeResourceName %>; import java.io.Serializable; import java.util.List; import org.seasar.doma.Entity; import org.seasar.doma.Transient; import org.seasar.doma.jdbc.entity.NamingType; import <%= basePackage %>.model.entity.<%= resourceName %>; import lombok.Data; /** * <%...
18.615385
72
0.695592
9b3ee5cb8b99fb586aed33f43b2bc8cfb3464dc8
233
package io.cattle.platform.api.requesthandler; import io.github.ibuildthecloud.gdapi.request.ApiRequest; import java.io.IOException; public interface ScriptsHandler { boolean handle(ApiRequest request) throws IOException; }
19.416667
58
0.811159
eb088df7f68ef4ef5ca67819586e95d97b57bc5f
709
package com.hamusuke.battlebgmplayer.network.packet.c2s; import io.netty.buffer.ByteBuf; import net.minecraft.entity.EntityLiving; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; public final class ContactServerMobC2SPacket implements IMessage { private int mobId; public ContactServerMobC2S...
22.870968
66
0.700987
3697babbfc129d469fe1c007081cb3310f4c17ee
8,870
package md2html; import java.io.*; import java.util.ArrayList; import java.util.List; public class Md2Html { private static final String encoding = "UTF-8"; public static void main(String[] args) { if (args.length != 2) { System.err.println("usage: java Md2Html <file.in> <file.out>"); ...
31.122807
153
0.387599
9f0b4951988531e3b36213f3798a03f064a9cfdc
88
package com.example.casadocodigo.validacaoCpfCnpj; public interface DocumentoCnpj { }
14.666667
50
0.829545
9ec381b50f74fbb5c23b9753d9440b64407717d5
397
/* Copyright (C) 2001, 2008 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. */ package gov.nasa.worldwind.applications.gio.csw; /** * @author dcollins * @version $Id: RequestId.java 5466 2008-06-24 02:17:32Z dcollins $ */ publi...
20.894737
71
0.738035
c80726c0289b779e88d2638ceecea2d1ac330c3f
786
//,temp,ShowCompactionsOperation.java,43,66,temp,ShowTransactionsOperation.java,43,64 //,3 public class xxx { @Override public int execute() throws HiveException { SessionState sessionState = SessionState.get(); // Call the metastore to get the currently queued and running compactions. GetOpenTxnsInfoRe...
29.111111
97
0.665394
3fa276be620c74c3447f7ec50196fed11e19956c
2,871
package com.mylove.module_hotel_launcher; import android.content.Intent; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.widget.ImageView; import android.widget.TextView; import com.alibaba.android.arouter....
29.597938
81
0.668757
fff1f0dc1a6511f5b89c4f3ac1f9fe109da9d1fa
2,788
/* * 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 ...
24.892857
75
0.662841
be723c2d2f0186b87a5dee3a908b3cb124032e9c
2,356
package org.atlasapi.system.bootstrap.workers; import java.util.Set; import org.atlasapi.entity.ResourceRef; import org.atlasapi.media.entity.Publisher; import org.atlasapi.messaging.EquivalenceAssertionMessage; import org.atlasapi.messaging.v3.ContentEquivalenceAssertionMessage; import org.atlasapi.messaging.v3.Cont...
38.622951
98
0.697368
9ad3701d4f2edd477efb39bd96aa7b08e7e6a6cf
4,048
/* * Copyright 2017 StreamSets 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...
33.733333
107
0.760623
633d5332d59fff0775d0eafb0d2f826b67dd92d1
1,381
package ro.pub.cs.systems.eim.practicaltest01.practicaltest01; import android.content.Context; import android.content.Intent; import android.provider.SyncStateContract; import java.util.Date; /** * Created by mada on 30.03.2016. */ public class MyThread extends Thread { private boolean isRunning = true; pr...
25.109091
118
0.635047
05db131d29457bb51946d6b1bb1d964b4a6982d5
813
package com.shy.ssm.controller; import com.shy.ssm.bean.User; import com.shy.ssm.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annot...
21.972973
62
0.735547
5252dd16f2f927d616df727db7ee1a8f2d4079f5
621
package ru.r2cloud.jradio.blocks; import org.junit.Test; import ru.r2cloud.jradio.FloatInput; import ru.r2cloud.jradio.TestUtil; import ru.r2cloud.jradio.source.WavFileSource; public class FrequencyXlatingFIRFilterTest { @Test public void test() throws Exception { float[] taps = Firdes.lowPass(1.0, 222222.0f, 2...
31.05
190
0.772947
bba427f94f0dd2a9cc6727592acd81848895a794
2,520
public static void beginParsingByLine(String filename){ try { Scanner sc = new Scanner(new File(filename)); Scanner scancmd;//Declare two scanners one to read the file and one to read the text pulled from the file while(sc.hasNextLine()){//While we have text to read String line = sc.nextLi...
42
111
0.498413
e3473be7ca4efad8599c494aeecaa5dd3d8caacd
2,692
/* * Copyright 2018 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...
26.653465
81
0.645617
33db1b5ea6bcbb3f41ecda9c872817c1f82ee77b
807
package daily; import java.util.List; /** * @author ber * @version 1.0 * @date 21/9/14 15:58 */ public class T524 { class Solution { public String findLongestWord(String s, List<String> dictionary) { String res = ""; for (String t : dictionary) { int i = 0, j = ...
25.21875
108
0.360595
7808195730986a83e2940e6c604ba99de2b33491
2,115
package com.today.roc.springboot.base.common; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.web.server.ConfigurableWebServerFactory; import org.springframework.boot.web.server.ErrorPage; import org.springframework.boot.web.server.WebServerFactoryCustomizer; import org.springframework.context.annota...
30.652174
140
0.711584
b30ae80e83b440a760f88c69f7eb48901e46512d
910
package com.domo4pi.gsm; import com.domo4pi.utils.Timer; import com.domo4pi.utils.inject.Inject; import java.util.LinkedList; import java.util.concurrent.TimeUnit; public class SMSSenderTimer extends Timer { @Inject private GSMManager gsmManager; public SMSSenderTimer() { super("GSM.SMSSender")...
20.681818
73
0.625275
4662207f25dccf1ac4ba01a7c5381a208e36dfe2
1,016
package com.xe.alipay.service.imp; import com.google.common.cache.Cache; import com.xe.alipay.config.CacheConfig; import com.xe.alipay.model.Customer; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.CacheManager; import org.springframework.stereotype.Service; import jav...
29.882353
132
0.769685
70cd8528a9c30a9b2ea0d151de54f2a00bb1c31f
1,655
package edu.ntvu.jsp.servlet; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; public class MainServlet extends HttpServlet { ...
35.212766
123
0.607855
03d80aa76234956841a18a2ed1c98cbc2393d616
4,468
package frc.team1138.robot.commands; import edu.wpi.first.wpilibj.PIDController; import edu.wpi.first.wpilibj.command.PIDCommand; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import frc.team1138.robot.Robot; public class DriveWithEncoders extends PIDCommand { double distance, speed; // parameter to se...
35.460317
112
0.7265
67a0038b19c4e59556abd8dd3376c96dfb5eee7c
3,163
package ru.bibarsov.telegram.bots.like.repository.storage; import org.apache.commons.lang3.tuple.Pair; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.bibarsov.telegram.bots.common.util.Action; import ru.bibarsov.telegram.bots.like.repository.dao.InlineMessageDao; import javax.annotation.Parameters...
35.144444
107
0.641163
31b5cef28693ac4751e354026a8c986b0ef60579
1,874
package com.tugab.adspartners.domain.entities; import lombok.Data; import org.hibernate.validator.constraints.Length; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.util.Date; import java.util.List; @Data @Entity @Table(name = "ad") public class Ad { @Id @GeneratedValue...
27.970149
117
0.714514
6076422932e95b3f086574ec668ac9512e22f265
1,398
package com.dataiku.dctc.display; import java.util.List; import com.dataiku.dctc.copy.CopyTaskRunnable; class SimpleDisplay extends AbstractThreadedDisplay { @Override protected final boolean display(CopyTaskRunnable task) { if (task.isDone()) { if (task.getException() != null) { ...
24.964286
64
0.54721
ca6bec273b71b2eac516133287f7560e3f1e184e
1,631
package com.prvyx.model.domain; import java.util.Date; /** * @program: java-bilibili * @description: 用户观看视频历史记录的domain * @author: Prvyx * @created: 2022/04/10 17:19 */ public class UserWatchVideoHistory { private String video_id; private String video_title; private String video_img_path; private...
23.3
135
0.675659
42d4f698b654148dfeebfd81cb6f53a68c79e5c9
371
package com.marshalchen.ultimaterecyclerview.expanx.Util; import com.marshalchen.ultimaterecyclerview.expanx.ExpandableItemData; /** * Author Zheng Haibo * PersonalWebsite http://www.mobctrl.net * Description */ public interface ItemDataClickListener<T extends ExpandableItemData> { void onExpandChildren(T i...
20.611111
70
0.787062
c3f629f22c24b083f33266a5eed55e5cf85604df
7,043
/* * Copyright (c) 2017, WSO2 Inc. All Rights Reserved. */ package org.wso2.carbon.cloud.complimentary.users; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.wso2.carbon.cloud.complimentary.users.exception.CustomerException; import org.wso2.carbon.cloud.complimentary.u...
42.684848
117
0.677694
15c795eff0bbc62f5137e31548be1c0d9cb71903
663
package com.api.adapter; import com.api.result.GlobalErrorInfoException; import com.api.result.messageenum.GlobalErrorInfoEnum; import java.util.HashMap; import java.util.Map; /** * 适配器容器 */ public class HISTransAdapterContainer { static Map<String,Object> adapterMap = new HashMap<String,Object>(); public stat...
23.678571
88
0.767722
5fd540f29f05c029d69c209f90ffcc4f28003d4f
2,463
package org.usfirst.frc.team6094.robot.commands; import org.usfirst.frc.team6094.robot.Robot; import edu.wpi.first.wpilibj.command.Command; public class PiToAngle extends Command { private Integer GAngle; private boolean autonRunning; private boolean Inverted; public PiToAngle(Integer Angle, boolean Reversed) {...
27.065934
78
0.664231
59739a3eebd1b83a7b710fd217ba46867817a597
2,283
package org.joverseer.engine.orders; import org.joverseer.domain.Army; import org.joverseer.domain.ArmyElement; import org.joverseer.domain.ArmyElementType; import org.joverseer.domain.Order; import org.joverseer.engine.ErrorException; import org.joverseer.engine.ExecutingOrder; import org.joverseer.engine.Exe...
35.123077
218
0.734998
c675999fc957fd922bde6708322750f6a9f867b0
5,516
/* * The MIT License * * Copyright 2020 Raymond Buckley. * * 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,...
45.213115
148
0.673133
bb6c628e4873288f478239ebec055eaa84d573b5
1,245
package fastdex.build.lib.snapshoot.file; import fastdex.build.lib.snapshoot.api.Status; import java.util.HashSet; import java.util.Set; /** * Created by tong on 17/3/30. */ public class Options { private final Set<String> suffixList = new HashSet<>(); private Status[] focusStatus = null; public stati...
25.9375
85
0.526104
c5529af91d54006736414fe694e21c6e6581b75e
5,779
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.javascript.as...
28.46798
94
0.597335
d25dc468ab13aded844759858b6b2f4168f93d02
2,319
package com.koch.ambeth.persistence.xml; /*- * #%L * jambeth-test * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * 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.apa...
32.661972
80
0.790427
0c456da9621ba73db31b323c4123d032d7889087
6,326
package com.cloud.ratelimit.integration; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import com.cloud.api.response.ApiLimitResponse; import com.cloud.api.response.SuccessResponse; import com.cloud.legacymodel.exceptions.CloudRuntimeException; import java.util.HashMap; i...
33.470899
137
0.563547
5ae9d011d80fb93c9e53e18a1ba4a83e1e660883
1,458
package no.ssb.vtl.script.error; /*- * ========================LICENSE_START================================= * Java VTL * %% * Copyright (C) 2016 - 2017 Hadrien Kohl * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
31.021277
99
0.655693
9ce999646088c585c18352385fb885fd73d02103
1,988
// // MessagePack for Java // // Copyright (C) 2009 - 2013 FURUHASHI Sadayuki // // 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-...
25.818182
78
0.591046
491c3d21677b2fc4d52c034f8f9fbff2e8b91f81
15,147
package com.quorum.tessera.data; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import javax.persistence.*; import java.util.*; import java.util.stream.Collectors; import java.util.stream.IntStream; import static org.as...
44.031977
116
0.707665
7addb6c5fc59b5f2f54879d37d15ecbab17e30d9
268
package org.commandftc.tests; import org.commandftc.Trigger; public class MyTrigger extends Trigger { private boolean value = false; @Override public boolean get() { return value; } public void set(boolean v) { value = v; } }
17.866667
40
0.63806
ebff70a13b241697dd11c17d205283506fe23f4d
141
package tk.dczippl.lasercraft.fabric.util; public enum LaserColor { WHITE, RED, BLUE, CYAN, GREEN, PURPLE, YELLOW, BLACK, ORANGE }
10.071429
42
0.70922
03455085881e158ba9c1c3c3d96968da2ca04645
2,563
package snackBarApp;; public class Main { public static void workWithData() { //customers Customer c1 = new Customer("Jane", 45.25); Customer c2 = new Customer("Bob", 33.14); //vending machines VendingMachine food = new VendingMachine("food"); VendingMachine ...
39.430769
131
0.587593
5af704126008de6e161c1d8ff28ea932e350d7a7
317
import android.app.Activity; import com.squareup.leakcanary.LeakCanary; import javax.annotation.Generated; class TestActivity extends Activity { String mayReturnNull(int i) { return "Hello, Infer!"; } int cantCauseNPE() { String s = mayReturnNull(0); return s.length(); } }
19.8125
42
0.665615
c9ce202583612ec9b8f0c0d80f7feb01bdcf1ca7
3,711
/* * Copyright 2009-2019 University of Hildesheim, Software Systems Engineering * * 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...
31.184874
109
0.622474
7a079a8bed9bcf830525cd1fdbf08b4e0750423d
1,981
package com.ziponia.google; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.ziponia.google.maps.GoogleMapsClientInterceptor; import com.ziponia.google.maps.GoogleMapsRepository; import com.ziponia.google.youtube.YoutubeRepository; import okhttp3.OkHttpClient; import retrofit2.Call; im...
34.155172
89
0.697123
e4af988b191f3973f3e5e96c6fdbca3023ddd68e
421
package com.vip001.bubblebar.view; import android.app.Application; /** * Created by vip001 on 2017/11/1. */ public class BrothersApplication extends Application { private static BrothersApplication mApplication; @Override public void onCreate() { super.onCreate(); mApplication = this; ...
19.136364
56
0.688836
09c9052e2915d0104308270ab93b151e6f317283
1,962
package lingogo.testutil; import static lingogo.logic.parser.CliSyntax.PREFIX_ENGLISH_PHRASE; import static lingogo.logic.parser.CliSyntax.PREFIX_FOREIGN_PHRASE; import static lingogo.logic.parser.CliSyntax.PREFIX_LANGUAGE_TYPE; import lingogo.logic.commands.AddCommand; import lingogo.logic.commands.EditCommand.EditF...
40.875
98
0.712538
c0981a0b431f5fa9eb4ac5c032bc80bd2f998a47
6,317
package org.firstinspires.ftc.teamcode.utils; import android.os.Environment; import android.util.Log; import com.sun.tools.doclint.Env; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util....
34.708791
157
0.692259
32bfb44b2fa0d7b85b934ea277251407e3c00c41
1,077
package io.cucumber.java; import org.apiguardian.api.API; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Register a data table type. * <p> * The signature of the method is used to determine whic...
34.741935
117
0.741876
17f48b41595feb836051e4b672f54eec60e3e494
298
package ro.msg.learning.shop.Repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import ro.msg.learning.shop.Entities.Customer; @Repository public interface CustomerRepository extends JpaRepository<Customer, Integer> { }
27.090909
78
0.842282
010e895f3f8306fcdcc3c9cf4ee7b61f62e84147
2,675
package org.bozdogan; import java.io.IOException; import java.nio.file.*; import java.nio.file.attribute.BasicFileAttributes; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import static org.bozdogan.util.Hashing.sha1FromFile; import static org.bozdogan.util.Hashin...
35.197368
104
0.557757
38bd381c1a42f5cb133471591c0119e93aa199ff
1,095
package com.venky.swf.db.annotations.column.validations.processors; import java.text.ParseException; import java.text.SimpleDateFormat; import com.venky.core.util.MultiException; import com.venky.core.util.ObjectUtil; import com.venky.swf.db.annotations.column.COLUMN_DEF; import com.venky.swf.db.annotations.column.de...
28.815789
117
0.747945
e2939dc90e71807dd6eedf26ef78542f8266f518
351
package Tools; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; public class IOUtilsTools { public String inputStreamToString(InputStream inputStream) throws IOException { return IOUtils.toString(inputStream, StandardC...
25.071429
83
0.783476
1f5e3e70689a4c510de9ee704dfa367b5e49378a
673
package org.baeldung.springevents.synchronous; import org.springframework.context.ApplicationListener; import org.springframework.lang.NonNull; import org.springframework.stereotype.Component; @Component public class GenericSpringEventListener implements ApplicationListener<GenericSpringAppEvent<String>> { // fo...
30.590909
103
0.762259
68677ae97e737135c555c2fcd6a778bfcee4bc2d
2,145
package com.commercetools.history.models.change; import java.time.*; import java.util.*; import java.util.function.Function; import javax.validation.Valid; import javax.validation.constraints.NotNull; import com.commercetools.history.models.common.LocalizedString; import com.fasterxml.jackson.annotation.*; import c...
28.986486
120
0.734732
3c89a7197a4beefcd1e8441bb9642720bddb8f6c
14,733
/* * Copyright (c) 2010-2019 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.model.impl.scripting; import com.evolveum.midpoint.common.StaticExpressionUtil; import com.evolveu...
50.455479
192
0.689744
2b56f69f3a5ab0badc411ff5c833d80d0c51c1e8
1,807
package evilcraft.api.config; import net.minecraft.client.renderer.entity.Render; import net.minecraft.entity.Entity; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import evilcraft.proxies.ClientProxy; /** * Config for entities. * For mobs, there is the {@link MobConfig}. * For enti...
28.68254
107
0.665744
383d9eb62eb7bd03e1808541c26b936018e7cbef
5,081
package net.encode.wurmesp.feature; import com.wurmonline.client.game.PlayerPosition; import com.wurmonline.mesh.Tiles; import java.awt.Color; import java.util.logging.Level; import java.util.logging.Logger; import net.encode.wurmesp.WurmEspMod; import net.encode.wurmesp.util.RenderUtils; import net.encode.wurmesp.uti...
40.325397
175
0.525684
55290fcdbec1a5c91adf7d52fff7b0c686434038
447
package net.mrsistemas.healthy.data.business.repository; import net.mrsistemas.healthy.data.business.model.DataSensor; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.data.mongodb.repository.Query; import java.util.List; public interface DataSensorRepository extends Mon...
31.928571
81
0.803132
3d89eca40ff16dd9dd5faabb6b8e41921f6e4c79
2,872
package net.swordie.ms.life.mob.boss.demian.sword; import net.swordie.ms.connection.OutPacket; import net.swordie.ms.util.Position; /** * Created on 17-8-2019. * * @author Asura */ public class DemianFlyingSwordNode { private DemianFlyingSwordNodeType nodeType; private DemianFlyingSwordPathIdx pathIdx; ...
23.540984
89
0.652855
fad17a7be747601c38a28d7b3a0a643ec26940cb
1,445
package com.migo.portal.controller; import com.migo.pojo.TbItem; import com.migo.portal.service.ItemService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spring...
33.604651
105
0.745329
f40812fafeb7ddb42425e88de55de7cc8df810f6
3,927
package com.github.cc3002.finalreality.controller.phases.subphases; import com.github.cc3002.finalreality.controller.GameController; import com.github.cc3002.finalreality.controller.phases.InvalidMethodCalledException; import com.github.cc3002.finalreality.controller.phases.InvalidTransitionException; import com....
38.126214
100
0.679654
c0b63045d1fb932497e62816f5b57a7f25ef9615
159
package com.example.weather; public class City { public String cityname; public String stateDetailed; public String tem1; public String tem2; }
15.9
30
0.72956
5431329d7338bdbfcdcc626f9921e6143c92dae8
500
package pw.mihou.rosedb.manager; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class ResponseManager { public static final Map<String, String> responses = new ConcurrentHashMap<>(); public static String get(String key){ String t = responses.get(key); responses.r...
22.727273
82
0.678
0cdd829cd9dcfc4409fafeb65d96119e76acd435
3,685
/* * Copyright 2011-2016 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 "licen...
45.493827
144
0.722931
8d20cdfd3b5a101a89ad7435c77bf7bddc28196c
1,121
package eu.applabs.allplaylibrary.event; import eu.applabs.allplaylibrary.services.ServiceType; public class ServiceConnectionEvent extends Event { public enum ServiceConnectionEventType { CONNECTED, DISCONNECTED, ERROR } private ServiceConnectionEventType mServiceConnectionEvent...
28.74359
115
0.760036
ef134644184f1fe495d786892bfda82a64508987
3,086
package com.amazonaws.services.iot.client.shadow; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.mockito.Mockito.lenient; import java.util.concurrent.atomic.AtomicLong; import or...
30.554455
100
0.722618
e11bf3c06cc856d2b38aca38c686746c72780b3c
2,584
/* * STFNReferenceHandler.java * * 03.05.2013 * * (c) by ollie * */ package archimedes.legacy.scheme.stf.handler; import archimedes.legacy.scheme.stf.*; /** * A class with the basic data for STF access of NReference objects. * * @author ollie * * @changed OLI 03.05.2013 - Added. *...
31.512195
93
0.642415
f131a15b1f94030a22b0773917c569f6f42398c5
2,300
/* * Copyright (c) 2015 EMC Corporation * All Rights Reserved */ package com.emc.storageos.model.vpool; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "file_protection") public class FileVirtualPoolProtectionUpdateParam extends VirtualPoolProtec...
27.710843
89
0.729565
05e8dab8c82362837b656a61c251a818af75df0f
2,854
/** * 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 distributed under ...
41.970588
141
0.724597
b476739614792fadb3d8c0ddf08980e084625d0d
1,379
package uni.UNI4950687.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import androidx.annotation.Nullable; import uni.UNI4950687.db.SupplierContract.SupplierEntry; public class DBHelper extends SQLiteOpenHelper { public static...
35.358974
132
0.684554
2fb278797bd982d8f8ed7d61efe3b56ceb64169d
2,110
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gaming/v1alpha/allocation_policies.proto package com.google.cloud.gaming.v1alpha; public interface CreateAllocationPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gaming.v1alpha.Create...
24.534884
108
0.656872
e77114940497d3ee65958ef189bcf7731b0eef55
2,980
package org.firstinspires.ftc.teamcode.util; public class RateController { private double m_rate; // factor for rate control private double m_maximumOutput = 1.0; // |maximum output| private double m_minimumOutput = -1.0; // |minimum output| private boolean m_enabled = false...
30.408163
119
0.62349
574b83345d6bc8d66506c443974ad08c22bc7cfc
249
package nerddinner.model; import lombok.Data; import java.util.List; @Data public class ValidationResult<T> { private Boolean isValid; private List<ValidationError> validationErrors; private T model; private String successUrl; }
16.6
51
0.751004
26279f3e5eda0dba507caec789402ca3954a41d2
2,095
package ir.shayandaneshvar.model.Assets; import ir.shayandaneshvar.model.Assets.BoardAssets; import ir.shayandaneshvar.model.Assets.Cell; import ir.shayandaneshvar.model.Assets.Piece; import ir.shayandaneshvar.model.Position; import javafx.scene.paint.Color; import org.jgrapht.Graph; import org.jgrapht.graph.DefaultEd...
34.344262
107
0.536038
a947fc44014c63fb6074f3966546006fa709d4ad
3,671
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.egeria.connectors.ibm.igc.repositoryconnector.stores; import org.odpi.egeria.connectors.ibm.igc.repositoryconnector.IGCOMRSRepositoryConnector; import org.odpi.openmetadata.repositoryservices.connectors....
35.640777
158
0.694906
f081a7a11533f6f1e218ea534bc4baaaba8839f2
2,055
/** * 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...
26.012658
78
0.707543
7e0e54fd783331499f06588c87fc6b28bae9e88a
2,488
package cn.originx.infix.mysql5.cv; /** * MySql关键字 */ public interface MySqlWord { interface Foreign { /* 设置NULL **/ String SET_NULL = "SET NULL"; /* 设置NO ACTION **/ String NO_ACTION = "NO ACTION"; /* 设置CASCADE */ String CASCADE = "CASCADE"; } interface ...
26.468085
61
0.495177
c17d9d8afb7b81004a6399d9cff97b2ec147205b
2,627
package it.davidenastri.clouddrive.services; import it.davidenastri.clouddrive.mapper.CredentialMapper; import it.davidenastri.clouddrive.mapper.UserMapper; import it.davidenastri.clouddrive.model.Credential; import org.apache.commons.lang3.RandomStringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; im...
37.528571
125
0.721355
377d14d2d499bdc24f8641adf8548d699177a417
858
package com.tenable.io.api.scans.models; import java.util.List; /** * Copyright (c) 2017 Tenable Network Security, Inc. */ public class ScanListResult { private List<Scan> scans; private int timestamp; /** * Get the list of scans. * * @return the list of scans */ public List<Sc...
16.5
52
0.551282
7a936347ec2db50e4d0a1ab1fd8534aff33996c7
1,602
/* * 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 com.worldpay.innovation.wpwithin.types; import java.util.HashMap; /** * * @author worldpay */ public class WWDevice { // ...
20.025
79
0.639201
a8a48444a5fb796707e4b553a392b31d92922a5d
1,294
package com.test.springBoot.readWriteFile; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import...
27.531915
73
0.644513