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
c718da9446387ea1ce89aa89a2b9951bcb88b4e2
1,414
package com.dm.data.domain; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import java.io.Serializable; import java.util.Optional; public class RangePageRequest<T extends Serializable> extends PageRequest implements R...
30.73913
103
0.673975
b0a21ad1ebbacb755f29119305685db702944e1a
225
package ballotserver.exceptions; public class NoSuchTokenPairException extends BallotServerException{ private static final long serialVersionUID = 6929877369415330403L; public NoSuchTokenPairException() { } }
22.5
69
0.8
ef6499aefd3de5b6ed5e74cd0f44e32a9afc5a33
1,506
/* * 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...
44.294118
126
0.809429
8f8275361089d7557a62603a34ad22262abfe039
1,873
package org.obliquid.util; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * A synchronous Future implementations. I need this for MapCache, that is a * in-memory Map, so fast that creating a ...
30.209677
102
0.628404
c659268fdc1a778898fce3ae08884206d092f023
432
package com.github.mike10004.socialapidemo; import java.time.Duration; public interface Titrator { void consume(); boolean tryConsume(); static Titrator create(int numDosesPerPeriod, Duration period) { return new CountingTitrator(numDosesPerPeriod, period); } static double durationToFr...
22.736842
68
0.722222
8f6ae08f2d6a006aa5037b3f05a64cb02e5dcc5c
4,523
package se.lth.cs.docforia.util; /* * Copyright 2016 Marcus Klang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
29.756579
102
0.539465
536eb7a54bcf19386c1d1dcc20387da74bb89d09
6,070
package restaurant.gui; import restaurant.*; import astar.*; import restaurant.layoutGUI.*; import java.util.concurrent.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Vector; /** Panel in frame that contains all the restaurant information, * including host, cook, waiters, and...
36.566265
367
0.643328
0e82916986a001ef65baf0dd46fc8f0d4f0fd2ef
3,282
package com.hackerspace.intercept; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.servlet.http.HttpServletRequest; import org.apache.struts2.ServletActionContext; import com.hackerspace.model.User; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.Actio...
29.567568
99
0.595369
06b6ac69de981ff8b6d6d7af138038391395154b
3,254
package com.google.android.gms.common; import android.app.PendingIntent; import android.os.Parcel; import android.os.Parcelable.Creator; import com.google.android.gms.common.internal.safeparcel.zza; public class zzb implements Creator<ConnectionResult> { static void zza(ConnectionResult connectionResult, Parcel p...
36.561798
121
0.519668
a3076bc7c0c77c6f3a098621907748030dd38e1a
3,729
package com.youzu.taobao.search; import java.util.ArrayList; import com.kit.utils.DensityUtils; import com.youzu.taobao.R; import com.youzu.taobao.base.util.AppSPUtils; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Base...
33
104
0.609547
a17dcd111224c88a05942b3a1914bbf4264bce96
9,646
package org.algohub.engine.codegenerator; import com.fasterxml.jackson.databind.ObjectMapper; import org.algohub.engine.judge.CppJudge; import org.algohub.engine.bo.StatusCode; import org.algohub.engine.pojo.Function; import org.algohub.engine.pojo.Problem; import org.algohub.engine.pojo.JudgeResult; import org.algo...
50.768421
105
0.727763
ba95cd1d84e797999c1c0716e73b1f0336e85548
3,112
/** * This software is released as part of the Pumpernickel project. * All com.pump resources in the Pumpernickel project are distributed under the * MIT License: * https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt * More information about the Pumpernickel project is available here: * h...
26.151261
80
0.611183
63bb7765b28177faabc7eee2f9aecfc0260f8032
17,362
package life.catalogue.es; import java.io.IOException; import java.time.Instant; import java.time.format.DateTimeFormatter; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.elasticsearch.client.Request; import ...
35.004032
140
0.682698
6bd802483bcf1352fb02b8028ba45f54ecbdf5da
1,900
/* * 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 ...
27.941176
75
0.695789
2eac7fb9408a15fe13e3ab5cd0d735cd8b95d733
10,002
package org.nakedobjects.plugins.dnd.viewer.border; import org.nakedobjects.metamodel.adapter.NakedObject; import org.nakedobjects.metamodel.commons.debug.DebugString; import org.nakedobjects.metamodel.consent.Consent; import org.nakedobjects.plugins.dnd.Canvas; import org.nakedobjects.plugins.dnd.Click; import org.na...
25.844961
81
0.674465
f5fde6b4c5bf9c05dd9349cd9295d9a880189b0e
824
package befaster.solutions.CHK; import org.junit.Before; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; public class AlphabetTest { private CheckoutSolution checkoutSolution; @Before public void setUp() { chec...
22.888889
120
0.666262
8b839f3b7394ab0cbc8457f7795c4969d1878b78
72
package org.whstsa.library.gui.factories; public class TableUtils { }
12
41
0.777778
6af78f01d86b61c3680ecd249663cdcdf10c8d9d
1,466
/* * Copyright 2016-present Open Networking Foundation * * 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...
36.65
93
0.736698
58c37dcd64f07fb95a456800d4b0bfd89a57964e
624
public class Triangle implements AreaShape { private double base; private double height; Triangle(double base,double height) {this.base = base;this.height=height;} public double getBase() { return base; } public void setBase(double base) { this.base = base; } public ...
18.352941
78
0.599359
227c362cbfd03043adce2ece62b342c25ab58aea
1,901
/** * Copyright © 2017 Jeremy Custenborder (jcustenborder@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
28.373134
90
0.691741
6954503a8609152308122514bf55c17987f91577
547
package frc.robot; public final class Constants { public static final class CanIDs { public static final int DRIVE_LEFT_1 = 0; public static final int DRIVE_LEFT_2 = 0; public static final int DRIVE_RIGHT_1 = 0; public static final int DRIVE_RIGHT_2 = 0; public static fin...
23.782609
50
0.634369
9f9091454c6429a761f8743b91250a3287467ed2
1,731
package org.reflections; import org.junit.BeforeClass; import org.junit.Test; import org.reflections.scanners.*; import org.reflections.util.ClasspathHelper; import org.reflections.util.ConfigurationBuilder; import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collections; import java.util.List;...
32.055556
97
0.715771
c2c98ba8246498382a317c3c65cd768f9b0a9eb1
1,329
package com.wxy.appstartfaster.task; import android.os.Process; import com.wxy.appstartfaster.base.TaskInterface; import com.wxy.appstartfaster.executor.TaskExceutorManager; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; public abstract class AppStartTask ...
23.315789
121
0.677201
b7141cb287b9a19f43cadf0dc18457fbd0802e74
3,763
/* * $Id$ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
37.257426
96
0.690407
e3113a0c7c1cd7bf8c56ebbeff4c9c817b73de96
4,455
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
34.534884
119
0.764085
298246fd1dc61729bf2c81f24bbb47f06d712f7d
123
class Main { public static void main(String[] args) { Foo a = new Foo(); Bar b = new Bar(); Foo c = new Bar(); } }
15.375
41
0.560976
bbfd661c84127269859a597359cf00419478d54b
20,978
/* * Some classes in this package have been partly inspired by & bits ported from * Python code written by Tom De Smedt & Frederik De Bleser for the "colors" library * of Nodebox.net. * * http://nodebox.net/code/index.php/Colors * * Copyright (c) 2006-2011 Karsten Schmidt * * This library is free so...
31.032544
85
0.552102
2a20e0f314676511734d83453ef9d7b4547c8ea3
4,721
/* * 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...
44.537736
121
0.571065
6ce780673234726b179ce16072ad6d09f326b696
15,367
package com.jpaulmorrison.graphics; import java.util.HashMap; import java.util.LinkedList; import java.util.Stack; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.swing.JFrame; public class DiagramBuilder { public static void buildDiag(String input, JFrame frame, Diagram diag) { /**...
28.510204
115
0.572135
657ee0d3ff622f3ac2bdcb2b5aab1c922455c88b
29,228
/* * 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.assignment.bank; import java.util.ArrayList; /** * * @author Vj */ public class Numpad_Panel extends javax.swing.JFram...
48.231023
227
0.640174
66d3c1deb47515455005d34a7781fcf859ad793d
9,923
package com.toretate.denentokei2; import android.app.Activity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.vie...
29.445104
123
0.704726
d1a702d24c35a87ddc8c8869c9c425f6f6f7eb91
2,158
// // Copyright (c) ZeroC, Inc. All rights reserved. // // // Ice version 3.7.2 // // <auto-generated> // // Generated from file `Manta.ice' // // Warning: do not edit this file. // // </auto-generated> // package Manta.MAPECommunication; /** * Helper class for marshaling/unmarshaling ParameterChanges. **/ public f...
25.690476
121
0.565802
3c2a0b22d7ce7a14cc054c48331ea8ac755c9598
1,042
package cn.lesswork.context.model; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public enum Container { /** * 实例. */ INSTANCE; /** * 所有类. */ private List<Class> allClass = new ArrayList<>(); /** * less类. */ privat...
16.539683
58
0.661228
e363c600436a37829c76c17910c56949032bc370
3,106
/*- * ---license-start * keycloak-config-cli * --- * Copyright (C) 2017 - 2020 adorsys GmbH & Co. KG @ https://adorsys.com * --- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
42.547945
111
0.745976
0e7a39af8c1fd15440569b766b44f19504f31a21
3,663
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.CRAccountRecoveryProcedureUpdateInputModelAccountRecoveryProcedureInstanceRecord; ...
37.377551
192
0.831286
9da2a82c502bc88fcedbb3ef585655ef740e138c
1,030
package org.ideaexchange.pub; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import ...
30.294118
86
0.818447
a045d98019d0e3d7a9b63ba4c2a4d019c9ce234e
553
package dta; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.domain.EntityScan; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; @SpringBootApplication @EnableJpaRepositori...
32.529412
76
0.844485
e7dbcd4503166b33be6a46c8481e6232dbdce5df
3,151
/* Copyright 2014 Sven van der Meer <vdmeer.sven@mykolab.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
34.626374
170
0.701999
4b483c3ca185c17129f73cc6b44bf465115c40eb
10,819
/** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. * =======================================================...
45.649789
137
0.580738
682a7bda2336e211afe437fa73fca23fd34a4c78
3,623
package com.example.android.sunshine.app; /** * Created by Rajarshi.Sharma on 3/6/2016. */ import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.view.LayoutInflater; impor...
32.348214
114
0.687552
8fe09c2d687e19a71ccaac064cecb0eb49465866
132
package com.vito16.shop.common; /** * @author 周欣文 * @version 2018/10/13 */ public enum Status { SUCCESS, FAIL, ; }
10.153846
31
0.583333
4aaa393014898563b09dd25e756c3fa60a7cb6cb
10,707
package presentation.guestUI.controller; import java.util.Iterator; import businessLogic.orderBL.OrderBLController; import businessLogicService.orderBLService.OrderBLService; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.Button...
25.737981
162
0.741104
b5b319d315e6b9cc3de9c7f49b8418d25cad7d75
475
/* * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. */ package com.huawei.javamesh.metricserver.dao.influxdb.entity.skywalkingjvm.oraclepool; import com.huawei.javamesh.metricserver.dao.influxdb.entity.MemoryPoolInfluxEntity; import com.influxdb.annotations.Measurement; /** * Metaspac...
29.6875
86
0.808421
90977b78ffcda1a4dc0342155aef321140189af5
1,780
package specs.paymentmethods.cashinadvance; import com.google.common.collect.ImmutableMap; import io.sphere.sdk.payments.Payment; import org.apache.http.HttpResponse; import org.concordion.integration.junit4.ConcordionRunner; import org.junit.runner.RunWith; import specs.response.BasePaymentFixture; import java.io.IO...
36.326531
144
0.732022
f6874e843d2e4512caf81ef61bb7b357b5f4346f
726
package helloWorld2; import java.math.BigDecimal; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Bigdecimalinteger { public static void main(String[] args) { // Input Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n + 2]; fo...
21.352941
49
0.61708
396352d3f355fa8f878c694b02ec9cfebb4bfc0b
2,758
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; import android.os.IBinder; // Referenced classes of package com.google.android.gms.internal.ads: // bci, b...
31.340909
113
0.531907
129f2f6389ea74cd9fc12f214cb467b679662b5b
643
package org.danyuan.application.resume.user.service; import org.danyuan.application.common.base.BaseService; import org.danyuan.application.common.base.BaseServiceImpl; import org.danyuan.application.resume.user.po.SysUserLanguage; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
29.227273
118
0.810264
e5c055702aa8bc48a0aae324f8f27a1688cb51cb
5,621
package com.github.vincentrussell.json.datagenerator.impl; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import java.io.*; import java.util.Arrays; public class ByteArrayBackupToFileOutputStream extends OutputStream { protected byte buf[]; protected int count; protected ...
30.058824
104
0.562178
bc2eeba4c397a2b8e109b8a99c50f7d8ef377e1e
3,178
package zk.example; import java.util.Arrays; import java.util.List; import java.util.Map; import org.zkoss.bind.BindUtils; import org.zkoss.bind.annotation.Command; import org.zkoss.bind.annotation.ContextParam; import org.zkoss.bind.annotation.ContextType; import org.zkoss.bind.annotation.DependsOn; import org.zkoss...
27.634783
111
0.704216
e0cb056776459b28b72f4048982e7583ef37c0b3
534
package com.lbconsulting.a1list.domain.interactors.listTitle.interactors; import com.lbconsulting.a1list.domain.interactors.base.Interactor; import com.lbconsulting.a1list.domain.model.ListTitle; import java.util.List; public interface RetrieveAllListTitles extends Interactor { interface Callback { /...
24.272727
73
0.775281
2f691b3d4faea9de655d865a31ca430b78f47424
5,412
package doga.engine; import java.awt.Color; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JColorChooser; import javax.swing.JLabel; import javax.swing.J...
44
130
0.810606
30fba7627772f0913166821769529d8526fd1fef
917
package masegi.sho.mytimetable.di; import android.support.annotation.NonNull; import java.util.ArrayList; import masegi.sho.mytimetable.domain.value.Task; /** * Created by masegi on 2017/07/06. */ public interface RestoreDataSource { interface GetTaskCallback{ void onTaskLoaded(ArrayList<Task> tasks...
29.580645
81
0.737186
f2ca6199c368b4645b4f40dbe4089e202c10730b
224
package com.icc.mybatisextensions.plugins.encryption.cryptogram; public interface Cryptogram { String encrypt(Object word) throws CryptogramFailException; String decrypt(Object word) throws CryptogramFailException; }
24.888889
64
0.830357
e63c329717fdb10e9f9e64d8d9ee98aff3f3684f
138
package expreal.erElements; public class ERAct extends ERPredicateType { public ERAct(String _name) { super(_name); } }
15.333333
44
0.681159
99dbd133bf93b126fb930d1dabbf31c33f5c1036
14,183
/* * 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 ...
53.520755
124
0.698019
62246516695e59014ebda338ac96e27ae4fe5ee9
2,282
package de.quinscape.exceed.runtime.resource; import de.quinscape.exceed.runtime.resource.file.FileResourceRoot; import de.quinscape.exceed.runtime.resource.file.PathResources; import de.quinscape.exceed.runtime.resource.stream.ClassPathResourceRoot; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.Log...
44.745098
116
0.742331
c9b21397ce20ab6b9e7c2cc937634ca40a1937c4
765
package com.heqifuhou.adapterbase.base; import java.util.Comparator; import java.util.List; public interface IAdapterBase<E> { void setMaxCount(final int nMaxCount); // 取得设置最大的容量 int getMaxCount(); // 根据位置移除 void remove(int position); void tryRemove(Object object); void clear(); void rePlace(int position,E...
20.131579
57
0.752941
ce9359a047ba785c68779590e3a7e5c24c785e18
337
package cn.edu.ncut.hikvision_graduation.dao; import cn.edu.ncut.hikvision_graduation.pojo.CameraDevice; /** * Created by 赵希贤 on 2019/4/10. */ public interface DeviceDao { public abstract boolean log_in(String ip, String userName, String passWord, int port); public abstract void registered(CameraDevice ...
21.0625
90
0.762611
9c46586a8772c3620b9860fa510222e0e90d4840
479
package de.adorsys.aspsp.xs2a.connector.config.rest; import java.io.IOException; import org.springframework.http.HttpStatus; public class RestException extends IOException { private static final long serialVersionUID = 5064440018876021544L; private final HttpStatus httpStatus; public RestException(HttpStatus ...
23.95
67
0.772443
c63603c72c9b5d0bf724b33c484b48111d3367e8
1,261
package no.nav.bidrag.dokument.arkiv.security; import no.nav.bidrag.dokument.arkiv.consumer.BidragOrganisasjonConsumer; import no.nav.bidrag.dokument.arkiv.dto.Saksbehandler; import no.nav.bidrag.tilgangskontroll.SecurityUtils; import org.springframework.stereotype.Service; @Service public class SaksbehandlerInfoMana...
37.088235
88
0.793021
417a224ce208a3595468947cf76af22d02f8ff6d
2,401
/* * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics * * 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-...
36.378788
90
0.780092
d012876219b783591b088ebe0f51920700740b06
2,113
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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 applic...
36.431034
114
0.683389
1addb8437e6c29f672458119e20e3947bd234588
2,012
/** * Created by Kyle Gough on 29/12/2016. * Steganography Embedder and Extractor - ©2016 Kyle Gough */ class MessageExtractor { static byte[] extractLSD(StegCarrierImage carrierImage, int[] pixelShifts) { int width = carrierImage.getWidth(); int height = carrierImage.getHeight(); ...
34.101695
86
0.455268
1caf262255de3a49ee854ab7934dd7fa5ecc483a
573
package org.ssio.spi.clientexternal.filetypespecific.csv.parse; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; class CsvParseParamBuilderTest { @Test void build_inputCharsetNull() { CsvParsePar...
38.2
98
0.776614
85e559c372a7fb067a1d795988b558a87eafd83a
727
package com.github.sherter.jcon.composer; import com.github.sherter.jcon.InterceptableForwarder; import org.projectfloodlight.openflow.protocol.OFPacketOut; import org.projectfloodlight.openflow.types.OFPort; public class PacketOutPortChanger { void receivePacketOut(OFPacketOut packetOut, InterceptableForwarder.Co...
34.619048
91
0.795048
c1d7aa6439a6f7797e3d4b6b9e9a526d7032e8c2
422
package com.speakingfish.common.iterator; import java.util.NoSuchElementException; public class EmptyIterator<T> extends AbstractConstIterator<T> { public static final ConstIterator<?> INSTANCE = new EmptyIterator<Object>(); protected EmptyIterator() { } public boolean hasNext() { re...
21.1
81
0.663507
c7594a3280a2558d948390c81db4db9ef1565088
22,505
package org.firstinspires.ftc.teamcode.leaguechamp; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DistanceSensor; import com.qualcomm.robotcore.hardware.Servo; import com....
35.109204
233
0.590758
43c3f6d5688ef839ea3edccc885765f52f7752a0
1,356
package com.ruoyi.alipay.service; import com.ruoyi.alipay.domain.AlipayChanelFee; import com.ruoyi.alipay.domain.AlipayProductEntity; import java.util.List; /** * 渠道费率Service接口 * * @author ruoyi * @date 2020-05-15 */ public interface IAlipayChanelFeeService { /** * 查询渠道费率 * * @param id 渠道费...
19.652174
92
0.64233
91ccb0bcb39ca8ba0442ddfdffc33d4fe5682157
6,558
package org.apache.xmlbeans.impl.xb.xsdschema; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.net.URL; import javax.xml.stream.XMLStreamReader; import org.apache.xmlbeans.SchemaType; import org.apache.xmlbeans.XmlBeans; import org.apache.xmlbeans.XmlExce...
47.868613
214
0.774779
c28dd0d78e4c59125fe583cb7679accfa9889843
6,112
/** * Copyright (C) 2014 OpenTravel Alliance (info@opentravel.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 r...
45.274074
108
0.721041
59543a42862fcfb591bb08b67fcc39252c90d4a8
461
package com.eyft.server.repository; import com.eyft.server.model.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.stereotype.Repository; import java.util.Optional; public interface UserRepository ex...
30.733333
99
0.819957
5d2253edf2b0defb4906bf28981793cce9624636
1,463
package io.vertx.tp.modular.reference; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import io.vertx.up.commune.Record; import io.vertx.up.unity.Ux; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; /** * ...
34.023256
123
0.69378
936d6b4ba2ca2a43d9967498617ab3773c9aab0b
526
package com.emailclue.api.model; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonSubTypes.Type; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeInfo.As; import com.fasterxml.jackson.annotation.JsonTypeInfo.Id; @J...
23.909091
60
0.747148
20502e7df32d62a1586250b7fca6a1542c61262b
2,587
/* * 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 javaapplication19; //import java.sql.Date; import java.util.Comparator; /** * * @author groot */ public class issue{ ...
26.670103
128
0.56436
46d4285933819b0015f3e8ce0873fe6464f67c28
23,061
package br.com.basis.madre.madreexames.web.rest; import br.com.basis.madre.madreexames.MadreexamesApp; import br.com.basis.madre.madreexames.domain.AmostraDeMaterial; import br.com.basis.madre.madreexames.repository.AmostraDeMaterialRepository; import br.com.basis.madre.madreexames.repository.search.AmostraDeMaterialS...
48.858051
134
0.739951
34aa5b83ba49107c82e69dd198a59d200436ea84
3,016
package com.github.projectflink.hadoop; import com.google.common.base.Preconditions; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Jo...
35.069767
116
0.631963
d3d49b9a2017f638b7a6c9e216a9494d3bf176f4
200
package hibernateAS; import java.io.Serializable; public class SeientPK implements Serializable { private int fila; private int columna; private String local; public SeientPK(){ } }
11.111111
47
0.73
cbc9b74216274a7177f82aae97b3c9efd43a0a10
516
package com.uscraft.account; import com.uscraft.account.config.AccountMainConfiguration; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.PropertySource; @...
27.157895
61
0.833333
beb76c1ce39117febfd78f65bd837d953b1b547f
2,129
package org.shirdrn.smart.dag.examples; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.lib.output.MultipleOutputs; import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat; import org.shirdrn.smart.dag.AbstractDAG; import org.shirdrn.smart.dag.DAG; import o...
38.017857
134
0.773133
e69a4824772159ecfdd0a13317895c0ba8ea9028
279
package b.l.a.c.f.e; import b.l.a.c.f.e.c; public abstract class c<MessageType extends c<MessageType, BuilderType>, BuilderType> extends e<MessageType, BuilderType> implements f0 { public final kn zzb; public c() { kn knVar = kn.d; throw null; } }
21.461538
137
0.65233
14de361228ec4c3baaa7346649cd97ee9eb1becd
3,370
/* * Copyright (c) 2020-2021 Polyhedral Development * * The Terra Core Addons are licensed under the terms of the MIT License. For more details, * reference the LICENSE file in this module's root directory. */ package com.dfsek.terra.addons.structure.command.structure; import java.util.Random; import java.util.c...
36.236559
120
0.679822
f6c5f8e8666c8d8ddf74499759b02c6221e48523
3,641
/** * * Copyright (c) Microsoft and contributors. 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 r...
28.445313
78
0.669596
400c30db642e3e705d33b4f583988d7c96c17449
1,015
package com.jaeallen.nuguid.jaesweets; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class ManageProduct extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
24.166667
76
0.692611
0e450510340e6d04a223e07957ac6748504997b7
4,868
/* * The MIT License (MIT) * Copyright (c) 2018 Microsoft Corporation * * 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 * ...
31.006369
84
0.678307
48b4c70e2da77f1d7d617e492b5d271782c5e144
1,965
package org.arabellan.lwjgl; import com.google.inject.Inject; import lombok.extern.slf4j.Slf4j; import org.arabellan.tetris.Controller; import org.arabellan.tetris.Controller.Key; import org.lwjgl.glfw.GLFWKeyCallback; import static org.lwjgl.glfw.GLFW.GLFW_KEY_DOWN; import static org.lwjgl.glfw.GLFW.GLFW_KEY_ESCAPE;...
28.071429
86
0.625954
a7fe918938e9210c051be033e9c9f85d3409c95e
14,004
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. */ /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distr...
22.770732
111
0.646887
140f01174ccdfd238bfe02840d3b66fbe52d1a34
724
/* * 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 ulohySoSachovnicou.sach.figurky; import ulohySoSachovnicou.sachovnica.EFarba; import ulohySoSachovnicou.sachovnica.PolickoSac...
24.965517
118
0.744475
9658cef2dd8e5f1cdb11864fc4fcb5693899e8d6
562
package com.sqa.chn.modules.access.service.impl; import com.sqa.chn.modules.access.entity.CeShiYongLi; import com.sqa.chn.modules.access.mapper.CeShiYongLiMapper; import com.sqa.chn.modules.access.service.ICeShiYongLiService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframewor...
26.761905
120
0.797153
cd2d6f4ab3f5b06cb9b780bc49c33e69e928994b
195
package com.dsource.idc.jellowintl.utility.interfaces; public interface BasicCustomIconsChangedListener { void onEditIconClicked(int position); void onDeleteIconClicked(int position); }
27.857143
54
0.815385
0a6972756673d404781ba109da691cb50a728345
6,718
/* * 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 ...
38.609195
99
0.668651
8695600e4cc6eb56bff0698c94dedb34317e2ecc
56
package com.Iservice; public interface TimeService { }
11.2
30
0.785714
9256b018bb0fd16552639a67543d29a84d74d392
6,517
/* * 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.790244
100
0.646617
d3969d79b0145ae73aa0bbb23e6a58d3b85d8f1d
8,264
import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.Timer; import java.awt.Dimension; import java.awt.event.*; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java....
35.467811
141
0.517546
9d4186059cf88915be0a12c50c18e551f852c946
1,014
package com.jn.langx.invocation.proxy; import com.jn.langx.invocation.GenericMethodInvocation; import com.jn.langx.invocation.MethodInvocation; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; /** * ProxyInstance -> invocation handler -> Target * * @author jinuo.fang */ public class S...
27.405405
115
0.736686
3d3e6d457b8f389f8147eb0204331fca176c80cb
451
package planograma.constant.data.history; import planograma.constant.data.RackStateConst; /** * Date: 21.03.12 * Time: 0:16 * * @author Alexandr Polyakov */ public interface RackStateInSectorHConst extends AbstractHConst { public static final String TABLE_NAME = "EUGENE_SAZ.SEV_PL_RACK_STATE_SECTOR_H$"; publi...
25.055556
82
0.791574
cd4d95fe1225832617c7b92026b505abda4c9ab6
1,163
package com.liangxiaoqiao.leetcode.day.easy; /* * English * id: 796 * title: Rotate String * href: https://leetcode.com/problems/rotate-string * desc: We are given two strings, A and B.\nA shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, if A = \'ab...
41.535714
476
0.662941
b4c29234733d3891bc9154fec25f50b8328cd267
30,354
/* * Copyright (C) 2009 The Sipdroid Open Source Project * Copyright (C) 2005 Luca Veltri - University of Parma - Italy * * This file is part of Sipdroid (http://www.sipdroid.org) * * Sipdroid is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
29.729677
141
0.664624
6a795fd34ff79dade7f5b7cb33ef3d930abfa138
462
public class IntegerDemo { public static void main(String[] args) { System.out.println(); byte age; age = -128; short crystalPalace; crystalPalace = 32_767; // => 32,767 int oldTraffordCapacity = 75_000; int averageDistanceFromEarthToMoon = 93_000_000; ...
22
58
0.623377
c701f94d458cd2d2856c8eeae800852ab6a61537
12,227
/** * 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...
45.285185
212
0.735503
c436ab3b19038bd82835f1afc0b292130acd4b3b
5,452
package edu.ucsf.lava.crms.assessment.model; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Map; import edu.ucsf.lava.core.list.ListManager; import edu.ucsf.lava.core.manager.CoreManagerUtils; import edu.ucsf.lava.core.model.EntityBase; ...
30.629213
112
0.698092