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
3f748adef8597f359c4e021dbed9b7886e3261c6
13,583
package eu.bcvsolutions.idm.core.model.service.impl; import java.util.List; import java.util.UUID; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Join; import javax.persistence.criteria.Predicate; import javax.persistence.criteria....
43.120635
179
0.778179
c851ba8c738704c6fe51960b7003ac29414bcc87
441
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.producers; public interface ThreadHandoffProducerQueue { void addToQueueOrExecute(Runnable ...
19.173913
66
0.746032
bd4b92f8d8f32b341a7ad7a72e772427592f37c0
3,960
package com.marklogic.hub.central.schemas; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.f...
32.727273
458
0.625758
1a88158398f547075f74781d8c7c1001cbfc7b55
4,764
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.oa.entity.sign; import org.hibernate.validator.constraints.Length; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.thinkgem.jee...
19.85
108
0.729639
6ed3805f8a870989e46f5fd948a8c3995945120d
12,766
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
38.221557
107
0.724503
9e964166417609734fd6e6db6a744df8a558640f
287
package edu.nwpu.store.dao; import java.sql.SQLException; import java.util.List; import edu.nwpu.store.domain.Category; public interface CategoryDao { public List<Category> getAllCategories() throws SQLException; public void addCategory(Category category) throws SQLException; }
19.133333
64
0.801394
91e60cece3d825c9b5d2929cea787eec8eee36b1
3,608
/* * Copyright (c) 2020, Wild Adventure * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, this * list of condit...
37.195876
102
0.741408
570ff01c4e23e21d8ff7075cf9fa51183e35f992
31,324
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
32.8
176
0.607362
81b17ec7cb9d769a940bb8f7c206d951e29905dd
908
package com.songsy.imybatis.session.defaults; import com.songsy.imybatis.config.ExecutorType; import com.songsy.imybatis.config.IConfiguration; import com.songsy.imybatis.executor.IExecutor; import com.songsy.imybatis.session.ISqlSession; import com.songsy.imybatis.session.ISqlSessionFactory; /** * ISqlSessionFactor...
30.266667
101
0.780837
1c9d40ba37db1e47b2a1afb63870e937199ff9b0
46,641
/* * 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 br.com.autos.tela; import br.com.autos.control.ControlCarro; import br.com.autos.control.ControlCategoria; import br.com.autos...
51.085433
185
0.65108
b66b9d4dcac5473b1b9914a1b3eda50919b9837e
1,406
package org.drools.eclipse.dsl.editor; import org.drools.eclipse.dsl.editor.completion.DSLRuleCompletionProcessor; import org.drools.eclipse.editors.DRLSourceViewerConfig; import org.drools.eclipse.editors.completion.DefaultCompletionProcessor; import org.drools.eclipse.editors.scanners.DRLPartionScanner; import org.e...
37
85
0.825036
69c4300d49324aa650bbb43d1381ada96eaaaf75
3,993
/******************************************************************************* * Copyright 2017 AXIANS * * 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 owners...
31.440945
110
0.729276
d6c4369259050228e3fa799d94a20a41f6cd7b76
158
package com.patterncat.rpc.service.demo; /** * Created by patterncat on 2016/4/6. */ public interface HelloService { public String say(String name); }
17.555556
40
0.71519
ba67990233b321c3de3fe2db4fdcb57a17330318
1,520
/** * Copyright (C) 2014 android10.org. All rights reserved. * * @author Fernando Cejas (the android10 coder) */ package com.fernandocejas.android10.sample.presentation.view.fragment; import android.app.Fragment; import android.databinding.ViewDataBinding; import android.os.Bundle; import android.support.annotatio...
24.126984
102
0.744079
a804bd3da48a92894dd1f63755024153c32884ed
3,554
package org.opencds.cqf.cql.model; import java.util.Calendar; import org.hl7.fhir.dstu3.model.*; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.context.FhirVersionEnum; public class Dstu3FhirModelResolver extends FhirModelResolver<Base, BaseDateTimeType, TimeType, SimpleQuantity, IdType, Resourc...
35.188119
127
0.670231
2f12ccaa85eb0ecd3a39fe2281b1b20126c169a0
2,519
package org.valuereporter.sla; /** * @author <a href="mailto:bard.lind@gmail.com">Bard Lind</a> */ public class UsageStatistics { private final String prefix; private final String methodName; private final long duration; private final long startTime; private final long count; private final lo...
23.324074
204
0.525208
919f99e7bdb658a28c3819da35d732bb14ab45c9
3,423
/** * 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...
42.259259
119
0.753141
aaa936e5843062a91e33d4812e5ec12ba93dc4f7
6,652
/* * Copyright (c) 2020, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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.apac...
32.930693
117
0.742784
2912e1e5783a482cc5485180a50e9b79adc5c025
4,299
package com.maven.entity; import java.util.Date; public class BettingQp { private String turnNumber; private String serverId; private String kindId; private String roomName; private String startTime; private String endTime; private String score;//--输赢 private String turnScore;//...
19.106667
66
0.635264
223ef20233a03be96e9d2e060cfaffed057dbfa9
1,138
/* * Copyright © 2014 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
27.756098
80
0.734622
b041146bb1c7aef629cd779f1bf96cfd2ddb3153
2,484
public class Employee { private int employeeID; private static int ID = 1; private int employeeofficenum; private String type; private String name; private Date birthdate; private String gender; private Address address; private Phone phone; private boolean activestatus; private double salary; ...
38.215385
131
0.719807
050884e9daed7514040edd43a3c4b927557466cc
369
/* * Cat.java * chap16 * * .'' * ._.-.___.' (`\ * //( ( `' * '/ )\ ).__. ) * ' <' `\ ._/'\ * ` \ \ * * Created by Chyi Yaqing on 06/05/19 13:06. * Copyright (C) 2019. Chyi Yaqing. * All rights reserved. * * Distributed under terms of the MIT license. */ public class Cat e...
14.192308
46
0.441734
6dbe759441b36af17bacb3b136bd4bf2b5d5ec26
1,677
package mongoconector; import com.mongodb.BasicDBObject; import com.mongodb.DB; import com.mongodb.DBCollection; import com.mongodb.MongoClient; import java.util.Date; import java.util.Scanner; public class MongoConector { public static void main(String[] args) { Scanner input = new Scanner(System.in); ...
29.946429
62
0.532499
dbba200154bc77d169fbb928bf000c5576541f78
3,303
package org.mockserver.collections; import org.mockserver.logging.MockServerLogger; import org.mockserver.matchers.RegexStringMatcher; import org.mockserver.model.NottableString; import java.util.*; import static org.mockserver.model.NottableString.string; /** * Map that uses case insensitive regex expression matc...
35.516129
160
0.612171
c0964570d601d0e26936f2dd6afe3f5a2cbdc88c
2,409
package me.saro.sap.jco; import com.sap.conn.jco.JCoField; import com.sap.conn.jco.JCoTable; import me.saro.kit.Streams; import me.saro.kit.functions.ThrowableBiConsumer; import me.saro.kit.functions.ThrowableConsumer; import java.text.SimpleDateFormat; import java.util.*; import java.util.function.Supplier; /** * ...
28.341176
122
0.574512
6d9f6dab7afd49f795a969433aafa251abd5509e
789
package derbyTest.copy; import static org.junit.Assert.*; import java.util.ArrayList; import org.junit.Before; import org.junit.Test; import model.Coordinate; import model.Spot; import persist.DerbyDatabase; public class MapInventoryTest { DerbyDatabase database = new DerbyDatabase(); String mapInventory = "01...
17.533333
79
0.745247
6a16ff8e3bee9d3bc6b8326e353f256a2fc6d25e
10,329
package com.android.avPipe; import android.media.AudioFormat; import android.media.AudioRecord; import android.media.AudioTrack; import android.media.MediaCodec; import android.media.MediaCodecInfo; import android.media.MediaFormat; import android.media.MediaRecorder; import android.util.Log; import java.nio.ByteBuff...
31.781538
156
0.701036
f1c7f247267f0ec17901510efe2de313cb9585fa
929
import java.util.ArrayDeque; import java.util.Deque; public class Solution2 { public int largestRectangleArea(int[] heights) { int len = heights.length; if (len == 0) { return 0; } if (len == 1) { return heights[0]; } int area = 0; i...
25.108108
60
0.46394
7a96a97b05a0f1e6751c0c036d8c0996750c782f
186
package com.example.demoserviceprovider.entity.req; import lombok.Data; @Data public class ReqHierActual { public String hotelcode; public int fromBiz; public int toBiz; }
16.909091
51
0.752688
087298e661e7b687a3d4cba95dab54eeae6fb66b
9,736
/* 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...
47.033816
169
0.744967
603b24af009abd8883d3804689bbdc6814fe6ad4
336
package com.pepper.service.emap.node; import java.util.List; import com.pepper.core.base.BaseService; import com.pepper.model.emap.node.NodeType; /** * * @author Mr.Liu * */ public interface NodeTypeService extends BaseService<NodeType> { public NodeType findByCode(String code); public NodeType findByName(...
17.684211
64
0.755952
a9c2ecdd1631272647c8c7fa82753e8a692344c0
314
package io.memoria.reactive.core.eventsourcing.pipeline.state; import io.memoria.reactive.core.eventsourcing.Event; import io.memoria.reactive.core.eventsourcing.State; import io.vavr.Function2; @FunctionalInterface public interface StateEvolver<S extends State, E extends Event> extends Function2<S, E, S> { }
28.545455
92
0.815287
b8641094bcb68555c86b38cbf42ee4b43a562659
1,423
package com.example.android.miwok; import android.media.MediaPlayer; import android.provider.MediaStore; /** * Created by Asus on 30.07.2018. */ public class Word { /** Default translation for a word*/ private String mDefaultTranslation; /** Default translation for a word*/ private String mMiwok...
21.892308
112
0.718201
29f42384817eadbd03ea897c7327db6343157c4c
170
package pt.svm; class Analysis { public static void main(String[] args) { System.out.println("Hello, from `pt.svm.Analysis`, implemented in Java."); } }
21.25
82
0.647059
82b5e3e7bf82e23f0fc3095e336397a511b6b704
819
package com.github.robindevilliers.welcometohell.wizard.parser; import org.springframework.stereotype.Component; import org.xml.sax.Attributes; import com.github.robindevilliers.welcometohell.wizard.ElementParser; import com.github.robindevilliers.welcometohell.wizard.domain.Span; import java.util.Stack; import stat...
27.3
95
0.757021
353055ee50737c28de65ba7de0723d4a39543c7d
2,737
package com.orm; // Generated 2015-4-1 10:16:49 by Hibernate Tools 3.2.2.GA import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence...
22.434426
220
0.719766
a07564788e0217ab705c7c272e5c89cc66716893
7,356
/* * 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.antropometria.dao; import com.antropometria.dao.exceptions.NonexistentEntityException; import com.antropometria.dao.except...
35.028571
117
0.567972
3374dc6477ccc3609a2acebe208998d24efddb56
2,905
package org.taymyr.lagom.internal.openapi.cases; import akka.NotUsed; import com.lightbend.lagom.javadsl.api.Descriptor; import com.lightbend.lagom.javadsl.api.Service; import com.lightbend.lagom.javadsl.api.ServiceCall; import com.lightbend.lagom.javadsl.api.transport.Method; import io.swagger.v3.oas.annotations.Open...
35.864198
123
0.599312
fbdd62c8cd602e9255b69a9afbc9b1dbe4114250
783
package net.minestom.script.command.world; import net.minestom.script.command.RichCommand; import static net.minestom.server.command.builder.arguments.ArgumentType.Integer; import static net.minestom.server.command.builder.arguments.ArgumentType.Word; public class WeatherCommand extends RichCommand { public Weat...
31.32
104
0.628352
0e3eb33754e3e080e7dd1ceb24f7444d84b613a4
1,188
package com.kixeye.kixmpp.server.module.muc; /* * #%L * KIXMPP * %% * Copyright (C) 2014 KIXEYE, 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....
31.263158
100
0.728114
328d714256cec48390735f6dcc414e11b0753b39
354
package com.imooc.order.pojo.bo; import lombok.Data; import lombok.ToString; /** * foodie-dev * 订单BO * @author: YYF * @create: 2020-05-07 09:46 **/ @Data @ToString public class SubmitOrderBO { private String userId; private String itemSpecIds; private String addressId; private Integer payMetho...
15.391304
32
0.694915
7ed38ba39c52d7fdde91b5da86639c49fcfec95e
38,871
package org.alliancegenome.cacher.cachers; import lombok.extern.log4j.Log4j2; import org.alliancegenome.api.entity.CacheStatus; import org.alliancegenome.api.service.DiseaseRibbonService; import org.alliancegenome.cache.CacheAlliance; import org.alliancegenome.cache.ConditionService; import org.alliancegenome.cache.re...
56.580786
214
0.586427
db6940a40b1fabfc89caac71933b7102d0d1e39d
2,118
package com.classicmodels.repository; import java.math.BigDecimal; import static jooq.generated.tables.Orderdetail.ORDERDETAIL; import static jooq.generated.tables.Product.PRODUCT; import static jooq.generated.tables.Sale.SALE; import static jooq.generated.tables.Token.TOKEN; import org.jooq.DSLContext; import static ...
36.517241
114
0.655807
a7184db73cdbb7e7ee10dc9d33d523c32113b268
1,837
/** * Copyright (c) 2014, by the Authors: John Lloyd (UBC), Tracy Wilkinson (UBC) and * ArtiSynth Team Members * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */package artisynth.core.gui.editorManager; import ...
33.4
82
0.713664
414b32c8429e1f593df5e0c56281f8fc7b742355
4,760
package dev.nuculabs.nucuhub.ui.settings.device; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import android.view.WindowManager...
35.522388
112
0.688655
275b6b73e42b97a80c6e3f70218a2c4d514649f3
3,807
/** * <copyright> * </copyright> * * $Id$ */ package fr.eyal.lib.datalib.genmodel.android.datalib.model.impl; import fr.eyal.lib.datalib.genmodel.android.datalib.model.BusinessObject; import fr.eyal.lib.datalib.genmodel.android.datalib.model.FieldBusinessObject; import fr.eyal.lib.datalib.genmodel.android.datalib...
23.645963
130
0.66798
4bc00eafbf4d3791a4d6c570025e3e161a6c2efb
4,455
// // Copyright 2022 DMetaSoul // // 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...
45
134
0.575982
4e883ddc90b167edb492bef531d91dcd3dbc365f
4,627
package net.christophschubert.kafka.clusterstate.formats.domain; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import net.christophschubert.kafka.clusterstate.formats.Helpers; import java.util.*; public c...
28.91875
89
0.575319
d3baeb67358658ce7ae5b821d837652a08869045
3,821
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * <p> * This program is distributed in the hope that it...
34.116071
139
0.626538
6c73f074a4a6a87b2d4a87d9d3ee1f700d8c85fd
5,755
/* * Copyright (C) 2015 Bilibili <jungly.ik@gmail.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...
36.891026
163
0.667246
3036756b83033716ba96a4dbf586844fc83c5435
180
package name.mrkandreev.ckpipeline.server.exception; public class JobCreationException extends RuntimeException { public JobCreationException(Throwable e) { super(e); } }
22.5
60
0.788889
b3c4333add3e64de063fc8d8a58868a6e562e022
679
package org.mafagafogigante.labyrint.entity.items; import org.mafagafogigante.labyrint.io.Version; import java.io.Serializable; /** * The food component of some items. */ public class FoodComponent implements Serializable { private static final long serialVersionUID = Version.MAJOR; private final int nutritio...
22.633333
68
0.77025
2944a88fd857d23fc98eda5d9e89d1bcc956c708
3,956
package io.javaoperatorsdk.operator.sample.schema; import java.sql.*; import java.util.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.javaoperatorsdk.operator.sample.MySQLDbConfig; import static java.lang.String.format; public class SchemaService { private static final Logger log ...
32.162602
99
0.651163
261ac5e3bea7ce08729e450ecebf592b04640ab3
2,182
package com.neo.caption.ocr.pojo; import com.neo.caption.ocr.constant.FileType; import com.neo.caption.ocr.view.MatNode; import javafx.application.HostServices; import javafx.stage.FileChooser; import javafx.stage.Stage; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Compon...
30.305556
105
0.690651
7360819ef0ca0a220895a6441a0656d5df4bde04
507
package org.testng.internal; import org.testng.ITestNGListener; import org.testng.ITestNGListenerFactory; /** * When no {@link ITestNGListenerFactory} implementations are available, TestNG defaults * to this implementation for instantiating listeners. */ public final class DefaultListenerFactory implements ITestNG...
31.6875
91
0.794872
0a98c45e253d2e30c0e922156682ad284972a52e
12,743
package demo_Collection; /* 集合 java.util.Collection \ java.util.Iterator \ java.util.Map 1. 集合和数组的区别 a. 数组长度是固定的, 集合长度是可变的 b. 数组存储同一类型的基本数据类型值; 集合存储的是对象, 对象类型可以不一致 2. 集合框架-Collection接口 a. Collection接口 | 1) 定义所有集合中共性的方法 ...
37.260234
102
0.486463
d244d0e6a6573dfd8e27f19e6c2cc9845f03027c
1,587
package com.xiaomi.kenai.jbosh; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import java.util.logging.Level; import java.util.logging.Logger; final class j { private static final Logger a = Logger.getLogger(j.class.getName()); ...
20.088608
83
0.591052
8eb3b30938ca285624c48a06f8593595a8343418
38,825
package com.eaw1805.www.shared.stores.units; import com.eaw1805.data.constants.ArmyConstants; import com.eaw1805.data.constants.GoodConstants; import com.eaw1805.data.constants.NavigationConstants; import com.eaw1805.data.constants.OrderConstants; import com.eaw1805.data.constants.RegionConstants; import com.eaw1805.d...
45.145349
160
0.579858
8d52217eab2c5310468d4faa57e5c54e34ef510d
17,084
package cop5555sp15; import java.util.*; import static cop5555sp15.TokenStream.Kind.AND; import static cop5555sp15.TokenStream.Kind.ARROW; import static cop5555sp15.TokenStream.Kind.ASSIGN; import static cop5555sp15.TokenStream.Kind.AT; import static cop5555sp15.TokenStream.Kind.BAR; import static cop5555sp1...
27.510467
175
0.662081
8dfbabd7fb234bd98fd31da1e886698586e74ec1
206
package in.bitanxen.poc.controller; import org.springframework.web.bind.annotation.RestController; @RestController public class EndSessionEndpoint { public static final String URL = "endsession"; }
18.727273
62
0.796117
37d2e550433618a20d77f582406612834706350f
792
package br.com.projeto.estoque.controller; import java.sql.Timestamp; import br.com.projeto.estoque.model.Gerente; import br.com.projeto.estoque.model.RegistroGerente; import br.com.projeto.estoque.model.TipoComportamento; import br.com.projeto.estoque.util.Essencial; public class ControllerRegistroGerente { public...
31.68
100
0.810606
6576fe3bf9182d3ae7f1d5b68814320035384ec2
433
/** * */ package org.collectionspace.services.note; /** * */ public interface NoteJAXBSchema { final static String NOTES_COMMON = "notes_common"; final static String CSID = "csid"; final static String OWNER = "owner"; final static String IS_PRIMARY ="isPrimary"; final static String ORDER = "order"; final st...
20.619048
51
0.709007
1d97519f4b8454639a007101ba7aa9da256df185
1,341
package com.tcl.launcher.core; import com.tcl.launcher.LauncherApplication; import com.tcl.launcher.constants.CommandConstants; import com.tcl.launcher.json.entry.CmdCtrl; import com.tcl.launcher.util.TLog; import com.tcl.launcher.widget.VoiceDialog; import com.tcl.rosesmarthome.SmartHome; /** * @author caomengqi/ca...
30.477273
78
0.772558
e98c14b20b88c0ba37f72345421c39ba77b21549
2,321
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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...
37.435484
106
0.669539
5190757374cee6ebf6421fa0d2e2f38a5c112fd3
3,082
package org.smartregister.kdp.util; import com.google.common.collect.Lists; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.powermock.api.mockito.PowerMockito; import org.powermock.core...
51.366667
541
0.720311
1e565e5f3ef4f106c7051c8248d41c6134028169
537
package net.minestom.vanilla.blocks; import net.minestom.server.instance.block.Block; public class TrappedChestBlockHandler extends ChestLikeBlockHandler { // TODO: redstone signal public TrappedChestBlockHandler() { super(Block.TRAPPED_CHEST); } // @Override // protected BlockPropertyList...
21.48
90
0.689013
f73429fad9701f95974bf56debd74e1e84fc0edc
4,380
/** * Copyright 2017 JessYan * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agree...
27.898089
85
0.607534
6e27fbdfe9e9a62ae891f09b897ee296a6ea0f0d
2,280
/* * Copyright (c) 2017, Andreas Fagschlunger. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, ...
36.774194
77
0.714912
789350aa926daa006699207b36a3eca055eafcaa
1,500
package org.firstinspires.ftc.teamcode.drive; import android.os.Build; import net.jafama.FastMath; /** * They return completely new classes for immutability. */ public final class Vector { private double x, y; public Vector(double x, double y) { this.x = x; this.y = y; } public st...
22.058824
61
0.548
2ad7f8e33e20d0fbd6e6db5c713dff34ab2671ac
3,567
package com.nrusev.domain; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persiste...
25.661871
109
0.593216
868678571e48404d0356529c4cae04d7d2c1ac7d
6,295
package com.shangjie.baselibs.glide; import android.content.Context; import android.text.TextUtils; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.load.engine.DiskCacheStrategy; import com.bumptech.glide.load.resource.bitmap.RoundedCorners; import com.bumptech.glide.load.r...
35.167598
116
0.574424
3db030ba338f0fce71a14b0717399db85a7a782d
1,592
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
37.904762
90
0.722362
79caa8731c8a20eb350dfaa77ff2a806af0e0271
250
package com.kenshoo.pl.data; import org.jooq.TableField; /** * */ public class SingleDBId<T> extends DatabaseId { public SingleDBId(TableField<?, T> tableField, T id) { super(new TableField[] {tableField}, new Object[]{id}); } }
17.857143
63
0.656
f80d8bbf65eac081df45de818da354615a2b1222
6,155
package org.bouncycastle.its; import java.io.IOException; import java.io.OutputStream; import org.bouncycastle.asn1.ASN1ObjectIdentifier; import org.bouncycastle.asn1.nist.NISTObjectIdentifiers; import org.bouncycastle.asn1.sec.SECObjectIdentifiers; import org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers; i...
38.710692
146
0.703168
ec198025fef2cfc5702ed3a59c64a074153981e1
1,489
package com.neusoft.designer.test; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import com.alibaba.dubbo.common.serialize.support.hessian.Hessian2ObjectInput; import com.neusfot.designer.domain.vo.LayoutVO; public class Test { public static void main(String[]...
37.225
148
0.593687
f939ffb7050a9018144ec45a8c3ca100cb456ac0
413
package tickets.interfaceses; import java.io.Serializable; /*********************************************************************************************************************** * AgeType class. Abstract class of all age types ***************************************************************************************...
34.416667
120
0.329298
7cad5d46cda25cc19b213d61da43c76f9a047385
595
package menuitems; import code.Constants; import code.Game; import code.GameObject; import code.Vec2f; public class DropButton extends GameObject { public DropButton() { super(new Vec2f(-Constants.OPENGL_SCREEN_HALF_WIDTH/2.0f, -1.5f),//TMP Hard coded false, Constants.MODEL_DROP_BUTTON, new Vec2f(Co...
18.030303
64
0.687395
fb5355e7033a5a223599325c00b78c6a7f147f9d
526
package com.oldwu.task.quartz; import com.oldwu.domain.SysQuartzJob; import com.oldwu.task.quartz.utils.JobInvokeUtil; import org.quartz.DisallowConcurrentExecution; import org.quartz.JobExecutionContext; /** * 定时任务处理(禁止并发执行) * * @author jan 橙寂 * */ @DisallowConcurrentExecution public class QuartzDisallowConcur...
23.909091
97
0.785171
18409885a4970e9045f4ff4468f3353adf1e2913
2,231
/* * Copyright 2014-2020 Rudy De Busscher (https://www.atbash.be) * * 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.871429
135
0.712685
89049a67df9e8995e8624e5ed3e65eb08054f62a
1,901
package com.ram.security; import java.io.IOException; import java.util.ArrayList; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.security.authentication.AuthenticationMana...
31.683333
90
0.8101
31d0c4cc02ef54e7f566939491916113ef80b190
1,006
package com.kite.intellij.codeFinder; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.vfs.VirtualFile; import com.kite.intellij....
33.533333
89
0.720676
0a999ade0e4c1aaa005a272a7c00a8a8fc36c06f
10,900
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.clickhouse20191111.models; import com.aliyun.tea.*; public class DescribeProcessListResponse extends TeaModel { @NameInMap("RequestId") @Validation(required = true) public String requestId; @NameInMap("ProcessList") @Valida...
36.212625
165
0.68
a082a6264c78501f76990e1076d062a9f8b9023c
1,530
/* * Copyright 2014 Joao Lourenco * * 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...
27.818182
76
0.65098
6c3dd488ad042bdb6bc8f27cfc8b5881309e0e9f
1,141
package edu.nwpu.store.web.base; import java.lang.reflect.Method; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/BaseServlet") public class BaseServlet extends HttpServlet { ...
26.534884
92
0.725679
3628ee74451b8cf49feb2bc7960b42c2803c39ac
79,775
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
38.876706
205
0.745133
4f76c81b2ccd393a14f01b061b19dfb144d4b57f
2,725
package pt.isel.ps.li61n.model.entities; import com.fasterxml.jackson.annotation.JsonView; import pt.isel.ps.li61n.controller.ModeloDeRepresentacao; import javax.persistence.*; /** * Instalacao - Identifica uma instalação (localização específica) * Created on 03/05/2016. * * @author Carlos Marques - carlosmmarq...
29.301075
125
0.688073
4f1e67d3cb98ad258fc456730ab3748331cb51c5
326
package com.pan.java8; import com.pan.java8.entity.Person; import org.junit.Test; import java.util.Optional; public class OptionalDemo01 { @Test public void test1() { Person person = new Person(); person.setAge(24); Optional.ofNullable(person).get(); System.out.println(); ...
18.111111
42
0.641104
fb8c3aeb36e4cfbfc8d78f78f2a9ceaca40a7854
2,825
/*L * Copyright Duke Comprehensive Cancer Center * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/catrip/LICENSE.txt for details. */ package gov.nih.nci.catrip.fqe.engine; import gov.nih.nci.cagrid.cqlquery.CQLQuery; import gov.nih.nci.cagrid.cqlresultset.CQLQueryResul...
34.876543
165
0.675398
8481fa0af6ded92741e43f8fef8a88c604620aff
17,867
package com.rustfisher.githubonandroid.network.bean; import com.google.gson.annotations.SerializedName; import java.util.Locale; /** * Public repositories for the specified user. */ public class UserRepo { private int id; private String name; private String full_name; private OwnerBean owner; @...
22.731552
107
0.632843
6586102a3fdb2f7cc3054e88ba394e240cd8bde4
1,062
package com.game.framework.gl; public class GameImage { private float u1, v1; private float u2, v2; private float width; private float height; private int textureWidth; private int textureHeight; private float x; private float y; public GameImage(float x, float y, float width, float height, int tex...
15.617647
62
0.678908
60cab48212d498e6bdadee2525d0e7eafcacfff2
5,918
/** * This software was developed and / or modified by Raytheon Company, * pursuant to Contract DG133W-05-CQ-1067 with the US Government. * * U.S. EXPORT CONTROLLED TECHNICAL DATA * This software product contains export-restricted data whose * export/transfer/disclosure is restricted by U.S. law. Dissemination ...
29.59
135
0.634674
859615a6c0dca130a87236cffdbec6b6c460793f
1,506
package com.bk.security; import java.util.logging.Level; import java.util.logging.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; imp...
40.702703
87
0.829349
330c9e791bd11953713dfeb62c75bfbed9dd4252
2,264
/** * */ package test; import java.util.List; import org.junit.jupiter.api.Test; import com.cprms.dao.UserDaoImp; import com.cprms.domain.User; /** * @author cheng * @version 2018年12月30日下午8:11:27 */ class UserDaoTest { //测试insertUser() @Test public void test01() { UserDaoImp userDao = new UserDaoImp(); ...
22.64
57
0.678445
efe0f70bd66ec85dd1405cc366bd598f7b909991
6,977
package org.luaj.vm2.compiler; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; import org.luaj....
26.731801
100
0.611581
e131c9adf92365fa7bdc54c0ca8cda5e492a8b51
2,531
package palisades.lakes.elements.java.accumulate.dot; import org.apache.commons.math3.fraction.BigFraction; import palisades.lakes.elements.java.accumulate.AccumulatorBase; import palisades.lakes.elements.java.accumulate.dot.BigFractionDot; //-------------------------------------------------------------- /** Exact ...
31.6375
67
0.54919
3b9617eba7309083c752c28101f3fa8530242468
1,265
package com.bumptech.glide.load.engine; import com.bumptech.glide.load.Key; import java.util.Collections; import java.util.HashMap; import java.util.Map; final class Jobs { private final Map<Key, EngineJob<?>> jobs = new HashMap(); private final Map<Key, EngineJob<?>> onlyCacheJobs = new HashMap(); Jobs(...
30.119048
85
0.656126
7b475aeb6ea68154c5ce065323015cdda79d0e27
4,938
/* * Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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...
30.481481
115
0.714864
5069fbf7ee8676105da09d501c284d4bdbebd347
2,892
/** * Copyright 2015 Confluent Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
25.59292
85
0.720954
9bd9f1d2e6329d52a2ed4cdec775d463fbcde984
35,805
package com.github.jinahya.assertj.validation; /*- * #%L * assertj-bean-validation-base * %% * Copyright (C) 2021 Jinahya, 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 * ...
39.302964
133
0.560425
2a2906e27ef994756985aca68282c2ff6abf454d
1,145
package com.tkmdpa.taf.definitions.pantheon; import com.tkmdpa.taf.steps.pantheon.UserAccountSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; import org.jbehave.core.annotations.When; public class UserAccountDefinition { @St...
30.945946
74
0.745852