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
005ce12ed5bcd364e391d4192eac5c1b02d09cc1
3,341
package cn.allen.iweather.webservice.entity; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; /** * Created by allen on 2017/11/12. */ public class LocationEntity extends BaseEntity implements Parcelable { @SerializedName("id") private String id;//...
23.695035
89
0.587549
c2d24d4901b84aacbc71bdc0e8eec39076f53edd
8,688
/* * Copyright 2015-2018 The OpenZipkin 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 required by applicable law or a...
31.592727
100
0.679213
f3d631dc0f2ebcb75a2e9c750b60b70c32231dd8
192
package curso_loiane.aulas.aula24.exercicios; public class LivroLivraria { String nome; String autor; int qtdPaginas; int anoLancamento; String isbn; double preco; }
16
45
0.703125
9b2060d41be442360587976798cedcdfb69c2710
4,942
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
27.455556
79
0.575476
93076a69baa7b0c6a8c92d5c7259a6c0f3708431
1,000
package se.webinfostudio.game.etheder.repository.unit; import org.jdbi.v3.sqlobject.customizer.Bind; import org.jdbi.v3.sqlobject.customizer.BindBean; import org.jdbi.v3.sqlobject.statement.SqlQuery; import org.jdbi.v3.sqlobject.statement.SqlUpdate; import ru.vyarus.guicey.jdbi3.installer.repository.JdbiReposi...
45.454545
343
0.768
e2ca40f097c52e8a618a293ef2ef11770a4e5d28
918
package info.orestes.rest.conversion; import org.apache.tika.mime.MediaType; import java.util.HashMap; import java.util.Map; /** * Created on 04.08.2014. * * @author Malte Lauenroth */ public class SimpleContext implements Context { private final MediaType mediaType; private final Map<String, Object> arg...
20.4
66
0.652505
dbfd1dd45c41ee72806183a879b210b55b188d46
2,116
/** * 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.117647
96
0.700851
53b0bbecdee54cd6c2abc7ca34090fd790cfe0c7
1,221
/* * Copyright (C) 2011 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...
29.780488
80
0.710074
983c04a78fb13d0819bde60392e8a7946d7a0303
187
package com.imnjh.imagepicker; import java.util.ArrayList; public interface PickerAction { void proceedResultAndFinish(ArrayList<String> selected, boolean original, int resultCode); }
26.714286
92
0.818182
1f39e2f04e50c5194c63d079e06772a20389e5f8
570
package logic; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class LogicForward extends HttpServlet{ public void fo...
31.666667
129
0.838596
6aebcc93bc4cdb9679b3c2910ffdb579c208cac5
382
package org.apache.spark.ml.param.shared; /** * Code generator for shared params (sharedParams.scala). Run under the Spark folder with * <pre><code> * build/sbt "mllib/runMain org.apache.spark.ml.param.shared.SharedParamsCodeGen" * </code></pre> */ public class SharedParamsCodeGen { static public void main (...
34.727273
89
0.725131
da5dcca64ad363f38e370b0b113455535e739109
908
package com.fa.cim.common.annotations; import org.springframework.core.annotation.AliasFor; import org.springframework.web.bind.annotation.RestController; import java.lang.annotation.*; /** * description: * <p>ListenableController .<br/></p> * <p> * change history: * date defect# person ...
26.705882
120
0.575991
d347d27b4da4bb40d9ca4369b53dd666dc4e399f
80
package com.concurnas.compiler.visitors; public class SubTypeChecking { }
10
40
0.7625
5fff5f11a671fd48189d0bf74a02e8d1ff5a9797
14,960
package org.vebqa.vebtal.selenese.command; import static jp.vmi.selenium.selenese.command.ArgumentType.VALUE; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Map.Entry; import java.util.Set; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Do...
34.155251
135
0.698997
5a0236e06d02c6b982c67739fe94a01b279aa43b
1,405
package jwk.minecraft.garden.timer; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Iterator; import java.util.List; import java.util.Queue; import javax.annotation.Nonnull; import com.google.common.collect.Lists; import com.google.common.collect.Queues; import cpw.mods.fml.relaun...
22.66129
116
0.753025
14c9a138b2d800357606d8f9dbc10bd315efb257
7,295
package io.kubernetes.client.extended.generic; import static com.github.tomakehurst.wiremock.client.WireMock.*; import static org.junit.Assert.*; import com.github.tomakehurst.wiremock.junit.WireMockRule; import com.google.gson.Gson; import io.kubernetes.client.custom.V1Patch; import io.kubernetes.client.openapi.ApiC...
41.214689
99
0.710624
5c284e4abe0eba6bf24bbf1c6e439dfae016e845
1,050
package net.mostlyoriginal.api.utils.pooling; import com.artemis.utils.reflect.ClassReflection; import com.artemis.utils.reflect.Constructor; import com.artemis.utils.reflect.ReflectionException; /** * Object Pool that creats objects through Reflection mechanism. * * @author Namek * @see ObjectPool */ public cl...
25
106
0.734286
fb4b7f69d559aaa8881015451b45f8c6a8933a9b
4,807
package uk.ac.ebi.fg.utils.objects; /* * Copyright 2009-2014 European Molecular Biology Laboratory * * 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...
23.915423
99
0.618265
6ec5e591af1f1e8aaccf82b72d8ecf9bed1b3bcc
6,051
/* * BuildBattle - Ultimate building competition minigame * Copyright (C) 2019 Plajer's Lair - maintained by Tigerpanzer_02, Plajer and contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software ...
38.788462
158
0.705668
1a2a0e9795e5d85d725c8efe6665af4aace25976
1,490
package com.mmaitre314; import org.apache.spark.sql.*; import org.apache.spark.sql.streaming.*; import org.apache.spark.sql.types.*; public class Main { public static void main(String[] args) throws Exception { System.out.printf("Current folder: %s\n", System.getProperty("user.dir")); SparkSess...
32.391304
113
0.587919
3d5c5df848df24b83c19f6d2b711790430d5152a
831
/******************************************************************************* * Copyright (c) 2017, 2018 Pegasystems Inc. All rights reserved. * * Contributors: * Manu Varghese *******************************************************************************/ package com.pega.gcs.tracerviewer.model; import ...
27.7
113
0.602888
e45601a5e989d9c145298e0bfa8593706046800a
252
package com.gls.starter.data.jpa.base; import org.springframework.data.repository.NoRepositoryBean; /** * @author george */ @NoRepositoryBean public interface BaseEntityRepository<Entity extends BaseEntity> extends BaseRepository<Entity, Long> { }
22.909091
103
0.801587
81062dbe562573b166523bf6bcbc0aa81f441749
1,239
package com.mkyong.java11.jep329.chacha20; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.spec.ChaCha20ParameterSpec; /* The inputs to ChaCha20 encryption, specified by RFC 7539, are: - A 256-bit secret key (32 bytes) - A 96-bit nonce (12 bytes) - A 32-bit initial count (4 bytes) ...
26.361702
100
0.708636
4d4e484a8a8bb65a9d69677ac3bf59ebcfe6146d
5,184
package com.joeracosta.library; import android.content.Context; import android.os.Bundle; import android.os.Parcelable; import android.util.AttributeSet; import android.view.View; import android.widget.FrameLayout; import com.joeracosta.library.Map.NoViewIDException; /** * Created by Joe on 1/4/2016. * Abstract Cl...
30.857143
116
0.641975
a9ab8b1c76619f38ba3acb96612e8f2ada1fe053
2,155
package gq.baijie.cardgame.client.android.ui.view; import android.content.Context; import android.support.annotation.DrawableRes; import android.support.percent.PercentFrameLayout; import android.support.percent.PercentLayoutHelper; import android.support.v7.widget.AppCompatImageView; import android.view.Gravity; imp...
26.604938
97
0.721578
0ac3b5de73173f3c492b90a740a9869baa3ea6ec
5,128
package patrick.pramedia.wire.adapter; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; im...
37.430657
117
0.619735
1e41f3d23f8a2daf48ca2284299f047f20e49a0f
19,971
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/assuredworkloads/v1/assuredworkloads.proto package com.google.cloud.assuredworkloads.v1; public final class AssuredworkloadsProto { private AssuredworkloadsProto() {} public static void registerAllExtensions( com.google.prot...
64.422581
207
0.774573
89b79d3247e148662704cb02012241d29e1ede69
473
package com.brainlesslabs.momo.common.exceptions; public class DataCorruptedException extends MomoException { public DataCorruptedException() { super(MomoErrorCodes.DATA_CORRUPTED); } public DataCorruptedException(final String message) { super(message, MomoErrorCodes.DATA_CORRUPTED); }...
29.5625
80
0.7463
2be81e6fe1c48f7fbb39b5aed0596218c4d84e58
3,493
/* * Copyright 2016 Steven Smith sjs@sonic.net * * 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 ...
35.282828
79
0.655597
c609a5ada67fb77ac24191337b271b0f1463f5ae
251
package com.ruoyi.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.system.domain.SysRoleDept; /** * 角色与部门关联表 数据层 * * @author ruoyi */ public interface SysRoleDeptMapper extends BaseMapper<SysRoleDept> { }
17.928571
68
0.772908
1b42c334ff1f8bd56e3c9ada499cc406af2690ca
930
/*------------------------------------------------------------------------- * * Copyright (c) 2008-2011, PostgreSQL Global Development Group * * *------------------------------------------------------------------------- */ package org.postgresql.jdbc3g; import java.sql.SQLException; import java.util.Properties; impor...
30
138
0.612903
f84239a23e7c66847139f9020438161016db849f
902
package test_locally.api.status; import com.slack.api.status.v1.LegacyStatusApiException; import com.slack.api.status.v2.StatusApiException; import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response; import org.junit.Test; import static org.junit.Assert.assertEquals; public class EqualityTest { @...
30.066667
109
0.641907
846f769e07b9192b593625d4cfabee5e12ad7272
2,380
package com.pointcx.rocker.spring.boot.starter.web; import com.fizzed.rocker.BindableRockerModel; import com.fizzed.rocker.RenderingException; import com.fizzed.rocker.RockerModel; import com.fizzed.rocker.TemplateBindException; import com.fizzed.rocker.runtime.OutputStreamOutput; import com.fizzed.rocker.runtime.Rock...
41.754386
168
0.702941
43aa68171f34734bf0a2c76ff5095adf8d595bd8
2,762
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat 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/LICENSE-2.0 * * Unless r...
40.617647
123
0.749819
988d369db139bd2feeeb499b7dda8bf0527467fe
2,360
// Copyright © 2016-2019 Esko Luontola // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 package fi.luontola.cqrshotel.reservation.queries; import fi.luontola.cqrshotel.framework.projections.AnnotatedProjection; import fi.luontola.cqrshotel...
34.202899
111
0.699576
05d75f6fefb4b641c35f04fed739e791cbccfd83
2,026
/* Generated By:JJTree: Do not edit this line. OCommitStatement.java Version 4.3 */ /* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */ package com.orientechnologies.orient.core.sql.parser; import com.orient...
30.69697
163
0.71619
ed2d5aade66989211faef13ece557237dba92e78
338
package dao; import entity.Order; import java.util.List; public interface OrderDAO extends SuperDAO{ /*public List<Order> getAllOrders(); public Order getOrder(String orderId); public boolean saveOrder(Order order); public boolean deleteOrder(String orderId); public boolean updateOrder(Order ...
16.9
48
0.724852
f5ffb0f2d9f54639ac4ac1a3d54c42136173430e
5,800
package com.mjchael.datapump.core.service; import com.mjchael.datapump.core.model.AllTableColumn; import lombok.SneakyThrows; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.io.*; import java.math.Bi...
37.662338
128
0.588621
6170ad981e568b9e8491ab0f43361264bca6dca6
5,333
package demo.com.campussecondbookrecycle.Views; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import demo.com.campussecondbookrecycle.R; import de...
35.085526
87
0.551284
216e02b079e82f02dea4b893aa062428676e2c2c
523
package com.joshstrohminger.stepbystep; import android.app.Fragment; public class FragmentMap { private int fragmentName; private Class<? extends Fragment> fragmentClass; public FragmentMap(int fragmentName, Class<? extends Fragment> fragmentClass) { this.fragmentName = fragmentName; this....
27.526316
83
0.705545
52eb101a9e24374e95fcdb51c104dfb36c81a785
1,965
package me.deecaad.weaponmechanics.weapon.weaponevents; import me.deecaad.core.utils.primitive.DoubleMap; import me.deecaad.weaponmechanics.weapon.explode.regeneration.BlockRegenSorter; import me.deecaad.weaponmechanics.weapon.projectile.weaponprojectile.WeaponProjectile; import org.bukkit.block.Block; import org.bukk...
25.855263
94
0.69771
ae4e098cb69a15a6d88322e6d26fcb9a3d01f7bb
7,530
/* * LICENSE * * "THE BEER-WARE LICENSE" (Revision 42): * "Sven Strittmatter" <ich@weltraumschaf.de> wrote this file. * As long as you retain this notice you can do whatever you want with * this stuff. If we meet some day, and you think this stuff is worth it, * you can buy me a beer in return. */ package org.j...
31.506276
128
0.600664
614f44b0aec79d94a3db5349d1786b8548e27a96
1,674
/* * 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.163265
112
0.700119
0e0c6d4bf8a030b56c27d55f814035e9634b9ce1
1,396
package com.vantibolli.inventory.dto; public class ItemQuantityDto { private String name; private String size; private String warehouse; private String country; private int quantity; /** * @return the quantity */ public int getQuantity() { return quantity; } /** * @param quantity the qu...
15.010753
105
0.622493
2b35f72b1b9bda194bcc8f0c0a8a333e9014bec9
543
package com.padcmyanmar.poc_screen_implementation.dagger; import com.padcmyanmar.poc_screen_implementation.network.PopularMoviesDataAgent; import com.padcmyanmar.poc_screen_implementation.network.PopularMoviesDataAgentImpl; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Created ...
22.625
84
0.797422
4f5e3db5d39500ff8d6ceb659f70f2730b0a661e
19,629
/* * 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.autoscaling.capacity; import org.elasticsear...
51.928571
140
0.662846
a843eecff43ae2ee9f2d58608ab842b9f0add0ec
6,152
package gov.healthit.chpl.auth.dao.impl; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.Set; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.f...
36.838323
116
0.725293
9f9c7a614ab4ea1ef2fc08cc500329acc8f74888
1,293
package com.yunussen.mobilappws; import org.modelmapper.ModelMapper; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootSe...
29.386364
85
0.823666
b67c6e8834c3dabea24283dbf1b259d0a60b7b9b
895
package implementation; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Boj2566 { public static final String NEW_LINE = "\n"; public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(Syste...
23.552632
75
0.603352
c6a0e3803490cbad1a594f64d7a9b4622cfaecbf
2,113
package com.example.controller; import com.example.entity.User; import com.example.service.UserService; import com.example.service.impl.UserServiceImpl; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResp...
32.015152
122
0.640795
a0ab83d87e45805b3daf1453cac1dd9c481c6e88
845
package fi.nls.oskari.domain; public class SelectItem implements Comparable<SelectItem> { private String name = ""; private String value = ""; public int compareTo(SelectItem si2) { if(si2 == null) { return 0; } return this.getName().compareTo(si2.getName()); } public SelectItem...
18.777778
59
0.592899
97adb77d55344f4af93092aaecc10e6fb6d5e856
257
package com.bardlind.pattern.cor; /** * Created by baardl on 07.12.15. */ public interface EmailHandler { //reference to the next handler in the chain void setNext(EmailHandler handler); //handle request void handleRequest(Email email); }
23.363636
48
0.712062
8001e5466e9c0d0b5d4633aca103115a54a4c432
377
package io.onedev.server.web.page.project.setting.webhook; import io.onedev.server.web.page.base.BaseDependentCssResourceReference; public class WebHookCssResourceReference extends BaseDependentCssResourceReference { private static final long serialVersionUID = 1L; public WebHookCssResourceReference() { super(W...
26.928571
84
0.824934
eba72d4ab987b7f0112c8b52174b51cdd06e8f25
476
package org.openntf.domino.extmgr.events; import org.openntf.domino.extmgr.EMBridgeEventParams; public class AgentOpenEvent extends AbstractDocumentEvent { private static EMBridgeEventParams[] params = { EMBridgeEventParams.SourceDbpath, EMBridgeEventParams.Noteid, EMBridgeEventParams.Username }; @Ove...
23.8
111
0.760504
ad1ed32a69e4b9ff9420b2ac504e9266b04e4eb5
224
/** * Simple demo domain, no JPA, just hardcoded users in {@link com.github.virgo47.respsec.main.domain.UserDao}. * Point is - this is not poluted by any security at all. */ package com.github.virgo47.respsec.main.domain;
44.8
110
0.741071
257fbcf4e9259512e156d0e41b2cf31d96629280
46,620
package org.snpeff; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.snpeff.interval.Chromosome; import org.snpeff.interval.Custom; import org.snpeff.interval.Gene; import org.snpeff.interval.Genome; import or...
35.105422
188
0.683569
fbec0898e1a1f66b8928e4ef449e8231d6040038
1,482
package ru.tolstonogov.entities.file; import java.util.Objects; public class FileProperty { private FileGroupProperties group; private String propertyName; private String description; public FileProperty(FileGroupProperties group, String propertyName, String description) { this.group = grou...
24.295082
93
0.649798
36a54edf7c0c9d74f8e3d8dc925fb8850ff150bb
3,392
/** * Created by saazimi on 6/27/2018. */ public class List<T extends Comparable<T>> { Node<T> first; Node<T> last; private int size; Node recursivesearchvalue = null; public List() { first = null; last = null; } public List(Node<T> first) { this...
23.887324
83
0.442512
6167706159563a6a8963958fee32c34b4e97785b
3,637
package sktest.ling.zero.crypto; import org.junit.jupiter.api.Test; import org.shaneking.ling.zero.crypto.SKC1; import org.shaneking.ling.zero.lang.String0; import org.shaneking.ling.zero.lang.ZeroException; import java.io.UnsupportedEncodingException; import java.nio.charset.Charset; import java.nio.charset.Standard...
47.855263
211
0.692604
b2b427d896ce43cf83c44e8d0ea87a5a14759f2c
258
package at.ac.univie.a0908270.nncloud.db; import org.springframework.data.mongodb.repository.MongoRepository; public interface NeuronalNetworkRepository extends MongoRepository<Vinnsl, String> { //VinnslDefinition findByDescription(String description); }
32.25
84
0.844961
75e43224079211375c440f57f5d27dd3c3021bca
756
package com.ilearnrw.common.security.users.services; /* * Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details. */ import java.util.List; import java.util.Map; import com.ilearnrw.common.security.users.model.Role; import com.ilearnrw.common.security.users.model.User;...
23.625
99
0.730159
c800ddb41b9ffb07b9525e54b19a8ac9a5e2362a
2,810
/* * 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.940299
140
0.715658
c020417a0bc1accbda4f36675a1cb1433e01dddd
1,881
package itx.dataserver; import com.beust.jcommander.Parameter; public class DsScanArguments { @Parameter(names = {"-e", "--executor-size" }, description = "Number of threads in executor thread pool.") private int executorSize = 1; @Parameter(names = {"-p", "--root-path" }, description = "Root path of di...
29.390625
143
0.644338
e2ec6b285dee7ff040dd18b2db976c353de849ec
496
package top.woilanlan.mapper; import java.util.List; import top.woilanlan.bean.Department; import top.woilanlan.bean.Employee; public interface EmployeeMapper { int deleteByPrimaryKey(Integer id); int insert(Employee record); Employee selectByPrimaryKey(Integer id); List<Employee> selectAll(); ...
20.666667
44
0.760081
fd7d024c588d55262ec759387a027601fa529e4a
2,380
package in.becandid.app.becandid.ui.group; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by harishpc on 11/25/2017. */ public class CommunityGroupPojo { @SerializedName("created_by_id_user_name") @Expose private String created_by_id_user_name; ...
26.153846
93
0.697479
f745d77b70402b3d3bd50f19ac7249948494f806
1,397
package me.ionar.salhack.gui.hud.components; import com.mojang.realmsclient.gui.ChatFormatting; import me.ionar.salhack.gui.hud.HudComponentItem; import me.ionar.salhack.managers.ModuleManager; import me.ionar.salhack.managers.TickRateManager; import me.ionar.salhack.module.ui.HudModule; import me.ionar.salhack.util.c...
37.756757
233
0.733715
2c31e4c35bc0ad071a068dff0372ddb71df9ecec
4,433
package com.iceteaviet.englishnow.ui.matching.view; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.Snackbar; import android.support...
36.04065
173
0.719377
d23a19f825acf05a2bcd5fcecf5baec997e2e743
3,945
/******************************************************************************* * Copyright (c) 2006, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
34.605263
120
0.720913
d5ee1a8bbdf56e5e82313710151ef4eb192919f8
1,185
package com.alan.leetcode.leetcode.easy.lc0069; /** * * 题意:x 的平方根 * 难度:Easy * 分类:Math * 思路: * @author alan */ public class Solution { public static void main(String[] args) { System.out.println(mySqrtV2(2147395599)); } /** * 思路:二分查找 * @param x * @return */ public s...
19.112903
49
0.387342
23578a507907664e265de469d0a2d3758185370e
4,140
package ps2vfs.vfs; import ps2vfs.plugin.*; public class MountPoint { private String openPath; private boolean recursive; private boolean virtual; private boolean hidden; private static boolean debug = false; private java.util.Vector children = null; private MountPoint parent = null; public...
24.210526
85
0.608213
fdeb9bf978217b1bcf95637c9792949b18ca8115
8,673
/* * Copyright 2017-2021 original authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
36.906383
166
0.6104
665815388270acc3b03b7801dd2543909ac0f97d
681
package me.konskon.explodingbed.events; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.PlayerDeathEvent; import org.bukkit.event.player.PlayerItemConsumeEvent; impo...
21.967742
63
0.709251
1b218443f709413b3eb27ac2a472f61ac6ba4b13
1,785
package dzaima.ui.node.types; import dzaima.ui.gui.*; import dzaima.ui.node.*; import dzaima.ui.node.ctx.Ctx; import dzaima.ui.node.prop.Prop; import dzaima.utils.*; public class VNode extends FrameNode { private int pad; public VNode(Ctx ctx, String[] ks, Prop[] vs) { super(ctx, ks, vs); } public void...
25.140845
68
0.54958
49d51268b0ccb259b180c025175d16079b0ab500
3,459
package com.easysoft.sma; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.stereotype.Component; @Component @PropertySource(value = "classpath:custome.properties", ignoreResourceNotFound = true, encodin...
24.188811
106
0.813241
157e6694c4f028dd8255cce510158a83ba02f351
4,365
/** * Copyright 2019 ForgeRock AS. * * 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, ...
45
108
0.707446
b182b40c60a247c42a780a462d99907121eaa6d5
262
package org.bricolages.streaming.event; import lombok.*; import lombok.extern.slf4j.Slf4j; @AllArgsConstructor @Slf4j public class LogQueue { final SQSQueue queue; public void send(LogQueueEvent e) { queue.sendMessage(e.messageBody()); } }
18.714286
43
0.725191
dd1bc24eb8ba7fde824a6b4876e62706cfe0435e
2,330
/* * Copyright 2012 Benjamin Glatzel <benjamin.glatzel@me.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...
27.738095
89
0.682403
7e80b495ccc6309ff2926e9de98cd08274c3cb0b
1,249
package com.wjiec.springaio.rpc; import com.wjiec.springaio.rpc.service.EchoService; import com.wjiec.springaio.rpc.service.EchoServiceImpl; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.ann...
35.685714
95
0.755805
725edaf5632dc40e1409a0c461edc905e8b3d542
1,093
package com.tasly.score.core; import com.tasly.score.core.api.TCCScoreService; import org.bytesoft.compensable.Compensable; import org.bytesoft.compensable.CompensableCancel; import org.bytesoft.compensable.CompensableConfirm; import org.springframework.transaction.annotation.Transactional; import org.springframework...
22.770833
70
0.722781
8806dc904f07ea5e4c533baa2c0bb8fe951246a2
6,126
package com.folioreader.ui.adapter; import android.content.Context; import android.graphics.Color; import android.graphics.Typeface; import android.text.SpannableString; import android.text.style.StyleSpan; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widg...
36.248521
117
0.597127
d51bba04a0e751047020d541c7788602a0758f48
2,681
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under // the terms of the Eclipse Public License 2.0 which is available at // https://www.eclipse.org/leg...
30.816092
156
0.569937
e99c8e44d9986d5f81df5555ca41603282124775
5,726
/* * Copyright 2020 HPB 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 required by applicable law or agre...
29.822917
122
0.615264
e3e6e090ad48a7bba4b27f98ff11979f847cad4d
102
package com.app.listener; public interface ListenerAddToDabase { void notesAddedToDatabase(); }
14.571429
38
0.77451
57d42f4c73885731528346a78993e5ce5a6a52ac
3,105
package com.iankoulski.problems.ccibook.tg; import com.iankoulski.problems.ccibook.tg.*; import org.junit.Assert; import org.junit.Test; import org.junit.runners.model.TestClass; /** * Unit test for simple App. */ public class BuildOrderTest extends TestClass { public BuildOrderTest( ) { super( Bui...
29.018692
95
0.445411
509ced21059b3bc8a1debb67b3113bcf5e54fc25
1,009
package uk.gov.justice.digital.hmpps.keyworker.model; import java.util.HashMap; import java.util.Map; public enum DeallocationReason { OVERRIDE("OVERRIDE"), RELEASED("RELEASED"), KEYWORKER_STATUS_CHANGE("KEYWORKER_STATUS_CHANGE"), TRANSFER("TRANSFER"), MERGED("MERGED"), MISSING("MISSING"), ...
22.931818
82
0.656095
1fb7a8d80c9ddba959388e01020a634ae8655025
2,358
package id.placeholderlabs.laundry.util; import android.content.Context; import android.content.SharedPreferences; /** * Created by alfredo on 4/8/2018. */ public class SharedPreferenceManager { public static final String APP_NAME = "Laundryan"; public static final String APP_USERNAME = "AppUsername"; ...
29.848101
88
0.699746
6288ecd423e405e9922ddcbe743b3fda1695a91a
3,260
package io.github.daichim.jach.internal; import io.github.daichim.jach.channel.BufferedChannel; import io.github.daichim.jach.exception.ClosedChannelException; import io.github.daichim.jach.exception.NoSuchChannelElementException; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.fu...
33.608247
100
0.651227
7b9c19669488c67360de49eecec2eb434a5d5abb
3,318
package org.usfirst.frc.team619.subsystems.drive; import org.usfirst.frc.team619.hardware.DigitalEncoder; import org.usfirst.frc.team619.hardware.TalonCan; /** * Mecanum drive base that is based off the code for the tank drive base, just has extra motors and servos added * @author admin */ public class SRXMecanumD...
30.722222
139
0.689873
d5d5b58e1a73e55251369fc972e026a5341e946c
3,873
/* * Copyright 2020 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 ...
38.346535
99
0.729151
74e66416344250ea851e04fab4d14941c47a767b
13,233
/* * Copyright 2021 OPPO ESA Stack 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...
43.386885
119
0.647094
5e7957e712b0c35857cd9474ba673f1c18ec03e6
2,222
package org.researchstack.backbone.model; import java.io.Serializable; import java.util.Date; /* Created by bradleymcdermott on 10/22/15. */ public class User implements Serializable { private String name; private String email; private Date birthDate; private UserHealth userHealth; /** ...
22.907216
175
0.651665
bae92f4ad8667740c6bdc62797238c6f13915da6
388
/* * 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 org.martin.defaultServer.system; /** * * @author martin */ public class SysInfo { public static final short DEFAULT_SLE...
24.25
79
0.729381
83734df91a8d694fdcb48000e706d60a6c651a6f
726
/* * Copyright (c) 2020 Markus Neifer * Licensed under the MIT License. * See file LICENSE in parent directory of project root. */ package de.mneifercons.examples; /** * Bit fiddler. */ final class BitFiddler { private BitFiddler() { } /** * Application entry point. * * @param ...
20.742857
57
0.568871
c3a3e675d7742fa8c9a90db82e27cbcdc1511747
1,256
package edu.pitt.isg.deserializers; import com.google.gson.*; import edu.pitt.isg.mdc.dats2_2.Organization; import edu.pitt.isg.mdc.dats2_2.Person; import edu.pitt.isg.mdc.dats2_2.PersonComprisedEntity; import java.lang.reflect.Type; import java.util.Arrays; import java.util.Collections; import java.util.List; publi...
41.866667
156
0.746815
2db13bda298c56628cfa4d0b082846d544cbd78c
484
package com.gravityray.examples.mvvm.database; import android.arch.persistence.room.Database; import android.arch.persistence.room.RoomDatabase; import com.gravityray.examples.mvvm.models.database.MessageEntity; @Database( entities = { MessageEntity.class }, version = 1 ) pub...
23.047619
66
0.729339
bfab3421aaf3d7019105ed33ed71c471e2c3ac8a
1,345
package sndml.servicenow; import org.junit.*; import org.slf4j.Logger; import static org.junit.Assert.*; import java.io.IOException; import java.util.Properties; public class SessionVerificationTest { Logger logger = TestManager.getLogger(this.getClass()); @Test public void testValidate() throws Exception { ...
27.44898
65
0.728625
efcf3108df03d24ba159599ed20bb841f2bd8d4e
5,980
package com.dianrong.common.uniauth.common.bean.request; import io.swagger.annotations.ApiModel; import lombok.ToString; import java.util.List; @ToString @ApiModel("组操作请求参数") public class GroupParam extends PageParam { private static final long serialVersionUID = -4261321484001881493L; private Integer id; pr...
20.340136
95
0.718896
c5369ec8c056d12567771b62e1407f4def44e6e8
5,835
/* * Copyright 2015-2019 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...
31.540541
89
0.768295
f7c9a47fee81ec4664c285098edd35c0d733555f
241
package org.cryptoapi.bench.http; import java.net.MalformedURLException; import java.net.URL; public class HttpProtocolABMC1 { public void go(String url) throws MalformedURLException { System.out.println(new URL(url)); } }
21.909091
61
0.742739
962981cf83c6abc70562c9081be1df99dd519376
2,334
/* * Copyright (c) 2002 Ernest Yu. All rights reserved. * * 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, ...
34.323529
79
0.651671