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
0fe4a13dcebdb892b7156a7a4a7706bce8e64203
1,066
package gov.nist.javax.sdp.parser; import gov.nist.javax.sdp.fields.ProtoVersionField; import gov.nist.javax.sdp.fields.SDPField; import java.text.ParseException; public class ProtoVersionFieldParser extends SDPParser { public ProtoVersionFieldParser(String protoVersionField) { this.lexer = new Lexer("cha...
33.3125
107
0.664165
31bb70d1e6b48539a8c8cf58f78cfe920deef2d5
3,477
package org.ldk.structs; import org.ldk.impl.bindings; import org.ldk.enums.*; import org.ldk.util.*; import java.util.Arrays; import java.lang.ref.Reference; import javax.annotation.Nullable; /** * Features used within an invoice. */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays pub...
31.324324
114
0.722462
c74bb2ab51e9eaa8425d397a3127ce58cb20c71b
49,523
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
34.89993
763
0.770066
6fa6194bc2ee76e5a53dc7ecaebf37f4e11100d6
3,004
package org.ovirt.engine.ui.common.uicommon; import java.util.ArrayList; import java.util.List; import org.ovirt.engine.core.common.action.VdcActionType; import org.ovirt.engine.core.common.action.VdcReturnValueBase; import org.ovirt.engine.core.common.errors.VdcFault; import org.ovirt.engine.core.common.queries.VdcQ...
36.192771
130
0.737017
ee813bd0ca00f0ef0a49378bf8e23748f5954109
263
package seedu.sugarmummy.model.recmf.exceptions; /** * Signals that the adding food is not suitable for diabetes. */ public class FoodNotSuitableException extends RuntimeException { public FoodNotSuitableException(String msg) { super(msg); } }
23.909091
64
0.741445
176bbf073b839ded7a71e14c1167b71aa7c31a2c
6,469
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
52.169355
189
0.721286
d5f82f2b63c1134c24c7060400af3a4845b078c8
9,635
/* * Original work Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) (Apache 2.0) * See ThirdPartyNotices.txt in the project root for license information. * All modifications Copyright (c) Robocorp Technologies Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License") * you...
41.891304
169
0.608614
3dcc9040ac206e63e5ff00a4492879d38a80c96f
273
package io.github.factoryfx.soap.example; import jakarta.xml.bind.annotation.XmlRootElement; import jakarta.xml.bind.annotation.XmlType; @XmlType(name= "SomeFaultElement") @XmlRootElement(name = "SomeFaultElement", namespace = "someNS") public class SomeFaultElement { }
27.3
64
0.802198
bd801ca2e630b71aaf7fa46092bf761555ee0246
3,898
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
31.435484
95
0.626219
8151a6e5e86f8bdef83433fd5451fa278b6b14da
399
package com.rocketchat.livechat.callback; import com.rocketchat.common.listener.Callback; import com.rocketchat.livechat.model.LiveChatMessage; import java.util.List; /** * Created by sachin on 9/6/17. */ /** * Used to get messages available in the history */ public interface LoadHistoryCallback extends Callbac...
22.166667
72
0.77193
c26bd78e5811406eb05792f0804d822256d91264
1,880
package com.github.cataclysmuprising.jpa.repository.impl; import com.github.cataclysmuprising.jpa.criteria.ThumbnailCriteria; import com.github.cataclysmuprising.jpa.entity.QThumbnailEntity; import com.github.cataclysmuprising.jpa.entity.ThumbnailEntity; import com.github.cataclysmuprising.jpa.repository.ThumbnailRepo...
47
142
0.848936
f6595d0580da053e55256771ec680f7a01d817e5
844
package com.aspose.words.examples.quickstart; import com.aspose.words.Document; import com.aspose.words.examples.Utils; public class SimpleMailMerge { public static void main(String[] args) throws Exception { // The path to the documents directory. String dataDir = Utils.getDataDir(SimpleMai...
33.76
92
0.64218
6708210b8a25a0daf26bb14d5cfff5a050ca95b1
882
package com.poli.safehouse.safehouse; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import java.lang.reflect.Type; import java.text.ParseException; import java.text.SimpleDateFormat; import jav...
30.413793
123
0.734694
7b1b681ba21dd68831de4a131402a17b377db228
5,388
/* * Copyright 2019 Bunjlabs * * 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...
33.465839
108
0.605048
ccbe7211219c544e22fe7ad008b21ada1489072e
1,637
package ca.concordia.jsdeodorant.eclipseplugin.listeners; import org.eclipse.jface.text.source.IAnnotationModel; import org.eclipse.ui.IEditorPart; import org.eclipse.ui.IPartListener2; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.IWorkbenchPartReference; import org.eclipse.ui.texteditor.ITextEdi...
31.480769
137
0.795968
8ee4fe39ef39d619f5ff82157f278305048397d2
4,041
package toothpick.concurrency.utils; import java.io.IOException; import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.tools.Diagnostic; import javax.tools.DiagnosticCollector; import jav...
36.405405
128
0.724078
b0ae54c0b96d8c303db2ad9c8287018264283146
2,464
/* * 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")...
32.421053
89
0.642451
fba38ad61a059677b6c08f402566aec3d2d0607d
1,276
package org.votesmart.data; import java.net.URL; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <pre> * Output: * committee.committeeId, * committee.parentId, * committee.stateId, * committee.committeeTypeId, * committee.name, * committee.j...
22.785714
49
0.710031
4d0825ccc61298091103125a5d1347382587260a
1,427
package ca.uhn.fhir.rest.annotation; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2015 University Health Network * %% * 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...
35.675
94
0.740715
586d5277dd9a001ba455923a9593ac83e39e4fc2
758
class SecurityEmployee extends Employee { SecurityEmployee(String name) { super(name); } @Override void report() { System.out.println("Security report: Everything OK!"); } @Override void work(CargoBay cargoBay) { setPlaneComponent(cargoBay); System.out.println("Cargo Bay Processed!"); set...
30.32
66
0.738786
30494f03e5dd524123762ff553543b9b5d3d56a8
10,330
package com.ruoyi.system.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core...
23.058036
78
0.617425
24e35d32f5d93deb8bef1f766c4446a7c8814768
8,482
/* * 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 ...
58.09589
174
0.692054
c933f4672729f0cdef3931d8b7df9170244f0b78
2,248
package mekanism.common.voice; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.util.HashSet; import java.util.Set; import mekanism.common.Mekanism; public class VoiceServerManager { public Set<VoiceConnection> connections = new HashSet<VoiceConnection>(); public ...
20.071429
93
0.683274
f663c9690c2944e4477906919861c72fb85187f1
3,054
package com.filestack.android.samples.form; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import androidx.localbroadcastmanager.content.LocalBroadcastManager; import androidx.appcompat.app.AppCompa...
29.650485
91
0.665684
a72be4a1d1d9d86498a7c6edbe109c40b510fbca
73
package x; ////////// public class S { public static void f() { } }
9.125
26
0.506849
6b6dc1389d9e41cc618c15ee002c9638a7aa44d0
5,471
package vectorwing.farmersdelight.data; import com.google.common.collect.Sets; import net.minecraft.data.DataGenerator; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.model.generators.ItemModelProvider; import net.minecr...
34.847134
167
0.74045
1e82f80e3ac51e6d9a7879a65beee83c82f5b7c6
13,014
package com.pkmmte.pkrss; import android.net.Uri; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.List; /** * Main Article class for storing all parsed/downloaded data. */ public class Article implements Parcelable { private Bundle extr...
25.517647
175
0.659905
d8264441df2684936a3e69755d5751fc4af6fe0f
1,556
/* * 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 designPatterns.patterns.Behavior.Iterator; /** * * @author ns */ public class Cliente { public static void main(String...
28.290909
112
0.621465
a3d9ffb7ea3e9ccaa4ce3bf506a852fccc48ea76
1,524
public class ShiftOpeartion { public static void main(String[] args) { System.out.println("쉬프트 연산자 예제!"); // final 이란 무엇인가 ? 값을 고정시키는 역할을 수행한다. // 그런데 왜 사용하는 것일까? // 매직 넘버 // ex) 공장에는 생산라인이 5개 있다. // 사업을 따내서 생산라인이 8개가 되었음 // 결국 유지보수를 편하게 하기위해 사용한다. ...
32.425532
66
0.489501
16c22dce7f3d3dcf835d51d10b7ca4ee7199f761
1,367
/** * Copyright Microsoft Corporation * * 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...
40.205882
119
0.715435
7dcbda5073623efcce9b3106925625738da44f39
2,031
package com.masglobalconsulting.testdanny.dto; public class EmployeeMapper { private int id; private String name; private String contractTypeName; private int roleId; private String roleName; private String roleDescription; private long hourlySalary; private long monthlySalary; public EmployeeMapper() { ...
19.342857
97
0.730182
c9831eedea7ba7e6d881b58bf90a189aac88b0d2
1,903
package cn.com.smart.form.parser.factory; import java.util.List; import java.util.Map; import cn.com.smart.form.parser.IFormParser; import cn.com.smart.service.SmartContextService; import com.mixsmart.utils.StringUtils; /** * 表单解析工厂 * @author lmq * @create 2015年7月4日 * @version 1.0 * @since * */ public clas...
18.841584
94
0.679453
465cec4a964468fc87b79f8ed44faa5673b3f0f7
2,284
/** * @author: Brajesh * Chocolates .java */ import java.io.*; import java.util.*; public class Chocolates { public Chocolates () { } private static int gcd(int a, int b){ if(b == 0){ return a; } return gcd(b, a % b); } static class Node implements Comparabl...
25.662921
81
0.455342
c3bd22e48c2758792035dff9d557512963124f6c
4,395
package wrappers; import invocation.Wrapper; import relational.Table; import java.util.ArrayList; public class USZip implements Wrapper { public Table invoke(String[] endpoint, ArrayList<String> inputTuple) { Table output = null; if (endpoint[1].equals("GetInfoByState")) { output ...
30.734266
139
0.536064
906a382f538880f3122a71f7c39bc217d1cd3745
5,379
package seedu.address.logic.parser; import static java.util.Objects.requireNonNull; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_ADDRESS; import static seedu.address.logic.parser.CliSyntax.PREFIX_EMAIL; import static seedu.a...
48.026786
119
0.717977
767df4d6e3387a356611c230d05df4e5c37fe11b
1,464
/* * 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 ...
31.148936
75
0.645492
9df68e86efc6dbef1a30ad97c5ae34a89188d868
4,937
/** * 采用cxf的webservice实现方式 * 在配置文件(application-context-ws-cxf.xml)中增加 * <jaxws:endpoint id="IMMessageService" implementor="com.wasoft.websocket.ws.IMService" address="/IMService"> <jaxws:serviceFactory> <ref bean="jaxws-and-aegis-service-factory"/> </jaxws:serviceFactory> </ja...
26.686486
159
0.664776
c70bcee30396d73f28575ee016a348e6ac3ffba2
2,100
package io.gomint.server.world.block; import io.gomint.inventory.item.ItemStack; import io.gomint.math.Location; import io.gomint.server.entity.EntityLiving; import io.gomint.server.entity.tileentity.CommandBlockTileEntity; import io.gomint.server.entity.tileentity.TileEntity; import io.gomint.server.registry.Register...
30
119
0.729048
1e1577321aa8add64ca4fa5c10edcd62a1b72e1b
3,092
package com.alibaba.alink.operator.common.statistics.basicstatistic; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.common.linalg.VectorUtil; import com.alibaba.alink.common.model.SimpleModelDataConverter; import com.alibaba.alink.common.utils...
30.313725
113
0.738357
47469ab195fb453949b999b8eed0d098dd5323bf
3,925
package io.khasang.gahelp.controller; import io.khasang.gahelp.model.Cat; import io.khasang.gahelp.model.CreateTable; import io.khasang.gahelp.service.KnightService; import io.khasang.gahelp.util.CheckText; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.annota...
31.653226
110
0.688917
a9e683dae9bc17dbc065a7472d2ab0c54b7fe489
2,190
package cn.csdb.portal.repository; import cn.csdb.portal.model.Period; import cn.csdb.portal.model.SynchronizationTable; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.data.mongodb.core.query.Criteria; import org.springframework.data.mongodb.core.query.Query; import org.springfr...
41.320755
192
0.761644
4ea087434592d44e82cb40d6885680744152d79f
1,117
package com.github.riku32.discordlink.core.database; import com.github.riku32.discordlink.core.database.finders.PlayerInfoFinder; import io.ebean.Model; import io.ebean.annotation.DbComment; import io.ebean.annotation.NotNull; import javax.persistence.*; import java.util.UUID; @Entity @Table(name = "players") public...
24.822222
77
0.697404
e4d8749a7f04cd2d684938d9e1dd2f662fe2ba17
2,947
/* * Copyright 2008-2017 by Emeric Vernat * * This file is part of Java Melody. * * 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/LI...
33.873563
80
0.719036
8d4118a713cc681e84280e348649eb2a5e3dbf74
1,251
/* * Copyright by Zoltán Cseresnyés, Ruman Gerst * * Research Group Applied Systems Biology - Head: Prof. Dr. Marc Thilo Figge * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Kn...
35.742857
109
0.767386
2086e922244cf93e43e0aa5a6260ba61fa2e8a6d
4,516
package scraper.nodes.core.example; import scraper.annotations.NotNull; import scraper.annotations.Argument; import scraper.annotations.FlowKey; import scraper.annotations.NodePlugin; import scraper.api.FlowMap; import scraper.api.NodeContainer; import scraper.api.Node; import scraper.api.T; import java.util.Map; /...
33.701493
135
0.624004
244a72853a795c48b838c37db12f6119131dee0a
16,412
package pokecube.modelloader; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Enumeration; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Set; import java.util.function.Predicate; import java.util.funct...
36.14978
120
0.564831
f9aa76cb4f951f702212672bc7927ac6a75c4819
4,399
package mx.emite.sdk.enums; import java.util.Arrays; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.jsondoc.core.annotation.ApiObject; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import mx.emite.sdk.e...
21.995
179
0.657422
df8ee509119efcd79f4cf427c2c90982e18a0945
4,724
/* * 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.742857
108
0.729678
fb178fbefc0292334e2a20d8857ef9ff7dbbc747
2,195
package com.cnews.guji.smart.common.bean; import java.io.Serializable; /** * author:JSYL-DCL * 新闻频道 */ public class NewsChannelTable implements Serializable { private String newsChannelName; private String newsChannelId; private String newsChannelType; private boolean newsChannelSelect; priva...
25.823529
174
0.712073
8c479ac46c8d2dd6196eb1ea62ffff19d4add40b
2,962
// Copyright (c) 2020-2022 ginlo.net GmbH package eu.ginlo_apps.ginlo.util; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Process; import androidx.annotation.NonNull; import androidx.annotati...
31.510638
132
0.630317
d9bad4eb471c6a905b7f51eae10ab59b2db27792
6,903
// This file is part of OpenTSDB. // Copyright (C) 2013 The OpenTSDB Authors. // // 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 2.1 of the License, or (at your // opti...
44.535484
81
0.722729
f6f2eeb295dc879de8b1663d1f1008712c174679
4,925
import java.util.Scanner; import java.util.HashMap; import java.util.NoSuchElementException; public class SeznamiUV { HashMap<String, Seznam<String>> seznami; Seznam<String> seznam; public SeznamiUV() { seznami = new HashMap<>(); seznami.put("pv", new PrioritetnaVrsta<>()); sezna...
35.431655
130
0.36467
ec4e5981a05481ff9c8c95f4084c9129d1410bbf
3,325
package com.ensoftcorp.open.commons.analysis; import com.ensoftcorp.atlas.core.db.graph.Edge; import com.ensoftcorp.atlas.core.db.graph.Graph; import com.ensoftcorp.atlas.core.db.graph.GraphElement.NodeDirection; import com.ensoftcorp.atlas.core.db.graph.Node; import com.ensoftcorp.atlas.core.db.graph.UncheckedGraph; ...
28.913043
97
0.72
4841c597e9faed505bdcceffdb3e5d332b3bff91
4,011
public class DirectionalEntity implements Comparable<DirectionalEntity> { private String entity; private int dir; // can be -1 or 1 depending on the position public DirectionalEntity(String entity, int dir) { this.entity = entity; this.dir = dir; } public DirectionalEntity() { // TODO Auto-ge...
34.577586
166
0.695836
1fad911e7aff1564abefa3fd76da1681259c2001
2,665
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.psi; import com.intellij.psi.*; import com.intellij.psi.util.QualifiedName; import com.jetbrains.python.psi.resolve.PyResolveContext; import com.jetb...
36.013514
140
0.722326
06d49ed5c91daec51462ec7e2c204147f6b99294
1,341
package com.lingkj.project.api.cart.dto; import lombok.Data; import java.math.BigDecimal; /** * ApiCartAttributesDto * * @author chen yongsong * @className ApiCartAttributesDto * @date 2019/10/22 18:11 */ @Data public class ApiCartAttributesDto { /** * */ private Long id; /** * cart ...
15.238636
42
0.521999
d05aa0a925c9c4c204ddeb90ac290bc5303a157b
6,435
package screach.titanium.gui.org; import java.io.IOException; import java.util.Optional; import java.util.stream.Collectors; import org.json.JSONException; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.event.Event; import javafx.geometry.Insets; import javafx.scene....
29.383562
127
0.749029
29425dcda87e444a74f535e5ab12d30e82a7e39b
547
package com.kfyty.support.autoconfig; import com.kfyty.support.autoconfig.beans.BeanDefinitionRegistry; import com.kfyty.support.autoconfig.beans.BeanFactory; import com.kfyty.support.event.ApplicationEventPublisher; /** * 描述: 配置上下文 * * @author kfyty725 * @date 2021/5/21 17:44 * @email kfyty725@hotmail.com */ p...
24.863636
108
0.776965
adde00daa34543197d6e358b8a7ae299e89230ea
111
package mars.thread.demo1.zk; public interface RequestProcessor { void processRequest(Request request); }
18.5
41
0.783784
4140fc37d10f39182d8c29da5223f142e0af20f7
19,147
/* * Copyright 2013-2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
51.47043
129
0.6987
4dc6adc77ebddfc9ecb882e41dc08f982bcc5e92
920
package org.dynmap.utils; public class RectangleVisibilityLimit implements VisibilityLimit { public int x_min, x_max, z_min, z_max; public RectangleVisibilityLimit(int x0, int z0, int x1, int z1) { if (x1 >= x0) { x_min = x0; x_max = x1; } else { x_...
21.904762
138
0.479348
d3c9a6216e4e412137d53e733a698323a525bd0e
2,095
package com.alibaba.alink.pipeline.regression; import org.apache.flink.table.api.Table; import org.apache.flink.types.Row; import com.alibaba.alink.common.MLEnvironmentFactory; import com.alibaba.alink.operator.batch.BatchOperator; import com.alibaba.alink.operator.batch.source.TableSourceBatchOp; import com.alibaba....
29.928571
113
0.6821
bbe85be7c24427ec637d73a2e4d9df051c48cdae
925
package com.exsio.clock.ui.loading; import javax.swing.*; public class LoadingFramePresenter { private final LoadingFrameView view; public LoadingFramePresenter() { view = new LoadingFrameView(); } LoadingFramePresenter(LoadingFrameView view) { this.view = view; } public vo...
23.125
64
0.536216
d8acacd7a60a176335046050001f38d966c897c8
1,312
package com.github.sundeepk.compactcalendarview; import androidx.annotation.NonNull; import com.github.sundeepk.compactcalendarview.domain.Event; import java.util.List; class Events { private final List<Event> events; private final long timeInMillis; Events(long timeInMillis, List<Event> events) { ...
23.428571
95
0.589177
037b608958e7069d44f32d181a6d703818342b53
1,935
package com.mcw.cora.spring.annotation.config.aop.demo; import org.aopalliance.aop.Advice; import org.aopalliance.intercept.MethodInterceptor; import org.springframework.aop.ClassFilter; import org.springframework.aop.MethodMatcher; import org.springframework.aop.Pointcut; import org.springframework.aop.support.Abstra...
29.318182
97
0.567959
aa40b7699e480cd3cecd2f21192e1e4b07a28c26
438
import org.postgresql.adba.PgDataSourceFactory; module org.postgresql.adba { requires java.logging; requires java.security.sasl; exports org.postgresql.adba; exports org.postgresql.adba.pgdatatypes; exports jdk.incubator.sql2; exports org.postgresql.adba.buffer; exports org.postgresql.adba.execution; p...
31.285714
73
0.808219
b0cf56597c7c2908cb7ec7b29de318adecee7b0d
2,260
package game; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.scene.Scene; import javafx.scene.paint.Color; import javafx.scene.paint.Paint; import javafx.scene.shape.Rectangle; import javafx.util.Duration; public class Paddle { private Rectangle paddle; private int paddleWid...
24.042553
100
0.611504
a4e1002bae4d4a630098c53347e1d7ea627c0c62
1,652
package httpws.component.bootstrap; import java.io.IOException; import httpws.component.HWContainer; import httpws.component.HWLink; import httpws.opcode.HWClassEnum; import httpws.opcode.HWTagEnum; public class HWBFixedMenuBar extends HWContainer { protected HWContainer containerDiv; protected HWContainer nav...
31.169811
119
0.800847
182eab90990275fe81701723a6ca5562ae780500
627
package org.hfeng.leet.symmetrictree; import org.hfeng.leet.util.TreeNode; public class Solution { public boolean isSymmetric(TreeNode root) { if (root == null) { return true; } return isSym(root.left, root.right); } private boolean isSym(TreeNode left, TreeNode right)...
26.125
58
0.53429
9a39a9b8eea20ea8fbb2f9d86636a813587d2256
485
package cc.lasmgratel.gunapi; /** * The attack method of a weapon. * 武器攻击方式. */ public interface AttackMethod { /** * Get if this weapon is a melee weapon. * Usually true if it's a knife. * 该武器是否是一个近战武器. * 通常情况下刀子返回true. */ boolean isMelee(); /** * The accuracy of this wea...
20.208333
82
0.608247
ab53b627cd65a48ddcc30a6313385965847fb43e
2,251
/* * Copyright 2000-2014 Vaadin 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 applicable law or agreed...
27.120482
80
0.66948
dac3b49b3ffb4fc12cf97d7742698cbba78b16cb
7,874
package it.polimi.ingsw.Client.CLI; import com.google.gson.Gson; import it.polimi.ingsw.Client.*; import it.polimi.ingsw.Client.Commands.Command; import it.polimi.ingsw.Client.Commands.CommandAllocator; import it.polimi.ingsw.Client.Commands.EndGameCommand; import it.polimi.ingsw.Client.Commands.InitPlayerData; import...
40.173469
177
0.554102
a5a102ebd022ccb2eb9e71fc7e0cdd0807eab65e
24,200
package uk.ac.liv.scm.svn; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; ...
37.51938
124
0.629215
0b163e168463e563aa53397ee5c5f3211f040fa6
2,481
package com.kunning.web.servlet.request; import java.io.IOException; import java.io.PrintWriter; import java.util.Enumeration; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.ht...
33.527027
116
0.707779
2deaab39d001a149f6d48ec894cf588b3f7a3865
17,007
/* * Copyright 2015 Stormpath, 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...
43.719794
162
0.714823
06f100141739fab7e8cae5529ddc5014a019fa7a
1,005
package edu.bpb.oops.pattern.ch2.singleton.impl; import java.io.FileWriter; import java.io.IOException; import java.io.Serializable; import java.io.Writer; import edu.bpb.oops.pattern.ch2.singleton.enums.LogLevel; /** * This class demonstrates a basic logger implementation that allows to write logs * to a supplie...
23.928571
89
0.755224
18904200bed04928c2ff0ec4ad2883939464fb92
500
package com.tiia.fcplatform.exception; /** * Created by AmitG on 8/4/2018. */ public class FcPlatformException extends RuntimeException { private final String errorCode; private final String message; public FcPlatformException(String errorCode, String message) { this.errorCode = errorCode; ...
21.73913
66
0.67
30a041d8bcd57cbab6d364c9eb0f3b2571f27b25
1,472
package com.emergentideas.webhandle.transformers; import static org.junit.Assert.*; import java.math.BigDecimal; import javax.json.JsonArray; import javax.json.JsonNumber; import javax.json.JsonObject; import javax.json.JsonStructure; import javax.json.JsonValue; import javax.json.JsonValue.ValueType; import org.ju...
29.44
121
0.705163
1fa59195d50c534575beb6f25cc43611677db80a
2,207
package io.singularitynet.sdk.freecall; import lombok.EqualsAndHashCode; import lombok.ToString; import java.math.BigInteger; @EqualsAndHashCode @ToString public class FreeCallAuthToken { private final String dappUserId; private final BigInteger expirationBlock; private final String token; public s...
23.478723
71
0.615768
8ecf1aa9113d9072d9c46a89db57ec4c51cebb5d
234
package com.alibaba.alink.params.statistics; import com.alibaba.alink.params.shared.colname.HasSelectedCol; /** * Parameter of summary for vector data. */ public interface VectorSummarizerParams<T> extends HasSelectedCol <T> { }
21.272727
62
0.782051
fcfa196ea3c1141780b7adf3f0a17958a915401f
1,995
/* * 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 prova2; /** * * @author matheus */ import javax.swing.*; public class JogoMemoria extends Jogo{ JogoMemoria (String P[],...
33.813559
102
0.626566
2d9020ad50f7709117a27a38e6d924c71340b0dd
1,157
/* * Copyright 2020 The Federal Authorities of the Swiss Confederation * * 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 re...
22.686275
80
0.713915
ffc1068ba47a08bc7dc48a49e214a12c1114a58e
265
package ru.otus.messageSystem.app; import ru.otus.messageSystem.entity.Addressee; /** * Created by tully. */ public interface FrontendService extends Addressee { void init(); void handleRequest(String login); void addUser(int id, String name); }
16.5625
52
0.720755
69c0ab88ba65741dbe2c571889e7f4301656996e
1,155
package com.teamproject.plastikproject.model; /** * Created by rage on 08.02.15. Create by task: 003 */ public class GoodsItemModel { private int goodsId; private boolean isUserGoods; private String goodLabel; private int goodCategoryId; private int goodMeasureId; private String goodsDescript...
24.574468
143
0.673593
8ed6a5c9145b0acb6a1bb6417dd9e90c169665f8
2,874
package com.example.fidelitycorporation.Frags; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ProgressBar; import android.widg...
41.057143
157
0.762352
f77c13a583fab4291f3c04aeb701b96820d3b48b
354
package cn.arvix.vrdata.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/test") public class TestController { @RequestMapping("/websocket") public String index(Model model)...
22.125
62
0.793785
4fd2178a14d18019cf573986245d8240a742c3c6
2,048
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ package org.ligoj.app.plugin.prov.aws.catalog.vm.fargate; import org.ligoj.app.plugin.prov.aws.catalog.AbstractLocalContext; import org.ligoj.app.plugin.prov.aws.catalog.UpdateContext; import org.ligoj.app.plugin.prov.dao.ProvContainerPr...
38.641509
111
0.785156
dc979e7ae358cc1de92416c4da9710b99b1933d3
4,386
/* * Copyright 2010-2019 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.search; import com.intellij.openapi.util.io.FileUtil; import com.intellij.psi.*;...
37.169492
116
0.682171
ca31c2441e52304b969fce0641e5d2dd613cfa02
189
package mcjty.rftools.items; public class InfusedDiamond extends GenericRFToolsItem { public InfusedDiamond() { super("infused_diamond"); setMaxStackSize(64); } }
18.9
56
0.693122
7fe6b00273860fb9371fc4321f30b777fbb7303a
4,557
package com.rilixtech.countrycodepicker; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditT...
34.007463
139
0.621681
89fadc2de8abf20c33cf3430d3c18186204ae70d
5,856
package uk.gov.ida.hub.config.domain; import org.joda.time.DateTime; import org.joda.time.Duration; import org.junit.Test; import uk.gov.ida.hub.config.domain.builders.IdentityProviderConfigDataBuilder; import java.util.Arrays; import java.util.Collections; import static org.assertj.core.api.Assertions.assertThat; i...
43.058824
134
0.746926
319783700c28a783f9a4982a971abc1a1ac43821
4,890
package org.apache.rocketmq.connect.rocketmq; import com.aliyun.ons20190214.Client; import com.aliyun.ons20190214.models.OnsGroupListRequest; import com.aliyun.ons20190214.models.OnsGroupListResponse; import com.aliyun.ons20190214.models.OnsTopicListRequest; import com.aliyun.ons20190214.models.OnsTopicListResponse; i...
42.155172
105
0.715542
6d7cdf90eeb1866ea57b4d55cedd4b177f3963c0
1,005
package io.github.pleuvoir.redis.model; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; import org.springframework.data.redis.core.TimeToLive; import java.util.concurrent.TimeUnit; /** * 专场已结拍拍品,出价时检查该缓存 */ @RedisHash("liveItemFinish") public class LiveItemFinis...
17.631579
57
0.718408
1042cabbf7a308bddb7a1668b5e08bd6303b306f
3,276
package Database.User; import Config.DeploymentLevel; import Config.MongoConfig; import Security.SecurityUtils; import User.User; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import org.bson.Document; import org.bson.conversions.Bson; import org.bson.types.ObjectId; import java....
29.513514
108
0.698718
d40cec8a8ffe290ddabe9b8e2397763045be0650
6,400
/** * 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.684211
110
0.623125
d1a179a0778e70e0d93c630a1d5c02c8dd673da1
24,557
/**************************************************************************** ** Copyright (C) 2004-2017 Mazatech S.r.l. All rights reserved. ** ** This file is part of AmanithVG software, an OpenVG implementation. ** ** Khronos and OpenVG are trademarks of The Khronos Group Inc. ** OpenGL is a registered t...
35.641509
159
0.575233
7abb977c271ef243e99eff9e07d683dfbf72e692
2,997
/** * Copyright (C) 2008 Wideplay Interactive. * * 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...
31.882979
102
0.695362
0cb6619ad112f63a92294b21b0e31a87977ac3cd
495
package com.xeonwell.JerseyDemo.common; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import redis.clients.jedis.JedisPool; /** * Created by xeonwell on 2017-04-28. * * jedis在选择database时,必须要传入password */ public class RedisPool extends JedisPool { public RedisPool(final GenericObjectPoolConfig ...
29.117647
91
0.727273
0b43a5747c4c6b7801d8d2fbf5cfe0fda2040bfa
5,499
package adoctor.application.analysis; import adoctor.application.analysis.analyzers.ClassSmellAnalyzer; import adoctor.application.ast.ASTUtilities; import adoctor.application.bean.ClassBean; import adoctor.application.smell.ClassSmell; import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.dom.T...
41.345865
147
0.56774
b5f8422c9498263ab32bfac7109934a5b134bb0a
2,356
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
27.08046
75
0.699066