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
6b9890c7578e15c3a5f78c41b0b9667c4aa79cfd
5,489
package kafka.consumer; import kafka.common.KafkaException; import kafka.common.MessageSizeTooLargeException; import kafka.message.MessageAndMetadata; import kafka.message.MessageAndOffset; import kafka.serializer.Decoder; import kafka.utils.IteratorTemplate; import kafka.utils.Utils; import org.slf4j.Logger; import o...
46.12605
158
0.678266
4703271d944314892884527029515dc6994c595a
687
package com.elmakers.mine.bukkit.action.builtin; import org.bukkit.entity.Entity; import org.bukkit.entity.HumanEntity; import com.elmakers.mine.bukkit.action.BaseSpellAction; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.SpellResult; public class InventoryCloseAct...
29.869565
60
0.743814
c1be58607f2b80c665e97b65fcc644241bfeeacc
1,280
package com.siepoma.bw.palette.jsonextension.runtime.pojo.removenull; import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the com.siepoma.bw.palette.jsonextension.runtime.pojo.removenull package. ...
26.122449
174
0.691406
00b53033e3a429665cc2602ca920550c0c10e981
2,576
package com.pj.oauth2; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.RequestMapping; import org.springframewo...
27.698925
77
0.700699
32adae3d545392832ae89642a687c09a1de6c998
1,428
/* * Copyright (c) 2018, enoa (fewensa@enoa.io) * * 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...
24.62069
75
0.634454
718921fe84484642ae5cdb229108c03fcafeb852
2,418
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...
18.890625
813
0.793631
c034c72f643fdd3c81ddec1f0cfc2792eef715a9
3,438
package com.kasztelanic.carcare.service.impl; import com.kasztelanic.carcare.repository.RefuelRepository; import com.kasztelanic.carcare.repository.VehicleRepository; import com.kasztelanic.carcare.service.AverageConsumptionCalculator; import com.kasztelanic.carcare.service.CostCalculator; import com.kasztelanic.carca...
45.236842
117
0.775742
98679db1bf1dfc726cf344720024f78c98aa7b62
3,880
package controllers; import static play.libs.Json.toJson; import javax.inject.Inject; import com.fasterxml.jackson.databind.JsonNode; import models.Projetos; import play.db.jpa.Transactional; import play.libs.Json; import play.mvc.Controller; import play.mvc.Result; import play.mvc.Security; import repositories.Pro...
27.323944
92
0.736598
868bad35e6260df49936f2ab4933f26b4080e194
6,039
/* * * * Copyright smyld.org Authors. * * * * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 * */ package org.smyld.lang.script.core; import java.util.*; import java.util.stream.Collectors; import lombok.Getter; import lombok.Setter; import lombok.exte...
25.588983
108
0.680907
67cb9f4d1a2726611093f2910d4801ac17ea2369
1,095
package com.github.phonenumbermanager.dao; import com.github.phonenumbermanager.entity.UserRole; import org.springframework.dao.DataAccessException; import java.io.Serializable; import java.util.List; /** * 用户角色DAO接口 * * @author 廿二月的天 */ public interface UserRoleDao extends BaseDao<UserRole> { /** * 查询所...
22.346939
81
0.683105
21736cf850570f8ab892a12e1a50476fdeeeb9a1
1,430
package com.example.wenhaibo.android_liuming; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; public class MainActivity extends AppCompatActivity implements View.OnClickLis...
26
85
0.621678
b05fb9b2b2a31edeb9d617d061ce267074f2edf8
14,623
package org.appspot.apprtc;/* * Copyright 2014 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file ...
45.413043
98
0.788552
d1f18f2846ed88f1c6a3d0a928268c50d9179dc9
1,302
package me.saturn.delta.command; import me.saturn.delta.command.impl.Boom; import me.saturn.delta.command.impl.Crash; import me.saturn.delta.command.impl.Creative; import me.saturn.delta.command.impl.Dupe; import me.saturn.delta.command.impl.Help; import me.saturn.delta.command.impl.Item; import me.saturn.delta.comman...
31
102
0.675115
2cafc3e0aa02e07b3f579d12730c86ce41753115
2,480
package sample; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.PasswordField; import java.awt.*; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.ResourceBundle; public class links { @FXML pr...
22.142857
142
0.570968
55a90557c5e9449c56be7bd0d5d7fe98f8e74bd3
5,539
package uk.co.streefland.rhys.finalyearproject.gui; import javafx.application.Application; import javafx.application.Platform; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Alert; import javafx.scene.control.DialogPane; import javafx.scene.image.Image...
35.50641
144
0.611121
490cf7ec2802031a3cde8faf4744e9d87fdf22f2
885
package com.fjx.mg.sharetoapp.adapter; import com.chad.library.adapter.base.viewholder.BaseViewHolder; import com.fjx.mg.R; import com.library.common.base.adapter.BaseAdapter; import com.tencent.qcloud.uikit.business.session.model.SessionInfo; import com.tencent.qcloud.uikit.business.session.view.SessionIconView; /**...
31.607143
76
0.743503
f6995f633114b8981c451dc597a0dc40b6663928
544
package dev.vality.fraudbusters.stream; import dev.vality.fraudbusters.domain.CheckedResultModel; import org.antlr.v4.runtime.ParserRuleContext; import java.util.List; import java.util.Optional; public interface RuleCheckingApplier<T> { Optional<CheckedResultModel> apply(T model, String templateKey, Long timest...
30.222222
114
0.8125
838af25c21c38c42c3f1997c299373c280b25707
15,028
/* * Copyright (c) 2006-, IPD Boehm, Universitaet Karlsruhe (TH) / KIT, by Guido Sautter * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain...
30.669388
158
0.687716
831e39d177dc2fb97afc12f4e61d7128fc529ad7
3,866
/* * 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 map; import map.tiles.HealthTile; import map.tiles.Tile; import util.Vec2; /** * * @author Kosmic */ public...
29.287879
113
0.450854
e8b2ef04f34bf2c59801d35fb56f4ed307a193ae
2,087
package com.thisobeystudio.infiniteviewpager; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.thisobeystudio.infiniteviewpager.basicdemo.BasicUsageActivity; import com.thisobeystudio.infiniteviewpager.basicdemo.IndicatorsAc...
33.126984
85
0.668424
08e325a081c7e370498343b63b2e9c61ef6fe8d1
9,994
package com.reversecoder.library.verticalstepper; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import java.util.Vector; /** * @author Md. Rashsadul Alam */ public class VerticalStepperAdapter extends RecyclerView.Adapter<VerticalStepperViewHolder> implements VerticalStepperViewHold...
34.109215
156
0.641885
f823ee6fb747c52d16f41d33d971fde55d5c369d
1,287
/* See LICENSE for licensing and NOTICE for copyright. */ package org.ldaptive.beans.reflect; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.List; /** * Reflection transcoder for an object that implements {@link List}. * * @author Middleware Services */ pub...
23.4
104
0.685315
69b3cdcac9ec222a3ab99040ddfe77e9fc7b24b5
540
package br.com.fatecmogidascruzes.domain; import java.time.LocalDateTime; import java.util.UUID; public interface Entity { public Long getId(); public void setId(Long id); public UUID getHash(); public void setHash(UUID hash); public LocalDateTime getCreationDate(); public void setCreationDate(LocalDateTi...
17.419355
57
0.77963
58c91ab5dbf95afc9f215671fafd140812ecf4bd
189
package mmm; public class Time { public static void sleep(int time) { try { Thread.sleep(time); } catch(InterruptedException e) { // Can't happen on NXT. } } }
14.538462
38
0.592593
b005efeacaf9d6a6684a87d014c969ce2565ce44
1,987
package neoe.ime.neoeedit; import java.util.ArrayList; import java.util.Collections; import java.util.List; import neoe.ime.ImeLib; import neoe.ime.ImeUnit; import neoe.ime.NoDupList; import neoe.ime.cn.CnCharLib; import neoe.ime.cnen.CnEnDict; import neoe.ne.Ime; import neoe.ne.Ime.ImeInterface; publi...
21.835165
63
0.624056
7ac74d5aa954cfaecc6939909659b340a6034e74
255
package top.kagerou.lang.repository; import org.springframework.data.jpa.repository.JpaRepository; import top.kagerou.lang.entity.GroupMessageEntity; public interface GroupMessageEntityRepository extends JpaRepository<GroupMessageEntity, Integer> { }
25.5
98
0.85098
252017b29086f3c6486ad4179b3def43f681200e
982
package com.uclab.leanuxplatform.controllers.screens; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Label; import javafx.scene.control.ProgressBar; import org.springframework.stere...
20.040816
63
0.653768
13591ca61e8ca2d56278a4eeabda9d5ef3bf6d4e
183
package com.firmaBudowlana.springdemo.dao; import com.firmaBudowlana.springdemo.entity.Role; public interface RoleDao { public Role findRoleByName(String theRoleName); }
20.333333
50
0.781421
d8a8c0c0650f92648b928e9828a4f074c00bb332
5,013
/* * Copyright (c) 2015, SRI International * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source a...
38.860465
118
0.784361
fa40a302174bf8c956e5870427a7126a8db931a8
1,513
package com.jojoldu.blogcode.querydsl; import com.jojoldu.blogcode.querydsl.domain.academy.Academy; import com.jojoldu.blogcode.querydsl.domain.academy.AcademyRepository; import com.jojoldu.blogcode.querydsl.domain.academy.AcademyRepositorySupport; import org.junit.After; import org.junit.Test; import org.junit.runner...
27.509091
77
0.732981
648b7402124d32bf9e6bb311bc052dfc650b7781
867
package com.github.chathamabate.peru.type; import java.util.Objects; import com.github.chathamabate.peru.fa.*; /** * Here is a Tagged abstract class... right now can apply to both * data tags (think "INT", "DOUBLE" ... etc) * and also operation tags (think "ADD", "SUBTRACT" ... etc) * * @param <TG> Tag enum. */...
22.815789
66
0.592849
e55cb2d3661fe4fd9d55c3a6b6fbacc1c148a68b
5,170
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "LICENSE"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.166667
100
0.77234
7630111dd93ce8b2029431604e93c130e3c99703
4,985
package at.specure.androidX.data.map_filter.data; import android.content.Context; import com.google.gson.annotations.SerializedName; import com.specure.opennettest.R; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import at.specure.androidX.data.map_filter.view_data.FilterGroup; import...
38.643411
257
0.718355
ac59ffa63a7f038b9c3b30df81ae08803d184ac2
6,134
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
34.852273
230
0.690088
483123cda49b3cb6392859467776111831895678
2,264
package com.chenjie.sbootwebsocket.configuration; import com.chenjie.sbootwebsocket.service.SendMsgToAll; import com.chenjie.sbootwebsocket.service.SendMsgToSingleOne; import org.quartz.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * @Author ch...
36.516129
76
0.662102
7c60b0d47007817882a4b91fb530a5fb9848dbd9
454
package com.sailfish.gateway.hello; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; /** * @author XIAXINYU3 * @date 2021.3.24 */ @EnableEurekaClient @SpringBootApplication pub...
26.705882
68
0.784141
88a8d4dc7391dd00523fbd4df0fe80cf191ed8b4
1,344
package com.sucy.skill.dynamic.trigger; import com.sucy.skill.api.Settings; import com.sucy.skill.api.event.PlayerLandEvent; import org.bukkit.entity.LivingEntity; import java.util.Map; /** * SkillAPI © 2018 * com.sucy.skill.dynamic.trigger.BlockBreakTrigger */ public class LandTrigger implements Trigger<PlayerLa...
25.846154
105
0.665179
2956322427c0c8640e626f1343ba29ea960d75a2
704
package com.ruoyi.system.service; import com.ruoyi.system.domain.FanAttendance; import com.ruoyi.system.domain.FanRap; import com.ruoyi.system.domain.FanSalary; import com.ruoyi.system.domain.FiveinsOnefund; import java.util.List; public interface ISumSalaryService { /** * 更新薪资(五险一金) * 参数:FiveinsOnefun...
20.114286
56
0.666193
d9542bdce531b532cc28032c6b0cf6289f09edee
1,821
/* * Copyright 2002-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
29.370968
80
0.74849
4d36f60a4e30a19462802d303d2d92e8e3a205ad
570
package com.google.android.gms.internal.ads; /* renamed from: com.google.android.gms.internal.ads.Ia */ final class C8908Ia implements zzbbt { /* renamed from: a */ private final /* synthetic */ zzbbr f21238a; /* renamed from: b */ private final /* synthetic */ zzakw f21239b; C8908Ia(zzalu zzalu...
25.909091
81
0.642105
8fa2128617dca8e22528247662a1cee801bf446a
1,264
package utlility; public class Instructions { public static String howToSetup() { StringBuilder sb = new StringBuilder(); sb.append("Welcome!\n"); sb.append("To start, enter the chatroom information\n"); sb.append("to connect to, along with the port to use.\n"); sb.append("Enter a suitable name for ...
38.30303
88
0.647943
589b1374f9287634e0a5efce95bddb97ef272b8d
878
package cn.xpbootcamp.gilded_rose; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import static org.assertj.core.api.Assertions.assertThat; class SulfurasProductTest { @ParameterizedTest @CsvSource( { "-1,50, -1, 50", ...
32.518519
147
0.660592
bd17517a84c3ef2f371982fe771c063f2c298477
11,966
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
41.404844
99
0.662293
e199a09218b2bb043ac10c2d6a000b1a577910bc
3,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
41.260274
157
0.714807
03251e3d1b71c02225ae501e28bafa71b5f8b0ee
5,826
/* * 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...
39.90411
122
0.767422
baa4579128cdbcf815059bf83a36f2db0dd4a6b0
79
package br.ufc.great.expression; public enum Operator { AND, NOT, OR; }
13.166667
33
0.670886
59378bc1cea0d17ab173800f0c64225b927d2d48
2,703
/* * Copyright(c) 2020 taofen8.com. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ package com.taofen8.mid.kong.admin.query; public class PluginQuery { final String id; final String name; final String service_id; final String route_id; final String consumer_id; fin...
20.323308
68
0.626341
aca0386b7baa47c8dbd5785cea86c441188ec77d
4,974
package edu.wisc.library.ocfl.itest.s3; import com.adobe.testing.s3mock.junit5.S3MockExtension; import com.mchange.v2.c3p0.ComboPooledDataSource; import edu.wisc.library.ocfl.api.MutableOcflRepository; import edu.wisc.library.ocfl.aws.OcflS3Client; import edu.wisc.library.ocfl.core.OcflRepositoryBuilder; import edu.wi...
37.969466
122
0.675111
3f862b7d79d3417b871f4bf8c5859de5932c86ba
7,455
package com.contron.cordova.arcface.utils; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import java.io.IOException; /** * Created by liweifa on 2017/7/25. */ class ImageUtil { private static byte[] rgb2YCbCr420(int[] pixels, int width, int height) { int len = width * height; ...
31.455696
107
0.411938
6770694d550c9b9e783afab930c137c8ba588533
1,984
package com.github.jknack.handlebars; import java.io.IOException; import org.junit.Test; public class I18NHelperTest extends AbstractTest { @Test public void defaultI18N() throws IOException { shouldCompileTo("{{i18n \"hello\"}} Handlebars.java!", $, "Hi Handlebars.java!"); } @Test public void custom...
32
107
0.609375
cd47a70808fe184b934245f6b5c70395c56625da
6,049
package com.eriyaz.social.adapters.holders; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.TextVi...
45.481203
160
0.685403
d0c65698bde5857a66265b31e87a5ec7e76473dd
5,686
/** * Copyright (c) 2013, Lourens "Lrns123" Elzinga * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, th...
28.288557
136
0.712979
04742fc858682fc8f1e38717601f8525f3e6c20a
120
package com.zh.asm; public class TestService { public void query() { System.out.println("service handle..."); } }
13.333333
42
0.675
c2c04d03593d64639eaa1974662d259455ccb217
41,612
/* $Id$ */ /* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistr...
37.320179
84
0.582813
db990946b55e8a1ef42bce1ee5a17fad80c3b699
725
package ai.hyacinth.core.service.trigger.server.error; import ai.hyacinth.core.service.web.common.ServiceApiErrorCode; import lombok.AllArgsConstructor; import lombok.Getter; import org.springframework.http.HttpStatus; @Getter @AllArgsConstructor public enum TriggerServiceErrorCode implements ServiceApiErrorCode { ...
29
68
0.802759
8619784dc15154212ef9e1a8237fa77ee99551f6
3,042
package com.example.konnectorapp; import android.content.Intent; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.a...
34.965517
132
0.707758
26c6fd92f02ee17829c92569102b77ea3cc7301b
4,778
package top.atstudy.component.user.dao.dto; import top.atstudy.component.base.BaseDTO; import top.atstudy.component.enums.EnumDeleted; import top.atstudy.component.enums.EnumUserStatus; import top.atstudy.component.enums.EnumUserType; import java.io.Serializable; import java.util.Date; public class AppUserDTO extends...
21.522523
96
0.640435
718bdfeaf2cdf885daf10b96c9ebd74e8348615e
1,616
/** * Copyright 2004-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
40.4
171
0.740099
e3981ac5aeb1a1629336a858d763be56f1ef2478
4,491
package com.ctrip.xpipe.redis.meta.server.dcchange.impl; import com.ctrip.xpipe.pool.XpipeNettyClientKeyedObjectPool; import com.ctrip.xpipe.redis.core.entity.KeeperMeta; import com.ctrip.xpipe.redis.core.entity.RedisMeta; import com.ctrip.xpipe.redis.core.metaserver.MetaServerConsoleService.PRIMARY_DC_CHANGE_RESULT; ...
40.098214
165
0.794701
1295afdc9b5c12add5ee585de1fce14e74da975b
154
package com.example.hades.dagger1.Instance; public class Sum { public Sum() { } public int sum(int a, int b) { return a + b; } }
15.4
43
0.571429
ded9585f6dae2783dff864ccf29c3a2f08d397ad
672
package all_problems; import java.util.Arrays; public class P1589_MaximumSumObtainedOfAnyPermutation { public int maxSumRangeQuery(int[] nums, int[][] requests) { long res = 0, mod = (long) 1e9 + 7; int n = nums.length; int[] count = new int[n]; for (int[] r : requests) { ...
28
63
0.470238
2213f34c5d230d263d058ef8cdbb93e96b3061ee
1,615
package com.mattprovis.uitest; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.springframework.context.annotation.Bean; import org.springframework.web.WebApplicationInitializer; import java.io.File; public abstract class AbstractUITestConfiguration { @Bean(in...
38.452381
201
0.727554
5a5ba696fbe716cae80321f286d33bed9e30f3ea
391
package org.goblinframework.remote.client.module.exception; import org.goblinframework.rpc.exception.RpcClientException; public class ClientUnknownResponseCodeException extends RpcClientException { private static final long serialVersionUID = 4790299090178221402L; public ClientUnknownResponseCodeException(byte c...
32.583333
76
0.808184
0342288e387d8c87b5f2f98c535a11f32124ee40
2,420
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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 applic...
40.333333
143
0.780992
6b8e6411b35de082f0a96011ac7d2ac485568984
19,408
/* * Copyright 2011 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
41.648069
158
0.631286
6c9353aa9515ec330f022d8173e4d214a57cf3b1
5,181
// Copyright 2015-2021 Nkisi 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...
34.771812
103
0.604323
4acdcf4e88aea102db3951831ec11922109ee594
3,953
package Mastermind; import java.util.*; public class PlayArray { /** * @author Augustin LAURENT * @author Rémi GARCIA * @return This function return an integer between the minimal and maximal value given in parameter * @since v1 * @version v1 * <p>The function take as a parameter two numbe...
32.401639
118
0.670124
592f775df82fe9a9ae3cd67714cb342e028a67b4
1,910
package com.github.scache.callbackattacher.sample; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Toast; public class MainActivity extends AppCompatActivity implements Callback, View.OnClickListener { @Over...
34.107143
107
0.630366
18b86d6b1c8e564edc087fa2679616b7e0aa67d4
4,016
package com.anas.jconsoleaudioplayer.cache; import com.anas.jconsoleaudioplayer.player.Loop; import com.anas.jconsoleaudioplayer.playlist.PlayList; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; impo...
30.892308
95
0.607321
0d9e7f528fbcf8be753cc56571df0ee433625fb9
2,149
package org.fl.decompteTemps.gui; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; import org.fl.decompteTemps.core.Control; import org.fl.decompteTemps.core.Events; im...
25.891566
94
0.605398
578c4a6d3588b805e8ad722f683f66846cfaca05
2,275
package org.tests.model.basic.test; import io.ebean.DB; import io.ebean.Query; import org.assertj.core.api.AbstractCharSequenceAssert; import org.junit.Test; import org.tests.model.basic.OrderAggregate; public class OrderAggregateNamedRawSqlTest { protected AbstractCharSequenceAssert<?, String> assertSql(Query<?> ...
37.916667
189
0.724835
4faa3c0e7c2df0c495f59fc54d9d6e16adeba003
2,787
package org.libex.camel; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Map; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; import javax.annotation.concurrent.NotThreadSafe; import org.apache.camel.Message; import org.hamcrest.Description;...
27.323529
98
0.63258
ba1f42329d35453b55bfdf167341f123085da508
4,709
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("ee") @Implements("Occluder") public final class Occluder { @ObfuscatedName("m") @...
24.784211
105
0.597154
85213cce06533b30efec499311a2e578fb1f4032
353
package net.ontrack.core.model; import lombok.Data; import org.codehaus.jackson.annotate.JsonIgnore; @Data public class ProjectSummary implements EntitySummary { private final int id; private final String name; private final String description; @Override @JsonIgnore public Entity getEntity() { ...
18.578947
54
0.74221
605e39961c992f500beac5db7af9fb0f4ecd203e
1,172
package testUtils; import org.json.JSONObject; import java.util.Random; public class UiUtils { /** * @param seconds * @use to safely sleep */ public static void safeSleep(float seconds) { try { Thread.sleep((int) seconds * 1000); } catch (InterruptedException e) ...
22.980392
101
0.575939
d8e2bb52c2ced5e60e2a65958cf0de58425dd483
147
package edu.umich.tabletalk.tabletalkclient; public class Constants { public static final String CHAT_SERVER_URL = "http://10.0.2.2:3000/"; }
24.5
73
0.748299
85b81866aefb827b879b6d8b0bb8de56f4d892dd
1,386
package com.china.cibn.bangtvmobile.bangtv.entity; /** * Created by Administrator on 2018/4/4. */ public class VipPayInfo { /** * data : {"time":"2021-05-16到期","day":"","isVip":"1"} * msg : * code : 1 */ private DataBean data; private String msg; private String code; publ...
17.325
58
0.494949
02e085f10482bf54a454fa31d5dcec8215ad34d0
7,165
package com.zhqchen.rn.imgpicker.image; import android.app.ActivityManager; import android.content.Context; import android.graphics.Bitmap; import com.facebook.cache.disk.DiskCacheConfig; import com.facebook.common.memory.MemoryTrimType; import com.facebook.common.memory.MemoryTrimmable; import com.facebook.common.me...
38.72973
170
0.652896
510c603efc95e96cae7c195b49f043e18a69cec1
444
package www.oztaking.com.yoyo.application; import android.app.Application; /** * @function: * ①整个程序的入口, * ②为整个app提供上下文环境; * ③ 初始化的工作; */ public class YoYoAplication extends Application { private static YoYoAplication mApplication = null; @Override public void onCreate() { super.onCreate(...
15.857143
54
0.666667
5cdf691220acaaff794608fc09a910b744817f6b
622
/* * 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 dao; import entities.Contacts; import java.util.List; /** * * @author Hide */ public interface ContactDAO { public Lis...
25.916667
79
0.729904
31d185ca0eddd0903a4eda4be6e6b3b7ce03c9c1
6,399
/** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Facebook. * * As ...
37.203488
99
0.656353
d850fcb5fd9296206d1635c51718e7a8e670d143
4,800
package com.eaw1805.www.controllers.game; import com.eaw1805.data.managers.beans.FieldBattleReportManagerBean; import com.eaw1805.data.managers.beans.NationManagerBean; import com.eaw1805.data.managers.beans.SectorManagerBean; import com.eaw1805.data.managers.beans.UserFieldBattleManagerBean; import com.eaw1805.data.m...
40.677966
167
0.686458
2da2e12c0ce09e99dfac043609804619adcfca84
1,641
package org.springframework.faces.webflow; import javax.faces.FacesException; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; import javax.faces.context.FacesContextFactory; import javax.faces.lifecycle.Lifecycle; import javax.servlet.ServletContext; import javax.servlet.http.HttpS...
32.176471
106
0.785497
16b52f6cf4a44cea36cc9aae16e13fd878fbd90c
2,408
package com.netty.server.handler; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; import com.netty.common.protobuf.Command.CommandType; import com.netty.commo...
29.728395
99
0.76495
1c4b4d938ab62afb0c119dbb73de6526e856aec6
90,107
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.bot.ai.qna; import java.io.File; import java.io.IOException; import java.nio.file.Paths; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.CompletableF...
45.371098
144
0.628608
f057784f86db0e33a76ef42e5c1399af2992a186
3,715
// Copyright 2021 Goldman Sachs // // 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 ...
34.398148
253
0.713055
08f59574cd7bd3846db727618e9ea39e687b7f11
828
package ua.ikonovalov; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Created by Ivan on 01.08.18. */ public class DummyBotTest { /** * */ @Test public void whenGreetBot() { DummyBot bot = new DummyBot(); ...
21.230769
111
0.551932
a3b90e1c000f1d58a50e2ef2fadc22ba1460ddcb
2,559
/* MIT-LICENSE Copyright (c) 2018 Higher Edge Software, LLC 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, ...
32.392405
135
0.720985
42dc3a022543bbc14b7977bacd9fec44a31e659f
993
package net.gnu.util; import java.util.*; public class Entry<K, V> implements Map.Entry<K, V>{ private static final long serialVersionUID = 58875847614548649L; private K key; private V value; public Entry(K key, V value) { this.key = key; this.value = value; } public K getKey() { return key; } public...
19.096154
74
0.618328
f3960549a9a26f7610859ef03f272885d5a3b12c
3,348
package com.imarcats.model.types; import javax.persistence.Column; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import com.imarcats.model.MarketModelObject; import com.imarcats.model....
24.26087
92
0.660693
c050cdce567b961e127dc139a27c1ba4c3a8bc03
551
package com.meisterschueler.ognviewer.common; import org.ogn.commons.beacon.ReceiverBeacon; import java.util.ArrayList; import java.util.List; public class ReceiverBundle { public ReceiverBeacon receiverBeacon; public int beaconCount; static public int maxBeaconCounter; public List<String> aircrafts;...
26.238095
58
0.742287
5229c7ab30d8fbe4bc00c611f564fd15d33bcae9
2,983
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
36.82716
156
0.667784
22b3fbd80a34aa6d22714609029070d02c7a8ee0
3,019
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
38.21519
79
0.7211
b6cc043d541aef394aef092196351a2794541f1a
19,026
package com.sap.charging.realTime; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import com.fasterxml.jackson.annotation.JsonIgnore; import com.sap.charging.dataGeneration.DataGenerator; import com.sap.charging.model....
34.405063
184
0.773573
ba2ad593d0b661110820ad557d8d9cf41c1ac540
1,566
package com.chronophylos.debugtools.command.commands; import net.ilexiconn.llibrary.server.command.ICommandExecutor; import net.ilexiconn.llibrary.server.command.argument.CommandArguments; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.server.MinecraftS...
42.324324
122
0.774585
bef0d123d248ab3a039183dc7600384c07261966
81
package fr.upmc.infop6.mlo; class Invalid_argument extends RuntimeException {}
16.2
50
0.814815
2d4448f7a4d9401812db8caa2e9434eb9a671fad
213
package org.learnit.essential; public class TestStatic01 { static { _i = 20; } public static int _i = 10; public static void main(String[] args) { System.out.println(_i); } }
16.384615
44
0.591549
7f75bcb1e95d41880724ee4b11a842f58b8a43b9
2,135
package jbse.val; import jbse.common.exc.InvalidInputException; import jbse.val.exc.InvalidTypeException; /** * Class that represent a {@link ReferenceSymbolicAtomic} whose origin is not a root * (that is, is a member of an object transitively referred by a root). */ public abstract class ReferenceSymbolicMember ...
38.125
113
0.693208
194ab344f1325cb3091f8a1ff10fa8e0f836ac70
323
package com.ap.usermanagementproject.repositories; import com.ap.usermanagementproject.entities.UserDetailEntity; import org.springframework.data.jpa.repository.JpaRepository; public interface UserDetailRepository extends JpaRepository<UserDetailEntity, Integer> { UserDetailEntity findByUserName(String userName)...
35.888889
88
0.857585
53842e396f55722a9ffab4d04b3565155458e6f8
1,843
package com.nanchen.cheerbanner; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import com.nanchen.banner.BannerEntity; import com.nanchen.banner.BannerView; import com.nanchen.banner.OnBannerClickListener; import java.util.ArrayLi...
31.237288
119
0.659794