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
8435485b1fc42b5ae4a98ac9e186704ff4d50b9e
726
package engine.sprites.properties; /** * Speed property implemented by launcher. Determines how fast projectiles move after * being launched by Launcher object. * * @author Katherine Van Dyk * @date 4/7/18 * */ public class SpeedProperty extends UpgradeProperty { /** * Constructor that takes in c...
21.352941
85
0.655647
db79ca65af6add2e3b7b09887507c061b798da9d
4,965
package pro; import static java.lang.System.exit; import java.util.Scanner; public class Pro { public static void main(String[] args) { int amt=0,unit=0; Scanner scan =new Scanner(System.in); for(;;){ System.out.println(" 1: INDUSTRIAL USER 2:COMMERCIAL USER 3:PUBLIC USER ...
49.65
123
0.281571
8b25d6afe885c29f2d2e294a6bb2aaf95e9090d5
11,598
package com.zolve; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.TextView; import android.widget....
43.931818
138
0.57234
26a6dff98a273f4b5f773f4b669c2daedbab84df
67
package android.pkg; public class AClassWithoutAndroidAssert { }
11.166667
41
0.80597
e1574e18441b5e23af923aab5ff25417f7c36a84
3,977
package net.minecraft.block; import java.util.List; import net.minecraft.block.BlockFalling; import net.minecraft.block.material.MapColor; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockState; import net.minecraft.block.state.I...
33.70339
140
0.694493
e0852c65d6b117ffc5f7467a0c7913822c56393e
550
package de.unisiegen.gtitool.core.entities.listener; import java.util.EventListener; /** * The listener interface for receiving modify status changes. * * @author Christian Fehler * @version $Id: ModifyStatusChangedListener.java 1372 2008-10-30 08:36:20Z * fehler $ */ public interface ModifyStatusCh...
22.916667
75
0.727273
72407581982604c89e95074cfe1f56453611a81c
919
package com.example.mert.stoktakip.models; /** * {@code KarCiroBilgisi} sınıfı bir zaman aralığı içinde yapılan ciro ve kar miktarını tutuyor. * Örneğin: * Zaman - Kar(TL) - Ciro(TL) * 15 Haz - 728.30 - 140.95 * Aralık - 12573.15 - 1128.00 * 2019 - 95833.45 - 7985.20 */ public class KarCiroBilgisi { private...
20.422222
96
0.593036
95127c686a0be5e9442c4d9587e2d92890f6166a
865
package quanta.types; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import quanta.config.ServiceBase; import quanta.model.NodeInfo; import quanta.mongo.MongoSession; import quanta.mongo.model.SubNode; import quanta.request.CreateSubNodeRequest; import quanta....
30.892857
116
0.778035
4eaad9b1c61b8392b74b353a515381ef10023a2a
13,595
/* * TACDocumentSet.java * * Created on May 5, 2008, 10:18 AM * */ package gr.demokritos.iit.tacTools; import gr.demokritos.iit.jinsect.storage.IFileLoader; import gr.demokritos.iit.jinsect.structs.CategorizedFileEntry; import gr.demokritos.iit.jinsect.structs.IDocumentSet; import gr.demokritos.iit.jinsect.utils...
37.555249
113
0.609268
f0320e8c0b37a542edfdf96f382d49a62dc89cb7
2,620
package com.projectd.colorfullife.view.game; import android.graphics.Color; import android.graphics.RectF; import android.text.Layout.Alignment; import com.projectd.colorfullife.R; import com.projectd.colorfullife.CacheManager; import com.projectd.colorfullife.DataManager; import com.projectd.framework.WindowBase; im...
28.791209
100
0.752672
121bd9dc8e3b2571c2f6e93cd5c8ef30c6b78e21
1,296
package com.elepy.auth; import java.util.Arrays; import java.util.Collection; import java.util.Set; import java.util.TreeSet; import java.util.stream.Collectors; public class Permissions { public static final String SUPER_USER = "owner"; public static final String CAN_ADMINISTRATE_FILES = "files"; public ...
33.230769
112
0.716049
70d12f90304b710b2b3a5a5c88dfaa0304678d63
6,636
package edu.indiana.soic.spidal.damds.timing; import com.google.common.base.Stopwatch; import edu.indiana.soic.spidal.damds.ParallelOps; import mpi.MPIException; import java.nio.LongBuffer; import java.util.Arrays; import java.util.OptionalLong; import java.util.concurrent.TimeUnit; import java.util.stream.IntStream;...
35.111111
94
0.582881
b9dc3067ecb9e2dc0876d177c75b98969ef4191b
10,365
package com.jthink.shop.facade; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import ...
39.261364
135
0.744139
ce8586a709c89e56262bdadbd0dc13369a7a4c23
1,216
package com.lab.nosql.aop; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.springframework.stereotype.Component; import org.springframework.validation.BindingResult; import org.spr...
31.179487
113
0.669408
695b3c378976632ef351dc4180172139d9e14d3c
9,677
package com.elong.pb.newdda.client.router.parser; import com.alibaba.druid.sql.ast.SQLExpr; import com.alibaba.druid.sql.ast.SQLObject; import com.alibaba.druid.sql.ast.expr.SQLBinaryOpExpr; import com.alibaba.druid.sql.ast.expr.SQLIdentifierExpr; import com.alibaba.druid.sql.ast.expr.SQLMethodInvokeExpr; import com.a...
38.249012
199
0.634597
74f2ad2935257f39396535ddde868ec97b6f51a8
19,495
package team1.PageRankScoringFilterPlugin; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Collection; ...
41.042105
169
0.68397
860c8f00edd54dc3a84d0df7d6b9fda234f02b3f
2,106
package dera.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; public final class CollectionUtil { private static final Logger LOG = LoggerFactory.getLogger(CollectionUtil.class); private CollectionUtil() { } public static Set newSet(Object... elements) { r...
30.970588
114
0.47151
3454251944972bc1df7b4e0577933e5131f46ba2
779
package shadows.hitwithaxe.block; import net.minecraft.block.state.IBlockState; import net.minecraft.util.BlockRenderLayer; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import shadows.hitwithaxe.EnumBarkType; public class BlockDebarkedSpectre ...
24.34375
108
0.802311
208f8e6b3325054265e348b55d39cf4c82de9d88
8,617
/** * */ package io.github.luzzu.linkeddata.qualitymetrics.intrinsic.syntacticvalidity; import java.io.FileReader; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.jena.graph...
36.054393
142
0.746664
90273e434b4ecfd74c7eebe77e22fe3e474bb077
3,730
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.603604
100
0.735121
32a47673803e0ce83c8bc896dbdac9b54721dbe1
3,803
/* * Copyright (c) 2020-2021 Polyhedral Development * * The Terra Core Addons are licensed under the terms of the MIT License. For more details, * reference the LICENSE file in this module's root directory. */ package com.dfsek.terra.addons.ore.ores; import net.jafama.FastMath; import java.util.Map; import java...
41.336957
120
0.512753
8d05d51b3514774ab08b421509326b0fa0be6c93
5,121
package basic; import java.security.*; import java.util.*; public class Matrix { public static void main (String [] args) { int u=4,w=3,t=5,v=0,s=10000,y=0,x=0,z=0; Random rnda = new Random(); Random rndb = new Random(); Random rndc = new Random(); Random rndd = n...
37.379562
52
0.347784
2ffc7fd55e70a5db14ec449da4aa3defb1766840
2,100
package org.spoofax.jsglr2.tests.sdf; import java.io.IOException; import java.net.URISyntaxException; import org.junit.Test; import org.spoofax.jsglr.client.InvalidParseTableException; import org.spoofax.jsglr2.parsetable.ParseTableReadException; import org.spoofax.jsglr2.tests.util.BaseTest; import org.spoofax.jsglr...
39.622642
120
0.73
a2161d7ca82cf60cfd4b8d3bcb3c8d791e2809d0
312
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: grpc/metric_master.proto package alluxio.grpc; public interface ClearMetricsPRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:alluxio.grpc.metric.ClearMetricsPRequest) com.google.protobuf.MessageOrBuilder { }
31.2
91
0.804487
fcb2bf3424ce5d561b991dad33c8a3d86ddb5e20
430
package com.tokelon.toktales.samples.desktop.application; import com.tokelon.toktales.core.game.IGameAdapter; import com.tokelon.toktales.desktop.application.TokTalesApplication; import com.tokelon.toktales.samples.core.DefaultAdapter; public class DefaultApplication extends TokTalesApplication { @Override ...
26.875
68
0.8
7fe2432b379a962704b52587e274ec30fc69b6dc
2,565
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 彩票赠送订单 * * @author auto create * @since 1.0, 2017-07-24 14:37:51 */ public class LotteryPresent extends AlipayObject { private static final long serialVersionUID = 333558529258...
19.141791
102
0.672904
fb3acca43dc7298b876ad9588be0f9a36e40c0c3
2,355
/* * Copyright 2018 John Grosh <john.a.grosh@gmail.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.130435
87
0.686624
1d21a96dc4c66ac0f454a6f67f5e9df828921fdd
19,008
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.internal.ads; import java.math.BigInteger; import java.security.*; import java.security.interfaces.ECPrivateKey; import jav...
46.817734
238
0.578546
00611bf67bb2d424a83bdc93d777684b8217cdf6
1,904
/**Copyright 2013 The Cybercat project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
26.816901
122
0.6875
980b3724cfcb67a6e05f149ea9afcd4d6d1ff774
5,546
/** * Copyright 2015-2018 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 appl...
33.817073
83
0.723585
e2712065cb059fc5b0383e6a63ff1553f0d991e8
778
package com.flying.email.service; import com.flying.email.bean.ConnectInfo; import com.flying.email.dao.IConnectinfo; import com.flying.email.daoimpl.ConnectInfoImpl; import com.flying.email.factory.ConnectionFactory; /** * auth:flying date:2017年7月27日 **/ public class ConnectInfoService { //// 数据操作接口 private ICo...
22.228571
87
0.728792
68849a4d69f6ae364684a21dd74264aded9d14ce
1,704
package com.sqap.ui.config; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.ReflectionUtils; public class CustomErrorFilter extends ZuulFilter { private static final Logger LOG = LoggerFac...
34.08
121
0.642019
f7a68c74422be45d15a239cabf363adce847dcb3
969
package org.metricity.metric.service; import java.util.function.Consumer; import java.util.stream.Stream; /** A structure that provides information about the current state of metric value computation */ public interface MetricWork { /** @return Whether metric value computation is currently executing or schedu...
35.888889
117
0.734778
2f67688c475bd665af4e5e52d46a42bafe05c7bc
3,490
/* * Copyright (c) 2016 Spotify AB. * * 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...
34.9
91
0.740115
57be52b917600aff3e33d9acd1823daf7ca964e8
1,246
import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; import java.util.regex.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; pub...
28.976744
105
0.545746
fe7c8d185d8d313c67e5d1ca2484203cd14edc98
1,364
package com.xtremelabs.robolectric.shadows; import android.util.SparseArray; import android.util.SparseIntArray; import com.xtremelabs.robolectric.internal.Implementation; import com.xtremelabs.robolectric.internal.Implements; import com.xtremelabs.robolectric.internal.RealObject; @Implements(SparseIntArray.class) p...
21.650794
71
0.734604
83bbc8704b909bb83351eb4fc4dbdc415db9f477
134
package de.fraunhofer.abm.domain; public class ProjectDTO { public String id; public String cp; public String libcp_defaults; }
13.4
33
0.768657
6f97a2251fca4326c1af8c6fa787af657c75c936
2,638
package org.xcolab.view.pages.proposals.requests; import org.xcolab.client.contest.proposals.StaticProposalContext; import org.xcolab.util.enums.promotion.JudgingSystemActions; import org.xcolab.view.pages.proposals.wrappers.ProposalFellowWrapper; import java.io.Serializable; import java.util.List; public class Fel...
33.820513
98
0.74602
fa8decbfda510fdd7cfcfd67f4aebdf8ee128205
2,716
package com.jet.jet.action; import android.app.Activity; import android.support.annotation.CallSuper; import android.support.v4.app.Fragment; import android.view.View; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; /** * 通用Action,注解有各自处理类 * * @author zhengxiaobin * @...
24.25
100
0.596465
69e542d37721eee894f9e7d0963d55ed9c6c6748
279
package com.mathtabolism.util.unit; /** * An enum representing the types of Units available in a Unit System. * <p> * These values are {@link #DISTANCE}, {@link #WEIGHT}, and {@link #VOLUME} * * @author mlaursen * */ public enum UnitType { DISTANCE, WEIGHT, VOLUME, }
19.928571
75
0.670251
499b937e4b218299ba0650773e25e7a12999ecd4
30,488
package gameObjects.crud; import authoringUtils.exception.*; import conversion.authoring.SavedEntityDB; import conversion.authoring.SerializerCRUD; import gameObjects.IdManager; import gameObjects.IdManagerClass; import gameObjects.ThrowingBiConsumer; import gameObjects.ThrowingConsumer; import gameObjects.category.Ca...
35.327926
172
0.659473
9eba61e69bdf53eba31473606f73bcb6be4c0ebb
11,650
package com.emistoolbox.server.renderer.gis.impl; import java.awt.Color; import java.awt.Font; import java.awt.FontMetrics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Shape; import java.awt.geom.AffineTransform; import java.awt.geom.GeneralPath; import java.awt.geom.PathIterator; imp...
36.292835
179
0.553648
19665eea1dca3a1bb8a70f751dd64615b5db80db
2,277
package com.hdsf.base.file; import java.io.IOException; import java.nio.file.FileSystems; import java.nio.file.FileVisitOption; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.PathMatcher; import java.nio.file.Paths; im...
23.71875
101
0.71278
7c9589be028238d62762acaccc202c2ab67843c9
4,077
/* * Copyright 2012 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...
38.462264
134
0.676968
abd3e3d99580cb1bc9cac0ef67eefac2e946ad56
1,591
package br.com.zupacademy.breno.casadocodigo.validator; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import br.com.zupacademy.breno.casadocodigo.cliente.ClienteRequest; import br.com.zupacademy.breno.casadocodigo.estado.Estado; import br....
30.596154
91
0.680704
884ec8a28e29377b4df7f585c496f101ea3165f7
2,297
package org.aigor.r2dbc.presto; interface PrestoSampleQueries { String HELLO_QUERY = "select " + "15 as day, " + "'February' as month, " + "'Lviv' as city, " + "'Java Day Lviv' as event"; String TPC_H_QUERY_5 = "SELECT\n" + " n.n...
32.352113
77
0.393992
e8e8de411fdbe1b58b8fdf0c2051c8697e447087
3,657
package com.dbspring.domain; import javax.persistence.*; import java.util.Set; @Entity @Table(name = "fastfood") public class FastFood { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "fastfood_id", nullable = false) private Long fastfood_id; @Column(name = "fastfood_name", nul...
34.17757
133
0.643697
3ed82b147ca8215738bd0d681ede502b6517b1af
1,013
package com.sree.textbytes.jtopia; /** * * @author Sree * * Configurations for different POS taggers, filter values * * */ public class Configuration { static String taggerType = ""; static int singleStrengthMinOccur; static int noLimitStrength; static String modelFileLocation = ""; ...
19.480769
61
0.699901
f450a34b0ea8aa4e07d6da2d09bf63b4446eef95
1,315
package com.github.llyb120.namilite.init; import org.springframework.boot.context.properties.ConfigurationProperties; import java.util.ArrayList; import java.util.List; /** * @Author: Administrator * @Date: 2020/9/20 18:43 */ @ConfigurationProperties(prefix = "nami") public class NamiProperties { private Lis...
23.909091
75
0.681369
7f9227ef96c939744193d8312807a69da8171671
4,083
/* * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. * 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...
34.310924
116
0.782513
74f0cc545bdb3985ebbf1203828c0867f9d368d7
916
/* * Copyright (C) 2018 NickAc. * * 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 w...
22.341463
75
0.680131
5e4988cdb041c85acbcf89df65baaa70491611d5
8,353
/* * 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 ...
32.375969
107
0.72465
9c597aaa1b63d3d3dae78c5c28de25ed1ff12ed9
2,100
/* * Copyright 2015 TheShark34 * * This file is part of OpenAuth. * OpenAuth is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later vers...
23.863636
78
0.622857
f03c28f5104daf1615427d17402fd25c3dc79b47
1,733
package com.tysonmak.states; import com.tysonmak.application.Application; import com.tysonmak.graphics.Assets; import com.tysonmak.graphics.FontLoader; import com.tysonmak.states.manager.GameState; import com.tysonmak.states.manager.GameStateManager; import java.awt.*; import java.awt.event.KeyEvent; public class Sp...
28.409836
140
0.605886
b5941835ecc25b8beb48c1719d45a4006235e1f9
563
package dora.permission.notify; import dora.permission.Action; import dora.permission.Rationale; public interface PermissionRequest { /** * Set request rationale. */ PermissionRequest rationale(Rationale<Void> rationale); /** * Action to be taken when all permissions are granted. */ ...
20.107143
59
0.65897
701d2f54f5c3fd68120bbcd503df20c58a6b066f
1,624
package com.sanri.tools.modules.core.dtos; import com.fasterxml.jackson.annotation.JsonIgnore; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileTime; /** * 用于向前端展示文件信息 * 文件名+是否是目录 */ public class Con...
26.193548
123
0.678571
89d872ca09f62f31b66cb63ccea92cd91966a420
4,010
/* * 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 * distr...
33.983051
99
0.642394
55f1fcd5e9dc2463aa2381f0adf5141d97b99148
1,451
package com.Spring.Blog.Models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class User { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String firstName; ...
19.092105
91
0.616127
82b380070b14b29ce3d5e1c1586ce5a342944a52
2,200
package org.reldb.rel.v0.storage.relvars.external.jdbc; import org.reldb.rel.v0.storage.relvars.external.Info; import org.reldb.rel.v0.storage.relvars.external.InfoComponent; import org.reldb.rel.v0.storage.relvars.external.InfoComponentOption; public class InfoJDBC extends Info { @Override public String getIdent...
27.5
122
0.720909
d572729e93f861e76cc4a09cae276e644d9a8658
322
package com.example.mchapagai.fragment; import android.os.Bundle; import dagger.android.support.DaggerFragment; public class BaseFragment extends DaggerFragment { public BaseFragment() { } @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } ...
18.941176
53
0.73913
1a32a3627d1709228cc77e44ff936e3d5d40b5ce
14,381
package Gui; import Game.*; import java.awt.event.KeyEvent; import java.util.List; import javax.swing.*; import javax.swing.border.CompoundBorder; import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import java.awt.*; import java.awt.event.ActionEvent; /** * The entire game view */ public ...
33.135945
151
0.594952
05677af0e484cb623c386fd73410e67f11476d0f
1,812
package com.github.flaxsearch.util; /* * Copyright (c) 2016 Lemur Consulting Ltd. * * 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...
30.711864
80
0.718543
1b8eb1e3df74ba8a5dead02efc820f6586ec9138
817
package com.alvis.exam.service; import com.alvis.exam.domain.Chapter; import com.alvis.exam.viewmodel.admin.user.ChapterVM; import java.util.List; /** * @author yangsy * 章节管理 */ public interface ChapterService { /** * insertChapter *添加章节 * @param chapter */ void insertChapter(ChapterVM...
17.020833
54
0.615667
cadade6ed6ac3452db05d1f2ab92b38af704fe8f
2,737
/* ========================================================= * IPropertySet.java * * Author: kmchugh * Created: 12-Dec-2007, 16:06:03 * * Description * -------------------------------------------------------- * Interface for controlling a property bag * * Change Log * ------------------------------...
32.583333
110
0.588966
d3b877e942bb4987441d5ab5158d63a5b383d313
2,694
package com.lanking.uxb.service.data.api.impl.job; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.alibaba.fastjson.JSON; import com.dangd...
30.965517
102
0.782108
06a6c75e83dca3fcb9ec0360aad79ce4a0a7e217
95
package dataBase; public abstract class Domain { public abstract Domain clone(); }
11.875
33
0.684211
2d24407935dc04a379fc34b084ba58e09d175b84
232
package havis.llrpservice.sbc.rfc; public class RFCTimeoutException extends RFCException { private static final long serialVersionUID = -2740304948236198088L; public RFCTimeoutException(String message) { super(message); } }
21.090909
68
0.801724
fb711c349a33769c616b4fde85b7907f3939b007
1,405
/* * This class was automatically generated with * <a href="http://www.castor.org">Castor 0.9.7</a>, using an XML * Schema. * $Id$ */ package auth_2_0; //---------------------------------/ //- Imported classes and packages -/ //---------------------------------/ import java.io.Serializable; im...
19.513889
66
0.442705
6879d27f59cf2dd81d87d4588dfb90d572d8c154
9,599
/* * MIT License * * Copyright (c) 2021-2022 Jannis Weis * * 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, mo...
37.496094
104
0.512553
87bf5cdfa97930c16c4f9861d52f86459855a98d
6,809
/* * Copyright 2017 Otavio R. Piske <angusyoung@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
38.468927
112
0.715524
c1febf37d608cea00001072388fb69b4e047dad4
4,222
package com.mingrisoft; import android.app.Activity; import android.os.Handler; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; impo...
43.979167
92
0.575793
fc3b9f07de1d6f2125d12da8889426ef349986d5
13,757
package cz.metacentrum.perun.core.impl.modules.attributes; import cz.metacentrum.perun.audit.events.AuditEvent; import cz.metacentrum.perun.audit.events.GroupManagerEvents.DirectMemberAddedToGroup; import cz.metacentrum.perun.audit.events.GroupManagerEvents.IndirectMemberAddedToGroup; import cz.metacentrum.perun.audit...
51.913208
174
0.796685
836c375e8ef5221e400c5529d9c963e607bae0db
7,955
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
26.694631
113
0.709114
5c1b8526e319af5a85f154a414b0e64bae9bbe5c
437
class Solution { public boolean XXX(TreeNode root) { if(root == null) return true; if(Math.abs(getTreeHeight(root.left) - getTreeHeight(root.right) > 1) return false; return XXX(root.left) && XXX(root.right); } private int getTreeHeight(TreeNode root) { if(ro...
29.133333
91
0.604119
fdc73bf843c09c986550cd77b2f32e74a79bd803
741
package io.oneko.projectmesh.rest; import java.util.ArrayList; import java.util.List; import java.util.UUID; import io.oneko.automations.LifetimeBehaviourDTO; import io.oneko.deployable.AggregatedDeploymentStatus; import io.oneko.deployable.DeploymentBehaviour; import io.oneko.namespace.rest.NamespaceDTO; import lomb...
28.5
63
0.840756
40b13eba20c30cba493b0b3e9fcc78d11124d285
282
package business; public class CourseFullException extends Exception { public CourseFullException() { super("Course enrollment limit reached. No more students can be registered."); } public CourseFullException(String message) { super(message); } }
23.5
86
0.702128
99d2ac31e6f8536dbfab0c8f35a611f9f12a5bc0
7,633
/* * Copyright (c) 2016, Salesforce.com, Inc. * 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 retain the above copyright notice, this list of cond...
26.876761
109
0.651251
d3d6d3660eb364b3f75845324a82406af1ed2074
285
package Compiler.AST; import Compiler.Utils.Position; public class NullLiteralNode extends ConstExprNode { public NullLiteralNode(Position position) { super(position); } @Override public void accept(ASTVisitor visitor) { visitor.visit(this); } }
19
52
0.694737
7678962434aaab0393914fc6ce1142b680b776b3
517
import java.util.ArrayList; import java.util.List; public class _0094BinaryTreeInorderTraversal { public List<Integer> inorderTraversal(TreeNode root) { List<Integer> list = new ArrayList<Integer>(); if (root == null) return list; list.addAll(inorderTraversal(root.left)); list.add(root...
24.619048
58
0.659574
aedbfd764438b85bc5bda654fe77f35fc25984df
2,223
package com.nasa.api.scrapper; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.S...
31.309859
102
0.786775
b98479fb25d04390a6677d90f9d20b3bdef3ad48
2,826
package frc.robot.commands.autocommands; import java.util.List; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.command.CommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import frc.robot.subsystems.DriveTrainSubsystem; import frc.robot.subsystems.ShootingSubsystem;...
55.411765
104
0.710545
bdc3ca75c3b3af867787573bc0671035d2fb8761
11,219
/* * Copyright (c) 2002-2010 Atsuhiko Yamanaka, JCraft,Inc. All rights reserved. * Copyright (c) 2010-2011 Michael Laudati, N1 Concepts LLC. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions...
33.89426
114
0.688208
af81ecd1d5899046b133fad25af5bc06257eae53
2,109
package analysis.typeinfo; import analysis.typeinfo.nonPrimativeTypes.*; /** *. * SpecialType class provides static members which are * implementation of Type class * * @author rezae, ahmad hussein * * @see Type We have three special type: Null * @see Null Undefined * @see UNDEFINED Empty * @see EMPTY...
26.037037
68
0.485538
5d385ff8019d79e5a8953dea07c670728b21f95f
2,139
package ru.ingvord.http2.rest; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; import javax.ws.rs.sse.OutboundSseEvent; import javax.ws.rs.sse.Sse; import javax.ws.rs.sse.SseBroadcaster; import javax.ws.rs.sse.SseEventSin...
28.52
77
0.570827
f67a2680096ec985f222af68e503ea3573817589
1,319
package se.magnus.api.composite.product; import java.util.List; public class ProductAggregate { private final int productId; private final String name; private final int weight; private final List<RecommendationSummary> recommendations; private final List<ReviewSummary> reviews; priv...
24.886792
63
0.636088
b01029e553de6d3d80e733c78906b8237f47c08e
14,269
/* */ package me.ninethousand.ninehack.feature.features.client; /* */ /* */ import java.awt.Color; /* */ import java.util.Objects; /* */ import me.ninethousand.ninehack.NineHack; /* */ import me.ninethousand.ninehack.event.events.Render2DEvent; /* */ import me.ninethousand.ninehack.fe...
58.004065
389
0.590721
2ceacb908f505b09b51c645fd8a62e64c8008d95
288
package org.firstinspires.ftc.teamcode; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; @Autonomous(name="RED: KBEMC2 Auto", group="KBEMC2") public class AutoRed extends Auto { @Override protected Utilities.Side getSide() { return Utilities.Side.RED; } }
24
58
0.732639
22892942e50658f4b2d1ab1f1b2880f8551ebc0f
2,541
package us.innodea.aws.springboot.crud.filter; import com.amazonaws.serverless.proxy.RequestReader; import com.amazonaws.serverless.proxy.model.AwsProxyRequestContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterCo...
38.5
113
0.730815
b71dc74a99c3f1d8f64784bf555f8a232e8979f7
2,866
/* * Zyonic Software - 2020 - Tobias Rempe * This File, its contents and by extention the corresponding project may be used freely in compliance with the Apache 2.0 License. * * tobiasrempe@zyonicsoftware.com */ package com.zyonicsoftware.maddox.core.engine.handling.privatemessage; import com.zyonicsoftware.madd...
31.494505
153
0.690509
47da4d98c243c7e3df9fe953659188a5edb1d273
361
package ca.utils.web.exceptions.headers; /** The exception throws if the key of the header is null or empty. */ public class KeyHeaderNullException extends Exception { /** Initialize a new instance of {@link KeyHeaderNullException} is null or empty. */ public KeyHeaderNullException(){ super("A header'...
36.1
89
0.711911
a8aa409895e64101d84b7eae4719242f65872b9e
3,610
/** */ package IFML.Core.impl; import IFML.Core.CorePackage; import IFML.Core.UMLDomainConcept; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.uml2.uml.Clas...
22.993631
135
0.663712
9b6b08f72d5e6ab986b6ae6e8acf8caae56b03de
2,265
package com.ruoyi.web.controller.system; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.common.utils.MinioUtil; import io.swagger.annotations.ApiOperation; import org.apache.tomcat.util.http.fileupload.IOUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
38.389831
173
0.707726
4588e90af04255b662b0bfa75228ae7ea63cf235
2,617
/* * Copyright (c) 2012-2017 ZoxWeb.com LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
23.366071
99
0.670997
7f063f2363440245fadde472510e86ef7dd91ce7
2,118
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
51.658537
147
0.829084
011330f67df1ca4a992f4eecbbca29ba8ab695db
928
package com.zte.mao.common.service; import java.util.List; import com.zte.mao.common.entity.UserEntity; public interface UserService { /** * 添加用户 * @param user */ void add(UserEntity user) throws Exception; /** * 更新租户用户 * @param user */ void update(...
21.090909
82
0.578664
57113a18702bc266ff2b2f852b81895adad5770c
2,953
package com.adaptris.kubernetes.metrics.prometheus; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.isNull; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; impor...
27.342593
115
0.781917
95ee566e0648082495cb2fab5e3fdcaab2d0bd4c
187
package cs652.j.codegen.model; /** * Created by tuo on 01/04/17. */ public class PrimitiveType extends Type { public PrimitiveType(String name) { super(name); } }
14.384615
41
0.631016
de1526ea7a98616ee6a49643c2c441ac6b764c2f
553
package com.github.rstockbridge.showstats.database; import androidx.annotation.NonNull; public final class ShowNote { @NonNull private final String id; @NonNull private String text; ShowNote(@NonNull final String id, @NonNull final String text) { this.id = id; this.text = text; ...
17.28125
68
0.614828
65e9ede88d4c13bde90adbd6bd5af9efae84ae6c
3,174
package org.firstinspires.ftc.teamcode.finals; import com.acmerobotics.roadrunner.geometry.Pose2d; import com.acmerobotics.roadrunner.geometry.Vector2d; import com.acmerobotics.roadrunner.trajectory.Trajectory; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.Li...
35.266667
128
0.689351
da8ae88adefbb31060b469724277a328d1bf5a47
55
package settings; public class SettingsEditorTest { }
11
33
0.8