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
f97b2e7473121a65e82b5e572df35e97aa02032c
8,892
package com.mob.tools.gui; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.VelocityTracker; import android.view.View; import android.view.View.MeasureSpec; import android.view.ViewConfiguration; import android.view.V...
23.775401
107
0.535313
2597bc4c4a9bf623f82f04e27caa7cb59483183a
1,768
package com.googlecode.totallylazy; import com.googlecode.totallylazy.functions.Function1; import org.junit.Test; import static com.googlecode.totallylazy.functions.Callables.asCallable1; import static com.googlecode.totallylazy.functions.Callables.callThrows; import static com.googlecode.totallylazy.functions.Callab...
47.783784
117
0.785633
76f63ac036d56f644e3c7032253aa2b1e89a2d4a
2,040
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.ir.optimize.controlflow; import com.android.tools.r8.graph.DexString; import...
37.090909
95
0.744608
f692198d780b575e5b6cb2c09072e70a08b4d80f
391
package org.cyrus.classhandler.custom.function.method.cmethod; import org.cyrus.classhandler.custom.classtype.StandardCustomClass; import org.cyrus.classhandler.custom.function.method.CustomMethod; public class AbstractCustomMethod <C extends StandardCustomClass> extends CustomMethod<C> { public AbstractCustomMe...
32.583333
91
0.797954
4a06c19230f6db5cd289c83895bf2a1444544dd8
1,468
/* Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowest possible order (ie, sorted in ascending order). The replacement must be in-place and use only constant extra memory. Here are...
27.185185
119
0.552452
8d618ba0e4f2c1b5e2a7cb372366833fd815e1f6
265
package com.game.bizModule.cd.entity; import javax.persistence.Entity; import javax.persistence.Table; /** * Cd 时间实体 * * @author hjj2017 * @since 2015/7/21 * */ @Entity @Table(name = "t_cd_timer_5") public class CdTimerEntity_5 extends CdTimerEntity_X { }
15.588235
54
0.724528
b4e8191f2f73838c16fcb63c29e4abdfc1f226fa
1,236
package com.squidtopusstudios.zerobit.input.keybindings; import com.squidtopusstudios.zerobit.ZeroBit; import java.util.HashMap; import java.util.Map; /** * Manages saving, loading and binding of keys */ public class KeyMapManager { /** Map for Keyboard & Mouse */ private Map<String, Float> keyMap; /...
22.888889
75
0.649676
da1f9f029f1c8484e0ed155c3f90103bd38a0482
670
package com.example.demo.controller; import com.example.demo.service.IUserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; /** * mysql控制器 * 1.查询mysql数据 */ @RestController @RequestMapping("/mysql") public class MysqlController { @Autowir...
20.9375
68
0.71791
40d77d6032d86d9c49fbfc887524f75b6184f925
7,769
package net.minecraft.entity.ai; import net.minecraft.entity.EntityCreature; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.IEntityOwnable; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.attributes.IAttributeInsta...
32.236515
159
0.560819
df21fed82f6b1656144e1fdd608ce7a2d53196a7
1,175
/* Copyright 2012 Selenium committers Copyright 2012 Software Freedom Conservancy 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.97619
72
0.779574
94e99db28c0f302fd60b0106537fa996b16728ed
1,180
package mikenakis.tyraki.conversion; import mikenakis.tyraki.UnmodifiableEnumerable; import mikenakis.tyraki.UnmodifiableEnumerator; import java.util.function.Predicate; /** * A decorator of {@link UnmodifiableEnumerable} which filters items using a {@link Predicate}. * * @param <E> the type of elements yielded b...
28.095238
100
0.790678
9333a6dc8876023840c15711c6d3b3d4586fc5b8
5,431
package neo4jGateSets; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import org.neo4j.graphdb.Node; import neo4jDatabase.DBUtility; import neo4jEnum.NodeLabels; import neo4jMCS.MCS; import neo4jMCS.MCSNode; import neo4jMCS.MCSPairSet; import neo4jMCS.MCS...
24.686364
158
0.676487
75cd17a62b60b024a3b6c3467138a038d3bf3331
6,573
/** * 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 m...
40.079268
118
0.662863
df944d8ad5afb73256564dbfbee7150a92a9382e
15,996
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import java.util.List; import java.util.function.BiConsumer; import java.util.function.Do...
35.078947
168
0.725431
4884df97aaf076325083ec361f5f37c731f73597
2,253
/* * #%L * ELK Reasoner * * $Id$ * $HeadURL$ * %% * Copyright (C) 2011 Department of Computer Science, University of Oxford * %% * 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 * ...
26.821429
75
0.75233
295153147545d926d62d646d221a4809636f18d0
200
package com.dilshan.apiproject; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; public interface ApiInterface { @GET("/posts") Call<List<PostPojo>> getposts(); }
14.285714
36
0.725
b249caefecccd0db3d7fd2eb1087fa32cd4e6232
3,226
/* Copyright (c) 2009-2011 Speech Group at Informatik 5, Univ. Erlangen-Nuremberg, GERMANY Korbinian Riedhammer Tobias Bocklet This file is part of the Java Speech Toolkit (JSTK). The JSTK is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
25.007752
90
0.636702
c6c298cc8c21546032a3dabe87ddf8ee15d9a1a0
1,161
package com; /** * Copyright 2018 Zhang, Chen. All Rights Reserved. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
37.451613
81
0.67528
cb2d798f6a390c56df5e2afe73c6278709433298
3,068
/* * 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 dao; import entity.Yazar; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import jav...
28.407407
116
0.600065
23b0c86bee0ee89f1ce595d2d16052d90a336494
46
package iudx.resource.server.databroker.util;
23
45
0.847826
e2770c57c7d30a922e48f28dbafd280d281116f4
1,062
package com.github.mictaege.eval.spoon.processing; import spoon.processing.AbstractAnnotationProcessor; import spoon.reflect.declaration.CtMethod; import static java.lang.System.out; public class ForkMethodProcessor extends AbstractAnnotationProcessor<Fork, CtMethod<?>> { @Override public void process(final...
42.48
148
0.665725
91493b45efcbaaeb05075f67525f4414797db8fb
1,868
/* * 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 n...
39.744681
119
0.773019
bbcd991af40a411decb7e37250d5679ad4ea23d7
6,498
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for * license information. */ package com.microsoft.azure.keyvault.spring; import com.microsoft.azure.PagedList; import com.microsoft.azure.keyvault.KeyVaultClient; import com.microsof...
38.91018
115
0.609418
884a33120764d9563e358ab95a2b68f7ea9227fc
1,342
package com.capitalone.dashboard.model.score.settings; import static com.querydsl.core.types.PathMetadataFactory.*; import com.querydsl.core.types.dsl.*; import com.querydsl.core.types.PathMetadata; import javax.annotation.Generated; import com.querydsl.core.types.Path; /** * QScoreComponentSettings is a Querydsl...
31.952381
127
0.777943
9fd643f7154c6f5d63660401d2cb05070cdbc91a
2,547
/* * 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 ...
30.686747
96
0.691009
834a7bd242437b16bfa9cd6e1657e3f8c9c3fbda
2,169
package common.utils; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.apache.commons.lang3.exception.ExceptionUtils; import rfx.core.util.LogUtil; import rfx.core.util.StringPool; public class CmdProcessUtil { static class Worker ...
25.517647
146
0.686953
1796e95fe2f328291e5649f72f43f13fac99708d
150
package testPackage; /** * This is the business interface for CustomerTbl enterprise bean. */ public interface CustomerTblLocalBusiness { }
13.636364
66
0.74
8460a8586285697bd3f0632139a917cd3bfe3d77
5,640
package com.example.mobilesafe.activity; import com.example.mobilesafe.R; import com.example.mobilesafe.R.id; import com.example.mobilesafe.R.layout; import com.example.mobilesafe.R.menu; import com.example.mobilesafe.service.AddressService; import com.example.mobilesafe.service.CallSafeService; import com.example.mob...
27.512195
99
0.728901
a64576783267fbd958de74a0749f0e3993fd51ba
10,259
/* * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 r...
22.596916
82
0.585632
ca4cba243edb9dd61ed7896649ac551766a444e8
728
package de.uni_hamburg.fs; public class Name implements java.io.Serializable { public static final Name EMPTY = new Name(""); public String name; public Name(String name) { this.name = name.intern(); } public String toString() { return name; } public boolean equals(Object...
22.75
64
0.582418
373a7753f95410c8fd0b45d495e839ba73e5601f
2,837
package me.philcali.pillbox.commands.process; import picocli.CommandLine; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.DirectoryStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.HashMap;...
37.328947
105
0.581953
1aba6ae8c3c05204d097efd6dfec3aad0bf0db14
971
/** PROJECT TITLE: 13.04 Assignment PURPOSE OF PROJECT: To practice overriding methods VERSION or DATE: 2/26/17 AUTHORS: Mark Washington **************************** P M R ********************************************* <+s>: Overriding was easy *************************************************************...
26.243243
80
0.590113
3c5743e5456ebefa7a86098afdb8aac77d1f8d7f
660
/* * Copyright (c) 2016 Gili Tzabari * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0 */ package com.github.cowwoc.requirements.java.internal.scope; import java.util.function.Supplier; /** * The JVM configuration. * <p> * Implementations must be thread-safe. */ publi...
22.758621
93
0.742424
0835a63d2af3a176dd52c758e9561ed007565c2e
5,101
package br.com.zupacademy.carlivan.mercadolivre.model; import br.com.zupacademy.carlivan.mercadolivre.controller.dto.DetalheProdutoDto; import br.com.zupacademy.carlivan.mercadolivre.controller.form.CaracteristicaForm; import ch.qos.logback.core.util.COWArrayList; import org.hibernate.validator.constraints.Length; im...
30.54491
104
0.62968
295cbf13c38c3e195f0e825c8083c80e95983afd
401
package mod.azure.tep.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Overwrite; import mod.azure.tep.TotallyEnoughPainMod; import net.minecraft.entity.ai.goal.BreakDoorGoal; @Mixin(BreakDoorGoal.class) public class ZombieDoorMixin { @Overwrite public int getMaxProgress() { r...
23.588235
78
0.805486
67c9fdff9b4ec0bdcba4a8c655e376c539d013df
5,260
package de.adesso.gitstalker.core.Tasks; import de.adesso.gitstalker.core.REST.OrganizationController; import de.adesso.gitstalker.core.config.Config; import de.adesso.gitstalker.core.config.RateLimitConfig; import de.adesso.gitstalker.core.enums.RequestStatus; import de.adesso.gitstalker.core.enums.RequestType; impor...
47.387387
197
0.729658
e3084b0a46604ef8b2baefc7d55dad3918884865
277
package ui; import javax.swing.JPanel; public class PartitionBox<V,T> extends JPanel { private VertexProperty<T> vertexProperty; //private List<Partition> /*public PartitionBox(VertexProperty<T> vertexProperty){ this.vertexProperty = vertexProperty; }*/ }
14.578947
57
0.736462
1ddebd2f8bc5edcbfc9716261df0ff44ef80dac2
5,265
/* * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
47.863636
235
0.717949
e193c596f36f7c8049c7ee549a3941841cd34edc
794
package dataset.transformation.reduce; import org.apache.flink.api.common.functions.ReduceFunction; import org.apache.flink.api.java.DataSet; import org.apache.flink.api.java.ExecutionEnvironment; /** * Created by yidxue on 2018/2/11 */ public class FlinkReduceDemo1 { public static class NumberReduce implements...
29.407407
88
0.695214
50efc102c1263facd3e0f66c6e578fc37d1ca62c
2,703
package com.kidscademy.atlas.phone; import android.util.Log; import androidx.test.rule.ActivityTestRule; import com.kidscademy.atlas.R; import com.kidscademy.atlas.activity.MainActivity; import com.kidscademy.atlas.app.App; import com.kidscademy.atlas.model.AtlasObject; import com.kidscademy.atlas.model.AtlasReposit...
33.7875
154
0.72512
ffac860c84cfcdd965fc46cbe82d43ecc8dd26da
4,182
package com.mrh0.qspl.internal; import java.util.List; import java.util.Scanner; import com.mrh0.qspl.type.TArray; import com.mrh0.qspl.type.TString; import com.mrh0.qspl.type.TUndefined; import com.mrh0.qspl.type.Val; import com.mrh0.qspl.type.func.Arguments; import com.mrh0.qspl.type.func.IFunc; import com...
27.333333
79
0.588714
2085db53d57dd9430a82b63986be4aa7cea66327
50,416
/* * Copyright 2019 Martin Conrad * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicabl...
45.625339
167
0.591975
407a6ff622bb368bf4adb1a00ff759a3f88c4ae8
1,997
package initial; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Procedure { private ArrayList<String> steps; private static final String stepConsts[]={"Bake at ", " \u00B0C for ", " hours and "," minutes."}; public Procedure() { this.steps= new...
24.060241
118
0.568353
7b3572265f618c08e3977c68f54a7b476a220960
4,500
import java.util.ArrayList; public class ChatConnections { //PUC chat private final ArrayList<Connection> pucConnections; private final ArrayList<SSLConnection> pucSSLConnections; private final ArrayList<I2PConnection> pucI2PConnections; //PSC chat private final ArrayList<SSLConne...
33.834586
107
0.594667
2fd3bc0b20ec267409011994d09ec855d07e57b7
1,346
/** * WLog.java 2013/09/03 */ package com.ycsoft.beans.task; import java.io.Serializable ; import java.util.Date ; import com.ycsoft.beans.base.OptrBase; import com.ycsoft.daos.config.POJO ; /** * WLog -> W_LOG mapping */ @POJO( tn="W_LOG", sn="", pk="") public class WLog extends OptrBase implements Seri...
16.414634
60
0.690936
ccd5848e6803150187de996005e30d63bac91d34
3,790
package com.iflytek.sas.voice.transfer.server.rpc.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.File; import java.util.ArrayList; import java.util.List; /** * * @author jpli3 */ public class PackageClassUtils { private final static Logger LOGGER = LoggerFactory.getLogger(Packag...
34.144144
106
0.506332
d29dcea29bb070b5f70e870920f26d77fcff1d4c
171
package io.suite.venus.job.admin.service; import java.util.List; public interface RobotService { boolean sendRobot(String url,String msg, List<String> usersList); }
21.375
69
0.77193
9890775062b3a3142023d7859dd2905e2266f8c2
6,162
package telekit.plugins.linetest.provider.impl; import org.apache.commons.lang3.exception.ExceptionUtils; import telekit.plugins.linetest.domain.LineStatus; import telekit.plugins.linetest.domain.MeasuredValue; import telekit.plugins.linetest.domain.Measurement; import java.util.logging.Logger; import static org.apa...
42.496552
100
0.602889
f935e5b15bf7bf313486bcce3621d2aa3069f0ab
5,011
/* * Copyright © 2020 Terry Moreland * 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, publish, distri...
38.844961
161
0.699661
a411980437bece5068e028759e1c05fc7c699efe
28,552
/** * $Id$ * * Created 2007/08/24 * @author: Sriram Rao (Kosmix Corp.) * * Copyright 2008-2012 Quantcast Corp. * Copyright 2007 Kosmix Corp. * * This file is part of Kosmos File System (KFS). * * Licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance...
29.679834
107
0.587314
7baa220a025cb61a1bf58b3a68a29d7bc08736c7
283
package com.upseil.gdx.artemis.system; import com.artemis.BaseSystem; public abstract class PassiveSystem extends BaseSystem { @Override protected boolean checkProcessing() { return false; } @Override protected void processSystem() { } }
17.6875
56
0.674912
1063ff266425a4c006081ca3f098966ccb3d20ff
21,904
/** * <copyright> * * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
31.336195
130
0.72206
542838ef9a7798763d8fde2e50c8a79ef8082ee6
19,300
package com.boohee.widgets; import android.content.Context; import android.graphics.drawable.BitmapDrawable; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.animation.Animation; import android.view.animation.Anim...
43.863636
99
0.546891
82e6058f5b0dd20b3673046f8a3b9ea38feb6db8
4,938
package org.dave.bats.gui.framework.widgets; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.texture.TextureAtlasSprite; import net.minecraft.client.re...
40.146341
211
0.685298
73bdffe1dcd713444297d1b6d8990a1a5b6fde15
737
package com.digistratum.microhost.RestServer; import com.digistratum.Process.RunnableProcessImpl; import javax.inject.Inject; import javax.inject.Singleton; @Singleton public class RestApiImpl extends RunnableProcessImpl { protected RestServer server; @Inject public RestApiImpl(RestServer server) { this.server...
23.774194
95
0.740841
4ad7448997361427245d43b3423bce214eadbdcb
1,835
package virtualRobot.godThreads; import java.util.concurrent.atomic.AtomicBoolean; import virtualRobot.GodThread; import virtualRobot.LogicThread; import virtualRobot.MonitorThread; import virtualRobot.commands.Command; import virtualRobot.commands.FTCTakePicture; import virtualRobot.logicThreads.NoSensorAutonomouses...
37.44898
127
0.709537
2d28ab3a13f712daca7f233f3746689f929d674d
2,959
/** * Copyright (C) 2014 OpenTravel Alliance (info@opentravel.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 r...
41.097222
119
0.742481
8849649280f8c23b8cf689223ab27d5575385ec4
2,007
/* * Copyright 2002-2010 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...
42.702128
95
0.792725
55e3c865f07a54431b0d36c1461fbda717af4935
241
package com.xiaoyi.ssm.service; import com.xiaoyi.ssm.model.CustEmpStore; /** * @Description: 客户顾问接口 * @author 宋高俊 * @date 2018年8月6日 上午9:23:35 */ public interface CustEmpStoreService extends BaseService<CustEmpStore, String> { }
18.538462
80
0.73444
cd7212ba637bc4a9843aca619a304de60eac72eb
185
package pattern.facade.subsystem; import constant.Constants; public class Welcome { public void display ( ) { System.out.println ( Constants.WELCOME_MESSAGE ); } }
14.230769
57
0.686486
7cc1396d78f0647ca17538abeda8d8ada4d5d641
652
package org.jooby; import org.jooby.test.ServerFeature; import org.junit.Test; public class ParamMapFeature extends ServerFeature { { post("/params/:p1", req -> req.params().toMap()); post("/sparams/:p1", req -> req.param("p1").toMap()); post("/bparams/", req -> req.body().toMap().entrySet().iterator...
19.176471
97
0.54908
24e1825b4acfcd8d555f16ff6d838fae835d8f70
797
package com.charliewu.common.domain; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * Created by Charlie Wu on 2017-02-08. */ @Entity public class Greeting { @Id @GeneratedValue(strategy= GenerationType.AUT...
15.326923
50
0.611041
92eb15c72239d1618389831af176cc323791def3
3,191
package org.techdraw.sheets; import org.techdraw.sheets.api.BoxedElement; import org.techdraw.sheets.api.PartGroup; import org.techdraw.sheets.containers.GroupElement; import org.techdraw.sheets.containers.TableElement; import org.techdraw.sheets.elements.LineElement; import org.techdraw.sheets.elements.TextElement; ...
31.594059
97
0.614541
133c075e3296dd19ab19786feec143069078b0a8
418
package seedu.address.model; import javafx.collections.ObservableList; import seedu.address.model.calendarevent.CalendarEvent; /** * Unmodifiable view of an scheduler */ public interface ReadOnlyScheduler { /** * Returns an unmodifiable view of the calendar event list. * This list will not contain an...
23.222222
64
0.748804
a789a631154400a16e1e2a76963e693a052936cc
5,227
// Copyright 2020 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.chrome.browser.share.long_screenshots.bitmap_generation; import android.graphics.Bitmap; import android.graphics.Rect; import andro...
42.844262
100
0.731395
5978f9399f8420b5607980c19247d16ea6e19065
6,320
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
16.853333
810
0.811709
dcbe7e96f3a883aa75377d898df856393bbf5f79
2,603
/** * 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...
42.672131
78
0.693815
bd753ca9499fc65c7a57512e3608de003cc09b47
938
package net.poringsoft.imascggallery.data; /** * アイドルユニット情報クラス * Created by mry on 15/01/21. */ public class IdleUnitInfo { //フィールド //--------------------------------------------------- private String m_unitName; private String m_charName; //プロパティ //----------------------------------------...
18.038462
57
0.459488
114f873b055a668258198ee77306eb8f93da75fc
1,176
package com.nealma.netty.bio; import java.io.*; import java.net.ServerSocket; import java.net.Socket; /** * BIO Server * 服务端 * A 顾客去吃海底捞,就这样干坐着等了一小时,然后才开始吃火锅。(BIO) * * @author neal.ma * @date 2020/10/6 * @blog nealma.com */ public class BioServer { public static void main(String[] args) { try { ...
26.133333
109
0.576531
e170ef2ca5fea69714a385612f1c3b3938287adc
1,166
/* * Copyright (C) 2017 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 requir...
33.314286
90
0.736707
df4ef8a7e78aaf43a2904ba3be32d02fd62d42f1
8,233
/** ISOQuant_1.0, isoquant.plugins.batch.queue, 18.02.2011*/ package isoquant.kernel.plugin.queue; import isoquant.interfaces.iMainApp; import isoquant.kernel.plugin.Plugin; import java.io.*; import java.util.ArrayList; import java.util.List; import javax.swing.Icon; import de.mz.jk.jsix.utilities.ResourceLoader; ...
23.061625
90
0.65699
71b387448c41ecf786808561f6f2888bcf92632f
5,637
/* * Copyright 2015-2020 OpenCB * * 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.231884
140
0.623913
ef82614a42a3a799c30f899913c9a04f21f7cd34
636
package com.tkmdpa.taf.definitions.site; import com.tkmdpa.taf.steps.site.BlogsSteps; import net.thucydides.core.annotations.Steps; import org.jbehave.core.annotations.Given; import org.jbehave.core.annotations.Then; public class BlogsDefinition { @Steps BlogsSteps blogsPage; @Given("open Blogs page") ...
26.5
98
0.737421
9e55ac6c48d603110e38c99e6df6ccfaab2c20a5
2,948
package com.hanzo.auth.controller; import com.hanzo.auth.vo.AccessTokenVo; import com.hanzo.common.api.CommonResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConst...
42.114286
154
0.719471
4701f6795e00f9c979be9aedbfb6cddb58c7eea6
690
package com.fun.common.result; /** * @author DJun * @date 2019/07/19 11:56 */ public enum ResultCode implements IErrorCode{ /** code and message */ SUCCESS(200,"操作成功"), WARN(301,"操作警告"), FAILED(500,"操作失败"), VALIDATE_FAILED(300, "参数检验失败"), UNAUTHORIZED(401, "未登录或token已经过期"), FORBIDDEN(40...
18.648649
45
0.588406
fc70aee669b42a606822f75d4f6b1e31fcdd9992
3,090
package au.com.mineauz.minigamesregions.conditions; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.bukkit.Material; import org.bukkit.configuration.file.FileConfiguration; import au.com.mineauz.minigames.objects.MinigamePlayer; import au.com.mineauz.minigames.MinigameUtils; impor...
30.9
105
0.655016
d79e53befd07c7eb2199553ac2c2b83fc0c785ce
3,643
/* * MIT License * * UpVote * Copyright (c) 2021-2021 Aaron Haim. * * 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 ...
44.426829
222
0.757617
2a80a16c94816128ff49ba4bcf11f3024227c77c
229
/* * Copyright 2003 Felix Pahl. All rights reserved. * Use is subject to license terms. */ package info.joriki.pdf; public interface ContentStreamTypes { byte ROOT = 0; byte FORM = 1; byte CHAR = 2; byte TILE = 3; }
15.266667
50
0.672489
1240377e80f568c22d73039e7773005caa58abd5
2,349
package com.micro.utils; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.UUID; import javax.imageio.ImageIO; import org.springframework.beans.factory.annotat...
27.635294
87
0.729246
54f306c86935159aa241d968ec971a0f9715fa45
6,338
package com.dilfer.discord.commands; import com.dilfer.gamemanager.GameManager; import com.dilfer.gamemanager.model.*; import discord4j.core.object.entity.Guild; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; public enum ServerManagerCommands { s...
47.298507
234
0.670716
1c400f226723a5b96f4ee79c6f90dddcc86df779
5,754
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri Inc. licenses this file 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 License at * ...
28.626866
94
0.655023
d434c6e4c149638c887fc2f3700f862e90553e04
9,461
package com.example.shubham7stark.speechtotext; import android.content.Context; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Handler; import android.support.annotation.NonNull; import android.util.Log; import com.google.auth.oauth2.AccessToken; import com.google.auth.oauth2...
37.248031
169
0.635979
ba58947769d81b027843ddffb98dda04d04c3e48
6,081
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.consumption.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; import com.a...
32.87027
120
0.668476
9814ba48ff1c8c1887e70e8e9ac9860f94781282
441
package co.com.sofka.demo_ddd.venta.events; import co.com.sofka.domain.generic.*; import co.com.sofka.demo_ddd.venta.values.IdOrden; public class OrdenDeUnClientePuesta extends DomainEvent { private IdOrden idOrden; public OrdenDeUnClientePuesta(IdOrden idOrden) { super("PCSoluciones.venta.OrdenDeUnC...
24.5
59
0.723356
7dcd9d9bd0140afbc442950131b7174a23bc48f5
1,331
package org.ringingmaster.engine.compiler.compiledcomposition; import org.ringingmaster.engine.compiler.common.CompilerPipelineData; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.function.Function; import static com.google.common.base.Preconditions.checkState; /** * TODO comments??? * ...
30.25
118
0.69722
9800822a3c4f66ba24f35ae8c851d38b1f2da662
33,708
package org.mobilburger.learnwords; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.app.Service; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Contex...
37.789238
224
0.620417
89a1ce73006afef083a9fc6cbf373b17d199d7a2
3,370
package com.stylus.producer; import java.util.Properties; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerConfig; import org.apa...
37.865169
114
0.731157
ec72e5f1f2500a900c873ae0d38a37c6d6af445e
9,560
package com.binea.ucenter.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class UcenterOauthExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final lon...
28.708709
102
0.575
28e888fcfbc1bbc54b5bbc7c8fa29d0ee2a4db35
7,512
/******************************************************************************* * Software Name : RCS IMS Stack * * Copyright (C) 2010 France Telecom S.A. * Copyright (C) 2014 Sony Mobile Communications Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ex...
32.947368
158
0.619276
a6198a704d895ff0a91054aea4a42ca549f0f3a9
338
package com.ramdascodes.minit; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RedirectionServiceApplication { public static void main(String[] args) { SpringApplication.run(RedirectionServiceApplication.cl...
24.142857
68
0.83432
ebddbcbba3a671f088a714efcbf65022e36c35e8
4,076
package net.itimothy.elasticsearch.plugin.swagger.v1_2.model.resourceListing; import net.itimothy.elasticsearch.plugin.swagger.v1_2.model.SwaggerModel; /** * Provides details regarding the OAuth2 grant types that are supported by the API. */ public class GrantTypes extends SwaggerModel { /** * The Implici...
29.970588
139
0.660942
f2194afc8ed78c00f9f7a02818483502b1f81fd1
604
package startingPoint; import java.applet.*; import java.awt.*; public class KeyListener extends Applet implements Runnable { String Message; char MessageVal; Thread t; public void init() { t = new Thread(this); t.start(); } public void paint (Graphics g) { g.drawString(Message, 50, 25); } pub...
14.380952
59
0.624172
4d74cbedaf979e979975b135156c8fbbb16ee001
1,424
package cms.rendner.hexviewer.view.components.areas.common.painter.background; import cms.rendner.hexviewer.view.JHexViewer; import cms.rendner.hexviewer.view.components.areas.common.Area; import cms.rendner.hexviewer.view.components.areas.common.AreaComponent; import cms.rendner.hexviewer.view.components.areas.common...
37.473684
127
0.752107
5c8a29ac73e945db446e7aa6c7a831a536e75414
259
package com.github.dakusui.jcunit8.examples.flyingspaghettimonster; public class FlyingSpaghettiMonster { public void cook(String dish) { } public void eat() { } public void serve() { } public void takeOff() { } public void perch() { } }
17.266667
67
0.683398
231e4c1aa11a225da1b2ee396a80cd1d7f588e86
1,746
package cn.kkmofang.game; import android.graphics.Paint; import android.graphics.Typeface; import cn.kkmofang.view.value.Pixel; /** * Created by hailong11 on 2018/7/19. */ public class TextPaint extends android.text.TextPaint { public float maxWidth = 0; public int strokeColor = 0; public float strok...
31.745455
139
0.62142
bc042168cb5b1538b83cf45c5d37a4aeec82d7de
515
package br.com.anymarket.sdk.exception; import java.util.Map; /** * Created by marcio.scharam on 18/03/2016. */ public class HttpClientException extends AnymarketSDKException { public HttpClientException(String message) { super(message); } public HttpClientException(String message, String deta...
23.409091
95
0.704854
a74fc3f87e85c9bed94ff5efcec715cd3f004ce7
3,764
package com.conveyal.r5.analyst; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.*; /** * Test the class that aligns grids of different dimensions at the same zoom level, unifying their 1D index...
43.767442
119
0.677736
ac8e00270c22daeaba928f5a2cec302cb8dc557e
451
package cn.chenhenry.java.ocpjp.chapter8.course; import java.time.Instant; import java.time.LocalDateTime; public class UsingInstant { public static void main(String[] args) { Instant currTimeStamp = Instant.now(); System.out.println(currTimeStamp); System.out.println(currTimeStamp.getEp...
23.736842
59
0.702882
9622a08614ec3589a7080908d57520194f4e5bc1
1,959
package ExcelSheetColumnTitle; public class Solution { char[] alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray(); public String convertToTitle(int n) { StringBuilder sb = new StringBuilder(); while(n > 0){ n--; char ch = (char) (n % 26 + 'A'); n /= 26; ...
29.681818
115
0.432874
9a934f2f4a558e8484d8a3049b605ba999e4ae05
2,946
package io.bosch.measurement.controller; import io.bosch.measurement.performance.MeasureService; import io.bosch.measurement.performance.Request; import lombok.RequiredArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.we...
46.03125
118
0.722675