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
1e6b3c053ef36b777e62687482021b92b0b38124
3,389
package file.xml; import java.io.File; import java.util.ArrayList; import javax.xml.bind.*; import file.Handler; import org.simpleframework.xml.Serializer; import org.simpleframework.xml.core.Persister; import trial.ClinicalTrial; /** * The Class XmlHandler. */ public class XmlHandler extends Handler { /** * ...
29.469565
111
0.702862
79321a18748657283c896da1b43e4e69816f4e55
314
package com.fjuul.sdk.analytics.entities; import androidx.annotation.NonNull; public class ActivityMeasure { double seconds; float metMinutes; @NonNull public double getSeconds() { return seconds; } @NonNull public float getMetMinutes() { return metMinutes; } }
16.526316
41
0.665605
fbd2c0230c9dc6551dd9e3e1e5d384c4efee1120
2,500
package com.perich.nytimessearch.adapters; import android.content.Context; import android.graphics.Typeface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import com.peri...
35.211268
106
0.6732
4f1f48da2989f962f19585f65b913e0fc7bc94f7
1,770
package com.yelp.fusion.client.connection; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.yelp.fusion.client.connection.interceptors.ApiKeyInterceptor; import com.yelp.fusion.client.exception.ErrorHandlingInterceptor; import com.yelp.fusion....
31.052632
75
0.710169
b8cb6d7582cb5406dfb8e1ab769b781d3c54f74c
6,001
package views; import javafx.application.Application; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Scene; import javafx.scene.control.*; import javafx.scene.layout.BorderPane; import javafx.scene.layout...
36.815951
210
0.668389
794f66fff50e7a79f8aefa4bcc200b822ce698c8
1,413
package io.github.jiezhi.lcof; import java.util.Arrays; /** * CREATED AT: 2021/10/28 * <p> * PROJECT: LCOF-Java * <p> * https://github.com/Jiezhi/LCOF-Java * <p> * Difficulty: Medium * <p> * SEE: 3 https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ * <p> * DES: 剑指 Offer 48. 最长...
24.789474
91
0.531493
9c8fa090b8a99da37e55e97793a0a0b56615bb19
317
package org.truenorth.restfood.deliveryapi.exception; public class NotificationServiceException extends Exception{ public NotificationServiceException(String message){ super(message); } public NotificationServiceException(String message, Throwable cause){ super(message,cause); } }
26.416667
73
0.753943
26e235bbd3b1fa4cd6c1d5295c7638fc5c73db6f
2,537
package marketplace.dto; import org.springframework.web.multipart.MultipartFile; public class AdDtoRequest { private String country; private String city; private String street; private Integer buildingNumber; private String coordinates; private String type; private Integer price; priva...
19.976378
59
0.624359
b9e930eb84cd5aeb445195aa014d192014dd0406
229
public interface Months { int JANUARY=1; } class Test17 implements Months{ public static void main(String args[]){ System.out.println(JANUARY); // JANUARY=4; The final field Months.JANUARY cannot be assigned } }
20.818182
65
0.707424
314181f5539213586323bd99c13dc40187e54c08
1,526
package com.cynigram.yashiro.parser; import org.codehaus.jparsec.Parser; import org.codehaus.jparsec.Token; import java.util.List; import static com.cynigram.yashiro.parser.TagParsers.term; public class TemplateParser { private final Environment environment; private final Parser<List<Token>> scanner; p...
28.792453
134
0.62713
80a744092c2fa2c5ecd261390df58bdcf8193893
590
package lab.chabingba.eventorganizer.Helpers.Constants; /** * Created by Tsvetan on 2015-05-25. */ public final class GeneralConstants { public static final String DATE_FORMATTER = "yyyy.MM.dd"; public static final String DATE_FORMATTER_DAY_OF_WEEK = "EEEE"; public static final String DATE_FORMATTER_HOUR...
34.705882
75
0.745763
9dd2ebddd4269b260334d7438f71bef01d897576
3,127
// THIS FILE IS GENERATED AS LONG AS THIS LINE EXISTS package de.spraener.nxtgen.model.impl; import de.spraener.nxtgen.model.ModelElement; import de.spraener.nxtgen.model.Relation; import de.spraener.nxtgen.model.Stereotype; import java.util.ArrayList; import java.util.List; import java.util.Map; public abstract cla...
23.689394
68
0.651743
defb666797eec4d98a4b56e7d0f70373b6e0b722
2,239
/** * Copyright (C) 2014-2017 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
23.322917
91
0.697633
a627dac9b14a691c97734ed385f3dd0d0805255f
3,547
package io.github.armramzing.aier.item.tools; import net.minecraft.client.item.TooltipContext; import net.minecraft.enchantment.Enchantments; import net.minecraft.entity.Entity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.effect.StatusEffectInstance; import net.minecraft.entity.effect.StatusE...
44.898734
116
0.751339
ed976cc0ff9635d2b86c43f50247fb9dda1d3c3f
1,688
package sktest.roc.persistence.simple; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.shaneking.ling.jackson.databind.OM3; import org.shaneking.ling.test.SKUnit; import org.shaneking.ling.zero.lang.String0; import org.shaneking.roc.persistence.simple.SimpleRrAuditLogEntity; imp...
46.888889
582
0.782583
a0d8e39d48d4f9bb246cbec2c9442db171e8d17e
22,518
/** * Copyright 2012 Sven Ewald * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
34.015106
174
0.575318
8e05605e63875012669abb634c54b84f6bdf1c50
2,372
package com.highjet.portal.base.utils; import java.io.IOException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.Collection; import java.util.List; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; import org.apache.poi.ss.usermodel.Workbook; import ...
31.210526
115
0.653035
e997a5dffd95fc500761016b00ec4b982a4005a8
1,415
package com.snippets.designpatterns.creational.prototype; public class DeepCopyChild implements Cloneable { private int value; public DeepCopyChild() { } public DeepCopyChild(int value) { this.value = value; } /** * Copy constructor. * * @param oldDeepCopyChild the D...
20.214286
69
0.575972
f94b1ddac29c7ea3c9fa30472330956e029950d2
3,632
/****************************************************************************** * Copyright (c) 2018 IBM Corp. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
32.141593
102
0.505231
354c855a9e42a380b9c106541c54773268941a17
7,922
package by.htp.itacademy.conditions; import java.util.Scanner; import static java.lang.Math.min; import static java.lang.Math.max; import static java.lang.Math.abs; import static java.lang.Math.round; import static java.lang.Math.pow; public class ConditionsBranchingP4 { public static void main(String[] args) ...
27.894366
118
0.518051
26220ed9ca2fd087d11750df79412e4ff6bfed6f
1,151
package com.productmanufacturer.Model; import static com.querydsl.core.types.PathMetadataFactory.*; import com.querydsl.core.types.dsl.*; import com.querydsl.core.types.PathMetadata; import javax.annotation.Generated; import com.querydsl.core.types.Path; /** * QBaseEntity is a Querydsl query type for BaseEntity ...
28.775
120
0.752389
678b80ec3128fce990f02cc68e6e15b25cc6cffe
345
package org.pyx.designpattern.adapter; /** * @author pyx * @date 2021/12/28 */ public class JavaEngineeringManager implements Engineer { private Engineer engineer; public JavaEngineeringManager(){ engineer = new JavaEngineer(); } @Override public void operateDevice() { engineer....
19.166667
57
0.669565
cc4a9735437ecbe2e0b45cbdca78e7d6fa801ea3
187
package com.testsigma.automator.actions.mobile.mobileweb.wait; public class WaitUntilCurrentURLIsAction extends com.testsigma.automator.actions.web.wait.WaitUntilCurrentURLIsAction { }
31.166667
119
0.860963
d472109cc7166979f3d56789ae3be186c2eba25f
6,172
package com.nami.dfs.Service; import com.nami.dfs.FileUtil; import com.nami.dfs.Model.FileBlock; import com.nami.dfs.Model.FileStructure; import com.nami.dfs.Model.Node; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework....
39.564103
142
0.654083
cb5d2b0682d778d260d418904d3b36b86e84fffa
11,675
/* * (C) Copyright IBM Corp. 2020 * * SPDX-License-Identifier: Apache-2.0 */ package io.github.linuxforhealth.hl7.data; import java.net.URI; import java.net.URISyntaxException; import java.util.ArrayList; import java.util.Base64; import java.util.List; import java.util.Locale; import java.util.Map; import java.uti...
29.935897
100
0.666552
ac14857d8164ab0a3bfe557a382b4a47fa59d4b0
1,348
package com.hiveelpay.common.enumm; import com.google.common.collect.Maps; import java.io.Serializable; import java.util.Map; /** * */ public enum BusinessTypeEnum implements Serializable { OIL_CHANGE(1, "Oil Change"), PRE_INSPECTION(2, "Pre-Inspection"), TRADE_IN(3, "Trade-in"), ILLEGAL(Integer....
20.738462
80
0.574926
772f22f4fb28545f483b81221ec59b20e519895c
9,316
/* * Copyright 2016-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
37.115538
135
0.742701
66317d38200dc7ada21923efb902175cc1549cdd
1,062
package exercise11; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import java.util.stream.Stream; public class PlayingCatTest { public static Stream<Arguments>...
35.4
118
0.702448
b5574033b2eb9c655832d22b81896a35dfd15c2d
907
package de.uxnr.tsoexpert.game.communication.vo; import de.uxnr.amf.v3.AMF3_Object; public class ProductionProtocollVO extends AMF3_Object { private int buildingGrid; private int currentResourceNr; private double currentTime; private int lastBuildingMode; private int phase; private int processCntr; priv...
19.297872
56
0.724366
5440223589ea64bc3612d7220d1eb203d16039ca
599
package com.yaskovdev.calculator; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.jedis.JedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; @Configuration class RedisConfig {...
33.277778
97
0.794658
235f4df30428ac027bd6aa0ab57286fa1a61befc
1,118
/* Copyright (c) 2018, University of North Carolina at Chapel Hill */ /* Copyright (c) 2015-2017, Dell EMC */ package com.emc.metalnx.core.domain.exceptions; import org.irods.jargon.core.exception.JargonException; /** * Top level Metalnx exception * * @author Mike Conway - NIEHS * */ public class DataGrid...
22.816327
94
0.762075
af08cd612435b004fbae4333adde93c78e61f594
2,256
/* * Copyright (c) 2003-2022 Broad Institute, Inc., Massachusetts Institute of Technology, and Regents of the University of California. All rights reserved. */ package edu.mit.broad.xbench.prefs; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author Aravind Subramanian */ abstract class Abstract...
25.931034
155
0.631206
2f0631610fcc0a0200b1eab6bdcc051898e450c8
4,789
/* * 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 ...
43.536364
147
0.808102
f8706adfed59104169bf4bd119d956759ee00203
3,639
/* * 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 ...
29.112
112
0.70404
0362478e7aef913612585f4535647e78722a9bc3
7,545
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * notice, ...
42.869318
80
0.610338
2dffcc5b0408e2af592cb20fb49d58c4ef03eb73
2,183
package ch.addere.osv.util.serializer.pckg; import static ch.addere.osv.property.affected.PackageValues.PACKAGE_KEY; import static ch.addere.osv.property.affected.pckg.EcosystemValue.ECOSYSTEM_KEY; import static ch.addere.osv.property.affected.pckg.NameValue.NAME_KEY; import static ch.addere.osv.property.affected.pckg...
36.383333
91
0.774164
12febc75724ede80aada7e6d17e2ddf0d72a3753
2,076
package org.apollo.game.model; import org.apollo.game.model.entity.setting.Gender; import com.google.common.base.Preconditions; /** * Represents the appearance of a player. * * @author Graham */ public final class Appearance { /** * The default appearance. */ public static final Appearance DEFAULT_APPEARA...
20.76
115
0.641618
a11f4abbeaa11a1b0b9d10b61086141cfe4e5dfe
1,874
package org.happyuc.webuj.tx.response; import org.happyuc.webuj.protocol.Webuj; import org.happyuc.webuj.protocol.core.methods.response.RepTransactionReceipt; import org.happyuc.webuj.protocol.exceptions.TransactionException; import java.io.IOException; import java.util.Optional; /** * With each provided transactio...
39.87234
177
0.705443
fb16c0aff9407810e32f180dfbe50ea90b1fd678
3,110
/* * ==================================================================== * 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 ...
38.395062
105
0.690675
4ff7a71df63109358c317360b4e5dfbe47a061c4
793
package cat.nyaa.rpgitems.minion.minion; import org.bukkit.entity.Entity; public class EntitySpinner implements Spinnable { private Entity entity; private double speed; public EntitySpinner(){} @Override public double getSpinSpeed() { return speed; } @Override public void se...
20.868421
84
0.612863
fe1f908d5857cb033e7b850ce82fffcfe4506bb7
3,039
package realmayus.youmatter.scanner; import net.minecraft.block.*; import net.minecraft.block.material.Material; import net.minecraft.entity.item.ItemEntity; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.ServerPlayerEntity; import net.minecraft.inventory.container.INamedContainerP...
36.178571
260
0.728858
3cf5ba6237f7636ffc9177a5a0210fcc2ab69f1a
251
package com.vandemos.registerservice.repository; import com.vandemos.registerservice.dao.Registration; import org.springframework.data.repository.CrudRepository; public interface RegistrationRepository extends CrudRepository<Registration, Long> { }
31.375
84
0.860558
eb49cebcd9cc101fdd540c11f0be0037cae16d3b
3,070
/* * 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 ...
31.010101
78
0.682736
8e77194f730e5d0bd6c9c6371fce12bd1ce6cf9f
8,530
package org.folio.processing.mapping.manager; import com.fasterxml.jackson.databind.ObjectMapper; import org.folio.DataImportEventPayload; import org.folio.Location; import org.folio.MappingProfile; import org.folio.processing.mapping.MappingManager; import org.folio.processing.mapping.defaultmapper.processor.paramete...
47.127072
134
0.77796
ceeb157bbc6961efaf482422e313714034dafcd1
1,170
/** * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending */ package io.deephaven.web.shared.ast; import io.deephaven.web.shared.data.FilterDescriptor; import org.junit.Test; import static io.deephaven.web.shared.ast.FilterTestUtils.*; public class ConvertInvalidInExpressionsTest extends AbstractReplaci...
35.454545
103
0.68547
69582bdc7654fd64f8e65f4e4cfea9562fa436b4
168
package zero.gossip.messages; import java.io.Serializable; /** * Root for all gossip messages */ public abstract class GossipMessage implements Serializable { }
14
61
0.755952
c8d9d68cd7884557aac45ac3ed4c49cfdf628c44
1,164
package com.github.tomokinakamaru.protocool.analysis; import com.github.tomokinakamaru.protocool.antlr.GrammarLexer; import com.github.tomokinakamaru.protocool.antlr.GrammarParser; import com.github.tomokinakamaru.protocool.error.ParseError; import com.github.tomokinakamaru.utility.antlr4.AbstractParser; import java.u...
31.459459
99
0.787801
25ce246bfb070396cc3164fae3c0ec128efbffd5
7,750
package org.yeastrc.proxl.import_xml_to_db.spectrum.db_update_with_transaction_services; import java.math.BigDecimal; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Map; import org.slf4j.LoggerFactory;import org.slf4j.Logger; import org.yeastrc.xlink.dao....
23.700306
244
0.716129
805336a0b5454d2ad0fed5d14e291c6a3248e6da
5,663
package com.mdzyuba.popularmovies.service; import android.os.AsyncTask; import android.util.Log; import com.mdzyuba.popularmovies.database.MovieDao; import com.mdzyuba.popularmovies.database.MovieDatabase; import com.mdzyuba.popularmovies.model.Movie; import com.mdzyuba.popularmovies.model.MovieCollection; import com...
38.006711
105
0.610454
3f40e003b33837028a25b4c36e976cf62e47feec
492
package com.buildSeleniumGrid; import org.openqa.grid.internal.utils.configuration.GridHubConfiguration; import org.openqa.grid.web.Hub; /** * Test_Automation-automationpractice * * @author kamil.nowocin **/ public class LocalHub { private static Hub hub; public LocalHub(GridHubConfiguration gridHubCon...
18.222222
73
0.676829
c520b94bd8fa5c42e5701140b9974fa03e324784
8,383
/* * 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 planetarium.console.output; import java.util.ArrayList; import java.util.Optional; import java.util.ResourceBundle; import pla...
35.371308
143
0.572826
64a7d821aeac0362ef11317e40b3cd8643d52271
4,936
package com.tubb.calendarselector.library; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.os.Build; import android.support.annotation.RequiresApi; import android.support.v4.content.ContextCompat; import android.view.View; import android.w...
40.459016
114
0.699554
50077965c178fbf3329f9f0c4d83cac9815ff661
6,501
package application.manager.pilote.logs.service; import java.io.IOException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Set; import org.apache.commons.logging.Log; ...
33.859375
116
0.675127
f736cb751c2ca5bf15b3957575793773298d05b1
3,418
package com.datastream_api; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.common.functions.ReduceFunction; import org.apache.flink.api.common.typeinfo.TypeHint; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.api.java.tuple.Tuple5; import org.apache.flink....
55.129032
150
0.578408
7f316948ddf21dbb129a1a83cfb9926ec09fa700
2,318
package jun.prospring5.ch11; import jun.prospring5.ch11.configuration.AppConfiguration; import jun.prospring5.ch11.configuration.JpaConfiguration; import jun.prospring5.ch11.service.CarService; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFacto...
28.617284
97
0.654012
c0d9089dc7144ad609b23004855c698e81fe3dbc
2,665
package com.goldenchef.company.entities; import java.io.Serializable; /** * Created by jianghua on 2016/10/18. */ public class PublishJobReqEntity implements Serializable { private String token;//用户登录唯一表示符 private String interfaceAutho;//接口使用权限认证 暂时传空字符串 private String companyId;//企业编号 private St...
20.658915
58
0.630769
14be1bfc7625ed7ccc024679fd37ce5a9c0e6a33
162
interface CamelCaseTranslator { static String toUnderScore(String name) { return name.replaceAll("(?<=[^_-])_?(?=[A-Z])|(?<=[^\\d_])_?(?=\\d)", "_"); } }
27
79
0.561728
0310d30cb22f6f29c372cca78e99d19365784029
1,674
package com.facebook.imagepipeline.bitmaps; import android.annotation.TargetApi; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import com.facebook.common.references.CloseableReference; import com.facebook.imageformat.ImageFormat; import com.facebook.imagepipeline.image.EncodedImage; import com...
41.85
171
0.750299
754c170ad8eb4ed26c86e7f0fbb3297cf883b5b7
8,615
package datadog.trace.common.writer.ddagent; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import com.lmax.disruptor.BlockingWaitStrategy; import com.lmax.disruptor.EventHandler; import com.lmax.disruptor.dsl.Disruptor; import com.lmax.disruptor.dsl...
36.046025
98
0.689611
d3134a4ef57dd2c5ca97b8e6ecc511bd990d2f92
8,252
package com.study.mq.rabbitmq.connect; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.BuiltinExchangeType; import com.rabbitmq.client.CancelCallback; import com.rabbitmq.client.Channel; import com.rabbitmq.client.Connection; import com.rabbitmq.client.ConnectionFactory; import com.rabbitmq.client.DefaultC...
36.034934
140
0.586403
dbce686c664c777ff9bf45dbfbde97742961b52c
709
package org.aikodi.chameleon.plugin.build; import org.aikodi.chameleon.core.document.Document; import org.aikodi.chameleon.plugin.ViewPluginImpl; import java.io.File; import java.util.List; public class NullBuilder extends ViewPluginImpl implements Builder { public NullBuilder() { // Just here to be able to sea...
22.870968
110
0.779972
7179482f2672d2181c16fb302638ea2438ee9f0a
11,284
/* * Copyright 2008-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.250847
92
0.725363
7fae20236bb15029b08cf0df5e5acc2c964dd583
4,788
package com.jeebud.module.upms.service.impl; import com.jeebud.common.exception.JeebudException; import com.jeebud.common.util.ObjectUtils; import com.jeebud.common.util.StringUtils; import com.jeebud.core.data.jpa.domain.Query; import com.jeebud.core.shiro.util.ShiroUtils; import com.jeebud.module.upms.model.entity.P...
35.466667
106
0.65873
74e367cb231066ecb61bbe952ebf7131eefcd2fa
1,269
/* * Copyright (C) 2008 feilong * * 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...
29.511628
83
0.676123
c9b7a3fd432addf28a98f0dce1f5a9090910e665
3,908
/* * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
37.219048
93
0.540174
4ccaf15fe073629c3a10e1f754407c374a273824
3,122
package gov.dwp.carers.pdfrenderer.service; import gov.dwp.carers.pdfrenderer.controllers.PdfServiceApplication; import gov.dwp.carers.pdfrenderer.datasources.XmlDataSource; import gov.dwp.carers.pdfrenderer.utils.ParsePdf; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.co...
44.6
124
0.716208
970508fb0ff99d5647a8d6ffde2530d8d9000695
3,206
package jrfeng.rest.widget; import android.annotation.SuppressLint; import android.content.Context; import android.os.Handler; import android.os.Looper; import android.util.AttributeSet; import java.util.Calendar; import java.util.Locale; import java.util.Timer; import java.util.TimerTask; import androidx.annotation...
24.852713
85
0.557392
e86cbae44d07a1e653f694a10fedc7abb1d05fb7
1,214
package com.cgfay.camera.adapter; import androidx.annotation.NonNull; import androidx.viewpager.widget.PagerAdapter; import androidx.recyclerview.widget.RecyclerView; import android.view.View; import android.view.ViewGroup; import java.util.List; /** * RecyclerView pager适配器 */ public class RecyclerViewPagerAdapter...
24.28
97
0.705107
8ce22d152fd510a5d3702ced68d31f26f4c2b474
82
package software.amazon.iotwireless.wirelessgateway; public class TestHelper { }
16.4
52
0.829268
9e68e08a762a3fe0bab25ff60b08db1548bb4236
1,934
package demo.aj; import java.util.Arrays; import java.util.List; import java.util.function.Consumer; import java.util.function.Predicate; public class Analytics { static class User { String name; boolean active; public User(String name, boolean active) { this.name = name; this.active = active; } ...
28.865672
207
0.692347
59a4c9ddd5d5844f63114aec2c107cf46591535e
1,017
package com.alpha.coding.common.bean.event; import org.springframework.scheduling.annotation.Async; import org.springframework.transaction.event.TransactionPhase; import org.springframework.transaction.event.TransactionalEventListener; import lombok.extern.slf4j.Slf4j; /** * ApplicationEventListener * * @version ...
30.818182
115
0.699115
7b09bf4ad141b33b2a39a910f2671c38c2c8e695
4,042
package me.chanjar.weixin.cp.util.crypto; import com.google.common.base.CharMatcher; import com.google.common.io.BaseEncoding; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.common.util.crypto.WxCryptUtil; import me.chanjar.weixin.cp.config.WxCpConfigStorage; import sun.security.util....
36.745455
122
0.715982
4ba4cadeb659e97a6f0a391a002c165a7490f229
56,828
package com.sonicbase.bench; import com.sonicbase.client.DatabaseClient; import com.sonicbase.jdbcdriver.ConnectionProxy; import com.sonicbase.query.DatabaseException; import com.sonicbase.server.DatabaseServer; import com.sonicbase.server.NettyServer; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; i...
35.495315
279
0.576723
94481f7d431079d1c114f8d1a20c714c6f3490b3
1,600
package net.minecraft.command; import net.minecraft.util.*; import net.minecraft.world.*; import net.minecraft.server.*; import net.minecraft.entity.player.*; import java.util.*; public class CommandDefaultGameMode extends CommandGameMode { @Override public String getCommandName() { return "defaultgam...
38.095238
179
0.70125
93c3aa217161344bd5330bcbdadbfd4bc08be04b
3,767
/** * Copyright 2013 Cloudera Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
30.877049
86
0.699496
dec0ea7939b4c7c35e7b5142704fdb250a418753
562
package com.codecool.dogmate.controller; import com.codecool.dogmate.model.Breed; import com.codecool.dogmate.service.BreedService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController...
31.222222
78
0.809609
87ea3a2ed3dc9e5964dfc88c5aafcf2e5add7817
2,919
/* * Copyright 2019 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 applic...
37.423077
106
0.776293
bf14c58f96bc8d066cb9153db26c5ed41fcd5a1e
3,685
package org.apache.maven.repository; /* * 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...
22.469512
100
0.669199
53c89f1f2bded63f9e31314ee517023db21c7c80
4,078
/* * 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 ...
36.088496
92
0.700589
7bae7f27c3fd7ce2c22cd4c0b91e72336ddffb05
6,128
package eu.daiad.common.domain.application; import java.util.HashSet; import java.util.Set; import java.util.UUID; import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumera...
24.809717
126
0.695659
2fd63120e6aba562c058003e89a8b59450429174
17,490
/* * Copyright 2015-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
35.476673
422
0.666324
7c7192dbf103c743b4285b15c6d9915b62048641
337
package br.com.instagrone.Instagrone.domain.repository; import br.com.instagrone.Instagrone.domain.model.StoriesViewers; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface StoriesViewersRepository extends JpaRepository<StoriesVi...
33.7
87
0.857567
a3d17621233a893cf655538618deac20a1f582b5
1,430
package org.samo_lego.taterzens.forge; import net.minecraft.world.entity.EntityType; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.event.entity.EntityAttributeCreationEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.min...
37.631579
86
0.793007
664e343e58825d18699fbe85706cee1c9c6ff78c
10,500
package com.stratagile.qlink.ui.adapter.mainwallet; import android.graphics.drawable.Drawable; import android.support.annotation.Nullable; import android.widget.TextView; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.stratagile.qlink.R; import c...
51.980198
132
0.580476
6d526f13bd9ece760e6db29ada3469b0cf1a219e
667
package seedu.expensela.logic.commands; import static java.util.Objects.requireNonNull; import seedu.expensela.model.ExpenseLa; import seedu.expensela.model.GlobalData; import seedu.expensela.model.Model; /** * Clears the expensela. */ public class ClearCommand extends Command { public static final String COM...
25.653846
79
0.734633
112f61a4f57c63839a543e8ca90d40021a5f174a
16,662
/* * Copyright 1998-2012 Linux.org.ru * 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...
32.479532
121
0.696735
2be33df962c9800a56ab82b1e793be9676b1d3d3
4,787
package me.rexlmanu.chromcloudnode; import lombok.Getter; import me.rexlmanu.chromcloudcore.ChromCloudLaunch; import me.rexlmanu.chromcloudcore.commands.CommandManager; import me.rexlmanu.chromcloudcore.logger.ChromLogger; import me.rexlmanu.chromcloudcore.networking.registry.PacketRegistry; import me.rexlmanu.chromcl...
46.475728
477
0.727178
dc412c476d5923cba1259b2e616fb75f94802fdd
4,131
package graph; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import algorithms.BreadthFirstSearch; import algorithms.BronKerbosch; /** * * Implements the ...
25.189024
95
0.679739
a356600b2f7b2c29437afde9b5b9f64d328ac917
2,636
/* $This file is distributed under the terms of the license in LICENSE$ */ /** * */ package edu.cornell.mannlib.vitro.webapp.search.controller; import java.util.List; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import stubs.edu.cornell.mannlib.vitro.webapp.i18n.I18nStub; import edu....
38.202899
139
0.687026
22ddce1724cb74f736f759c77bc37b510eb6ccb5
2,254
package com.thebund1st.daming.boot.aliyun.sms; import com.aliyuncs.DefaultAcsClient; import com.aliyuncs.IAcsClient; import com.aliyuncs.profile.DefaultProfile; import com.aliyuncs.profile.IClientProfile; import com.thebund1st.daming.aliyun.sms.AliyunSmsVerificationCodeSender; import com.thebund1st.daming.boot.aliyun....
39.54386
112
0.799911
80cd5daab3622d29fe164e37cd2b7fb9f9d2bdd4
456
package de.tub.dima.scotty.state.memory; import de.tub.dima.scotty.state.ListState; import de.tub.dima.scotty.state.StateFactory; import de.tub.dima.scotty.state.ValueState; public class MemoryStateFactory implements StateFactory { @Override public <T> ValueState<T> createValueState() { return new Mem...
25.333333
57
0.710526
255719d455194263c3d2941bbc152610fc9cddc9
1,422
package mpi.signals; import java.io.*; /** * Simple implementation of the class task * lesseee */ public class Job implements Serializable{ /** * This value holds the input task. */ private Task input; /** * This values holds the result of the input task evaluation. */ pr...
17.13253
75
0.591421
b2a2e83b5d6e0116e105e94d576f4cbe9c49c980
5,688
package firemerald.mechanimation.compat.forgemultipart; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import codechicken.microblock.BlockMicroMaterial; import firemerald.api.core.IFMLEventHandler; import firemerald.mechanimation.compat.forgemultipart.networking.PipeEnergySyncPack...
47.798319
109
0.839311
9a1a2e8fda133784926a41277072f99d92ea9b6e
228
package io.github.pr0methean.betterrandom.prng.adapter; public enum EntropyBlockingTestUtils { ; protected static final long VERY_LOW_MINIMUM_ENTROPY = Long.MIN_VALUE / 2; static final long DEFAULT_MAX_ENTROPY = -64L; }
25.333333
76
0.79386
3337942c76300409894c0c369022c92a5a24f972
163
package io.powwow.core.notification; import java.util.List; public interface Notifier { List<String> schemes(); void send(Notification notification); }
16.3
41
0.742331
ce3d8843cc0359d92265a4908222b70f42985507
362
package put.ci.cevo.framework.algorithms.history; import put.ci.cevo.framework.state.EvolutionState; import put.ci.cevo.framework.state.listeners.EvolutionStateListener; import java.io.Serializable; import java.util.List; public interface EvolutionHistory extends EvolutionStateListener, Serializable { public List<...
25.857143
80
0.834254
7bad079f3be1f37cff31ea8ae02ee94663df5543
1,825
package com.fast.fastrpc.cluster.loadbalance; import com.fast.fastrpc.Invocation; import com.fast.fastrpc.Invoker; import com.fast.fastrpc.RpcException; import com.fast.fastrpc.cluster.LoadBalance; import com.fast.fastrpc.common.Constants; import com.fast.fastrpc.common.URL; import java.util.List; /** * @author yij...
38.829787
133
0.669589
dd0c360756d3b8c01c69a289a544cc6dfc1941d0
916
package fun.liwudi.graduatedesignverifyservice.domain; /** * @author 李武第 */ public class Position { private String Q; private String R; private String lng; private String lat; public String getQ() { return Q; } public void setQ(String q) { Q = q; } public Strin...
16.654545
54
0.44869
b45d2f38328a3cf90d1992637f5a6f18fe497d68
9,386
/* * Library.java * ePub3 * * Created by Pedro Reis Colaco (txtr) on 2013-08-13. */ // Copyright (c) 2014 Readium Foundation and/or its licensees. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following condition...
31.182724
91
0.690603
4d9e8a26812b336f46336dfaca8d0c4878957c48
1,043
package com.gotrip.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.domain.AuditorAware; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.security.core.Authenticat...
31.606061
99
0.728667