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
3c4e08fd1b1c41d5fc300ece568ad173b3599fb4
2,268
import java.io.BufferedReader; import java.io.IOError; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.StringTokenizer; public class Chocolate_Feast { FastIO scan = n...
19.384615
61
0.630511
872fc7ee83188f9c17198fc4571073a8d88010ee
3,580
package org.javamaster.b2c.test.model.validation; import org.hibernate.validator.constraints.Range; import org.javamaster.b2c.test.validation.CarChecks; import org.javamaster.b2c.test.validation.CarTypeEnum; import javax.validation.Valid; import javax.validation.constraints.*; import java.util.ArrayList; import java....
25.034965
103
0.669553
17136cfd831fa1406dfead0818923dd6fa0972b7
241
package org.pacote.android.apps.retrofit; public class Cotacoes { public Cotacao ticker; public Cotacao getTicker() { return ticker; } public void setTicker(Cotacao ticker) { this.ticker = ticker; } }
16.066667
43
0.643154
2654d617d6b5ce9bb738b257cc6c47914dc7a62b
129
package com.genexus.sd.store.validation.model.exceptions; public class StoreResponseEnvironmentException extends Exception { }
25.8
67
0.844961
148da4de6ad88e0bee2ce4991046b818fba3282c
2,677
package org.robovm.bindings.gpgs; import org.robovm.apple.foundation.NSObject; import org.robovm.objc.ObjCClass; import org.robovm.objc.ObjCRuntime; import org.robovm.objc.Selector; import org.robovm.objc.annotation.NativeClass; import org.robovm.rt.bro.annotation.Bridge; import org.robovm.rt.bro.annotation.Library; ...
33.049383
107
0.792305
a5002a10ccb589e7a22f9a77e10940d5d0d0faa9
5,715
package MySQL.QueryTests; import static org.junit.jupiter.api.Assertions.assertEquals; import com.squiggle.Squiggle; import com.squiggle.parsers.MySQLParser; import com.squiggle.queries.TransactionQuery; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test;...
47.231405
235
0.537708
fda3b1d50c53e8d43f71442063d4b9a612ffc125
1,065
package fds; import java.util.Arrays; import java.util.Random; public class ArraysTest { public static void main(String[] args) { int[] data = new int[10]; Random rand = new Random(); // a pseudo-random number generator // Note : if we use the same seed each time, we will get // s...
44.375
109
0.639437
ea03086701f9a5480f480fe7c40a7e2e318e5b9d
1,822
package io.github.elkan1788.mpsdk4j.api; import io.github.elkan1788.mpsdk4j.vo.api.KfSession; import java.util.List; /** * 客服消息接口 * * @author 凡梦星尘(elkan1788@gmail.com) * @since 2.b.2 */ public interface CustomServiceAPI { /** * 客服消息的会话状态接口地址 */ String kfSessionURL = "/customservice/kfsession...
21.951807
105
0.626235
2292c60e310a8be133481934410c10da86e1e1aa
500
package com.dms.bees.rest; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; /** * bees REST Web程序启动类 * * @author dms * @date 2017年9月29日09:00:42 */ public class BeesRestServletInitializer extends SpringBootServletIn...
25
84
0.79
55217256589cbed92af99af80d94e75b86ac6d39
3,905
package com.mossle.internal.sendsms.persistence.domain; // Generated by Hibernate Tools import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; imp...
21.108108
76
0.567222
22ac8f10cfc286ab05a092b94ba456671d0c2f9b
3,296
package de.hska.userRoleService; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annota...
36.21978
138
0.744842
4c736bf2e435cffb5c0ce7926fa829fa0bddb373
918
package com.spark.hudsharedlib; import java.io.Serializable; import java.util.LinkedList; public class MessageSMSItemGroup extends MessageBaseItem implements Serializable, Cloneable{ /** * */ private static final long serialVersionUID = -5169364339018452278L; LinkedList<MessageSMSItem> mList; ...
24.157895
93
0.728758
4666344bb7068f0d7bd3ba26709eaab134248369
359
package com.magnarox.snds.model.repositories; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import com.magnarox.snds.model.entities.THadaaNngre; public interface THadaaNngreRepository extends JpaRepository<THadaaNngre, Void>, Jpa...
39.888889
120
0.860724
52d8a939cbc7b4341693172f85e912bbe8b06284
6,989
/* * Copyright 2021 DataCanvas * * 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 i...
35.120603
120
0.658463
a56088a9704dd53e5c336e8a7414637e1885e369
942
package com.hissummer.dbvisualizer.mongodb.service; import org.bson.Document; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.stereotype.Service; import lombok.extern.slf4j.Slf4j; @Slf4j @Service public class Mongod...
23.55
67
0.776008
26baa2d437ed0ed8bc8415c8e54501b7c5c82ce0
2,647
package moviebookservice.util; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.stereotype.Service; import java.util.Date; import java.util.HashMap; import java.util.Map; ...
38.926471
140
0.721949
b415972656834796e73af45bec88c77fff072222
1,254
package com.mercadopago.android.px.internal.features.review_and_confirm.components.items; import com.mercadopago.android.px.internal.features.review_and_confirm.models.ItemModel; import com.mercadopago.android.px.mocks.CurrencyStub; import com.mercadopago.android.px.model.Currency; import java.math.BigDecimal; import ...
40.451613
104
0.760766
bee3c250173bdfdcf0fabc6c0ba4587fb4ce7709
4,956
package com.zakl.msgdistribute; import com.zakl.consume.AnnotationMethodInfo; import com.zakl.consume.AnnotationUtil; import com.zakl.consume.MqSubScribe; import com.zakl.config.ClientConfig; import com.zakl.protocol.MqSubMessage; import com.zakl.util.MqHandleUtil; import lombok.SneakyThrows; import lombok.extern.slf4...
39.967742
168
0.629742
e180dcd6a568dfb002b22a47c2570995c3c90827
6,073
package com.urbanairship.api.push.parse.notification.adm; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableMap; import com.urbanairship.api.push.model.DeviceType; import com.urbanairship.api.push.model.DeviceTypeData; import c...
40.218543
97
0.606619
806216a99b9c0365081926eb9f276284114b1e65
1,084
package com.atguigu.gulimall.sms.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import ...
36.133333
115
0.75738
b97c8e3fb9e82b9ed40482ebc90e674489477207
12,191
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by Fernflower decompiler) // package org.apereo.cas.support.oauth.web.endpoints; import java.util.Collections; import java.util.List; import java.util.Optional; import java.util.stream.Stream; import javax.servlet.http.Cookie; import javax.s...
55.162896
606
0.812157
8b60dcf31105aec78ddb271f820f2c1987153430
660
package edu.usc.projecttalent.cognitive.thurstone; import android.os.Bundle; import edu.usc.projecttalent.cognitive.BaseActivity; import edu.usc.projecttalent.cognitive.R; /** * Instructions for the thurstone measure. * * @author Anindya Dutta */ public class TMInstruction extends BaseActivity { /** * ...
25.384615
92
0.728788
415783e9b3e0cadcbbf7caf881b22eedc13be3cb
827
import java.sql.*; import java.lang.*; public class DeleteData { public static void main(String args[]) { try { Connection conn = null; Statement stmt = null; String DB_URL = "jdbc:sqlite:/tempfs/db"; System.setProperty("org.sqlite.tmpdir", "/t...
33.08
66
0.556227
5262d3b78a6847ed748bafab3526b94b7ac0b214
2,332
// 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...
35.333333
76
0.705832
ec4b8775580fc1e03e5da5a3efde58d04a32b65f
3,310
/* * Copyright (C) 2012 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 a...
31.226415
94
0.657402
9907b075fd13afa6e69164f28ce8a91baf2b9c93
521
package com.redhat.database.benchmark; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class RestMongoFruit { @JsonIgnore public long id; public String name; public String description;...
23.681818
61
0.641075
489ec707f52a62d2e33e4ac2cb03598a1e2bce0b
3,121
/** * This class is generated by jOOQ */ package io.progix.dropwizard.jooq.schema.tables; /** * This class is generated by jOOQ. */ @javax.annotation.Generated( value = { "http://www.jooq.org", "jOOQ version:3.5.1" }, comments = "This class is generated by jOOQ" ) @java.lang.SuppressWarnings({ "all", "unche...
32.175258
200
0.732778
ab26a587ec738d2d7f599ffd607d2ef5c50a4193
287
/** * */ package com.photo.bas.core.vo.security; import com.photo.bas.core.model.security.Corporation; import com.photo.bas.core.utils.PageInfo; /** * @author FengYu * */ public abstract class AbsCorporationPageInfo<T extends Corporation> extends PageInfo<T> { }
17.9375
90
0.69338
89be0e9b0722084aa1bb9a5ac95eaac68c0ed723
3,693
package com.lwd.qjtv.mvp.ui.holder; import android.view.View; import android.widget.TextView; import com.jess.arms.base.App; import com.jess.arms.base.BaseHolder; import com.jess.arms.di.component.AppComponent; import com.jess.arms.widget.imageloader.ImageLoader; import com.jess.arms.widget.imageloader.glide.GlideIma...
39.287234
108
0.673165
fe2ecdc69ebe83e5ee4938e1009ee6fcd0e1a9c7
4,124
package com.aiitec.demo.model.util; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 校验工具 * Created by afb on 2017/9/5. */ public class VerifyUtil { private VerifyUtil() { } /** * 判断手机格式是否正确 */ public static boolean isMobileNO(String mobiles) { Pattern p = P...
25.614907
157
0.447624
0d8de3670e5989b985ddab44d3be0b0a6fb19201
543
package us.ihmc.humanoidRobotics.footstep.footstepGenerator.overheadPath; import us.ihmc.euclid.referenceFrame.FramePose2D; import us.ihmc.euclid.referenceFrame.ReferenceFrame; import us.ihmc.euclid.referenceFrame.interfaces.ReferenceFrameHolder; public abstract class OverheadPath implements ReferenceFrameHolder { ...
33.9375
77
0.856354
0564fe427a2a19e7fd884cc5dbd0ce03358254a8
12,089
/** * The MIT License (MIT) * * Copyright (c) 2021 nobark (tools4j), Marco Terzer, Anton Anufriev * * 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 witho...
48.163347
142
0.68583
04ecc62e4de4f8562d12cae36ea86967f7c76dfb
3,315
package org.usfirst.frc.team4488.robot.autonomous.modes; import java.util.ArrayList; import org.usfirst.frc.team4488.robot.Constants; import org.usfirst.frc.team4488.robot.app.paths.MidCrossLineOwnLeftSwitchAndLeftScalePart1; import org.usfirst.frc.team4488.robot.app.paths.MidCrossLineOwnLeftSwitchAndLeftScalePart2; i...
48.75
97
0.812368
79851f2e52d352078b512c8e1c666551c7e19a11
197
package com.github.caiogarcia.financeiro.bank.core.gateway; import com.github.caiogarcia.financeiro.bank.core.model.Bank; public interface ICreateBankGateway { Integer execute(Bank banco); }
24.625
61
0.807107
bae70c288ae56201be67c0f53f6b6449a3adff54
739
package com.zeroner.bledemo.utils; import android.app.Activity; import android.content.Context; import androidx.core.app.ActivityCompat; /** * 作者:hzy on 2018/1/5 10:49 * <p> * 邮箱:hezhiyuan@iwown.com */ public class PermissionUtils { public static final int Io_Permission=111; //shouldShowRequestPermissi...
28.423077
133
0.748309
ed23420f6b7ed0a936105aa6d7ad1a069545391c
122
package com.dlink.deamon; /** * DeamonTest * * @author wenmo * @since 2022/3/2 23:31 */ public class DeamonTest { }
11.090909
25
0.639344
477d56f6d6768eea6b864b32657fe7687c8ba760
1,117
package com.forum.areas.comment.models.view; import com.forum.areas.post.models.view.PostViewModel; import com.forum.areas.user.models.view.UserViewModel; import java.time.LocalDateTime; public class CommentViewModel { private Long id; private String content; private LocalDateTime publishDate; pr...
18.616667
59
0.645479
e541bce17e4f546f57c3408fcc96c699c63e4bce
13,410
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
41.388889
107
0.656823
ad7805fd595ea238c002e0cfcf0703bf69513e66
230
package app; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.NOT_FOUND) public class UrlMappingNotFoundException extends RuntimeException { }
25.555556
67
0.856522
6f575fc556feb6440c63d0fc465f02817f45f1ac
827
package org.jmqtt.common.config; /** * 物模型相关配置 IotConfig.java. * * @author zj * @version 1.0.1 2020年2月10日 * @revision zj 2020年2月10日 * @since 1.0.1 */ public class IotConfig { private String iotmodelweburl = ""; //物模型配置获取web地址 private boolean iotenable = true; //是否启用物模型过滤 private boolean iotauthenable = f...
19.232558
73
0.737606
e72aeab251a87d962278875a31733d78f6c8fcfe
7,130
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2016 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: ...
34.444444
125
0.717111
7dd2a50e9cc1d82a53fef497d948fec01d059628
101
package quasylab.sibilla.core.network.serialization; public enum SerializerType { APACHE, FST }
16.833333
52
0.782178
1270d4314e1ea1635a175b9180f8d18dc7d1b552
47,231
package io.github.lukegrahamlandry.mountables.mounts; import io.github.lukegrahamlandry.mountables.MountablesMain; import io.github.lukegrahamlandry.mountables.config.MountsConfig; import io.github.lukegrahamlandry.mountables.init.ItemInit; import io.github.lukegrahamlandry.mountables.init.MountTypes; import io.github...
42.057881
297
0.602973
490087d2dee5033ba5dd39b6797c401926dc5ce9
3,256
package org.robolectric.shadows; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import static org.robolectric.Shadows.shadowOf; import android.content.Context; import android.hardware.usb.UsbAccessory; import android.hardware.usb.UsbDevice; import android.hardware.us...
33.56701
99
0.770885
e12be94c302e25f7fc200297b1a58d44ab19bd82
9,025
/* * Copyright 2014 Aritz Lopez * * 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 la...
39.933628
133
0.659945
fc79070ec5414f4ae59d02e7f141e63cbcc1d209
4,753
package com.alibaba.datax.core.util; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.util.Configuration; import com.alibaba.datax.core.transport.transformer.*; import com.alibaba.datax.core.util.container.CoreConstant; import org.apache.commons.lang3.StringUtils; import org.sl...
44.839623
165
0.660215
073449dc92ccdf93f956ac8a97a584a08bcce101
1,129
package sample; /* Replace All Elements Of Java ArrayList Example This java example shows how to replace all elements of Java ArrayList object with the specified element using fill method of Collections class. */ import java.util.ArrayList; import java.util.Collections; public class ReplaceAllElementsOfArrayLis...
28.225
84
0.69442
85e2364c393eede096bd29cf1555017db3fa2b2e
3,357
/** * */ package br.eti.deividferreira.pontointeligente.api.web.dto; import javax.validation.constraints.Email; import javax.validation.constraints.NotEmpty; import org.hibernate.validator.constraints.Length; import org.hibernate.validator.constraints.br.CNPJ; import org.hibernate.validator.constraints.b...
30.243243
81
0.689306
bed8ab1b32e953f0580d3b0c3d0d1e0263d739cb
3,469
/* * 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...
28.203252
148
0.658115
138c1508924c00bd9067c8d7fc116ef9098f5286
28,641
/* $Id$ ***************************************************************************** * Copyright (c) 2009 Contributors - see below * 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, and i...
31.335886
79
0.705283
feb63014fc45056a7fc789d65c43e29e5e4a5767
5,821
package com.oliver.easy.widght; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.LayoutInflater; import android.widget.LinearLayout; import android.widget.TextView; import com.oliver.easy.R; /** * Created by wangdongdong on 16-3-22. */ pub...
35.066265
104
0.714482
e84c2c17f79abd5d7be6f32f14e6eaaaf29d4045
3,905
/* * Copyright 2018 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 ...
27.118056
95
0.731626
17e02d242884092d23bd326f2ffc2010b51cbde0
4,289
/******************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK * * All rights reserved. This program and the accompanying materials * are made available...
32.492424
102
0.598042
c7f1cf20acf654a304c27cf90a29fc55ad9c37f8
8,225
/******************************************************************************* * Copyright (c) 2000, 2015 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...
23.567335
100
0.620912
7429874df71d914e8bbee395ac554f782da797d1
3,881
import com.jfoenix.controls.JFXButton; import com.jfoenix.controls.JFXTabPane; import com.jfoenix.controls.JFXTextArea; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.Event; import javafx.fxml.FXML; import javafx.scene.control.Tab; import javafx.scene.control.Tabl...
28.962687
123
0.655759
2d0f3f92fa0d760a48b6af60911bb76600bf7716
5,349
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ package org.dojotoolkit.json; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import...
31.650888
132
0.564592
e631a7d65d587274e9288279e82c1bc4ee65fce8
4,063
/* * 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 ...
33.303279
169
0.710559
68653081bfe2980d1847408268c38c0d687a0a5a
5,647
package com.small.saasdriver.activity.order; import java.util.ArrayList; import com.example.saascardriver.R; import com.github.mikephil.charting.charts.BarChart; import com.github.mikephil.charting.charts.PieChart; import com.github.mikephil.charting.components.Legend; import com.github.mikephil.charting.components.L...
31.724719
79
0.741987
3a046acf3e8213e125c15ad6057f056777e59861
6,525
package org.wso2.msf4j; import org.wso2.carbon.messaging.CarbonMessage; import org.wso2.carbon.messaging.Constants; import org.wso2.carbon.messaging.Headers; import org.wso2.msf4j.internal.MSF4JConstants; import java.nio.ByteBuffer; import java.util.Arrays; import java.util.List; import java.util.Map; import java.uti...
30.069124
119
0.602759
a23657c3875eee5b1cb41df3b285a67fc2d9080a
29,899
/* * G2S web API * A Genome to Strucure (G2S) API Supports Automated Mapping and Annotating Genomic Variants in 3D Protein Structures. Supports Inputs from Human Genome Position, Uniprot and Human Ensembl Names. * * OpenAPI spec version: 1.0 (beta) * Contact: wangjue@missouri.edu * * NOTE: This class is auto gen...
51.372852
295
0.69417
7506567c4c8050469a12370125e74b0e7251b5cc
170
package firstgen.hopelesswar.model; import com.badlogic.ashley.core.Component; /** * Created by Olva on 7/20/16. */ public class CProjectile implements Component { }
17
47
0.752941
df82a3c9b4be4ee99487b36e89b3b307ada811ea
697
package io.github.wztlei.wathub.common; import android.text.Editable; import android.widget.EditText; import io.github.wztlei.wathub.utils.SimpleTextWatcher; public class UpperCaseTextWatcher extends SimpleTextWatcher { private final EditText mEditText; public UpperCaseTextWatcher(final EditText editText) ...
25.814815
62
0.638451
797014f3ee413c82661ee257049a046b8f374251
657
package guis; import javax.swing.JFrame; /* FaceBook group: Programming * GitHub : Java how to * this starts the GUI. You can make you own Frame but it has to have * some properties */ public class MainForGUIs { public static void main(String[] args) { JFrame frame= new JFrame(); frame.setB...
27.375
71
0.697108
9d792dc0a45a4f28711ade2a10857f102ca9e4a7
911
package com.conns.organization.management.model; import lombok.Getter; import lombok.Setter; @Getter @Setter public class LocationDetailsForDate { private String regionId; private String districtId; private String regionName; private String rvpFirstName; private String rvpLastName; private String storeId; pr...
23.358974
48
0.817783
b99dc9db314180239bffc5f05355403b53e05842
147
package org.folio.shared.index.client; public class ClientException extends RuntimeException { ClientException(String s) { super(s); } }
16.333333
55
0.741497
afb701902699d5cd451cd34c61170c3557e043df
1,723
package com.scottlogic.deg.generator.walker.reductive; import com.scottlogic.deg.common.profile.Field; import com.scottlogic.deg.common.profile.ProfileFields; import com.scottlogic.deg.generator.generation.databags.DataBagValue; import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.HashMap; imp...
35.895833
99
0.74231
9aec10e1b95e4c372ac24f09939805fafcc50f53
965
package com.song.heracles.broker.core.support; import com.song.heracles.broker.core.Offset; import com.song.heracles.broker.core.OffsetStorage; import com.song.heracles.broker.core.PartitionedTopic; import java.io.IOException; import lombok.extern.slf4j.Slf4j; /** * @author song */ @Slf4j public class DlogOffsetSto...
21.444444
93
0.733679
c406a043b6ababdb6b1d47109e01644207602a6c
1,821
package cn.org.autumn.modules.sms.entity; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import cn.org.autumn.table.annotation.Column; import cn.org.autumn.table.annotation.Table; import cn.org.autumn.table.data.DataType; import java.io.Serializable; import...
16.258929
117
0.63866
c630c8cc867ce745287f5bc074f695e3b796c94f
3,056
package com.trilogyed.inventory.dao; import com.trilogyed.inventory.exception.NotFoundException; import com.trilogyed.inventory.model.Inventory; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boo...
27.044248
85
0.70517
e939604f9681352fa75f210ab5e8043951a0af3a
2,030
/* * Copyright 2020-2030 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...
30.298507
75
0.641872
7a4ac691c5e78101b832a69578ba179206ae4932
1,735
/******************************************************************************* * Copyright (C) 2017-2019 Kat Fung Tjew * * 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 restri...
33.365385
80
0.660519
f343ac2955a1a0d64c4f2b5ef589b12e3d1d5f4c
1,981
/* * * Copyright (C) 2013-2019 Matt Baxter https://kitteh.org * * 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, co...
41.270833
94
0.749621
293da31cab7d5eb41b5d75221facae4678e74565
2,784
/* * Copyright 2014 Simone Filice and Giuseppe Castellucci and Danilo Croce and Roberto Basili * 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/LICENS...
38.136986
156
0.763649
1b0cf83fff974e6a65cddf1c59f308f94524079a
6,926
/** * Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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 Foundation, either version 3 of the License...
36.840426
134
0.640774
41cf099f5602d6799bbea5b3c11670c8c495684a
2,288
package com.quollwriter.data; import java.util.*; import org.jdom.*; import org.josql.*; import com.quollwriter.*; public abstract class LegacyUserConfigurableObject extends UserConfigurableObject { public static final String NAME_LEGACY_FIELD_ID = "name"; public static final String DESCRIPTION_LEGACY_FIEL...
19.724138
105
0.579545
1419128acf27d4b6bebb340c0f835eb9898f4753
903
package ui.ex1.screen.component.passwordfield; import io.jmix.ui.Notifications; import io.jmix.ui.component.Button; import io.jmix.ui.component.PasswordField; import io.jmix.ui.screen.Screen; import io.jmix.ui.screen.Subscribe; import io.jmix.ui.screen.UiController; import io.jmix.ui.screen.UiDescriptor; import org.sp...
32.25
68
0.745293
6eb7ba37e8fdf29d178f073be29b4e60241ed3da
9,195
package suanfadaolun; /** * @Description : * @Author : chenzhitao * @Date : Created in 16:28 2018/11/21 */ public class BasicCompareSort { public static void main(String[] args) { BasicCompareSort basicSort = new BasicCompareSort(); // int[] arr = {3, 1, 9, 5, 19, 10, 2, 13, 11}; // int...
29.471154
103
0.476346
2e2f135eb0369bdf31ac2f6f0233b5003f7cb49a
765
package com.Ephemeral.bean.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import org.apache.commons.dbutils.ResultSetHandler; public class Basedao { public static Object query(String sql, ResultSetHandler<?> rsh, Object...params) { Connection conn=null; PreparedS...
20.131579
81
0.69281
8548c7ee11647c31b21a6f243c500af54ee152f4
8,028
package org.jenkinsci.plugins; import hudson.*; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.Computer; import hudson.model.Descriptor; import hudson.tasks.Builder; import hudson.tools.ToolInstallation; import hudson.util.ArgumentListBuilder; import org.kohsuke.stapler.DataB...
34.161702
139
0.606129
c61a993287f30634c9b925f1e93a65398f1c8002
1,565
// Java program to find the minimum possible // difference between maximum and minimum // elements when we have to add/subtract // every number by k import java.util.*; class GFG { // Modifies the array by subtracting/adding // k to every element such that the difference // between maximum and minimum is ...
8.646409
47
0.617252
a2a8db9872a4b8daeb06ce03e52ff9587261ce28
2,069
/* * Copyright 2021 Ian Jones. 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 applicabl...
31.830769
92
0.695505
a2baa4406d6273004f7919dbee81eac56a6792c0
887
package org.notificationengine.task; import java.util.TimerTask; import org.apache.log4j.Logger; import org.notificationengine.notificator.INotificator; import org.notificationengine.selector.ISelector; public class NotificatorTask extends TimerTask { private static Logger LOGGER = Logger.getLogger(NotificatorTask...
25.342857
86
0.754228
3b9a6b976367d16945bd22be4104b5cfbfc5c847
19,851
// VeriBlock Blockchain Project // Copyright 2017-2018 VeriBlock, Inc // Copyright 2018-2021 Xenios SEZC // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package org.veriblock....
41.014463
147
0.643595
bde21bcb76c06efb20097d0a201a61a4e70d534b
1,968
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
28.941176
98
0.752541
892505349b4be99d71143de44e30c4e9fdd437f4
3,148
import java.awt.*; import java.awt.image.*; import javax.swing.*; /** * OFImage is a class that defines an image in OF (Objects First) format. * * @author Michael Kölling and David J. Barnes. * @version 1.1 */ public class OFImage extends BufferedImage { /** * Create an OFImage copied from ...
28.107143
92
0.492376
ee967b84a715ce06538a585054f990914a965a93
9,257
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
33.661818
109
0.615642
f030d9ac1b1c339d0e13eae6b50ec809c0774f4d
3,641
/* * 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 ...
35.009615
114
0.68635
104bfed04482110590cac7318f475a2aa7ccf756
843
package com.heretere.hac.api.events.packets.builder; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import com.heretere.hac.api.events.packets.wrapper.WrappedPacket; import com.heretere.hac.api.player.HACPlayer; import java.util.Set; public abstract class AbstractPacketBuilder<...
31.222222
76
0.735469
fd5b9b7ae7894fc903aa417e48df302a862a443c
7,525
package net.minecraft.client.model; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.GLAllocation; import net.minecraft.client.renderer.Tessellator; import org.lwjgl.opengl.GL11; import java.util.ArrayList; import java.util.List; public class ModelRen...
29.625984
117
0.689568
d40ece53b5b3bad4eb2243c7b94b815d85d32b6c
746
package org.bvkatwijk.java.jasmine.api.before.each; import java.util.concurrent.atomic.AtomicBoolean; import org.bvkatwijk.java.jasmine.api.test.JasmineInternalTest; import org.bvkatwijk.java.jasmine.utils.Mocks; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; public class BeforeEachSin...
21.314286
77
0.733244
b9b65ef194e73bf5d10039a2a39486550b44d312
3,321
package run.chronicle.wire.demo; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.wire.*; import java.nio.ByteBuffer; import java.util.concurrent.TimeUnit; public class Example1 { public static void main(String[] args) { // Bytes which wraps a ByteBuffer which is resized as needed....
40.5
109
0.601024
391236f344373adc3fac05498bf5fb09e82575d4
758
package org.openntf.domino.graph2.annotations; import java.lang.reflect.Method; import com.tinkerpop.blueprints.Element; import com.tinkerpop.frames.FramedGraph; import com.tinkerpop.frames.Property; import com.tinkerpop.frames.modules.MethodHandler; public class PropertyHandler extends AbstractPropertyHand...
31.583333
124
0.78496
7d9b95ffb6c41024111dfc4838828c223bd8403d
1,522
package com.byd.wms.business.modules.inpda.service.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.byd.wms.business.modules.common.service.CommonService; import com.by...
32.382979
85
0.747043
99910d5174336d2ca9c51a9b48ddcbfdfab1c6ed
4,436
package geneticAglorithm; import java.util.Random; import dataset.IDataSet; import neuralNetwork.NeuralNetwork; public class Evolution { public static Solution[] createPopulation(int popSize, int numOfComponents, Random rd) { Solution[] population = new Solution[popSize]; for(int s=0; s<popSize; s++) { dou...
27.899371
131
0.663886
1a175c8b04af262fc9a09d87f6bd3647c6810fcf
15,206
package com.sciome.charts.jfree; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.controlsfx.control.RangeSlider; import org.jfree.chart.ChartFactory; import org.jfree.cha...
36.118765
102
0.694463
620ccd7b7831671adb4c871f932547e20227890e
1,025
package com.example.xmlcardealer.confing; import com.example.xmlcardealer.utils.ValidationUtil; import com.example.xmlcardealer.utils.ValidationUtilImpl; import com.example.xmlcardealer.utils.XmlParser; import com.example.xmlcardealer.utils.XmlParserImpl; import org.modelmapper.ModelMapper; import org.springframework....
23.837209
68
0.738537
650340e794cf52f1cbe6f513755042dc6db24009
6,464
package com.swieghelm.redgnu.config.ext.yaml; import com.google.inject.Guice; import com.google.inject.Inject; import com.google.inject.Injector; import com.swieghelm.redgnu.config.convert.TypeConversions; import com.swieghelm.redgnu.config.convert.common.JavaStandardCollectionConversions; import com.swieghelm.redgnu....
45.202797
101
0.606281
49150173f765a5ad1c2a765a58d0f4e7a6df8423
3,086
package com.example.consulfeignconsumer; import com.ecwid.consul.v1.ConsulClient; import com.example.consulfeignapi.MyFeignClientsConfiguration; import com.netflix.loadbalancer.ILoadBalancer; import com.netflix.loadbalancer.RandomRule; import feign.Feign; import org.springframework.beans.factory.annotation.Autowired; ...
36.305882
99
0.723914
8ae910019740e6ba00c22a2ff763e0f526d4fe7f
151
package com.sheepy.catchme.events; public interface GameListener { void onGameStart(GameStartEvent event); void onGameEnd(GameEndEvent event); }
16.777778
40
0.794702
e248e9998d07a3e4b27037c8daa7571de379451d
17,499
import java.net.*; import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.Timer; import java.util.Arrays; import java.util.List; import java.awt.Rectangle; import javax.swing.JTextArea; /** * Runs a server for the Agar game. * * @author Quadmiu...
43.529851
170
0.40768