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
6cdd444f1c83e933dc9f8c9d97e735067fea1335
212
package com.honeybee.mapper; import java.util.List; import com.honeybee.domain.SubscribeVO; public interface SubscribeMapper { public List<SubscribeVO> getSubscribeList(String id); //내가 구독한 회원 리스트 가져오기 }
17.666667
76
0.778302
c0e3d3cb53471d60051fd49f9fb3b898f02006e9
552
import java.util.HashMap; import java.util.Map; /** * @author dns007 * @version 1.0 * @date 2020/3/24 */ public class MyCharacterFactory { private Map<Character, MyCharacter> pool; public MyCharacterFactory(){ pool = new HashMap<Character, MyCharacter>(); } public MyCharacter getMyCharacter...
23
59
0.630435
a39f379a24dd0a6d0c33be25aa9571ab2fb06d2d
2,366
package cn.wizzer.app.sys.modules.services.impl; import cn.wizzer.app.sys.modules.models.Sys_unit; import cn.wizzer.app.sys.modules.services.SysUnitService; import cn.wizzer.framework.base.service.BaseServiceImpl; import com.alibaba.dubbo.config.annotation.Service; import org.nutz.aop.interceptor.ioc.TransAop; import ...
36.4
209
0.640744
41e1ac99f40093a1fece28baca918c814892065b
2,711
package ar.edu.itba.cep.executor.client; import ar.edu.itba.cep.executor.api.ExecutionResponseHandler; import ar.edu.itba.cep.executor.api.ExecutionResponseIdData; import ar.edu.itba.cep.executor.dtos.ExecutionResponseDto; import ar.edu.itba.cep.executor.models.ExecutionResponse; import com.bellotapps.the_messenger.co...
46.741379
113
0.732571
5238760cb03f3bcb270377c22f99b0214078436d
1,215
package nl._42.heph.shared; import java.util.Collection; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atomic.AtomicLong; import nl._42.heph.BeanSaver; /** * "Repository" which stores all entities of a type T in a map (by ID) * Demonstrates the working of Heph with a non-Spring reposi...
25.3125
94
0.649383
089ff404b3c39c07b74fb0d94f86108008c157da
1,797
package com.simibubi.create.content.contraptions.components.structureMovement.pulley; import com.simibubi.create.content.contraptions.components.structureMovement.AssemblyException; import com.simibubi.create.content.contraptions.components.structureMovement.ContraptionLighter; import com.simibubi.create.content.contr...
28.983871
100
0.775737
80d260d7bba0deca7f74f80d55b809713ca7a794
201
import java.util.List; public class Modul { String name; List<ModulBestandteil> bestandteile; int modulPunkteGesamt; boolean bestanden; String datumUndSemester; int versuch; }
18.272727
40
0.716418
f2cdb03a2020c51e0f6c608d6ffed91950ae0a0c
2,825
package iurii.job.interview.algorithms2.coursera; import iurii.job.interview.graph.structure.DirectedEdge; import iurii.job.interview.graph.structure.DirectedEdgeComparator; import iurii.job.interview.graph.structure.OrderedWeightedGraph; import java.util.ArrayList; import java.util.Collections; import java.u...
38.175676
102
0.562478
9403f1fd9ae019a0977a14aa7b60b2b06f25a23b
430
import java.util.ArrayList; public class BinaryGenerator { public ArrayList<Integer> GenerateBinaryFormat(long number) { ArrayList<Integer> binary = new ArrayList(); int index = 0; int bineq = 0; while(number > 0) { bineq = (int)number%2; binary.a...
17.2
63
0.532558
0941e3c5dbf50998291f947c54cd442fa6331615
669
package org.instantlogic.designer.flow; import org.instantlogic.designer.DesignerApplicationGenerator; import org.instantlogic.designer.FlowDesign; import org.instantlogic.designer.FragmentTemplateDesignEntityGenerator; public class InsertFragmentTemplateBelowFlowGenerator extends FlowDesign { public static final ...
37.166667
116
0.865471
1437963f9c43908293199c246ba71509f0aec2db
2,911
/******************************************************************************* * Copyright 2013 Geoscience Australia * * 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://ww...
25.991071
91
0.70079
e4c40dbd0ae8bc3b8761465d032f4bd580b61cce
698
package com.javase.myenum; public class EnumTest { public static void main(String[] args) { System.out.println(Sex.MEN); switch (Season.SPRING){ case SPRING: System.out.println(Season.SPRING); break; case SUMMER: System.out.pr...
22.516129
50
0.492837
920f4eaf83b79ede508f01c71c9f36c157232ebc
3,709
/* * Copyright © 2018 Library For All * * 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...
29.672
78
0.715287
bba5600a947277ff8cb14f5b16e762b349e0ba9a
5,704
/* * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
39.068493
159
0.727034
d0e1c430f56ad2e222f38c2bdbc3692dca780dad
6,730
/* * Copyright 2015 Kevin Liu * * 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 ...
29.517544
135
0.551412
7ff63843d03394dc33e5384822132c6e86444df3
5,618
package info.loenwind.enderioaddons.machine.afarm.module; import static info.loenwind.enderioaddons.config.Config.farmRFperAnalyzing; import info.loenwind.enderioaddons.machine.afarm.Notif; import info.loenwind.enderioaddons.machine.afarm.SlotDefinitionAfarm; import info.loenwind.enderioaddons.machine.afarm.SlotDefini...
37.205298
180
0.631007
b6b6dd350a5464f5a4146be1e9e27157b4d48c9f
1,780
/* * Author: Jose Canahui */ package model; public class FoodCategoryLinkedList { private FoodCategoryNode head; public FoodCategoryLinkedList(FoodCategoryNode head) { this.head = head; } public FoodCategoryLinkedList() { this.head = null; } public void add(FoodCategoryNode toAdd){ FoodCategoryNode cur...
20.697674
71
0.660674
5f7987963ab97c0fb065fd15712a422d7830c4d5
77
package ryulib; public enum Direction { NoWhere, Left, Right, Up, Down }
9.625
23
0.701299
c2ddec7e79557eef2a3a11016fa1e5d9ce5f79ae
8,500
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server.application; import com.yahoo.config.model.api.Model; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.ApplicationName; import c...
42.929293
144
0.568824
6d45f3bd5e6a8275c76efd212bebcf67f39dc22a
751
public class Solution7 { public int maxProfit(int[] prices) { int len = prices.length; if (len < 2) { return 0; } // 差分数组比原始数组的长度少 1 int[] diff = new int[len - 1]; for (int i = 0; i < len - 1; i++) { diff[i] = prices[i + 1] - prices[i]; ...
24.225806
59
0.396804
d1729f6668584342313c9ae2a8ee2db1049c0261
2,073
package ru.tasks.task_005.solution; import org.junit.Test; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Scanner; import static org.junit.Assert.assertThat; import static org.hamcrest.core.Is.is; /** * Created on 25.01.2018. * * @author Aleks Sidorenko (alek.s...
38.388889
105
0.65316
a84b25bc369be2902f60d56349b9394f829b1867
6,566
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
28.672489
100
0.673774
2a4891639219e4ed66b74797dc81f1d5b21106ec
2,267
/* * Copyright (c) 2021 Huawei Device Co., Ltd.All rights reserved. * Licensed under the Apache License,Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
27.987654
77
0.663873
34d82d0d239f63e65d5e28bbb43c786dcff73fac
1,225
package com.smartcodeltd.jenkinsci.plugins.buildmonitor.order; import hudson.model.AbstractProject; import java.io.Serializable; import java.util.Comparator; import java.util.List; public class ByEstimatedDuration implements Comparator<AbstractProject<?, ?>>, Serializable { @Override public int compare(Abst...
32.236842
93
0.682449
a1c44f778f832b1192381505a95ec7e0ab9de3b6
520
package io.github.greyp9.arwo.core.expr.eval; import io.github.greyp9.arwo.core.expr.Node; import io.github.greyp9.arwo.core.expr.op.MultiOperator; import java.util.List; public abstract class Evaluator { protected abstract Node evaluate(MultiOperator multiOperator); protected final void validateSize(final...
28.888889
108
0.709615
26fb7819bfdcbe36fa55bb13b902f16af41790b9
1,345
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.athenz.client.zts.utils; import com.yahoo.vespa.athenz.api.AthenzIdentity; import com.yahoo.vespa.athenz.api.AthenzService; import com.yahoo.vespa.athenz.client.zts.ZtsClient; import com.yah...
34.487179
126
0.695911
44a551dd2adb96214a1952a75d7db99a07b4548c
5,548
package tech.harmonysoft.oss.traute.test.impl.expectation; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import tech.harmonysoft.oss.traute.test.api.expectation.Expectation; import tech.harmonysoft.oss.traute.test.api.model.RunResult; import java.io.PrintWriter; import java.io.S...
41.096296
115
0.581291
97b76a666f2ce13737c6c5ed1ae2bfb050b131f8
124
package com.xuanyue.db.xuan.core.table; public interface IStringEncoding { public String encoding(Object value); }
17.714286
40
0.75
cc87bde9ff68ea7a9539ce03f64805648a54496b
4,219
/** * 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.300813
121
0.713439
5d052e9e745904984209562a9d7560355a2d7f8c
2,695
/** * Copyright (c) 2004-2011 Wang Jinbao(Julian Wong), http://www.ralasafe.com * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ package org.ralasafe.servlet; import java.util.HashMap; import java.util.Map; import org.ralasafe.EntityExistException; import org.ralasafe.SystemC...
25.913462
85
0.75436
9f4c9f9a9240eaedf9c3bed10bab506d04c068a4
438
class Solution { public List<Integer> preorder(Node root) { if (root == null) return new ArrayList<>(); List<Integer> ans = new ArrayList<>(); Deque<Node> stack = new ArrayDeque<>(); stack.push(root); while (!stack.isEmpty()) { root = stack.pop(); ans.add(root.val); for (...
21.9
57
0.554795
e5f2dea0cd0c0bb798010a1d07948e245f9ce8cb
3,103
/** * 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...
33.365591
94
0.741218
39ff7ca31425ae709408ae4fb4d48d20b041610d
671
package nl.osrs.model.player.packets; import nl.osrs.model.player.Client; import nl.osrs.model.player.PacketType; /** * Magic on items **/ @SuppressWarnings("all") public class MagicOnItems implements PacketType { @Override public void processPacket(Client c, int packetType, int packetSize) { int slot = c.get...
23.137931
70
0.721311
edb24fe829ae46a077b69add0e2014de1467f87e
2,016
/* * * 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 ...
24.585366
77
0.616071
0861c7064f0b4216ba89e3dce906735291057e0d
2,034
package io.jenkins.plugins.analysis.warnings; import javax.annotation.Nonnull; import java.util.Collection; import org.jenkinsci.Symbol; import org.kohsuke.stapler.DataBoundConstructor; import edu.hm.hafner.analysis.IssueParser; import edu.hm.hafner.analysis.parser.EclipseParser; import edu.hm.hafner.analysis.parser...
35.068966
492
0.69174
2a4a2a1d08534390172346340ee792f17f1817ad
641
package com.ruoyi.framework.config; import com.ruoyi.common.utils.OrderNoUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * 订单编号生成配置 * * @author wyt */ @Configuration public class O...
18.852941
60
0.684867
24ae9db4dde231384d8387e3d1d14ecb48d4bb6d
278
package xyz.mydev.mq.delay.constant; import lombok.Getter; /** * @author ZSP */ @Getter public enum MqPlatform { // mq平台 1 RocketMQ 2 RabbitMQ 3 Kafka 4其他 RocketMQ(1), RabbitMQ(2), Kafka(3); private int code; MqPlatform(int code) { this.code = code; } }
13.238095
43
0.651079
e3f8068ba41bf18ad82c25f5199f04cec313f2bb
2,724
/** ------------------------------------------------------------------- Copyright (c) 2014 SyncFree Consortium. All Rights Reserved. This file is provided to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Licen...
29.934066
108
0.67768
f069a21ee832c4f762afe8f38aa03a9d620c50c5
314
package providers; import org.glassfish.hk2.api.Factory; import services.authentication.Guard; import services.authentication.JwtGuard; public class GuardProvider implements Factory<Guard> { @Override public Guard provide() { return new JwtGuard(); } @Override public void dispose(Guard instance) { } }
18.470588
54
0.773885
c2f1c1d29c6ef0cb8efb24498c3e1c499d71482a
4,335
package s1.block11; import java.util.Arrays; /** * * @author s@scalingbits.com * @ version 1.1 */ public class TestEuro { public static void main(String[] args) { System.out.println("Phase 1: Einfache Tests"); Euro konto1 = new Euro(172, 12); long d1 = konto1.longValue(); Syste...
45.15625
87
0.555017
c08272cf61e66ba67f1d92c2e18d3aa06acabc50
484
package com.wsk.dao; import com.wsk.pojo.GoodsOfOrderForm; import java.util.List; public interface GoodsOfOrderFormMapper { int deleteByPrimaryKey(Integer id); int insert(GoodsOfOrderForm record); int insertSelective(GoodsOfOrderForm record); GoodsOfOrderForm selectByPrimaryKey(Integer id); i...
23.047619
61
0.78719
35c21fb67ad2a52e70f427f44b97bd67456f1bdc
6,547
package org.codemucker.orientdb; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import ru.vyarus.guice.persist.orient.db.Db...
39.203593
150
0.640293
ef6e73bb3ec702598303f661177d508eca7cd05a
2,212
package com.acme.api.company.service; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot...
34.5625
110
0.81736
65dfc56446992cb69f518218ae12bcae3adfbdc4
2,127
/* * Copyright (c) 2020-2021 Software AG, Darmstadt, Germany and/or its licensors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless req...
46.23913
308
0.74142
c8e6f6a64194952393d563c95c01b2273b954e91
3,909
package com.yeah.android.activity.camera.adapter; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager.OnPageChangeListener; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; ...
30.539063
148
0.695318
7d964afd4e42338bb0ba2b8fa1c44904359ed75c
938
package com.kevadiyakrunalk.recycleadapter.animator; import android.support.v7.widget.RecyclerView; /** * ItemAnimator for Draggable item. This animator is required to work animations properly on drop an item. */ public class DraggableItemAnimator extends RefactoredDefaultItemAnimator { @Override protected...
34.740741
144
0.702559
4cbee1135d05b9ab9cec3a2947b41bd249e764eb
516
package com.qmplus.v3.api.models.request; import com.qmplus.v3.api.models.util.RestConstants; /** * LanguageRequest which needs to invoke from mobile device to send data to * server side. * * @author gaurav.chugh * */ public class LanguageRequest extends BaseRequest { @Override public void setAuthTokenKey(S...
21.5
75
0.718992
0f7e61fc76c9a14cc20dace1631efdf9a360eff1
3,185
package tools.dynamia.zk.addons.chartjs; public class Labels extends LazyJSONObject { private Integer boxWidth; private Integer fontSize; private String fontStyle; private String fontColor; private String fontFamily; private Integer padding; private Boolean usePointStyle; public Intege...
23.947368
61
0.597802
c98007956cc665c9e53cf599f902a103327b970c
642
/* * Copyright (c) 1998-2018 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.ft; /** * Single nested PointFeatureCollection * * @author caron * @since 9/23/2015. */ public interface PointFeatureCC extends DsgFeatureCollection { ...
27.913043
97
0.753894
14ff82d908ffe752baa4e49f32ce090bf7f53a0a
41
package com.subho.wipro.pjp.tm07.proj.sb;
41
41
0.804878
b05efcb5f41123bed984ca341ced3a0bae608a70
2,213
package UI; import API.GloAPIHandler; import callbacks.JGloCallback; import com.intellij.openapi.ui.Messages; import models.Glo.Board; import models.JGloHelper; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class AddBoardDialog extends JDialog { private JPanel contentPane; private ...
27.6625
154
0.649345
0410843029ea7d232e41ff4ea43d72d66fa5c382
34,629
package com.weychain.erp.service.Impl; import com.alibaba.fastjson.JSONObject; <<<<<<< HEAD import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.toolkit.StringUtils; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; ======= import com.baomidou.myba...
44.510283
261
0.623119
30fe75abfb7cd555de223de9b7456cd9c009e950
4,447
package com.Da_Technomancer.crossroads.API.effects; import com.Da_Technomancer.crossroads.API.beams.EnumBeamAlignments; import com.Da_Technomancer.crossroads.CRConfig; import com.Da_Technomancer.crossroads.Crossroads; import com.Da_Technomancer.crossroads.blocks.BlockSalt; import com.Da_Technomancer.crossroads.craftin...
42.759615
252
0.742073
3fbc2c11dbbafa4ed1f68776c9069717eb7173b5
3,274
/** * 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"...
40.419753
123
0.651497
f66ea5716b47bf26be267dc470bb00513f3da395
2,151
package org.andstatus.app.graphics; import android.graphics.BitmapFactory; import android.graphics.Point; import org.andstatus.app.context.MyContextHolder; import org.andstatus.app.context.TestSuite; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit....
41.365385
96
0.701999
6b2f62f1648d26b02f132476a23495e1894e8ea0
4,631
package com.telescent.afox.global; import com.telescent.afox.utils.FlatSerialize; import com.telescent.afox.utils.UnflatSerialize; public class SMConnectedTo { public String Status; //Allocation status public String ByUser; //The last user to cause this current state or pending state public boolean Allocated; //A...
38.591667
109
0.615634
fcaaa7c1764e978567bea31c5c2a0a6d2ede75ec
3,610
package org.alicebot.ab; /* Program AB Reference AIML 2.1 implementation Copyright (C) 2013 ALICE A.I. Foundation Contact: info@alicebot.org This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Found...
24.391892
76
0.665374
677c786a53a9fdf0ffeef8e793143ca746b99b58
663
package gnu.kawa.functions; import gnu.expr.Language; import gnu.mapping.Procedure; import gnu.mapping.Procedure1; public class Not extends Procedure1 { Language language; public Not(Language language) { this.language = language; setProperty(Procedure.validateApplyKey, "gnu.kawa.functions.Com...
26.52
99
0.701357
6d5b880f645dee0c9bb0c90c3b1978f15d8b5be8
751
package com.example; import dagger.BindsInstance; import dagger.Component; import dagger.Module; import dagger.Provides; import dagger.Subcomponent; @Component(modules = ModuleSubcomponentBindsBuilder.StringModule.class) public interface ModuleSubcomponentBindsBuilder { String string(); @Module(subcomponents = S...
22.088235
71
0.740346
55b752ff44191c742b2ff20559f335c3fca9b92a
754
package de.isuret.polos.AetherOnePi.utils; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; public class HttpUtils { public static String get(String urlPath) throws Exception { StringBuilder result = new StringBuilder(); URL...
26
102
0.655172
21e7a9d043ba7f361d23ae6a4c8cd52030d7b082
1,861
package org.tayrona.dbserver.services; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.h2.tools.Server; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.tayrona.dbserver.config.H2Configuration; import javax.annotation.PostConstru...
27.776119
112
0.623321
484f4d0147761393f2e99d53025ab6b8bd8f884f
11,162
/**************************************************************** * 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...
39.302817
164
0.542555
32df63d1d8982bca57397ef4f95f9e05c5dd1838
1,555
package modux.plugin.classutils; import org.apache.xbean.classloader.NamedClassLoader; import java.io.IOException; import java.net.URL; import java.util.Enumeration; public class AssetClassLoader extends ClassLoader { private NamedClassLoader delegated; private URL[] paths; public AssetClassLoader(Clas...
26.810345
88
0.641801
82c3ec1db63c5a25a8390ff87e149c92c4171797
17,527
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.rdfservice.impl; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.concurrent.CopyOnWriteArrayL...
36.976793
138
0.633137
262d3a9eb86e99c49878c75eacf8d52195a37c84
3,461
package noppes.npcs.ai; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.ai.EntityAIBase; import net.minecraft.entity.player.EntityPlayer; import noppes.npcs.constants.AiMutex; import noppes.npcs.constants.EnumStandingType; import noppes.npcs.entity.EntityNPCInterface; import java.util.Iterat...
34.61
152
0.589714
9d43605f3b9e0d2fcb100f02381f495e2de93a3e
2,987
package org.app.events.volunteer.controllers; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.scene.control.ChoiceBox; import javafx.scene.control.Label; import javafx.scene.control.TextField; import org.app.events.event.model.Event; import org....
36.876543
127
0.701038
002cb9ee3299d44b7c84b15f26238c900ee29559
1,141
package com.weijiaxing.logcatviewer; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import com.weijiaxing.logcatviewer.ui.UseFloatingLogcatServiceActivity; import com.weijiaxing.logcatviewer.ui.UseLogcatActiv...
25.355556
80
0.736196
54e86ed5ed480d78d009e1af83d00915fc507e2f
3,839
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
46.253012
138
0.776765
f00359e55cda6d0fd63bd20cca0a7813ce75027d
4,063
package com.moonymango.snare.ui.widgets; import com.moonymango.snare.events.EventManager; import com.moonymango.snare.events.ITouchEvent; import com.moonymango.snare.events.IWidgetTouchedBeginEvent; import com.moonymango.snare.events.IWidgetTouchedEndEvent; import com.moonymango.snare.game.IGame; import com.moonymango...
32.246032
95
0.642875
3d171d33d692fc2307daae130ac2ee398a4e5a94
721
package beyblade; public class Dragon extends Beyblade{ private String sacredMonster; private String secretAbility; Dragon(String beybladesName, Integer rotationSpeed, Integer attackPower, String sacredMonster, String secretAbility) { super(beybladesName, rotationSpeed, attackPower); ...
24.862069
122
0.692094
f7bd8b12c2e03d68213107c32415527d3520330d
13,491
/* * Copyright [2007] [University Corporation for Advanced Internet Development, 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...
48.182143
121
0.682455
c414441214afba96c298ce7c1dbdf4bf1f0d4fda
758
package org.aio.gui.task_panels; import org.aio.tasks.TaskType; public class TaskPanelFactory { public static TaskPanel createTaskPanel(final TaskType taskType) { switch (taskType) { case RESOURCE: return new ResourceTaskPanel(); case LEVEL: return n...
28.074074
70
0.529024
88af8c9a56bdb309faccd4887342f1f3fb6f8594
7,693
package com.zdawn.commons.sysmodel.persistence.spring; import java.io.Serializable; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.sql.Connection; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j...
31.789256
117
0.748993
b2e0099b776a233abae75dc055a32b5233f263d2
2,811
package com.kshrd.derphsar_api.rest.message; import org.apache.ibatis.annotations.Select; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springframework.context.support.MessageSourceAccessor; import org.springframework.stereotype.Component; ...
28.979381
65
0.666311
e6fb0c5ef735fbe99eb42dd639cac6316a1109bc
1,247
package cn.chuanwise.xiaoming.group; import cn.chuanwise.common.api.OriginalTagMarkable; import cn.chuanwise.common.util.CollectionUtil; import cn.chuanwise.common.util.StringUtil; import cn.chuanwise.common.util.Tags; import cn.chuanwise.xiaoming.object.XiaoMingObject; import cn.chuanwise.xiaoming.contact.contact.Gro...
27.711111
79
0.692863
079747aef3b4bc9e68311157197f9d066567ec6d
4,830
/* * Copyright 2009-2019 TMD-Maker Project <https://www.tmdmaker.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
37.153846
105
0.780331
5d395e4567b5fcfc9624426434f09ec0ac8b259b
43
hi this shakeer starting with git classs.
21.5
42
0.790698
55a6f996a4857a903d759b4910bffc917286b086
52,380
/* * ProGuardCORE -- library to process Java bytecode. * * Copyright (c) 2002-2020 Guardsquare NV * * 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/licen...
36.299376
239
0.658801
1786cdb0870126e673c89a2c65a1e90213dc1098
12,741
/** * Copyright 2016 Twitter. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
40.576433
100
0.693509
548d352a21ffeb881afb98e56bdc5f8a840c6f26
1,773
/* Copyright 2013 The jeo project. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
27.276923
75
0.668923
b37da8e80c67fd537402b24d1e466b24ea9ae69e
1,159
package com.crossoverjie.algorithm; import java.util.TreeMap; public class Array_215FindKthLargest { public static void main(String[] args) { System.out.println(findKthLargest(AlgorithUtil.c, 2)); } public static int findKthLargest(int[] nums, int n) { TreeMap<Integer, Integer> treeMap = ...
26.340909
98
0.522865
19c962ac3ce73b1fc08ff7586d137a0d006d1152
1,293
package org.joder.stock.core.service.strategy.turtle; import org.joder.stock.core.domain.StockData; import org.joder.stock.core.domain.StockProcess; import org.joder.stock.core.service.strategy.StockStrategyProcess; import java.util.function.ToDoubleBiFunction; /** * @author Joder 2020/8/15 15:01 */ public abstra...
29.386364
131
0.645785
1811edeb7e46639c10c1cfa5f3a7e702dde07f5a
2,562
package com.neopixl.pushpixl; import android.content.Context; import com.neopixl.pushpixl.exception.IncorrectConfigurationException; import com.neopixl.pushpixl.listener.UserPreferencesListener; import com.neopixl.pushpixl.model.PushConfiguration; import com.neopixl.pushpixl.model.UserPreferences; import com.neopixl....
37.130435
108
0.720921
fb52d651414958905ffcbdc9562eead9ec996cd1
2,152
package info.bitrich.xchangestream.okcoin.dto.marketdata; import com.fasterxml.jackson.annotation.JsonProperty; import java.math.BigDecimal; public class FutureTicker { private Long contractId; // 合约ID private Integer unitAmount; // 合约价值 private BigDecimal holdAmount; // 当前持仓量 private BigDecimal limitHigh; /...
23.391304
63
0.687732
4cea802f75dcfcb3366641e369ed3be2abfe5e2d
3,060
/* * TypeMatcher.java * * This source file is part of the FoundationDB open source project * * Copyright 2015-2018 Apple Inc. and the FoundationDB project 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 obt...
37.317073
137
0.712092
ca3e3e7bbd8e8f2d091878adb31d0ba6f17db192
5,292
package com.yilian.luckypurchase.adapter; import android.content.ComponentName; import android.content.Intent; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.text.TextUtils; import android.view.MotionEvent; import android.vi...
43.377049
150
0.610166
2b3e65a6819c726180b32607feba1a4bec60d988
1,412
package simpleinvoke.helloworld; import java.io.Serializable; import java.lang.Long; import java.lang.String; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xm...
21.074627
59
0.713173
997536f80eadc893a5838c8c9fcdc6f8b1ee3d88
6,941
/* * Copyright 2015 Torridity. * * 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...
34.532338
125
0.508428
e59ab0b4650c0ed4f792575e15d93bd77efe2c9f
5,615
package controller; import javafx.event.Event; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.image.ImageView; import javafx.scene.layout.HBox; import model.GameMode.GameType; import model.MainModel; import utilities.SceneManager; /** * GameSelecto...
27.660099
94
0.729831
1392656f8e4762e844ee716e77b73fc0f3dfac11
792
package com.chylee.fxiaoke.xjl.event; import com.chylee.fxiaoke.common.event.ResponseEvent; import com.chylee.fxiaoke.xjl.event.data.object.OrderPaymentObj; import com.chylee.fxiaoke.xjl.event.data.object.PaymentObj; import java.util.List; public class HuikuanRespEvent extends ResponseEvent { private PaymentObj ...
27.310345
77
0.75
c46061d838225461727708b57f733a40cdf550ee
272
package com.sic.service; import com.sic.entity.ChItemRecord; import com.sic.entity.ChTaskRecord; import java.util.List; public interface ChItemRecordService { List<ChItemRecord> select(ChTaskRecord chTaskRecord); int insert(List<ChItemRecord> chItemRecordList); }
20.923077
55
0.805147
0dd18862a9e65a1a24d6e7fb38d3c2ed61b53c90
1,912
package app.exception.interceptors; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Resource; import javax.ejb.SessionContext; import javax.interceptor.AroundInvoke; import javax.interceptor.InvocationContext; public class LoggingInterceptor { @Resource private Sessi...
36.769231
106
0.567992
14155cf171c9a07a34315a7d44b11fe15166956f
3,133
/* * Copyright © 2016 Cask Data, 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...
32.978947
103
0.760613
8e10b04dd47980e393e8458183e4cddd4fc901f1
5,752
package com.boluozhai.snowflake.h2o.command.sf.repo; import java.io.IOException; import java.net.URI; import com.boluozhai.snowflake.cli.AbstractCLICommandHandler; import com.boluozhai.snowflake.cli.CLIUtils; import com.boluozhai.snowflake.cli.client.CLIClient; import com.boluozhai.snowflake.cli.util.ParamReader; imp...
27.78744
71
0.723748
826935a9b34489247dc73c11a44062fa21b9bf93
410
package mooc.vandy.java4android.calculator.logic; import mooc.vandy.java4android.calculator.ui.ActivityInterface; public abstract class Operations { private ActivityInterface mOut; public Operations(){} public Operations(ActivityInterface out){ mOut = out; } abstract void opera...
22.777778
64
0.680488
6bc24c51ba04c2e5769cc1cae5630bdb6ea20d5e
3,187
package msifeed.mc.extensions.environment; import cpw.mods.fml.common.FMLCommonHandler; import msifeed.mc.sys.cmd.ExtCommand; import net.minecraft.command.ICommandSender; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.WorldServer; public class EnvironmentCommand extends ExtCommand { @...
38.39759
111
0.581111
4298b25e59a5ae84159ad341718856339210e56c
2,991
package de.ianus.ingest.core.xml; import java.util.List; import de.ianus.ingest.core.Services; import de.ianus.ingest.core.bo.WorkflowIP; import de.ianus.ingest.core.bo.files.AgentEventLink; import de.ianus.ingest.core.bo.files.Event; import de.ianus.ingest.core.bo.files.ObjectEventLink; import de.ianus.ingest.core.m...
33.233333
112
0.746239
be7994d9cce49e35d2a7aa7b37a922327e5dc7d0
6,774
package net.bytebuddy.dynamic.scaffold; import net.bytebuddy.description.annotation.AnnotationDescription; import net.bytebuddy.description.annotation.AnnotationList; import net.bytebuddy.description.field.FieldDescription; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.met...
49.086957
186
0.801299
e6116522d3528dfb82ec507e3deaf35533da94a3
392
package com.squadio.accountstatements.repositories; import com.squadio.accountstatements.entities.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.Optional; @Repository public interface UserRepository extends JpaRepository<User, Lo...
26.133333
67
0.836735
c8c2ee8a069eaf7b1b6b1ababe92f2109546a090
876
package com.village.things; import com.queatz.earth.EarthStore; import com.queatz.earth.EarthThing; import com.queatz.snappy.as.EarthAs; import com.queatz.snappy.shared.Config; import javax.servlet.http.HttpServletRequest; /** * Created by jacob on 6/4/17. */ public class FormItemInterface extends CommonLinkInter...
29.2
108
0.730594