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
2b71e4a9e9516078a07d08a764ffa915a4f2ee89
4,257
package com.jobportal.controllereval; import static org.hamcrest.CoreMatchers.is; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import stat...
37.672566
138
0.781771
b22d6c9232411209dba2c27eacc73cc043fcc0fe
1,842
package com.cqut.compusEC.service; import java.util.Map; public interface GoodsService { public Map<String, Object> insertGoodsInfo(String userId, String goodsTitle,String goodsDes, String goodsOrignal, String goodsResale, String goodsCondition, String listId, String fileNames, String filePaths); public ...
44.926829
319
0.783931
197f3ab3ba2d4f198097cc3104ef771153780b5e
694
/* * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /** * Defines Nashorn shell module. * * <p>This module includes the command line tool <em>{@index jj...
15.086957
79
0.646974
5036f361e646ad952142272725dde1720bb46112
611
package net.noads.mixins; import net.minecraft.client.gui.hud.ChatHud; import net.minecraft.text.Text; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mi...
27.772727
72
0.723404
fc419f7c62cc6adddcda73feb883d1c949d6b73f
20,014
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
35.548845
132
0.602129
61a7ca9cac76bde7ad018d403029be7408dff5d7
1,374
package xyz.nucleoid.extras.mixin.player_list; import net.minecraft.network.Packet; import net.minecraft.network.packet.s2c.play.PlayerListS2CPacket; import net.minecraft.server.PlayerManager; import net.minecraft.server.network.ServerPlayerInteractionManager; import org.spongepowered.asm.mixin.Mixin; import org.spong...
40.411765
109
0.708879
0d07f2befdedeb49085cea5920adbdd79fdc03a7
798
package packTwo; import org.testng.annotations.Test; /** * Created by DD on 2017-11-11. */ public class DependenyAnnot { @Test public void OpenBrowser(){ System.out.println("OpeningBrowser"); } @Test(dependsOnMethods = ("OpenBrowser"), alwaysRun = true)//alwaysrun jak Open br...
25.741935
115
0.635338
c70f5791fe45c1a8a47f3591dca6a7bb4e81b1fe
596
package com.savings.accounts.history.structs; import com.savings.accounts.history.AccountHistoryEntity; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import java.util.List; @Mapper(componentModel = "spring") public interface AccountHistoryMapper { @Mapping(target = "datetime", source = "createdAt",...
33.111111
91
0.786913
2b0f0dd66154ea8ad8ff5dc3806ef5fa49ff5fc9
103
package exporter; public enum ProductionCountry { neglecting, stopping, collaborate, night; }
11.444444
31
0.737864
d8c02c94231d464bb547f560a2e453ec0056de09
1,996
package com.gloppasglop.fk.utils; import com.gloppasglop.fk.FK; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.scoreboard.DisplaySlot; import org.bukkit.scoreboard.Objective; import org.bukkit.scoreboard.Score; import org.bukkit.scoreboard.Scoreboard; import ...
31.68254
108
0.680862
72bc1569556562ee22226a0b114aa6c67cc5f969
305
package interpreter.operators; public class GreaterThanEqualOperator extends Operator { @Override public int execute(int operandOne, int operandTwo) { if(operandOne >= operandTwo){ return 1; } else{ return 0; } } }
16.944444
57
0.547541
4c36db697b90a2d65c74591cd047f59439a392db
770
package jp.ww24.handwrites; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import jp.ww24.handwrites.databinding.ContentMainBinding; /** * Created by ww24 on 2015/11/06. */ public class MainFragment exte...
24.0625
103
0.748052
1ea87179cec9bfe6acb0122f943b78a1d69ea360
7,928
/* * Copyright 2016 Crown Copyright * * 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...
32.359184
105
0.577447
82d01c9be583fc9d2d0a660b0058a8465fcfa31b
1,815
// Copyright 2019 The OpenSDS 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 applicable law or agre...
34.903846
106
0.666667
1cbe9c0e25ec0dff176d7e0e85f1542aae6a50f5
540
package com.stuypulse.robot.commands; import com.stuypulse.robot.util.LEDController; import com.stuypulse.robot.util.LEDController.Color; import edu.wpi.first.wpilibj2.command.InstantCommand; public class LEDSetCommand extends InstantCommand { private Color color; private LEDController controller; publ...
23.478261
65
0.733333
41b0a3c0ee7fb41b13d06d3466e18fa9115a23f5
3,139
package com.example.charmer.moving.mine_activity; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view...
30.77451
116
0.673144
6ba4d96c50d5a6d07b8c72c407e1cc2e5a72dd37
4,523
/* Class333 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ import java.io.IOException; import java.net.Socket; abstract class Class333 { static int anInt4410; static boolean aBool4411 = true; static Class131 aClass131_4412; static int anInt4413; static int anInt4414; static int[] anIntArray4415 =...
29.562092
96
0.604687
873711c819d334f786b11118c963f601e8378926
942
package com.dumas.pedestal.framework.cache.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.util.concurrent.TimeUnit; /** * 分布式锁注解 * * @auth...
16.821429
54
0.610403
e681461cd9ea15138924c83e0ccd8665c08df15b
3,008
/* * 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 ...
41.777778
123
0.729388
b19d5287893f7aa9b3e18be13f7e706db51e038f
738
package javaniuniu.tvolatile; /** * */ // volatile 不保证原子性 public class VDemo01 { // volatile 不保证原子性 private static int num = 0; public static void add() { num ++ ; // 不是原子性操作 } public static void main(String[] args) { // 理论上 num 结果应该为 2 万 for (int i = 1; i <=20 ; i++...
21.705882
84
0.455285
19492b6aa0f94999634d2436de5beb71e44a7b31
2,410
package com.jn.langx.text.grok; import com.jn.langx.util.collection.Collects; import com.jn.langx.util.collection.Pipeline; import com.jn.langx.util.function.Function; import com.jn.langx.util.function.Functions; import com.jn.langx.util.function.Supplier0; import com.jn.langx.util.logging.Loggers; import com.jn.langx...
35.970149
86
0.492116
358ef8d7edf9822eb199b6ece3b6634cd78898d9
1,447
package com.ess.filepicker; import android.app.Activity; import androidx.fragment.app.Fragment; import java.lang.ref.WeakReference; /** * FilePicker 构造器 * Created by 李波 on 2018/2/8. * */ public final class FilePicker { private final WeakReference<Activity> mContext; private final WeakReference<Fragmen...
22.968254
73
0.689703
22bba2883e8f90bb66740b8c345df22d5021fb54
1,793
/* * Copyright (c) 2005-2011 Grameen Foundation USA * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
33.203704
100
0.665923
b9c4a2ac36038c23ac802cb31ad5ea51c30f0270
4,800
/** * Copyright (C) 2014-2015 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with...
26.966292
87
0.713333
a3c8365c7260717b7c20d2257e93c1a9d5ac237f
5,287
/* * This file is part of JFlowMap. * * Copyright 2009 Ilya Boyandin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.209945
117
0.677511
e813d416aa728a472332da25313f85e210f6a9c6
4,025
package com.ixchou.services.impl; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import com.ixchou.aware.SpringContextAware; import com.ixchou.services.IBaseService; import com.ixchou.util.ObjectUtil; import org.apache.ibatis.session.SqlSession; import org.mybatis.spring.mapper.MapperF...
32.2
157
0.644472
1d9f4337f92e8bc070f356153907775c370e007a
1,225
package com.hbird.base.mvc.bean.RequestBean; import com.hbird.base.mvc.bean.BaseBean; import org.greenrobot.greendao.annotation.Id; import java.util.List; /** * Created by Liul on 2018/7/10. */ public class ExChangeReq extends BaseBean { private int type; private List<relation> relation; private int ...
19.140625
66
0.593469
d301386c30cb5ca1a1ec6727a6a32a0ee00033cf
5,333
package com.asiainfo.arm; /** * Java 7 的编译器和运行环境支持新的 try-with-resources 语句,称为 ARM 块(Automatic Resource Management) ,自动资源管理。 * * try{} finally {}代码通常都是在finally里写资源关闭代码,以保证try块出现异常时,finally的资源关闭一定会被执行; 但是当try块抛出异常, * finally的资源关闭代码也抛出异常时,try块的异常将被finally块的异常抑制,finally的异常将根据调用栈向往传播,即使try语句块中抛出的异常与异常传播更相关。 ...
28.518717
108
0.582974
f75a9e9a3567984ed0cecb9c3ca90898a046ae63
3,217
package com.team1678.frc2021.subsystems; import com.team1678.frc2021.loops.ILooper; import com.team1678.frc2021.loops.Loop; import com.team1678.frc2021.loops.Looper; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Used to reset, start, stop, and update all subsystems at once */ pu...
24.18797
66
0.592167
a2a4b37346ce597fd6bcf97af0cb21e3b4cef256
2,045
package com.dragome.compiler.annotations; import java.io.DataInputStream; import java.util.LinkedHashMap; import java.util.Map; import org.apache.bcel.classfile.Attribute; import org.apache.bcel.classfile.AttributeReader; import org.apache.bcel.classfile.Constant; import org.apache.bcel.classfile.ConstantPool; import...
30.073529
110
0.746699
380b2feb47d1be4789baf63f5551addf99e87751
1,795
package orj.worf.web.base.interceptor; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import orj.worf.util.HttpUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.ext.XLogger; import org.slf4j.ext.XLoggerFactory; import org...
37.395833
120
0.659053
f7d3b8e5f41c90568d46373ac9fd78551de338d9
3,620
package org.opensingular.requirement.module.config.workspace; import org.apache.wicket.Application; import org.opensingular.lib.commons.ui.Icon; import org.opensingular.lib.wicket.util.resource.DefaultIcons; import org.opensingular.requirement.module.spring.security.AbstractSingularSpringSecurityAdapter; import java....
33.518519
138
0.637569
bf949940a86c0fb81b6332ad926c172c9079cbc6
3,731
package io.vertx.rabbitmq.impl; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; import com.newrelic.api.agent.NewRelic; import com.newrelic.api.agent.Segment; import com.newrelic.api.agent.Token; import com.newrelic.api.agent.Trace; import com.newrelic.api.agent.w...
51.819444
149
0.787456
52e6b0c850755710565de76ac0bf6481fde5cd2a
2,883
/******************************************************************************* * Copyright 2012 EMBL-EBI, Hinxton outstation * * 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 * ...
35.158537
111
0.696844
917abecbaba24e9ce84c0f4fdf271788582a3954
4,901
package Model; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.text.ParseException; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import java.util.logging.Logger; public class TratamentoDAO extends DAO { ...
35.514493
172
0.617629
f94aaefaff372362c4878dc1382fae71647b9c70
492
package randomintstream; import java.util.stream.*; import java.security.SecureRandom; public class RandomIntStream{ public static void main(String[] args){ SecureRandom randomNumbers = new SecureRandom(); String numbers = randomNumbers.ints(30, 10, 1001) .sorted() ...
28.941176
58
0.591463
71ed077c502cd7d7532af6836509298987ba483a
5,746
/** * 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.802632
114
0.773756
446a7b7ac0fe3af972d4d93e2a2bc312d8409b57
141
package ic2.api.info; import net.minecraft.item.ItemStack; public interface IEnergyValueProvider { int getEnergyValue(ItemStack var1); }
15.666667
39
0.801418
3000f180cff830b50aee1cbe075b234143390844
13,190
/* * * * Copyright 2015 Skymind,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 * * * * U...
33.907455
161
0.582335
9fa955919b016c1547bd9d54cbdb8898db03d8da
798
package org.supply.simulator.data.attribute.entity; import org.supply.simulator.data.HasId; import org.supply.simulator.data.HasValue; import org.supply.simulator.data.attribute.Attribute; /** * Supply production attribute * how much supplies an entity is producing * todo what is this?? */ public class Produc...
19.463415
69
0.662907
cc02fb9d7c375b2c27f582665c51d161f8757cee
963
package com.egoveris.te.base.model.trata; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "TRATAS_DIFERENCIALES") public class TrataDiferencial implements Serializable { /** * */ ...
16.603448
55
0.722741
64ab0aba2a9322a0c4236042bc96d6927e9a2244
4,688
package shaders; import java.util.List; import org.lwjgl.util.vector.Matrix4f; import org.lwjgl.util.vector.Vector2f; import org.lwjgl.util.vector.Vector3f; import entities.Camera; import entities.Light; import toolbox.Maths; public class StaticShader extends ShaderProgram { private static final String VERTEX_FIL...
34.725926
79
0.754266
8be1e9e8a7d4eb06e83a0576f2d13ba04240508d
628
class NullLiteralAndInferredMethodContract { { initExpressionConstraints(<warning descr="Passing 'null' argument to non annotated parameter">null</warning>); } public void initExpressionConstraints(Object parent) { String currentProperties = getCurrentProperties(parent); System.out.println(currentPro...
36.941176
114
0.732484
0d88ebf232c98ef8d71529c1bb3c7f52f1841980
463
package com.github.seahuang.log.duration; /** * Log Duration settings */ public enum LogDuration { /** * Explicitly set to log the duration, ignore global configuration * 显式指定需要记录方法运行的时间,忽略全局配置 */ YES, /** * Explicitly set <b>not</b> to log the duration, ignore global configuration * 显式指定<b>不</b>需要记录方法...
20.130435
78
0.688985
46581b9d78ea064b21e85fadf0fb43f18b36e5be
403
package sun.util.resources.be; import java.util.ListResourceBundle; public final class LocaleNames_be extends sun.util.resources.LocaleNamesBundle { protected final Object[][] getContents() { return new Object[][] { { "BY", "\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u044C" }, { "b...
31
80
0.650124
8102ec4e25fba9107274b7359dcb9e621b2b9c4a
1,090
package com.example.android.quakereport; public class EarthQuake { private Double magnitude; private String location; private Long timeInMilliseconds; private String url; public EarthQuake(Double magnitude, String location, Long timeInMilliseconds, String url) { this.magnitude = magnitude...
22.244898
95
0.653211
1330fe4bb50ec88cadca33d5f4073425b8fb8b7d
1,450
package org.spo.svc3.trx.pgs.t03.mappings; import java.lang.reflect.Type; import java.util.LinkedHashMap; import org.spo.cms3.svc.PageService; import org.spo.ifs3.dsl.controller.Forms; import org.spo.svc3.trx.pgs.t03.cmd.Usr_Menu; import org.spo.svc3.trx.pgs.t03.cmd.Usr_Reg_I; import com.google.gson.Gson; ...
25.892857
107
0.701379
c06ebb657dffd3a0bb84009a3060ddd725587ad5
3,790
package com.qht; import java.io.Serializable; /** * rest接口响应结果 * @author 草原狼 * @date 2017-6-29 */ public class ResultObject<T> { public static final String SUCCESS_CODE = "0"; public static final String SUCCESS_MSG = "success"; public static final String ERROR_CODE = "1"; public s...
20.710383
82
0.529551
33068492d121271a3d9dc4737a4017c52cb46f58
591
package bio.terra.service.snapshot.exception; import bio.terra.common.exception.BadRequestException; import java.util.List; public class InvalidSnapshotException extends BadRequestException { public InvalidSnapshotException(String message) { super(message); } public InvalidSnapshotException(String message,...
25.695652
95
0.773266
7015e2a8bb5f2e1a8d2d2ffbc7fd37b3791ff649
14,198
package eu.datex2.schema._2._2_0; import java.math.BigInteger; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlSchemaType; import jakarta.xml.bind.annotation.XmlType; /** * <p>Java class for VmsPictogramDisplayCharacteristi...
29.890526
160
0.639034
62379d4675f9afb7b81e23c50f13c0f233438f3e
863
package com.api.abs.search; import com.api.abs.book.book; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.repository.query.Param; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springfr...
30.821429
77
0.771727
f53eda4ec604a22486ee01f82498f9feff6744ca
530
package com.liyulin.ratelimiter.service; import org.springframework.stereotype.Service; import com.google.common.util.concurrent.RateLimiter; import lombok.extern.slf4j.Slf4j; @Slf4j @Service public class GuavaRateLimiter { private static final RateLimiter RATE_LIMITER = RateLimiter.create(1); public String red...
20.384615
71
0.735849
b956a070b05c982faaf1aebdb029e072f2098300
3,040
import chess.parser.Entity; import chess.parser.Move; import filters.FilterResult; import filters.RatedEntity; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Path; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; publ...
35.348837
129
0.578618
caf5b817b1fe1c98a9b9aced666e9e95e23dfcce
31,044
/******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation 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, an...
34.959459
135
0.715758
305ae33a33f7c74663bcc2cad163ef08b3b8637f
1,286
/* * Copyright (C) 2017 Miles Talmey. * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). */ package com.emarte.regurgitator.test; import com.emarte.regurgitator.core.FirstMatchOnwardsBehaviour; import org.junit.Test; import java.util.ArrayList; import java.util.List; im...
32.15
95
0.659409
3dd8b37fc8cd3c6af773048b7ff56ebed6b6bda1
1,013
package cn.org.atool.fluent.mybatis.generate.dao.intf; import cn.org.atool.fluent.mybatis.base.IBaseDao; import cn.org.atool.fluent.mybatis.customize.model.ScoreStatistics; import cn.org.atool.fluent.mybatis.generate.entity.StudentScoreEntity; import java.util.List; /** * StudentScoreDao: 数据操作接口 * * @author Power...
28.942857
96
0.716683
461f2a01e5379394ec8d8075cf177a071cb1be8f
8,785
package ru.majordomo.hms.personmgr.service; import org.springframework.context.ApplicationEventPublisher; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.List; import ru.majordomo.hms.personmgr.common.BusinessActionType; impor...
51.075581
173
0.754809
0710b42ba52bb9846c147313587f59417d924a8c
2,725
/* * Copyright (c) 2022 Rin (https://www.levelrin.com) * * This file has been created under the terms of the MIT License. * See the details at https://github.com/levelrin/gradle-github-pr-checker/blob/main/LICENSE */ package com.levelrin.gradle.github.pr.checker.api; import com.levelrin.gradle.github.pr.checker....
35.855263
92
0.58422
98652011d12ded94f191a8628e296081a2df091c
27,294
package word ; import com4j.*; @IID("{00020957-0000-0000-C000-000000000046}") public interface Paragraph extends Com4jObject { // Methods: /** * <p> * Getter method for the COM property "Range" * </p> * @return Returns a value of type word.Range */ @DISPID(0) //= 0x0. The runtime will prefer t...
20.429641
81
0.630358
1a8a85600defd958838eae14fb37be753f828346
6,636
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.intellij.plugins.markdown.lang.psi.impl; import com.intellij.navigation.ItemPresentation; import com.intellij.openapi.util.TextRange; import com.intellij.openapi.util...
34.5625
140
0.691682
2c6e97b0d3ab1ef59b8e1926b6e9e9cf00521793
4,662
package io.activej.csp.file; import io.activej.bytebuf.ByteBuf; import io.activej.bytebuf.ByteBufs; import io.activej.common.MemSize; import io.activej.csp.ChannelConsumer; import io.activej.csp.ChannelSupplier; import io.activej.promise.Promise; import io.activej.promise.Promises; import io.activej.test.rules.ByteBuf...
35.587786
135
0.722008
558bc7b225ba3aae37b6e0b28bd3219787f8a24a
719
/** * */ package com.graphql_java_generator.annotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @Retention(RUNTIME) @Target(TYPE) /** * Indicates that the annotated ...
28.76
119
0.766342
0cadf4cf055a9079f526da3d59ec25b589caab90
2,418
package dao; import exc.DaoException; import model.News; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.sql2o.Connection; import org.sql2o.Sql2o; import static org.junit.Assert.*; public class Sql2oNewsDaoTest { private static Connection conn; private static Sql2oNewsDao ...
26.866667
83
0.652192
d1fe4e1a6b5a6ff1bac864732e9aac4451128666
497
package chat.qiye.wechat.sdk.api.corpgroup.resp; import chat.qiye.wechat.sdk.common.RespStatus; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author : Hui.Wang [huzi.wh@gmail.com] * @version : 1.0 * @date : 2021/9/8 */ @EqualsAndHashCode(callSupe...
22.590909
65
0.754527
9505a3e8592bb18ca4493c7cc9354f5f589d9944
386
package ru.intertrust.cm.core.pdf; import ru.intertrust.cm.core.dao.api.component.ServerComponentHandler; /** * Created by IntelliJ IDEA. * Developer: Ravil Abdulkhairov * Date: 12.05.2016 * Time: 14:58 * To change this template use File | Settings | File and Code Templates. */ public interface PropertiesProvid...
25.733333
73
0.756477
29762922440c69b91d4dc46919b741e1b70ffd66
5,498
package org.janelia.colormipsearch.api; import java.io.File; import java.io.IOException; import java.io.UncheckedIOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.concurrent.atom...
46.59322
138
0.560931
b46d2257de749cbe10daa48f0e83abc11bf076ba
901
package com.builtbroken.mc.framework.multiblock; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.world.World; /** * Created by Dark on 8/18/2015. */ p...
26.5
94
0.659267
fe23434fdc0606c9d018b43ba732b582e8f15165
28,777
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
45.034429
173
0.670779
b60e437cef6a39463e11f9cd2d517bfbca5b4d72
496
package wzorce01; final class TLSingleton { private static TLSingleton INSTANCE; private TLSingleton() { } private static ThreadLocal<TLSingleton> _threadLocal = new ThreadLocal<TLSingleton>() { @Override protected TLSingleton initialValue() { ...
23.619048
59
0.550403
9ddbf59d856a6f3b14652f174b6391b807708e3e
383
package org.apache.pdfbox.rendering; import java.awt.geom.GeneralPath; import java.io.IOException; interface Glyph2D { GeneralPath getPathForCharacterCode(int paramInt) throws IOException; void dispose(); } /* Location: /mnt/r/ConTenDoViewer.jar!/org/apache/pdfbox/rendering/Glyph2D.class * Java...
23.9375
94
0.718016
0caf65be6add179ee09f2e2f581457e9d39201ff
830
package com.example.chaserobertson.familymap.model; /** * Created by chaserobertson on 6/11/16. */ public class Filter { public String name; public String description; public Filter(String name, String description) { this.name = name; this.description = description; } @Override ...
25.151515
89
0.595181
d1802221d3e7e5605d997007e360238dc38b875f
5,941
package dev.ldev.gpsicon.services; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.GpsSatellite; import android.location.GpsStatus...
34.143678
99
0.579364
62db6e73c76306952ec4ba6758a4b40ec899e86f
1,120
package com.luotuo.global; /** * Created by luotuo on 17-6-7. */ public class Constant { public enum ResourceType { PROJECT("project"), TASK("task"), REPORT("report"); public String getTypeName() { return typeName; } private String typeName; R...
22.4
69
0.558929
ef23ec476e8f2f91106397bcbf531e6e33e02279
742
package br.com.summa.zxed.model; import javax.persistence.*; import org.openxava.annotations.*; import br.com.summa.zxed.calc.*; @lombok.Data @lombok.ToString(includeFieldNames=true) @Entity public class Feature { @Id @Column(length=11) @DefaultValueCalculator(value=NextId.class, properties=@PropertyVa...
18.55
109
0.695418
3d2b9904168d41339d2fe67809d2d4d14d1de970
350
package com.jetictors.example.hello.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/test") public class HelloController { @RequestMapping("/hello") public String sayHello(){ ret...
21.875
62
0.754286
acad2a24ac4bac21f90223e4d4f25c935ad1f481
3,460
package org.greenplum.pxf.api.configuration; import org.junit.jupiter.api.Test; import org.springframework.boot.context.properties.bind.Bindable; import org.springframework.boot.context.properties.bind.Binder; import org.springframework.boot.context.properties.source.ConfigurationPropertySource; import org.springframe...
36.808511
122
0.709827
3f40863fcc3efb894139d4ba46b15ce12e10f590
1,060
package me.earth.pingbypass.mixin.mixins.minecraft.gui; import me.earth.earthhack.api.util.Globals; import me.earth.earthhack.impl.util.text.TextColor; import me.earth.pingbypass.PingBypass; import me.earth.pingbypass.server.PhobosServer; import net.minecraft.client.gui.GuiScreen; import org.spongepowered.asm.mixin.Mi...
37.857143
157
0.730189
8b6a76cb4d1c0f0996b847fcc40dfacf7b465503
16,434
/* * Copyright (c) 2018 CA. All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.ca.apim.gateway.cagatewayconfig.bundle.builder; import com.ca.apim.gateway.cagatewayconfig.beans.Bundle; import com.ca.apim.gatew...
49.203593
177
0.727334
c5ee82c7859c3c3c2000e20dfaa53b441045c13c
257
package com.gareth.spring.springjdbc.assignment; import java.util.List; public interface PassengerDao { int create(Passenger passenger); int update(Passenger passenger); int delete(int id); Passenger read(int id); List<Passenger> read(); }
15.117647
48
0.7393
bf3a96f51a0c124a19741504a943af859e5d8be3
147
package estudos.ecommerce.cliente.application.port.out; public interface DeleteClienteByIdPort { void deletarClientePorId(Long idCliente); }
21
55
0.816327
07267dfdc0ea0a4711b54f45c58bb3c72c909be7
614
import java.io.DataOutputStream; import java.io.IOException; public class IntItem implements Item { private static final long serialVersionUID = 1L; private final int val; public int getValue() { return val; } public IntItem(int i) { val = i; } public String toString() { ...
18.606061
68
0.612378
643ce62f095742856c7b773103f5dde59fd9460c
1,655
package com.pointcx.spring.mustache.security.internal; import com.pointcx.spring.mustache.security.DomainObjectResolver; import com.samskivert.mustache.Mustache.Collector; import com.samskivert.mustache.Mustache.VariableFetcher; import org.springframework.context.ApplicationContext; import javax.servlet.http.HttpServ...
33.77551
135
0.700302
b4c1a72a50d277329c056ed881b70bc44c3d13ca
1,345
package authoring.splash; import authoring.CustomText; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.HBox; import javafx.scene.text.FontWeight; public class GameRowDisplay extends HBox { private static final double IMAGE_SIZE = 50; private static final doub...
27.44898
98
0.646097
22dfa7234aab65fa1891d235ffd2a03d4ef3c767
6,803
package com.coy.l2cache.cache; import com.coy.l2cache.CacheConfig; import com.coy.l2cache.CacheSyncPolicy; import com.coy.l2cache.consts.CacheConsts; import com.coy.l2cache.consts.CacheType; import com.coy.l2cache.load.CacheLoader; import com.coy.l2cache.load.LoadFunction; import com.coy.l2cache.schedule.RefreshExpire...
33.845771
136
0.636043
cc762e5694891bbbed9434ddc94ab425949cd52f
10,665
// This file was generated by Mendix Studio Pro. // // WARNING: Code you write here will be lost the next time you deploy the project. package docmosissamples.proxies; public class InvoiceLine { private final com.mendix.systemwideinterfaces.core.IMendixObject invoiceLineMendixObject; private final com.mendix.syste...
32.027027
226
0.768214
82500aac2a9aae81d069a41c12d96ce2f88a8946
7,232
package eap.comps.security; import java.io.IOException; import java.util.HashMap; import java.util.Locale; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; im...
37.278351
138
0.73714
c0f9b11e6465a715171c393aac15e89fc3a26fb1
1,006
package com.galaxy.galaxyquests.menu.menus.questsmenus; import com.galaxy.galaxyquests.QuestsPlugin; import com.galaxy.galaxyquests.menu.Lockable; import com.galaxy.galaxyquests.objects.quest.Quest; import com.galaxy.galaxyquests.objects.quest.ResetType; import com.galaxy.galaxyquests.quests.workers.QuestReset; import...
32.451613
126
0.755467
7d24e2f12da60cb14f51400a6f7b4c48f5ad3775
21,292
// 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.comscore.analytics; import android.content.Context; import com.comscore.applications.EventType; import com.comscore.utils.TransmissionMode; im...
31.083212
105
0.568664
bd6e98cc9129d54049fef9886e3a5da3fbb3af66
12,772
/** * 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...
40.417722
102
0.712105
53b499ad035dcc2d9d29f6a585f4d4ffd7ad8c33
31,937
/******************************************************************************* * Copyright 2009 OpenSHA.org in partnership with * the Southern California Earthquake Center (SCEC, http://www.scec.org) * at the University of Southern California and the UnitedStates Geological * Survey (USGS; http://www.usgs.gov) *...
35.211687
110
0.661427
5632096d6fab7b1173956a4f1cb95925812de81a
1,664
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class Main { public static void main(String[] args) throws IOException { BufferedReader stdin = new Buf...
35.404255
96
0.545673
5197b72c44d02380e71d4a6cc00dab9c10f07a68
499
package cn.qqtheme.framework.wheelpicker; import androidx.fragment.app.FragmentActivity; import cn.qqtheme.framework.wheelview.annotation.DateMode; import cn.qqtheme.framework.wheelview.annotation.TimeMode; /** * 时间选择器 * * @author <a href="mailto:1032694760@qq.com">liyujiang</a> * @date 2019/5/15 17:44 */ publi...
23.761905
74
0.751503
0a14bb481f60352d6f8b3137a707c1d60147a366
14,304
/* * 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.815603
128
0.64856
6a9454b887b5515e426df71d68b93add64948e06
2,550
/* * Copyright 2004 Outerthought bvba and Schaubroeck nv * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.722892
85
0.689412
837b1c731881d554f58eb67436c48b1bacef056b
613
package com.sun.jna.platform.win32.COM.util.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHO...
27.863636
115
0.747145
f85c530c7023d7ced8e28dce83807fb5c172adb2
604
package net.sourceforge.mayfly.evaluation.expression; /** @internal Someday we might need to worry about getting the "current" time from a transaction log or synchronized across replicated databases or something. That day is not yet here. But we do already have a need to inject a time source for testing. Right now ...
28.761905
66
0.779801
632ca721faef6f2508b7379c1dd943a735fef255
846
import org.htmlparser.parserapplications.StringExtractor; import org.htmlparser.util.ParserException; /** * Reads the text on a url. Helps us know about the acknowledgement from the bot once it moves * @author lakshbhambhani * @date 5/26/19 */ public class URLReader { /** * USed to get text from a specific u...
24.171429
94
0.640662
b5fb9d76165edf8d00408804478e09c6e15383d7
4,457
/** * 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 applicable law or agreed to in writing, software * dist...
36.235772
128
0.667265
35283602d61c00c6c98908225ee86184391d015a
260
package model.event.entityevent; import model.entity.Entity; public abstract class EntityEvent { private Entity entity; public EntityEvent(Entity entity) { this.entity = entity; } public Entity getEntity() { return entity; } }
15.294118
37
0.684615
5bdeb66956695c6fd0004f3aab3e88b88abe32db
2,134
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package remotify.client.ws.processors; import messages.device.SimpleCommandMessage; import remotify.client.Controller; import remotify.client.profiles.keyboard.Keyboard; import utils.platformdepended.Platform; /** * ...
29.638889
73
0.47657