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
5ea2c927c3b5abb0478d0f737fc104a08a7b5bf6
11,750
package com.rosemeire.deconti.bestmeal.RecipeSecondNavigation; /* **************************************************************************** /* Copyright (C) 2016 The Android Open Source Project /* /* Licensed under the Apache License, Version 2.0 (the "License"); /* you may not use this file except in complian...
47.379032
196
0.570213
3655d43708b454c65f422c1e6468d4d261386bb9
948
package com.exmaple.session; import jakarta.servlet.ServletException; import jakarta.servlet.annotation.WebServlet; import jakarta.servlet.http.*; import java.io.IOException; @WebServlet(name = "sessionDemo2", value = "/sessionDemo2") public class SessionDemo2 extends HttpServlet { @Override prote...
35.111111
123
0.71097
3e39fd0e695d285cfcb00dee241dc4c0104b3f3f
7,141
package xworker.net.jsch; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.xmeta.ActionContext; import org.xmeta.ActionException; import org.xmeta.Thing; import org.xmeta.World...
31.320175
173
0.69318
f6b76a5369de3576481aee433e6537cd3a9e26b0
3,881
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.CRMerchantAcquiringFacilityFulfillmentArrangementUpdateInputModelMerchantAcquiring...
47.329268
270
0.870652
7f358b5596742cad116bc760354fee0696c436fc
234
package com.ruk.sid.sheduller; public class MyJobHelper { private String someStr; public MyJobHelper(String s) { this.someStr = s; } public String getSomeStr() { return someStr; } }
15.6
35
0.589744
804c96b86892cdf2ed51826fa9efbe0e46e00c4e
1,155
import java.util.ArrayList; import java.util.List; import static java.lang.Math.abs; public class Car { private List<Ride> rides = new ArrayList<>(); private int currentRow, currentCol; private int t; public Car(){ currentRow = 0; currentCol = 0; t = 0; } public int ge...
20.625
93
0.57316
a198c03d723b0c60f25ffb8919ad81d91c7d9dcb
1,760
/* This file was generated by SableCC (http://www.sablecc.org/). */ package drlc.node; import drlc.analysis.*; @SuppressWarnings("nls") public final class ANotUnaryOp extends PUnaryOp { private TNot _not_; public ANotUnaryOp() { // Constructor } public ANotUnaryOp( @SuppressWarn...
18.333333
107
0.515909
9011c4de10c4bd74883ff8b151a9cfa3fec060a4
748
package TotalGoodsSold; import java.io.IOException; import mappers.Tuple; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; public class TotalGoodsSoldReducer extends Reducer<Text, Tuple, Text, IntWritable> { @Override public void reduce(Text ke...
27.703704
115
0.71123
9da8ec10e4e774301484493a0d6913cb3c0e9017
1,015
//******************************************************************** // Volunteer.java // // Represents a staff member that works as a volunteer. //******************************************************************** // Checks to see if the staffmember is a volunteer. public class Volunteer extends StaffMember...
30.757576
71
0.363547
6c5a8f77676aaa21bcf59523341a3089b172252b
465
package demo4031.model; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Getter; import lombok.Setter; /** * @author noear 2022/4/5 created */ @Setter @Getter @TableName("user") public class...
19.375
54
0.735484
d4c6d3303040fc9dab7b28683aff71c364d236de
372
package de.wigenso.springboot; public class TestParam { private Integer int1; private String str1; public Integer getInt1() { return int1; } public void setInt1(Integer int1) { this.int1 = int1; } public String getStr1() { return str1; } public void setSt...
16.173913
39
0.58871
009e38e9d280d84ad2a7ded3aa97ec27639bb25a
12,801
package com.github.qishi604.mdviewer.util; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.animation.PropertyValuesHolder; import android.app.Activity; import android.content.Context; import android.content.Intent; import andr...
29.700696
202
0.619639
5eeab89295b641842dc55ec0f70269e19c6d2bad
937
package com.rongyan.hpmessage.devicecenter; import com.rongyan.hpmessage.database.DataBaseOpenHelper; import com.rongyan.hpmessage.item.AppItem; import android.content.Context; import android.util.Log; public class AppSysncThread extends Thread { private String mPkgname; private DataBaseOpenHelper mDataBaseOpenHe...
24.657895
64
0.744931
3093033bb61174fb9aa335afc98ce3223159d90b
404
package com.zeny.springcloud.config; import feign.Logger; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * @ClassName FeignConfig * @Description TODO * @Author zeny * @Date 2020/4/4 0004 18:41 */ @Configuration public class FeignConfig { ...
18.363636
60
0.725248
33536c2d5b791f60e17f0fb9c91c00fa4513cf52
4,254
/* * 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 ...
30.604317
81
0.698872
33942b661e3ac84e5e893abf6dc78842b3b22a41
14,376
package com.codedx.plugins.bamboo; import com.atlassian.bamboo.collections.ActionParametersMap; import com.atlassian.bamboo.task.AbstractTaskConfigurator; import com.atlassian.bamboo.task.TaskDefinition; import com.atlassian.bamboo.utils.error.ErrorCollection; import com.codedx.client.ApiClient; import com.codedx.clie...
42.532544
161
0.647885
928803b882506846603d5ae5c557a0cb47bb16b7
831
package net.romvoid95.galactic.core.permission; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraftforge.server.permission.PermissionAPI; public class GCTPermissions { public static GCTNode ADMIN_TELEPORT = GCTNode.registerAdminNode("teleport", "Allows server Admins to use admintp Command"); p...
41.55
125
0.801444
aec564e564d7b00401734dfb5e1932cdd8c37978
1,362
package com.skytala.eCommerce.domain.product.relations.product.model.storeVendorPayment; import java.util.Map; import java.math.BigDecimal; import java.sql.Timestamp; import java.util.Map; import java.io.Serializable; import com.skytala.eCommerce.domain.product.relations.product.mapper.storeVendorPayment.ProductStoreV...
24.763636
120
0.831865
f8078323348dab55c716f9195d08d6c8fecb14d1
986
package com.furkanyesilyurt.springboot.springboottraining.dto; import java.util.Date; public class CommentDto { private Long id; private String yorum; private Date yorumTarihi; private String urunId; private String kullaniciId; public Long getId() { return id; } public void...
18.259259
62
0.621704
0d73219d48799d0dea9cb89091b37d7867c3db7e
5,549
package Boundary; import Controller.*; import java.sql.SQLException; import java.util.Scanner; import Actors.Cicerone; import DBManagers.DBManagerStampa; public class MenuCicerone { private static MenuCicerone menuCicerone; private final Scanner scanner = new Scanner(System.in); public MenuCicerone() { ...
40.210145
93
0.528744
6a30fb8deef160521457738a609e759cc18532b9
114
/** * Transfer of state to new caches in a cluster. * * @api.private */ package org.infinispan.statetransfer;
16.285714
48
0.692982
f5ee9f7ac0b1ba847fabcb213c0fba45109bc4e2
1,213
package com.redhat.developers; import org.junit.Test; import static org.junit.Assert.*; public class PhoneNumberTest { @Test public void testReflexive() { PhoneNumber p1 = PhoneNumber.of(123, 1234); assertTrue(p1.equals(p1)); } @Test public void testSymmetrical() { Phone...
24.755102
51
0.600989
ebe361fcc0ea98ade815e03a0a9cbd8d7e7f8531
1,541
package com.project.ishoupbud.view.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import and...
28.018182
123
0.741726
87395f9f19ec1425fffba99ddc4375235500af20
2,208
/** * Copyright 2017-2020 O2 Czech Republic, a.s. * * 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 ...
30.666667
97
0.701993
624ba91bf7f4152bc885e714b2d8ad48d3c6c0f8
7,064
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
34.458537
93
0.695215
631a8e6633d77f0a0e54c85e7d747c9d4089294b
3,453
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.model.Model.PREDICATE_SHOW_ALL_PERSONS; import java.util.ArrayList; import java.util.List; import seedu.address.commons.core.Messages; import seedu.address.commons.core.index.Index; import seedu.address....
36.347368
101
0.67912
900fdc7b71e00de06c5365c55d2c431f7b33e140
2,066
package pl.allegro.tech.hermes.client.okhttp; import okhttp3.Call; import okhttp3.Callback; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import pl.allegro.tech.hermes.client.HermesMessage; import pl.allegro.tech.hermes.client.Hermes...
32.28125
108
0.673282
43dba2bea2bf1c65b5404b885235a8b717d4ee5d
11,930
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|// Copyright (C) 2017 The Android Open Source Project end_comment begin_comment comment|// end_comment begin_comment comment|// Licensed under the Apache License, Version 2.0 (the "License"); end_comment begin_comment comment|// you m...
13.480226
83
0.802096
56a57ecfbfe1b1334d4adbba974b89474ed9ae20
9,819
package com.jim.account.model.imp; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.jim.account.bean.AccountBean; import com.jim.account.db.AccountDbHelper; import com.jim.account.db.AccountDbHelper.AccountC...
40.077551
195
0.672574
21ff5fd317d3e4eb5ff7c0fd5717d65b243f4f27
23,861
/* * Copyright 2011-2019 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
38.672609
165
0.74649
20e031a9f9af725206187180896061cb9bb4bd09
524
package com.ibm.ram.guards; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; /** * @author seanyu */ @SpringB...
26.2
72
0.801527
1c2b99cc8ff13f068fd6ca655f71d708ffa7d5b9
1,059
package io.github.greyp9.arwo.core.metric.histogram.core; import io.github.greyp9.arwo.core.date.DateU; import java.util.Date; import java.util.Map; public final class TimeHistogramSerializerMem extends TimeHistogramSerializer { private final Map<String, byte[]> store; public TimeHistogramSerializerMem(fina...
33.09375
79
0.692162
652e913ab67e711afc68d30bb3fd8fa5a1abe347
7,253
/**************************************************************************************** * StreamVisitorBase.java * * Created: Jan 30, 2009 * * @author DRAND * * (C) Copyright MITRE Corporation 2009 * * The program is provided "as is" without any warranty express or implied, including * the warranty of...
23.098726
89
0.656832
c2ec6ba4c00ab86d1a6d757de3d843eee75389ab
1,869
package com.cbec.common.exception; import com.cbec.common.rest.Result; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.ResponseStatus; import org.springfr...
35.942308
90
0.744248
2f9aad315d5ee421a2706b4e3a5c98cafbe3798b
9,959
package com.agh.givealift.controller; import com.agh.givealift.exceptions.FacebookAccessException; import com.agh.givealift.model.AuthToken; import com.agh.givealift.model.entity.GalUser; import com.agh.givealift.model.entity.Route; import com.agh.givealift.model.enums.EmailTemplate; import com.agh.givealift.model.enu...
46.537383
254
0.730997
3c3151210cbb3751bfd170f6badf10084cad8cf9
2,687
/* * 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 ...
41.338462
75
0.731299
9e9d7f14defb5ce5c6c98c76ec943dfa3cfca88d
11,009
package com.keqi.springbootwebsocket.constants; /** * @ClassName WebSocketCode * @Author ZNYK-HYL * @Date 2019-07-26-14:36 * @Version 1.0 * WebSocket 消息定义 **/ public enum WebSocketCode { /*** *@doc 全局消息Code */ GLOBAL_CODE("全局msgCode","1",null), GLOBAL_SECURITY("全局大安全状态/右下角告警轮播","1","1_1"...
48.074236
111
0.733945
5cb5828fcef83a95b2768efa386b7c9f78ed808d
2,606
/** * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LIC...
28.955556
92
0.726784
92a1ca6d2d17c56baa567bc4041ec0646216d644
3,845
package org.whispercomm.shout.ui.widget; import java.util.HashSet; import java.util.Set; import android.database.DataSetObservable; import android.database.DataSetObserver; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.model.LatLngBounds; import com.google.android.gms.maps.model.M...
23.881988
78
0.714174
cab375934059813b936e9b42c0cbb285478ca595
1,906
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.1 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
25.413333
83
0.634313
58b272ff6192f2474fa3b3714c41f38ace93f754
159
package com.mo9.risk.modules.dunning.entity; /** * Created by sun on 2016/7/20. */ public class DunningPeriod { public int begin; public int end; }
15.9
44
0.679245
7d5c6e900da7881322f114101f35f79c7c53028e
322
package test; class ExtendsB extends B { void test() { byte x = foo(); Byte y = foo(); Object z = foo(); } } class ExtendsC extends C { void test() { byte x = foo(); Byte y = foo(); Object z = foo(); } @Override public Byte foo() { return 42; } ...
15.333333
36
0.465839
36d9ee5af0a68dbf5453cd7dec50005d108c166f
1,031
package controllers; import models.Oauth; import play.mvc.Controller; public class BaseRestfulController extends Controller { /** * Constant for authentication */ private static final int OathTokenActive = 1; /** * Checks if the token provided is saved. * Collects the heading token, ...
22.413043
73
0.561591
cddea04f8b39dcc4d75992a6db4dfa449e341830
2,330
package com.blakebr0.mysticalagriculture; import com.blakebr0.mysticalagriculture.proxy.CommonProxy; import com.blakebr0.mysticalagriculture.registry.LateModRegistry; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge...
39.491525
207
0.822747
b3790eccccc24f1d6241020e9418fe182e929f41
23,263
package edu.stanford.nlp.ie; import java.io.File; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.*; import java.util.stream.Collectors; import edu.stanford.nlp.ie.regexp.ChineseNumberSequenceClassifier; import edu.stanford.nlp.ie.regexp.NumberSequence...
43.482243
147
0.704638
e4f1d5c44955e2d01ddea29804a4d8be0bf347e6
1,066
import java.io.*; import java.lang.*; import java.io.FileReader; import java.io.FileWriter; public class replace { String operation(String str,String word) { String[] word_list=str.split("\\s+"); String result=""; String hash=""; for(int i=0;i<word.length();i++) { hash+="#"; } int in...
18.701754
50
0.630394
7f7d2a5e108cdfac83c5ff42fa109ca4772ed3a5
83
public interface FactoryCar { Minivan createMinivan(); Pickup createPickup(); }
13.833333
29
0.759036
bafc98779686216f2d430f7bc86b81748989ae8e
3,340
package jetbrains.mps.baseLanguage.closures.constraints; /*Generated by MPS */ import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; import jetbrains.mps.smodel.runtime.ConstraintFunction; import jetbrains.mps.smodel.runtime.ConstraintContext_CanBeChild; import org.jetbrains.annotations.NotNull; import ...
59.642857
326
0.818263
141b215de11188fed0001e07845200bd61274d46
5,823
package org.influxdb.impl; import org.influxdb.InfluxDB; import org.influxdb.InfluxDBException; import org.influxdb.dto.BatchPoints; import org.influxdb.dto.Point; import java.util.Collection; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.uti...
36.167702
113
0.704276
2555cf2e43059312b4ef73cacef1b8bcfc5fd132
4,216
package org.vcell.client.logicalwindow; import java.awt.Window; import java.util.Collections; import java.util.Iterator; import javax.swing.JDialog; import javax.swing.JMenuItem; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.vcell.client.logicalwindow.LWTra...
23.038251
108
0.662476
7bb5968ddf62d978539708718de96dcb3ba73e15
12,669
package tests.restapi.copy_import.purchases_with_strings; import org.apache.wink.json4j.JSONObject; import org.testng.Assert; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeClass; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import tests.com....
54.373391
210
0.743784
e68756f64c741c3c812bac0a802616352cfea2a8
1,400
package com.skywomantech.app.symptommanagement.data.graphics; public class MedicationPlotPoint extends TimePoint { String medId; String name; public MedicationPlotPoint() { } public MedicationPlotPoint(long timeValue, String medId, String name) { super(timeValue); this.medId = med...
23.728814
89
0.567143
861f880ba7299680b512eb355e8b633dcc1e3dc9
1,593
package dagger.activity; import android.app.Activity; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import dagger.application.DaggerApplication; import dagger.bot.R; import dag...
32.510204
95
0.7715
3021171f3ecba1edb9b606727ad2ff5339d2f74a
151
package com.icewind.silestahivesync.dto; import lombok.Data; @Data public class BaseApiDto { public long dayStart; public boolean status; }
13.727273
40
0.748344
48320471fa41a8720d68bd0f235e6e81b038864c
226
package com.kiselev.enemy.network.telegram.api.bot.command; import com.pengrad.telegrambot.model.Update; public interface TelegramCommand { boolean is(Update update); void execute(Update update, String... args); }
20.545455
59
0.761062
5b25249e30820d79a257bf36f35d8bfe4643457b
2,921
package com.pi.web; import android.os.AsyncTask; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; /** * Created by Marcelo Júnior on 13/12/2017. */ public abstract class Web ...
28.637255
88
0.619993
e598705a48408b019140cf22054476800de8d897
1,089
package org.squirrelframework.cloud.resource.security.rsa; import com.google.common.base.Preconditions; import org.apache.commons.codec.binary.Base64; import org.squirrelframework.cloud.resource.security.AbstractSignatureChecker; import org.squirrelframework.cloud.utils.CloudConfigCommon; import java.security.Key; im...
35.129032
111
0.775023
395b6a2e929aa23f7b29a218a5c73606255b2c60
4,496
/* * Copyright (C) 2015 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 app...
34.060606
100
0.711077
323df828aedea2daacc64d687a6e9a12d726f154
3,064
package commons.box.app.bean; import commons.box.app.AppError; import commons.box.util.Strs; /** * Bean操作,封装了针对metaBean,map和object的统一访问机制 * <p>创建作者:xingxiuyi </p> * <p>版权所属:xingxiuyi </p> */ public interface BeanAccess { public static final Class<?> DEFAULT_TYPE = Object.class; /** * @param type ...
18.797546
88
0.506201
d353ad3cd6f6cddf8d453905e7a03701ed720d2d
2,776
package com.itfvck.wechatframework.api.jsapi; import org.apache.commons.lang3.StringUtils; import com.alibaba.fastjson.JSON; import com.itfvck.wechatframework.core.util.EncryptUtil; import com.itfvck.wechatframework.core.util.RandomStringGenerator; import com.itfvck.wechatframework.core.util.http.HttpUtils; ...
30.505495
170
0.700648
94b9a67169b498a11327a6628f31035df7ec7d3f
371
package io.datakitchen.ide.model; import java.util.EventObject; public class ConnectionListEvent extends EventObject { private Connection connection; public ConnectionListEvent(Object source, Connection connection) { super(source); this.connection = connection; } public Connection g...
20.611111
70
0.714286
71c753b39145a4c4613052a35e92051666317a37
352
package l09.contas; public class ContaEspecial extends ContaCorrente { private double taxa = 0.5; public ContaEspecial(double saldoInicial, String numConta, String t) { super(saldoInicial, numConta, t); } public void sacar(double valorSaque) { double novosaldo = (this.getSaldo() - (valorSaque + taxa)); ...
20.705882
71
0.727273
8849ec9d5374f70d5810c8fad085f4d2b2cb24b1
26,596
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.android_webview.test; import android.os.Build; import android.test.suitebuilder.annotation.SmallTest; import static org.chromium.ba...
40.236006
102
0.572906
2bbe3768aa1031b2036db2d22924af9ddc1f1e25
4,153
package com.jinke.calligraphy.ftp; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPClientConfig; import org...
32.193798
93
0.525403
0a8bb60d0e405d5b896b54ea0128bd7f01ba262b
1,700
package jp.brbranch.lib; import org.cocos2dx.lib.Cocos2dxActivity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Handler; import android.view.Gravity; import android...
30.909091
134
0.66
d66e1a7a282149141482be11a8f5e8267af75323
258
package de.mcella.openapi.v3.objectconverter.example; import java.util.List; public class ListOfListOfStringsField { public final List<List<String>> fields; public ListOfListOfStringsField(List<List<String>> fields) { this.fields = fields; } }
19.846154
62
0.75969
36e466ef20c6d724607e7ac1e2424cf90e4a0a57
928
package microlit.json.rpc.api.body.request; import microlit.json.rpc.api.body.AbstractJsonRpcBody; import javax.json.bind.annotation.JsonbProperty; public abstract class AbstractJsonRpcRequest extends AbstractJsonRpcBody { @JsonbProperty("method") protected String methodName; @JsonbProperty("params") ...
23.794872
75
0.68319
bfc1c07fa2df81b2caa0c9d989e645ddf0ccb4a7
4,180
package net.instant.tools.console_client.cli; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.management.MBeanServerConnection; import javax.management.remote.JMXConnector; import net.instant.tools.console_client.jmx.Util; public class CLI implements Runnable { public sta...
33.174603
78
0.545215
d14b1aa561bf5187866469ef91f14f064a8bf565
1,017
/** * * @author Josué Rodríguez */ public class TeddyBear { public String size; public String color; public String smell; public boolean pants; public boolean shirt; public boolean hat; public String name; public TeddyBear(){ } public TeddyBear(String size,...
26.763158
152
0.553589
27b845bb60341be0d40d7ea92fa7a30e745382ad
1,076
package com.dt.betting.db.domain; import java.util.ArrayList; import java.util.List; public class User extends DomainObject<User> { private List<Long> betIds = new ArrayList<>(); private boolean admin; private long scores; public List<Long> getBetIds() { return betIds; } public void setAdmin...
18.877193
68
0.618959
3df49f5ce594c78c581ce6d6e7e7b216bd8a1fa1
563
package datadog.trace.util.gc; import java.lang.ref.WeakReference; public abstract class GCUtils { public static void awaitGC() throws InterruptedException { Object obj = new Object(); final WeakReference<Object> ref = new WeakReference<>(obj); obj = null; awaitGC(ref); } public static void aw...
23.458333
86
0.660746
10c069ce7501918ce3045944f88e6df3e8514f99
13,952
package day2; import java.io.File; import java.io.PrintWriter; import java.util.Scanner; import javax.swing.JOptionPane; public class MyNotepad extends javax.swing.JFrame { public MyNotepad() { initComponents(); setLocationRelativeTo(null); jTextArea1.setLineWrap(true); } pr...
40.914956
151
0.630877
4d3ebcbfa9d28a5ec30d5526c9cffd54cb08e18c
943
package util.kafka; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.clients.producer.RecordMetadata; import java.util.Properties; import java.util.concurrent.ExecutionException; ...
28.575758
113
0.735949
ac479c0e4fc13887067be886ee7b92b10083bf1c
2,135
package egovframework.com.uss.umt.service.impl; import java.util.List; import egovframework.com.uss.umt.service.DeptManageVO; import egovframework.com.uss.umt.service.EgovDeptManageService; import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; import javax.annotation.Resource; import org.springfram...
25.722892
106
0.72178
18e6e766d3309d2c4dd75ba535ea5d7540cb60c7
3,461
/** * 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...
31.18018
87
0.692863
80d394f74bb31a36d0bbd017995868b0ae04d9b4
294
package com.ssafy.blog.payload; import lombok.Getter; import lombok.Setter; @Getter @Setter public class AuthResponse { private String accessToken; private String tokenType = "Bearer"; public AuthResponse(String accessToken) { this.accessToken = accessToken; } }
18.375
45
0.714286
bc152f6a0bc206e97df05501d1dd4592ec75da18
329
package com.haidong.SeirMeng.service.edu.mapper; import com.haidong.SeirMeng.service.edu.entity.CourseCollect; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * 课程收藏 Mapper 接口 * </p> * * @author atguigu * @since 2021-11-14 */ public interface CourseCollectMapper extends BaseMapper<CourseColle...
19.352941
72
0.74772
b4a16a91b20e7db425095326690cec3e3946fa88
1,935
package tech.elc1798.projectpepe.activities.extras.drawing.special; import android.content.Context; import org.opencv.core.Mat; import tech.elc1798.projectpepe.imgprocessing.OpenCVLibLoader; /** * Abstract class for a DrawingSession operation that performs an automatic built-in operation that is too complicated *...
34.553571
118
0.687855
87d783c97c28b4893e9ad06c0a16bd6873ec9460
352
package core.comparision.comparator; import core.comparision.Player; import java.util.Comparator; /** * PlayerAgeComparator.java * * @author: zhaoxiaoping * @date: 2019/10/28 **/ public class PlayerAgeComparator implements Comparator<Player> { @Override public int compare(Player o1, Player o2) { return ...
19.555556
64
0.721591
1935c6a4a9fff60c37d4619e3c61f868172ace49
1,676
/** * Copyright 2012 Rainer Bieniek (Rainer.Bieniek@web.de) * * 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 requir...
31.037037
115
0.715394
949846b8e4e10850c5d5894929746bf7f7f229bd
9,193
package com.sequenceiq.cloudbreak.cloud.aws; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.HashMap; import java.util.List; ...
48.384211
129
0.744588
592f0ae993b087071dbfdceece7301be45e1e74b
127,136
package main; import java.io.BufferedReader; import java.io.StringReader; import java.util.UUID; import java.util.logging.Level; import java.util.logging.Logger; public class GuKKiCalComponent { Logger logger = Logger.getLogger("GuKKiCal"); Level logLevel = Level.FINEST; /* * Standardvariablen für alle Komponen...
34.231556
95
0.677511
13b1f6e72cdf67a1bdca53e36459ca311d6965d6
292
class TestFeatureG { public static void main(String[] a){ System.out.println(new Test().f()); } } class Test { public int f(){ int result, count; result = 0; count = 1; while (count < 11) { result = result + count; count = count + 1; } return result; } }
13.272727
40
0.568493
054cdf16dfcf6cf69e696889da98894bc9bc18ad
18,497
package Model.AccountRelated; import Controller.IDGenerator; import Model.GameRelated.GameLog; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.util.Comparator; import java.util.LinkedList; import java.util.stream.Collectors; public abstract class Event { private static LinkedList<...
33.448463
209
0.719522
aac83f4752a7d8dc5336013eebda6dd529d21526
2,179
package inpro.io.rsb; import java.util.ArrayList; import java.util.Arrays; import org.apache.log4j.Logger; import venice.lib.AbstractSlot; import venice.lib.AbstractSlotListener; import venice.lib.networkRSB.RSBNamespaceBuilder; import edu.cmu.sphinx.util.props.PropertyException; import edu.cmu.sphinx.util.props.Pro...
26.573171
89
0.7352
cf25fe1bc0c49820f8985f5d722e4970dad4de87
2,288
package org.thoughtcrime.securesms.util; import android.annotation.SuppressLint; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.Signature; import android.os.Build; import androidx.annotation.NonNull; import org.thoughtcrime.s...
31.777778
112
0.730769
bd1bd2aa260b11c7aad710428c58ac23c2e64229
993
package com.cainiao.wireless.crashdefend.plugin.config; public class DefendConfigElements { public static final String TAG_DEFEND_ON_DEBUG = "defendOnDebug"; public static final String TAG_DEFEND_OFF = "defendOff"; public static final String TAG_DEFEND_INTERFACE_IMPL = "defendInterfaceImpl"; public s...
41.375
81
0.767372
3e8dd85abf9391c44ed4013f8eb6618d6244af31
414
package com.xkcoding.mpwechatdemo.autoconfiguration; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; /** * <p> * 属性注入 * </p> * * @author yangkai.shen * @date Created in 2019/10/22 13:54 */ @Data @ConfigurationProperties(prefix = "wechat") public class MpWeChatPro...
19.714286
75
0.736715
d7728f35b829109e5e2b19b68a6eec78bd244f18
9,972
/** */ package IFML.Mobile.impl; import IFML.Core.ActionEvent; import IFML.Core.ActivationExpression; import IFML.Core.CatchingEvent; import IFML.Core.CorePackage; import IFML.Core.Event; import IFML.Core.InteractionFlowExpression; import IFML.Mobile.MicrophoneActionEvent; import IFML.Mobile.MobileAction...
32.482085
211
0.715403
7e236f6fb5aabe36a072d3101ba08eeb3987b889
440
/** * Automatically generated file. DO NOT MODIFY */ package com.theflopguyproductions.ticktrack; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.theflopguyproductions.ticktrack"; public static final String BUIL...
33.846154
84
0.765909
c3a9bc23a731f0ee91c83d3b297134ed637a3887
10,539
package com.mana.innovative.dao.consumer; import com.mana.innovative.constants.TestConstants; import com.mana.innovative.dao.response.DAOResponse; import com.mana.innovative.domain.consumer.Card; import com.mana.innovative.dto.request.RequestParams; import junit.framework.Assert; import org.junit.After; import org.jun...
42.841463
118
0.711073
9bb83d104131ff1dbd662e237e0f289e48f0532c
2,446
package zmaster587.advancedRocketry.tile.multiblock.machine; import java.util.List; import java.util.Set; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.AxisAlignedBB; import net...
33.972222
158
0.790679
0dea7f3bfff388f24d73c0b15753c763fed5879c
594
package org.multibit.hd.core.dto; /** * <p>Enum to provide the following to Core API:</p> * <ul> * <li>Information about the Bitcoin network status</li> * </ul> * * @since 0.0.1 *   */ public enum BitcoinNetworkStatus { /** * No connection to the network */ NOT_CONNECTED, /** * In the p...
16.054054
72
0.614478
2def60cbddbd20188d7a9c5ac9009f8e7b689384
2,552
package ru.otus.db.dao; import org.hibernate.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.otus.db.model.User; import ru.otus.db.sessionmanager.SessionManager; import ru.otus.db.sessionmanager.DatabaseSessionHibernate; import ru.otus.db.sessionmanager.SessionManagerHibernate; import java...
32.303797
98
0.641458
35d0e90d60c1891a0046eaa9b7507c7775434a8b
750
package com.baeldung.hexagonalarchitecture.infrastructutre.driveradapter; import com.baeldung.hexagonalarchitecture.application.boundary.driverports.ICommandOperator; import com.baeldung.hexagonalarchitecture.domain.command.RequestGreeting; /** * The driver adapter. It's on the left side of the hexagon. It sends * ...
35.714286
92
0.717333
1b4a5ac07e72ebd4ef6d70f5595733c380893c91
1,890
package io.oneko.configuration; import java.io.IOException; import java.util.concurrent.Executor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import o...
34.363636
104
0.781481
905b043b852604fc8b44be6ade9e518787ac532b
717
package com.example.kkalanhw2.entity; import javax.persistence.*; import java.io.Serializable; import java.util.Date; @Entity @Table(name = "PRODUCT_COMMENT") public class ProductComment implements Serializable { @SequenceGenerator(name = "generator", sequenceName = "COMMENT_ID_SEQ") @Id @GeneratedValue...
21.727273
75
0.700139
a2faaaf4457c299dfe9d1992bc9eca991097cbef
323
package ro.ne8.blogsample.services; import ro.ne8.blogsample.entities.CommentEntity; import java.util.List; public interface CommentService { void save(CommentEntity commentEntity); void delete(CommentEntity commentEntity); void update(CommentEntity commentEntity); List<CommentEntity> findAll();...
17.944444
48
0.770898
ca20bfa52afeeb81b3bc59f5dc0b14815f1e7179
1,259
package com.threeq.dubbo.tracing; import com.alibaba.dubbo.rpc.RpcContext; import org.springframework.cloud.sleuth.Span; import org.springframework.cloud.sleuth.SpanInjector; import java.util.Map; /** * @Date 2017/2/8 * @User three */ public class DubboSpanInjector implements SpanInjector<RpcContext> { @Over...
32.282051
108
0.664813
23f49e1ad605596b04d37a03a75bf7505deda13c
585
/* {{IS_NOTE Purpose: Description: History: 2013/12/01 , Created by dennis }}IS_NOTE Copyright (C) 2013 Potix Corporation. All Rights Reserved. {{IS_RIGHT }}IS_RIGHT */ package org.zkoss.zss.model.sys.input; /** * Determine a cell's type and value by parsing editing text with predefined patterns. * T...
19.5
106
0.740171