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
9fbf1f8c4428a528e66324e461c073e0c6e2f30a
656,201
/* * Copyright (C) 2020 Alberto Irurueta Carro (alberto@irurueta.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 * * Unles...
45.824092
115
0.631462
17f9bea689d458423e6e5bc3e2c0443843f20dae
3,575
/* Derby - Class com.pivotal.gemfirexd.internal.iapi.services.info.ProductGenusNames 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 licen...
38.031915
91
0.755245
499d05c4bd44179e73d60cf541b9e9369c57239b
9,084
package net.RPower.RPowermod.entity; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.init.Blocks; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import cpw.mods.fml.relauncher....
39.668122
194
0.625275
e9440bfd54f09ff29f4d68e353b3c04a4d2eb222
1,168
package com.linsama.rushb; public class Q5 { public int longestPalindrome(String s) { StringBuilder sb = new StringBuilder("#"); for (char c : s.toCharArray()) { sb.append(c).append("#"); } String str = sb.toString(); int[] maxs = new int[str.length()]; ...
25.955556
74
0.380993
02233ddd52e18b189543faa37b72db60bdd6dd31
6,243
package dragosholban.com.androidpuzzlegame; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.content.res.AssetManager; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Paint; ...
41.344371
154
0.656095
23cd3a51f38582df570cfbf09516e01af5d85454
365
Estructura Node con su comparador. Usada en algoritmos como Dijkstra. static class Node implements Comparable<Node> { public int adjacent; public int cost; public Node(int ady, int c) { this.adjacent = ady; this.cost = c; } @Override public int compareTo(Node o) { if (this.cost >= o.cost...
21.470588
69
0.643836
faa50a89b61bf0c699b1905ce4e4735dbed0696c
14,996
/** * Date:2015年6月26日上午10:31:01 * Copyright (c) 2015, daishulin@163.com All Rights Reserved. * */ package org.androidpn.client.util; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; ...
25.416949
75
0.680915
11ee625f9829a13e7e6e218b17f1f4b8d6c0cf6f
1,572
package org.rest.sec.persistence.service.impl; import org.apache.commons.lang3.tuple.Triple; import org.rest.common.persistence.service.AbstractService; import org.rest.common.search.ClientOperation; import org.rest.sec.model.Privilege; import org.rest.sec.persistence.dao.IPrivilegeJpaDAO; import org.rest.sec.p...
29.111111
114
0.740458
2a6835b1ad7ecefac5163ff42c6cad1ec0276fa2
2,780
package com.example.profbola.bakingtime.ui; import android.content.Context; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflat...
30.217391
123
0.730576
3e1bd47ba91209c41ada12401059de02a8217c21
3,671
package com.duast.game.listeners; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.InputListener; import com.duast.game.screens.GameScreen; import com.duast.game.stages.GameStage; import com.duast.game.ui.WinDialog; import com.duast.game.utils.C; import com.duast.game.utils.Coo...
34.308411
108
0.566058
e10b66771822d98730ea8603ee0b53af7de84441
248
package com.lyh.aop.advice; import java.lang.reflect.Method; /** * Created by lvyanghui * 2019/1/16 21:31 */ public interface MethodInterceptor extends Advice{ Object invoke(Method method, Object[] args, Object target) throws Exception; }
20.666667
80
0.741935
52871845ad6f704e719e448d610e2f5ec481fedd
22,885
/* * 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 ...
42.695896
104
0.66808
f9a918fe44d10dba8a26b7b7a0c174f3a8cbd8ff
354
package com.study.demo.dao; import com.study.demo.entity.User; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.stereotype.Repository; /** * @author Tiger * @date 2020-10-01 * @see com.study.demo.dao **/ @Repository public interface UserRepository extends PagingAnd...
22.125
79
0.788136
4a1b15a8a7099d274e5df7d14b0fd92b3a9979d3
8,349
/* * Copyright 2013 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...
31.152985
133
0.679962
6811466681dc54ac2b3f2cd1f839d469e190768b
5,257
package com.desertkun.brainout.menu.impl; import com.badlogic.gdx.scenes.scene2d.InputEvent; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Table; import com.badlogic.gdx.scenes.scene2d.ui.TextButton; import com.badlogic.gdx.scenes.scene2d.utils.ClickListener; import com.bad...
31.479042
108
0.591402
6c344d9087cc77db90da9cbfb3011a1faea126ad
1,870
package net.minecraft.util.text; public class TextComponentString extends TextComponentBase { private final String text; public TextComponentString(String msg) { this.text = msg; } /** * Gets the text value of this ChatComponentText. TODO: what are getUnformattedText and getUnformattedT...
34
126
0.658824
af9107f5ce229ee5dd45f819ca6a71f8464c25d6
1,998
package com.etheller.interpreter.ast.function; import java.util.List; import com.etheller.interpreter.ast.scope.GlobalScope; import com.etheller.interpreter.ast.scope.LocalScope; import com.etheller.interpreter.ast.scope.TriggerExecutionScope; import com.etheller.interpreter.ast.value.JassType; import com.etheller.in...
38.423077
103
0.769269
1f4254e4c4a24d0951abdc170e2cb9812c30b13c
65,765
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.324592
100
0.713495
b0e66de59ebded747058ca1bd763075b86ccb3d7
740
package net.avicus.compendium.number; import lombok.ToString; @ToString public class PreparedNumberAction { private final Number value; private final NumberAction action; public PreparedNumberAction(Number value, NumberAction action) { this.value = value; this.action = action; } public double per...
23.125
66
0.728378
6ff4d1e58405ab18fa192e8a50a998cc422c72bd
858
package jp.co.cybird.app.android.lib.commons.file.json; import java.lang.reflect.Type; import java.util.List; import java.util.Map; import jp.co.cybird.app.android.lib.commons.file.json.JSON; /* compiled from: Converter */ final class CharSequenceConverter implements Converter { public static final CharSequenceCo...
30.642857
106
0.638695
ee7470d3a87ac839a71a2d5a1465bfcba02de15c
124
package br.com.amantikir.cardgame.domain; public interface Effect { String getName(); String getDescription(); }
13.777778
41
0.717742
4f6863d6031fee7d30b581e308855bf76b30d2b7
1,254
package jsortie.quicksort.samplesort; public class IntegerBucket { IntegerBucketNode first = null; IntegerBucketNode last = null; public String toString() { return this.getClass().getSimpleName(); } public IntegerBucket(int size) { if (size<8) { size=8; } first = last = new IntegerBuck...
26.680851
57
0.604466
2fe56e9d85486a260cdffbe69fd9db8c72752c40
22,434
/* Copyright (C) 2005-2011 Fabio Riccardi */ package com.lightcrafts.ui.toolkit; import javax.swing.plaf.basic.BasicSliderUI; import javax.swing.plaf.ComponentUI; import javax.swing.*; import javax.swing.event.ChangeListener; import javax.swing.event.ChangeEvent; import java.awt.*; import java.awt.event.MouseEvent; i...
37.704202
99
0.50575
0ca364a490cdbbdf3893ee654e1d336c30c1f602
3,818
package org.apache.lucene.facet.enhancements; import java.io.IOException; import java.util.List; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.facet.enhancements.params.EnhancementsIndexingParams; import org.apache.lucene.facet.index.CategoryDocumentBuilder; import org.apache.lucene.facet.i...
40.617021
104
0.77318
f3c2ffe19edbd1f0665bc58c493c6a643c8ba009
1,680
/* * Copyright 2010-2012 Research In Motion Limited. * * 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 ag...
31.698113
74
0.792857
1b19b28f56aaea88a0ad2a7ce95cc7239369b434
4,911
package com.app.library.controller.boss; import com.app.library.model.Address; import com.app.library.model.User; import com.app.library.service.PersistenceService; import com.app.library.service.UserService; import com.app.library.utils.AlertMessage; import com.app.library.utils.PersistenceKeys; import com.app.librar...
30.886792
132
0.682346
5c4d7c62ef8167282f9e5c53d9e3c853559a0f16
267
package juice.lock; /** * DLM * @author Ricky Fung */ public interface DistributedLockManager { DistributedLock getLock(String name); DistributedReadWriteLock getReadWriteLock(String name); DistributedLock getMultiLock(DistributedLock... locks); }
17.8
59
0.749064
6a85ad3cf9a9f8fc794b2703d76a7c6b6e2ba32f
4,949
package com.nixend.manny.provider.dubbo; import com.nixend.manny.common.constant.Constants; import com.nixend.manny.common.enums.RpcType; import com.nixend.manny.common.model.MethodData; import com.nixend.manny.common.model.MethodParam; import com.nixend.manny.common.model.RouteData; import com.nixend.manny.common.mod...
44.1875
160
0.649424
f0a9f14d311b63490777b568459ac80242e06066
208
package com.asysbang.pmvn.test.action.module; public class ModuleConfig { static final String REMOTE_MODULES = "https://raw.githubusercontent.com/asysbang/P-Maven-Modules/master/deploy/modules.json"; }
29.714286
129
0.788462
d337c6a3e101c5280e99bb978e6fd5dd51f5976c
368
package com.moqbus.app.logic.stats.param; import com.moqbus.app.logic.BaseZLogicParam; public class GetAvgFlowOfLastHourLogicParam extends BaseZLogicParam { public GetAvgFlowOfLastHourLogicParam() { } private String deviceSn; public String getDeviceSn() { return deviceSn; } public void setDeviceSn(Stri...
17.52381
69
0.771739
f907756690b7588e9ee4a28feba833a5c72f8911
104
package com.kraken.bedrock.dataformat; public class UnsupportedFormatException extends Exception{ };
26
59
0.826923
e79dca67d56c5d531202b7ccc0401e8888f42ee8
1,190
package won.matcher.utils.tensor; import java.io.IOException; import java.util.Collection; import java.util.LinkedList; import won.matcher.utils.preprocessing.OpenNlpTokenExtraction; /** * Used for tokenization of {@link TensorEntry} objects. Created by hfriedrich * on 21.04.2017. */ public class TensorEntryToken...
34
104
0.706723
a45c99d7312a1e8f2039c8f8c93bcf7e2bb5e903
5,044
package cz.destil.moodsync.light; import java.io.IOException; import com.lifx.LifxCommander.ControlMethods; import com.lifx.LifxCommander.ReceiveMessages; import com.lifx.Messages.DataTypes.Command; import com.lifx.Messages.DataTypes.HSBK; import com.lifx.Messages.Device.GetService; import com.lifx.Messages.Light.Set...
32.541935
99
0.621729
8408e27fb98aed2ae203910f5b360d617a193f15
3,584
package com.seanwalker.cherokeekeyboard; import android.inputmethodservice.InputMethodService; import android.inputmethodservice.Keyboard; import android.inputmethodservice.KeyboardView; import android.media.AudioManager; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.InputConn...
27.782946
92
0.603516
6286e2648e6dd4ec9a121c73fb2902fd7671c27c
4,921
package com.lu.kuaichuan.wifidirect.provider; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBui...
37.280303
99
0.611461
ff06a96b13f3d0592353cf0091ab3096e0e4f54f
1,172
package com.example.productcatalogservice.controllers.listener; import com.example.productcatalogservice.models.CatalogStateChangeEvent; import com.example.productcatalogservice.services.listener.CatalogStateChangeEventService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.h...
50.956522
124
0.857509
e5a48d9982c1d58e349c2f9cdbd4806b5024f062
710
package com.johnfnash.learn.drools.basic; import java.util.HashMap; import java.util.Map; import org.kie.api.KieServices; import org.kie.api.runtime.KieContainer; import org.kie.api.runtime.KieSession; public class MapTest { public static void main(String[] args) { KieServices ks = KieServices.Factory.get(); ...
26.296296
72
0.660563
b2ab381234db851bc6c91836fc99fbd6596e58fa
2,260
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.office; import com.wilutions.com.*; /** * XlAxisCrosses. * */ @SuppressWarnings("all") @CoInterface(guid="{89FF0BFE-5E70-4183-88C8-5EF4B213451F}") public class XlAxisCrosses implements ComEnum { static boolean __typelib__loaded = ...
37.04918
94
0.695133
d780c563b49799f00239b54364b6b8703d4d969d
339
package st.stqa.pft.sandbox; import org.testng.Assert; import org.testng.annotations.Test; import static st.stqa.pft.sandbox.MyFirstProgram.distance; public class PointTest3 { @Test public void testDistance3() { Point p1 = new Point(7.0,8.0); Point p2 = new Point(5.0,6.0); Assert.assertEquals(p1.dist...
21.1875
58
0.710914
e823108ef2e812fa0fd24b5b23fe55a1852e99f6
849
/* * Sample test cases are * 5 6 * 3 * * 1 10 * 15 */ import java.io.*; import java.util.*; public class maximizing_xor { public static int obtainXor(int a, int b){ return a ^ b; } public static void main(String[] args) { Scanner in = new Scanner(System.in); ...
21.769231
69
0.419317
7462eb1f25b3d1197f01693f9c07189526dca35b
3,706
/* * Copyright 2019 Arcus Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
27.864662
119
0.616838
6bafc32d9317142bbf4023bdd6126ecc3148d637
1,549
package com.drone.ui; import org.springframework.beans.factory.annotation.Autowired; import org.vaadin.spring.annotation.VaadinComponent; import org.vaadin.spring.annotation.VaadinUIScope; import com.drone.DroneTemplate; import com.vaadin.ui.Alignment; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import c...
24.983871
71
0.671401
0c1ef7ce40d3b5bdee803f31435c9092fb6dc52a
18,461
package jburg; import jburg.semantics.HostRoutine; import java.util.*; /** * A State represents a vertex in the transition table. * Vertices represent an equivalence class of input nodes, * each of which has the same opcode/arity; an input node * must match one of the pattern-matching productions in * the state....
33.626594
136
0.611072
02321d0bcb0185207f1204423f95a50de0a5c7db
3,636
package magicbees.item; import com.google.common.base.Preconditions; import elec332.core.api.client.model.IElecModelBakery; import elec332.core.api.client.model.IElecQuadBakery; import elec332.core.api.client.model.IElecTemplateBakery; import elec332.core.item.AbstractTexturedItem; import elec332.core.util.ItemStackHe...
34.961538
157
0.694994
dbd20b5c6828dd67ebd62efcb5a1b7fca720e06a
3,201
package nl.rutgerkok.blocklocker.impl; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.Optional; import java.util.Set; import org.bukkit.Material; import nl.rutgerkok.blocklocker.AttackType; import nl.rutgerkok.blocklocker.ChestSettings; import nl.ru...
27.834783
85
0.667916
fca417b03a10f53a6e4057a2e7d96df2b6410daa
13,400
/*- * Copyright (C) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle Berkeley * DB Java Edition made available at: * * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html * * Please ...
41.486068
99
0.564552
a4e84365d63044e7a442859801ef557ae95382f9
3,211
package com.zf.land.eventbus; import android.content.Context; import android.util.Log; import com.zf.land.BuildConfig; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; /** * @author: wang.xiaotong * @github: https://github.com/zhufengi * ...
22.612676
61
0.577079
aadd94d80e91cecb28e7e754b499d66129a134ef
8,929
/** * * Copyright 2004 The Apache Software 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 a...
33.95057
102
0.637585
1973fffcc2171e361122201d4da62e444f733472
1,255
package ae.web; import javax.servlet.http.HttpServletRequest; import java.util.Enumeration; public class RequestAttribute<T> extends RequestValueReader<T> { public static final class NotDefined extends RuntimeException { private static final long serialVersionUID = 7433715562801447600L; public final Htt...
25.612245
84
0.735458
e6031d2b91108a5ff3aaaaaf9ea0f920abda23f7
1,380
/* * Copyright © 2020 LambdAurora <aurora42lambda@gmail.com> * * This file is part of LambdaControls. * * Licensed under the MIT license. For more information, * see the LICENSE file. */ package me.lambdaurora.lambdacontrols.client.mixin; import me.lambdaurora.lambdacontrols.LambdaControls; import me.lambdauro...
41.818182
170
0.800725
11fd74fe56be0044cbd30a71979235720d797fd4
4,481
package cn.xpbootcamp.gilded_rose; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class GildedRoseTest { @Test void normalProductQualityOneDayLater() { Item[] items = new Item[] { new Item("toto", 2, 10) }; GildedRose app = new GildedRose(items); int ...
25.752874
69
0.610578
4b47ef3a2b448c6ab2f598aab987bf2f2764b154
2,965
package cfvbaibai.cardfantasy.game.launcher; import cfvbaibai.cardfantasy.OneDimensionDataStat.ChartDataItem; public class TrivialBossGameResult { private String validationResult; private int gameCount; private int coolDown; private int totalCost; private int timeoutCount; private double minDa...
29.949495
66
0.666442
73c66de586dcbfa57fdcba4578f3660854b2aefb
739
import java.util.Arrays; public class Exercise8{ public static void main(String[] args){ String a = "well done"; String b = "dole lewn"; System.out.print(isAnagram(a,b)); } public static boolean isAnagram(String a, String b){ //compare the string lengths int n1 = a.length(); ...
23.09375
77
0.480379
b4ec3df1bce501526bfc12983f00e896df856642
1,195
package org.stjs.generator.writer.bridge; import org.junit.Test; import org.stjs.generator.utils.AbstractStjsTest; import org.stjs.generator.JavascriptFileGenerationException; import org.stjs.generator.writer.bridge.pack.Bridge4; public class BridgeGeneratorTest extends AbstractStjsTest { @Test public void...
27.159091
84
0.743933
612b2a7b7bdd479222a098f483bfe3a3d63bfb50
2,828
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
30.408602
99
0.747525
897115fe1d04935664e3047cbad0fba1ea4c3544
10,512
package com.example.roome.general_activities; import android.app.ActivityOptions; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.transition.Slide; import android.view.Gravity; import android.view.View; import android.view.animation.DecelerateInterpolator; import androi...
40.902724
171
0.703577
2bcd55eb9abe496243723f8b2df0d740a476a50a
786
package us.kbase.groups.core.notifications; import java.util.Map; import us.kbase.groups.core.exceptions.IllegalParameterException; import us.kbase.groups.core.exceptions.MissingParameterException; /** A factory for a {@link Notifications}. * @author gaprice@lbl.gov * */ public interface NotificationsFactory { ...
31.44
93
0.78626
2f445420befc0a7d3e25d65cf8521cf4929365db
384
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package org.cirdles.ambapo.userInterface; /** * * @author evc1996 */ public class AmbapoLauncher { public static...
22.588235
101
0.71875
a3fd625e56c976f3fd83d5998547fba3e3880374
626
package com.xjeffrose.xio.server; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.timeout.IdleStateEvent; import io.netty.handler.timeout.IdleStateHandler; public class IdleDisconnectHandler extends IdleStateHandler { public IdleDisconnectHandler( int readerIdleTimeSeconds, int writerId...
32.947368
94
0.798722
eb5d87de0e401a8ea5ac4f607acea1983e0185fa
380
package com.ixiudou; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * DubboProviderApplication * * @author Chill */ @SpringBootApplication public class ActiveMqProducerApplication { public static void main(String[] args) { SpringAppl...
20
68
0.8
f714d13021429e17db214e3b84a299fbb321d776
1,528
package com.amazon.speech.speechlet.dialog.directives; import com.amazon.speech.speechlet.Directive; /** * Abstract superclass for Dialog.* directives. Each Dialog directive supports an optional * updatedIntent field. A skill may use this field to update slot values or confirmation statuses * of the intent, for ex...
38.2
97
0.730366
893f558c95fb1486959e69443397e1cf92afd2fe
671
package husacct.analyse.domain.famix; class FamixInvocation extends FamixAssociation { public String nameOfInstance; public String belongsToMethod; public String invocationName; public String toString() { String string = ""; string += "\n\ntype: " + super.type + "\n"; string += "...
33.55
63
0.588674
83e4ea93cb0530b7d12bba49e2299fd6e1c76194
4,290
package ApolloRescue.module.complex.firebrigade; import java.util.*; import ApolloRescue.module.algorithm.clustering.ApolloFireZone; import ApolloRescue.module.algorithm.clustering.Cluster; import ApolloRescue.module.universal.ConstantComparators; import ApolloRescue.module.universal.entities.BuildingModel; import Ap...
37.631579
185
0.675058
b4b505c034ba477d004abee2578033a102e2b6a5
9,543
package org.apache.maven.shared.dependency.analyzer; /* * 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 th...
33.840426
118
0.62276
7eab4e73e7312b93895e54ba27a7699ea11b9432
2,289
/* * Copyright (C) 2018 José Paumard * * 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 ...
23.357143
75
0.613805
421ddcb42c4fa040465174bc77b7e18febe4ca98
510
package android.support.v4.p004h; import android.view.View; import android.view.View.OnApplyWindowInsetsListener; import android.view.WindowInsets; /* renamed from: android.support.v4.h.cr */ final class cr implements OnApplyWindowInsetsListener { final /* synthetic */ bm f450a; cr(bm bmVar) { this.f...
26.842105
83
0.719608
383f875577c6b6076f3c604b966c73922ee3a292
30,670
/* * 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 visao; import java.sql.SQLException; import java.util.ArrayList; import javax.swing.JOptionPane; import javax.swing.ListSelect...
46.399395
347
0.665504
f89b5d5f306952c20814b3f7f6882d96560e38a1
1,507
/* * Copyright (c) 2019- 2019 threefish(https://gitee.com/threefish https://github.com/threefish) All Rights Reserved. * 本项目完全开源,商用完全免费。但请勿侵犯作者合法权益,如申请软著等。 * 最后修改时间:2019/10/07 18:26:07 * 源 码 地 址:https://gitee.com/threefish/NutzFw */ package com.nutzfw.core.plugin.flowable.factory; import com.nutzfw.core.plugin.f...
35.046512
122
0.755806
00ad609c4df22d9b2cdf2093308578ee67966c48
7,677
package com.bluemarlin.ims.imsservice.model; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.*; public class TestDayImpression { @Test public void getDate() { Double[] dayCnt = new Double[4]; dayCnt[0] = 0.0; dayCnt[1] = 1.1; ...
33.378261
84
0.542269
22da9626ae841c0666921905c598f69a3e6a4996
3,407
/* * Copyright (c) 2017 AcadiaSoft, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
50.102941
602
0.736719
99e22744ded213fb1984062b650972a0d19efacc
4,456
/* * Copyright 2021-present MongoDB 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 a...
30.312925
107
0.672576
6d8b5d21df7a51e7c0344ed4893d6a9a6483112a
6,596
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.blimp.toolbar; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; impo...
33.653061
99
0.650849
7bcc59172e7fc7032dd46b072ca300dfc3944b0c
490
package com.morethanheroic.swords.market.domain; import com.morethanheroic.entity.domain.Entity; import com.morethanheroic.swords.item.domain.ItemDefinition; import com.morethanheroic.swords.user.domain.UserEntity; import lombok.Builder; import lombok.Getter; @Getter @Builder public class MarketEntity implements Ent...
24.5
60
0.795918
07993538cd52e752172e43a0d2cc26d12b14340e
5,516
package net.herit.business.information; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession;...
33.228916
94
0.724438
ac72c86831ab714fbae58abdb01f9ca4b19ba26f
543
package com.redhat.idaas.datasynthesis.apis; import java.util.List; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.redhat.idaas.datasynthesis.models.RefDataStatusEntity; @Path("/refdatastatus") @Produces(MediaT...
22.625
65
0.762431
efb34f3566b606f8922582dd234a32f27b6fa89c
9,646
package android.support.p001v7.preference; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.os.Handler; import android.support.p000v4.content.C0510b; import android.support.p000v4.view.C0646w; import android.support.p001v7.preference.PreferenceGroup.C0815b; import androi...
33.262069
135
0.584802
7d34b1be450c8e6648b9c77cbcaf40bbfb08c9a8
1,136
package com.imps.tabletennis.tranning; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; public class VirtualButton { float x; float y; int width; int height; Bitmap downBmp; Bitmap upBmp; boolean isDown=false; private int extendSize=20; public VirtualButton(Bitma...
21.846154
138
0.715669
99288d4209d47873b3923ac0d6bce4b6cbf19a38
2,494
/* * Copyright (C) 2010-2015 AludraTest.org and the contributors. * * 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...
36.144928
127
0.731355
cd8f0e73959136ff195363ca01ff70c31b91f224
4,032
/* * Copyright (c) 2010-2017 Evolveum * * 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...
34.169492
127
0.71503
0c7ed8bf1627fcdfc37fbc2de54a3cad0aabd59e
16,320
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License i...
67.717842
196
0.599449
b5467750c8150866fa75774d4cffcd8c0d8f8a56
1,467
// Auto-generated code. Do not edit. package org.tokend.sdk.api.generated.resources; import java.math.*; import java.util.*; import com.fasterxml.jackson.annotation.*; import com.github.jasminb.jsonapi.annotations.*; import org.tokend.sdk.api.generated.resources.*; import org.tokend.sdk.api.generated.inner.*; import ...
26.196429
94
0.68848
524734353d1844ca9215c5557cad4ca11f0d089a
920
package com.example.demo.config; /* * @Configuration public class EhCacheConfiguration { * * @Bean public EhCacheManagerFactoryBean cacheManager() { return new * EhCacheManagerFactoryBean(); } * * @Bean public EhCacheCacheManager testEhCacheManager() { CacheConfiguration * cacheConfig = new CacheConfiguration...
43.809524
80
0.746739
f698a9d6c57fb8656da4b37cb06c9a9910e8dfb3
2,819
package info.bitrich.xchangestream.coinmate; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectReader; import info.bitrich.xchangestream.coinmate.dto.CoinmateWebSocketTrade; import info.bitrich.xchangestream.core.StreamingMarketDataService; import info.bitrich.xchangestr...
40.271429
93
0.766584
68d9a392d1b84368f3da9f87eecd014713d4e510
1,622
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
29.490909
85
0.706535
d322c8824fb8f817a56311e9411d97c35b974c2c
4,100
package com.weather.sy.syweather.Fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.V...
40.196078
115
0.665854
9051f36889769e44aea40564c50b56328dc49122
4,451
/*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All rights reserved. * Modifications Copyright (C) 2020 Nordix Foundation. * ================================================================================ * Licensed under the Apache Lice...
39.741071
117
0.695574
f9e4fc54224246cdd9d97fa2005958e930a6e4b9
516
package io.github.tehstoneman.betterstorage.common.item.cardboard; import net.minecraft.client.renderer.color.IItemColor; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; public class CardboardColor implements IItemColor { @Override public int colorMultiplier( ItemStack stack, int tintI...
24.571429
66
0.755814
927734818913d3642bd804b4043c84de8b1dfcd5
998
package com.vmoving.dto; import java.io.Serializable; public class SendMessageToFriendsDto implements Serializable { /** * */ private static final long serialVersionUID = 1L; private int user_id; private int user2_id; private int relationship; private int valid_status; private int acttype; ...
21.695652
63
0.703407
9fab479b2726197663d27511d89c0c190d2e6536
27,553
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). package org.rocksdb; import static java.nio.charset.Stand...
45.168852
100
0.686858
65b2f3fe2ff695fc4b914197985e0dc30fe6128e
285
package org.reploop.parser.thrift.generator; import org.junit.Test; /** * What's this about? * * @author George Cao(georgecao@outlook.com) * @since 2016-09-22 14 */ public class ThriftBinaryNameResolverTest { @Test public void visitProgram() throws Exception { } }
16.764706
49
0.698246
3e4167a2d055a3fc60ab835a72eec1661b641d2b
2,709
/* * Copyright (c) 2017 - 2020, GÉANT * * 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...
34.291139
119
0.720192
f2aa057b9bb71175d092dda982d9649b79170828
31,652
package com.idmp.model; import java.util.ArrayList; import java.util.Date; import java.util.List; public class TkStockBasicExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public TkStockBasicExample() { oredCriteria = new ArrayList...
31.652
102
0.571433
fc2c51a83adb8951a233b6d02399b3b07a6f136f
3,452
/* * 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 ...
21.440994
145
0.606025
1da3ef9eab762484cb329e0ce13e347dea01c7c6
2,094
package qualityAssurance.rules; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util....
30.347826
172
0.799904
cab7f7d367f7d487e646e1553b23e32769ad2272
527
/** * 项目名称:quickstart-xml * 文件名:Person.java * 版本信息: * 日期:2018年5月20日 * Copyright yangzl Corporation 2018 * 版权所有 * */ package com.quickstart.xml.xstream.example; import java.util.List; import lombok.Getter; import lombok.Setter; /** * Person * * @author:youngzil@163.com * @2018年5月20日 下午11:18:52 * @sin...
15.5
43
0.626186
2e82d8b03c365512bb03142f6fad468c7c3e206d
707
// Copyright (c) 2017, Worcade. Please see the AUTHORS file for details. // All rights reserved. Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package net.worcade.client.get; import net.worcade.client.modify.ChecklistModification; import net.worcade.client.modify...
26.185185
74
0.721358
9b9a21b77ac5a36022aa262446317c6390a54dd5
1,689
/** * */ package redmart.approach1; /** * @author debmalyajash * */ public class RedMartBranch { /** * Elevation of that area in mountain. */ private int elevation; /** * If you can go to north from the current point. * Otherwise it will be null. */ private RedMartBranch north; /** * If you...
15.216216
53
0.629366
aebb33953b356e5b138c354903cebe7b6f598303
8,887
package com.github.jinahya.bit.io; /*- * #%L * bit-io * %% * Copyright (C) 2014 - 2019 Jinahya, 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.o...
34.049808
120
0.50512
2f3eae4cd7f3ab19f7525ad0d215efe45d3f4e1a
700
package com.company.Helper; import java.util.Random; public class RandomHelper { private int maximum = Constants.MAXIMUM_SIZE; private int minimum = Constants.MINIMUM_SIZE; public int address() { return (int) ((Math.random() * (maximum - 2)) + 2); } public int size() { return (in...
20.588235
71
0.568571
fb0605360721278214073b345b8b21eee7df3b86
596
package com.nompor.gtk.animation; public class FadeAnimation extends AbstractFrameCounterAnimation{ private OpacityTarget target; private double addOpacity; private boolean isEnd; public FadeAnimation(OpacityTarget target, double addOpacity) { this.target = target; this.addOpacity = addOpacity; } @Override...
20.551724
65
0.686242