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
29aae679af86deee5ac595754c7465bb7c62b6cd
1,988
package io.joyrpc.protocol.grpc; /*- * #%L * joyrpc * %% * Copyright (C) 2019 joyrpc.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/LI...
29.235294
88
0.676559
a7f168af9e0f2977c125e25d51e2d2fff6d5fd4e
1,861
/* * 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 ...
37.22
95
0.74691
a2ae592b72fcd3810cae715213d1d7c4420b1a0d
262
package restful.context; /** * @author André Schmer * */ public class RestfulContext { private static String token; public static void setToken(final String logintoken) { token = logintoken; } public static String getToken() { return token; } }
13.1
55
0.70229
31e8222809bca12f21a774409a6a65338ed86707
153
package io.gunmetal.sandbox.testmocks; import javax.inject.Inject; /** * @author rees.byars */ public class Z { @Inject public Z() { } }
11.769231
38
0.627451
8ec336d865695ac83a72da7ba49f5365dd322e99
2,233
/* * JBoss, Home of Professional Open Source. * Copyright 2013, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
36.606557
111
0.737573
41a329716a5992b702a96fbafe77d0d1ada55c10
11,529
package markpeng.kaggle.mmc; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.StringReader; import java.util...
28.257353
134
0.644028
1c556bd34a29e0d81fe26f4d47a4af9c3b058fde
1,477
/* file: LeafNodeDescriptor.java */ /******************************************************************************* * Copyright 2014-2021 Intel Corporation * * 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 t...
34.348837
102
0.659445
8732d5901ba5784247f7f62753feecfd703546c7
92
/** * Support for the {@code adapter:} JNDI scheme */ package com.adaptris.naming.adapter;
23
47
0.706522
4e9d743c43514391a34b5461f67f0e89c89b0af2
2,540
package org.s3s3l.yggdrasil.starter.datasource; import java.sql.Timestamp; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Properties; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annota...
32.987013
91
0.767323
6344318fdfcf80dcf6909db564a4f6c83ee57cbb
1,818
package com.reactnativecommunity.webview; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.ReactApplicationContext; import java.util.List; import kotlin.Metadata; import kotlin.collections.CollectionsKt; import kotlin.jvm.internal.Intrinsics; @Metadata(mo40251bv = {1, 0, 3}, mo40252d1 = {"\u00...
79.043478
906
0.79758
0cee380df4c7e73e43511d78769847fd0059921b
1,130
package uk.org.grant.getkanban; public class WipLimitAdjustment { private final int expedite; private final int selected; private final int analysis; private final int development; private final int test; private final int day; public WipLimitAdjustment(int day, int expedite, int selected,...
23.541667
127
0.597345
ed8b983bfd562adea4dd2ec8e9de8fe3cee305d7
10,144
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.myapp.struts.election_manager; import com.myapp.struts.hbm.ElectionManagerDAO; import com.myapp.struts.utility.AppPath; import com.myapp.struts.utility.UserLog; import javax.servlet.http.HttpServletRequest;...
39.625
131
0.568218
1a07203056b2afa7a15dc8b3cc6877bc3ed08fdd
3,339
package org.codelogger.utils; public class PrintUtils { private PrintUtils() { } /**************** * For boolean. * ***************/ public static void print(final boolean[] arg0) { print(ObjectUtils.toString(arg0)); } public static void println(final bool...
19.757396
64
0.467206
1068160fb78bd01e827d3b3bbdd2a6f28f1cdae9
785
package com.privatekit.server.filter; import org.springframework.util.AntPathMatcher; import java.util.Arrays; import java.util.HashSet; import java.util.Set; public class CaptchaFilterPathMatcherElement { public static CaptchaFilterPathMatcherElement from(String pattern, String... methods) { return new...
29.074074
99
0.736306
3a4e54854b63c5a13ee18a0c129968d5093a7f2b
337
package com.gjyl.appserver.service; import com.gjyl.appserver.pojo.Collect; import java.util.List; public interface CollectService { Boolean collectCycl(Collect collect); Boolean cancleCollect(String userId, String cyclId); Boolean isCollected(String userId, String cyclId); List<Collect> getCollectByUserId(S...
19.823529
53
0.79822
b4326a687674582018005207d0a2d2469cc0f2a3
5,961
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
32.048387
86
0.768495
e3a27d60494411f058c05c676b3b163c34c829b1
7,709
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
41.67027
132
0.792191
3bf950b688afb0eaf7458d382827b7a1bbd71024
15,118
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 ...
14.480843
810
0.800833
963a6a676083a5a1c3b15f982215d0bce11e11df
89
package com.mark.design.chain_of_responsibility; public class Level { // 定义一个请求和处理等级 }
14.833333
48
0.786517
5e8723ab01d84429fab14b78dbfe85b7dc3e3197
1,090
package com.vitreoussoftware.bioinformatics.sequence; import lombok.val; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.hamcrest.core.IsNull.nullValue; /** * Created by John on 12/4/2016. */ public class InvalidDnaFormatException...
28.684211
68
0.684404
806e0a8c1f879c4dbf65c6211d648e9316bc16fa
2,576
package com.citelic.game.entity.npc.impl.others; import com.citelic.game.engine.Engine; import com.citelic.game.engine.task.EngineTask; import com.citelic.game.engine.task.EngineTaskManager; import com.citelic.game.entity.Animation; import com.citelic.game.entity.Entity; import com.citelic.game.entity.npc.NPC; import ...
27.404255
90
0.688276
2980b624e00702c000499c48c39be4c4880e0c20
1,367
package com.vann.kanxue.api; import android.content.Context; import com.android.volley.Response; import com.android.volley.VolleyError; import org.json.JSONObject; /** * @Author: wenlong.bian 2016-01-04 * @E-mail: bxl049@163.com */ public abstract class VolleyInterface { public Context mContext; public ...
27.34
83
0.651061
bc6413c55393d486cf9a820575237a0ab9606fc6
1,847
package xyz.rexlin600.jaxb.util; import lombok.SneakyThrows; import org.junit.Test; import xyz.rexlin600.jaxb.entity.dynamic.simple.Biscuit; import xyz.rexlin600.jaxb.entity.dynamic.simple.Cake; import xyz.rexlin600.jaxb.entity.dynamic.simple.Order; import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller;...
31.305085
105
0.663238
51e9958473d634bf9c71e19640dee118e8b7fce9
5,487
package org.activiti.cloud.services.audit.mongo.events; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.Js...
34.949045
161
0.740477
d2195e1633b207d059415a239760b8aa5c209209
4,214
package focusedCrawler.target; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import focusedCrawler.target.repository.ElasticSearchRestTargetRepository; import focusedCrawle...
44.357895
99
0.682487
aa16d36a61df43de8ecbff808c71853f1b606f0c
469
package org.proteored.miapeapi.exceptions; public class MiapeSecurityException extends Exception { /** * */ private static final long serialVersionUID = 1L; public MiapeSecurityException() { super(); } public MiapeSecurityException(String message, Throwable throwable) { super(message, throwable); } ...
18.76
69
0.750533
e1d3d2deb1856a0c359724f146b1ecc1b8a3bb6c
1,175
package org.xman.trainings.dates; import org.junit.Test; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class DateFormatTest { private static final String GMT_PATTERN_X = "yyyy-MM-dd'T'HH:mm:ssXXX"; private static final String GMT_PATTERN_Z = "yyyy-MM-dd'T'HH:mm:ss...
26.111111
77
0.646809
9ab1212cfee91b2e50e5d8ab23af650011a1a4c3
3,952
/* * 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.365217
80
0.738866
1a8b75296aa22b04c96a0d021811e47e67123875
1,264
// Generated source. // Generator: org.chromium.sdk.internal.wip.tools.protocolgenerator.Generator // Origin: http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/Inspector.json@96703 package org.chromium.sdk.internal.wip.protocol.output.dom; /** Enters the 'inspect' mode. In this mode, elements tha...
43.586207
158
0.771361
a5d32e2093de5e61cf8ba79ddb53018588aa582e
583
package com.es.agriculturafamiliar.dto.response; import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Builder @JsonIgnoreProperties(ignoreUnknown = true) @AllArgsConstructor...
20.821429
61
0.80446
6a9de8ddb22a3c8afad46360383291195989b279
1,152
package org.nd4j.linalg.jcublas.ops.executioner.kernels.args.impl; import jcuda.Pointer; import org.nd4j.linalg.api.ops.Op; import org.nd4j.linalg.jcublas.ops.executioner.kernels.args.BaseKernelCallPointerArgs; /** * Post process kernel call device pointers * * @author Adam Gibson */ public class PostProcessKerne...
30.315789
86
0.649306
0dddb6465cf6f5f1ba8e4cdcb7b43e7fc135ce0c
1,707
package com.kxj.task; import org.apache.tomcat.jni.Local; import org.springframework.scheduling.annotation.Async; import org.springframework.stereotype.Component; import java.sql.SQLOutput; import java.time.Duration; import java.time.LocalDateTime; import java.util.Random; /** * @author xiangjin.kong * @date 2020/...
32.826923
70
0.662566
b41db58902c7ed776d07e8479d6931ee60f4f631
9,457
/* * Copyright (c) 2010-2021 Haifeng Li. All rights reserved. * * Smile 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 * (at your option) any later version. * * Smi...
35.82197
124
0.56445
c5bc2345fbc28383022e9514b47087acd97a75cc
4,022
package ballModel; import java.awt.Color; import java.awt.Graphics; import java.awt.Point; import java.awt.Rectangle; import javax.swing.Timer; /** * MVC model for the system */ public class BallModel { private int _timeSlice = 50; // update every 50 milliseconds // The model adapter is initialized to a no-op to ...
33.516667
168
0.715813
2e82b347db0da7278adcd0079c330975797d0280
14,946
/* * 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...
41.06044
110
0.598287
2dedea1d9a3e7ec7ab0e20015fc11bb85ed5d195
2,698
package restaurant.layoutGUI; import java.awt.*; import restaurant.layoutGUI.Restaurant; import restaurant.layoutGUI.Table; import restaurant.layoutGUI.Waiter; import restaurant.layoutGUI.Customer; import restaurant.layoutGUI.Food; public class AppWindow { public static void main(String args[]) ...
36.958904
94
0.531134
b05836bc444b9637e09ac2df61ce2448a0764da6
6,230
/* * This Java source file was generated by the Gradle 'init' task. */ package pop3.client; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.text.SimpleDateFormat; import java.util.Locale; import java.util.Properties; import java.util.Scanner; import javax.mail.F...
34.804469
113
0.560514
0c420b78fa0f61b84c2a4ffbeff66fd7e231ce8a
1,055
/* * Created on Jul 22, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package backend.h2PNodes; import backend.h2PFoundation.AcceptReturnType; import backend.h2PVisitors.aVisitor; /** * @author karli * * TODO To ...
22.446809
70
0.611374
22700a3ea5b5004352673b2b9bea67bc21bc1b94
1,895
package java_oc_simple_server; import org.iotivity.*; import org.iotivity.oc.*; public class PostLight implements OCRequestHandler { private Light light; public PostLight(Light light) { this.light = light; } @Override public void handler(OCRequest request, int interfaces) { Syst...
36.442308
95
0.543008
d514e3c3dcfd95307f6726b3fe9a15a70edbda3a
1,162
/** * Package for calculate task. * * @author Ruslan Halmatov (mailto:HalmatovJava@yandex.ru) * @version $Id$ * @since 25.09.2017 */ package ru.job4j.calculator; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** *Класс {@code CalculatorTest} тестирует класс...
27.666667
84
0.635972
7aebd3f60448d6262708094cc3a5b31394299f47
20,717
package org.deeplearning4j.examples.rnn.beer; import java.io.File; import java.nio.charset.Charset; import java.nio.file.FileSystems; import java.util.ArrayList; import java.util.Random; import org.deeplearning4j.examples.rnn.beer.utils.EpochScoreTracker; import org.deeplearning4j.examples.utils.Utils; import org.dee...
50.162228
227
0.683497
678f98b464c473b8bde24e80d036beb15746448f
6,257
/** * 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...
28.058296
97
0.707368
33580552d3c4f2c1589acf2785c3d8af91f74b5e
5,398
/* * 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 ...
41.844961
477
0.709707
c9a1e89b23302297ca7dad52e1a3821c0d1cc436
390
/** * Start klasse * @author Dwight Van der Velpen */ public class Main { /** * het beginpunt van deze oefening * @param args Console argumenten * @see Console */ public static void main(String[] args) { // Console toepassing // Console c = new Console(); // c.Start...
18.571429
44
0.530769
2f3a40050a84b6933506ca6dd9d98fbfbd81cc85
289
package de.gg.game.events; /** * Is posted when the local player enters a house. */ public class HouseEnterEvent { private short id; public HouseEnterEvent(short id) { this.id = id; } /** * @return the id of the entered house. */ public short getId() { return id; } }
13.136364
50
0.647059
b9f9ef96d24f7a3dfd27943bcfb6144790d467fa
10,819
package de.flingelli.weblate; import org.mockserver.integration.ClientAndServer; import org.testng.Assert; import org.testng.annotations.*; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.text.ParseException; import java.text.SimpleDateFormat; impor...
35.356209
182
0.682688
928ff912ed336dda2b91e8b69348ea12b8e7ebcc
15,662
package org.ff4j.cassandra.store; /* * #%L * ff4j-store-cassandra * %% * Copyright (C) 2013 - 2020 FF4J * %% * 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.apac...
39.954082
120
0.655408
6b14d427912e88a24e67f0be1911b55621aed0e6
8,560
package Model; import configuration.GetPropertyValues; import java.util.ArrayList; import java.util.HashMap; /** * @author Rodrigo Araujo * * Purpose: A class that extends the abstract simulation * class and implements the rules to create the Rock, * Paper, Scissors simulation. * * Assumptions: Typically, nega...
32.059925
114
0.556659
bdfdfbe0fd83157a5fc92f47a86ec1c7c8f1ccd5
1,689
package org.mockserver.model; import org.junit.Test; import org.mockserver.collections.CaseInsensitiveRegexHashMap; import java.util.Arrays; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; import static org.mockserver.model.NottableString.not; import static org.mockserver....
29.12069
82
0.639432
2e51d54e2f60466f2fadfebde0c4cc100cfe98e4
2,314
package com.zup.mercadolivre.product.controller; import com.zup.mercadolivre.mailing.Mailing; import com.zup.mercadolivre.product.controller.request.ProductQuestionRequest; import com.zup.mercadolivre.product.controller.response.ProductQuestionResponse; import com.zup.mercadolivre.product.model.Product; import com.zup...
37.934426
154
0.73293
041e73638a8b8f131c900b0150811142b9221622
2,616
package dev.xdark.ssvm.natives; import dev.xdark.ssvm.VirtualMachine; import dev.xdark.ssvm.api.VMInterface; import dev.xdark.ssvm.execution.Result; import dev.xdark.ssvm.mirror.InstanceJavaClass; import dev.xdark.ssvm.util.VMHelper; import dev.xdark.ssvm.value.Value; import lombok.experimental.UtilityClass; /** * I...
36.333333
157
0.716743
51f9f858f49c68c3228171e6a1ddba07aea554d0
495
package net.onrc.onos.core.util.distributed.sharedlog; import com.google.common.annotations.Beta; /** * Listener interface for SharedLogObject consumer. */ @Beta public interface LogEventListener { // TODO Whether to expose logValue is TBD // if exposed, one may manually apply logValue without going throug...
24.75
80
0.707071
b643fc2f5503fe5a12d69c6bd4cd2bc27631e957
8,185
package com.haoji.haoji.video.record.weight; import android.content.Context; import android.opengl.GLSurfaceView; import android.os.Handler; import android.text.TextUtils; import android.util.AttributeSet; import android.view.SurfaceHolder; import com.haoji.haoji.video.HeyhouPlayerRender; import com.haoji.haoji.video...
25.738994
114
0.58595
3313125a5b57fe83599d219394a7b763c309fd43
56
/** * 枚举类 */ package com.baomidou.hibernateplus.enums;
14
41
0.696429
7ca5fa5b7c028ac452bfc8faa72ae9af42ff3087
6,699
public enum Op { SuccessfullyRegistered, // Registrazione avvenuta con successo SuccessfullyLoggedIn, // Login avvenuto con successo SuccessfullyLoggedOut, // Logout avvenuto con successo SuccessfullyCreated, // Creazione documento avvenuta con successo SuccessfullyShared, // Con...
44.959732
82
0.629945
bb98922be00516de74283c1d7e7977a972898e80
271
package unalcol.evolution.haea; import unalcol.descriptors.Descriptors; public class HaeaStepDescriptors<T> extends Descriptors<HaeaStep<T>> { @Override public double[] descriptors(HaeaStep<T> step) { return Descriptors.obtain(step.operators()); } }
27.1
70
0.738007
a9bc3264015adb28405ebca53947817daa76366a
8,013
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
44.765363
148
0.590166
9e37092f2926ccfce4437e972a87a3c4761d0eba
6,477
/* * Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e) * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * For details, see the LICENCE.txt file location in the root directory of this * distribution or obtain ...
28.038961
82
0.689054
2cc9ff7bb94d9e58331d536d4e513eeca088d788
9,631
/* * Copyright 2017 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 app...
46.08134
135
0.657564
06d4d09c7230c928ce3d362ee3a8dc22a498e979
4,098
/*- * Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle Berkeley * DB Java Edition made available at: * * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html * * Please ...
35.327586
99
0.67838
4784b58c3b7ecff7137b043a6af7ba8af701d89e
7,564
package application.Model; import application.Controller.MainframeController; import com.google.zxing.WriterException; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.Button; import java.io.IOException; import java.lang.reflect.Method; import ja...
35.018519
120
0.535828
237759f5faa3b1eff7147fae77a06126770f5fb4
1,094
package com.networknt.spring.servlet; import com.networknt.handler.Handler; import com.networknt.handler.OrchestrationHandler; import io.undertow.servlet.api.DeploymentInfo; import org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizer; import org.springframework.boot.web.embedded.undertow.Und...
36.466667
88
0.73766
aa6e7f660fbe4567218400035635e8939a6fe056
2,263
package it.av.youeat.web.page.manager; import it.av.youeat.ocm.model.Eater; import it.av.youeat.ocm.model.Ristorante; import it.av.youeat.service.EaterService; import it.av.youeat.service.RistoranteService; import java.util.ArrayList; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.for...
33.776119
102
0.690234
cd72c81053106c0b15479f8b0377174eefc23907
266
package com.example.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.example.entity.System; /** * <p> * 系统配置表格 Mapper 接口 * </p> * * @author MrWen * @since 2021-11-28 */ public interface SystemMapper extends BaseMapper<System> { }
15.647059
58
0.710526
f70eb54d15bb4e9b83d473e2fb982e2b73dd4d0d
4,041
package net.gupt.community.exception; import lombok.extern.slf4j.Slf4j; import net.gupt.community.entity.CodeMsg; import net.gupt.community.entity.Result; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.DuplicateKeyException; import org.springframework.stereotype.Controll...
31.818898
100
0.662955
9f615ec5756d131fceafbc63b90e6fdba3863cf5
1,193
package io.github.vaa25.excel; import com.poiji.option.PoijiOptions; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.core.annotation.AliasFor; @Target(ElementType.PARAMETER) @Ret...
27.744186
84
0.678122
6ba4668a9ebac6f89df232fda6c3d4b08e03f392
961
package pl.ostrowski.account.assembler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.stereotype.Component; import pl.ostrowski.account.dto.UserDto; import pl.ostrowski.account.model.User; import pl.ostrows...
27.457143
68
0.758585
d18cb2413573a5ea55d25222ca3caf29c3da6fc5
824
package org.rspeekenbrink.deathmatch.events; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerBedEnterEvent; import org.rspeekenbrink.deathmatch.managers.MessageManager; /** * PlayerBedEnter Event will avoid spawn altering or time altering trough sleeping ...
31.692308
97
0.775485
55e2aa283e8bcb28a1056cd1da36d639d91ae267
121
package deviseworks; public enum ExecutableContentsEnum { install, uninstall, setting, help, exit }
12.1
36
0.669421
ce709caeb275322394aa7bbb92a376328c52521b
3,037
// Copyright (c) YugaByte, Inc. package com.yugabyte.yw.commissioner.tasks.subtasks; import com.yugabyte.yw.commissioner.BaseTaskDependencies; import com.yugabyte.yw.commissioner.tasks.UniverseTaskBase; import com.yugabyte.yw.common.CertificateHelper; import com.yugabyte.yw.forms.UniverseDefinitionTaskParams; import ...
36.154762
100
0.69674
b77a91d8f707a92feaa585bc1e3ecc3939cd5cca
8,190
package st.gravel.support.compiler.ast; /* This file is automatically generated from typed smalltalk source. Do not edit by hand. (C) AG5.com */ import java.math.BigInteger; import st.gravel.support.jvm.NonLocalReturn; import st.gravel.support.compiler.ast.MessageNode; import st.gravel.support.compiler.ast.MessageN...
30.446097
184
0.773138
54d53a3812aabb3df2bfd9fdfb05463bab0b4500
1,526
package org.docksidestage.bizfw.debug; /** * @author zaya */ public class Language { public String name; public String description = ""; public int countries = 0; public int rank; public Language(String name) { this.name = name; } public Language(String name, String description)...
21.194444
79
0.598952
6e4415b050710f48a059ae012402e59f96ba153e
6,126
package com.faizal.OtpVerify; import android.app.Activity; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Intent; import android.content.IntentFilter; // import android.support.annotation.NonNull; import androidx.annotation.NonNull; import android.util.Log; import ...
34.033333
124
0.665687
abb43d7880d863db29c6fac26cea8913b0b35cf9
3,076
package com.revature.controllers; import java.io.IOException; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.google.gson.Gson; import com.google.gson.JsonIOException; import com.google.gson.JsonSyntaxException; import com.reva...
31.387755
167
0.736671
af784748a40d6fab4b17fde1ec4fc326b14b392f
1,940
/* * Copyright 2014 - 2021 Blazebit. * * 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...
26.575342
84
0.743814
dbc6695404c46659f2101627d8876f70bb977c3e
413
package org.schema.api.model.thing.action.assessAction.chooseAction; import org.schema.api.model.thing.action.assessAction.AssessAction; public class ChooseAction extends AssessAction { private String actionOption;//Notes - Allowed types- [Text, Thing] public String getActionOption() { return actionOption; } ...
22.944444
68
0.789346
fbcd907f02388be58eeba97df6b9d3e246fabc65
4,313
package ru.unatco.rss.activities; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import androi...
32.923664
132
0.69163
37a8466fcded64c5848871dc4f2622d754a20c7b
1,883
package org.telegram.api.message.media; import org.telegram.api.photo.TLAbsPhoto; import org.telegram.tl.StreamingUtils; import org.telegram.tl.TLContext; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * The type TL message media photo. */ public class TLMessageMediaPhoto ...
21.157303
81
0.618694
0bfa0cc1df25ae9da7353243b28c9f7fa6813996
3,381
package org.example; /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
31.305556
80
0.589766
64d48f03fcc977acc2eadfe72d28f4bbb9f2f827
2,183
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.eventgrid.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import j...
42.803922
116
0.774164
0726eb4a85562fddbb0dff44b5e2b88e044a9da5
1,618
package com.evolveum.midpoint.studio.impl.client; import com.evolveum.midpoint.common.LocalizationService; import com.evolveum.midpoint.prism.polystring.PolyString; import com.evolveum.midpoint.util.LocalizableMessage; import com.evolveum.midpoint.util.exception.CommonException; import java.util.Locale; /** * Creat...
28.892857
96
0.691595
f7a1a9afa597753fedfed0fc078b30d23be3ef38
3,879
package com.infodart.peerhuntr.jpa.dao.impl; import java.util.ArrayList; import java.util.List; import org.hibernate.SessionFactory; import org.hibernate.query.Query; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.infodart.peerhun...
29.165414
139
0.712813
91b403be73d33a6735c623361fa8da1e0f51033d
589
package ua.training.service; import ua.training.controller.exception.OrderCheckException; import ua.training.controller.exception.OrderNotFoundException; import ua.training.dto.BankCardDto; import ua.training.dto.OrderCheckDto; import java.util.List; public interface OrderCheckService { List<OrderCheckDto> sho...
28.047619
120
0.82343
21a5249617a9b408966825d96efda4b40ce38cf7
5,089
/* * Copyright (C) 2015 Jorge Castillo Pérez * * 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...
36.092199
97
0.747495
08a6f0ed997c30da996b852af1fbf5a90ffededf
4,509
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
25.05
86
0.681969
60c5bef72b73c0fcb4808d1ae0ce5fe010b18c7a
6,746
package com.multilevel.treelist; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.ListView; import java.util.ArrayList; import java.util.List; /** ...
21.484076
78
0.683368
c080a2d3633525c5ad2096befaf7ce361555e8fb
4,415
package wae.thesis.indiv.app.restapi; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam;...
36.487603
120
0.653454
650410cefee446fe54d053db47717a6db6152b20
4,828
/* * ===============================LICENSE_START====================================== * dcae-analytics * ================================================================================ * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * =====================================================...
42.350877
117
0.685584
920c322aa8bc55e01fe369b57c01e1cd66a95e5f
4,184
package com.krista.apirouter.core; import com.krista.apirouter.bean.ApiEntity; import com.krista.apirouter.exception.ApiException; import com.krista.apirouter.request.ApiParam; import com.krista.apirouter.request.Head; import com.krista.apirouter.response.ApiResponseCode; import com.krista.apirouter.utils.JsonUtil; im...
28.657534
100
0.631453
63af5e8a8f1bd5b3f7d4d9a692363196b7d562ea
1,641
package packageName.web; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import java.io.Ser...
24.863636
96
0.67337
8d9dd537c58cae490b91b469978f3ff68f52d9b5
3,443
package edu.cs.scu.dao.impl; import com.alibaba.fastjson.JSON; import edu.cs.scu.bean.UserBean; import edu.cs.scu.common.constants.TableConstants; import edu.cs.scu.conf.JedisPoolManager; import edu.cs.scu.dao.BaseDao; import edu.cs.scu.javautils.DateUtil; import redis.clients.jedis.ShardedJedis; import java.util.Arr...
36.242105
100
0.607029
0ff6ad98ea6ec5e2936fe177e757f22f025a120d
678
public class Bank2Ans5to10Test { static final int EVEN = 0; static final int ODD = 1; public static void main(String[] args) { SequenceGenerator sg = new SequenceGenerator(1, 100); sg.createSequence(); sg.printCondition(EVEN); sg.printCondition(ODD); System.out.pri...
25.111111
71
0.567847
d3d90f086f4fcb10c1df4ec67e7903a0372bff34
1,703
package br.com.mybooks.store.controllers; import br.com.mybooks.store.daos.BookDao; import br.com.mybooks.store.models.Book; import br.com.mybooks.store.models.Cart; import br.com.mybooks.store.models.CartItem; import br.com.mybooks.store.models.PriceType; import org.springframework.beans.factory.annotation.Autowired;...
30.963636
71
0.744568
31d899821e1228b43dad56a19291ce0ef6243f02
1,849
/* Programmer: Jack Donato Alterations: Marcus Ross */ package lab03; import lab03.*; public class List { private Element[] data; private int size; private int index; public List() { } public List(int size) { create(size); } public void create(int size) { data = new Element[size]; ...
16.362832
61
0.585181
a4e8036e3daed373fbf6a89f225b1df2049fec2d
2,804
package cohadar.assembler.gui.menus; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import javax.swing.JMenu; import javax.swing.JMenuItem; import cohadar.assembler.gui.AsmFrame; public class AsmHelpMenu extends JMenu implements ActionListener { ...
30.813187
93
0.697218
92108852c8143948a1b23325fc72040987c57a1c
3,200
package com.vincent.workflow; import java.math.BigDecimal; import java.util.List; import java.util.stream.Collectors; import com.vincent.bean.CalculateUnit; import com.vincent.bean.Condition; import com.vincent.bean.Coupon; import com.vincent.bean.Product; public class WorkFlow { private List<CalculateUnit> calcul...
27.350427
111
0.725313
d39a2505f7bc6348443f52415e1f82b128f41908
6,267
package com.dbkynd.vdaccess.discord; import com.dbkynd.vdaccess.VDAccess; import com.dbkynd.vdaccess.config.Config; import com.dbkynd.vdaccess.http.ImageDownloader; import com.dbkynd.vdaccess.http.WebRequest; import com.dbkynd.vdaccess.mojang.MojangJSON; import com.dbkynd.vdaccess.sql.MySQLService; import com....
52.663866
208
0.644647
e8000086bdc748c6c34c53529344d7f8c27a63ee
1,752
package ar.edu.unq.dapp.c2a.model.order.invoice; import ar.edu.unq.dapp.c2a.model.client.Client; import ar.edu.unq.dapp.c2a.model.order.Order; import ar.edu.unq.dapp.c2a.persistence.money.MonetaryAmountConverter; import javax.money.Monetary; import javax.money.MonetaryAmount; import javax.persistence.Convert; import ...
26.545455
119
0.71347
833d07922fe6fa88893ac53b932ab4d137e7c554
3,370
/* * 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 ...
33.7
102
0.676261
1e23156e86f825d72914cb8986d81b5c7f2a0231
5,091
/** * Copyright @ 2018 Quan Nguyen * * 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 ...
35.601399
90
0.683363