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
22fc236f5c49c389ea5b92391901aedc739cee6d
3,966
/* * Copyright (c) 2020 Temporal Technologies, Inc. All Rights Reserved * * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Modifications copyright (C) 2017 Uber Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not * use this fi...
41.747368
95
0.66465
4961641aadcd1920009aa68ce7710e38bcb16af0
1,265
package com.example; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.sleuth.sampler.AlwaysSampler; import org.springframework.cloud.stream.annotat...
33.289474
73
0.730435
7a5713c134fbbbcecdf11326f26912a4094fd12e
2,127
/* * Copyright 2017-2021 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 * * Unles...
34.868852
98
0.67889
c573d4b5aaa84d7f4c021931d52567a728ee3f2a
948
package com.dpforge.essy.proxy.decoder; import spark.utils.IOUtils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringWriter; import java.util.Base64; import java.util.zip.GZIPInputStream; public class ScriptDecoder { public String decode(final String encodedScript) throws Sc...
31.6
105
0.698312
fd7aa72632f04be0dd13677577b426a1480c1acb
474
package mariculture.api.util; public class CachedCoords { public int x; public int y; public int z; public CachedCoords(int x, int y, int z) { this.x = x; this.y = y; this.z = z; } @Override public boolean equals(Object o) { if (o instanceof CachedCoords) {...
21.545455
64
0.542194
8b48f99bed202fa3bf0b6eb9126c63de4f7e3f46
4,096
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
32
100
0.695313
d7d2abf57843e944749f47958dbe44a30680fa3b
1,766
package com.ibercivis.interfungi.clases; import android.content.Context; import android.text.method.LinkMovementMethod; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.recyclerview.widget.Recycler...
29.433333
109
0.732163
d79880b10142c989ab1a47397fa3c26bbd6863ab
1,099
package me.gaigeshen.wechat.pay; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.io.SAXReader; import java.io.StringReader; /** * 通知结果帮助类 * * @author gaigeshen */ public class NotifyBodyHelper { /** * 由通知结果响应体转换后的文档 */ private final Document document; /** * 创建通知结果帮...
20.351852
80
0.685168
7c8d54c5b472e8edbcbd99f3080ea072c3bb598f
2,615
/** * Copyright 2016 YouVersion * * 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...
33.101266
99
0.707839
a1bd3544ef379ff8046b01e10fb7dcf8fd501bc1
1,152
package org.divy.bo.demos.domain.cards.pages; import org.divy.common.bo.database.jpa.AbstractJPABusinessObject; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; import java.util.List; import java.util.Objects; import java.util.UUID; @Entity public class Page ...
22.588235
65
0.632813
d7fe0418396b80f770fc1a4cd4e5bafcbbef8913
1,072
package com.demo.pagingwithnetwork.base; import android.os.Bundle; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.databinding.DataBindingUtil; import androidx.databinding.ViewDataBinding; import androidx.lifecycle.ViewModel; ...
24.930233
109
0.720149
9043af58448fa62979614a28fa1533d621bfc6c3
414
package com.zizohanto.adoptapet.data; import java.util.HashMap; public class FormState { private HashMap<String, String> mElementIdAndUserInputMap; public FormState(HashMap<String, String> elementIdAndUserInputMap) { mElementIdAndUserInputMap = elementIdAndUserInputMap; } public HashMap<Stri...
25.875
72
0.758454
82879e7631c7c6b5763f83bbfcb641cee04237e0
1,927
package com.github.alexeylapin.ocp.g0_serialization; import org.junit.jupiter.api.Test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.ObjectStreamField; import java.io.Serializ...
27.528571
95
0.648677
4ef46e6c6619eef91d09de134f30b1ac87a5d740
1,431
package seedu.address.model.util.predicate; import java.util.Set; /** * Predicate which contains multiple predicates for fields. * To be used for filtering and sorting data by multiple parameters. * Guarantees: Immutable */ public class CompositeFieldPredicate<U> extends FieldPredicate<U> { private final Set...
29.204082
112
0.685535
ece9f776c4686da30cd5bb90d0f77f8b7eb90c63
2,011
/** * 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...
39.431373
98
0.770761
e0f1bd68a8efa722ff0bdf0196de55d8f95367b5
7,726
package com.pci.checker.service; import com.pci.checker.model.CertAnalaysisResult; import com.pci.checker.util.Utils; import org.bouncycastle.jce.provider.JCEECPublicKey; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.c...
35.278539
178
0.603029
81fb441fd5b42853b2ac3c3bf2020d400e313ccd
22,517
/* * File name: CalculatorViewController.java * Author: Shubham Ujinwal, 040885893 * Course: CST8221 - JAP, Lab Section: 303 * Assignment: 1, Part-1 * Date: 18 oct 2018 * Professor: Daniel Cormier * Purpose: This file is responsible for building and operating the calculator GUI. * Class list: Controller...
29.51114
153
0.662699
3823e1e21e0c06da61349582900e8e5efeab208d
1,717
package com.xeiam.xchange.hitbtc.service.polling; import static org.junit.Assert.assertEquals; import java.math.BigDecimal; import org.junit.Test; import com.xeiam.xchange.currency.CurrencyPair; import com.xeiam.xchange.dto.Order; import com.xeiam.xchange.dto.trade.LimitOrder; public class HitbtcTradeServiceRawTes...
28.616667
160
0.781596
dbf6050e3eb9c117c80543a3b63b824421647898
1,055
package com.ruoyi.common.domain; import javax.servlet.http.HttpSession; import java.util.HashMap; import java.util.Map; /** * @author guozeqi * @create 2020-11-02 */ public class SessionContext { private static SessionContext instance; private Map<String, HttpSession> sessionMap; private SessionContex...
23.977273
66
0.628436
35e1b4fed1c9a549857157385c151609afb4138f
2,369
/* */ package slimebound.actions; /* */ /* */ import com.megacrit.cardcrawl.actions.AbstractGameAction; import com.megacrit.cardcrawl.actions.common.LoseHPAction; import com.megacrit.cardcrawl.cards.AbstractCard; import com.megacrit.cardcrawl.cards.CardGroup; import com.megacrit.cardcrawl.characters.AbstractP...
26.032967
131
0.494301
babbaec6942238365f11ef84c852c78187417169
1,351
package com.android.iam.whatsapp.helper; import android.app.Activity; import android.content.pm.PackageManager; import android.os.Build; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import java.util.ArrayList; import java.util.List; public class Permissao { publ...
31.418605
134
0.677276
2800b24b99a2a7dd8f8038d52c9fbb8840da393a
2,533
/* * Copyright 2019 Grabtaxi Holdings PTE LTE (GRAB), All rights reserved. * * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. * */ package org.openstreetmap.josm.plugins.improveosm.argument; import java.util.EnumSet; import java.util.Set; import org.openstreetma...
32.896104
119
0.671931
9cbf67d1302dfc8eef6db959a80f00a04021f0b7
2,372
package com.thenetcircle.service.data.hive.udf.commons; import org.apache.commons.lang3.StringUtils; import org.apache.hadoop.hive.ql.exec.Description; import org.apache.hadoop.hive.ql.exec.UDFArgumentException; import org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException; import org.apache.hadoop.hive.ql.metadata.H...
41.614035
148
0.695616
b4e849649ea97f2c16abd20d9f4c2454f7194de4
11,071
package com.ta.hyah; import androidx.appcompat.app.AppCompatActivity; import androidx.lifecycle.ViewModelProviders; import android.annotation.SuppressLint; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android.os.Message; import an...
37.276094
125
0.541505
cb38b2785ddf218562215c4e5fa6a22f6e3f4f1b
6,125
/** * 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...
32.754011
116
0.670694
a97565b2daaa7f7aec3de136b9fd82a4c72c12eb
65,391
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.55 * Generated at: 2016-07-20 01:24:21 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
62.99711
272
0.765151
f54fdd3d44016634e0486122644c2eec5d7117e2
167
package software.amazon.macie.session; class Configuration extends BaseConfiguration { public Configuration() { super("aws-macie-session.json"); } }
18.555556
47
0.706587
18a9c467df8be5bd84be37fdc3fb024c35572b62
68
package com.slowio.beaninfo; /** * */ public class EmptyBean { }
8.5
28
0.647059
c17c0e3fd77d853d2abad3f29f2ae823bccbe3da
497
package com.chenjie.dao.model; import lombok.Data; @Data public class CrawlTaskModel { private Integer id; private String name; private String ruleJson; private String createTime; private String updateTime; private Integer userId; private User user; @Override public String toString() { retur...
18.407407
112
0.67002
4e70e971c04346e0b9795d1a517f535afffa697c
470
package ro.msg.learning.shop.Entities; import lombok.*; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity @Data @Builder @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode @ToString public class ProductCatego...
21.363636
59
0.795745
75e83ff28bcc548587c3c71de5ca4dde42ec5f73
12,738
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
34.334232
116
0.736693
1d51fe05cd05477da5b4ea47c0e21bd409916bda
1,011
package com.fbd.admin.security.am; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.userdetails.UserDetailsService; import com.fbd.admin.security.AbstractAdminAuthenticationProv...
25.923077
89
0.750742
e31791379798c92f54964410e075db9f952ffe04
4,022
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. /* * This file was automatically generated by com.microsoft.tfs.core.ws.generator.Generator * from the /complexType.vm template. */ package ms.tfs.build.buildservice._03; import com.microsof...
26.813333
117
0.645699
40c6f25e9bc70e4a793ec63fd803d5c3921ed869
466
package me.ilnicki.bg.core.system; import me.ilnicki.container.ComponentContainer; import me.ilnicki.container.Container; public class SystemManager extends ComponentContainer implements Kernel { private final App app; public SystemManager(App app) { this.app = app; share(this); link(Container.class,...
19.416667
73
0.693133
f318f4faac73d2426984080df76fda3281413a29
1,450
package com.eugene.web; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.anno...
33.72093
80
0.794483
846ef5f2a0b724acf1566de5c334218b367e555b
2,319
package Lists; import AllExceptions.*; /** * LinkedOrderedList represents a singly linked implementation of an * ordered list. */ public class LinkedOrderedList<T> extends LinkedList<T> implements OrderedListADT<T> { /** * Creates an empty list. */ public LinkedOrderedList() { ...
24.15625
77
0.559724
e0f59e1cc2f26bc5a97dd88b8b8349066277470a
1,750
/* *Copyright 2014 Google Inc. 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 * * Unless required by applicable law ...
36.458333
100
0.742286
6e2435637d0a4331fd4fcb0a05ad432b274f6783
1,278
/** * * Copyright © 2014-2015 Florian Schmaus * * 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 la...
35.5
97
0.726917
935411b64c6b6d68873145b954c04b6221fec859
464
package com.skytala.eCommerce.domain.product.relations.facility.event.groupRollup; import com.skytala.eCommerce.framework.pubsub.Event; import com.skytala.eCommerce.domain.product.relations.facility.model.groupRollup.FacilityGroupRollup; public class FacilityGroupRollupUpdated implements Event{ private boolean succ...
24.421053
101
0.81681
23fad73c38bfed241b45de1717079f139bca6d47
4,344
/* * Copyright (c) 2007-2018 Siemens AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
26.487805
80
0.633978
3e3a24cbc4c2c2e17070d31f537dfd1064750ada
2,927
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
32.88764
100
0.71985
c3035d194ae7dfc0bcc9417a39493ae8f5edb56a
525
package iot.project.distanceCalculation; import java.io.File; import org.kohsuke.args4j.Option; public class CommandLineOptions { @Option(name = "--osm-file", usage = "OSM file to load", required = true) public File osmFile = null; @Option(name = "-h", aliases = { "--help" }, usage = "This help message.", requi...
29.166667
125
0.681905
9f85f226e6c9df00b08cfe3c1cb5af725bc117ab
2,688
/* * MIT License * * Copyright (c) 2018, Tom Leemreize <t.leemreize@student.utwente.nl> * * 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 limitat...
39.529412
97
0.688244
15f09028a4ec35aba576f31e141fc0c5bf5b2e70
444
package net.flyingfishflash.ledger.accounts.unit; import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; import net.flyingfishflash.ledger.accounts.data.NormalBalance; public class NormalBalanceTests { @Test public void testNormalBalanceInvert() { assertEquals(Norma...
26.117647
69
0.797297
693da09fd515be150bc7e8512851b2a5e0ab53ae
8,667
/* Copyright 2018 The OpenTracing 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 a...
40.690141
267
0.686512
ffab7dad1d75435e6d7db7d9f3bfe7642e7cb7f5
1,383
package com.adfmanager; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.http.SessionCreationPolicy; import org.springframework.security.oauth2.config.annotation.web.configuration.Ena...
41.909091
111
0.809834
0f2fd32cb35f6111456f89bb5f12755ca2a82ef5
146
package org.jesperancinha.shell.webflux.model; public record SeaShellLower( String type, String color, String size ) { }
16.222222
46
0.657534
7116ce2f57842000fa85d1d17b8e8260d52b37e9
688
package io.akoserwal.model; public class User { String name; String email; String company; String address; public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getCompany() { return...
16.780488
44
0.579942
982ed3567a72fee608e6356bd3d48993cedde4dc
5,309
package com.baro.bot.discord.service; import com.baro.bot.discord.commands.music.audio.AudioHandler; import com.baro.bot.discord.commands.music.audio.NowplayingHandler; import com.baro.bot.discord.commands.music.audio.PlayerManager; import com.baro.bot.discord.commands.music.playlist.PlaylistLoader; import com.baro.bo...
36.363014
118
0.649652
2aaf1b5d0fc5ac4b86f4f608317a9e63915c1c5c
985
/* * */ package com.synectiks.process.server.plugin.configuration.fields; public class BooleanField extends AbstractConfigurationField { public static final String FIELD_TYPE = "boolean"; private boolean defaultValue; public BooleanField(String name, String humanName, boolean defaultValue, String descr...
30.78125
112
0.706599
e77854652c012054f7460b4d45db1bf4597c636a
49,576
/* * Copyright(C) 2017-2021 RINEARN (Fumihiro Matsui) * This software is released under the MIT License. */ package org.vcssl.nano.interconnect; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import jav...
37.500756
121
0.706007
eb702f4478d11040d86b98085d6ee07e49046ee7
10,609
/** * */ package com.pact.healthapp.components.set; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; ...
42.951417
98
0.594024
b06049bb8618343bf99bc2884a4194d4425c5852
7,473
package ca.ualberta.cs.routinekeen.Controllers; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import java.io.FileOutputStream; import java.lang.reflect.Type; import java.util.ArrayList; import...
41.06044
115
0.659574
9227481aab3ce1dc8f93a840c7105ddf26cebae8
2,301
package no.nav.registre.testnorge.organisasjonfastedataservice.service; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import java.util.List; import java.util.UUID; import no.nav.testnav.libs.dto.organiasjonbestilling.v1.ItemDTO; import no.nav.testnav.libs.dto.organisasjonfaste...
41.089286
106
0.756628
ea76dd66b9be789d0af2af910017400fa79f1332
11,301
package levelGenerators.benWeber; import java.util.ArrayList; import java.util.Random; import engine.core.MarioLevelGenerator; import engine.core.MarioLevelModel; import engine.core.MarioTimer; public class LevelGenerator implements MarioLevelGenerator { private int maxGaps; private int maxTurtles; priva...
35.537736
144
0.492965
1a8324674dbd90d710ceb37c539b91b46cee944e
13,304
/* * 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 * distribut...
42.234921
152
0.70896
dc9608459fb519166c850ddbbb6ea43cb8a0de34
296
package pasha.grpc.wallet.practical.server.repo; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; import pasha.grpc.wallet.practical.server.model.User; @Repository public interface UserRepository extends CrudRepository<User,Long> { }
29.6
67
0.844595
eddf7eeb0b5d489a6bfae75adceebce66856b2a3
10,161
/* * Cloudsmith API * The API to the Cloudsmith Service * * OpenAPI spec version: v1 * Contact: support@cloudsmith.io * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package io.cloudsmith....
25.530151
190
0.694026
8c9d4269a63c4785428250ff6c345fdf39a95157
12,948
package com.pinetree.mobile.activity; import java.util.Calendar; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.MotionEvent; import android.view.View; import android.view.Window; import android.view.Vie...
36.370787
127
0.748224
02ed3ac25f396b22121e2661e953d0fe64899654
2,676
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package mx.edu.ipn.cecyt9.thinkersjar.model; import java.io.Serializable; import javax.persistence.Basic; import javax.persis...
26.235294
118
0.626308
9edd47473a75564334c217b240002612d31e6219
498
package net.floodlightcontroller.debugcounter; import org.restlet.resource.ResourceException; import org.restlet.resource.ServerResource; public class DebugCounterResourceBase extends ServerResource { protected IDebugCounterService debugCounter; @Override protected void doInit() throws ResourceException...
29.294118
74
0.759036
63231d8840d833ad2aa0bb0fb2ef73fb4bd66b6a
4,297
package cn.mirrorming.blog.domain.po; import cn.mirrorming.blog.domain.base.BaseEntity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.a...
23.227027
73
0.655574
f6936c2d6dd8007428d88c2429d3f162ec9359f9
1,284
package com.arkaces.ark_bitcoin_channel_service.transfer; import com.arkaces.ark_bitcoin_channel_service.contract.ContractEntity; import lombok.Data; import javax.persistence.*; import java.math.BigDecimal; import java.time.LocalDateTime; @Data @Entity @Table(name = "transfers") public class TransferEntity { @I...
23.345455
71
0.741433
02047f5569bcbf9b22f502d666751fc9fd45c71c
5,905
package yacx; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; class TestDoubleArg extends TestJNI { static Kernel cpDoubleArray, cpDoubleSingle; static int n; static double[] testArray0, testArray1; DoubleArg inArg, outArg; @BeforeAll...
25.452586
80
0.704149
119be98fb2951f09667d2db7b21e9a8e12898eb2
191
package com.simplegame.server.stage.configure.constants; public enum DropTriggerType { NORMAL, INGNORELEVEL, TASK; private DropTriggerType() { } }
12.733333
56
0.617801
270f2e83aa07ea08f722d3746744c4de4b21a469
6,825
package cn.keking.service.cache.impl; import cn.keking.config.ConfigConstants; import cn.keking.service.cache.CacheService; import lombok.extern.slf4j.Slf4j; import org.redisson.Redisson; import org.redisson.api.RBlockingQueue; import org.redisson.api.RLock; import org.redisson.api.RMapCache; import org.redisson.api.R...
34.125
118
0.702857
0db85a7b43c193df493c1dc7d63c93398d51b71c
6,507
package com.raj.allthingspalette; import androidx.appcompat.app.AppCompatActivity; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ImageView; import a...
38.502959
145
0.611342
80c68c0feb834f45b9d8fef44eb7f42421818592
1,509
package org.mozartoz.truffle.nodes.literal; import org.mozartoz.truffle.nodes.OzNode; import org.mozartoz.truffle.nodes.OzRootNode; import org.mozartoz.truffle.nodes.local.CopyVariableToFrameNode; import org.mozartoz.truffle.runtime.ArrayUtils; import org.mozartoz.truffle.runtime.OzProc; import com.oracle.truffle.api...
36.804878
145
0.813121
1e00784bffe49a07bc9f498415916fe0dedec6bf
992
/* * Copyright (c) 2020-2021, Koninklijke Philips N.V., https://www.philips.com * SPDX-License-Identifier: MIT */ package com.philips.research.bombase.core.meta; import com.philips.research.bombase.core.MetaService.AttributeDto; import com.philips.research.bombase.core.MetaService.PackageDto; import com.philips.re...
33.066667
77
0.689516
6d0d6d4f38e81f96956ec41cf413e2fff0536370
174
package bufmgr; import chainexception.*; public class BufMgrException extends ChainException{ public BufMgrException(Exception e, String name) { super(e, name); } }
15.818182
52
0.752874
759d69cf385ad01582b2093752819543851350ec
2,355
package com.zzw.github.graphql.crawler.template; import static com.zzw.github.graphql.crawler.template.MetaTemplate.NODE_ID; /** * Created by zzw on 2018/8/31. */ public class TeamDiscussionTemplate { public static final String TEAM_DISCUSSION_INFO = "{\"query\":\"query{\\n" + " node(id:\\\"" + NOD...
33.642857
80
0.286624
cef4f41ef2e631c67cf608c4224fe88e975239c2
287
package com.dw.lib; public class TimeSpan { long start = System.nanoTime(); public TimeSpan() { } public long span() { long end = System.nanoTime(); return (end - start)/1000000; } public static void main(String[] args) { // TODO Auto-generated method stub } }
13.045455
41
0.641115
f7d45085c8b9bc547d5cb13bfd3118f1e16ded09
981
package com.atlassian.clover.eclipse.core.ui.editors.java.annotations.strategies.space; import com.atlassian.clover.CloverDatabase; import com.atlassian.clover.registry.entities.TestCaseInfo; import com.atlassian.clover.eclipse.core.ui.editors.java.CoverageAnnotation; import java.util.SortedSet; import java.util.BitS...
28.028571
91
0.744139
8d39dd9004f0478f4d9e47e780f8ff278ffe5d07
1,046
package edt.texteditor; import java.io.Serializable; public class Author implements Serializable { /*============================================================================== * Attributes *============================================================================*/ private String _name = ""; pr...
26.820513
81
0.337476
70c0e902f62c98d5bc337e86eb85fde702a1a4c9
1,004
import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.*; /** * Displays all knowledge base (KB) articles and a search bar */ public class KB_IndexController extends BaseController { protecte...
34.62069
122
0.755976
58fbda84f21c700ffcaad0117adb5f51b5927ef7
3,474
package com.kcrason.highperformancefriendscircle.beans; import android.text.SpannableStringBuilder; import com.kcrason.highperformancefriendscircle.utils.Utils; import com.kcrason.highperformancefriendscircle.enums.TranslationState; import java.util.List; public class FriendCircleBean { private int viewType; ...
22.705882
86
0.688256
2019b9289d8300f329477a235a5342730d5ee722
2,921
package edu.umass.cs.ciir.waltz.dociter.movement; import ciir.jfoley.chai.collections.util.ListFns; import edu.umass.cs.ciir.waltz.dociter.IKeyBlock; import java.util.HashSet; import java.util.List; import java.util.Objects; /** * @author jfoley. */ public abstract class AChildrenMover<T extends Mover> extends AMo...
24.341667
92
0.670318
a92e912c37e6c6e43485762332c3baf92b698aeb
4,494
package com.stylefeng.guns.modular.system.service.impl; import com.baomidou.mybatisplus.plugins.Page; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.stylefeng.guns.core.common.constant.state.DelFlag; import com.stylefeng.guns.core.exception.GunsException; import com.stylefeng.guns.core.exception....
31.208333
104
0.631064
275230ef2ca46e208f81e8bf4431702e7481c62a
3,715
/* * Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.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 requ...
39.946237
120
0.722476
92f03f828c715190669f16a67e94169d74ee572f
262
package puppynux.rg.AI.actions; /** * Created by niamor972 on 07/04/16. * Parts of puppynux.rg.AI.actions. * > */ public class OutdatedActionException extends Exception { public OutdatedActionException (String message) { super(message); } }
20.153846
56
0.694656
241b6e811b07e61c735d169ebc1217079c26c58d
1,243
/* * * Copyright (c) 2006-2020, Speedment, Inc. 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 * * Unless requi...
32.710526
91
0.7321
f773a0a7986a9c11d466ef88d63f1bdff05047f5
1,271
/* * Copyright 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
25.938776
80
0.691581
aa22aeeaad7dca9366a8730e0854672c9a34c2eb
1,080
package str.rad.util.swing; import java.awt.*; public class JTextFieldResizeable extends javax.swing.JTextField { private Dimension prefSize; public static final int CHAR_COUNT = 3; public JTextFieldResizeable(String s) { super(s); LARGEST_WIDTH_DIGIT = calculateMaxWidthDigit(); s...
27
97
0.667593
889d9a909d0b19fc9c8573a2beaa7d9a0a14b300
2,553
package com.brabbit.springboot.app; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotati...
42.55
274
0.749315
cb37269e3d8508107aadb59b9d600c130b6fd106
357
import java.util.*; public class P18 { public static void main() { Scanner sc = new Scanner(System.in); System.out.println("Enter the side"); int s = sc.nextInt(); int a = s*s; System.out.println("Area of the square="+a); int p = 4*s; System.out.println("...
23.8
57
0.551821
30865b6a35c792310f5668e8248bee28cf5631e6
617
package ru.majordomo.hms.personmgr.exception; import lombok.Getter; import lombok.Setter; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; import java.util.Map; @ResponseStatus(HttpStatus.BAD_REQUEST) public abstract class WithErrorsException extends BaseExce...
22.851852
65
0.73906
4f8742a7f77bde05002729503e3b626d04f8eb00
4,449
/* * Copyright (c) 2015, Florent Hedin, Markus Meuwly, and the University of Basel * All rights reserved. * * The 3-clause BSD license is applied to this software. * see LICENSE.txt * */ package ch.unibas.charmmtools.gui.step2.showOutput; import ch.unibas.charmmtools.generate.CHARMM_InOut; import ch.unibas.char...
34.757813
197
0.636772
edb761512384636da6885f1b832b3d814326724a
5,128
package org.comtel.javafx.robot; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import javafx.scene.input.Clipboard; import javafx.scene.input.ClipboardContent; import org.slf4j.LoggerFactory; /** * native OS support<p> * dirty unicode char support only by transf...
27.132275
104
0.681747
e20f6e7d6d50066d00b3e6bf838cd49cc2b40dbe
549
package ru.job4j.fit; /** * Fit - human optimal weight. * * @author fourbarman (maks.java@yandex.ru) * @version 1 * @since 17.08.2018 */ public class Fit { /** * Man's ideal weight. * @param height Height. * @return ideal weight. */ public double manWeight(double height) { re...
18.3
46
0.559199
569d0a51f3b61b5993a43b2fc01a1967416ba3d3
5,930
/* * Copyright 2012-2017 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 ap...
42.661871
185
0.744688
ceb6619dd7ddf61cd38770d966994008ade63d83
3,817
package net.minecraft.world.entity.animal; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerLevel; import net.minecraft.sounds.SoundEvent; import net.minecraft.sounds.SoundEvents; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.w...
41.48913
122
0.765261
821199f232e026de86ed3551f42c5fab2afb2891
303
// This is a generated file. Not intended for manual editing. package icu.windea.pls.cwt.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface CwtDocumentationText extends PsiElement { @NotNull PsiElement getDocumentationToken(); }
21.642857
61
0.788779
5921112d62d80093c35ff532e4194cc137e67f22
8,240
/*Vous trouverez les liens vers les licenses nécessaires pour l'utilisation du code dans README.md*/ package com.bonhomme.jb.smile; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; ...
43.368421
134
0.587985
4511968b27550b0e5fdb6cdcfc11f37f2fef6bd6
990
package com.outlook.image.controller; import java.util.Properties; import javax.mail.PasswordAuthentication; import javax.mail.Session; public class JavaMailPropertiesForOutlook { final static String EmailUser = "bhattarajaykumar@hotmail.com"; final static String EmailPassword = "Hotm@il512"; public Session get...
29.117647
79
0.737374
893eac44fecb69ed4d45cd6651ebad52bb0d6310
2,814
package com.tool4us.net.http; import java.util.List; import java.util.Map; import io.netty.channel.Channel; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.DecoderResult; import io.netty.handler.codec.http.HttpHeaders; import io.netty.handler.codec.http.HttpMethod; import io.netty.handler...
19.957447
62
0.604122
9a738b314b5f9f616f15c10ec19a420a207e3256
1,207
package ru.mail.polis.litemn.command; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; public class SequenceCommandProcessor<T> i...
31.763158
97
0.674399
2557e073599cdc13bce5c242bfa7fbe4339c8966
757
package havis.custom.harting.iso159612.hw; import java.util.List; import havis.application.component.db.Callback; import havis.custom.harting.iso159612.data.Settings; import havis.custom.harting.iso159612.data.Template; public interface ConfigDao { /** * loads settings * * @param callback */ void loadSet...
18.463415
71
0.708058
509ed680dcd791f2d4baa2fdfdee5d267aae3b4d
1,795
package com.nitya.accounter.migration; import org.hibernate.Criteria; import org.json.JSONException; import org.json.JSONObject; import com.nitya.accounter.core.Customer; import com.nitya.accounter.core.FinanceDate; import com.nitya.accounter.core.Job; public class JobMigrator implements IMigrator<Job> { @Override...
32.053571
95
0.730919
a613ba2bf3cf494c7798067e9f2e7eaa65405d8c
1,790
package tools.maker; import system.CoffeeRequst.Req; import goods.homemade.coffee.Coffee; /** * 咖啡机类,用于获取指定类型的咖啡实体 * @author 刘畅 * @version 0.1 */ public class CoffeeMaker extends DesertMaker { CoffeeBuilder coffeeBuilder; Coffee empty; boolean busy; public CoffeeMaker() { super(); busy=false; }...
28.412698
90
0.702235
9a6b6a66cfa480c0fe90bb17b0076a051e7cdf5b
457
package com.tvd12.ezyfox.database.service; import com.tvd12.ezyfox.database.query.EzyUpdateOperations; import com.tvd12.ezyfox.function.EzyApply; public interface EzyUpdateOneByIdService<I,E> { void updateOneById(I id, E entity); void updateOneById(I id, E entity, boolean upsert); void updateOneById(I id, Ezy...
26.882353
87
0.787746