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
048be2362f33dc2ff84d8bbe14bb4f29916a25ec
668
package com.almis.awe.test; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; /** * Main class that launches the application. */ @SpringBootApplication public class...
31.809524
124
0.787425
c0c4d0ad582a005b82e43889084654be60806ef8
503
//@@author rajdeepsh package seedu.address.model.group.exceptions; /** * Signals that the operation will result in duplicate Groups (Groups are considered duplicates if they have the same * fields with the exceptions of persons in group). */ public class DuplicateGroupException extends RuntimeException { /** ...
27.944444
117
0.729622
f53e851b3e06b36ba27372995a2c87eaf9cb0eab
4,604
package kirmanak.TextSearcher; import javafx.concurrent.Service; import javafx.concurrent.Task; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.extern.log4j.Log4j2; import org.apache.logging.log4j.message.EntryMessage; import java.io.IOException; import java.nio.file.Files; import java.nio....
37.737705
108
0.59318
ac96c5a2642d6159a1ca687c397ef43c11c160f1
2,676
package javax0.geci.tutorials.simple; import javax0.geci.annotations.Geci; @Geci("fluent definedBy='javax0.geci.tutorials.simple.TestSimpleGrammar::defineSimpleGrammar'") //@Geci("fluent syntax='(singleWord | parameterisedWord | (word1 optionalWord?) | (word2 (wordChoiceA | wordChoiceB)) | word3+) end'") public class...
23.681416
134
0.560912
4f7092002070d988612d0f71d13056e63b29b515
8,326
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * Open Dynamics Eng...
27.032468
85
0.575066
297225bc29938d065617e8c9f2ef1ccdb5683871
2,143
//------------------------------------------------------------------------------------------------ // // SG Craft - Stargate controller fuelling gui screen // //------------------------------------------------------------------------------------------------ package gcewing.sg.features.ic2.zpm.modulehub; import gcew...
36.322034
132
0.601493
bbc5a35fca0213fa7602bbee853785dd1554520a
12,810
package org.vaadin.gridutil.demo; import com.vaadin.annotations.Theme; import com.vaadin.annotations.Widgetset; import com.vaadin.data.ValueProvider; import com.vaadin.data.provider.Query; import com.vaadin.icons.VaadinIcons; import com.vaadin.server.SerializablePredicate; import com.vaadin.server.VaadinRequest; impor...
37.565982
129
0.614208
7191e173f82c8bf74bb81305fdcb8bc39b963756
1,678
package com.documents4j.demo; import org.apache.wicket.Component; import org.apache.wicket.behavior.AttributeAppender; import org.apache.wicket.feedback.FeedbackMessage; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.panel.FeedbackPanel; import org.apache.wicket.model.IModel; i...
29.438596
101
0.634088
935338f3515f6d3b9d4073523d01ea726c3e9592
121
package model.generationutility; public abstract class AbstractGenerationUtility { public abstract void update(); }
15.125
49
0.801653
32d27a88820882ba8fd9f377930fb9696e548b71
324
package adris.altoclef.eventbus.events; import net.minecraft.client.util.math.MatrixStack; public class ClientRenderEvent { public MatrixStack stack; public float tickDelta; public ClientRenderEvent(MatrixStack stack, float tickDelta) { this.stack = stack; this.tickDelta = tickDelta; ...
23.142857
66
0.728395
7a7504326317d8eb27c6409619fcb0f1c9071bfd
5,655
/* * Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences. * * This file is part of Duckling 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 L...
36.483871
150
0.760212
9ff8ee7a9d4a2796041d8350a89682e6fa2ba66d
2,212
package org.mbari.vars.ui.commands; import org.mbari.vars.ui.UIToolBox; import org.mbari.vars.services.model.Association; import org.mbari.vars.services.AnnotationService; import org.mbari.vars.services.ConceptService; import org.mbari.vars.ui.javafx.AnnotationServiceDecorator; import java.util.UUID; /** * @author ...
36.866667
111
0.664557
7d54c83623464361bc9b502685c96c93c3a6a3d7
555
package org.cid15.aem.veneer.core.dam.impl; import com.adobe.cq.dam.cfm.ContentFragment; import org.cid15.aem.veneer.api.dam.VeneeredContentFragment; public final class DefaultVeneeredContentFragment extends AbstractVeneeredAsset implements VeneeredContentFragment { private final ContentFragment delegate; p...
26.428571
116
0.763964
a49f0b8194577ddd28220e69e492266ec92ab498
2,996
package com.dbs.demo.controller; import com.dbs.demo.repository.ParameterRepository; import com.dbs.demo.model.Parameter; import com.dbs.demo.repository.LocationRepository; import com.dbs.demo.model.Location; import com.dbs.demo.repository.MeasureRepository; import com.dbs.demo.model.Measure; import com.dbs.demo.repos...
31.87234
91
0.735314
e262db95739500fb8de0520ad469f38776740879
127
public class EqualSumChecker { public static boolean hasEqualSum(int x, int y, int z) { return z == x + y; } }
21.166667
60
0.606299
257e8373ac05a8f332d64b4edff840964561806e
4,187
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 10.03.2019 */ package net.finmath.service.jsf; import java.text.DecimalFormat; import java.text.NumberFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Array...
29.27972
126
0.737282
19fbcc5a35e65068eab11d419bf30540411674e1
1,495
package com.mathandoro.coachplus.views.UserProfile.ViewHolders; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.mathandoro.coachplus.BuildConfig; import com.mathandoro.coachplus.R; import com.mathandoro.coachplus.Sett...
35.595238
95
0.701003
1b5ee104fb71d29a8a2b7dff5da72d694d2989d8
3,257
package com.concert.test; import com.damai.concert.dao.IManagerDAO; import com.damai.concert.dao.INewOrderDAO; import com.damai.concert.dto.ManagerDTO; import com.damai.concert.dto.NewOrderDTO; import com.damai.concert.dto.SubOrderDTO; import org.apache.log4j.Logger; import org.junit.Test; import org.junit.runner.RunW...
26.056
93
0.61836
adb18ca285c166ac5654342468b291974fccb177
7,612
package net.thevpc.nuts.toolbox.nwork.filescanner.eval; import java.io.StringReader; import java.util.ArrayList; import java.util.List; public class SyntaxParser { TokenIterator tokens; Evaluator evaluator; public SyntaxParser(String anyStr,Evaluator evaluator) { this(new TokenIterator(new String...
32.391489
102
0.434183
75b21b9a4db829982a213f1c550d05f6c61a992c
472
package net.minecraft.client.renderer; import net.minecraft.block.*; import net.minecraft.client.renderer.tileentity.*; import net.minecraft.item.*; public class ChestRenderer { public void renderChestBrightness(final Block p_178175_1_, final float color) { GlStateManager.color(color, color, color, 1.0f);...
31.466667
86
0.743644
9d5cb0fe6d0845a94ab23abfc9014bc9b0d46d2b
6,411
/* * MIT License * * Copyright (c) 2019-2020 PiggyPiglet * * 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,...
35.225275
125
0.666355
a3930934019d616d702b9f8c7bc6bff517d553bc
437
package com.panlei.concurrency.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author pan_l * @ClassName 课程里用来标记【线程不安全】的类或者写法 * @Description * @date 2019-06-10 17:58 */ @Target(Ele...
23
44
0.771167
d031add8bc5dc2b13871b253a5058c53c969772f
1,787
package org.innovateuk.ifs.project.consortiumoverview.viewmodel; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.innovateuk.ifs.project.status.resource.ProjectTeamStatusResource; public ...
32.490909
126
0.688304
4c50225c0fcc6cd06352233183aa2d519f55b407
1,046
package cloud.zeroprox.gameparkour; import cloud.zeroprox.gameparkour.game.IGame; import org.spongepowered.api.entity.living.player.Player; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.block.InteractBlockEvent; import org.spongepowered.api.event.filter.cause.First; import org.spongep...
36.068966
112
0.685468
ba41c9827462b70ff567cf32c5a88a82bbd60294
1,334
package de.thro.inf.prg3.a05.tests.collections; import de.thro.inf.prg3.a05.collections.*; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.function.Executable; import static org.junit.jupiter.api.Assertions.*; public class PlantTest { private Flower gb, t...
25.653846
82
0.627436
8380c97683ad5b900186f98096e62eef85916aa8
3,958
package cn.edu.buaa.crypto.encryption.hibbe; import cn.edu.buaa.crypto.algebra.Engine; import cn.edu.buaa.crypto.algebra.serparams.PairingKeyEncapsulationSerPair; import cn.edu.buaa.crypto.algebra.serparams.PairingKeySerPair; import cn.edu.buaa.crypto.algebra.serparams.PairingKeySerParameter; import cn.edu.buaa.crypto...
43.021739
145
0.732441
5c089299c7171e7a3c164cafb3bd9bd56b8b262b
849
package uk.gov.hmcts.reform.idam.web.validation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.validation.Constraint; import javax.validation.Payload; /** * @author Ivano */ @Target({Elem...
24.970588
90
0.710247
95e1875be54902064e5cd0ec90572bf342615eda
4,912
package pl.edu.agh.panda5.player; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.physics.box2d.Body; import pl.edu.agh.panda5.application.GameObject; import pl.edu...
28.894118
179
0.633958
4cb44ad08c43a902f19a621f55c5ef508370bf21
1,344
package com.roro.mall.tiny.controller; import com.roro.mall.tiny.common.api.CommonResult; import com.roro.mall.tiny.service.UmsMemberService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereoty...
37.333333
103
0.789435
c1cfcf956bf69fc60be2424fb8b90e5d68b21183
549
package io.cronit.service; import org.junit.Test; import org.springframework.test.util.ReflectionTestUtils; import static org.assertj.core.api.Assertions.assertThat; public class HashServiceTest { @Test public void it_should_hash_with_salt_value() { HashService hashService = new HashService(); ...
28.894737
73
0.730419
f8697a55c778e38955688e6b30537d92c18f8f38
2,655
/* * Copyright 2010 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 ap...
26.55
75
0.682109
55e675c42b26a0d68cb5733127371643c9de4212
2,807
package org.asteriskjava.manager.internal.backwardsCompatibility.bridge; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.asteriskjava.manager.event.BridgeCreateEvent; import org.asteriskjava.manager.event.BridgeDestroyEvent; import org.asteriskjava.manager.event.Br...
30.846154
95
0.67581
4b1332df886b5533d93d012a593def74866bbb39
2,111
package mpicbg.spim.fusion; import java.util.Date; import mpicbg.imglib.container.ContainerFactory; import mpicbg.imglib.cursor.Cursor; import mpicbg.imglib.cursor.LocalizableByDimCursor; import mpicbg.imglib.image.Image; import mpicbg.imglib.outofbounds.OutOfBoundsStrategyFactory; import mpicbg.imglib.type.numeric.r...
30.157143
182
0.751776
702ed391527485cdafd9d272533918178955e0e2
1,662
package com.marsspiders.ukwa.solr.data; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import java.util.Map; @JsonIgnoreProperties(ignor...
27.245902
82
0.73225
5127930f31522094459ae45e596ee2d437627ecc
1,275
package com.hustack.nl.util; import org.springframework.beans.BeansException; import org.springframework.beans.factory.DisposableBean; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; @Component public c...
31.097561
90
0.734118
43f0f1c076a66bf022dc06abe20825c1d6fd2c8c
5,649
package com.arittek.demo.services; import com.arittek.demo.exceptions.BadResourceException; import com.arittek.demo.exceptions.ResourceAlreadyExistsException; import com.arittek.demo.exceptions.ResourceNotFoundException; import com.arittek.demo.model.Student; import com.arittek.demo.model.Subject; import com.arittek.d...
35.753165
117
0.620287
59e7a564fcfe18b9779d7f57320d050b42b4dc2a
2,600
package io.github.gushuizerotoone.diffuse.core; import io.github.gushuizerotoone.diffuse.core.policy.RedoPolicy; import io.github.gushuizerotoone.diffuse.core.schedule.SagaScheduler; import io.github.gushuizerotoone.diffuse.spi.SagaContextRepo; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; pub...
27.659574
106
0.719231
ca711a8a81edb9a2ee59513f2c09ce85774459f0
2,292
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; public class ServerPlayer implements Constants { private char mark; private BufferedReader playerIn; private PrintWriter playerOut; private Socket aSocket; ...
26.964706
113
0.562827
3b7a14ca59f98191d737c28afcb889881171e19a
4,667
/* * RankModel.java: a ComboBoxModel retaining all ranks * * Copyright (c) 2006, 2014, 2015, 2016 Nozomi `James' Ytow * 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...
24.307292
80
0.686094
1d7eaa8dddd2c3c4eccf86322311293e02dca8aa
604
package Recursion; import java.util.ArrayList; import java.util.List; public class combinations_77 { public List<List<Integer>> combine(int n, int k) { List<List<Integer>> res = new ArrayList<>(); _recursion(1, n, res); return null; } private void _recursion(int level, int n, List...
23.230769
72
0.556291
829e998b325f492a838a5d1201e03c5c4c3afe95
7,943
package com.hedera.services.bdd.spec.transactions.file; /*- * ‌ * Hedera Services Test Clients * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, LLC * ​ * 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 o...
30.667954
112
0.739897
321a7704df19d03782d58bf3f8ed03a960ea8c2e
3,817
package org.jlibsedml; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.jdom.Document; import org.jdom.Element; import org.jdom.JDOMException; import org.jdom.filter.AbstractFil...
31.545455
116
0.576369
ec5aab7136864827a94af83fd33a6e73f781047d
1,240
package CommandNodes; import Handlers.HandlerInterfaces.CommandHandlerInterface; /** * @author Mary Gooneratne * CommandNode that checks if either child is not equal to zero */ public class OrNode extends TurtleCommandNode { private static final int BOOLEAN_PARAMS = 2; /** * Instantiates OrNode object ...
26.956522
116
0.690323
fabfd7784a982ae6c7a4a07d112e456c37e32bce
222
package club; @SuppressWarnings("serial") class BadBookingException extends Exception { BadBookingException() { super("Invalid Bookings"); } BadBookingException(String s) { super(s); } }
13.875
46
0.648649
556bafd01c9937f648f8db1549de64def0e038af
385
// Copyright (c) 2009, Uwe Finke. All rights reserved. // Subject to BSD License. See "license.txt" distributed with this package. package de.ufinke.cubaja.cafebabe; import java.io.DataOutputStream; interface Generatable { /** * Writes generated result to a stream. * @param out * @throws Exception */ ...
22.647059
75
0.724675
39c8a1e099e3ef04aea464b51cf5f9abdf51d009
561
package com.github.wujiuye.datasource.tx; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * 事务配置 * * @author wujiuye 2020/08/04 */ @Component @ConfigurationProperties(prefix = "easymuti.transaction") public class TransactionProps { ...
19.344828
75
0.705882
90070c4859fe65d3086ce252f35a787ba874f235
317
package com.study.movienetflix.model.repositories; import com.study.movienetflix.model.entities.User; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; public interface UserRepository extends JpaRepository<User,Integer>{ Optional<User> findByUserName(String userName); }
28.818182
68
0.829653
d3cf6c259f58cfc79242db6a309ab235a38a9011
4,225
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apac...
37.723214
117
0.750296
e68fba5c029d1761f70cd5e0d5b6cf65d3f58047
1,573
package mynamaneet.examplemod; import java.util.ArrayList; import com.mynamaneet.dolmodloader.*; import com.mynamaneet.dolmodloader.exceptions.*; import com.mynamaneet.dolmodloader.file_classes.*; public class ExampleMod extends Mod { public ExampleMod() { super("Example Mod", "1.0.8", "mynamaneet"); ...
40.333333
135
0.692308
bb00761507126ab22b3ac545a2a5f2c747f407b0
353
package com.geekcolab.development.springhelloworld; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringHelloWorldApplication { public static void main(String[] args) {SpringApplication.run(SpringHelloWo...
29.416667
108
0.844193
9e531d548592b3a75bf44001f13fff584ab2fa28
6,964
/** * Copyright (c) 2011,2015 CSIRO - Australia Telescope National Facility (ATNF) * * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * PO Box 76, Epping NSW 1710, Australia * atnf-enquiries@csiro.au * * This file is part of the ASKAP software distribution. * * The ASKAP software di...
35.896907
91
0.648909
fd2e83073046a6c5a4a4544a34893eda55e1e948
2,277
package com.wf.ew.api.controller; import com.wf.ew.api.base.BaseApiController; import com.wf.ew.common.JsonResult; import com.wf.ew.common.shiro.EndecryptUtil; import com.wf.ew.common.utils.StringUtil; import com.wf.ew.system.model.User; import com.wf.ew.system.service.UserService; import org.springframework.beans.fac...
33
133
0.671058
b83ddf272b2a1740c6d07195f0b9981c635065a3
1,152
package org.jgille.mumon.dropwizard.monitoring.health.domain; import com.codahale.metrics.health.HealthCheck; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import javax.annotation.Nonnull; imp...
33.882353
91
0.68316
a7d9ef0d889464c64d997af6bfdb54a0e128b79a
23,649
/* * Copyright 2007 skynamics AG * * 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 applic...
28.665455
124
0.626031
902bddc2b561d21d764e44b5b436dab550e796f4
355
package com.mtnfog.idyl.e3.utils; import ai.idylnlp.model.ModelValidator; import ai.idylnlp.model.exceptions.ValidationException; import ai.idylnlp.model.manifest.ModelManifest; public class DefaultModelValidator implements ModelValidator { @Override public boolean validate(ModelManifest manifest) throws Validatio...
23.666667
77
0.822535
16f607ba8b3c33e61dbc2bf4ecc431dac1a40b58
2,611
package reactor.aeron; import io.scalecube.trace.TraceReporter; import java.time.Duration; import org.HdrHistogram.Histogram; import org.HdrHistogram.Recorder; import reactor.core.Disposable; import reactor.core.Disposables; import reactor.core.publisher.Flux; import reactor.core.scheduler.Schedulers; public class La...
28.692308
98
0.659517
4765857226f32527a94731b4d9152ce54021547d
244
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner (System.in); int a; int b; int c; a = scan.nextInt(); b = scan.nextInt(); c = a+b; System.out.print(c); } }
13.555556
41
0.610656
5d6dc892a7cc2cd4334cfc20bf830dea360065b6
6,310
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
40.974026
159
0.689223
31dafcb650c5ec3a1718aab211027d36181cae83
1,574
package com.pojo; public class Booksinfo { private int bid; private String bname; private String bauthor; private String bisbn; private String bconcern; private int tid; private double bprice; private int bnum; private int sid; private String sname; private String tname; public String getSname() { ...
17.296703
43
0.681703
fe552143dc0e8cecf5774f04c87897facd062923
3,714
import java.awt.Graphics; import java.awt.geom.AffineTransform; import java.awt.image.AffineTransformOp; import java.awt.image.BufferedImage; /** * Class to represent a draw sprite. * Sprites can be animated using cell animation, rotated and translated. * * @author Zachary Peterson * @version 1.0 */ public class...
30.195122
80
0.599623
fea09e40ca84dfbb832ed9479ce91cb846547429
818
package com.github.maxpower47.tagviewenhanced.library.color; import com.github.maxpower47.tagviewenhanced.library.model.Tag; import java.util.Arrays; import java.util.List; public class HashColorGenerator implements ColorGenerator { public static ColorGenerator DEFAULT; static { DEFAULT = create(Arrays.asList( ...
20.974359
74
0.742054
2232c8545a5c3015d194c5cd581b07f95e9c5ffc
4,917
package com.palantir.stash.stashbot.util; import java.math.BigInteger; import java.nio.ByteBuffer; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.spec.InvalidKeySpecException; import java.security.spec.RSAPublicKeySpec; import java.u...
36.969925
115
0.601586
adf52d86f6437767fc8375c950efa3e7f005c301
1,442
package ca.uhn.fhir.jpa.starter.oauth; import ca.uhn.fhir.jpa.starter.HapiProperties; import org.bson.Document; import org.hl7.fhir.r4.model.Person; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; i...
38.972973
185
0.744799
3f84478a00bb7b92a7093999e4ac5ab653049446
2,292
package com.mobiletv.app; import android.content.*; import android.net.*; import android.support.v7.widget.*; import android.view.*; import android.widget.*; import java.util.*; import com.mobiletv.image.*; public class ChannelsAdapter extends RecyclerView.Adapter<ChannelsAdapter.MyViewHolder> { private Context ...
26.651163
89
0.679319
92269ab17acaeebed487bfe91624c1bce81dd005
11,356
/* * Copyright 2012-2014 Netherlands eScience Center. * * 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 the following location: * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
25.404922
115
0.560056
69146d50db0ff49f85e8c104cf59b5ff5a34e8ff
286
package com.projectomega.main.game; public enum DyeColor { BLACK(), BLUE(), BROWN(), CYAN(), GRAY(), GREEN(), LIGHT_BLUE(), LIGHT_GRAY(), LIME(), MAGNENTA(), ORANGE(), PINK(), PURPLE(), RED(), WHITE(), YELLOW(), ; }
12.434783
35
0.479021
e3f5784b43abb8be38f47bf376724c2f4f3b3b4f
1,018
package net.badlion.velocityapi.survival; import net.badlion.modapicommon.survival.AbstractSurvivalManager; import net.badlion.modapicommon.survival.SurvivalFeature; import java.util.Set; public class UnsupportedSurvivalManager extends AbstractSurvivalManager { @Override public void enableAllFeatures() { throw n...
29.941176
88
0.803536
ecf4efffe84f6b714f39d0ff5149c6eb118ac7f8
7,663
/* * Copyright 2017 Alexey Andreev. * * 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...
30.169291
107
0.58541
c5d4ff54cfe2ec1de718ef9753a8ed0459a8c68f
295
package com.plugin.otherimpl; import com.yain.plugin.api.IPrinter; /** * TODO * * @author Apple_Coco * @version V1.0 2019/10/14 4:45 */ public class ColorPrinterImpl implements IPrinter { @Override public String print(String msg) { return "这是彩色打印机打印出的内容:" + msg; } }
16.388889
51
0.667797
d5c26ddbabb3f58d314f7bf0f393d41a4dd9ff7b
2,352
/* * Copyright 2017 Axway Software * * 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...
30.153846
95
0.66199
c0573fe3d098ce12e3b084ac7ed5e4a30e5eece6
2,444
package com.wisdom.webservice.outstaff.entity; import javax.xml.bind.annotation.XmlRegistry; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the cn.webservice.outstaff package. * <p>An ObjectFactory allows you to programatically * constr...
25.458333
136
0.664894
3714ce54f239954b5fb109f0d9f16d39397cdf51
1,203
package kdl.mixin; import kdl.internal.block.blockentity.KDLBlockEntity; import net.minecraft.block.entity.BlockEntity; import net.minecraft.client.MinecraftClient; import net.minecraft.client.network.ClientPlayNetworkHandler; import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket; import org.spongepo...
38.806452
112
0.744805
b0905298dd23ee93c5eab7607f82cef1c1b8e003
946
package com.ibm.xom.model; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; public class Rules { private String ruleName; private String ruleURL; private String ruleExecutionTimeStamp; public String getRuleName() { return ruleName; } public void setRuleName(String ...
20.565217
129
0.757928
4341b9912db3467a4ef6d711d61fc56047ffca5e
306
package jaist.tanlab.echonetIoTAgent.fiware.model.registration; public class ProviderMethod { private String url; public ProviderMethod() { } public ProviderMethod(String url) { setUrl(url); } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } }
15.3
63
0.70915
34d9f5336548e1f1495c0c1d7b77fc5a2cbff078
4,399
package com.liveperson.ephemerals.deploy.unit; import com.liveperson.ephemerals.deploy.DeploymentPort; import com.liveperson.ephemerals.deploy.probe.Probe; import com.liveperson.ephemerals.deploy.volume.Volume; import com.liveperson.ephemerals.deploy.volume.VolumeMount; import java.util.ArrayList; import java.util.Ha...
23.778378
76
0.594226
862ff7db9ec4f43c69a70e1912cb35ffd7e1b030
1,007
package org.zstack.core.singleflight; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Configurable; import org.zstack.header.core.ReturnValueCompletion; import java.util.Collection; import java.util.concurrent.Callable; /** * AsyncSingleFlight implem...
31.46875
96
0.690169
b511f22869b394a6beaa4bdd52988a47c908f4c6
3,094
package cn.tenmg.sqltool.sql.dialect; import java.util.Arrays; import java.util.List; import java.util.Map; import cn.tenmg.sql.paging.SQLPagingDialect; import cn.tenmg.sql.paging.dialect.SQLServerPagingDialect; import cn.tenmg.sql.paging.utils.SQLUtils; import cn.tenmg.sqltool.utils.JDBCExecuteUtils; /** * SQLServ...
28.385321
207
0.755656
d4baa971b2635d7c5488148fcd7da4f596854dea
1,094
package com.jojobi.mm.model; import lombok.*; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.OneToMany; import java.util.ArrayList; import java.util.List; import java.util.Optional; @Setter @Getter @NoArgsConstructor @ToString(callS...
28.051282
100
0.723035
ee6ebc275d05ff3179c09068f4db221461d6c877
2,019
package org.azd.release.types; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; /*** * Environment trigger */ @JsonIgnoreProperties(ignoreUnknown = true) public class EnvironmentTrigger { /*** * Definition environment ID on which this trigg...
27.283784
73
0.663695
73d90660a01c02f24d3d6b0428b3193572c9fdc9
372
package org.mockito.configuration; public class MockitoConfiguration extends DefaultMockitoConfiguration { /* This file fixes a ClassCastException being thrown when running Robolectric tests using PowerMock on multiple files. http://stackoverflow.com/q/33008255/2148380 */ @Override public boolea...
28.615385
71
0.747312
3f3ec85b83c2b18e93fb921a82e97aae0d9997fa
14,514
package com.trashsoftware.minesweeper.GraphContent; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.MotionEvent; imp...
33.442396
98
0.56318
046194fb88043d91bebf2c5a68013cc16a2c1483
2,377
/** * Copyright (C) 2017 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...
29.7125
91
0.784182
8fb0a3d2c1393105ca3acc83781e9c58c1de9605
1,622
/* * Copyright 2017 Ben-Hur Carlos Vieira Langoni Junior * * 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 appl...
25.34375
88
0.638718
72ba0096395a8eec239971cc99a6786ff37f2200
2,266
package sk.utils.statics; /*- * #%L * Swiss Knife * %% * Copyright (C) 2019 - 2020 Core General * %% * 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/li...
32.84058
91
0.622242
4cf628a483d4adb5cdf0eefe8ce98bb6e064ba52
195
package Strategy; public class SistemaDeAccesoDatos { private AccesoProductos acceso; public void definirTipoAcceso(AccesoProductos a) { } public List<Producto> accederDatos() { } }
16.25
51
0.753846
660f10f838d2cce1a24175b45f1c0ff38dba2090
1,840
package org.LeetcodeSolution.Tree; import org.LeetcodeSolution.DataStructure.tree.BinaryTreeNode; /** * Problem * 114.Flatten Binary Tree to Linked List * https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ * https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/ * Grade o...
28.75
97
0.578804
665e94fc54e12d6eb84d509ae8eb137371847dc7
6,615
package com.flightstats.hub.util; import com.flightstats.hub.test.IntegrationTestSetup; import org.apache.curator.framework.CuratorFramework; import org.apache.zookeeper.KeeperException; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; import org....
34.097938
118
0.682086
df720158928d759fdef7bb8f5bc24242a2796e37
825
package tw.jiunjiun.apb.shuttle; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * Created by jiun on 2015/2/22. */ public class OrangeFragment extends Fragment { priva...
25.78125
82
0.69697
19e8d6c2bdfd7550a9206c244c9699dedce2bbce
7,745
/* * $Id: CertitoolsPlanExporter.java,v 1.4 2010/07/01 19:12:04 pjfsilva Exp $ * * Copyright (c) Critical Software S.A., All Rights Reserved. * (www.criticalsoftware.com) * * This software is the proprietary information of Critical Software S.A. * Use is subject to license terms. * * Last changed on : $Date: 2...
44.005682
120
0.608651
828e412b649e8953456eb09f5afd2c6b64067798
3,122
package com.jbh.lib.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.DisplayMetrics; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android....
34.307692
104
0.685138
f47f436fef1a7325e1aec5fa3e9022146333f76e
3,139
class vp9oV8U2WfOX { } class FKjh8kvypim { public void[][][][] BsmQ (int[][][][] EsGuNUo9Zg, y2zDvIE z2XQa, void RK2Ps, A b, void SgFJP4vR_bXDz4) throws J { return !!-this[ -5.F8jbTTOno]; void[] tQeetAdQyVY44; int AivWESuXqyRmkY = !241778.v4bvS1DKQLXP() = new boolean[ !new void[ false[ !...
39.2375
397
0.538069
ec01eb731c9c6d58948f6cc5cb9f1b7b1148afec
17,193
package com.smartisanos.sidebar; import java.util.HashSet; import java.util.Set; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.PixelFormat; import android.graph...
38.463087
132
0.651719
71a309d8c90ef0c151c14e1009b3e796e84e9cb4
1,129
/* * Copyright 2012 NGDATA nv * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
26.255814
75
0.68822
75b52e94c5816249a04420cbf0ff98a21d8c548e
186
package jwt; import play.libs.F; public interface JwtValidator { enum Error { ERR_INVALID_SIGNATURE_OR_CLAIM } F.Either<Error, VerifiedJwt> verify(String token); }
16.909091
54
0.704301
40ca8dcc1f31528b09a89ec8df78c788c01601cb
4,672
package info.javaspec.jupiter.syntax.fixture; import info.javaspec.jupiter.syntax.fixture.Minimax.GameState; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.DynamicNode; import org.junit.jupiter.api.TestFactory; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHas...
35.938462
97
0.634632
18c17c71a84a42b5c80c63f8277dda4ca3e536c9
3,357
package com.gurug.education.view.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.gurug.education.R;...
31.971429
135
0.710456
f48340d807f67a0ebbcc637d3b721d1d1778bb69
5,400
package com.google.samples.quickstart.admobexample.java; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import android...
34.394904
132
0.649259
37998825ffd0151ab923dc392f6e6f774bf44686
218
package no.fint.consumer.utils; public enum RestEndpoints { ; public static final String ADMIN = "/admin"; public static final String FULLMAKT = "/fullmakt"; public static final String ROLLE = "/rolle"; }
19.818182
51
0.706422
9f6cd9742e3759d06fa3648f2c3fedbb2f9a1d5d
2,523
package org.anchoranalysis.core.exception.friendly; import lombok.AccessLevel; import lombok.NoArgsConstructor; /*- * #%L * anchor-core * %% * Copyright (C) 2010 - 2020 Owen Feehan * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
34.094595
106
0.697186
6c96800cce45a0bc30a13f0fd3f11b2e208f5f74
1,047
package com.mattforni.graphics.shape; import java.awt.geom.Rectangle2D; import javax.swing.JPanel; import com.mattforni.graphics.Shape; /** * A basic rectangular shape. * * @author Matthew Fornaciari <mattforni@gmail.com> */ public class Rectangle extends Shape{ /** * Creates a standard ...
28.297297
64
0.633238