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
e1195c8dadd382d88709cb82e2240dd931ca4903
1,257
package frc.team5333.core.drive; import groovy.lang.GroovyObject; import jaci.openrio.toast.core.StateTracker; import jaci.openrio.toast.core.loader.groovy.GroovyLoader; import jaci.openrio.toast.lib.state.RobotState; import jaci.openrio.toast.lib.state.StateListener; public class AutonomousDriver implements StateLis...
32.230769
97
0.651551
234f3d55c13774358560661d75e77532e9d5f110
1,533
package com.github.extermania.leetcode; public class $0123_Best_Time_to_Buy_and_Sell_Stock_III_100 { static class Solution { private static void cnt(final int[] max, final int p) { if (p >= max[0]) { max[1] = max[0]; max[0] = p; } else if (p > max[1]) { max[1] = p; } } public ...
34.066667
75
0.511416
6bab8b55b63e0ff7323eaadfb8a2fae3a8d1c2f4
1,272
package com.github.satoshun.rxreceiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.support.v4.content.LocalBroadcastManager; import rx.Observable; import rx.Subscriber; class LocalBroadcastReceiverOnSub...
29.581395
84
0.67217
98ec9426120c01af340a48d8f8211b5d9a9c7fe4
511
package com.stylefeng.guns.promo.common.persistence.dao; import com.stylefeng.guns.promo.common.persistence.model.MtimePromoStock; import com.baomidou.mybatisplus.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; /** * <p> * Mapper 接口 * </p> * * @author stylefeng * @since 2019-09-03 */ public int...
25.55
76
0.722114
757d2a6aca68a8937bdd0a74a8f03844860dca86
1,030
public class model { public static void main(String[] args) { Single s = Single.getInstance(); Zi z = new Zi(); z.show(); z.sayHi(); z.sayHi("haha"); Student xu = new Student("xuxile",0); xu.show(); } } class Fu { int num = 4; public void sayHi() { System.out.println("hi"); }...
16.885246
97
0.594175
2227667c100a2f8918d2f02131d2598ff60601fe
1,012
package framework.error; import org.luaj.vm2.LuaFunction; import framework.syntax.function.LuaFunctionAdapter; import framework.syntax.function.LunaFunctionAdapter; /** * Created by macbookair on 09/05/17. */ public class LunaError { LunaFunctionAdapter callback; int code; static LunaError instance; ...
19.09434
57
0.610672
ef2a78b1c88d268b15866633ebab3d3aa458b691
6,054
/** * 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...
44.844444
120
0.652131
a4c4f5f2d5c0ee8d4c3a1cc1d499a933c4676130
987
package cn.iocoder.springboot.lab13.jpa.repository; import cn.iocoder.springboot.lab13.jpa.dataobject.UserDO; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework...
39.48
92
0.768997
65b842024a09918d6ece7d8f6332495e2a04d657
1,124
/* * This file was last modified at 2021.02.27 22:28 by Victor N. Skurikhin. * This is free and unencumbered software released into the public domain. * For more information, please refer to <http://unlicense.org> * TagLabelDao.java * $Id$ */ package su.svn.daybook.domain.dao.db.dictionary; import io.micrometer...
35.125
102
0.770463
2cc506a8146f323f6bf6b89192ddac2e0ce4f857
928
package com.ucsc.mcs.test; import net.sf.javaml.core.Dataset; import net.sf.javaml.tools.data.FileHandler; import java.io.File; import java.io.IOException; /** * Created by JagathA on 12/25/2017. */ public enum TutorialData { IRIS("devtools/data/iris.data", 4, ",",null), SPARSE( "devtools/data/spar...
25.777778
80
0.626078
5873fda88fe98aac8a1d0ffd821b00c7e4ac99a2
422
package ozmod.test.desktop; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import ozmod.test.Player; public class DesktopLauncher { public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationCon...
30.142857
77
0.810427
e020e04576a884a3b7a5c8644e44d058909a8855
5,110
package com.example.sekini.utils.common; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class PersianCalendar implements Serializable { private static final long serialVersionUID = 2578746994635796923L; public final static String DEFAULT_DATE...
21.561181
75
0.594325
7b83d704b2c7390232d11ffdeacb8818833aa632
6,122
/** */ package top.failureLogic; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><b>Cause Type</b></em>', * and utility methods for working with th...
22.758364
104
0.59278
1203f2b3b6c99ce9087a7c03bac8adaa0dc429c0
1,332
package org.humancellatlas.ingest.archiving.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Getter; import lombok.Setter; import org.humancellatlas.ingest.archiving.Error; import org.humancellatlas.ingest.archiving.submission.ArchiveSubmission; import org.springframework.data.annotation.Creat...
24.218182
72
0.782282
2406f8ba98b147d28949d46a6805dc4ff7f9614d
3,591
package com.ncloud.auth; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import com.ncloud.exception.SdkException; i...
27.837209
95
0.738234
a918f4da1b95ca676c08489449d935325974ac80
264
package constant; /** * Created by Administrator on 2017/6/29. */ /** * Administrator * * @author xt * 06-29 17:20 **/ public class Host { public static final String SERVER_HOST = "127.0.0.1"; public static final int SERVER_PORT = 8081; }
16.5
57
0.625
bfc363dc8bc780eb7f7f4c63a59df646f20c600e
681
package com.lh.learning.leetcode.no61_70.no65; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; /** * @auther: loneyfall * @date: 2021/4/8 * @description: */ public class Question65Test { private static Question65 question65; @BeforeClass public static void beforeClass() ...
23.482759
54
0.665198
61de1998660314485ad732be2975a58abeb7b840
2,183
/* * Copyright 2014 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 ap...
44.55102
123
0.704993
a9adf0a69a50cf0afab50ccf5ec7875748329866
216
package hu.ibello.table; public interface TableRow { public void addCell(String content); public void addCell(boolean content); public void addCell(long content); public void addCell(double content); }
15.428571
38
0.75
25887ab3b41b16e9836b76fd1ed7c7bdd4b568e8
812
package gedinline.lexical; import gedinline.main.GedcomException; public class Level { private int level; public Level() throws GedcomException { level = -1; } public Level(int i) throws GedcomException { level = i; } public int getLevel() { return level; } ...
20.3
68
0.576355
de0fd1d81acb72c6b0a2e520364c2d72658425c9
572
package com.sz.weizy.passport.service.impl.basic; import com.sz.weizy.passport.dao.entities.SnsUser; import com.sz.weizy.passport.spring.event.UserOpEvent; import org.springframework.context.ApplicationEvent; /** * Created by lohas https:github.com/lohasle on 2015/11/27 0027. */ public interface BasicService { ...
22.88
81
0.701049
61d172ce9c3745c6603bcce086f3830ec71fdb46
3,434
package com.arialyy.simple.test; import android.os.Environment; import android.view.View; import com.arialyy.aria.core.Aria; import com.arialyy.aria.core.common.QueueMod; import com.arialyy.simple.R; import com.arialyy.simple.base.BaseActivity; import com.arialyy.simple.databinding.TestActivityMultiBinding; /** * Cr...
42.395062
97
0.672394
ec9a940cdb2aa2c45a2ef75115d2de42f0c09f84
489
package cn.tm.ms.nerver.restful.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 权限注解 * @author lry */ @Target({ElementType.METHOD,ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME)...
16.862069
46
0.705521
9886c69758323813bfdbbfd13e1bd30f67d0fd80
14,128
package com.anysoftkeyboard.dictionaries; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.preference.PreferenceManager; import android.support.annotation.NonNull; import android.text.TextUtils; import com.anysoftkeyboard.base.dictionaries....
40.481375
177
0.705691
711e0cb6010d4883931d65a8b54263369f2757ba
1,948
package com.proven.customersguiapp.model; import com.proven.customersguiapp.model.persist.CustomerDAO; import java.util.List; /** * * @author outsider */ public class Model { /** * retrieves the customer with a given id. * @param id to search for * @return customer with given id of null if...
24.974359
68
0.592402
4e79cf71020e8a19b9733c8e7ae131d91ded3bc5
5,397
/* * Java Information Dynamics Toolkit (JIDT) * Copyright (C) 2012, Joseph T. Lizier * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * ...
41.198473
95
0.694089
4884209b12416ebc88e75a96906ad0aabc22596f
142
package dao; import bean.Employee; //用于接口式编程,不需要显式写出此接口的实现类 public interface EmployeeMapper { public Employee getEmpById(Integer id); }
15.777778
43
0.78169
6bdf4910071618ba2b2850c9ed77c28643f2617d
7,675
/* * Copyright 2002-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...
36.722488
121
0.784104
1d750c7f04f8b875d9cfa6a4ba4771a55f6fcd8b
523
package edu.akarimin.week1; import java.util.Scanner; public class DynamicConnectivityClient { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); UF uf = new UF(n); while (scanner.hasNext()) { int p = scanner.n...
24.904762
50
0.510516
80d4187c4a0bcdbf70720306fb542a66c876ed51
941
package org.zalando.zmon.persistence; import de.zalando.sprocwrapper.SProcCall; import de.zalando.sprocwrapper.SProcParam; import de.zalando.sprocwrapper.SProcService; import java.util.List; /** * Created by jmussler on 08.09.16. */ @SProcService public interface QuickSearchSprocService { @SProcCall publ...
33.607143
151
0.786397
07e1ea3b8a595e08f7e9600cfd18eff4697af85b
6,548
package com.example.myglobalchat; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import...
32.415842
122
0.655773
3c23e6e83baa8e44d04a56ef09968e4e2c459272
1,272
/* * 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.tatsinktech.web.model.register; import com.tatsinktech.web.model.AbstractModel; import javax.persistence.Entity; ...
28.266667
80
0.75
060b7671e1befd78e06470e257fbac379323618d
2,013
package cn.njiuyag.springboot.blog.configuration; import cn.njiuyag.springboot.blog.interceptor.LoginInterceptor; import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.s...
35.946429
96
0.754098
25ab512d2780f9c45a4c44295fb71aac93744d78
335
package com.mlinvest.construction.persistence.repository; import com.mlinvest.construction.persistence.model.TenderResult; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface TenderResultRepository extends JpaRepository<TenderRes...
33.5
83
0.862687
b0d39979abad6dbce38511dcf91e781f32535e92
1,474
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package com.archimatetool.editor.ui.services; import java.util.ArrayList; import java.util.List; import org.eclipse.swt.widgets.Display; /** * U...
28.346154
96
0.643826
0cb9176457e23ff11a03090faa7707e3af53fb9e
1,417
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
29.520833
75
0.684545
2275cb86fb935724cdf051486efa8deec745003b
416
package com.zlu.springLister; import org.springframework.context.ApplicationEvent; import org.springframework.context.ApplicationListener; import org.springframework.context.event.ContextRefreshedEvent; public class MyListener implements ApplicationListener { @Override public void onApplicationEvent(ApplicationEven...
27.733333
63
0.824519
31b4f1a3c3f0bbe4e9c410a3e3ff5323ffef34fd
8,668
/* * Copyright 2016, 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 applic...
35.818182
100
0.709045
498fa86dfede076a3d9a6f6a59de0bd3d496d720
194
package com.tea.testcalendar.remind; import com.tea.testcalendar.base.BPresent; /** * Created by lisx on 18-4-25. */ public class RemindBACPresenter extends BPresent<RemindBACActivity> { }
17.636364
69
0.762887
3c1cd749c5813f5c40655d13576e156aa7a4dcc7
3,567
package com.nocode.config; import java.io.File; import java.nio.file.Paths; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.aventstack.extentreports.AnalysisStrategy; import com.aventstack.extentreports.ExtentReports; import com.aventstac...
29.725
111
0.698626
4c9826156234f81b3946e340e6cce87e189a0926
957
package org.batfish.symbolic.smt; import com.microsoft.z3.BoolExpr; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; public class SymbolicOriginatorId extends SymbolicEnum<Integer> { private static List<Integer> addZero(Collection<Integer> vals) { Li...
25.864865
72
0.714734
883bb2cb846547da8edfa343763499fb42dd0d4e
2,114
package com.youzan.wagon.persistent.service.impl; import com.youzan.wagon.persistent.dao.CanalInstanceDao; import com.youzan.wagon.persistent.model.CanalInstance; import com.youzan.wagon.persistent.service.CanalInstanceService; import org.apache.ibatis.annotations.Update; import org.springframework.beans.factory.annot...
32.030303
100
0.696783
ab338da9bf392dd5f8cdb93a8ac27ada7c5ade6d
115
package edacc.experiment; /** * * @author simon */ public class ImageSaveFailedException extends Exception { }
12.777778
57
0.730435
72d36780d89a51d761c89c9b131c56db0ae39d7c
2,327
package com.lib.imagepicker.presenter; import com.lib.imagepicker.ImagePicker; import com.lib.imagepicker.bean.ImageBean; import com.lib.imagepicker.bean.ImageFloderBean; import com.lib.imagepicker.model.ImageScanModel; import com.lib.imagepicker.presenter.impl.DetailPickerPresenterImpl; import com.lib.imagepic...
30.618421
100
0.678986
6e1ba6225d5005c12d7e74ebee1e6e601b9c37c6
6,806
package com.ganxin.codebase.utils.upload; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; /** * Description : UploadUtil <br/> * author : WangGanxin <br/> * date : 2016/9/5 <br/> * email : g...
39.569767
157
0.51675
4901c0de40e3aa69097d200bc5729ae2c34de4ee
1,495
import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.Pane; import javafx.scene.text.Text; import javafx.scene.layout.PaneBuilder; import javafx.scene.paint.Color; import javafx.scene.shape.*; import javafx.stage.Stage; public class CurveDemo extends Application { @Override // ...
31.808511
66
0.67893
0af10a70cf4c5e92e8aaa94832cad707e093b425
8,781
package alien4cloud.application; import java.util.UUID; import javax.annotation.Resource; import org.springframework.stereotype.Service; import alien4cloud.dao.IGenericSearchDAO; import alien4cloud.dao.model.GetMultipleDataResult; import alien4cloud.exception.AlreadyExistException; import alien4cloud.exception.NotF...
39.913636
159
0.671905
4649e1cfcf60dd46321f3bd6db29415a1300b690
448
package testCases; import org.openqa.selenium.WebDriver; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.testng.annotations.Test; public class TC_017_Run_test_without_browser_view { @Test public static void headlessTest() { WebDriver driver = new HtmlUnitDriver(); driver.get("https://www.goo...
22.4
53
0.743304
257c2cbcddb86babd9c8288f36d8426e51a569f0
101
public class RemoteControl { public void setCommand(Command command) { command.excute(); } }
9.181818
40
0.70297
732116f013b9abb024a751641ca5e1ebfd39484b
253
// .result=COMPILE_OUTPUT // .options=XstructuredPrint import java.util.concurrent.Callable; public class Test { public static void main(String[] args) { Object f = Foo::<Integer>new; // explicit generic constructor type arguments } }
28.111111
87
0.70751
5d2a480064b05949fd3b94504831ca9aa07a49e1
7,789
/** * Created by MomoLuaNative. * Copyright (c) 2019, Momo Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. */ package com.immomo.mls.log; import android.conte...
28.636029
133
0.545641
004c6c5c29edcd21a55bcb8ad4f59a8aa33c093e
2,560
package com.javamaster.b2c.cloud.test.learn.java.bytecode; import com.javamaster.b2c.cloud.test.learn.java.bytecode.access.FieldAccess; import com.javamaster.b2c.cloud.test.learn.java.bytecode.attribute.AttributeInfo; import com.javamaster.b2c.cloud.test.learn.java.bytecode.tablestructure.ConstantUtf8Info; import com...
30.47619
110
0.692578
fc66bf3937c60fb2136f47c13f42d2507324617b
11,036
package es.uam.eps.bmi.search.indexing; import es.uam.eps.bmi.search.TextDocument; import es.uam.eps.bmi.search.parsing.HTMLSimpleParser; import es.uam.eps.bmi.search.parsing.TextParser; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStr...
35.485531
149
0.581279
bf60aa858488e9592e18f786f78a06cc25b8301f
18,365
/** * @author Shaiful * @since Apr 27, 2009 */ package lebah.portal.announcement; import java.io.File; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import ja...
32.332746
112
0.683038
92a017bf83c1a6d1167b359b0931bda09b708a9a
42,177
/* * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. 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 is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
38.447584
153
0.609527
aad3577d95d20eac3a0995baac714f50d549dd9f
1,586
/* 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 not use ...
30.5
96
0.761034
2c255ec573af2b9b85f71961a084f43f58b34988
613
package com.bcrowsoftworks.flappy.states; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector3; public abstract class State { protected OrthographicCamera cam; protected Vector3 mouse; protected GameStateManager gsm; protect...
25.541667
52
0.783034
66cc8e2bf70ce626395726c9fc10c8b27801e8ef
506
package com.github.shuaidd.response.tool; import com.fasterxml.jackson.annotation.JsonProperty; import com.github.shuaidd.response.AbstractBaseResponse; /** * 描述 * * @author ddshuai * date 2021-01-11 14:29 **/ public class CreateMeetingResponse extends AbstractBaseResponse { @JsonProperty("meetingid") pr...
21.083333
65
0.717391
54f39e7e9512d39b076eaeae3dc496026e3595dc
733
/** * */ package com.cwp.alice.service; import java.util.List; import com.cwp.alice.model.CwAppointments; import com.cwp.alice.model.CwCases; import com.cwp.alice.model.CwUsers; /** * @author lugupta * */ public interface DialogFlowConversationService { List<CwAppointments> getCwAppointments(String cwId) thr...
25.275862
116
0.79809
a120c6022be2977f88d193c4b8e706a7ddb52349
1,333
package com.example.floatingbuttontest.model; import android.graphics.Bitmap; /** * Created by dell on 2015/5/31. */ public class PictureModel { private String title; private String time; private String goodTextView; private String badTextView; private String addressTextView; private Bitmap ...
20.828125
60
0.655664
161910f6ae9236561a01b3cc886087636e09e5f8
1,046
package p030rx.internal.operators; import p030rx.Observable; import p030rx.Subscriber; /* renamed from: rx.internal.operators.OperatorIgnoreElements */ public class OperatorIgnoreElements<T> implements Observable.Operator<T, T> { /* renamed from: rx.internal.operators.OperatorIgnoreElements$Holder */ static ...
25.512195
89
0.608987
99d817964bcef8eb19a8ad79b808ae5e098a5fc8
423
package com.illusory.i.shop.statics.backend.dto; import java.io.Serializable; import java.util.List; import lombok.Data; /** * Bootstrap DataTable 数据传输对象 * * @author illusory * @version 1.0.0 * @date 2019/4/4 */ @Data public class DataTableDTO<T> implements Serializable { private int draw; private long...
18.391304
54
0.716312
b6ca28a14d3d67487cd0df690ec79ac83ca7b8da
2,526
package com.ouc.tcp.test; import com.ouc.tcp.client.Client; import com.ouc.tcp.message.TCP_PACKET; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.LinkedList; import java.util.Queue; import java.util.concurrent.LinkedBlockingQueue; public cl...
28.066667
104
0.565717
da1dcc5b71a2a9443c68e6a05b960a7adabf5425
4,795
/* * 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 co.edu.uniandes.csw.bookstore.resources; import co.edu.uniandes.csw.bookstore.dtos.MedioDePagoDTO; import co.edu.uniandes.csw....
42.8125
191
0.719082
3e18550aff3567f73c118ed631d91cd5eac83d4a
993
package org.slf4j.impl; import io.github.logtube.LogtubeLoggerFactory; import org.slf4j.ILoggerFactory; import org.slf4j.spi.LoggerFactoryBinder; public class StaticLoggerBinder implements LoggerFactoryBinder { private final LogtubeLoggerFactory loggerFactory; private static final String loggerFactoryClassS...
26.837838
93
0.741188
00707400b895e2746cc93568db9a7a7e19a6156b
5,399
package com.ijinshan.sjk.web; import java.util.List; import javax.annotation.Resource; import net.minidev.json.JSONObject; import net.minidev.json.JSONStyle; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.Path...
39.698529
142
0.645675
c2e804c252bef65b035a141530b99062afc95e7c
8,129
/** * The MIT License * * Copyright (c) 2014, Sebastian Sdorra * * 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,...
22.455801
80
0.571657
f8df8dcd70dcfc2c07715d459f704ef5a22e1915
3,554
package test; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Date; import java.util.List; import alcybe.simulation.Engine; import alcybe.simulation.data.TaskNode; import alcybe.simulation.events.DiscreteEvent; import alcybe.simulation....
32.309091
91
0.694992
a9442fe79e7170d67c9e5d9a2a80bd2a890c4584
7,274
/******************************************************************************* * 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 ...
39.318919
92
0.567226
26904050d8aef99d870f4ca19fadd56d5c790aab
2,088
/* * Copyright 2015 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...
25.156627
75
0.682471
e11d52569552ef0aa2677c191e82ba1115728730
3,626
package com.pearadmin.pro.common.tools.core; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; /** * Sequence 工具类 * * Author: 就 眠 仪 式 * CreateTime: 2021/04/01 * */ public class SequenceUtil { /*** 机 器 Id */ private static final long WORKER_ID = 0; /**...
29.479675
145
0.555985
0e82178eb1710a6d222eb92943ca258311a29a0a
667
/** * */ package com.withinet.opaas.util; /** * @author Folarin * */ public class PasswordGenerator { public static String getRandomPassword () { char[] chars = new char[]{'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A','B','C','D...
24.703704
133
0.44078
7f7784df22546e73adebdb72f40b8d6ee93ef539
5,084
/* ### * IP: GHIDRA * * 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 writin...
36.84058
88
0.716365
b138982774d02d095224c0e2a570f1eb7c6c24e3
2,024
/* * Copyright 2019 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.newrelic.telemetry.http; import java.util.List; import java.util.Map; /** The response from the backend APIs. */ public final class HttpResponse { private final String body; private final int co...
24.682927
99
0.596344
8c8ddde721be2f1c4c4271d6ad7c3c8480d81776
3,550
package v1.controllers; import play.libs.Json; import play.libs.ws.*; import play.mvc.Result; import v1.entities.Contributor; import javax.inject.Inject; import java.util.*; import java.util.concurrent.CompletionStage; import java.util.concurrent.ExecutionException; import java.util.stream.Collectors; import static ...
44.375
180
0.521127
22962fb4ab4d1aa48a898a1c04cc1e380c9bfb92
968
package de.melanx.skyguis.util; import de.melanx.skyguis.SkyGUIs; import net.minecraft.network.chat.MutableComponent; import net.minecraft.network.chat.TranslatableComponent; public class ComponentBuilder { private static String prefix() { return "screen." + SkyGUIs.getInstance().modid + "."; } ...
33.37931
90
0.69938
1070d1f086f1dd976976497793b815c5bf90ac40
7,000
/* * Copyright (c) 2008, 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 Softwa...
33.175355
90
0.592286
f072b2307aecc5577c7cf46eeda252ea7ed2ac4e
4,640
/*=====================================================*/ /* Project Title: Legends: Heroes and Monster */ /* Course Name: GRS CS611 */ /* Semester: Spring '21 */ /* Project Author: Victor Vicente */ /*============================...
24.041451
90
0.631681
ae26138bf814eb4881f6a97e34a714d8dc171e64
3,337
package com.coeuy.osp.mongo.adepts.model.query; import com.coeuy.osp.mongo.adepts.constants.Option; import com.google.common.collect.Lists; import java.io.Serializable; /** * <p> * Wrappers生成 * </p> * * @author yarnk * @date 2021/9/9 */ public abstract class WrapperBuilder implements Serializable { privat...
40.204819
96
0.710818
6946061a53c264ace3e149757b28906a1c3b4922
374
package com.trian.test_app.ui.main; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.ViewModel; import com.trian.test_app.utils.MyVm; public class FragmentMainViewModel extends MyVm { public FragmentMainViewModel(@NonNull Application application) { super(appl...
24.933333
68
0.775401
128ab109e2bc8f460b576370c77df7cb16b1f11c
2,243
package tutorial.java.javaOO.examples; /* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must re...
40.053571
76
0.700847
2af564cca7b4ae51f859e0e5f8bdaf21dbe8c469
1,518
package com.tuzi80.holahola; import com.tuzi80.holahola.model.Module; import com.tuzi80.holahola.utils.AndroidTools; import com.tuzi80.holahola.utils.CommonUtil; import com.tuzi80.holahola.utils.ExecScriptUtils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.InputSt...
28.641509
140
0.64888
891148c43487da4a5cf070b4c9970611ccc867be
12,969
package fr.minibilles.basics.ui.field; import fr.minibilles.basics.ui.BasicsUI; import fr.minibilles.basics.ui.action.Action; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.SashForm; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; i...
26.906639
118
0.671216
76900dd10e70de374d31265c3fa9dd83f3bebacf
688
package IP.TodoListApplication; import IP.TodoListApplication.App.*; public class Main { /** * To run the program, we will create a TodoList Object * then we will run start on it * * Example of a task to add (pay attention to white space): * 5, brew beer,01-12-2020,in-progress,Hangouts ...
20.848485
79
0.607558
ebaa0f1eb4a2cb34f41a7c3f66d66f42ba5c4d8d
2,291
public class SingleLinkedList { class Node { Object data; Node next; Node(Object data) { this.data = data; } } Node head, tail; boolean add(Object data) //add last { Node n = new Node(data); if(head == null) { head = tail = n; return true; } tail.next = n; tail = n; return...
11.688776
53
0.543431
7ac3bf8a8da13e95e185d4b31d6f37b3465533a2
445
package com.example.valid; public class Main2 { /** * Valid. * * This is the most common form of the main method except that the variable * accepting command line arguments has been renamed to someOtherName. The * name of the variable is insignificant. * * Source: https://rationalpi.wordpress.com/200...
23.421053
77
0.703371
886468e251deefd2a527b03c4b19c3e243e41e27
4,451
package com.udacity.jdnd.course3.critter.user; import com.udacity.jdnd.course3.critter.pet.Pet; import com.udacity.jdnd.course3.critter.pet.PetService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import ja...
34.503876
113
0.689957
07df07eaf756fd8431016cbcb276789331b36708
441
package sg.atom.core.execution; import java.util.Set; /** * ProgressMeter calculate its current Progess by its self or contributions of its children. * @author cuong.nguyen */ public interface ProgressMeter { long getId(); float getPercentage(); float getTotalProgress(); void increaseProgress(f...
16.333333
92
0.671202
c17ab55bf48d07716693bb7f96a4cd26d1caded3
973
package io.swagger.resources; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; public class MyClass extends MySuperClass { public void populate(final String isotonicDr...
29.484848
91
0.736896
4b5ae3b80416ee5699135aec0538a87916d47c24
2,193
/**ConverterController implements a MVC controller component which * managements the flow of interactions an EuroModel and CoverterView component. * * @author Abián Torres Torres * @since 2017-03-19 * @version 1.0.0 * @see alu0100887686@ull.edu.es * @see https://github.com/alu0100887686 */ /******...
30.041096
97
0.648427
a6a013f12fee29b0f1bbff263d69f9fe5d7cdbf4
9,434
package io.github.luons.engine.es.EsUtils; import org.apache.commons.lang3.StringUtils; import java.util.*; public class EsUtils { private static final String KEY = "key"; private static final String VALUE = "value"; private static final String VALUES = "values"; private static final String BUCKETS ...
43.077626
115
0.513356
75bec19f60b7267eee096f8835383b8b2af07b80
418
package csu.standard; import java.util.Comparator; import rescuecore2.worldmodel.EntityID; /** * EntityID的比较器,用来比较两个ID的大小 * @author nale * */ public class EntityIdComparator implements Comparator<EntityID> { public EntityIdComparator() { } @Override public int compare(EntityID a, EntityID b...
17.416667
65
0.648325
e85cf80c88e4abce1e88ba4090d3e1e2c576b878
2,081
/* * Copyright 2015-2016 USEF 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 applicable law or agree...
37.160714
133
0.763095
718738437efd13bf86c36e9313719c56594ad607
5,080
// 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...
39.6875
124
0.662598
31a07c5fc9f7e57ef10f4058317bd476237d265e
3,679
/* * 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.707547
109
0.749117
740ac666859dbd7c4081256472dc4e1f013627a9
1,744
package com.bin.david.smarttable.utils; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFDateUtil; import org.apache.poi.ss.usermodel.Cell; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; /** * Created by huang on 2018/1/23. */ publi...
31.709091
86
0.506881
6cc9c40921787e00ca2a5c49490d7fff70105ef0
1,015
package net.starype.quiz.api.game; import net.starype.quiz.api.game.player.IDHolder; import net.starype.quiz.api.game.player.Player; import java.util.concurrent.atomic.AtomicReference; public class SingleWinnerDistribution implements ScoreDistribution { private AtomicReference<? extends IDHolder<?>> co...
31.71875
111
0.666995
9ead7a49b7c6e1512241ac4d393899de02ba3d15
741
package com.devs.android_cleanarch_mvp.presentation.view.fragment; import android.os.Bundle; import android.view.InflateException; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.annotation.N...
25.551724
73
0.816464
cc3a1c3149d1861469aaec0e3455a85818a8360a
1,972
// This is a generated file. Not intended for manual editing. package com.goide.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTreeUtil; import static c...
22.930233
100
0.741379
c10c9ac8b1bc9e3b3ed1b1bb7400aa3ad11cd45f
412
package zamorozka.event.events; import net.minecraft.client.gui.GuiScreen; import zamorozka.event.Event; public class EventDisplayGui extends Event { private GuiScreen screen; public EventDisplayGui(GuiScreen screen) { this.screen = screen; } public GuiScreen getScreen() { return screen...
20.6
46
0.694175