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
d3e1b66137f81e8cce428d5e5c06a8b9c1be5bd9
4,691
/* * Copyright 2014 Corpuslinguistic working group Humboldt University Berlin. * * 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 * *...
26.653409
97
0.718184
57c692b8f87431e9102cea464078528d253379e3
848
package cn.lite.flow.executor.client; import cn.lite.flow.executor.client.model.ServerParam; import cn.lite.flow.executor.model.basic.ExecutorServer; import java.util.List; /** * Created by ly on 2018/12/14. */ public interface ExecutorServerRpcService { /** * 根据id获取执行者 * @param id * @return ...
18.434783
56
0.573113
7a1025903cd76e5004d2cf64eb641a983d2cfe52
6,516
/* * 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 ...
34.115183
110
0.762431
8024fe759ce48ea703627350bb689e387e6ebda9
2,690
/* * 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 n...
35.866667
94
0.625279
92f63c91215978e5349be67b81326347d9c8f60e
728
package com.cg.demo.poly; // polymorphism - methods with the same name work differently // overloading , overriding // method overriding - (runtime polymorphism) // method from a super class is overridden with a different implementation in sub-class. // possible in non static context // method overloading - (com...
17.756098
89
0.699176
a859beb406a3c2624ae2f75bf3d237e323439bae
239
package pkg; public class TestDoWhileTrue { public void test() { int x = 0; do { x++; if (x < 100) { continue; } return; } while (true); } }
14.9375
30
0.364017
27567483f15a3c0f0e84573143d110203e9ec5d6
339
package com.ruse.hack.services; import com.fasterxml.jackson.databind.JsonNode; import com.ruse.hack.entity.Movie; import java.util.List; /** * Created by nslavov on 11/7/15. */ public interface ModelMapperService { /** * * @param jsonNodeList * @return */ List<Movie> map(List<JsonNode...
16.95
49
0.672566
32484bdf1d1a99dee73e565dfecf88df32d1b39f
323
package com.bjc.protoss.dp.module.adapter.ken.impl; import com.bjc.protoss.dp.module.adapter.ken.Message; import com.bjc.protoss.dp.module.adapter.ken.MessageSender; public class MQsender implements MessageSender { @Override public void send(Message message) { System.out.println(message + " is sent via MQ"); } ...
23.071429
59
0.767802
a06627f616e46d2d6d1e3a0be3ec174e8503a474
26,235
package com.doublechain.flowable.formfield; import java.util.Date; import java.util.Map; import java.util.HashMap; import java.util.List; import java.util.ArrayList; import java.util.Arrays; import java.math.BigDecimal; import com.terapico.caf.DateTime; import com.terapico.caf.Images; import com.terapico.caf.Password...
35.987654
395
0.775529
9f38cb4b61acadb7b67bad16ca7bfa39555459fc
3,832
//snippet-sourcedescription:[CreateUser.java demonstrates how to add a new user to your user pool.] //snippet-keyword:[AWS SDK for Java v2] //snippet-keyword:[Code Sample] //snippet-keyword:[Amazon Cognito] //snippet-sourcetype:[full-example] //snippet-sourcedate:[11/04/2020] //snippet-sourceauthor:[scmacdon AWS]...
41.204301
126
0.616649
1e0be2377eb85bc9c40ff04466f6c8dbebf23167
1,851
/** * Copyright (c) 2008, http://www.snakeyaml.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
23.43038
75
0.634792
d322fa71e16a39a0f133a1f95ec907bc00b495c2
3,274
package intents; import ai.grakn.GraknGraph; import ai.grakn.concept.Concept; import ai.grakn.graql.MatchQuery; import ai.grakn.graql.Pattern; import ai.grakn.graql.Var; import mjson.Json; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import static ai.grakn.graql.Graql...
32.415842
121
0.658827
4f6f909c5e8e0f6312978ebf2de51998430dc710
1,320
/* * Copyright (c) 2011-2019, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
22.758621
75
0.707576
9f790048e968c2d47990ac908456bc11d46ca67c
1,048
package com.google.android.gms.internal.ads; import java.util.List; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; /* renamed from: com.google.android.gms.internal.ads.fd */ final class C9422fd extends zzbak { /* renamed from: a */ private final Executor f22284a; private C94...
23.288889
70
0.669847
b8625448374efee73fd735861cab517190950f38
43,328
package mekanism.common.util; import com.mojang.authlib.GameProfile; import ic2.api.energy.EnergyNet; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import javax.annotation.Nonnull; import javax.annotation.Nullable...
37.351724
176
0.629431
5de62f3b3a3e0f6fe1e83dd21aa2c737b4f799b0
7,993
package com.framework.framework.memcache; import com.hykit.logutils.LogHelper; import net.spy.memcached.MemcachedClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import java.net.InetSocketAddress;...
29.065455
134
0.572251
43fbc55e81e0ef90beaca3d6ed59105a58716454
150
package org.nanotek.entities.immutables; import java.io.Serializable; public interface ArtistAliasLocaleEntity<K> { K getArtistAliasLocale(); }
15
45
0.793333
4c69af28d37a9e903f5a045ffdec89ddc48aa25e
915
package com.ssm.promotion.core.dao; import com.ssm.promotion.core.entity.Video; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface VideoDao { /** * 返回相应的数据集合 * * @param map * @return */ public List<Video> findVi...
15.508475
59
0.536612
aabb75743e4ec52778f3de8b0efffd662cc10885
432
//at least one cut must be made public class MaxProductOfCuttingRope { public int maxProduct(int length) { int[] product = new int[length + 1]; product[1] = 0; for (int i = 2; i < product.length; i++) { for (int j = 1; j <= i / 2; j++) { product[i] = Math.max(prod...
30.857143
89
0.493056
976e04d69ccf27f0104306f0f8e2ba3a9482158d
839
package io.herd.gossip; import static org.junit.Assert.assertEquals; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import java.net.InetAddress; import java.net.InetSocketAddress; import org.junit.Test; public class GossipDigestTest { @Test public void testSerializeDeserialize() throws Ex...
33.56
118
0.752086
f6c436f192cbe995ba508ce5264ae83b21617218
5,947
/* * 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 users; import Tools.ImageDispatcher; import database.daos.UserDAO; import java.io.IOException; import javax.servlet....
37.878981
129
0.58416
6337851935c5ce353aeb58b1e9b3ff78e4ad7749
8,056
/* OpenRemote, the Home of the Digital Home. * Copyright 2008-2012, OpenRemote Inc. * * See the contributors.txt file in the distribution for a * full listing of individual contributors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public...
43.080214
137
0.689424
4a1549fa0972e2dd324aa470e7bbe249a2cb95ac
4,445
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
41.157407
137
0.703937
0685da1fbc38eb2915645951aedfe34f19d0886a
10,852
package dev.dworks.apps.alauncher.animation; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFil...
36.173333
184
0.606248
f49282713b7aa15fa596d97ef59e8404f2a76f45
1,575
package org.litespring.aop.config; import java.lang.reflect.Method; import org.litespring.beans.BeanUtils; import org.litespring.beans.factory.BeanFactory; import org.litespring.beans.factory.BeanFactoryAware; import org.litespring.beans.factory.FactoryBean; import org.litespring.util.StringUtils; public class Metho...
26.694915
110
0.752381
c5a7b03972eb4d7cb1fdda41363f3a3dab90aa64
273
/** * Chapter_005. Collection. Pro. * Iterator. * <p> * Package contains solution of task 9539, 150, 151, 152. * Iterator for two dementia's array. * Created 17.10.2017. * * @author Pavel Zubaha (mailto:Apximar@gmail.com) * @version 1 */ package pzubaha.iterator;
22.75
57
0.681319
e1443017403ed351c0196ef0c81dcbb0f38065b6
14,562
/* */ package org.apache.log4j; /* */ /* */ import java.text.MessageFormat; /* */ import java.util.ArrayList; /* */ import java.util.Enumeration; /* */ import java.util.HashMap; /* */ import java.util.Iterator; /* */ import java.util.List; /* */ import java.util.Map; /* */ impor...
24.189369
186
0.361901
9867a70e8a3c936d32ce54721caa3ca303fc9ee1
254
package annotations.inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @Retention(RetentionPolicy.RUNTIME) // Think why this is necessary? Hint: Look at Main#main public @interface UnInheritedAnnotation { }
25.4
91
0.814961
19d46ec00a2ad61214fdc74965dcd9bd6644bc6b
487
package com.fastjrun.test; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.testng.AbstractTestNGSpringContextTests; @ContextConfiguration(locations = { "classpath*:applicationCont...
37.461538
85
0.833676
b724b9c9745c15d8be50fb878f2befa3d4bebe94
2,067
import java.io.*; import java.util.*; public class HexUtilsUnitTest { public static void main(String [] args){ String hexFileDir=".\\Test.hex"; String binFileDir=".\\Test.bin"; // String binFileDir=".\\Test001.bin"; List<Object> listObj =HexUtils.readHexDataToList(hexFileDir); ...
32.296875
80
0.487179
14893e825ab9572c230320f932e02cec8e92355d
1,194
package entry.cover; import common.datastore.MinoOperationWithKey; import common.tetfu.Tetfu; import core.field.Field; import java.util.Collections; import java.util.List; public class CoverParameter { private final Field field; private final List<MinoOperationWithKey> operationList; private final String...
24.367347
97
0.634003
674fc68507a02ba653a09acdf4a0bdefcd4669b3
504
import java.util.*; /** * Created by Administrator on 2017/3/11. */ public class LastNumberInCircle { public int lastRemaining(int n, int m) { if (n < 1 || m < 1) return -1; int last = 0; for (int i = 2; i <= n; i++) { last = (last + m) % i; } ret...
22.909091
57
0.507937
bef66dcb91eeaa9f759ba9005ffd12b4240f5645
1,551
/* * Copyright 2018 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 appli...
28.722222
78
0.731141
52e5256f1f907b7491f115b6d41806c784e83ddd
3,494
package com.direwolf20.logisticslasers.client.particles.itemparticle; import com.direwolf20.logisticslasers.client.particles.ModParticles; import com.mojang.brigadier.StringReader; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.minecraft.command.arguments.ItemInput; import net.minecraft.comm...
39.704545
151
0.699485
e4c089d525229c56a776cd0aec5206865ecd2918
2,957
/* * Copyright 1997-2014 Optimatika (www.optimatika.se) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
33.988506
103
0.727426
06361212f1040f83b17b4c3c8c9713ce4114e12f
7,732
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
25.518152
123
0.642007
f529033546671f99ece68d5cf6b460109da77f72
1,154
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.client.common.ui.teamexplorer.internal; import org.eclipse.core.runtime.IConfigurationElement; import com.microsoft.tfs.client.common.ui.teamexplorer.sections.ITeamExp...
32.055556
107
0.739168
ba4587dc97580f80ea330e1fdd044c40250a6ae3
1,733
package org.apache.xpath.objects; import java.util.Vector; import javax.xml.transform.TransformerException; import org.apache.xml.dtm.DTMIterator; import org.apache.xml.utils.XMLString; import org.apache.xpath.Expression; import org.apache.xpath.XPathContext; import org.apache.xpath.res.XPATHMessages; public class XR...
28.409836
131
0.716676
f808b96de0114c9db2183ebda110824c91225cbe
15,098
/** * 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...
40.154255
138
0.688767
2678757d646cb226134232897f6d0dd02a494f64
880
package com.saveandstudio.mario.cdd.Components; import com.saveandstudio.mario.cdd.GameBasic.*; import com.saveandstudio.mario.cdd.Renderers.CardRenderer; public class AutoCollider extends MonoBehavior { private Transform transform; private BoxCollider collider; private Renderer renderer; @Override ...
31.428571
100
0.677273
4004fedc60ed015c938d7489f271f2a68f076431
1,882
package org.rabix.bindings.sb; import org.rabix.bindings.BindingException; import org.rabix.bindings.ProtocolAppProcessor; import org.rabix.bindings.model.Application; import org.rabix.bindings.model.Job; import org.rabix.bindings.sb.bean.SBInputPort; import org.rabix.bindings.sb.bean.SBJob; import org.rabix.bindings....
33.607143
75
0.744952
6f5b17ca75b9d37d4785a7a72a38148df75bb526
6,018
package net.osmand.data; import net.osmand.util.Algorithms; import net.osmand.util.MapUtils; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; public class TransportStop extends MapObject { private static final int DELETED_STOP...
26.628319
148
0.706215
15c733a9d4176821f5155ddc9cae674d1c9389d7
413
import java.util.Date; public interface Engine { public void setEngineCylinders(int engineCylinders); public void setEngineManufacturedDate(Date date); public void setEngineManufacturer(String manufacturer); public void setEngineMake(String engineMake); public void setEngineModel(String engineModel); ...
20.65
57
0.79661
f3c7c1e02d1a244f494938d1def38346c397681c
2,955
/* * Copyright 2019 Institut Laue–Langevin * * 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...
37.405063
128
0.769882
ac4eddf094bbb16601b68df7277f7a19102c476e
601
package com.cxy.redisclient.dto; import java.util.Set; public class SetInfo { private String key; private Set<String> values; private int ttl; public SetInfo(String key, Set<String> values, int ttl) { super(); this.key = key; this.values = values; this.ttl = ttl; } public int getTtl() { return ttl; }...
17.171429
58
0.667221
23f3729a26b148669d1251aa62084b7f38a47c4e
1,608
package com.github.learnkafka.streams; import org.apache.kafka.common.serialization.LongDeserializer; import org.apache.kafka.common.serialization.StringDeserializer; import org.junit.jupiter.api.Test; import static com.github.learnkafka.streams.WordCountStreamApplication.WORD_COUNT_INPUT; import static com.github.le...
40.2
91
0.714552
ef5aa836165b558b20725e49dc28d715605778e8
28,220
package etri.sdn.controller.module.firewall; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.projectfloodlight.openflow.protocol.OFFactories;...
32.928821
127
0.707335
565ef409ab66eb76a02396eb05a1220f67a701d9
2,216
package com.stylefeng.guns.rest.controller; import com.alibaba.dubbo.config.annotation.Reference; import com.stylefeng.guns.rest.config.properties.JwtProperties; import com.stylefeng.guns.rest.modular.auth.util.JwtTokenUtil; import com.stylefeng.guns.rest.service.OrderService; import com.stylefeng.guns.rest.vo.BaseRes...
37.559322
133
0.754061
b199d9726307237d191a61b6f93133b0d8ae0a04
711
package cn.icuter.jsql.executor; import cn.icuter.jsql.builder.Builder; import cn.icuter.jsql.exception.JSQLException; import java.io.Closeable; import java.io.IOException; import java.util.List; import java.util.Map; /** * For {@link Builder} execution * * @author edward * @since 2018-08-07 */ public interface...
23.7
80
0.735584
50a72663c41807cc64423af7946ea620605cb70d
565
package com.gakshintala.bookmybook.repositories; import io.vavr.control.Try; import lombok.experimental.UtilityClass; import org.springframework.jdbc.support.GeneratedKeyHolder; import org.springframework.jdbc.support.KeyHolder; import java.util.function.UnaryOperator; @UtilityClass public class DBUtils { public...
29.736842
90
0.730973
a496d91da5b0336531170fba8cc7b04dd13564b5
4,794
// // このファイルは、JavaTM Architecture for XML Binding(JAXB) Reference Implementation、v2.2.8-b130911.1802によって生成されました // <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>を参照してください // ソース・スキーマの再コンパイル時にこのファイルの変更は失われます。 // 生成日: 2019.07.23 時間 02:14:31 PM JST // package jp.go.kishou.xml.jmaxml1.informa...
27.551724
145
0.594285
f045119b444c71c256fbbb5c83d4ab93e8b3f9b9
3,030
package org.infinispan.server.test.query; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import org.infinispan.arquillian.core.InfinispanResource; import org.infinispan.arquillian.core.RemoteInfinispanServer; import org.infinispan.arquillian.core.RunningServer; import org.in...
37.407407
148
0.776568
2e199e91624c76d71301c85e0640c4204ef64c9a
338
package de.akquinet.jbosscc.webservice; import javax.ejb.Stateless; import javax.jws.WebMethod; import javax.jws.WebService; @WebService @Stateless public class GreetingWebserviceEndpoint { public final static String NAME = "GreetingWebservice"; @WebMethod public String sayHello() { return "Hell...
18.777778
59
0.739645
69ead99d1c2a136116a1c6bcda660d39bdc9eca2
3,743
/* * Copyright 2014 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
34.027273
184
0.745659
ecee8ee70241ba5fa296dd9d126a18e9d9140af5
224
package mobi.chouette.dao; import java.time.LocalDateTime; public interface ReferentialLastUpdateDAO { LocalDateTime getLastUpdateTimestamp(); void setLastUpdateTimestamp(LocalDateTime lastUpdateTimestamp); }
16
67
0.808036
6807786dd1beb35a5f9442eb85acedef1df267b5
139
package com.chyrain.rn.webview; import android.support.v4.content.FileProvider; public class RNAWebViewProvider extends FileProvider { }
19.857143
54
0.827338
fc1331005f665dfca7369766d05781b79c4829ff
44
package p; public interface J extends I {}
11
24
0.727273
3b89f50efc9ec802f677ffac28512dc26ff8d9f5
711
package goldrush; import java.util.Random; /* * Code used in the "Software Engineering" course. * * Copyright 2017 by Claudio Cusano (claudio.cusano@unipv.it) * Dept of Electrical, Computer and Biomedical Engineering, * University of Pavia. */ /** * A digger who randomly selects its digging site among the fi...
20.314286
65
0.675105
6c71b41fbc747819b046df40044bf4d2ae3fd6bd
3,605
// Copyright 2018 Sebastian Kuerten // // This file is part of OpenMetroMaps. // // OpenMetroMaps is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option...
29.793388
78
0.712344
c7710b09a9ea3589fae3627e014b8e9eeed81de6
3,120
/* * 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 cc.geosrv.xodr.geo; import cc.util.Arrays; import cc.util.Geo; import java.util.ArrayList; import java.util.Collections; impor...
24.566929
137
0.697115
d782acd05cf7c55b5155bec5f53a199627ccd9c8
2,968
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.10....
25.367521
122
0.648922
269a914fa0d78b0845bf18454f0c4f7624278765
4,868
package com.umeng.update.net; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import a...
32.026316
120
0.652013
056abb82d961d11643892c59807718167a577100
843
package io.github.ihelin.demo.jvm; import java.io.IOException; import java.net.URL; import java.util.Enumeration; /** * @author iHelin * @since 2018/3/12 12:04 */ public class ClassLoaderPropTest { public static void main(String[] args) throws IOException { ClassLoader systemLoader = ClassLoader.getSy...
32.423077
81
0.677343
b354a85d51422338a099753631dab8c9c016d2da
2,520
public class NoPrivateNoArgsConstructor { public static class NoPrivateNoArgsConstructorData { private final int i; @java.lang.SuppressWarnings("all") public NoPrivateNoArgsConstructorData(final int i) { this.i = i; } @java.lang.SuppressWarnings("all") public int getI() { return this.i; } @java.l...
34.520548
139
0.730159
9a7cdeda65b06e6b6df48ed6ae7453a452e4bc66
1,568
package com.eureka.image.controllers; import org.apache.tomcat.util.http.fileupload.FileItemIterator; import org.apache.tomcat.util.http.fileupload.FileItemStream; import org.apache.tomcat.util.http.fileupload.FileUploadException; import org.apache.tomcat.util.http.fileupload.disk.DiskFileItemFactory; import org.apach...
39.2
83
0.75574
301aa278806095072254a000a0d72f5186ef9c14
3,571
/**************************************************** * Description: Entity for 商品规格 * Copyright: Copyright (c) 2018 * Company: xjj * @author zhanghejie * @version 1.0 * @see HISTORY * 2018-07-04 zhanghejie Create File **************************************************/ package co...
21.512048
180
0.531784
fce3f734165551efd69c097aeefe105476ae6cb9
1,306
/* ID: abandar1 LANG: JAVA TASK: dualpal */ import java.io.*; import java.util.Scanner; import java.util.Stack; public class dualpal { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(new File("dualpal.in")); final int N = sc.nextInt(); final int S = sc.nextInt(); sc.clos...
20.730159
61
0.575038
761003d6ee3f17c07f9f19fb7f23581643436837
24,499
/* * 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.050697
817
0.622923
caad549a4abd26f8c1190fdbb164678fa5ee2c6b
972
/** * */ package cz.cuni.mff.odcleanstore.conflictresolution; import java.util.Collection; import org.openrdf.model.Model; import cz.cuni.mff.odcleanstore.conflictresolution.exceptions.ConflictResolutionException; /** * Conflict resolution function. * Takes a set of RDF quads (statements) and produces {@link ...
33.517241
123
0.770576
0771c39454a4721af698cb107b098c3818e42400
2,335
// Copyright (C) 2019 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
34.338235
148
0.665953
7397abf814791dcf9864f54603896ded77d1fae5
21,246
/******************************************************************************* * Copyright (c) 2004, 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...
45.690323
203
0.582086
ed8c50b1e70c8d681eefbef3c9765b34e7700c29
1,262
package com.alexis.tarotapp.api.entities; import javax.persistence.*; /** * Created by alzayon on 6/16/2017. */ public class Reading { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private long id; //http://viralpatel.net/blogs/hibernate-one-to-many-annotation-tutorial/ @ManyToOne ...
22.535714
79
0.662441
caf93fc81894162da7adf585c5eccf2613032e46
680
package net.pinaz993.simpleshelves; import net.minecraft.block.BlockState; import net.minecraft.block.entity.BlockEntity; import net.minecraft.util.math.BlockPos; import org.jetbrains.annotations.Nullable; public class OakShelf extends AbstractShelf{ /** * Implementation of Abstract Shelf that uses the :oak_...
30.909091
74
0.744118
b97ec382f5075236f19d4417ec4a6950702dd4e0
692
package de.fhl.ultimaster.api.v1.objects.xml; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlValue; @XmlRootElement public class Setting { private String key; private Integer value; public String getKey() { retu...
18.702703
64
0.631503
e06e13e3e2c4c7c8fd30dab6175089066b470b23
130
package net.thisptr.java.influxdb.metrics.agent.template; public interface PlaceholderResolver { String resolve(String expr); }
21.666667
57
0.815385
42b4112d130709b1e9862cdd71511686e821642d
2,284
package org.infinispan.server.hotrod.util; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.infinispan.Cache; import org.infinispan.configuration.cache.CacheMode; import org.infinispan.distexec.mapreduce.Collator; import org.infinispan.distexec.mapreduce.Collector; import org.infinisp...
33.588235
99
0.715849
7c11012d174a3ae88128eaa0ee078d2a041e40e6
916
package ca.blarg.tiles3.basicexample.entities; import com.badlogic.gdx.utils.ObjectMap; import com.badlogic.gdx.utils.Pool; import com.badlogic.gdx.utils.Pools; public class AnimationSequenceCollection implements Pool.Poolable { final ObjectMap<String, AnimationSequence> sequences = new ObjectMap<String, AnimationSe...
28.625
100
0.775109
4a87ba70682e63de20d87580e4dff8d4f4135635
18,724
package ph.com.nightowlstudios.persistence.query; import io.vavr.control.Try; import io.vertx.sqlclient.Tuple; import org.apache.commons.lang3.StringUtils; import ph.com.nightowlstudios.entity.Column; import ph.com.nightowlstudios.entity.Entity; import ph.com.nightowlstudios.entity.Table; import java.util.*; import j...
29.673534
119
0.668073
4a5e676e7e59b474839a1649176d4dff2008a4fa
1,175
package ch.fhnw.oop.switzerland.base; import java.util.*; import java.text.*; public class FloatConverter implements Converter<Float> { private final NumberFormat format; public FloatConverter() { this(1, 4); } public FloatConverter(final int minFractionDigits, final int maxFractionD...
33.571429
123
0.674043
91ef442e0facf63579154ed29bbc9e4f18cdfbfd
1,768
package mara.mybox.controller; import mara.mybox.db.data.EpidemicReport; import mara.mybox.db.table.BaseTable; import mara.mybox.db.table.TableEpidemicReport; import mara.mybox.fxml.NodeTools; import mara.mybox.fxml.PopTools; import mara.mybox.value.AppVariables; import static mara.mybox.value.Languages.message; impo...
29.466667
101
0.674774
1c091fb8ab7b04f51f1047072e1e5d939288f969
83
package DAWG; public class InvalidDictionaryFormatException extends Exception { }
16.6
65
0.843373
39453a49593aa6f8eab6458c7c46584d1f90d642
1,298
package com.hexaTech.usecases.design; import com.hexaTech.adapter.interfaceadapter.design.DesignPresenter; import com.hexaTech.adapter.repository.RepoBO; import com.hexaTech.domain.port.out.repository.RepoBOInterface; import com.hexaTech.domain.port.out.usecase.AddBOOutputPort; import com.hexaTech.domain.usecase...
28.217391
69
0.736518
bd634a47b65e845eb258fceb34333dd8fec71ec0
5,857
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Copyright 2022 Adobe ~ ~ 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/li...
48.808333
136
0.696944
93fa17a7ae7f9bbd26fb6a68e796d17b15c98722
8,763
package cn.bingoogolapple.refreshlayout.salemobile.ui.activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import cm.hardwarereport.example.Constants; import cn.bingoogolapple.refreshlayout.salemobile.R; import android.util.Log; i...
32.576208
253
0.60744
758b9d33de5e80cbde570b4623a07c9e1397fff2
3,016
// Copyright (c) 2015-2018 Krzysztof Ciomek // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, me...
38.666667
94
0.657825
f8604fcab51deaa934a8e0d75b50ed389e79d79a
4,655
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
21.550926
81
0.716649
51fef980e3777db64b2474c3031400065bedcb74
7,147
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
45.814103
135
0.737932
6a7726f18a479f837a438128eb35cfcf997414e6
1,853
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.util.rest; import java.util.HashMap; import java.util.Map; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; import javax.ws.rs.ex...
30.883333
101
0.694549
1fb15c099b510952526062045e7493bc9ba27f66
2,800
/** * */ package jframe.pay.upmp.req; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.unionpay.acp.sdk.HttpClient; import com.unionpay.acp.sdk.SDKU...
28.282828
104
0.564286
ba19886c8ae493a446ab661fdb8d7868e6b5375b
4,070
/* * Copyright (c) 2011-2019, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
35.701754
125
0.628747
b839880429760a60a27ce07098bd35153dbc8d10
11,326
package com.catangame.catan.local; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.Socket; import java.net.UnknownHostException; import java.nio.file.Paths; import java.util.ArrayList; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx....
30.04244
121
0.720908
28986bf663601d2350835c4108f46e38fa8c8d3c
5,565
/* * Copyright 2015 JBoss, by Red Hat, 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 ...
35.221519
104
0.683558
c4d9911e58604feffe9a36768b18b919a7142df7
369
/** * * @author Josué Rodríguez */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { BuildABear bab = new BuildABear(); PlushieBuilder builder = new TeddyBearBuilder(); bab.buildBear(builder); System.out.pri...
20.5
57
0.596206
c7bfb70aa7df1d07d8bb1d1fb66d45d53f445d28
4,262
// ============================================================================ // // Copyright (C) 2006-2017 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
40.980769
130
0.673627
7f729dd4f51d087da27336d2508dea21972008f6
3,368
/* * Copyright (c) 2019 AT&T Knowledge Ventures * SPDX-License-Identifier: MIT */ package com.att.research.xacml.std.datatypes; import java.text.ParseException; import com.att.research.xacml.api.SemanticString; /** * for either port represents the limit for port numbers (min or max) in the given addressing sch...
25.709924
103
0.650831
0f768c5e013124c12f1f0faea5b2925e2e3d567f
4,576
/*- * ========================LICENSE_START================================= * io.openslice.tmf.api * %% * Copyright (C) 2019 - 2021 openslice.io * %% * 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 t...
35.472868
151
0.67264
0b964f6d4657fe024ce018d3ca0ebc844d5742e5
999
package org.eop.amab.split.reader.chars; import java.util.Arrays; import java.util.EnumSet; import java.util.Set; /** * @author lixinjie * @since 2017-05-05 */ public class CharsMatcher { private Set<SpecChar> specCharSet; private SpecChar matchedSpecChar; private CharsMatcher(SpecChar[] specC...
21.717391
66
0.704705
ba5e7c55e99224d25b4d54adc44feed28d1e14ea
2,680
package com.gempukku.swccgo.cards.set8.light; import com.gempukku.swccgo.cards.AbstractAlien; import com.gempukku.swccgo.cards.conditions.AtCondition; import com.gempukku.swccgo.cards.conditions.OnCondition; import com.gempukku.swccgo.cards.conditions.PresentWithCondition; import com.gempukku.swccgo.cards.evaluators.F...
47.017544
210
0.777985
0a55d7b3df871e8dc56866a3563b047255a3951d
3,742
// // $Id$ package com.threerings.bang.saloon.data; import com.threerings.crowd.data.PlaceObject; /** * Contains information shared among all occupants of a back parlor room. */ public class ParlorObject extends PlaceObject { // AUTO-GENERATED: FIELDS START /** The field name of the <code>service</code> fi...
35.638095
81
0.676911
302d8ed75f1ed748b30e095c8063202872c7d247
9,265
/** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2005 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions...
41.177778
183
0.492391