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
3d5bddec52a47c7244086aeca9679acfedf2da2b
7,833
package net.openhft.chronicle.engine; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.engine.api.map.KeyValueStore; import net.openhft.chronicle.engine.api.map.MapView; import net.openhft.chronicle.engine.api.tree.Asset; import net.openhft.chronicle.engine.cfg.ClustersCfg; import net.openhft.chroni...
42.112903
160
0.666539
958cb4431f0362c1b9633fd0ab05c0fbae8e5d95
1,412
package com.cradle.iitc_mobile.compass; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorManager; import java.util.ArrayList; public abstract class Compass { public static Compass getDefaultCompass(final Context context) { final Sensor gyro = ((SensorManager) ...
26.148148
94
0.645184
72ffd7c1ab1453fd86c5b035be00caafe46e602f
10,455
package de.fruitfly.ovr; public class OculusRift implements IOculusRift { private boolean initialized = false; public final String VERSION = "1.12"; private HMDInfo hmdInfo = new HMDInfo(); public float testYawAngle; public float testPitchAngle; public float testRollAngle; public final fl...
31.490964
171
0.570923
59f6733a79eb23361cb46dac64c80b80d2ecab3d
1,175
package io.zero.quiz; import io.vertx.core.Future; import io.vertx.ext.unit.TestContext; import io.vertx.up.aiki.UxJooq; import java.util.function.Consumer; import java.util.function.Supplier; class Async { static <T> void async(final TestContext context, final Future<T> future, ...
30.921053
63
0.54383
de02a67a8d953014a6575e1c517cc6534145c9a7
930
package com.caren.android.fikry.kotlin.network; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Path; import retrofit2.http.Query; public interface GoodreadEndpointInterface { @GET("review_counts.json") Call<BookResultJson> getBookRating(@Query("isbn") String isbn, @Query("key") Strin...
31
96
0.695699
dde66149a2d7fb7fb99e2ee3c76137e11aa0cca9
1,388
package com.googlesource.gerrit.plugins.manifest; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; import org.kohsuke.args4j.OptionDef; import org.kohsuke.args4j.spi.OptionHandler; import org.kohsuke.args4j.spi.Parameters; import org.kohsuke.args4j.spi.Setter; public abstract class...
29.531915
82
0.731988
9d71773603b98faf0929f8454c9795deee3495d4
2,625
package com.trigyn.jws.dynarest.vo; import java.util.Objects; public class RestApiDaoQueries { private String jwsDaoQueryTemplate = null; private String jwsResultVariableName = null; private Integer jwsQuerySequence = null; private Integer queryType = null; public RestApiDaoQueries() { } public Rest...
27.061856
131
0.776
89f4e570d9424bc2c856ac4e3fa6378c10088a75
3,290
package denemeler; import java.io.ByteArrayOutputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.io.ByteArrayInputStream; import java.io.ObjectInputStream; public class DeepCopyofObject { public static void main(String[] args){ Insan [] insanlar = new Insan [50]; ...
22.534247
93
0.56383
767e687c307f80147be5570db1780cc1add04f0e
1,251
package org.stellar.anchor.api.callback; import com.google.gson.annotations.SerializedName; import java.time.Instant; import java.util.List; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.stellar.anchor.api.sep.sep38.PriceDetail; import reactor.util.annotation.Nullable; @Data @...
27.195652
100
0.757794
e6975ff2f9d2f8e2eb4528c56f6ec79afa9a6c2d
4,107
/* * Copyright 2021 Haulmont. * * 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...
50.085366
167
0.699781
f91c762f227960a9366df2f014692a2e3a284ccd
1,534
import java.util.ArrayList; import java.util.List; public class S0677MapSumPairs { class MapSum { private class Node { Node[] child; int v; public Node(int v) { this.v = v; child = new Node[26]; } } private Nod...
25.147541
52
0.338331
23367850723714ca2082b6564f999b93f4c1648d
324
package com.allforfunmc.CamoStuff.camochest; import cpw.mods.fml.common.registry.GameRegistry; public class TileEntityCamo { public static void MainRegistry(){ registerTileEntities(); } public static void registerTileEntities() { GameRegistry.registerTileEntity(TileEntityCamoChest.class, "sleshymod"); }...
19.058824
74
0.780864
a4b2f304380c84a0797d00e5bda1c51e9775a94d
115
/** * @author Sherafgan Kandov */ public class DriverSherafgan { public static void main(String[] args) { } }
12.777778
41
0.669565
d725d9baab607dba35e961d1c84c786c9de1c82a
1,594
package com.thowv.javafxgridgameboard.premades; import com.thowv.javafxgridgameboard.AbstractGameInstance; import com.thowv.javafxgridgameboard.AbstractTurnEntity; import com.thowv.javafxgridgameboard.GameBoardTile; import javafx.animation.PauseTransition; import javafx.util.Duration; import java.util.ArrayList; impo...
32.530612
116
0.727102
caedadbf6c5c3d393b6faf1cd5383dae3b922bfc
1,419
package oscarblancarte.ipd.visitor.domain; import java.util.Objects; import javax.xml.bind.annotation.*; import oscarblancarte.ipd.visitor.impl.*; @XmlRootElement(name = "Responsible") @XmlAccessorType(XmlAccessType.FIELD) public class Employee implements IVisitable { @XmlAttribute(name = "name") private Str...
20.867647
55
0.581395
b16908f676e709a497ca7ff80617ffbabe254d11
3,639
/******************************************************************************* * Copyright 2014 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
40.433333
117
0.766145
4fda6eb76c069efe382f1cbc03f65eb6ea205529
2,464
package jat.measurements; import java.io.*; import java.util.HashMap; import jat.sim.initializer.*; import jat.sim.*; import jat.matvec.data.*; import jat.alg.estimators.*; public class createMeasurements{ // public static String []measurementTypes; // public static VectorN measurementValues; // public static int n...
27.076923
84
0.701299
b1feb67ff10ed9a941798600e2a1069ea47f1f81
5,528
package com.ignoramuss.foo; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; ...
32.327485
134
0.586469
05380bdc235dd192affe39620c71db60705e52c3
1,760
/** * */ package uk.bl.wa.hadoop.mapreduce.io; import java.util.Arrays; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.lib.MultipleTextOutputFormat; import org.apache.hadoop.util.UTF8ByteArrayUtils; /** * * Based on: * https://stackoverflow.com/questions/18...
29.333333
118
0.618182
fc4f2f4f4a43538ef9b65d086c5ecf9c6012de88
8,704
package hex; import water.H2O; import water.Iced; import hex.genmodel.utils.DistributionFamily; /** * Distribution functions to be used by ML Algos */ //TODO: Separate into family/link public class Distribution extends Iced<Distribution> { // Default constructor for non-Tweedie and non-Quantile families public...
29.706485
205
0.592256
e52a8aa7679fd298a135309d228fbc6b75b5e532
954
package com.github.uniliva.librangobase.dto; import java.time.LocalDateTime; import java.util.List; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.g...
22.186047
62
0.82914
08921206f7b49f9bc513bb675c33348015dc3c1c
1,099
package tk.zielony.carbonsamples.animation; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; import tk.zielony.carbonsamples.R; /** * Created by Marcin on 2014-12-15. */ class ListRippleAdapter extends BaseAdapter { private final String...
22.895833
80
0.641492
0bd3219224ba4a7c5c729a652397d139df262559
5,675
package all; /** * A class that represents a complex number. * @author Eric C. Zhao. */ public class ComplexNumber { private double a, b; // complex number is a + bi /** * Default constructor. */ public ComplexNumber() { a = 0.0; b = 0.0; } /** * Constructor. * @param a - a part of ...
32.244318
80
0.633304
69f953753648ab30ae1d11a8e6bccf5d20f02cb5
2,726
package instruction.MultipleTurtleCommands; import java.util.List; import java.util.Set; import java.util.TreeSet; import instruction.InstructionData; import view.ActorView; /** * <p> * <b>SLogo Documentation:</b> Concrete Instruction subclass which takes two * SLogo arguments: 1) list of turtle ids 2) list of co...
35.868421
79
0.734409
bd8924092a8081856cb7634abd3e093423c5ed60
2,390
package com.github.skjolber.xmlfilter.stax; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.CharArrayReader; import javax.xml.stream.XMLStreamException; import org.codehaus.stax2.XMLInputFactory2; import org.codehaus.stax2.XMLOutputFactory2; import org.codehaus.stax2.XMLStreamReader2; impo...
31.447368
230
0.752301
b7f5481cad3c7087a9e6654a1657b589661e89f7
15,495
package com.tianchi.django.common.utils; import java.util.*; import com.google.common.collect.*; import com.google.common.graph.MutableGraph; import com.google.common.graph.Traverser; import com.tianchi.django.common.enums.Resource; import com.tianchi.django.common.pojo.*; import com.tianchi.django.common.po...
38.834586
185
0.602646
9e76b7a67dfc534ac53ccf3bb0c6d73cde01caf9
815
/** * */ package org.irods.jargon.dataone.events; import org.irods.jargon.core.connection.IRODSAccount; import org.irods.jargon.dataone.plugin.AbstractDataOneFactory; import org.irods.jargon.dataone.plugin.PublicationContext; /** * Factory to create event services * * @author mcc * */ public abstract class Abs...
26.290323
122
0.761963
ff50cc82cf819a394f6001a99f8932fe27fb5fed
559
package com.dwarfeng.log4bean.stack.dao; import com.dwarfeng.log4bean.stack.bean.entity.SerializerSupport; import com.dwarfeng.subgrade.stack.bean.key.StringIdKey; import com.dwarfeng.subgrade.stack.dao.BaseDao; import com.dwarfeng.subgrade.stack.dao.EntireLookupDao; import com.dwarfeng.subgrade.stack.dao.PresetLookup...
31.055556
86
0.80322
901c7ef7261a8a88f463faa4cc2df2b53ae861a0
3,879
package cc.mrbird.febs.order.controller; import cc.mrbird.febs.common.annotation.ControllerEndpoint; import cc.mrbird.febs.common.utils.FebsUtil; import cc.mrbird.febs.common.entity.FebsConstant; import cc.mrbird.febs.common.controller.BaseController; import cc.mrbird.febs.common.entity.FebsResponse; import cc.mrbird....
39.989691
132
0.78216
bd8dfdf7e02ad47d000b2ced329949e8df919bb5
2,529
package MySwing; import java.awt.*; import java.util.Hashtable; public class LockLayout implements LayoutManager2 { private Dimension m_dim; private Hashtable<Component,Point> m_complocs; public LockLayout() { m_dim = new Dimension(); m_complocs = new Hashtable<Component,Point>(); } ...
24.794118
95
0.598656
0adaaa1934cacae63e3c47ecec06d45d11972293
503
package com.overnet.interfaces; import java.util.Collection; public class MainInterfaces { private Listener l; public static void main(String[] args) { MainInterfaces m = new MainInterfaces(); m.setListener( new ConcreteListener(), 10 ); m.setListener( new ConcreteListener2(), 5 ); } ...
17.344828
47
0.644135
f65895a61e923942d4cb6fc57d4048c9c0725d40
1,330
package org.ovirt.engine.core.dao; import java.util.List; import org.ovirt.engine.core.common.businessentities.UserProfile; import org.ovirt.engine.core.compat.Guid; public interface UserProfileDao extends Dao { /** * Retrieves the user profile with the specified id. * * @param id * ...
22.931034
72
0.584211
647dd367960458ffcb17fee22e51f0b585d0b39f
1,091
package NotOrtalamasiHesaplama; import java.util.Scanner; public class NotOrtalamasiHesaplama { public static void main(String[] args) { int mat, fizik, kimya, turkce, tarih, muzik; Scanner inp = new Scanner(System.in); System.out.print("Matematik notunuzu giriniz: "); mat...
31.171429
74
0.590284
b9a5640842b8929afe7b19202821b78ada7d4d5f
3,727
package Java.training; import java.util.Scanner; public class ControlFlowStatements { public static void main(String[] args) { } public static void printChallenge(){ Scanner scanner = new Scanner(System.in); int sum = 0,count = 0; for(int i = 1 ; i <= 10; i++){ Syste...
29.346457
108
0.44352
91f473cfb614c05e2e9d022a6028e3845c6c2ac7
300
package hierarquia; import hierarquia.Animal; public class Gato extends Animal { public Gato(String raca, int idade, float peso) { super(raca, idade, peso); // TODO Auto-generated constructor stub } @Override public void fazerbarulho(){ System.out.println("MEOW"); } }
15
50
0.68
2a2585455314a8b0e41bad72c947a98f6bf748ed
1,258
// 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.pactforcure.app.ui; import android.view.*; // Referenced classes of package com.pactforcure.app.ui: // MainActivity class MainActivity$3 ...
28.590909
97
0.608903
52b1af2d56695442d23986ee40eca445e31aa3a6
1,806
package com.example.android.sunshine.app.sync; import android.accounts.AbstractAccountAuthenticator; import android.accounts.Account; import android.accounts.AccountAuthenticatorResponse; import android.accounts.NetworkErrorException; import android.content.Context; import android.os.Bundle; /** * Created by Nan on ...
30.610169
114
0.732004
ce9b6916fc226606c2259418a8b7081b8bfe99c0
7,890
/** * Copyright © 2016-2022 The Thingsboard Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
34.155844
91
0.65526
ed577ff83c6c749a324a14820ad3c772f508120f
5,240
package com.mainpkg; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.List; public class MysqlLogin { public static Connection con=null; public Statement stmt=null; pub...
19.124088
92
0.615076
3015550c2f59738d00efb7e64955999583171890
4,080
package wildfire.volunteers.smokegator.utils; import android.content.ContentProvider; import android.content.ContentValues; import android.database.Cursor; import android.database.MatrixCursor; import android.net.Uri; import com.google.android.gms.maps.model.LatLng; import java.util.ArrayList; import java.util.Date;...
34
119
0.590441
cbbe5f8e5b1223cfb0363ce21d9554b342542ea5
1,111
class MyStack { Queue<Integer> q1; Queue<Integer> q2; /** Initialize your data structure here. */ public MyStack() { q1 = new LinkedList<>(); q2 = new LinkedList<>(); } /** Push element x onto stack. */ public void push(int x) { while (q1.peek() != null) ...
23.145833
76
0.510351
65659315d4e97bb223b78d1031a81650f1974668
1,284
package com.windcoder.javaWork.everyDay.day6; import com.windcoder.javaWork.common.ListNode; public class ReverseKGroup { public ListNode reverseKGroup(ListNode head, int k) { ListNode pre = new ListNode(0,head); ListNode last = pre; while (head!=null) { // 分组,每k个一组 ...
26.75
58
0.518692
59f57ae355b8c36febc304b8d0ce087e9a4d9d5b
70
package protocols; public enum Transport { TCP, UDP, SSL, NONE }
11.666667
23
0.685714
8320a1c4017aff51a270f6a9152f895605756c0c
245
package com.thoughtworks.gaia.common.constant; public class EnvProfile { public static final String TEST = "test"; public static final String NOT_PRODUCTION = "!production"; public static final String PRODUCTION = "production"; }
24.5
62
0.742857
89a785446c7d3893bade458a2a9a774e14a81c13
6,249
/* * 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 ma...
46.288889
205
0.729717
ffeb14c8ae85f11830d5b36c58e2a93d523f371f
4,455
package info.kucharczyk.solutions.sweetlicense.demo.client; import info.kucharczyk.solutions.sweetlicense.core.signer.LicenseRequestSigner; import info.kucharczyk.solutions.sweetlicense.core.signer.LicenseSigner; import info.kucharczyk.solutions.sweetlicense.demo.client.model.License; import info.kucharczyk.solutions....
38.405172
117
0.680808
efc3e4ed63c1464643c5550e339e13ccfea7f804
2,275
package seedu.address.logic.commands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import static seedu.address.model.person.PersonTestUtil.createPeriod; import stat...
42.12963
119
0.767033
79010f13096d99929fd5854be4293f4f48fcb029
1,394
package com.github.cumtfc.guitar.controller; import com.github.cumtfc.guitar.po.guitar.Guitar; import com.github.cumtfc.guitar.po.guitar.GuitarSpec; import com.github.cumtfc.guitar.service.GuitarService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; impo...
34
91
0.759684
c9cdfb5656432fc07282384cf9e035a9560d7c01
2,130
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
30.428571
75
0.783568
5534508d8799e23917932dd3ed93a9bf013a4462
562
package top.lan_mao.sort; /** * Create Date 2021/01/14 21:40:18 <br> * * @author lan-mao.top <br> * @version 1.0 * 冒泡排序算法 <br> */ public class BubbleSort { public static void bubbleSort(int[] array) { //一次冒泡排序的界限 for (int i = 0; i < array.length; i++) { for (int j = array.length -...
23.416667
56
0.427046
02fd5895dfc34a6f6a8e6740b131b88e5b24350a
136
/** * Contains everything related to machine learning * or computational graphs in a more general sense. */ package fwcd.fructose.ml;
27.2
51
0.757353
3d020aec69730a58008514286b1c8e8fd993a4e1
1,500
package com.namics.oss.spring.support.terrific.starter.model;/* * Copyright 2000-2013 Namics AG. All rights reserved. */ import org.hibernate.validator.constraints.NotBlank; /** * User. * * @author aschaefer, Namics AG * @since demo 2.0 22.05.2013 */ public class User { @NotBlank private String username; ...
17.045455
66
0.674
a3785ba3f2326695c3a7e3d237cb98203d5c9e33
1,255
/* * Copyright (C) 2018 Adam York * * Licensed under the MIT (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * https://opensource.org/licenses/MIT * */ package com.github.adamyork.fn; import org.junit.Test; import static org.junit.A...
24.607843
75
0.583267
82953308cd33fcd4b09db36f59b59b2c603d00f5
4,619
/* * Copyright sablintolya@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 required by applicable law or agree...
23.566327
110
0.618532
93406f6074d88a0668ef077e5c4dbd20000616b3
3,041
package de.vorb.tesseract.tools.training; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class IntTemplates { public static final float PICO_FEATURE_LENGTH = 0.05f; public static final float PROTO_PRUNER_SCALE = 4.0f; public static final...
33.054348
75
0.634002
8b28d2fc2401c36511914638cb1e0764273e5dc1
2,992
package ru.snake.config.model; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import javax.swing.table.AbstractTableModel; import javax.swing.table.TableModel; import org.springframework.beans.factory.config.ConfigurableBeanFactory; import org.springfram...
26.714286
72
0.725602
992fa405a6aed50b0af385b6798f3e9c8d2f27ad
2,669
package org.zhxie.sprintpoker.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler; import org.springframe...
37.591549
128
0.747846
0897d82b1767aecc37567ab6c0172bbdaf69cbf8
10,447
package com.fasterxml.jackson.databind.util; import java.io.*; import java.util.*; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.ObjectWriteContext; import com.fasterxml.jackson.core.json.JsonFactory; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jack...
35.293919
108
0.624677
1a730dac2a5234f7370a73adf7919312b2211693
5,278
/** * Copyright 2005-2019 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
32.9875
105
0.675066
75c0c8f3f5869ae2f8c0e7d19cb190f9272e8bc3
1,389
package br.com.zup.propostas.cartao.integracao; import br.com.zup.propostas.carteira.InclusaoCarteiraRequest; import br.com.zup.propostas.carteira.InclusaoCarteiraResponse; import br.com.zup.propostas.notificacaoviagem.integracao.AvisoViagemRequest; import br.com.zup.propostas.notificacaoviagem.integracao.AvisoViagemR...
55.56
150
0.817135
af8590d5296f50fe0e04d472cde55abde0bf8711
4,229
/******************************************************************************* * Copyright 2017 Vincenzo-Maria Cappelleri <vincenzo.cappelleri@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...
36.145299
144
0.697092
7e960b59f43a121c3da8c389e2f503eee67b73e0
1,139
package com.xyl.spark.schedule.common.hadoop.hbase.service; import com.xyl.spark.schedule.common.hadoop.hbase.bean.MyConfiguration; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.Admin; import org.apache.hadoop.hbase.client.Connection; import org.apache.hadoop.hbase.client.ConnectionFa...
30.783784
96
0.705882
a22f668fa15da06f81f85f13a06bc5d725b65c08
121
package pl.zankowski.iextrading4j.api.marketdata; public enum AuctionType { Open, Close, Halt, Volatility, IPO; }
15.125
49
0.743802
df6f1d3c9ad1c272ce0d8b74f15298e716cfffde
5,570
/* * Copyright (C) 2015 Atanas Gegov * * 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...
35.705128
91
0.78474
78322a6be8ad50e23530b4fd023ab2dd593c78a5
2,251
package uk.gov.ons.ssdc.caseprocessor.schedule; import com.godaddy.logging.Logger; import com.godaddy.logging.LoggerFactory; import java.net.InetAddress; import java.net.UnknownHostException; import java.time.OffsetDateTime; import java.util.Optional; import org.springframework.scheduling.annotation.Scheduled; import ...
40.196429
90
0.80231
49607000668305e9471cda723b82762680be98fd
2,720
/* * Copyright 2017 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 or agreed to in...
30.561798
120
0.647794
18e782bd8e273a59cc784c53ffad8988724c2334
2,721
package com.atum.tunetube.presentation; import android.app.Activity; import android.content.Context; import android.media.MediaPlayer; import android.os.Handler; import android.os.Looper; import android.util.Log; import android.view.MotionEvent; import android.widget.MediaController; import com.atum.tunetube.Constant...
23.059322
119
0.629548
49ffd9f02cd4f6b585124a386308b09b4e0e9a29
2,758
package com.lingnet.vocs.entity; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import com.lingnet.common.entity.BaseEntity; /** * 设备使用记录 * @ClassName: EquipmentUsageLog * @Description: TODO *...
27.306931
118
0.627991
731677c2c2d4d186335fd408ab6e5929d08a6dc0
966
package sonar.calculator.mod.common.entities; import net.minecraft.dispenser.BehaviorProjectileDispense; import net.minecraft.dispenser.IPosition; import net.minecraft.entity.IProjectile; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import javax.annotation.Nonnull; public class CalculatorTh...
27.6
116
0.744306
72c649b0ec04723f68aee6b9369f5c4869bbd38f
679
package design.parttern.tarena._1_factory._1_simple_factory; import design.parttern.tarena._1_factory._1_simple_factory.drivers.ChineseDriver; import design.parttern.tarena._1_factory._1_simple_factory.drivers.HanGuoDriver; import design.parttern.tarena._1_factory._1_simple_factory.drivers.USADriver; public class Dri...
33.95
81
0.787923
e80a683e5093fa70ca18e7ac36c0e662cd4e884b
590
package com.andersenlab.crm.listeners; import com.andersenlab.crm.events.CompanySaleEmployeeNotifierEvent; import com.andersenlab.crm.services.WsSender; import lombok.RequiredArgsConstructor; import org.springframework.context.event.EventListener; import org.springframework.stereotype.Component; @Component @RequiredA...
31.052632
74
0.822034
0d77ae509258ca785b67a6ffb9b7cdc76e112fc8
1,160
package ua.marchenko.j_page_object_and_other_patterns.a_task_19.pages; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.ui.Select; import ua.marchenko.j_page_object_and_other_patterns.a_task_19.concise_api.ConciseAPI; import ua.marchenko.j_page_object_and_other_pa...
31.351351
86
0.723276
bc469e3539293d36fcd4182e9104c283a7047d8b
1,937
package org.patas.gui; import javafx.scene.control.TextFormatter; import javafx.scene.layout.AnchorPane; import org.patas.events.Event; import java.util.function.UnaryOperator; public class RootPane<E extends Comparable<E>> extends AnchorPane { private final ControlsPane<E> controlsPane; private final TreePa...
34.589286
101
0.661848
296175f15fa95ceb6943c8bdf29f10f92c53d6e9
118
package com.easyctrl.iface; public interface RegisterInteface { void register(int i); void remove(int i); }
14.75
35
0.711864
3cbf4c73f1683b59ecf4c1700d7772acb4993fae
479
package io.hyperfoil.core.api; import java.time.Clock; import java.util.function.Consumer; import io.hyperfoil.api.config.Scenario; import io.hyperfoil.api.session.Session; import io.vertx.core.Future; public interface PluginRunData { void initSession(Session session, int executorId, Scenario scenario, Clock clo...
23.95
85
0.789144
dd05d94b2061d7ec728bc6954d8651d6b5aef199
10,701
package com.example.collectionsframework.c1fragment; import android.content.Intent; import android.util.Log; import android.view.View; import android.widget.TextView; import android.widget.Toast; import com.example.collectionsframework.C21iptransfer.IPTranferActivity; import com.example.collectionsframework.R; import...
39.633333
100
0.634614
207754bff88e2b074556306323cb8a1f38ae2df6
1,311
package com.benwunet.user.ui.bean; import java.util.List; /** * @Package: com.benwunet.user.ui.bean * @ClassName: MeSafeBean * @Description: 个人安全资料 * @Author: feng * @CreateDate: 2020/11/11 0011 11:15 * @Version: 1.0 */ public class MeSafeBean { /** * email : wf2016@bw.com * isAuth : false *...
19.279412
57
0.603356
7aa510342696a1b523d6b5a977f6de805a693454
393
package Airline; import Airport.InterfaceAirport; import Flight.InterfaceFlight; import java.util.Calendar; public interface InterfaceAirline { String getNom(); InterfaceFlight createFlight(InterfaceAirport orig, InterfaceAirport dest, Calendar date, String id); InterfaceFlight findFlight(); void cr...
21.833333
105
0.765903
d50bfff8cc3842ef3ce4b77bafbdffdcff5ef41b
2,120
// generated with ast extension for cup // version 0.8 // 18/0/2018 3:6:22 package rs.ac.bg.etf.pp1.ast; public class OptionalElseDerived1 extends OptionalElse { private ElseStart ElseStart; private Statement Statement; public OptionalElseDerived1 (ElseStart ElseStart, Statement Statement) { th...
26.835443
76
0.638208
076d88716fc465fd09e01ef59bf6bb836b4533b3
5,960
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Components.Concrete.Parser.InterpretingParser.LimitedBackTracker; import Components.Concrete.Grammar.IGrammarComp; import Components.Concrete.Parser.InterpretingParser.CInterpretingParserComp; import Componen...
27.090909
202
0.627517
edcb1ae5e17f35b4a894143be35184362641c500
1,371
package com.github.edgar615.gateway.plugin.version; import com.github.edgar615.gateway.core.definition.ApiPlugin; /** * API版本的切流 * . * 由于最初的架构并未考虑到多版本适应的方案,为了将代码的改动降低到最低,通过这个插件来实现多版本的共存。 * 如果某个API需要使用多版本,那么API的定义处理新旧两个版本外,还需要额外定义一个包含了版本选择方案的Api. * <p> * 在根据请求搜索到多个API后,首先判断有没有版本选择方案,如果没有对应的方案,就抛出异常, * 如果找到了方案,就...
23.637931
84
0.695113
075a147fbc43ae8ae2bd8ad48336b3361a49019e
6,348
package com.zsc.ljt.ljtshixun2_1; import android.content.Intent; import android.support.annotation.NonNull; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import an...
35.662921
105
0.591525
db1df9569493eb8b59b4a420e3d38407f2121e14
1,653
import java.util.*; import java.io.*; public class maxXOR { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st...
21.467532
70
0.439806
7c5c211b992b3f63b4c6d744937b3e5d017e7d22
2,513
/* * JSwiff is an open source Java API for Macromedia Flash file generation * and manipulation * * Copyright (C) 2004-2005 Ralf Terdic (contact@jswiff.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * th...
33.959459
86
0.681257
26d0e45999c15bff16d384d7db6499de18426637
5,144
package us.tlatoani.mundocore.reflective_registration; import ch.njol.skript.lang.ExpressionInfo; import ch.njol.skript.lang.ExpressionType; import ch.njol.skript.lang.SyntaxElementInfo; import us.tlatoani.mundocore.reflection.Reflection; /** * Created by Tlatoani on 8/12/17. */ public abstract class ModifiableSynt...
41.152
142
0.694984
f6dc64f1644017e654a5657c6ca07db4ca54ed30
5,881
// Copyright by Barry G. Becker, 2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT package com.barrybecker4.game.twoplayer.blockade.board.move.wall; import com.barrybecker4.game.common.GameContext; import com.barrybecker4.game.twoplayer.blockade.board.BlockadeBoard; import com.barrybecker4.game....
42.615942
110
0.665023
05d1240daeb3a4771b2458bf212f4736d42ba711
4,668
package com.xw.project.gracefulmovies.view.adapter; import android.animation.Animator; import android.animation.ObjectAnimator; import android.support.v4.content.ContextCompat; import android.support.v7.widget.AppCompatImageView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGro...
38.578512
113
0.635176
2f028afe58a5fc36347ed0866be9522cb185ae9c
4,187
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
30.562044
100
0.580368
c9c9b4830a4d6179282b986e89441068d42f758e
28,982
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
35.002415
132
0.569422
bd3272eed525df0cbf9d372951368a37911f1068
2,539
package us.vicentini.hackerrank.algorithms.sorting; import java.util.Scanner; /** * https://www.hackerrank.com/challenges/insertion-sort/submissions/code/19401019 * * Sample Input 2 5 1 1 1 2 2 5 2 1 3 1 2 * * Sample Output 0 4 * * @author Shulander */ public class InsertionSortAdvancedAnalysis { private...
29.523256
97
0.48208
5c6bf9bbc40fab3fc82ecd8e6dd225b9c8716973
2,873
/** * */ package com.autoStock.backtest; import org.encog.engine.network.activation.ActivationTANH; import org.encog.ml.data.MLData; import org.encog.ml.data.basic.BasicMLData; import org.encog.ml.data.temporal.TemporalDataDescription; import org.encog.ml.data.temporal.TemporalDataDescription.Type; import org.encog...
31.571429
107
0.734424
e0c783e8fc7d063d90398c13d16f28ff9a26a459
326
package com.yanghui.elephant.remoting; import com.yanghui.elephant.remoting.procotol.RemotingCommand; import io.netty.channel.ChannelHandlerContext; /** * * @author --小灰灰-- * */ public interface RequestProcessor { RemotingCommand processRequest(ChannelHandlerContext ctx, RemotingCommand request); ...
20.375
85
0.748466
44b9288ea148f52b75510442e32ef84e5e24f891
315
package com.coding.helpers.service.gateway.filter; import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants; public abstract class AbstractPostZuulFilter extends AbstractZuulFilter { @Override public String filterType() { return FilterConstants.POST_TYPE; } }
26.25
79
0.755556
6dc195bab5b419c72fda5e10e0c4434c5d4bc576
1,351
package com.udacity.gradle.builditbigger.fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ProgressBar; import com.udacity.gradle.builditbigger.R; import com.udacity.gradle.builditbigger....
28.145833
79
0.663212
ae78cb80ebbcc02b2ff6309b4407276eefec641b
796
/** * */ package de.chaosbutterfly.smcombat.model.session; import java.io.Serializable; import javax.ejb.Local; import de.chaosbutterfly.smcombat.model.character.CharacterSM; import de.chaosbutterfly.smcombat.model.user.KnownUser; /** * @author alters * */ @Local public interface SessionsDAO extends Serializa...
22.742857
115
0.797739
5d57de0afd4ba95baf8d5a30eb3934526e2ee268
5,467
/* * Copyright 2019, 2020 Jonathan West * * 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 a...
30.372222
104
0.747942
5569aa1f0164a7f3abb783153fe22509e1e2654c
875
package org.adorsys.adpharma.client.jpa.prescriptionbook; import javax.annotation.PostConstruct; import javax.enterprise.event.Observes; import javax.inject.Inject; import javax.inject.Singleton; import org.adorsys.javafx.crud.extensions.events.CreateModelEvent; @Singleton public class ModalPrescriptionBookPrescribe...
30.172414
142
0.812571
7b403e449cb40748a7dd8d1c46b868bf391cc829
1,684
package com.github.aha.sat.core.wiring.order; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.boot.test.context.SpringBo...
31.185185
122
0.789192
6e45002e8d4411e2b26de139818418336b149205
213
package com.neu.his.dao.mapper; import com.neu.his.dao.entity.DeptEntity; import org.springframework.data.jpa.repository.JpaRepository; public interface DeptMapper extends JpaRepository<DeptEntity,Integer> { }
23.666667
71
0.821596
b8d2618136637e28d3ce75e14a5b2fb82d9ab507
1,563
package cz.todr.brewery.core.temperature; import cz.todr.brewery.core.conf.Config; import cz.todr.brewery.core.hardware.Hardware; import cz.todr.brewery.core.heating.Heating; import cz.todr.brewery.core.utils.SingleThreadedExecutor; import cz.todr.brewery.core.utils.Utils; import org.slf4j.Logger; import org.s...
26.948276
85
0.735125