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
fc1ef56c675913fd53fd2f769da763c46392c4f9
147
package com.alphago365.octopus.mvp.remote; public class RemoteConfig { public static final String BASE_URL = "https://www.alphago365.com"; }
21
71
0.755102
ad9fcf92e76ff5a653f46c8e55598cf472bd4ca6
1,426
/* * Copyright 2021 Red Hat, Inc. and/or its affiliates. * * 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...
27.960784
75
0.702665
9a5a0f8bb1e236492d074f7a78e7f8422a023faa
6,674
import java.awt.image.*; import java.util.*; import java.io.*; import java.awt.*; /** * This is an abstract class that defines the basic attributes and behaviours of all Tiles. * <p> * Tile * <p> * Date: 2016/05/18 * @author David White and Sepehr Hosseini * @version 2 2016/05/18 */ public abstract class Til...
29.400881
148
0.667666
58a304e0b4ade15599c9de9029d446ad113f106f
3,075
package servlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import datos.Dt_municipio; import entidades.Tbl_municipio...
28.738318
119
0.702764
b2d66dab8aae0647516f59daf1c64a63666bfd34
21,215
/* * 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 view.Panel; import bean.Filiere; import controller.FiliereController; import controller.OptionsController; import dialog.Optio...
48.32574
371
0.669243
c94be0410d5f3f84b4ffe1ed72863657e11a5e9d
4,681
package me.too.scaffold.web.controller; import static me.too.scaffold.util.CheckUtil.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.Post...
32.734266
92
0.751549
8b9a72872f60b1504c6b741ced2afdeafa810e23
5,430
package Trie; /** * Given a dictionary, a method to do lookup in dictionary and a M x N board where every cell has * one character. Find all possible words that can be formed by a sequence of adjacent characters. * Note that we can move to any of 8 adjacent characters, but a word should not have multiple instances ...
34.367089
117
0.487477
6789d4b4e0f4ae04257b7783e14576988ece1f2f
913
package com.onehilltech.concurrent; /** * Proxy class that allows you to alter the behavior of an existing CompletionCallback * object. Any method not overloaded is passed through to the original CompletionCallback * object. * * The proxy also has the option of passing control to the original object. */ public c...
21.232558
89
0.710843
c92d4fcb9e09b01dde45fccd86f70654f9a12bf1
2,959
package de.metas.payment.paypal.client; import java.util.Arrays; import org.adempiere.exceptions.AdempiereException; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Maps; import de...
27.654206
100
0.759716
f0266f0a8adcecaa3ee1742df8bba6dfc97a86fd
1,632
package nextstep.subway.path.domain; import java.util.Arrays; import java.util.Optional; public class DistanceFareCalculator { public static int calculator(int distance) { Optional<DistanceFarePolicy> distancePolicy = judgePolicyGroup(distance); int fare = DistanceFarePolicy.DEFAULT_FARE; ...
36.266667
127
0.666054
fca2e1506fda7d523cf9fb104bcc95dd709ec9f5
2,614
package cz.cvut.felk.cig.jcool.benchmark.util; import cz.cvut.felk.cig.jcool.core.RandomGenerator; import sun.reflect.generics.reflectiveObjects.NotImplementedException; /** * Created by IntelliJ IDEA. * User: miklamar * Date: 23.2.2011 * Time: 17:04 * RandomGenerator providing empty implementation. Su...
26.673469
119
0.659908
db2484b8aef16e082ce66860754d040e319f6a10
289
package com.concordium.sdk.responses.transactionstatus; import lombok.Getter; import lombok.ToString; @Getter @ToString public abstract class TransactionResultEvent { // Used for tagging the underlying TransactionResultEvents public abstract TransactionResultEventType getType(); }
22.230769
58
0.82699
8364085009d4b89c7165b2cd2cbfea7c39a04bef
1,649
package imooc; /** * the class is create by @Author:oweson * * @Date:2020/2/14 19:36 */ public class Sku { private Integer skuId; // 1 编号 private String skuName; // 2 商品名称 private Double skuPrice; // 3 商品单价 private Integer totalNunm; // 4 购买个数 private Double totalPrice; //...
20.6125
120
0.613099
dc425c740877967346cad863eb4428823f3950e5
700
package basic.backlog; import basic.timeout.SocketServer; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; /** * <p>2021/1/11 18:02</p> * * @author konglinghan * @version 1.0 */ public class KlhServer { public static void main(String[] args) throws IOException, InterruptedEx...
25
85
0.635714
50fc325675fe591ed0816ad6004e53fe36d74c24
1,129
package cn.shishuihao.thirdparty.api.pay.fuioupay.sdk.request; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; /** * @author shishuihao * @version 1.0.0 */ class FuiouPaySmpQueryGateRequestTest { final String queryString = "smpQueryGate.do" + "?md5=5baf5be0d8d35b4428717...
37.633333
92
0.655447
bbd6c584ffefd43c10232b0522c920d1e7728153
20,264
package de.axxepta.oxygen.api; import de.axxepta.oxygen.customprotocol.CustomProtocolURLHandlerExtension; import de.axxepta.oxygen.versioncontrol.VersionHistoryEntry; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.methods.*; import org.apache.http.client.ut...
42.041494
123
0.590949
aac4133a2c5cc7e2b8e418473325918d85558463
2,179
package com.krishagni.catissueplus.core.audit.repository; import java.util.Collections; import java.util.Date; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.krishagni.catissueplus.core.common.events.AbstractListCriteria; public class RevisionsListCriteria extends AbstractLis...
22.010101
88
0.732905
1a4abdd2967ef59958b35831c1bdf0e56de5df32
2,022
import java.util.HashMap; /** * First repeating character * String input = "horizon tutorials"; * String output = "o"; * String input = "algorithms" * String output = "No repeating character found" */ public class FirstRepeatingCharacter { private static Character getFirstRepeatingCharacter(String input) { ...
32.612903
97
0.621662
93f0bacc8773c65a2d0ca032f2d0d6f5394ba1c2
925
package com.game.qs.gateway.client; import com.game.qs.protocol.beartbeat.ClientHeartBeatHandler; import com.game.qs.protocol.beartbeat.HeartBeatHandler; import com.game.qs.utils.SpringBeanFactory; import io.netty.channel.ChannelHandlerContext; import lombok.extern.slf4j.Slf4j; import java.util.Objects; /** * Funct...
24.342105
88
0.697297
720f84dd1fe4e680ddb14bb29a8fbe06da23d852
1,293
package cn.redblood.dao; import cn.redblood.io.Resources; import cn.redblood.pojo.User; import cn.redblood.sqlSession.SqlSession; import cn.redblood.sqlSession.SqlSessionFactory; import cn.redblood.sqlSession.SqlSessionFactoryBuilder; import java.io.InputStream; import java.util.List; /** * @author charlie */ publ...
28.108696
101
0.707657
572f32d8d75c2d49e7a097227f36f8bae78129fd
1,047
package shef.clustering; import shef.reporting.inconsistencies.ResponsiveLayoutFailure; import shef.rlg.Node; import java.util.ArrayList; import java.util.HashSet; /** * Created by thomaswalsh on 17/10/2016. */ public class Cluster { ArrayList<ResponsiveLayoutFailure> failures; HashSet<Node> nodes; pu...
24.348837
74
0.65043
2a13a1cd990d491c2028eb294e2d2f4a54a9f129
31,191
/* * 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 ...
43.022069
161
0.593697
58c8577938cb3566ab18acfd71f263c17af88e16
593
package me.xuxiaoxiao.chatapi.qq.protocol; import com.google.gson.Gson; public class ReqSendGroupMsg { public long group_uin; public String content; public int face; public long clientid = 53999199; public long msg_id; public String psessionid; public ReqSendGroupMsg(long groupId, String...
28.238095
122
0.688027
602f1ee78f9572f35d3737931e73f291113d42fe
9,618
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
24.535714
89
0.634747
4f88221fc68c00fb7a531550fd570a40797c0da8
2,570
package me.benfah.spt.util; import java.util.Set; import org.bukkit.inventory.ItemStack; public class NBTCompound { private String compundname; private NBTCompound parent; protected NBTCompound(NBTCompound owner, String name) { this.compundname = name; this.parent = owner; } p...
26.494845
76
0.658366
00bdd5bb821f52da97c233628158b289cfc42861
339
package com.cslg.exceptions; /** * <h3>schoolmall</h3> * <p></p> * * @author:MIKU * @date : 2020-05-17 11:04 **/ public class ProductOperationException extends RuntimeException { private static final long serialVersionUID = 5076172298827469013L; public ProductOperationException(String msg) { su...
17.842105
70
0.681416
203fe54417796968e0c48e87bfeb248c37049cf1
662
package com.netgao.sms.protocol.smgp.tlv; public class TLVEmpty extends TLV { private boolean present = false; public TLVEmpty() { super(0, 0); } public TLVEmpty(short p_tag) { super(p_tag, 0, 0); } public TLVEmpty(short p_tag, boolean p_present) { super(p_tag, 0, 0); present = p_present; markValue...
15.761905
59
0.688822
7c8d509f8bdab562072257c6a582e61f7e3ade5b
1,733
// FCMOD package net.minecraft.src; public class FCItemRefinedPickAxe extends FCItemPickaxe { protected FCItemRefinedPickAxe( int i ) { super( i, EnumToolMaterial.SOULFORGED_STEEL ); setUnlocalizedName( "fcItemPickAxeRefined" ); } @Override public EnumAction...
26.661538
106
0.606463
a96dfa8ad09ed1512286b8dc29b24f16e55b4676
743
package at.fhjoanneum.ippr.communicator.persistence.objects.basic.outbound; import java.util.Map; import java.util.Optional; import at.fhjoanneum.ippr.communicator.persistence.objects.DataType; import at.fhjoanneum.ippr.communicator.persistence.objects.datatypecomposer.DataTypeComposer; import at.fhjoanneum.ip...
26.535714
94
0.783311
a545b56ad9fef6529557f9318ea2b28f420c8c0e
170
/** * Contains GMS implementations of the provenance COI data objects. */ package gms.shared.mechanisms.objectstoragedistribution.coi.emerging.provenance.commonobjects;
42.5
94
0.823529
697ce5bcd9d875e8107f91dee5d220450036b7ca
1,001
package jdepend.knowledge.pattern.impl2.feature.leaf; import java.util.ArrayList; import java.util.Collection; import jdepend.knowledge.pattern.impl2.AbstractFeature; import jdepend.knowledge.pattern.impl2.FeatureCheckContext; import jdepend.metadata.JavaClass; import jdepend.metadata.Method; public class ...
26.342105
74
0.709291
ec180473c9f69496ce3e666e152dcd6247911624
510
package com.gam.urcap.programmonitor.monitoring; public class AxisExtremity { private Double MIN; private Double MAX; public AxisExtremity() { } public AxisExtremity(Double min, Double max) { MIN = min; MAX = max; } public Double getMin() { return MIN; } public Double getMax() { return MAX; ...
14.166667
48
0.652941
0544cb15420e211a2c0ff2b0bf2fe0fbdceaa905
1,708
/* ==================================================================== 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 Y...
33.490196
86
0.624707
e9682cb7c3d74825bde1ac4fbc3622e00207a946
820
package com.boissinot.jenkins.csvexporter.service.extractor.jenkins.scm; import org.w3c.dom.Node; import org.w3c.dom.NodeList; /** * @author Gregory Boissinot */ public abstract class SCMBuilder { protected Node getChildNodeWithLabel(Node rootNode, String nodeLabel) { final NodeList childNodes = rootNo...
27.333333
75
0.617073
3b522beaa989b8add33962cff4c31855adda63a9
1,456
/* * $RCSfile: PhaseCRIF.java,v $ * * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.1 $ * $Date: 2005-02-11 04:56:40 $ * $State: Exp $ */ package com.sun.media.jai.opimage; import java.awt.RenderingHints; import java.awt.image.RenderedImag...
26.962963
71
0.661401
1e2349f007a349029fead060d7f1e742c930098a
320
public class PalindromeDeletions { public boolean isPalindrome (char [] arr) { if(arr.length == 1) return true; boolean result = true; int right = arr.length - 1; int left = 0; while(left < right) { left++; right--; } return result; } public static void main(String[] args) { } }
12.8
44
0.6
ee98228e6cda71a08fa5abee22b722a80dff6c4a
1,433
package wormgame.gui; import java.awt.Container; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.WindowConstants; import wormgame.game.WormGame; public class UserInterface implements Runnable { private JFrame frame; private WormGame game; private int sideLength; private Drawi...
26.054545
80
0.661549
316be30fd2589a6af9b24aba982ca69720b4b549
1,370
package uk.ac.cam.cares.jps.wte; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.BadRequestException; import org.json.JSONObject; import uk.ac.cam.cares.jps.base.agent.JPSAgent; import uk.ac.cam.cares.jps.base.discovery.AgentCaller; import uk.ac....
33.414634
131
0.743066
065a249c74928892977ef727d93e135a6f219960
3,294
/** * 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 ...
30.220183
152
0.738009
9d10830563f3766f0adb73b1d52fc3cbff59a3b2
4,271
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.bian.dto.SDBranchCurrencyManagementRetrieveOutputModelBranchCurrencyManagementOfferedServic...
43.141414
199
0.859986
204e7858c418c7ede6ae61d3238cbe1e51ad02df
201
package sample; public class Sample { private int value; private String str; public void setValue(int value) { this.value = value; } public int getValue() { return value; } }
16.75
36
0.641791
80619080d9126f962718e46d7641ac4f9cb829b1
5,450
package com.blibli.future.data.web.controller; import com.blibli.future.data.entity.Department; import com.blibli.future.data.entity.Employee; import com.blibli.future.data.service.EmployeeService; import com.blibli.future.data.validation.EmployeeExists; import com.blibli.future.data.web.model.Response; import com.bli...
40.073529
106
0.743486
c43d670368c9e98bf16619cb9a6dcf625e435d42
464
package monitoring.pdp; import org.junit.Test; public class PdPMonitorTest { @Test public void monitor() throws Exception { new PdPMonitor( "pdp_admin", "secret", "https://engine.test2.surfconext.nl/authentication/idp/metadata", "https:/...
25.777778
81
0.568966
815c54b2a9f5ca1882e0f18d2f4071ec91167310
525
/* * @Author: Đặng Đình Tài * @Created_date: 7/9/21, 11:10 PM */ package com.phoenix.text; import org.junit.Test; public class TestLevenshteinDistance { @Test public void testLevenshteinDistance(){ String a = "testLevenshteinDistance"; String b = "testLeve"; System.out.print("Leve...
25
86
0.649524
f6432ca3277bab69587191b36dae3d00b594a8cd
724
package com.quickblox.q_municate_base_cache; import com.quickblox.users.model.QBUser; import java.util.Collection; import java.util.List; public interface QMBaseCache<T, ID> { void create(T object); void createOrUpdate(T object); void createOrUpdateAll(Collection<T> objectsCollection); T get(ID i...
19.567568
66
0.709945
de01d72a6748744363dcaefaefb443069b2c7a57
1,285
package org.svgroz.vacationdb.datastore.api.exception; import org.eclipse.collections.api.list.ImmutableList; import org.svgroz.vacationdb.datastore.api.model.table.TableMetadata; import org.svgroz.vacationdb.datastore.api.statement.Condition; import java.util.StringJoiner; /** * @author Simon Grozovsky svgroz@outl...
32.125
118
0.708949
007977f47061fb4ccdb2a6956f6fe3df2eeb6ff3
3,328
package org.cloudfoundry.multiapps.controller.process.jobs; import static java.text.MessageFormat.format; import java.util.Date; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import org.cloudfoundry.multiapps.controller.process.Messages; import org.flowable.engine.HistoryService; imp...
37.818182
115
0.723858
7e5b63f152229c9d32fbec90b3f478f78aa6070c
145
/** * Created by hfutlj on 2018/5/9. */ public class TypeC { public void typeCCharge(){ System.out.println("TypeC接口充电"); } }
14.5
40
0.586207
7fd7bdd472111eef53a7f849c7744562745411cb
832
/* * 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 datastruc3; /** * * @author Edris */ public class DataStruc3 { /** * @param args the command line a...
22.486486
80
0.426683
bfc598ee350ff67d8521f41bd4cbe1199631aaf9
2,836
package seedu.address.logic.commands.room; import static seedu.address.testutil.command.GeneralCommandTestUtil.assertCommandFailure; import static seedu.address.testutil.command.GeneralCommandTestUtil.assertCommandSuccess; import java.util.function.Predicate; import org.junit.jupiter.api.Test; import seedu.address....
43.630769
112
0.742595
c870a69b00e2b563289ab6b405a834c86a0d406e
1,102
package com.honvay.cola.framework.core.exception; import com.honvay.cola.framework.core.ErrorMessage; /** * @author LIQIU * created on 2018/12/24 **/ public class ServiceException extends RuntimeException { private String code; public ServiceException(String code, String message, Throwable throwable) { super...
23.956522
90
0.754083
b7d7d5cc38d8304f4cd9f2a4fe9cfa0c25393a29
1,260
/* * Copyright © 2017 <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
35
78
0.765873
406905f546bb59e0b4b0ebf84f0eb4d2ced9cc7b
140
package com.iwaodev.infrastructure.model.validator; import javax.validation.groups.Default; public interface OnCreate extends Default {}
20
51
0.828571
266c0ee04518a7a5d0d5e6abf5c46cca9de0703f
679
package tcb.pr0x79.exception.accessor.method; import tcb.pr0x79.mapping.identification.AnnotatedElementDescription; /** * Thrown when the name of a method accessor is already present in the class to instrument */ public class MethodAccessorTakenException extends MethodAccessorException { /** * */ private stat...
30.863636
119
0.798233
50a559ad47c186971da3770f719d1b6e9e3f6b45
2,315
package com.changgou.search.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.convert.Convert; import com.alibaba.fastjson.JSON; import com.changgou.goods.feign.SkuFeign; import com.changgou.goods.pojo.Sku; import com.changgou.search.dao.EsManagerMapper; import com.changgou.search.pojo.Sku...
30.064935
83
0.676026
9a18929032ad1df002b4a70068b3b534b769b782
1,411
package com.github.jknack.handlebars; import java.io.IOException; import org.junit.Test; public class Issue329 extends AbstractTest { @Test public void traversal() throws IOException { String template = "{{#each hbstest.objects}}\n" + " {{#each ../hbstest.objects}}\n" + " {{../.....
30.021277
105
0.455705
8453ca579da7801b476bfbf4df0481c0b78fb533
183
package com.meylism.model; import com.dslplatform.json.CompiledJson; import java.util.List; @CompiledJson public class NonAsciiStrings { public List<String> nonAsciiStrings; }
16.636364
41
0.79235
57492392d74f2897b8a3eeeff4fd5e5c4974e8f8
489
package io.github.shadow578.tenshi.extensionslib.lang; /** * a simple function with two parameters and a return value * @param <Rt> the return type * @param <P1> the type of the first parameter * @param <P2> the type of the second parameter */ public interface BiFunction<Rt, P1, P2> { /** * invoke the fu...
27.166667
59
0.674847
4af90d23f5c337f1f6d0d253ee6d4f5e69c603af
1,195
package pass.core.common; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; public class StreamGobbler implements Runnable { private final static Logger LOGGER = Logger.getLogge...
25.425532
89
0.630126
b400579567b9fc0409ac25a6a6b249cad50b8213
2,604
/* * Copyright 2016-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
31
104
0.798387
48ed111f5652df6bde0bbd189f31e97d37691e40
119
/** * Contains all classes related to skeletol structures in models. */ package com.ldtteam.animatrix.model.skeleton;
29.75
65
0.773109
accbb9ff38847d4a4a413d427cea9a3f65ec250f
1,337
package org.cloudfoundry.multiapps.controller.core.security.token.parsers; import java.text.MessageFormat; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.oauth2.common.OAuth2AccessToken; @Name...
33.425
111
0.698579
55177203ec6df3bbaeb413d56835e9a3a0940765
987
package com.continuesvoicerecognition.data.retrofit; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * Created by amien on 10/08/17. */ public class Guest { @SerializedName("id") @Expose private String id; @SerializedName("location") @Expose ...
18.980769
61
0.621074
29a733cde31bc4cd6a44cc42fd7f9064a024fe90
1,185
/* * Copyright 2014-2021 The Ideal Authors. All rights reserved. * * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ package ideal.development.scanners; import ideal.library.elements.*; import id...
32.027027
88
0.741772
117c1aa0de0bc2c440d62fb6fc9e5bf6e366b9bd
25,747
/* * 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 not ...
47.856877
100
0.77411
fd43989cbf07062c649b49b8fd07332470681261
2,755
package org.myframe.gorilla.transport.netty; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelOption; import io.netty.channel.ChannelPipeline; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.chan...
22.217742
80
0.740109
ae8e110674626deb9ba18913b907fee0cd0fb2dc
1,379
package com.gjohnson.homesite.general.address; public class Address { private Integer addressId; private String primaryStreet; private String secondaryStreet; private String city; private String state; private String zipBase; private String zipExt; public Integer getAddressId() { ...
19.985507
60
0.633067
08f329bc584b93f7d3632fa02af05ed26569b30a
1,356
/** * Copyright 2016 LinkedIn Corp. 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 applica...
45.2
120
0.74705
2e487ce35c420cb55746ab9498806a53c414c861
800
package com.toly1994.ds4android.view.other; /** * 作者:张风捷特烈<br/> * 时间:2018/11/21 0021:10:17<br/> * 邮箱:1981462002@qq.com<br/> * 说明:控操作接口 */ public interface OnCtrlClickListener<T> { /** * 添加时回调 * @param view */ void onAdd(T view); /** * 定点添加时回调 * @param view */ void onA...
15.686275
43
0.48375
bee600755645e65534b4cbc64bad6737da2ca595
53,358
/* * Copyright (c) 2015 EMC Corporation * All Rights Reserved */ package com.emc.storageos.api.service.impl.resource.fullcopy; import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.u...
50.576303
139
0.63848
0be5b595bd6c209b23ef01beecf75e77eb87a939
1,425
package com.packtpub.techbuzz.controllers; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import org.primefaces.event.RateEvent; import com.packtpub.techbuzz.utils.JSFUtils; /** * @author Siva * */ @ManagedBean @RequestScoped public class RatingController { private...
22.265625
64
0.584561
5941f28621cd6ac0065f072282189940c9391de1
1,873
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
30.209677
70
0.756006
76eea050bced1040ce4c0f508f6056296ee9ab24
288
package com.sap.cloud.mobile.fiori.demo.object; /** * Task priority */ public enum Priority { HIGH, NORM, LOW; @Override public String toString() { String name = super.toString(); return name.substring(0,1)+name.substring(1).toLowerCase(); } }
16.941176
67
0.614583
821f29b5169c92696aef183a1c761f578ebbc9db
674
package com.google.android.gms.drive.internal; import android.os.RemoteException; import com.google.android.gms.common.api.Status; import com.google.android.gms.internal.zzlx.zzb; public class zzbt extends zzd { private final zzb<Status> zzakL; public zzbt(zzb<Status> com_google_android_gms_internal_zzlx_zzb...
30.636364
112
0.767062
9581ae63733c3d77ea9f586df7fd021f3fceb5eb
3,158
// CheckStyle: stop header check // CheckStyle: stop line length check // GENERATED CONTENT - DO NOT EDIT // Source: CompilationWatchDog.java package org.graalvm.compiler.hotspot; import java.util.*; import org.graalvm.compiler.options.*; import org.graalvm.compiler.options.OptionType; public class CompilationWatchDo...
44.478873
152
0.620013
428a4064309c31be0185b43ac1e0d89f38a77623
1,211
package hr.fer.zemris.trisat.models; import java.util.Iterator; import java.util.NoSuchElementException; /** * Created by Dominik on 5.10.2016.. */ public class BitVectorNGenerator implements Iterable<MutableBitVector> { private BitVector assignment; public BitVectorNGenerator(BitVector assignment) { this.assi...
22.018182
75
0.720066
9428c64d54eb43a93c1553701cedc89ec7e10b02
4,410
package br.com.gerencianet.gnsdk; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import java.util.Date; import org.json.JSONObject; import org.junit.Assert; import org.junit...
32.666667
129
0.747619
9a5444f8fe9cd233d84dd8f1fd654caaf95d3bf4
427
package cn.elwy.eplus.core.dao.impl; import org.springframework.stereotype.Repository; import cn.elwy.eplus.core.dao.GenerateCodeDao; import cn.elwy.eplus.core.entity.GenerateCode; import cn.elwy.eplus.framework.dao.BaseDao; /** * GenerateCodeDao实现类 * @author elwy * @version 1.0, 2018-02-19 */ @Repository("gener...
25.117647
91
0.791569
8fb11b9468ff65333ab8cb987fcb9ca70907ff39
1,329
package io.committed.invest.extensions.data.dataset; import java.util.Collections; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * An Invest dataset. * * <p>An Invest dataset represents a collection of datas provider which ...
32.414634
100
0.771257
ec464a25ffcdcb37678b5fe8a5f872e256683111
1,838
package org.rhq.audit.common; import java.util.Map; import org.rhq.msg.common.BasicMessage; import com.google.gson.annotations.Expose; /** * Information about an audited event. * * A {@link #getSubsystem() subsystem} identifies in which subsystem the event occurred. If not specified, * {@link Subsystem#MISCELL...
28.71875
120
0.680087
b78e7adf39c1c5491439c79b4885ef61e10fa2fd
569
package io.leopard.monitor.connection; import io.leopard.commons.utility.Clock; import org.junit.Test; public class ConnectionInfoIntegrationTest { ConnectionInfo connectionInfo = new ConnectionInfo(); @Test public void incrBrokenCount() { Clock clock = Clock.start(); final int count = 100000000; for (int...
21.074074
54
0.727592
39f6ea3e615fbfe9cd41f2bdb9d04fe5f2bb4621
11,684
package peoplesoft.model; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.util.List; import java.util.Objects; import java.util.function.UnaryOperator; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.c...
32.728291
119
0.637025
d3b1fa4dcb1321ace173be58598fbfbed4a28b85
1,748
package org.darkphoenixs.activemq.listener; import org.darkphoenixs.activemq.consumer.MessageConsumer; import org.darkphoenixs.mq.consumer.MQConsumer; import org.darkphoenixs.mq.exception.MQException; import org.junit.Assert; import org.junit.Test; import java.util.concurrent.Executors; public class MessageConsumerL...
29.133333
90
0.688215
b6af1d354c6f908d34c2c02fc8820d896c4f9edc
2,270
package net.osmand.aidl.gpx; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import java.io.File; public class CreateGpxBitmapParams implements Parcelable { private File gpxFile; private Uri gpxUri; private float density; private int widthPixels; private int heightPixels; priva...
22.475248
106
0.723789
661f67c91551ef79582b43a04d57d625feb9821d
70
package com.mne.client.ui.presenter; public interface Presenter { }
11.666667
36
0.771429
18289539a1231ebd0bce7d59191956bcdbb62d64
2,555
package tech.fastj.example.audio; import tech.fastj.systems.audio.AudioManager; import java.nio.file.Path; import java.util.concurrent.TimeUnit; public class Main { public static void main(String[] args) throws InterruptedException { /* Simple FastJ Audio */ /* FastJ's audio engine provides a si...
45.625
99
0.651663
82186606a0b5bc7fa0c8c4c54c1f89fabe080814
1,379
package org.elsa.fileservice.common.dao; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; /** * 工作流数据库操作 * * @author valord577 */ @Mapper @Repository public interface GeneralDaoHandler { /** * 通...
17.679487
67
0.519942
4db43fab84536c6c51b3fda00c6ca0a48943640c
5,550
package fr.centralesupelec.ptichatapp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.util.Pair; import andro...
36.27451
133
0.628649
f4a32e872d50fc9892fc1b2f3528997ad4a84038
593
package com.taobao.metamorphosis.example.spring; import com.taobao.metamorphosis.client.extension.spring.DefaultMessageListener; import com.taobao.metamorphosis.client.extension.spring.MetaqMessage; import com.taobao.metamorphosis.example.spring.messages.Trade; /** * Process trade messages listener. * * @author ...
25.782609
79
0.755481
4398cd231b3ec21707bc894b419a9c86e6385ba7
2,008
/** * %SVN.HEADER% */ package net.sf.javaml.filter; import java.io.File; import java.io.IOException; import net.sf.javaml.core.Dataset; import net.sf.javaml.core.DefaultDataset; import net.sf.javaml.core.DenseInstance; import net.sf.javaml.core.Instance; import net.sf.javaml.featureselection.scoring.GainRatio; impo...
27.135135
95
0.572211
01ce0cb7483404c25be6f3a3b61f243627c44bf2
1,204
package org.rabix.engine.rest; import java.io.File; import org.apache.commons.daemon.Daemon; import org.apache.commons.daemon.DaemonContext; import org.apache.commons.daemon.DaemonInitException; import org.eclipse.jetty.server.Server; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class EngineRestEn...
23.607843
92
0.717608
955657a190c4a5df87343a1d6c8f5890de03ca31
565
package com.wxs.feign.consumer.client; import org.springframework.cloud.netflix.feign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import java.util.Map; /** * @Author: yoyo * @Description: 在Feign中使用@RequestParam,绑定参数,需要显示指定valu...
26.904762
61
0.771681
c21b1c8363a15d42d3dd60f35c77385a0797af65
193
package actors; public class SearchActorProtocol { public static class MatchingPics { } public static class DownloadPics { } public static class BingSearch { } }
11.352941
38
0.663212
79115a80884c55cc9ed5ccafdb1137ee72e5e53d
232
/* * 打印数组元素 */ public class ArrayInstance<T> { public void printArray(T[] inputArray) { for (T element : inputArray) { System.out.printf("%s ", element); System.out.println(); } } }
19.333333
46
0.525862
5d2611ae4d47d271d9e9264ffc6e6f0629757b9f
753
/* * 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.tatsinktech.web.beans; import com.tatsinktech.web.model.register.PromoTable; import java.util.ArrayList; import j...
22.818182
80
0.73838
8b5b37192eb38cbd2f2b740b8e61c1a3c38a21fc
5,225
package net.foreworld.rvt.service.impl; import java.util.Date; import java.util.List; import net.foreworld.rvt.mapper.UserMapper; import net.foreworld.rvt.model.User; import net.foreworld.rvt.service.UserService; import net.foreworld.util.RestUtil; import net.foreworld.util.StringUtil; import net.foreworld.util.encry...
23.96789
79
0.692057
2d5622edc899c8fc9f51081f6e0b6f4820acddd5
1,671
package com.zhoutao123.mq.exchange.fanout; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.Channel; import com.rabbitmq.client.DefaultConsumer; import com.rabbitmq.client.Envelope; import com.zhoutao123.mq.RabbitMqUtils; import java.nio.charset.StandardCharsets; /** RabbitMQ Fanout交换机模式消费者 */ public clas...
33.42
83
0.499102
a0a45acedb347353b738ed9049a41c8b6f5b35f9
758
package com.parkit.parkit_exit_scanner; /** * Created by vikram on 15/11/15. */ public class Constants { public static final String LOG_TAG = "Message : "; public static final String CONFIG_PASS_KEY = "123@gammaTheta"; public static final String SHARED_PREFS_KEY = "parkit-exit"; public static final ...
36.095238
106
0.754617
f4ad5a97acfaa915d546966b25544ecec57063e6
261
package fi.joniaromaa.minigameframework.communication.tcp; import fi.joniaromaa.minigameframework.net.TcpPacketDataHandler; import io.netty.buffer.ByteBuf; public interface TcpIncomingPacket { public void handle(TcpPacketDataHandler handler, ByteBuf buf); }
26.1
64
0.846743
04cc44b2402795fdbe204a045d2d68f0ba5c78a0
1,878
package club.faxhax.client.impl.modules.movement; import club.faxhax.client.api.module.Module; import club.faxhax.client.api.setting.Setting; public class AutoWalk extends Module { Setting.Mode mode = mode("Mode", "Simple", "Simple", "Baritone") .onChanged(mode1 -> { setHidden(mode1.g...
28.892308
105
0.528754