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
c93f6845241fba29263675411dd940002025173a
5,798
package com.bx.erp.selenium.Promotion; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.is; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import com.bx.erp.selenium.BaseSeleniumTest; import ...
41.414286
178
0.714902
c2c6c1d8a8e25185019bb0d8d59bf63feca7c3ea
235
package game.gui.level; import game.controller.LevelController; /** * interface for LevelRenderer objects * @author Marco */ public interface LevelRenderer { /** * This is always called */ public void draw(); }
14.6875
39
0.668085
4fa9dded4fb59012a1c6a0f06b2020289d527567
3,721
package com.lyubenblagoev.postfixrest.configuration; import com.lyubenblagoev.postfixrest.security.CustomUserDetailsPasswordService; import com.lyubenblagoev.postfixrest.security.CustomUserDetailsService; import com.lyubenblagoev.postfixrest.security.JwtAuthenticationFilter; import org.springframework.beans.factory.an...
47.705128
107
0.769686
593ba55363d4ed481aead545ec56a859cd450c49
1,055
package org.ayo.template.recycler; import org.ayo.list.adapter.ItemBean; import org.ayo.list.recycler.XRecyclerView; import org.ayo.template.recycler.condition.AyoCondition; /** * Created by Administrator on 2016/8/21. */ abstract class AyoRefreshable<T extends ItemBean> extends AyoListable<T> { protected boo...
26.375
79
0.623697
8d98bf47a1920f9ba0bfc990336f04639974ee8c
2,181
package kr.dogfoot.hwplib.writer.bodytext.paragraph.control.gso; import java.io.IOException; import kr.dogfoot.hwplib.object.bodytext.control.gso.ControlPolygon; import kr.dogfoot.hwplib.object.bodytext.control.gso.shapecomponenteach.ShapeComponentPolygon; import kr.dogfoot.hwplib.object.bodytext.control.gso.sh...
25.068966
95
0.650619
ac93db5e2d15bb18cc103217a8da3c50d8e4fe19
2,036
/* * Copyright 2006 The National Library of New Zealand * * 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 b...
21.892473
89
0.701866
df28d042ed2941c20387b7df0c478bfc7a5164b3
1,670
/******************************************************************************* * Copyright (c) 2012 Manning * See the file license.txt for copying permission. ******************************************************************************/ package com.manning.androidhacks.hack041.data; import com.j256.ormlite.fiel...
23.194444
80
0.617365
555b71d008cc1da0ec77a90bac1f53a396a2aee1
1,979
/* * 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 controllers.order; import connectors.OrderDB; import java.io.IOException; import java.net.URL; import java.util.ResourceBundle...
27.873239
121
0.671551
088167fa2ab508a2e65dd18b8071fd4606dbd9a5
1,173
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
33.514286
70
0.728048
112e6482220ea57aef34c656b4e4c8ac1c187377
3,726
package com.spring.config; import java.net.Proxy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationProvider; import org.spring...
39.221053
198
0.800322
72b6e31eda828f3d6828e12e657da484fa3c867f
849
package com.lvonce.hera.consumer.jdk; import com.lvonce.hera.logger.RpcLogger; import com.lvonce.hera.future.RpcFuture; import com.lvonce.hera.consumer.RpcNodeConsumer; import java.lang.reflect.Method; import java.lang.reflect.InvocationHandler; public class RpcJDKConsumer implements InvocationHandler { private fi...
31.444444
85
0.778563
6e5302a203711bd7f0b4e104c3dba621cb24e9f3
8,047
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
32.711382
118
0.713309
5140f86db6beb9a3ee64d45736b609f57b89311e
3,704
/* * ============================================================================= * * Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ...
40.703297
180
0.694924
bf9f925cd8aae0fc5c8b76c22b708de9a812e8fe
6,245
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
46.604478
133
0.718335
0b91c3c1e066ffb9247e87f07a3e6ddf2353df92
91
package dev.wiles.calc.tokenizer; public interface Token { public Object getValue(); }
18.2
33
0.747253
31c4b55985d74065180b67342e35196e0fe74710
5,442
/* * Created on :7 Apr, 2015 * Author :songlin * Change History * Version Date Author Reason * <Ver.No> <date> <who modify> <reason> * Copyright 2014-2020 songlin.li All right reserved. */ package cn.wuxia.wechat.fans.util; import java.util.HashMap; import java.util.List; i...
31.456647
145
0.632488
5b076d9525a7618e504366c5ef9aa19e739bdfa0
489
package cn.dustlight.flow.core.flow.process; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import java.time.Instant; /** * 过程服务 * * @param <T> */ public interface Process<T> { Integer getVersion(); @JsonSerialize(using ...
16.3
65
0.699387
e6d9c28c570f070c42ca2a1013cf37b1fe283b7d
4,205
package org.vaadin.addon.vol3.demoandtestapp; import org.vaadin.addon.vol3.OLMap; import org.vaadin.addon.vol3.OLView; import org.vaadin.addon.vol3.OLViewOptions; import org.vaadin.addon.vol3.client.OLCoordinate; import org.vaadin.addon.vol3.client.OLExtent; import org.vaadin.addon.vol3.client.Projections; import org....
42.474747
80
0.669917
ae77e1b6535ab7fe5ba57bd4ef90c00409ae105e
948
package app.domains.entities.accessories; import app.domains.entities.photographers.Photographer; import javax.persistence.*; import java.io.Serializable; @Entity @Table(name = "accessories") public class Accessory implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private...
18.96
63
0.64135
c9f8ca5cdd05e212bd1908c149de1c16d4674db8
3,396
import io.github.bonigarcia.wdm.WebDriverManager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; //poprawnie zaimprtowało nam to z mavena import org.openqa.selenium.chrome.ChromeOptions; import org.openqa.selen...
41.925926
105
0.642226
3671ad7ecea733475064cd30d75a2636ec7d7cb9
3,196
/* * Copyright © 2009 HotPads (admin@hotpads.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...
34
108
0.7597
87fc47e0e885d9c07ac0f63e158b26f8098b0ec9
5,141
/* * 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 ...
49.912621
146
0.619918
33483f9cb716880159d66e374515848dba85bf61
138
package de.diedavids.sneferu.example; import com.haulmont.cuba.gui.screen.Screen; public class CustomStandardScreen extends Screen { }
17.25
50
0.811594
e4cecfa28ad1d3b25bc19f272439626b325889a4
5,114
package sqlancer.mariadb.gen; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import sqlancer.Randomly; import sqlancer.common.query.ExpectedErrors; import sqlancer.common.query.Query; import sqlancer.common.query.QueryAdapter; import sqlancer.mariadb.MariaDBBugs; import sqlance...
34.322148
118
0.578021
4caa20db2b636361be09c792b96b6d8018215187
1,723
/* * Copyright 2020 rhwood. * * 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 ...
35.163265
77
0.686013
b8c451cdfdbc0704030f337e4b282f8332323298
195
package com.dreweaster.ddd.jester.example.domain.aggregates.user.commands; import com.dreweaster.ddd.jester.domain.DomainCommand; /** */ public interface UserCommand extends DomainCommand { }
21.666667
74
0.805128
6e2601872e3116de8982cb96368d336380f535b8
1,317
package com.example.json; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyError; impor...
28.630435
105
0.679575
566dddfff2fc92f746a70d05137ec1006840f07f
2,047
package ClienteCalc; import java.rmi.Naming; import java.rmi.RemoteException; import java.util.Scanner; import ServidorCalc.InterfaceServidorMat; public class Cliente { private InterfaceServidorMat msi; // A interface para o objeto remoto public Cliente() { System.out.println("Executando Clien...
30.552239
85
0.60381
a7fb74de9526b1128182f6cd74f764d7f5b1a9f5
177
package net.sf.jabref.gui.worker; /** * Represents a task that is to be executed on the GUI thread */ @FunctionalInterface public interface CallBack { void update(); }
14.75
61
0.711864
5e6416d1e9dd523c2f4f1795297d3d41118ba07a
873
package com.github.mikhailerofeev.runity.domain.controllers; /** * @author Mikhail Erofeev https://github.com/MikhailErofeev * @since 09.04.14 */ @Deprecated //for testing purposes public class Greeting { private String text; public Greeting(String text) { this.text = text; } public Greeti...
19.840909
93
0.599084
976c8b4e05d50a94d31568a3be3b964583bdc9ea
1,422
package com.neoremind.apiframework.metric; public class DefaultMetricClient implements MetricClient { @Override public void count(String s, double v) { } @Override public void count(String s, double v, double v1) { } @Override public void count(String s, int i) { } @Overr...
16.344828
88
0.616737
4767bf000f08e450df70a8030581309442706f11
776
package com.github.wesleyegberto.types; public class Tree { Tree left; String key; Tree right; public Tree(Tree l, String k, Tree r) { left = l; key = k; right = r; } public Tree insert(String key, Tree t) { if (t == null) return new Tree(null, key, null); else if (key.compareTo(t.key) < 0) ret...
22.171429
56
0.632732
01a3f4da4083fe5536f8be7e7191fbc3902bfbab
731
package com.manorrock.bengal.message.bmesg2java; /** * A keyword node. * * @author Manfred Riem (mriem@manorrock.com) */ public class KeywordNode implements Node { /** * Stores the keyword. * * @param keyword the keyword. */ private String keyword; /** * Constructor. *...
16.613636
48
0.543092
7227ad8fd57958154c73004bdc2e39bf14b3f868
9,854
package com.challengeandresponse.geo.geocoders; import java.io.IOException; import java.net.URL; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.challengeandresponse.cheapws.CheapREST; import com.challengeandresponse.geo.data.GeocodedLocation; import com.challengeandresponse.geo.geocoder.*...
36.095238
154
0.722752
6546659cda967043474b362c2aa3a3f277226d0c
42,311
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.kusto.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.core...
55.599212
120
0.748647
e97a437e074437e929b6dc2becbec82d1c0f30e3
1,590
package server.services; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import io.reactivex.BackpressureStrategy; import io.reactivex.Flowable; import server.domain.Todo; import java.util.Arrays; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.concurre...
36.136364
95
0.61195
3a1de0854ff5e757cddfa072dfc77fb44a9163f5
18,015
/**************************************************************** * 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...
48.689189
282
0.717735
51be32d4d495c669bd9fbe906884b9adf287b7e6
1,949
package mchorse.mappet.client.gui.triggers; import mchorse.mappet.api.triggers.Trigger; import mchorse.mappet.client.gui.utils.overlays.GuiOverlay; import mchorse.mclib.client.gui.framework.GuiBase; import mchorse.mclib.client.gui.framework.elements.GuiElement; import mchorse.mclib.client.gui.framework.elements.button...
23.768293
116
0.62237
136b040a73d4f5c640ad8c22700499d4463eceac
15,644
package com.nomadjackalope.caffeinatedsheep; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import co...
28.34058
110
0.562324
6b43a45cdcec1873fafa1bebe15568c3bc6cd8e2
22,062
package application; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.Random; /** * Implementation of a B+ tree to allow efficient access to * many dif...
33.631098
109
0.521258
7bfb7d098b96bc22479568649449ac2e690de766
886
package examples; import resources.entities._Fruit1K; import java.io.IOException; import org.terifan.raccoon.CompressionParam; import org.terifan.raccoon.Database; import org.terifan.raccoon.DatabaseOpenOption; import org.terifan.raccoon.io.physical.MemoryBlockDevice; import org.testng.annotations.Test; public class...
22.717949
107
0.702032
e823535d633bd4b6e95ffe5ed75b386a60808ebb
885
package com.sxh.common.utils; import java.math.BigDecimal; import java.math.RoundingMode; /** * @author sxh * @date 2022/04/04 19:55 **/ public class GSUtil { private static final double EARTH_RADIUS = 6378.137; private static double rad(double d){ return d * Math.PI / 180.0; } public stat...
25.285714
89
0.561582
2cf09f01208bca03fd2840cffb3c522800b15416
18,095
/* * org.nrg.xnat.presentation.ChangeSummaryBuilderA * XNAT http://www.xnat.org * Copyright (c) 2014, Washington University School of Medicine * All Rights Reserved * * Released under the Simplified BSD. * * Last modified 7/10/13 9:04 PM */ package org.nrg.xnat.presentation; import com.google.comm...
27.881356
86
0.641835
c919f5280d5db51d312270e4314d04fc1fc55333
3,304
/* * Copyright (c) 2017 Nova Ordis LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
31.769231
120
0.467312
c7f9c1f12f487cc0740eca25cbadcc89023eeb83
4,633
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.vcs.changes.ui; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; import com.intellij.openapi....
31.09396
140
0.717462
a5ad12eb266699ad5a636c39e27decfe8e47aa71
317
package com.tencent.wxop.stat; final class ad { long K; int L; String b; int cp; public ad(long j, String str, int i, int i2) { this.K = j; this.b = str; this.cp = i; this.L = i2; } public final String toString() { return this.b; } }
15.85
50
0.48265
80dd772074ae38733d2b3329fe9b3825ea89a1b0
2,472
package gov.usgs.cida.gcmrcservices.nude.time; import gov.usgs.cida.gcmrcservices.TimeUtil; import gov.usgs.cida.gcmrcservices.jsl.data.ParameterSpec; import gov.usgs.cida.nude.out.mapping.ColumnToXmlMapping; import org.apache.commons.lang.StringUtils; import org.joda.time.format.DateTimeFormatter; import org.slf4j.Lo...
29.428571
106
0.74555
fe4c5eb59de38fd2300da1f93c9c69c4fbcfa52a
2,573
package com.study.xuan.richeditor.directory; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.study.xuan.richeditor.R; import com.study.xuan.richeditor....
30.270588
110
0.669258
0533fa28a10b114f187c4c56451fbfe4b739763f
315
package com.ibm.mysampleapp.core; import com.ibm.mysampleapp.graph.Room; import java.util.ArrayList; /** * */ public interface RoomList { ArrayList<Room> roomList = new ArrayList<>(); default void clearRoomList() { if (!roomList.isEmpty()) { roomList.clear(); } } }
14.318182
49
0.612698
227e226ad37fd05545058f12c84dde96766b05d6
53
package dev.keter.tree; public interface Window { }
10.6
25
0.754717
30a2d92b39c6cd289f9b1c25c11fbb71966f6247
905
package com.point.plat.protocol.plugin.tcp.control; import javax.jms.JMSException; import javax.jms.MapMessage; import javax.jms.ObjectMessage; import javax.jms.TextMessage; import org.springframework.stereotype.Component; import com.point.iot.manager.core.control.ControlMessageHandler; @Component public ...
21.046512
73
0.718232
26f376c9d2eebfccc31d4714b57deceb70b58186
2,371
package no.nav.foreldrepenger.abakus.felles.diff; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import no.nav.abakus.iaygrunnlag.kodeverk.IndexKey; import no.nav.foreldrepenger.abakus.felles.jpa.IntervallEntitet; /** * Hjelpemetoder for å raskere sette sammen...
38.868852
135
0.620413
77a5c39ad71c6c9e85546b67f9b35e549121d1ee
2,714
/* * Copyright 2014-2018 Rudy De Busscher * * 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 ...
38.771429
150
0.729182
a7fcfb329a9f5f1d0d8c5ac742aa594090e8698d
5,572
package io.github.vampirestudios.gadget.block; import io.github.vampirestudios.gadget.DamageSourceFence; import io.github.vampirestudios.gadget.init.GadgetSounds; import io.github.vampirestudios.gadget.object.Bounds; import io.github.vampirestudios.gadget.util.CollisionHelper; import net.minecraft.block.material.Mater...
36.181818
244
0.599785
6ff27ca02efcf2f65ed16a3c40546dddbdbae7fa
1,375
package org.bbs.android.androidaid; import android.accessibilityservice.AccessibilityService; import android.accessibilityservice.AccessibilityServiceInfo; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.util.Log; import android.view.accessibility...
31.25
83
0.764364
f86feca4a57c7d9ca1b46ef18c04fd985cea3141
7,016
package org.jabref.model.entry.field; import java.util.Arrays; import java.util.Collections; import java.util.EnumSet; import java.util.Optional; import java.util.Set; import org.jabref.gui.fieldeditors.FieldNameLabel; /** * Standard BibTeX and BibLaTeX fields, as well as "normal" JabRef specific fields. * * See ...
34.392157
113
0.685718
571dddabcb68c6f90ccd16540bbfdf2d654e32b2
2,212
package genericcustomlist; import genericclasses.CustomList; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try(BufferedReader bfr = new BufferedReader(new InputStreamReader(System.in))) { ...
33.515152
88
0.392857
42c6d34bac89d5a62dddc0801f84257a6348a9e3
365
package com.test.dao; import static org.junit.Assert.*; import org.junit.After; import org.junit.Before; import org.junit.Test; public class TestTestDao2 { @Before public void setUp() throws Exception { } @After public void tearDown() throws Exception { } @Test public void testGetTest() { assertEquals("...
14.6
54
0.709589
55c9329cc9b60f3bdc5b0184abb107599c671c40
4,742
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
37.338583
87
0.648039
8f597b4271a527f662dcc52ca3a4809c95eae89b
1,367
package cn.jingzhuan.lib.chart.component; import android.support.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import cn.jingzhuan.lib.chart.data.LabelColorSetter; /** * Created by Donglua on 17/7/17. */ public class AxisY extends Axis { public final s...
24.854545
69
0.700805
3e33eb645dce52a19b5771e9035b620c1157c60f
309
package com.fingerchar.db.dao; import com.fingerchar.db.domain.FcNftCategory; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * @Description FcNftCategoryMapper 接口 * @Author * @Date 2021-12-12 * @Version 1.0.1 */ public interface FcNftCategoryMapper extends BaseMapper<FcNftCategory> { }
20.6
72
0.76699
93e4e0eb9403779fc1ddd68ec8c695cefc3a07ce
9,876
package com.spgrvl.packagetracker; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.view.Menu; import android.view.MenuItem; import android...
35.65343
135
0.632139
0aae5fcee78a18fefd4b70c23bd9482045343ed0
1,338
/* * 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 antsstyle.pollimagemaker.tools; import com.google.common.hash.HashCode; import com.google.common.hash.Hashing; import...
27.306122
86
0.602392
938a128dae568734cd3d99ae3542b9ba443cb1c8
26,281
package com.logicaldoc.cmis; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.chemistry.opencmis.commons.PropertyIds; import org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition; import org.apache.chemistr...
39.940729
115
0.776873
19e481d2f68fdd2149c71f2dbbe0120cf5ecedf3
5,006
package com.twitter.meil_mitu.twitter4holo; import com.twitter.meil_mitu.twitter4holo.api.account.AccountAPI; import com.twitter.meil_mitu.twitter4holo.api.application.ApplicationAPI; import com.twitter.meil_mitu.twitter4holo.api.blocks.BlocksAPI; import com.twitter.meil_mitu.twitter4holo.api.directmessages.DirectMess...
29.621302
79
0.704555
bf13cd874faafb789ee89805c84b555176ff00d5
1,483
package com.msb.bigdata.hadoop.topn; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import java.io.IOException; import java.util.Iterator; public class TReducer extends Reducer <TKey, IntWritable, Text,IntWritable>{ Text rkey = new Text();...
27.462963
125
0.54147
45158c7cbe23a9672475f7d0e3dfa4e225944a45
2,622
/* * Copyright (C) 2018 the original author or authors. * * This file is part of jBB Application Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 */ package org.jbb.members.rest.profile; ...
41.619048
94
0.805873
e089ab1d42a03a0b9eb64a6d87e37b9d083488fa
1,779
package seedu.mark.logic.parser; import static seedu.mark.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.mark.logic.parser.CommandParserTestUtil.assertParseFailure; import static seedu.mark.logic.parser.CommandParserTestUtil.assertParseSuccess; import org.junit.jupiter.api.Test; import see...
35.58
94
0.745925
49158571db84f557275101a6cb1cac94a46b98bb
4,407
package seedu.address.storage; import static seedu.address.storage.JsonAdaptedTask.TASK_MISSING_FIELD_MESSAGE_FORMAT; import static seedu.address.testutil.Assert.assertThrows; import static seedu.address.testutil.TypicalTasks.TASK1; import org.junit.jupiter.api.Test; import seedu.address.commons.exceptions.IllegalVa...
48.966667
118
0.764919
d8caeb961309f8ef79c7326d3b405b332ca3448d
2,047
<%# Copyright 2013-2017 the original author or authors. This file is part of the JHipster project, see https://jhipster.github.io/ for more information. 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 L...
30.102941
107
0.687836
120835bfc62e44a5733685bb403882fe4b83e406
1,315
package upnp.typedef.device; import android.os.Parcel; import android.os.Parcelable; public class PropertyChanged implements Parcelable { private String name; private String value; public PropertyChanged(String name, String value) { this.name = name; this.value = value; } public...
21.557377
91
0.61597
86c6a37025012bdbd1bcc4246e3cbb83d0bcdedb
7,673
/** * Copyright 2010 Wallace Wadge * * 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 i...
27.700361
162
0.646553
100e908021d4874a921edce6ae141346133d76d6
1,745
package org.packt.ws.jaxws.async.jaxws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.ws.AsyncHandler; ...
28.606557
92
0.658453
85097131478734c38929890fc43d6ef956e94a04
2,044
/* * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
31.446154
90
0.697162
f56be7db4039ee9b52a8a20f52d3cdb3917cb885
4,138
/* * Copyright 2015 Kakao Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
32.84127
113
0.658531
e051e2a3ee6c1d5ac40783c90fc844aa9b04c2cf
3,479
package org.orman.dbms.sqlite.generic; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.StringTokenizer; import org.orman.dbms.DatabaseSchemaInspector; import org.orman.dbms.QueryExecutionContainer; import org.orman.dbms.ResultList; import org.orman.sql....
31.342342
80
0.69589
b0ab58a2401d9866fb5ed80aa20b7b5edba03c6c
1,599
package com.alicloud.openservices.tablestore.model; import com.alicloud.openservices.tablestore.core.utils.OptionalValue; import com.alicloud.openservices.tablestore.core.utils.Preconditions; public class GetStreamRecordRequest implements Request { /** * 通过ShardIterator获取该Shard下的记录 */ private Strin...
23.865672
86
0.628518
aaa09f6404c7035491a2fc340892e89ad9259b50
3,529
/** * Copyright (c) 2016-2018 Zerocracy * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to read * the Software only. Permissions is hereby NOT GRANTED to use, copy, modify, * merge, publish, distribute, sublic...
29.90678
80
0.649192
a0b1a02be9253cd47a0cec68ef78f13d7209433e
1,140
package org.kin.conf.client.domain; import java.lang.reflect.Field; /** * @author huangjianqin * @date 2019/7/19 */ public class BeanConfWrapper { private String beanName; private Field confField; public BeanConfWrapper(String beanName, Field confField) { this.beanName = beanName; this...
20.357143
62
0.576316
6b4d883c32a718f950f77773856a588d9cbfcd0d
6,006
/** * 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...
34.125
89
0.733933
6167e3c1495d2e29f17f1aea4b0d359177478485
406
package com.example.memoize; import arez.annotations.ArezComponent; import arez.annotations.Memoize; import javax.annotation.Nonnull; import javax.annotation.Nullable; @ArezComponent abstract class AnnotatedModel { @Memoize @Nonnull public String getTime() { return ""; } @Memoize @Nullable public...
16.24
66
0.738916
73922d15715e81baf1ff6db088915851beed8cc9
982
/* 这里面放置你需要定制的行为,可以增加方法,也可以重写原来的方法,主要是增加新的约束和关联。 注意,在同名方法里面一定要使用super来调用,不然将会出现缓冲出溢出的问题Stack Overflow。 这个类讲在第一次生成,此后这些文件不会被覆盖,如果名字发生了变更,则需要手动删除,修改本类来适应新的模型变更, 这个类已经被配置到了相应的Spring配置文件 WEB-INF/flowable_custom_src/META-INF/flowable_custom.xml 中, 所以直接在里面重写或者增加新的方法将会修改客户的行为 */ package com.doublechain.flowable.role; imp...
29.757576
131
0.831976
76ba688610bbc0e96e89e85ad7365159de8b479f
2,622
package cn.xpbootcamp.gilded_rose; import cn.xpbootcamp.gilded_rose.item.Item; import cn.xpbootcamp.gilded_rose.item.ItemFactory; import org.junit.jupiter.api.Test; import java.util.Arrays; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; public ...
53.510204
394
0.664378
7945afe068f6b107578757247b36ec7cc2b7143f
6,887
import java.util.Scanner; import static java.lang.Math.sqrt; import static java.lang.Math.floor; import static java.lang.Math.pow; import static java.lang.Math.random; /** * Main class of the EssecJ framework. private int. * @author Maximilian Berkmann */ public class Essec { /** * Number of maximum digit...
23.42517
81
0.526354
1aee033ffd2b5534711eb159e8967fc0b0fec1bd
3,735
package com.bakdata.conquery.io.jackson.serializer; import static org.assertj.core.api.Assertions.assertThat; import java.io.IOException; import javax.validation.Validator; import org.assertj.core.api.ObjectAssert; import com.bakdata.conquery.io.jackson.Jackson; import com.bakdata.conquery.models.exceptions.JSONEx...
47.278481
199
0.803748
67c774f7c9d71d1b1cc73b5f58ee677b446f18e1
904
package seedu.zerotoone.logic.parser.session; import static seedu.zerotoone.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.zerotoone.testutil.CommandParserTestUtil.assertParseFailure; import static seedu.zerotoone.testutil.CommandParserTestUtil.assertParseSuccess; import static seedu.zerotoo...
34.769231
106
0.797566
574788ddc178098c599ebdb83d0064124986a2be
580
package org.bandahealth.idempiere.graphql.resolver.model; import graphql.kickstart.tools.GraphQLResolver; import org.bandahealth.idempiere.base.model.MDashboardButtonGroupButton; /** * The Dashboard Button Group Button resolver containing specific methods to fetch non-standard iDempiere properties * for the consume...
34.117647
116
0.837931
f9319188771cdf53f35397b5d50ad1ef9e4990b0
3,883
package parqueaderoclienteescritorio.ws; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface * ...
33.474138
145
0.686067
2a7df21e0733383dfcf0823bace40e54cabdb875
2,360
/** * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
35.757576
83
0.742373
71e9bd42568fc1602f8a333c01cda91965d1a2ce
2,980
package com.orbitz.consul; import org.junit.BeforeClass; import org.junit.Test; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.UnknownHostException; import java.util.Arrays; import java.util.Collections; import java.util.Enumeration; import java.util.Ha...
34.651163
149
0.686577
429a23506d4b139958f45c106c837bda6ace8990
1,153
package pwr.newEducation.domain.searchRepresentation; import io.quarkus.hibernate.orm.panache.PanacheQuery; import io.quarkus.hibernate.orm.panache.PanacheRepository; import io.quarkus.panache.common.Page; import pwr.newEducation.domain.studyProgram.StudyProgramJPA; import pwr.newEducation.domain.subjectCard.SubjectCa...
38.433333
102
0.799653
558939810204ddb6249e60b145363f710018acce
559
/* * 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.assignment2.sessionBeans; import javax.ejb.Local; /** * * @author Hau */ @Local public interface OrderDetailSessionBe...
22.36
87
0.745975
d1854e5c15bd51088494f52ee28ac3eb13cc199d
543
package com.zebra.common.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.zebra.common.constant.Constants; @Target(ElementType.METHOD) @Retent...
20.884615
57
0.780847
45ce07c0fe190f6b31392a7433ef29ec3189d27d
188
package com.nahuel.web.core.provider; import io.vertx.core.AbstractVerticle; public interface ProviderFactory { ServerProvider create(AbstractVerticle server); ServerProvider get(); }
20.888889
48
0.81383
f79d8f60ac1f3143619f9da4b6d01a39ba26e083
5,256
/* * Copyright 2011 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 t...
42.387097
148
0.715944
36f2b40539464ca047f1b5a95ed594f0febc4f5d
2,390
package org.enso.interpreter.runtime.error; import com.oracle.truffle.api.interop.TruffleObject; import com.oracle.truffle.api.library.ExportLibrary; import com.oracle.truffle.api.library.ExportMessage; import com.oracle.truffle.api.nodes.Node; import org.enso.interpreter.runtime.data.ArrayRope; import org.enso.interp...
29.146341
84
0.728452
6e080b8d7c8469a4a098ddf4aedbede84fde09d7
75
/** * Personalized exceptions. */ package com.nmuzychuk.blog.exceptions;
15
38
0.733333
55bc40f310e634c786660ffa28119d68d5346233
1,679
package jigsaw.controllers; import javafx.scene.control.Button; import javafx.stage.Stage; import jigsaw.stage_builder.StageBuilder; import net.rgielen.fxweaver.core.FxmlView; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ConfigurableApplicationContext; import org.sp...
26.234375
100
0.686123
5c4d7900a6ef48d302d3d4e1b76e8358c52f107b
7,266
/** */ package Application.impl; import Application.ApplicationPackage; import Application.ResponseItem; import Application.Tab; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl;...
25.405594
145
0.671346
4308314ed147bcc0d769bcd0eef988d1abb91076
1,704
package org.mmo.gate.tcp.game; import org.mmo.common.config.server.GateConfig; import org.mmo.engine.io.netty.config.NettyServerConfig; import org.mmo.engine.io.netty.tcp.TcpServer; import org.mmo.engine.io.service.TcpService; import org.mmo.common.struct.server.GameServerInfo; import org.slf4j.Logger; import org.slf...
27.047619
85
0.72946