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
872cec5be4430ae9ad76c26a265c38bcb413900b
299
package se.kth.iv1201.group4.recruitment.util.error; /** * This exception is thrown if a SSN trying to be used already * exists. * * @author Filip Garamvölgyi */ public class SSNAlreadyExistsException extends RuntimeException { public SSNAlreadyExistsException(String msg){super(msg);} }
24.916667
65
0.759197
5e83e881907e5007b89dc734ee7068419f6a8a1c
2,667
package carpet.mixins; import carpet.CarpetSettings; import carpet.fakes.ServerWorldInterface; import carpet.script.CarpetEventServer; import net.minecraft.entity.Entity; import net.minecraft.entity.LightningEntity; import net.minecraft.server.world.ServerWorld; import net.minecraft.util.math.BlockPos; import net.mine...
40.409091
164
0.706787
8dd16953433b88bc800ccea4d4dfb5100de15f45
1,426
/* * Copyright 2016 Futurice GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
37.526316
75
0.732118
bce1126f1c199c154e9faa22bdd0a0a8f92f6595
796
package vehicle; /** * * @author Polis */ public class Car extends Vehicle { private int doors; public Car() {} public Car(int doors) { this.doors = doors; } public Car(String owner, String licensePlate, int buildYear, Engine eng, int doors) { super(owner, licensePlat...
18.952381
89
0.55402
90941a8bb6e52f2e003d8bdfed15d83feef92ef9
5,595
package pl.softmate.xsd.dbunit.ant; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Properties; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import ...
46.239669
132
0.686506
1a3f9e9a2f7bff80c2083c41492b5a12dd1c068a
8,501
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org> * Copyright (C) 2011 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/lic...
34.417004
94
0.753558
7d06cf1b31b954c038b390223818d11a1c3e857b
1,220
package com.example.kidroca.mylittlequizapp.authentication.models; import org.json.JSONException; import org.json.JSONObject; /** * Created by kidroca on 16.1.2016 г.. */ public class Token { public static final String FIELD_ACCESS_TOKEN = "access_token"; public static final String FIELD_EXPIRES_IN = "expir...
25.416667
67
0.668852
93cc41ced5a9651ebfbcba6a97b1af42898445b4
1,291
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands.autonomous; import frc.robot.subsystems.Shooter; import frc.robot.subsystems.Climber; import...
44.517241
128
0.757552
7a10c4ed4cd9638e25f11ff2fc31b11068730f06
2,789
package com.spoonacular.client.model; import com.spoonacular.client.model.InlineResponse20010Ingredients; import java.math.BigDecimal; import java.util.*; import io.swagger.annotations.*; import com.google.gson.annotations.SerializedName; @ApiModel(description = "") public class InlineResponse20010 { @Seriali...
32.057471
168
0.705988
ceb1d0959972866c967d52e0e09054b22a7e13dd
1,051
package edu.buffalo.rtdroid.ci; import android.content.Context; import android.content.Intent; import edu.buffalo.rtdroid.content.RealtimeIntent; import edu.buffalo.rtdroid.content.RealtimeReceiver; import java.nio.ByteBuffer; public class ResultReceiver extends RealtimeReceiver { private ByteBuffer bb = null; ...
26.948718
74
0.577545
3d457df68694fa57878304b1d3f9671f540915cd
2,011
/* * Copyright (C) 2019 Digitoy Games. * * 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 ag...
26.813333
101
0.551964
4a44e2c9cad49f62c212e231858cdfe065779432
1,499
package uk.ac.ebi.embl.api.validation.dao.model; import java.util.ArrayList; import java.util.Date; import java.util.List; public class SubmitterReference { private String submissionAccountId; private Date firstCreated; private SubmissionAccount submissionAccount; private List<SubmissionContact> subm...
26.767857
112
0.733823
5197558756b28aee06a7ff7de1cf44daca485421
614
package zone.cogni.asquare.graphcomposer; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map; import java.util.regex.Pattern; public class RegexUtils { @Deprecated // Reflectional access to named groups, should be replaced with capturing groups regex library public static Map<Strin...
26.695652
96
0.721498
e3ac86ae2be6af54229f249045e56a4dc550db11
6,476
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
41.780645
98
0.664145
8a214fe7237071a8f8ff7d0616753b6e6ddbc90e
1,385
package top.aprilyolies.beehive.transporter.server.serializer.factory; import com.alibaba.com.caucho.hessian.io.Hessian2Input; import com.alibaba.com.caucho.hessian.io.Hessian2Output; import io.netty.buffer.ByteBuf; import top.aprilyolies.beehive.common.URL; import top.aprilyolies.beehive.transporter.server.serializer...
37.432432
89
0.797112
d750a2358eea7c5ab096f7c0ae1d09aa398bc416
1,073
/* * 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 com.rflpz; /** * * @author Rflpz */ public class Place { private String name; private String address; private S...
17.031746
79
0.575023
1194e686b46c1ec15e4cbc402a1c4d9a548bab10
7,043
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
36.304124
118
0.778787
b5578dff28681485cef26651dda803ae9a27f32b
15,249
/* * 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 ...
44.328488
152
0.518067
fc077a571b7e728a4220fea390fbb86ca8646e11
5,953
/** * Copyright (c) 2014 All Rights Reserved by the SDL Group. * * 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 ...
26.22467
81
0.69276
282d0ac24400891f3d0a7d4edacc322654f7af9e
968
package mcjty.lib.worlddata; import net.minecraft.world.World; import net.minecraft.world.server.ServerWorld; import net.minecraft.world.storage.DimensionSavedDataManager; import net.minecraft.world.storage.WorldSavedData; import javax.annotation.Nonnull; import java.util.function.Supplier; /** * Local world data ...
28.470588
125
0.722107
fc6e68b6f8e7e791b0047fdb328eba49180f117f
1,888
/* * Copyright (C) Red Gate Software Ltd 2010-2022 * * 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 appli...
34.327273
114
0.715572
3bef9c4f6e839b9271de70b8e1a56bef3bc1a504
126
package ro.esolacad.microservicesdemo.acounting.service; public interface EmailService { void sendEmail(String info); }
21
56
0.793651
1887fb89b94aa113be3433f4efc534b964cd061d
137
package cn.wao3.rpc.config; import lombok.Data; @Data public class RpcConfig { private String group; private String version; }
13.7
27
0.729927
bb517dd45cf8fcc2f40b2418dc52c72c1857525e
852
package ttr.core.gui.machine.steam; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; import ttr.api.gui.SlotOutput; import ttr.core.gui.abstracts.ContainerTPC; import ttr.core.tile.machine.steam.TESteamAlloyFurnace; public class ContainerSteamAlloyFurnace extends ContainerTPC<TESt...
38.727273
86
0.787559
8fc554f9ad7a4529524adc40944daae0983574fc
4,647
package com.bx.erp.model.commodity; import java.util.List; import java.util.Map; import java.util.Random; import org.springframework.test.context.web.WebAppConfiguration; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; ...
45.116505
150
0.792124
7658203abd8d3a7c9d1c824288d86d66529e7e10
550
package ru.job4j; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** *Test *@author Maksim Askhaev *@version $id$ *@Since 0.1 */ public class CalculateTest { /** *Тест */ @Test public void whe...
18.333333
53
0.734545
5c69f3a415120dc2e71d80e8644466b5666a1e4a
7,389
/* * Copyright © 2017 CHANGLEI. All rights reserved. */ package net.box.app.library.adapter; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.widget.Filter; import android.widget.Filterable; import androidx.recyclerview.widget.GridLayoutManager; im...
32.84
159
0.633509
d154ea23f5b89212ec6f11651f42097ae68414c4
333
package com.wenox.uploading.service.listeners.events; import com.wenox.uploading.domain.template.Template; public class MetadataExtractedEvent { private final Template template; public MetadataExtractedEvent(Template template) { this.template = template; } public Template getTemplate() { return tem...
19.588235
53
0.765766
0b04ab4ac596a8dc4d3cd23e7c6be2df2134ae92
12,475
package com.example.ankit.quickquiz; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.CoordinatorLayout; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Progre...
36.691176
129
0.617956
c61716201d0853ad1818f1f902612632f536e8aa
1,337
/* * Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved. */ package com.intellij.spring.impl.model.aop; import com.intellij.aop.psi.AopReferenceExpression; import com.intellij.aop.psi.PsiPointcutExpression; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiParameter; import com.intellij.psi.Ps...
30.386364
84
0.722513
64f6182c6d22649875f4d11f7308ff7a665b1d03
5,931
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
53.918182
752
0.721801
87f47171d0c6b2a1d852bcbd816ae4de7f1d1668
230
@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package choonster.testmod3.world.level.levelgen.placement; import net.minecraft.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
28.75
58
0.895652
692568bffe505e909cce19450828f200bb113778
7,986
/** * 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...
38.028571
82
0.726146
71de8a9f69155676361b2b7ed6cac40deb76250f
589
// Copyright 2000-2017 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.jetbrains.java.decompiler.code; import java.util.LinkedList; import java.util.List; public class ExceptionTable { public static final ExceptionTable EMPTY = new Ex...
31
140
0.7691
eef074e8da1f94ff3a03443bfa540f1f1348461d
777
/** * 文 件 名: ModifyAppConfigReq * 版 权: Quanten Teams. Copyright YYYY-YYYY, All rights reserved * 描 述: <描述> * 修 改 人: zhouhaofeng * 修改时间: 2017/11/6 * 跟踪单号: <跟踪单号> * 修改单号: <修改单号> * 修改内容: <修改内容> */ package com.quanteng.gsmp.resource.appconfig.request; import lombok.Getter; import lombok.Setter; imp...
16.891304
68
0.700129
015d1bcbf61765db8d06f9cfa7a4f6fdc14958f3
2,408
package ch.rasc.wampspring.demo.various.scheduler; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service;...
31.272727
85
0.758721
b67bb5cf6b7ebe2be3c06b24418f60b932dfe8e8
3,883
package net.emaze.dysfunctional.filtering; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import net.emaze.dysfunctional.dispatching.logic.Always; import net.emaze.dysfunctional.dispatching.lo...
34.061404
106
0.678084
472b4269e188386f582ad13b710405dd46d6a220
7,610
/* * This project constitutes a work of the United States Government and is * not subject to domestic copyright protection under 17 USC § 105. * * However, because the project utilizes code licensed from contributors * and other third parties, it therefore is licensed under the MIT * License. http://opensource....
36.941748
100
0.657162
77a0b3d9d22f1626dcdf895b3bb904a3a593c49a
783
package designpattern.builder; /** * 具体建造者(服务器) * * @author wangdongxing * @since 2020/9/27 3:32 下午 */ public class WaiterBuilder extends Builder { private Product product; public WaiterBuilder() { this.product = new Product(); } @Override Builder buildA(String mes) { ...
17.021739
44
0.559387
77b1e05e3fa81c00328fecf9653f138f705662b0
65
package com.pronix.training.us; public class TaxCalculator { }
10.833333
31
0.769231
465105cca1abcbacfced43f5835892b3fb20e427
1,387
package com.hedera.demo.auction.app.api; import com.hedera.demo.auction.app.domain.Bid; import com.hedera.demo.auction.app.repository.BidsRepository; import io.vertx.core.Handler; import io.vertx.core.json.Json; import io.vertx.ext.web.RoutingContext; import lombok.extern.log4j.Log4j2; import java.sql.SQLException; i...
29.510638
81
0.679164
517af35e4872f378a5d8a2126b77893b172f101d
907
package com.flytxt.security.jwtoauthserver.authBuilder; import javax.sql.DataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import org.springframework.security.config.anno...
29.258065
108
0.793826
f35bb6c8bc55ed3b526ce8403d7488dcd8fc5dad
380
package xml.m2; import xml.m0.Tag; public interface EXML<FX,FT,FD> extends xml.m0.XML<FX,FT,FD>, EFactory<FX,FT,FD> { default java.util.Optional<Tag<FX,FT,FD>> asTag() { return java.util.Optional.empty(); } default java.util.Optional<String> validate(Tag<FX,FT,FD> toValidate) { return ja...
25.333333
82
0.668421
2a05e51f9b07196decc198cdde789b8f1dfbb5f7
4,575
package com.google.cloud.hadoop.io.bigquery.mapred; import static org.mockito.Matchers.any; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import org.apache.hadoop.mapred.JobContext; import org.apache.hadoop.mapred.TaskAttemptContext; import org.apache.hadoop.map...
33.639706
80
0.794317
1c581ff8519347cb65e3a6d949e2592dec8871c9
2,742
/** * 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 required by a...
35.153846
120
0.723195
c3efab3c60c8dcea747bd8d67605a79161660841
3,384
// Copyright 2006-2018, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged. // Any commercial use must be negotiated with the Office of Technology Transfer // at the California Institute of Technology. // // This software is subject to U. S. export contr...
29.426087
79
0.66844
1bda45f8289da39b5f23a4680a72d941995bf61e
967
package website.julians.juliansmod.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import website.julians.juliansmod.JuliansMod; import website.julians.juliansmod....
30.21875
91
0.759049
4fa602a1083dba1a4c4fe10e160219ae580ca4fb
8,675
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.sdk.iot.service.transport.amqps; import com.azure.core.credential.AzureSasCredential; import com.azure.core.credential.TokenCredenti...
36.297071
119
0.628242
22ec68070aeda71db08a4a311dfac57d6fac7cf1
5,386
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.content.crosswalk; import java.io.IOException; import java.sql.SQLException; import...
34.974026
112
0.667843
20eabfe64a8533789b0ec7f8b1c215d943e3e1fc
2,320
package ru.majordomo.hms.rc.user.resources; import com.cronutils.descriptor.CronDescriptor; import com.cronutils.model.Cron; import com.cronutils.model.definition.CronDefinition; import com.cronutils.model.definition.CronDefinitionBuilder; import com.cronutils.parser.CronParser; import com.fasterxml.jackson.annotation...
28.641975
100
0.638362
31e1973c93d4f325eac3a4ffc28cce2225881f2d
1,401
/** * Copyright (C) 2011-2018 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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/L...
30.456522
84
0.660956
9924d9d7e0adeb62198a153ee3e516a4215a51df
29,871
package com.teradata.connector.common.utils; import com.teradata.connector.common.*; import org.apache.commons.codec.binary.*; import com.teradata.connector.common.exception.*; import java.io.*; import org.apache.commons.codec.binary.Base64; import org.apache.hadoop.hive.serde2.io.*; import java.lang.reflect.*; impor...
38.793506
400
0.56677
e0f1e0874f7469d840b07b407bffb9f366535592
1,092
package me.egg82.tcpp.api.trolls; import co.aikar.commands.CommandIssuer; import me.egg82.tcpp.api.BukkitTroll; import me.egg82.tcpp.api.TrollType; import me.egg82.tcpp.enums.Message; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import java.util.UUID; public class SwapTroll ...
30.333333
107
0.680403
108e9399cab4c18e9b407ab85752715db0f526f9
997
package cn.hikyson.godeye.core.internal.modules.sm.core; /** * Created by kysonchao on 2017/11/22. */ public class ShortBlockInfo { //卡顿开始时间 public long timeStart; //卡顿结束时间 public long timeEnd; public long threadTimeCost; public long blockTime; public MemoryInfo memoryDetailInfo; pu...
28.485714
123
0.613842
a28b37531ea05d0a9a55e78aba9c3c1585b6c096
3,203
package lv.kauguri.iepirkumi.files; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.function.BiConsumer; import java.util.stream.Stream; i...
27.852174
98
0.564471
0d25c0b66bdac2f5f3ac3f46377cfef97bb410a7
3,276
/* * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others. * * 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 require...
39
186
0.729548
d42457a9f16427fb47a8fd71df047cbc97c112f9
814
package T09regularExpressions.moreExercises; import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.IntStream; public class P02RageQuitv2 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String input = scan...
37
100
0.644963
150c15434b0b50f3ff18518d9c2798179625fc2c
6,409
package com.jlkj.project.ws.intelligence.mapper; import com.jlkj.project.ws.domain.WsProject; import com.jlkj.project.ws.intelligence.domain.WsElevatorDriverInfo; import com.jlkj.project.ws.intelligence.domain.WsElevatorManager; import com.jlkj.project.ws.intelligence.domain.WsElevatorManagerDTO; import com.jlkj.proje...
34.272727
191
0.68591
04dc394aee88c9a43b7d092c6375eaf2da7294e9
1,906
package com.beeceptor.tests.models; import com.google.gson.annotations.SerializedName; /** * Created by @Boki on Mar, 2020 */ public class User { @SerializedName("birthDate") private String mBirthDate; @SerializedName("email") private String mEmail; @SerializedName("firstName") private Stri...
20.717391
54
0.645855
e2af2a0ecf8d1d9082308f869ad6c1059c8fcca0
540
package com.attendance.data.model; import java.util.Date; public class Attendence { private String date; private boolean present; public Attendence(String date, boolean present) { this.date = date; this.present = present; } public String getDate() { return date; } ...
18
53
0.612963
550af0ae5ac3b4373e63c925d18089b464c72a9a
1,951
package net.cabezudo.sofia.core.schedule; import java.util.Objects; /** * @author <a href="http://cabezudo.net">Esteban Cabezudo</a> * @version 0.01.00, 2020.09.16 */ public class Hour implements Comparable<Hour> { private final int time; private final int hour; private final int minutes; private final in...
23.506024
138
0.587904
68dcf3eb187f307498ebff33fbd83baeb0927183
52,435
package camzup.pfriendly; import java.util.Iterator; import camzup.core.Bounds3; import camzup.core.Color; import camzup.core.Curve3; import camzup.core.CurveEntity3; import camzup.core.Experimental; import camzup.core.IUtils; import camzup.core.Knot3; import camzup.core.MaterialSolid; import camzup.core.Mesh3; impor...
28.953617
80
0.60677
32757a304e8085443546c8ec6b8bfc9439d0c00b
3,622
package edu.cmu.cs.relab.tortoise; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.TreeMap; /** * Provides a naive reader for CSV files to acquire privacy risk score data. * * @author CMU RELAB * @version 1.0 ...
25.871429
76
0.662617
e31e616efa475f38f2bf093ae771357c1ea2ea29
2,980
/** * Copyright 2005-2017 Dozer Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
25.689655
76
0.701007
c1b95ab3182571f3cb217e20cfee4ff8da8c5618
2,024
package ca.team2706.scouting.mcmergemanager.gui; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.view.LayoutInflater; import android.view.View; import android.widget.EditText; import ca.team2706.scouting.mcmergemanager.R; public class GetTeamNumberD...
29.333333
104
0.668478
8bc68341eb95ed54fd63860945e06d177dca0772
1,274
package at.ac.tuwien.dsg.scaledom.io.impl; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import at.ac.tuwien.dsg.scaledom.io.NodeLocation; public class FileNodeLocation extends NodeLocation { /** Special value, indicating t...
28.311111
109
0.733909
2c3452c0ae0bc8f1eeb08b275e8b0c6bd3cee48a
3,079
/** * Copyright 2014 PubNative GmbH * * 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, publish...
34.211111
112
0.698603
e066897703b9e50cccfe3c924837d4793af2c575
338
package usi.si.seart.gseapp.db_access_service; import usi.si.seart.gseapp.dto.AccessTokenDto; import usi.si.seart.gseapp.dto.AccessTokenDtoList; import usi.si.seart.gseapp.model.AccessToken; public interface AccessTokenService { AccessTokenDtoList getAll(); AccessTokenDto create(AccessToken token); void d...
28.166667
50
0.795858
72336562b91ce180c7b862a0172a356ee3972a32
1,517
/** * Jooby https://jooby.io * Apache License Version 2.0 https://jooby.io/LICENSE.txt * Copyright 2014 Edgar Espina */ package io.jooby.internal.converter; import io.jooby.Value; import io.jooby.ValueConverter; import io.jooby.SneakyThrows; import java.lang.reflect.InvocationTargetException; import java.lang.ref...
28.622642
92
0.694133
613387433ed110578f1d623cc0f65e3d29b01697
6,716
/** * Copyright 2019 Huawei Technologies Co.,Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
25.930502
106
0.606313
12cf88a94ebe6efa6d31609a8e1fe1a4dd5db9e4
926
package com.dailystudio.job; public abstract class Job implements Runnable { public interface OnFinishedListener { public void onFinished(JobExecutor executor, Job job); } private volatile boolean mRunInCreatorThread; private OnFinishedListener mOnFinishedListener = null; public Job() { this(fal...
18.156863
64
0.7473
880b159c81482642fa13e57e9ca74736c9209dcd
11,258
/* * Copyright 2014-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 ap...
30.675749
115
0.760437
f5f9cb2387d8d346b72f4f170f1d7fd2297bfb5a
10,414
/* * Copyright (C) 2007-2010 Júlio Vilmar Gesser. * Copyright (C) 2011, 2013-2015 The JavaParser Team. * * This file is part of JavaParser. * * JavaParser can be used either under the terms of * a) the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the...
27.623342
110
0.600922
abd578549c5ba1cd2d3040209745177e18ca0a25
941
package com.github.webdriverextensions.internal.junitrunner; import com.github.webdriverextensions.Bot; import static com.github.webdriverextensions.internal.utils.StringUtils.quote; import static com.github.webdriverextensions.internal.utils.WebDriverUtils.getScreenshotFilePath; import org.junit.runner.notification.F...
34.851852
97
0.774708
145382db8a10b6e156849f3535c1b12926ccb26e
114
package org.fz.complexity.json.drops; /** * @author Zach (findzach.com) */ public class NPCDropDefinition { }
12.666667
37
0.701754
5edec53e7b06b3c01d2e64d53e41547feedfa438
317
package de.pnp.manager.ui.part.interfaces; import javafx.beans.value.ObservableDoubleValue; import javafx.scene.Node; public interface EdgeFactory<E> { Node create(ObservableDoubleValue startX, ObservableDoubleValue startY, ObservableDoubleValue endX, ObservableDoubleValue endY, E content); }
28.818182
83
0.782334
1b4860b5a6e320f0be987aab9a08308874525570
63
package Chapter6; public interface ITire { void tire(); }
10.5
24
0.68254
31e997214c39c681afa22eeafbbfe73b409570c3
2,953
/* * Copyright 2021 NAVER Corp. * * 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 ...
45.430769
107
0.780224
7ba6cacc985114d965cf5f123312f9010d4edb3f
303
package android.support.v4.p006c.p007a; import android.graphics.drawable.Drawable; /* renamed from: android.support.v4.c.a.f */ class C0072f extends C0071e { C0072f() { } public int m522d(Drawable drawable) { int a = C0080n.m548a(drawable); return a >= 0 ? a : 0; } }
20.2
44
0.636964
cccab2f948c02120f550e3f5c96f023e798838b2
3,478
/***************************************************************************** * This file is part of the Prolog Development Tool (PDT) * * Author: Andreas Becker * WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start * Mail: pdt@lists.iai.uni-bonn.de * Copyright (C): 2012, CS Dept. III, University of Bonn * ...
32.203704
135
0.690052
7b2d6b85ae1c77bac30240fdb76100ebc4045d6d
628
package sanity.basictests; import edu.umd.cs.mtc.MultithreadedTestCase; import edu.umd.cs.mtc.Threaded; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author <a href="mailto:jvb@newtec.eu">Jan Van Besien</a> */ public class SanityWaitForTickBlocksThread extends MultithreadedTestCase { ...
18.470588
72
0.651274
7006a128c9f65ad3d5e94fa84d525bba5be2b7e9
723
package org.tiankafei.aviator.extend.exception; /** * @author tiankafei * @since 1.0 **/ public class AviatorException extends RuntimeException { public AviatorException() { super(); } public AviatorException(String message) { super(message); } public AviatorException(String m...
22.59375
69
0.625173
4d0d5c18f7e9b20f6e90abee03fc27684a074967
541
package gov.nasa.jpf.symbc.veritesting.ast.transformations.ssaToAst; import com.ibm.wala.ssa.ISSABasicBlock; import za.ac.sun.cs.green.expr.Expression; /** * This represents a phi condition, that associates a "condition" with the "then" and the "else side. */ public class PhiCondition { public enum Branch {Then...
24.590909
101
0.719039
c61a2d65fb80e3aa509dc43d1dad40edc65c1a17
1,334
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TransactionOperationType1Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpl...
21.174603
95
0.63943
16ffa670da821e9a54a77389aa69ea9c576ecec4
3,540
package no.unicornis.altinn.soap.models; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * Created by taldev on 14/10/16. * * Originally created by tba @ brreg. * * Helper class to perform a file upload. */ public class UploadFile { private String externalServiceCode; pri...
27.874016
86
0.614689
91eee8a89ce3b3e32c50d0818b1c0a3b84d2600e
1,162
package com.android_mvc.framework.ui.view; import java.util.HashMap; import android.content.Context; import android.widget.EditText; /** * EditTextのラッパークラス。 * @author id:language_and_engineering * */ public class MEditText extends EditText implements IFWView { public MEditText(Context con...
20.385965
121
0.612737
7ce3669a464f77c54115ffe78443f4fac3538886
1,191
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package io.v.v23.vdl; /** * VdlUint64 is a representation of a VDL uint64. */ public class VdlUint64 extends VdlValue { private static final long s...
21.654545
60
0.61377
767213221b54d8f34a3ee9c01e41462068fbf4fa
5,650
package com.tomlai.app; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.ActivityInfo; import android.location.LocationManager; import android.os.Bundle; import android.provider....
33.431953
131
0.606726
90cb931749db5793d3b7982fff451550164c8f9a
31,117
/** * 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...
34.651448
109
0.57663
a3701d29708312d59bd245846120c72d3bd206da
1,621
package de.undercouch.citeproc.tool.shell; import de.undercouch.citeproc.tool.AbstractCSLToolCommand; import de.undercouch.underline.CommandDesc; import de.undercouch.underline.CommandDescList; /** * Contains the configuration for all additional shell commands * @author Michel Kraemer */ public final class Additio...
40.525
88
0.60765
7399a6c139ffd75c124e5c7573eb13d53dbb9f3f
10,528
/* ### * IP: GHIDRA * * 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 writin...
30.340058
96
0.696429
7c5c443b7eacf072580b4698fe450d93751705b5
1,196
package pl.edu.pw.mini.gapso.configuration; import com.google.gson.JsonElement; import pl.edu.pw.mini.gapso.bounds.BoundsManager; import pl.edu.pw.mini.gapso.bounds.GlobalModelBoundsManager; import pl.edu.pw.mini.gapso.bounds.RandomRegionBoundsManager; import pl.edu.pw.mini.gapso.bounds.ResetAllBoundsManager; public ...
30.666667
79
0.694816
904dd9858b9d76fdd04f1769a71a19b3f7822a7b
1,714
/** * Copyright (C) 2015 Red Hat, 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...
32.961538
75
0.714702
35a23fb7e0091bfa48a369cb1c5bb7150bbd47fc
5,571
/* * Copyright 2015 Red Hat Inc. and/or its affiliates and other 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 * Unless req...
34.388889
118
0.72285
e9af07b98514f22b9af15e9c73aab024e1d8e8d9
503
package com.sjwoh.airview.client; import java.io.IOException; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; /** * The client-side stub for the RPC service. */ @RemoteServiceRelativePath("greet") public interface GreetingService extends RemoteS...
31.4375
92
0.817097
fa967aa670d27587130168d2434f8d00aa80222d
8,164
package com.yourpackagename.yourwebproject.model.entity; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; impor...
20.207921
108
0.734444
93cd84ad11d05516510554cf17fde52e5350df0f
1,589
package tm; import java.util.Set; import java.util.HashSet; // Verrou bloquant avec deux modes : // partagé pour des lectures en parallèle et exclusif pour une écriture seule. public class SharedLock { private boolean exclusive; private Set<String> holders; public SharedLock() { this.exclusive ...
29.425926
84
0.583386
828641a95a493af64f94210ec84f4e5774943f53
5,168
/* * Minio Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2015 Minio, 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 * ...
18.65704
87
0.658475
2fdc388e6cabe3783de51276c524b8e938917d3f
1,808
package com.amazon.aws.prototyping.apigateway; import java.io.IOException; import java.io.InputStream; import org.apache.commons.io.IOUtils; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.events.APIGatewayProxyRequestEvent; import com.amazonaws.services.lambda.runt...
35.45098
103
0.720133
b3a641fc73a1e15f0ce7c242e9d451d44c3016ec
322
/** * Classe de exceção para camada de acesso a dados */ package br.edu.fanor.progweb.arquitetura.exceptions; /** * @author patrick.cunha * */ public class DAOException extends Exception { private static final long serialVersionUID = 6986867524676026821L; public DAOException(String msg) { super(msg); } ...
16.947368
67
0.726708