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
4fb2ad569553f8ca87a1266663ff91f28d7f5401
309
package org.lxp.design.pattern.chain.responsibility; public class ManagerInterviewHandler extends AbstractInterviewHandler { public ManagerInterviewHandler(String name) { super(name); } @Override public int getLevel() { return AbstractInterviewHandler.LEVEL_MANAGER; } }
23.769231
71
0.731392
6e0497f21b3fd065c0aef0fdd31b2a8f0d14b430
7,271
package ru.swayfarer.swl2.ioc; import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Parameter; import ru.swayfarer.swl2.classes.ReflectionUtils; import ru.swayfarer.swl2.collections.CollectionsSWL; import ru.swayfarer.swl2.collections.extend...
39.516304
214
0.789575
4f128f0537e1acf005f0b178d0fd1f9c608fb14a
1,896
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.CRCustomerServicingResourceAllocationInitiateInputModelCustomerServicingResourceAl...
37.92
195
0.858122
40ce54af5fb773f7c9d51c8f107cda859c9ae0ee
921
package ru.kpfu.itis.group11501.volkov.infopoisk.domain; import lombok.*; import lombok.experimental.FieldDefaults; import lombok.experimental.NonFinal; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.util.UUID; import static lombok.AccessLevel.PRIVATE; @Entity @Table(nam...
20.466667
56
0.714441
d7d4b454884002ca67e45235b5423fca533f3922
2,474
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
36.382353
101
0.643088
94f55a92c6ff52f8baa8abbf5ba3fedcdddc2d33
13,856
// Copyright 2006, 2007, 2008, 2009 The Apache Software Foundation // // 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...
28.987448
120
0.613092
c9aec18740a0c34841e66789eba7dcd652f3bb87
312
package com.floryt.auth.util; import com.google.android.gms.auth.api.credentials.Credential; import com.google.android.gms.common.api.Status; import com.google.android.gms.tasks.Task; public interface CredentialTaskApi { Task<Status> disableAutoSignIn(); Task<Status> delete(Credential credential); }
26
62
0.788462
d06c03421ecb28ed49ab8c0d33313621b41b6f4d
3,526
package gamepad.scenes; import gamepad.Camera; import gamepad.Prefabs; import gamepad.object.GameObject; import gamepad.object.components.*; import gamepad.renderer.DebugDraw; import gamepad.utils.AssetPool; import gamepad.utils.Transform; import imgui.ImGui; import imgui.ImVec2; import org.joml.Vector2f; import org.j...
33.580952
130
0.64152
808000374a343db53373d19b4d3223d4bea4625a
664
package com.betomaluje.miband.bluetooth; /** * Created by Lewis on 10/01/15. */ public class WaitAction implements BLEAction { private final long duration; public WaitAction(final long duration) { this.duration = duration; } @Override public boolean expectsResult() { return fals...
20.75
59
0.615964
521ba7fb173bc4630d8bb1f945a2c4470abcbe09
896
package com.example.stockmarket.event; public class StockPriceChangedEvent { private String symbol; private double oldPrice; private double newPrice; public StockPriceChangedEvent() { } public StockPriceChangedEvent(String symbol, double oldPrice, double newPrice) { this.symbol = symbol; this.oldPrice = ol...
19.06383
112
0.717634
cffb2fe2fa59c5ab13c5a07e3ac87facd5eb5624
1,609
package net.dreamingworld.core.chat.commands; import net.dreamingworld.DreamingWorld; import net.dreamingworld.core.chat.ChannelType; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.command.TabCompleter; ...
32.18
163
0.687383
bfbe1d62294b4edcdb724c0fc013dfa3580546c1
2,395
package io.renren.modules.generator.controller; import java.util.Arrays; import java.util.Map; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.a...
26.318681
74
0.720251
6b865b653b9159143fec9790a04ca46a596c2e35
1,439
package weTubeBotLogic; import me.duncte123.botcommons.messaging.EmbedUtils; import me.duncte123.botcommons.web.WebUtils; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.JDABuilder; import net.dv8tion.jda.api.OnlineStatus; import net.dv8tion.jda.api.entities.Activity; import net.dv8tion.jda.api.req...
31.282609
73
0.62196
ee6631cf05a475c15a167152d2141204b59cb18d
2,428
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.291667
75
0.730643
644cfbf611baa6779a1a75e9b7a7d7c65f2d01f8
949
package com.example.owner.ppkrinc; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class ConfirmationPage extends AppCompatActivity { private Bundle extraMatchData; @Override protec...
27.911765
70
0.668072
e3419dfc2ce3c4ae2ccec853151fc90ad58e2b8f
739
package effectivejava.chapter5.item30; import java.util.*; // Using a recursive type bound to express mutual comparability (Pages 137-8) public class RecursiveTypeBound { // Returns max value in a collection - uses recursive type bound public static <E extends Comparable<E>> E max(Collection<E> c) { if...
32.130435
77
0.631935
22ffd7fa5296cdcb38da97b9690cdd66203a7b88
8,452
/* * Harbor API * These APIs provide services for manipulating Harbor project. * * OpenAPI spec version: 1.10.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package org.kathra.harbor...
25.080119
127
0.67132
75dd85b3b2d03e60ee1c5c7f6be19472e5308d81
1,644
package org.tensorflow.demo; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import org.tensorflow.demo.MainActivity; import org.tensorflow.demo.R; import org.tensorflow.demo.RecognitionScoreView; /** * Created by Kshit...
31.018868
121
0.675791
2af0172a314075bc626695610affbd7698810e71
3,067
package com.salesianostriana.dam.hoteluxe.controller; import java.io.IOException; import java.time.LocalDate; import java.util.List; import java.util.Optional; import javax.servlet.http.HttpServletResponse; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframew...
31.618557
101
0.759048
4f33d1c31105db5a8b1919e1470c7d7997c72ad2
92
package com.megait.artrade.member; public enum MemberType { 일반회원, 휴먼회원, 작가 }
9.2
34
0.641304
7611356dab153674acab97ca4d6751d6dcd11602
2,117
/********************************6-33********************************** (current date and time) Invoking System.currentTimeMillis() returns the elapsed time since in milliseconds since midnight of Jan 1, 1970(epoch).Write a program that displays the date and time. ****************************************************...
30.242857
81
0.563061
1b1cfc3207d131b42b04b3f5118f79a0c2e46c41
11,205
package com.dslplatform.json; import android.graphics.*; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; public abstract class AndroidGeomConverter { public static final JsonReader.ReadObject<PointF> LOCATION_READER = new JsonReader.ReadObj...
36.617647
133
0.736368
c53753593840f781b6c921622d066d7642fcacf8
834
package com.github.rochedo098.libradioactive.api.pollution; import net.minecraft.entity.LivingEntity; import net.minecraft.util.math.ChunkPos; import net.minecraft.world.World; /** * Extends this class to create a PollutionType; * * spreadRate is the speed at which the pollution spreads; * * The affectedEntit...
28.758621
80
0.745803
224e5e2634e00b348bea6a0fc58ad0425f6aa43b
113
package zhushen.com.shejimoshi.chapter20.example2; /** * Created by Zhushen on 2018/6/4. */ class Article { }
14.125
50
0.707965
b21d6ddd52856191c7aedd25373160b8466c7744
100
package com.inmobi.nativead.sample.photopages; public final class PageItem { String imageUrl; }
20
46
0.78
3da7aac47d2b30ff71d8fdf62da56c3bd43762d7
476
package com.games.rasta.randomadventure.models; public class Player { private String name; private int level; private int xp; private int attack; private int defense; private int speed; private int maxHealth; private int currentHealth; public Player(String name) { this.name = name; this.l...
17
47
0.661765
e52ef6ec98d25dde2928d4a4a9bf4afbd6d8fb41
338
package slate.items; import slate.Player; import slate.bases.ItemBase; public class StickyBaby extends ItemBase { public StickyBaby() { name = "Sticky Baby"; weight = 5; is_consumable = true; verb = "ate"; } @Override public void use(Player player) { //Eat sticky baby System.out.println("I'm just a...
15.363636
44
0.683432
4cb077a735092192d591a4b32641c52753d91aa2
12,170
package org.cbsa.api.controller.metadata; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.had...
31.285347
101
0.60493
2247688db30eb7334c98994cbfc78f175e4bd7fa
4,331
package com.bits; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import androi...
36.394958
127
0.706765
dbd60ba3adef4be34be58bf6454fa197f8a4b452
6,103
package co.unruly.config; import com.amazonaws.services.secretsmanager.AWSSecretsManager; import org.junit.Test; import java.util.Collections; import java.util.HashMap; import java.util.Map; import static co.unruly.config.Configuration.*; import static co.unruly.config.SecretsManagerTest.storeSecret; import static c...
32.291005
105
0.655907
c7c331e3b58131f84fbe120878e8524cde387b08
4,023
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.function.scalar.script; import...
29.8
102
0.578424
4bfe8a92fef72da7451a51d6076f6c09f3f9edc3
1,614
/* Copyright 2019, 2021-2022 WeAreFrank! Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
29.345455
100
0.745973
8de5eda2befe4e16c53a09d1d2fdbf82dbbdeaed
34,219
package de.dlyt.yanndroid.oneui.preference; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.ColorStateList; import android.content.res.TypedArray;...
33.254616
331
0.613197
87b59516521b64d96e6e96688e90b05ae7ebbc23
2,132
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /* * Copyright 2014 AT&T * * 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 ...
28.810811
83
0.626642
ccdd6d671d76f095a7e72c167995182f2fe8e024
1,627
package com.github.yglll.funlive.api; /** * 作者:YGL * 版本号:1.0 * 类描述:API地址 * 备注消息: * 创建时间:2017/12/13 7:15 **/ public class APILocation { //base地址 public static final String baseUrl="http://open.douyucdn.cn/"; //获取直播房间列表 //http://open.douyucdn.cn/api/RoomApi/live/{分类 ID 戒者分类别名} public static ...
33.204082
75
0.61094
4dc8576cd691f59ce5ab2358aa859e8d29523e4d
16,585
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2020, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.constraints.nary.sum; import gnu.tr...
44.945799
152
0.500874
dfef25ffaf5d94a10b9e3e7a8b0aa5094f366d79
3,308
import java.util.Arrays; import java.util.Iterator; /** * Partial implementation of IntList that works only for Integer objects. * Precisely, it stores them as {@code int}s. */ public class MaxMinIntList extends IntList { private final int[] elements; private final int max, min; public MaxMinIntList() { eleme...
21.620915
93
0.642382
006d08368c5560704318b5a2eba6ff1309aa2e3b
12,162
/* * Copyright 2008-2009 LinkedIn, 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 agre...
30.634761
108
0.467275
b7c962a5d96a907a20893212e285a2d27247823b
669
package pageObjects; import elementMapper.ProductPageElementMapper; import org.openqa.selenium.support.PageFactory; import utils.Browser; public class ProductPage extends ProductPageElementMapper { public ProductPage () { PageFactory.initElements(Browser.getCurrentDriver(), this); } public Strin...
20.90625
67
0.710015
4ce53dd83c7f7bd6371b203a630fa35d13748c1b
2,660
package net.smelly.rolepooler.commands; import net.dv8tion.jda.api.entities.Role; import net.smelly.disparser.Command; import net.smelly.disparser.CommandContext; import net.smelly.disparser.arguments.java.EnumArgument; import net.smelly.disparser.arguments.jda.RoleArgument; import net.smelly.disparser.feedback.Feedba...
42.903226
167
0.753759
7263d325ca165b27e98c933dd36ebabe30229226
1,307
class Solution { public List<Integer> diffWaysToCompute(String input) { return helper(input, 0, input.length()); } public List<Integer> helper(String input, int lo, int hi) { boolean isdigit = true; for(int i = lo; i < hi; ++i) { if (!Character.isDigit(input.charAt(i...
31.119048
64
0.456006
c3ba6692a925d5c7f725f130dde64dcdff534cce
20,808
/* * 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 ...
39.334594
100
0.686082
2c7c89059a20edcb8ac02c36906c8dfa89b3b7ef
11,519
package io.quarkus.runtime.configuration; import java.lang.reflect.Array; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.GenericArrayType; import java.lang.reflect.Modifier; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.Array...
43.467925
121
0.601615
6be70109bf62249df2627ed6bb08ea7b210c8af5
10,643
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
32.547401
142
0.648126
4c316c39d6c8373a0056b7083ee17a53ae3be1ef
3,766
// Copyright 2019 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.components.permissions.nfc; import android.Manifest; import android.content.Context; import android.content.Intent; import android.c...
34.550459
99
0.690388
e60c4d973f3e8879f6a6e3c97c20679eb60eca84
4,286
package PizzaShop.Controller.SecurityControllers; import PizzaShop.Entities.Order; import PizzaShop.Entities.Product; import PizzaShop.Models.UserDetails; import PizzaShop.Repositories.ItemRepository; import PizzaShop.Repositories.OrderRepository; import PizzaShop.Repositories.ProductRepository; import PizzaShop.Repos...
39.685185
168
0.742184
a94d92da1b072e75a6e57e3bc830a537247607ef
4,555
/* * Copyright (C) 2016 Clover Network, 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 o...
32.535714
124
0.692426
866ae50322858a7813e58888f434e61f0344850e
177
package com.buptse.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.buptse.pojo.Carimg; public interface CarimgMapper extends BaseMapper<Carimg> { }
22.125
58
0.819209
2c6448d022c0c7eadcc1211662e3da56f6f0ced6
382
package net.halflite.resteasy.web.resource; import javax.inject.Singleton; import javax.ws.rs.GET; import javax.ws.rs.Path; import org.jboss.resteasy.plugins.providers.html.Renderable; import org.jboss.resteasy.plugins.providers.html.View; @Singleton @Path("/") public class IndexResource { @GET public Rende...
20.105263
60
0.732984
0325c1d3d1270f3f887c121642b91d56dc989a14
20,869
package org.andengine.extension.physics.box2d; import static org.andengine.extension.physics.box2d.util.constants.PhysicsConstants.PIXEL_TO_METER_RATIO_DEFAULT; import java.util.List; import org.andengine.entity.primitive.Line; import org.andengine.entity.shape.IAreaShape; import org.andengine.entity.shape.IShape; i...
36.612281
265
0.734199
5106d343aefea2319b70bf5dcdb073f8fd12db6a
5,256
package org.cam.core.parser; import org.antlr.v4.runtime.misc.NotNull; import org.cam.core.FactoryHelper; import org.cam.core.dao.CamDao; import org.cam.core.exception.EntityNotFoundException; import org.cam.core.exception.ParserException; import org.cam.core.mapping.EntityMapping; import org.cam.core.mapping.EntityTa...
32.444444
96
0.687785
56694694bbb593634a64c271c0982b83efbf5bd6
10,311
/******************************************************************************* * Copyright 2013 SAP AG * * 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/l...
51.298507
166
0.745805
e313020e6058af821f9a1d52af6400dc18465eaf
1,299
package com.jakduk.api.common.rabbitmq; import com.jakduk.api.exception.ServiceError; import com.jakduk.api.exception.ServiceException; import java.util.Arrays; /** * Created by pyohwanjang on 2017. 7. 3.. */ public enum ElasticsearchRoutingKey { ELASTICSEARCH_INDEX_DOCUMENT_ARTICLE("elasticsearch-index-documen...
33.307692
96
0.816012
245ec968472d2c615d7c081d851e420008dca3b9
6,440
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package com.kauailabs.navx.ftc; public final class R { public static final class color { public static final int ...
61.333333
95
0.741149
59cabeb26f0c7e9b6c745b3ece912af9b2173cb4
2,011
package com.yourcompany.yourproject.security.user.register; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.security.core.GrantedAuthority; import org.springframework.stereotype.Service; import org.springframework....
32.435484
87
0.80358
3f2ed1792ebe8317574670727ce5d9ae7cd5d822
1,175
/** * Classe <strong>Rationnel</strong>, impl&eacute;mente l'interface IRationnel * @author Corentin MACHET * @version 1.0 */ public class Rationnel implements IRationnel, IAffiche { private int numerateur; private int denominateur; /** * */ public Rationnel() { } /** * */ public Rationnel(i...
10.779817
78
0.594043
08fdeba640a93cf094e1c469f34b3aa4133aef03
956
package mj; public class Lab10_ex30 { public static void main(String[] args) { // 문제 30. // Multiplication Table System.out.println("\t 1 \t 2 \t 3 \t 4 \t 5 \t 6 \t 7 \t 8 \t 9"); System.out.println("-------------------------------------------------"); int gugu1 = 0; int gugu2 = 0; int ...
17.381818
75
0.435146
554f1a21664c1305c5763f89138678b51ee186be
9,560
package com.gildedrose; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class GildedRoseAssertJTest { @Test public void dexterity() { Item[] items = new Item[] { new Item("+5 Dexterity Vest", 10, 20) }; Item[] itemsGolden = new Item[] { new Item("+5 De...
39.341564
106
0.643096
ab06b7cd4abcdadfee9359dade98a9904a8a5f89
2,182
package io.vertx.ext.discovery.types; import io.vertx.core.Vertx; import io.vertx.core.eventbus.MessageConsumer; import io.vertx.core.http.HttpClient; import io.vertx.core.http.HttpClientOptions; import io.vertx.core.json.JsonObject; import io.vertx.ext.discovery.Record; import io.vertx.ext.discovery.Service; import i...
26.289157
107
0.681485
96045db2da1005472a47803cceeb5a97858285f8
1,218
package ru.job4j.io; import java.io.File; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Queue; public class Search { private List<File> result = new ArrayList<>(); List<File> files(String parent, List<String> exts) { File file = new File(parent); ...
29
79
0.450739
9ceb84536ba6181526bbbb6e210cd08319cbee7c
1,356
package com.polluxframework.maven.plugin.constant; /** * @author zhumin0508 * created in 2018/8/23 15:03 * modified By: */ public class Constants { private Constants() { } /** * 点 */ public static final String STR_DOT = "."; public static final char CHAR_DOT = '.'; /** * 单左划线 */ public static fina...
19.941176
60
0.651917
518f2c2a64b0531874f23962f52dcdc769b6a959
4,539
package com.malin.volley.fragment; import android.os.Bundle; import android.os.Looper; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.android.volley.RequestQu...
33.375
401
0.632298
eb0ad92dd60c23fd06c727a0582404408b183c52
11,884
package test.catan.mlp; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.Scanner; import org.apache.commons.io.FileUtils; import org.deeplearning4j.eval.ActionGuessFeaturesEvaluation; import org.deeplearnin...
46.062016
226
0.620162
6a11b9141a6da7f1722d2c1d2809d5ca8e82ae8d
12,173
package com.smart.cloud.fire.mvp.electric; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.View; import android.widget.CheckBox; import androi...
32.548128
95
0.545223
b79f7994183db1092f6557ea747739f52429885c
6,528
/** * * Copyright 2017 Florian Erhard * * 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...
24.358209
113
0.631434
60066d84f8136cd80df517c8674c5a690e055daa
380
package com.DesignPatterns.CreationalPatterns.factoryMethod.sharp; import com.DesignPatterns.CreationalPatterns.factoryMethod.matcha.Controller; import com.DesignPatterns.CreationalPatterns.factoryMethod.matcha.ViewEngine; public class SharpController extends Controller { @Override protected ViewEngine create...
31.666667
77
0.815789
7d53f22fa686f63faa1b9c82ef5c493270403bc7
1,725
// Copyright 2008 Google Inc. All Rights Reserved. package com.google.appengine.demos.helloorm; import java.io.IOException; import javax.jdo.PersistenceManager; import javax.persistence.EntityManager; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSe...
25.746269
91
0.654493
669ed499d941cd0e77b9626f4ba3fa6f41b2daa2
481
package com.meowu.commons.mybatis.mysql.page; import com.meowu.commons.utils.security.page.Page; import com.meowu.commons.utils.security.page.PageRequest; import java.util.List; public class MySqlPage<T> extends Page{ public MySqlPage(List<T> content, Long total, PageRequest pageRequest){ super(content,...
25.315789
79
0.715177
10e5e9870a8bbdcf9ac2421bb03ddc27c9604a85
1,080
package com.trifork.hotruby.ast; import java.util.ArrayList; import java.util.List; import com.trifork.hotruby.interp.CompileContext; public class HashExpression extends Expression implements AssocHolder { static class Assoc { public Assoc(Expression key, Expression value) { this.key = key; this.value = va...
17.419355
71
0.642593
09c240021a45e2d317f55cfd0b575a735ba970c2
10,066
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
37.559701
164
0.632625
010b46b5807418cac64dcfa767219d851fdacbe3
4,445
/* * 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...
31.083916
134
0.614398
14c9e116b4d6e6ad00742e5791d5a05e393f3959
2,272
package com.ghx.hackaton.analytics.model.dto; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by achumakov on 7/20/2015. */ public class Alert { private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); private String application; private String UR...
23.666667
115
0.580106
e109bf716f433b538d345c422a14f6419c2550e0
1,066
package skaianet.die.instructions; import skaianet.die.back.ExecutionContext; import skaianet.die.back.LoopContext; import skaianet.die.front.Color; import java.io.PrintStream; public class EnterLoopInstruction extends Instruction { private final int object; private Integer label = null; public EnterLoo...
27.333333
94
0.666041
6c1286b66bc653e8a8654ce83d6b3b0c63d8a3d7
7,826
package slimeknights.tconstruct.tools.client; import com.google.common.collect.Lists; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraft.ut...
34.324561
130
0.713519
d5cb63ac63e36d3680190a3822a2b5a51f1ea867
2,226
package com.akshaykale.appimagepicker; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatAc...
33.727273
106
0.728212
b5bd47cb9e2f0294342afb983c079afadbc4605f
2,493
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.Population; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.nwu.bioinformatics.commons.CollectionUtils; import org.springframework.transaction.annotation.Transactional; ...
36.130435
132
0.701966
b6fd1f3710726bf3707af96ade2df9dc2221b6b9
2,229
/* * 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.amazonaws.mturk.model; import java.io.IOException; import java.io.InputStream; import org.junit.Assert; import org.junit.B...
34.292308
196
0.720951
f06c9a9c3d308b3b6987f35f41e678cf1bf64dc1
3,436
package com.boliangshenghe.outteam.activemq; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; import org.springframework.beans.factory.annotation.Autowired; impor...
32.11215
92
0.672002
615ae18f4a40213bc0c9bbdbf543c037a9a6e9b5
910
package com.gakshintala.bookmybook.restexchange.patron.request; import com.gakshintala.bookmybook.domain.catalogue.CatalogueBookInstanceId; import com.gakshintala.bookmybook.domain.patron.HoldDuration; import com.gakshintala.bookmybook.domain.patron.PatronId; import com.gakshintala.bookmybook.usecases.patron.PatronPl...
30.333333
91
0.751648
7039c359b221c55dd7eac0528c66cebd5bf67291
9,952
package com.alibaba.maxgraph.proto; import static io.grpc.stub.ClientCalls.asyncUnaryCall; import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; import static io.grpc.stub.ClientCa...
37.69697
119
0.720961
0999fb34e73dff1a286b456d967a85b17fabcdb9
619
/* * 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.eivanov.centralserver.thesis.web.controllers; import org.junit.Test; import static org.junit.Assert.*; /** * * @author ...
22.107143
86
0.714055
2569d53937e1ad3938e8c0217fcaa07f280c0b0b
4,344
/* * Copyright 2015 Google, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
30.591549
95
0.679788
ee82becfd1734f86b3896ade0cbed8a1ba719145
5,782
/* * Copyright 2009 Inspire-Software.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
48.588235
130
0.748703
404578d631c317539c2bb5554032f2ce5bdc4230
21,739
package cn.aradin.spring.core.utils; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.re...
30.193056
114
0.667602
396fff1ab4735cb9406425ada1969e0c3ee0beb9
1,373
package com.yt.mdm.controller; import com.yt.mdm.mybatis.entity.User; import com.yt.mdm.service.TestService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframew...
29.212766
88
0.723962
657d7fb30bcbc5fe484356bea63687a53a711423
2,004
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.query; import static org.junit.Assert.*; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import com.yahoo.sear...
29.470588
104
0.585828
c236874d262ce98ff162e699fdaad419831d0b5e
1,000
package com.simibubi.create.lib.mixin.common; import org.jetbrains.annotations.Nullable; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injectio...
32.258065
95
0.817
27301660f6fcaf2e14ce8f137b53172d9e37af9d
7,257
package org.kuali.ole.ncip.service.impl; import org.apache.log4j.Logger; import org.extensiblecatalog.ncip.v2.service.*; import org.kuali.ole.OLEConstants; import org.kuali.ole.deliver.processor.LoanProcessor; import org.kuali.ole.ncip.bo.OLENCIPConstants; import org.kuali.ole.ncip.bo.OLERenewItem; import org.kuali.ol...
55.396947
442
0.739286
f870e96f5f11915f90045caee72c4dce8f957260
1,656
package io.ebeaninternal.server.type; import io.ebean.config.JsonConfig; import java.sql.Timestamp; import java.sql.Types; import java.time.Instant; import java.time.OffsetDateTime; import java.time.ZoneId; /** * ScalarType for java.sql.Timestamp. */ public class ScalarTypeOffsetDateTime extends ScalarTypeBaseDate...
26.709677
100
0.76087
86b31085c010ab77768c220071d3c61f320b1822
39,257
/* * 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 t...
37.819846
130
0.738492
cebd13a6834607f199ac75c8a4030c619c0fb44f
451
package proxy.tradition; import proxy.tradition.SchoolService; import proxy.tradition.SchoolServiceImpl; /** * @Auther Carroll * @Date 2020/4/7 * @e-mail ggq_carroll@163.com */ public class TestMain { public static void main(String[] args) { SchoolService schoolService = new SchoolServiceImpl(); ...
22.55
67
0.702882
501a12837b04324490abeaf58838bbd5463caab7
1,443
package org.sanjay.model; import java.math.BigDecimal; import java.util.Date; public class Flight { private Long flightId; private String airline; private String departure; private String destination; private Date departureDate; private String flightClass; private BigDecimal price; ...
19.767123
54
0.642412
1b2cade60b5911c76b522d8bac53fa5110c25245
3,589
package org.basex.util; import static org.basex.core.Text.*; import static org.basex.util.Token.*; import org.basex.core.*; import org.basex.io.*; /** * Abstract class for parsing various inputs, such as database commands or queries. * * @author BaseX Team 2005-12, BSD License * @author Christian Gruen */ publi...
22.154321
83
0.601839
105b725dd5ae9979a35d8f62dab863bd7a5036c7
49,392
/* * Copyright 2019-2022 The Polypheny 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 applicable law or...
40.752475
179
0.618521
763c306288232c5951d3594d4dbb3280cf232338
3,009
/* * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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/license...
32.354839
145
0.630442
5df0bfd26ccddb2635ec3cb1061a7c808bf14ad3
1,846
package com.nenusoftware.onlineexam.entity.user; /** * @Author:Liangll * @Description: 用户的实体类 * @Date: 21:58 2019/4/28 */ public class User { /** * 用户Id */ private Integer userId; /** * 用户名 */ private String username; /** * 用户密码 */ private String password; ...
18.098039
50
0.510834
581eedb33f3dc64820cc534059a5d8c544cbd5cc
1,033
package com.revanwang.rabbitmq.util; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import java.io.IOException; import java.util.concurrent.TimeoutException; public class RevanRabbitConnection { /** * 建立与RabbitMQ的连接 * @return * @throws Exception ...
26.487179
61
0.585673
e367ad0f0a1322d3eab46d9ca85071e6bb2c7a52
11,788
// $Id$ // Author: Jean-Guilhem Rouel // (c) COPYRIGHT MIT, ERCIM and Keio, 2005. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.css.values; import java.util.HashMap; /** * @spec https://www.w3.org/TR/2016/WD-css-color-4-20160705/ */ public class CssColorCSS3 { protecte...
59.535354
81
0.657024
577e6abd50d8787bf4ed2f1725c6facd3ecc3b61
594
package org.cleanas2.util; /** * Holder for system constants. Gotta be a better way * * @author Andrew Backer {@literal awbacker@gmail.com / andrew.backer@powere2e.com} */ public class Constants { public static final String APP_NAME = "CleanAS2"; // app name without spaces public static final String APP_V...
37.125
91
0.718855
d23dd32d3e9ff194732133cc77d71a151c409e9d
172
package com.erc.his; public class Application { public static void main(String... args) { MenuFrame menuFrame = new MenuFrame(); menuFrame.startApplication(); } }
15.636364
42
0.715116