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
fc1889fa248e0f5d9b12d1d53cf92a58550fa2c1
1,982
/* * Copyright 2015 MovingBlocks * * 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...
38.115385
95
0.756307
f920df100f04bc5d8650f86846b152d04879c385
888
package Controller; import com.opensymphony.xwork2.ActionSupport; import DAO.test; import model.student; public class Add extends ActionSupport { private String name; private int chi; private int eng; private int math; public String getName() { return name; } public void setName(String nam...
16.754717
46
0.626126
d0604f3907c134ca7acb2ef12b8ef61fb5ce7376
1,812
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
31.241379
75
0.715232
0ff54ed2183df823fe3e97640c572b8a2dbce316
221
package com.apsi.repo.exception; public class TestNotFoundException extends RuntimeException { public TestNotFoundException(Long testId) { super(String.format("Test with id: %d not found", testId)); } }
24.555556
67
0.728507
42c5d52bb0af9cd3afccb740a959d16a153905be
1,592
package io.sphere.sdk.client; import com.fasterxml.jackson.databind.JsonNode; import io.sphere.sdk.http.HttpResponse; import io.sphere.sdk.models.Base; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; import javax.annotation.Nullable; /** * A wrapper for a {@link Sphe...
33.87234
115
0.74309
41b2c734a629707d65a02b228eeaa894cbdf76cd
2,240
/* * Copyright (c) 2015 Christian Chevalley * This file is part of Project Ethercis * * 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 * ...
25.747126
76
0.712054
301d1ebbfd6b8ae533675492b9510c4c8eea2ae8
1,456
/** * Copyright (C) 2005-2009 Alfresco Software Limited. * * This file is part of the Spring Surf Extension project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * htt...
30.978723
119
0.699863
4a98e20c9f37594602a16c5388366b3df3760620
59
package com.hy.tuna.build; public class ObjectWrapper { }
11.8
28
0.762712
3ed7fa1c3d94ac4fbe9b3054d9ccf60f95f86097
1,954
/* * oauth2-oidc-sdk * * Copyright 2012-2016, Connect2id Ltd and contributors. * * 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 * *...
27.914286
116
0.738997
2ad16de3fe3af001e8fd4a4344080d0480c7e047
1,817
import java.util.*; public class Main { public static void main(String[] args) { //Dla pobranych trzech liczb, sprawdz czy reprezentuja one poprawna date. //Pierwsza liczba jest dniem, druga miesiacem, trzecia rokiem. System.out.print("Podaj dzien, miesiac i rok: \n"); int dzien; int miesiac; int rok;...
30.283333
120
0.576775
ff1fc3f500f4aea2f659b173e39f6e053c3a8cf8
1,944
package com.alibaba.sample.app; import com.alibaba.cola.context.Context; import com.alibaba.cola.extension.ExtensionExecutor; import com.alibaba.sample.common.BizCode; import com.alibaba.sample.convertor.extensionpoint.CustomerConvertorExtPt; import com.alibaba.sample.domain.customer.entity.CustomerE; import com.aliba...
32.949153
155
0.744342
d6aa941a28c2a2363a4c86698b518c0223ab5152
3,124
package cursedflames.cubeloader.block.unloaddetector; import java.util.List; import javax.annotation.Nullable; import cursedflames.cubeloader.CubeLoader; import cursedflames.lib.block.GenericTileBlock; import net.minecraft.block.properties.PropertyInteger; import net.minecraft.block.state.BlockStateContainer; import...
32.884211
91
0.783611
e0a6ecc1e70871f1d6797c0696bdf4149e9cbaad
1,974
// Copyright 2019 Pierre Talbot // 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 writ...
33.457627
112
0.717325
0174bd9274e5b06f6de1a67950b146289bcd5752
5,910
package com.fwk.sdk.base; import android.app.Application; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Build; import android.os.Handler; import android.os.HandlerThread; import android.os.IBinder; import...
31.945946
116
0.63181
f776531c49f0f17f7e51f991b67fbb19b7ee4468
6,405
package org.hkijena.jipipe.extensions.imagejalgorithms.ij1.io; import org.hkijena.jipipe.api.JIPipeDocumentation; import org.hkijena.jipipe.api.JIPipeNode; import org.hkijena.jipipe.api.JIPipeProgressInfo; import org.hkijena.jipipe.api.annotation.JIPipeDataByMetadataExporter; import org.hkijena.jipipe.api.annotation.J...
42.7
174
0.721936
6096d4b3df8421b6ee8a93639b276adb55a45397
3,028
/* * ApplicationInsights-Java * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * 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, inclu...
43.257143
99
0.779062
6cb218b9a3099893d8c03b780ec165e2ea029a5a
5,168
package dm.kaist.algorithm; import java.io.Serializable; import java.util.ArrayList; import java.util.HashMap; import org.apache.commons.lang.ObjectUtils.Null; import org.apache.spark.SparkConf; import dm.kaist.dictionary.ApproximatedCell; import dm.kaist.dictionary.Cell; import dm.kaist.graph.Edge; impo...
38.857143
199
0.692531
034ddb03d982b084235f13b94a2f7fce6642f372
733
/* * @lc app=leetcode.cn id=371 lang=java * * [371] 两整数之和 * * https://leetcode-cn.com/problems/sum-of-two-integers/description/ * * algorithms * Easy (57.07%) * Likes: 355 * Dislikes: 0 * Total Accepted: 44K * Total Submissions: 76.8K * Testcase Example: '1\n2' * * 不使用运算符 + 和 - ​​​​​​​,计算两整数 ​​​​​...
16.288889
68
0.466576
4c2dded8a88be21abdae3205147d1e0b891d5f85
5,086
/** * Class representing a combination of interventions in a signaling network * * Copyright Vera-Licona Research Group (C) 2016 * * This software is licensed under the Artistic License 2.0, see the * LICENSE file or * http://www.opensource.org/licenses/artistic-license-2.0.php for * details **/ package org.c...
28.734463
102
0.611286
12f8614dc435fc8b25f6b7dd735be5299cb58045
4,101
/* * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)]. * 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....
42.71875
178
0.753475
06366b840011f9e2e3de53a816e685c8698e9bd6
1,683
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
26.296875
76
0.648247
6dca9d065016a9b13232b22039e4ea788182cb64
2,453
package com.reddcoin.bukkit.reddcraft; import java.util.HashMap; import org.bukkit.entity.Player; import org.bukkit.plugin.PluginDescriptionFile; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; import com.reddcoin.bukkit.reddcraft.commands.BalanceCommand; import com.reddcoin.bukkit....
37.166667
130
0.726457
7e02328bff1dafdc2d49368e75c289ca7ca602cc
4,214
package com.typicalgeek.madeni; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Ca...
47.348315
132
0.618652
55bcbd88964becc231ba9a70a520683679fd7dbf
2,652
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
30.136364
108
0.691554
5205921786c95762b11ca4592f616610ece15e95
1,245
package com.yc.content.controller; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.ann...
23.942308
77
0.776707
4bb2417360197f423ce9ce08fdf853c765a038e4
1,258
package com.example.springbootexceptionhandling.bird; import com.example.springbootexceptionhandling.EntityNotFoundException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; @Service public class BirdServ...
27.955556
87
0.663752
6651cbed4745f3382584d93a80f67da27c036557
2,828
/** * */ package jscenegraph.coin3d.inventor.VRMLnodes; import jscenegraph.database.inventor.SoType; import jscenegraph.database.inventor.actions.SoAction; import jscenegraph.database.inventor.actions.SoGLRenderAction; import jscenegraph.database.inventor.fields.SoFieldData; import jscenegraph.database.inventor.fie...
28.28
117
0.678571
698941419264bc8569c8a71ed524dd42492889e2
786
package com.on_site.kamayan.collections; import com.on_site.kamayan.Kamayan; import java.util.function.Consumer; public class TreeSet<T extends Comparable<T>> { private int size = 0; private Node root; private class Node { final T value; Node left; Node right; public Nod...
17.466667
47
0.552163
7e55b78dadd3ffc87d3898f6e08a06a096b433b0
446
package com.west2.fzuTimeMachine.model.po; import lombok.Data; import java.io.Serializable; /** * @description: access_token * @author: hlx 2018-09-19 **/ @Data public class UserAccessToken implements Serializable{ private String access_token; private Integer expires_in; private St...
15.928571
54
0.674888
ffacb5c77b95c3bfa09ecfc6076d0343cbfa15a9
475
package site.halenspace.pocketcloud.threadpool.exeception; /** * 线程池执行器刷新失败异常 * * @author Halen Leo · 2021/8/10 */ public class ExecutorRefreshFailureException extends RuntimeException { private static final long serialVersionUID = -8341452103561805856L; public ExecutorRefreshFailureException(String mess...
23.75
77
0.738947
eedc7fe3a8f05a11fe1be24e5f701b0c329b0525
164
package benchmark.chocopy.execution; import benchmark.chocopy.problem.TreeProblem; public class Tree extends ChocoPyExecutionBenchmark implements TreeProblem { }
27.333333
78
0.853659
e6eb56bdd5296449cc1f31736da63a0f4063d4ce
2,478
package com.example.hp.contactmanager.data; import android.content.ContentResolver; import android.net.Uri; import android.provider.BaseColumns; public class ContactContract { /** * The "Content authority" is a name for the entire content provider, similar to the * relationship between a domain name a...
33.945205
102
0.681598
aab2d90057f4f4f155977758659f2d160afdfb04
9,545
/* * Copyright 2006-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
47.964824
124
0.742693
924c17f08892a845650b6c3cd220c0be5f40e26b
3,851
package com.epicodus.discussionforum.ui; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.Menu; import android.view.MenuInflater; import andr...
35.330275
173
0.721111
6c1a18130f8fc76a8e80089fedea9dce20b2915f
1,886
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2/agent.proto package com.google.cloud.dialogflow.v2; public interface SetAgentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.SetAgentRequest) com.google.proto...
23.873418
97
0.627784
7d8d479ff1de5445a127d595800a716d616f23ea
19,499
/* * Copyright 2019 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 applica...
34.881932
99
0.535002
c9909588711fdd96071d1a0b79186b9d75bf65cc
307
package oscana.s2n.seasar.framework.beans; /** * テスト用クラス * */ public class TestBean3 { public String aaa; public TestBean3(String aaa) { this.aaa = aaa; } public String getAaa() { return aaa; } public void setAaa(String aaa) { this.aaa = aaa; } }
13.347826
42
0.566775
0ef3768404b8d9e3f31ce593ceecdebff0e5be85
7,335
/* * 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 co.edu.uniandes.csw.watchdogs.entities; import java.io.Serializable; import java.util.ArrayList; import java.util.Lis...
24.94898
88
0.591002
f4cafe5f5f60fc5fd5beee63892438bcb6a935fb
1,276
package com.funnysec.richardtang.funnytools.validator; import cn.hutool.core.util.ObjectUtil; import com.funnysec.richardtang.funnytools.annotation.IpOrDomain; import com.funnysec.richardtang.funnytools.constant.Regular; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; ...
29
111
0.637147
56b563005400bc392c199dcc8082f4e0e7fee119
1,726
/* * Copyright 2021 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 a...
35.958333
160
0.75956
64fdfced265e54fe65fd99f7278ff3dc866a31f1
1,949
public class Teacher { private String name; private String subject; private int age; private int counter; public void greetClassroom(Classroom classroom) { System.out.println(name + ": Good morning everyone! My name is Mr. " + name + "."); for (Student student : classroom.getStudent...
28.246377
129
0.562853
b5c870a15acaef154f501a311d4c8b1348ce4309
29,992
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
36.754902
137
0.534843
aff7a4b2991c461499fd42b51f2d9c2e4c97ca5c
914
/* * 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 TermProject.graphics; import java.awt.Font; import java.awt.FontFormatException; import java.io.File; import java.io...
26.882353
98
0.677243
544e5b7cbb1707e712bd7b62595dabf5ba1b32cd
6,595
package com.haxademic.sketch.particle; import java.util.ArrayList; import com.haxademic.core.app.AppSettings; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.draw.util.DrawUtil; import com.haxademic.core.draw.util.OpenGLUtil; import com.haxademic.core.file.FileUtil...
27.944915
118
0.66884
2d6580243eb0e044ae025c5f4de565992b75f46d
1,853
// Targeted by JavaCPP version 1.5.8-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static...
37.06
96
0.731786
634c3b47c787648e6c4eaea04f859ef86688ae5a
2,760
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
40.588235
98
0.771014
8b14622a238eb9d0262ee1d8d0ebaf88b03cba19
5,374
package com.android.waylinkage.core.db; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.android.waylinkage.util.Log; /** * 数据库操作工具类 * Created by zeng on 2016/5/19. */ public class DatabaseHelper extends SQLiteOpenHelper { ...
38.113475
113
0.600298
c1a59d834d4071b05e97b458ddef4df2fd7e075e
30,206
/* * 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 ...
42.967283
209
0.588393
bf3ceb82ecce4700f721d9f871271ed3ca936780
650
package kotlin; import org.jetbrains.annotations.NotNull; @Metadata(bv = {1, 0, 2}, d1 = {"\u0000\u0010\n\u0002\u0010\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\bÆ\u0002\u0018\u00002\u00020\u0001B\u0002\b\u0002J\b\u0010\u0002\u001a\u00020\u0003H\u0016¨\u0006\u0004"}, d2 = {"", "", "toString", "", "...
28.26087
300
0.626154
c2ddf7c1e7eb687d5f259f3abc8c9b5d6c9ac097
2,817
package com.uenta.cloud.notification; import feign.RequestInterceptor; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.E...
40.826087
113
0.861555
4389c5826692d7a677591cd5748ad81024dbdee7
4,768
package fossilsarcheology.client.event; import fossilsarcheology.Revival; import fossilsarcheology.server.item.FAItemRegistry; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.client.renderer.GlStateManager...
54.804598
203
0.672609
4245a29f72f44aed785578f56d385825b36f323f
524
package com.rutgerspaans.part3; public class DirectorsFilter implements Filter { private String myDirector; public DirectorsFilter(String director) { myDirector = director; } @Override public boolean satisfies(String id) { boolean found=false; String[] directors=myDirector...
22.782609
65
0.610687
40778a07680edec19fe681a4970566c8f96d649c
1,826
package vip.seanxq.weibo.mp.util.json; import com.google.gson.*; import lombok.extern.slf4j.Slf4j; import vip.seanxq.weibo.mp.bean.message.WeiboKefuMessage; import vip.seanxq.weibo.mp.bean.message.WeiboMessMessage; import java.io.UnsupportedEncodingException; import java.lang.reflect.Type; import java.net.URLEncoder;...
28.984127
108
0.658269
a91b1e29761644cc328ac885849075b148edfa7b
1,532
package lc; import java.util.Arrays; /** * description: 给定一个包含非负整数的数组,你的任务是统计其中可以组成三角形三条边的三元组个数。 * 数组长度不超过1000。 * 数组里整数的范围为 [0, 1000] * <p> * 思路1: 三层循环遍历, 时间复杂度O(n^3) * 思路2: 排序 + 二分查找, 时间复杂度O(n^2log(n)) * <p> * 注意:二分查找时,需要找到第一个小于target元素的下标. * 选取mid与常用二分有区别,使用{@code int mid = (int) Math.ceil((left + right) /...
28.90566
79
0.497389
790d5279ff23fff33c6c6d50905b9eaa075ce27e
124
package br.com.bianeck.creational.abstractfactory.caso2.enums; public interface Instanciador<T> { T getInstancia(); }
17.714286
62
0.766129
113364ecea9979e31224a8fd601bf5997ade86ea
22,155
/* * Copyright 2017 Swedish E-identification Board (E-legitimationsnämnden) * * This program 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...
40.726103
148
0.579282
54f411c283af74e149fb89dea6c24afe7df22615
581
package gargoyle.ct.task.helper.impl; import gargoyle.ct.task.helper.CTTimeHelper; import gargoyle.ct.util.CTTimeUtil; public class CTTimeHelperImpl implements CTTimeHelper { private long delta; private long fakeTime; @Override public long currentTimeMillis() { return CTTimeUtil.currentTimeMi...
22.346154
58
0.688468
92439b70ab7eb3996ee5329c7d975448def133ce
8,277
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
34.202479
100
0.678265
73d00987ea6b9370e68988ed82bafd3486d3c1e1
1,237
/** * * An ImageLocation describes a 2D location in an image, * with the origin at the top left of the image. Compare, * hash code and equals methods are provided so that this * class can be used in collections. * * @author jmac */ public class ImageLocation implements Comparable<ImageLocation> { ...
18.462687
58
0.56831
ec4ec6636e205fff61696b8d28cbb1ecd39f7f04
390
package com.github.bazel_contrib.contrib_rules_jvm.junit5; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.Test; public class AssumptionsJUnit5Test { @Test void shouldBeSkipped() { Assumptions.assumeTrue(false); System.out.println("<<<< shouldBeSkipped"); } @Test void should...
20.526316
58
0.725641
ead30705cd7bef6c35c8d8c247164c71c979548f
10,371
package com.radioctivetacoo.worldsalad.entities; import java.util.UUID; import javax.annotation.Nullable; import com.radioctivetacoo.worldsalad.init.ItemInit; import net.minecraft.entity.CreatureAttribute; import net.minecraft.entity.CreatureEntity; import net.minecraft.entity.Entity; import net.minecraft.entity.En...
29.132022
125
0.735898
30f56eed7049aa68572735e7d5303fd12a04783e
25,712
/** * 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...
33.698558
128
0.659848
a9c2ecce1b1b2537162d5dd7ae0099b78a7bb26f
2,376
package com.gw.container.starter; import com.gw.annotations.NettyController; import com.gw.annotations.NettyMapping; import com.gw.container.common.Action; import com.gw.container.common.ActionMapUtil; import com.gw.scanner.PackageScanner; import org.apache.commons.lang3.StringUtils; import org.springframework.context...
47.52
131
0.535354
92ab3f1bd1d7edb6f139231af81d712f164e056d
482
package br.com.artemis.poctcc.controller.dto.relatorio; import br.com.artemis.poctcc.service.CalculadorIdadeUtils; import lombok.Builder; import lombok.Data; import java.time.LocalDateTime; @Data @Builder public class RelatorioDoadorDTO { private Long id; private Long idDoador; private LocalDateTime dtN...
20.956522
63
0.755187
e800ff7038c2266bc066cd71d61dff5a1ef80710
2,326
/*- * ============LICENSE_START======================================================= * ONAP : APPC * ================================================================================ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ======================================================...
29.820513
83
0.592863
a4acc9acfc6904e01cc4c3acbdd0cec154cce285
918
package com.hmkcode; import java.util.Arrays; import java.util.List; public class Recursive { public static void main(String[] args) { List<String> e = Arrays.asList("A", "B", "C", "D", "E"); int k = 3; combination(e, k, ""); } static int counter = 0; public static void combination(List<String> e, in...
19.956522
75
0.601307
c13e028c06144e8c7e31442fd1c265b3ca3f103c
4,852
package com.flight_sharing.mail; import java.util.Date; import java.util.List; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import javax.mail.Authenticator; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentica...
33.462069
84
0.713932
838c94f104c15bec6239422476e2d7e490901e44
1,470
public class Main { static Point Turtle = new Point("Turtle", 9, 9, 1); // 1st level of priority, 1 > 0 static Point Rabbit = new Point("RABBIT", 0, 0); // default priority = 0 static Grid Axis = new Grid(); public static void main(String[] args) { Screen.clear(); Axis.addPoint(Tur...
39.72973
149
0.563265
88a100e4331c8cfbae14796d87d335ab3db6eec4
19,984
/* * Copyright 2019 Yang Wang * * 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...
31.225
151
0.541884
9ff7dbe72823ffc93a862b8af04877d8609edc4c
987
package cn.xilikeli.staging.dto.account; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import javax.validation.constraints.NotBl...
24.675
227
0.756839
4bc5707438834665daaa1e7b93b362d08a0e013d
2,301
package com.dxmio.gui.linepainter; import java.awt.Color; import java.awt.event.ActionEvent; import java.util.Enumeration; import javax.swing.*; /** * @author byte * * Represents the action for the color menu. */ @SuppressWarnings("serial") public class ColorMenuAction extends AbstractAction { private BasicCa...
27.070588
99
0.58279
dcbb2b8cb47bf1e1adcdaf83fcb89f1074d4dda8
517
package lmc5.computron.common.constants; public class TradeSystemConfigConstants { public static final String TRADE_SYSTEM_CLASS = "trade.system.class"; public static final String TRADE_SYSTEM_DESCRIPTION = "trade.system.description"; public static final String TRADE_SYSTEM_OPTIMIZATION = "trade.system.optimization...
47
112
0.829787
9085e7d625db9c4134e1e458bbe5a4b84be7f1d6
11,425
/* */ package org.spongepowered.asm.mixin.injection.code; /* */ /* */ import java.util.ArrayList; /* */ import java.util.Collection; /* */ import java.util.Collections; /* */ import java.util.HashSet; /* */ import java.util.List; /* */ import java.util.Map; /* */ import java.util.Se...
31.648199
156
0.500394
c2d0c47195ace320359a4fa4f86f00f99a8a0202
5,532
/* * * This file is part of the iText (R) project. Copyright (c) 1998-2018 iText Group NV * Authors: Bruno Lowagie, Paulo Soares, et al. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License version 3 * as published by the Free ...
36.156863
109
0.650398
9b5ddc1d80b6759ac64f1b0cd98ba102f34ed82e
304
package translator; /** * Interface used for internationalization. * * @author Dina_Andrei * */ public interface Translator { /** * Get the translation from the given key; * * @param key * - the key. * @return the translation. */ public String getTraslation(String key); }
16
43
0.641447
7f0a8e645b2ff66c49132eebafba3b829d508451
1,672
package mit.cadlab.dome3.api.build; import mit.cadlab.dome3.objectmodel.modelobject.parameter.ConcreteParameter; import mit.cadlab.dome3.objectmodel.dataobject.DomeMatrixData; import mit.cadlab.dome3.util.DomeException; import edu.iupui.rg.ucum.units.Unit; import edu.iupui.rg.ucum.units.UnitAtom; import java....
29.333333
89
0.65012
bb141c7ccb25038492988a593ad6c634beaa2002
353
interface A { default void f(){} } interface B extends A { void f(); } interface C extends A {} interface D extends C {} interface E { default void f() {} } class U { <T extends B & C> void m (){} <T extends B & D> void m1(){} <<error descr="T inherits abstract and default for f() from types E and B">T</er...
20.764706
113
0.611898
4d2775eb83e39e7eb58def1d697fc11d59e223e3
4,950
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package cn.com.smartdevices.bracelet.chart.deprecated; import android.content.res.Resources; import android.os.Bundle; import android.view.View;...
30
119
0.608485
fb51905f616e0d868c466c9721102f76546b9617
1,552
package com.example.culturecloud.BeiJingRes; import android.os.Handler; import android.os.Message; import android.util.Log; import com.example.culturecloud.StaticResources.NetworkInfo; import com.google.gson.Gson; import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Respon...
28.740741
81
0.599871
76fe7a0a060c210a1830aa15070d082bdf27626c
328
package org.apache.dubbo.spi.dubbo.impl; import org.apache.dubbo.common.URL; import org.apache.dubbo.common.extension.Adaptive; import org.apache.dubbo.spi.dubbo.AdaptiveExt; public class DubboAdaptiveExtImpl implements AdaptiveExt { @Override public String echo(String msg, URL url) { return "dubbo";...
25.230769
58
0.75
c09628f615fd425e73770376c4b74ad6cf16b60d
4,071
package com.estar.hh.survey.adapter; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget....
28.270833
92
0.629575
d9d2bb3067a27f182d8711a885a85b67987e80fc
1,576
package com.checkout.hybris.occ.converters.populators; import com.checkout.hybris.facades.beans.APMPaymentInfoData; import de.hybris.bootstrap.annotations.UnitTest; import de.hybris.platform.commercewebservicescommons.dto.order.PaymentDetailsWsDTO; import org.junit.Before; import org.junit.Test; import org.junit.runne...
30.901961
83
0.779188
d6cafc901777563c0b1d0dbe390be28d7885da63
174
package wordcounter.interfaces; public interface MemoryCacheInterface<K, T> { void put(K key, T value); T get(K key); void remove(K key); void cleanup(); }
17.4
45
0.66092
76476f356440f02ae04323140ae6265aec5298c2
4,089
package org.highmed.dsf.fhir.dao.command; import java.sql.Connection; import java.util.Map; import org.highmed.dsf.fhir.dao.StructureDefinitionDao; import org.highmed.dsf.fhir.dao.StructureDefinitionSnapshotDao; import org.highmed.dsf.fhir.event.EventGenerator; import org.highmed.dsf.fhir.event.EventManager; ...
40.89
114
0.795794
2ac53585387d69c5ecdfdaee37a5bb66893829f0
315
package com.zbw.fame.model.enums; /** * 日志类型 * * @author zhangbowen * @since 2019/7/30 14:31 */ public enum LogType { /** * 文章 */ POST, /** * 自定义页面 */ NOTE, /** * 评论 */ COMMENT, /** * 系统 */ SYSTEM, /** * 邮件 */ EMAIL }
9.84375
33
0.377778
8799023ffa11dcacfeee619d8c53953712771743
1,704
package com.jfinalshop.api.controller.member; import net.hasor.core.Inject; import com.jfinal.aop.Before; import com.jfinal.ext.route.ControllerBind; import com.jfinal.plugin.activerecord.Page; import com.jfinalshop.Pageable; import com.jfinalshop.api.common.bean.DatumResponse; import com.jfinalshop.api.controller.Ba...
25.818182
76
0.756455
929aedae67067721255797a0669d6f0fc5c0e461
11,635
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
40.681818
99
0.676837
de6a264a383fbf62ec79202eb498494836de8371
882
// Copyright (c) 2021, JFXcore. All rights reserved. // Use of this source code is governed by the BSD-3-Clause license that can be found in the LICENSE file. package org.jfxcore.compiler.ast.intrinsic; import javassist.CtClass; import java.util.function.Supplier; public class IntrinsicProperty { private final ...
23.210526
105
0.675737
76eae3ffde8485c18dff3a97d3b58f3998ae100e
759
package net.alexjeffery.preppy.main; import net.alexjeffery.preppy.parser.PreppyLexer; import net.alexjeffery.preppy.parser.PreppyParser; import net.alexjeffery.preppy.syntax.Declaration; import org.antlr.v4.runtime.ANTLRFileStream; import org.antlr.v4.runtime.CommonTokenStream; import java.io.IOException; import jav...
34.5
80
0.762846
2bc3be92e1ec693a55817e72b6d5e9903d66d5f9
10,145
/* * Copyright 2013-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
25.3625
110
0.749729
68dccfbc5829d61306d3c47676e3562f87beddfa
3,624
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 - 2021 Aurelian Tutuianu * * 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 * * h...
34.846154
92
0.530077
aa3b98c836e0dd50cd413990ce5d15e4fd568a11
6,566
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.gecko.sync.net; import java.io.IOException; import java.net.URI; import java.net.URISyntaxExc...
37.096045
127
0.698599
c0424dff36d9effd4c560f796f1a92b1b8120b81
3,225
package com.fishy.hcf.kit.argument; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import com.fishy.hcf.HCF; import com.fishy.hcf.kit.Kit...
38.392857
148
0.593488
3c58da2371678fc7939a9d3589ad24c573f3cc94
2,351
package Login; import Userdata.Userdata; import java.sql.*; public class Database { //声明一个连接 Connection connection = null; //在构造方法时连接到数据库 public Database(String name, String password) throws ClassNotFoundException, SQLException { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");...
28.325301
127
0.615908
fea62f23114e8fb5f899e4a95ae04d6e31d41aa5
3,505
package fr.geringan.activdash.activities; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.material.tabs.TabLayout; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.Fragm...
32.453704
108
0.628245
9c3149f305c523de4462dce255e4dc8dfe264b92
5,922
package io.github.noeppi_noeppi.libx.impl.base.decoration.blocks; import io.github.noeppi_noeppi.libx.base.decoration.DecoratedBlock; import io.github.noeppi_noeppi.libx.base.decoration.SignAccess; import io.github.noeppi_noeppi.libx.mod.ModX; import io.github.noeppi_noeppi.libx.mod.registration.Registerable; import n...
35.461078
155
0.678149
914d6601acdee56561ba46728347e2fb2dc98145
518
package net.lainiao.dicom.scp.dao.base; import java.util.List; import org.apache.ibatis.annotations.Param; import net.lainiao.dicom.scp.entity.Instance; import org.springframework.stereotype.Repository; /** * @author author */ @Repository public interface InstanceBaseMapper { int insertInstance(Instance object)...
21.583333
50
0.776062
3d1dfc66ad3e0bf85a0f0b0647feece4952ac649
2,825
/** * (c) Copyright HCL Technologies Ltd. 2020. * LICENSE: Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 */ package com.hcl.appscan.sdk.utils; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.wink.json4j.JSONArray; import org.apache.wink.json...
30.376344
134
0.718584
6c85419e0da2852f9234547bb9c341786569e2ac
3,873
package education.mahmoud.quranyapp.feature.setting; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.CheckBox; import android.widget.CompoundButton; import android.wid...
32.008264
119
0.66331
e9b5ed528b9128d845e8c0d089831075aab16658
45,410
package com.example; import java.util.Date; import com.example.Account.*; import akka.actor.typed.ActorRef; import akka.actor.typed.Behavior; import akka.actor.typed.PostStop; import akka.actor.typed.javadsl.AbstractBehavior; import akka.actor.typed.javadsl.ActorContext; import akka.actor.typed.javadsl.Behaviors; im...
40.436331
197
0.584893