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
c5facc59d3a1817c260802552d43b89611422e9b
685
package com.syntifi.casper.sdk.identifier.dictionary; import com.fasterxml.jackson.annotation.JsonProperty; import com.syntifi.casper.sdk.service.CasperService; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.Setter; /** * Identifier class passed to service * {@link Casp...
25.37037
80
0.792701
8b22ebe5fdec94c20b1df349969cf56fe80b497a
4,667
/* */ package jp.cssj.homare.impl.a.c.a; /* */ /* */ import java.net.URI; /* */ import jp.cssj.homare.b.a.c.m; /* */ import jp.cssj.homare.css.c; /* */ import jp.cssj.homare.css.c.a; /* */ import jp.cssj.homare.css.c.e; /* */ import jp.cssj.homare.css.c.j; /* */ import jp.cssj.homar...
30.305195
257
0.385687
5861588ac34548ca76b7d480fff73a8b30af06e4
2,063
/* * Copyright 2021 Rovio Entertainment 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...
37.509091
85
0.704314
75864ae0b7cba90ccd41921bed8cc8632e2311a2
5,941
/* * Copyright (C) 2008, 2014 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 20. November 2008 by Joerg Schaible */ package co...
38.329032
119
0.648712
2bd2e0548f04e5cfb8792d631302721537a646d1
1,040
import java.time.Month; import java.time.Year; import java.time.LocalDate; import java.time.DateTimeException; // Write an example that tests whether a given date occurs on Friday the 13th public class Superstitious{ public static void main(String[] args){ Month month = null; LocalDate date = null; ...
28.108108
77
0.594231
065f303ee107be3b5af8c3470ec9a5596cb076b4
361
package seedu.address.commons.exceptions; /** * Represents an error encountered by export csv. */ public class ExportCsvOpenException extends IllegalValueException { public ExportCsvOpenException(String message) { super(message); } public ExportCsvOpenException(String message, Throwable cause) ...
22.5625
68
0.722992
6d22d0fb48cda9b32076eecb48ade23806164c83
6,636
// // (C) Copyright 2014-2015 Martin E. Nordberg III // Apache 2.0 License // package org.steamflake.core.infrastructure.utilities.revisions; import org.steamflake.core.infrastructure.utilities.collections.IIndexable; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** ...
29.105263
132
0.57173
3496413435bd93a94bf07788eef75bace3b4bb44
27,674
package projectzulu.common.blocks; import static net.minecraftforge.common.ChestGenHooks.DUNGEON_CHEST; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingMa...
66.047733
122
0.625786
fea95ac6d6f7db7b1be10cceeb5a782fba0273c7
1,004
package io.github.benzwreck.wykop4j; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.module.SimpleModule; import io.g...
35.857143
110
0.76992
5d75a11dd168d66ba1e4bdaf050434962fb24d8c
224
package io.github.jswart.scryfallfluentapi.query.cards.codenumber; /** * @author jake swart */ public interface CardsCodeNumberLanguageInf { CardsCodeNumberInf english(); CardsCodeNumberInf french(); }
17.230769
67
0.727679
a91f25ae68caba31e1a453df3add2aaeac795ef8
2,384
public class AlienDictionary{ public String alienOrder(String[] words) { if (words == null || words.length == 0) return ""; Map<Character, Set<Character>> map = new HashMap<>(); Map<Character, Integer> degree = new HashMap<>(); for (String w: words){ ...
34.550725
84
0.355285
206ad3dc578cf8bef02c8e9d5d14f55f0a85cb9f
256
package com.wixpress.dst.greyhound.java; import org.apache.kafka.clients.consumer.ConsumerRecord; import java.util.concurrent.CompletableFuture; public interface RecordHandler<K, V> { CompletableFuture<Void> handle(ConsumerRecord<K, V> record); }
21.333333
64
0.792969
aae55b90e1c263551ffa1c743525e381f7744646
6,009
package lepton.util.console; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.text.AbstractDocument; import javax.swing.text.AttributeSet; impo...
33.949153
142
0.727409
17146a822c2fa2f4e16d7f0bdf02e285616b6716
12,621
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
37.900901
116
0.764678
35689b62c7dfeff18fc4e7377480e951944c2b39
846
package net.rizon.moo.plugin.dnsbl.actions; import com.google.inject.Inject; import static net.rizon.moo.Moo.moo; import net.rizon.moo.irc.Protocol; import net.rizon.moo.plugin.dnsbl.Blacklist; import net.rizon.moo.plugin.dnsbl.conf.DnsblConfiguration; public class ActionAkill extends Action { @Inject private Dnsbl...
21.692308
85
0.736407
125230d42ddd2681ea52ec04a9c6631fcf9dcaf5
2,116
package org.swiftboot.auth.config; import org.apache.commons.lang3.StringUtils; /** * swiftboot.auth.session * * @author swiftech 2019-06-10 **/ public class SessionConfigBean { /** * 会话管理类型,支持的选项有:"redis","mock" * 默认使用 "redis",设置后用 Redis 来管理用户会话; * 选项 "mock" 仅用于调试,会在内存中产生唯一的会话。 */ pr...
19.592593
63
0.603497
d23829f52994a7d5726d0bdb0f5d2b03831b67ac
1,231
package com.rafabene.processador.dominio.repositorio; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import javax.enterprise.context.ApplicationScoped; import com.rafabene.processador.dominio.entidade.Ativo; import com.tangosol.net.CacheFactory; import com.tangosol.net.NamedCache; impor...
30.02439
112
0.696182
f220406c54911af7d4c354348c950f638680399c
1,279
package minestra.collection; import static org.junit.Assert.*; import org.junit.Test; public final class IntComparatorTest { @Test public void testCompareTo() { // ignore } @Test public void testEq() { assertFalse(IntComparator.NATURAL.eq(3, 1)); assertTrue(IntComparator....
29.068182
52
0.640344
3e8c2ebedfc1c432dbf419a3a4120e2e3d0edbaf
501
package cc.koosha.modbus.io.net; import lombok.Builder; import lombok.Value; import lombok.experimental.Wither; import java.net.InetAddress; @Value @Builder @Wither public final class TCPConnectionConfig { private final boolean useRtuOverTcp; /** * useUrgentData - sent a byte of urgent data when test...
16.7
70
0.722555
5d365b60327fb3b01af288d13503d6233921c2b5
149
package org.apache.jute.bak; public class MyGetDataRequest { private String path;//表示要请求的数据节点路径 private boolean watch;//表示该节点是否注册了Watch监控 }
21.285714
45
0.771812
6dc302007bed471cd09bbc88f2c8f7aa3a18ca93
6,316
package de.unistuttgart.vis.vita.analysis; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import static org.mockito.Matchers.*; import static org.mockito.Mockito.*; import org.junit.Before; import org.junit.Test; import com.google.common.collect.ImmutableSet; import de.unistuttgart.vis.vit...
35.886364
113
0.769158
b76d11160d9b339db782ff28d5235ab608e44da9
1,430
package com.pngfi.bdemo.banner; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.util.Log; import java.util.List; public class BannerViewPager extends ViewPager { BannerPageAdapter mAdapter; ...
27.5
100
0.684615
240b753da365b7a75ccf853dd6266638e474c79a
3,661
/* * The MIT License * * Copyright: Copyright (C) 2014 T2Ti.COM * * 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 u...
25.78169
119
0.626878
d9f39f2b770cce5d0d45eb5e9929dbf809c6336b
662
package ru.job4j.array; public class SumSortedArrays { /** * Метод слияния двух отсортированных по возрастанию массивов чисел в один, длины массивов произвольны. * Массив результата также отсортирован по возрастанию. * @param a Первый массив размера M * @param b Второй массив размера N * @return Результирующий ма...
31.52381
103
0.613293
1ff0eec8f2e01b9b0b4e742d131c0d00c4eab88e
2,260
/* * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
21.52381
118
0.638938
6e1c8597760ab9befd298c2ef9310799e26b4e70
3,897
package org.uniprot.store.indexer.search.uniprot; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.hasItems; import static org.uniprot.store.indexer.search.uniprot.IdentifierSearchIT.ACC_LINE; import static org.uniprot.store.indexer.sea...
43.786517
99
0.710033
9ab0092fdfcbe35cb5f17e5233c4d5338a327375
301
package com.example.native_new.android.androidbasejava.ui; import androidx.lifecycle.ViewModel; import javax.inject.Inject; import dagger.hilt.android.lifecycle.HiltViewModel; @HiltViewModel public class MainActivityViewModel extends ViewModel { @Inject MainActivityViewModel() { } }
18.8125
58
0.79402
f67dc7e76578e422099de9327b9b22d89ec819c6
994
package com.budger.data.dto; import java.sql.Date; public class GoalDto { private String title; private float value; private Date date; private String description; public GoalDto() { } public GoalDto(String title, float value, Date date, String description) { this.title = tit...
17.438596
78
0.593561
1659309a84186ae401c168ba627528f458dcffe9
1,362
/* * Copyright (C) 2016 Uriel Sarrazin * * 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 ...
30.266667
103
0.718062
3a8aa7be69ed7c68c7b2ea490b81eb565592fc8b
1,319
/** * StubHeaderImpl.java * * Test implimentation. * Make sure the service sees a SOAP header added by the Sub API. * Set a different header in the response to the test can verify it. */ package test.wsdl.stubheaders; import org.apache.axis.MessageContext; import org.apache.axis.message.SOAPEnvelope; import org...
32.975
98
0.68461
c49d2e8449f75d2a2d7a8de516c828eae26bb994
4,200
package com.hedera.hashgraph.corda_hcs.notary; import com.hedera.hashgraph.sdk.account.AccountId; import com.hedera.hashgraph.sdk.consensus.ConsensusTopicId; import com.typesafe.config.Config; import com.typesafe.config.ConfigException; import com.typesafe.config.ConfigValue; import com.typesafe.config.ConfigValueType...
34.42623
103
0.579524
9bf499c96afc3bd631ab92872b9581193b909900
281
package example.micronaut.wallet.api.service; import example.micronaut.wallet.api.dto.TransferCreateCommand; import example.micronaut.wallet.api.dto.TransferInfo; public interface TransferService { TransferInfo createTransfer(TransferCreateCommand transferCreateCommand); }
28.1
77
0.846975
f57b56bd561cf5475eadef313449986c4d653738
758
package com.diamondq.common.tracing.opentracing.wrappers; import org.checkerframework.checker.nullness.qual.Nullable; import io.opentracing.ScopeManager; import io.opentracing.Span; import io.opentracing.Tracer; public abstract class AbstractTracerWrapper implements AbortableContinuation { protected final ScopeMa...
26.137931
100
0.769129
d22261d91ac5424ff347ec97115a3a0e70d1b04b
574
package ru.serg_nik.foodvoice.dto; import io.swagger.annotations.ApiModelProperty; import lombok.*; import ru.serg_nik.foodvoice.model.BaseNamedEntity; @Getter @Setter @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public abstract class BaseNamedDto<E extends BaseNamedEntity> extends BaseDto<E> { ...
22.076923
82
0.705575
40a75c213ade699a6b8d957302bc6bb324c1cb21
4,213
/* * Abyssalith is a Discord Bot for Volmit Software's Community * Copyright (c) 2021 VolmitSoftware (Arcane Arts) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the...
50.759036
706
0.633041
3758e6a0634104cad544752ad89235297f843dac
2,967
package org.folio.finc.periodic; import io.vertx.core.Vertx; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.unit.junit.VertxUnitRunner; import org.folio.finc.mocks.EZBServiceMock; import org.folio.postgres.testing.PostgresTesterContainer; import org.folio.rest.jaxrs.model.Cre...
32.25
99
0.495113
727df493993af42d2b126474c744b6d84a3468e8
1,524
/* * Copyright 2016 LINE Corporation * * LINE Corporation licenses this file to you 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 re...
29.307692
78
0.694226
ca344de2fe4803ccc6880644efd1d6a8c5887926
116
package com.tmlab.amalgamj; public class Volume { public Asset amalgam_volume; public Asset abd_volume; }
14.5
32
0.741379
26480faefb04742100392b5ff2a4ef94a98a8267
2,021
/** * Copyright © 2006-2016 Web Cohesion (info@webcohesion.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
22.455556
75
0.676398
1e40863653c0240d850cee7b955559ad51749848
2,625
package com.stackroute.service; import com.stackroute.domain.BookAppointment; import com.stackroute.domain.Doctor; import com.stackroute.domain.Patient; import com.stackroute.repository.BookAppointmentRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.annotatio...
30.172414
92
0.70781
c9c58526556e118b4be4d08a1ff9c027506d0638
2,954
/* * 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 ElementBase; import MathPack.StringFunctionSystem; import MathPack.StringGraph; import java.io.BufferedWriter; import java.io...
26.854545
137
0.578876
7d4821bb17c339785215631125b769a379b84f5d
1,849
package io.papermc.hangar.controller.extras.pagination.filters.log; import io.papermc.hangar.controller.extras.pagination.Filter; import io.papermc.hangar.controller.extras.pagination.filters.log.LogProjectFilter.LogProjectFilterInstance; import org.jdbi.v3.core.statement.SqlStatement; import org.jetbrains.annotations...
33.618182
123
0.717685
9a518abd97addc91c70abe394350da8de9956fb8
1,430
package pl.allegro.tech.hermes.management.infrastructure.crowd; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.util.concurrent.UncheckedExecutionException; import pl.allegro.tech.hermes.management.config.Cro...
36.666667
94
0.693007
a07b1cd3a62e0eb7dfd86c3ddabdac22e22b59bc
17,670
package com.edwise.dedicamns; import java.io.Serializable; import java.util.List; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.os.Parcelable; import android.util.Log; import android.view.ActionMode;...
30.153584
114
0.735937
e60e189497a466143efd080c3a1b493b3be5408a
566
package io.github.lvgocc.interpreter; /** * Wife * <p> * 欢迎跟我一起学习,微信(lvgocc)公众号搜索:星尘的一个朋友 * * @author lvgorice@gmail.com * @version 1.0 * @blog @see http://lvgo.org * @CSDN @see https://blog.csdn.net/sinat_34344123 * @date 2020/12/2 */ public class Wife implements EyeColor { @Override public synchron...
23.583333
59
0.614841
423148e18d0c77013fa1f030549d7b513276b4e3
4,168
/* * Copyright 2013 serso aka se.solovyev * * 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...
27.064935
94
0.616123
10ec062e84720b03b54b8f8b9bf9ae4c16840dcd
358
/** * Run functions in order defined in a directed graph. */ module com.legyver.utils.graphrunner { requires transitive com.legyver.utils.wrapadapt; exports com.legyver.utils.graphrunner; exports com.legyver.utils.graphrunner.ctx.shared; provides com.legyver.core.license.LicenseService with com.legyver.utils.gra...
35.8
112
0.807263
a8cf1c027516db2aa6c5af7e0e0bbcc5281cdc80
6,726
package nl.cwi.reo.semantics.predicates; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Objects; import java.ut...
22.052459
79
0.639459
069521701674ccbbdf69f9a03bbb5ab9fb0ebae1
1,006
/* * Copyright (c) 2008 - 2010 Citrix Systems, Inc. All Rights Reserved. */ package com.citrix.wi.pageutils; import com.citrix.wi.mvc.WIContext; import com.citrix.wi.types.UserInterfaceBranding; import com.citrix.wi.util.ClientInfoUtilities; /** * Utility methods for working with images in the user inter...
30.484848
84
0.672962
c91407ce763b95fac91ffa928adbb3cbdea1f106
8,582
package com.home.shine.net.http; import com.home.shine.bytes.BytesReadStream; import com.home.shine.constlist.HttpMethodType; import com.home.shine.control.ThreadControl; import com.home.shine.ctrl.Ctrl; import com.home.shine.global.ShineSetting; import com.home.shine.net.NettyGroup; import com.home.shine.net.socket.B...
21.671717
118
0.674435
001a8ee5f11d82dfe1aac35df103df372b41073c
12,121
package org.myazure.ntxf.controller; import java.io.IOException; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import javax.annotation.PostConstruct; import javax.servlet.http.HttpServletResponse; import org.myazure.ntxf.configuration.AppConfiguration; import org.myazure.ntxf.ent...
37.180982
112
0.755466
1181849a6bdd04788769a9e6c814cb2d55878d6a
2,020
package edu.wpi.grip.ui.codegeneration.data; import java.util.ArrayList; import java.util.List; public class TStep { private final List<TInput> inputs; private final List<TOutput> outputs; private final String name; private final int stepNum; /** * This is a constructor for a Template step. * @param...
21.956522
80
0.642079
0bcea305d1b3627cd62e76e96368ec35e371479c
1,895
// Copyright 2019 Google 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 of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
41.195652
96
0.775198
fbafbceae891a67b4cb96d21905562ae4ed60cd6
3,589
package cn.edu.ruc.iir.rainbow.eva; import cn.edu.ruc.iir.rainbow.eva.domain.Column; import cn.edu.ruc.iir.rainbow.eva.metrics.LocalMetrics; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import parq...
37.385417
157
0.630538
814ec18e55b018e412b00cdd2e3fdab4156b0c56
854
/********************************************************* {COPYRIGHT-TOP} *** * Copyright 2016 IBM Corporation * * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies this distribution, and is available at * http://opensource.org/...
28.466667
86
0.640515
ddea12516bfed34b4ddb2f449bfe8b459cc5156a
3,392
package MiscFunctions; import java.io.BufferedReader; import java.io.FileReader; public class SiteInPoolFreqAnno { public int num_sites; public int num_pools; public String[] pool_IDs; public LocusAnnotation[] loci_annotations; public double[][] inpool_freqs; //[this.num_sites][this.num_pools] /* * C...
36.869565
137
0.693396
942f33b3ad917ee69c2fa17fba97c0ed8827b130
3,317
/* Copyright (c) 2012 LinkedIn 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...
22.719178
80
0.561954
25b54abdb313f4b7a960ffae66dce942b24abfe2
115
package Exceptions; public class InvalidEntryException extends Exception { public InvalidEntryException(){} }
19.166667
54
0.8
825830ed972042912f41e08626a47a854451a5bb
779
package com.katevolved.hyk.service.impl; import com.katevolved.hyk.common.CustomException; import com.katevolved.hyk.dao.UserDao; import com.katevolved.hyk.pojo.User; import com.katevolved.hyk.service.UserService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import o...
25.966667
62
0.688062
d6bbe439cb186422515c3fd49cb49f3d18e3e715
692
package hprose.example.push; import hprose.client.HproseClient; import java.util.Date; import java.util.concurrent.CountDownLatch; public class TimePushClient { public static void main(String[] args) throws Exception { final HproseClient client = HproseClient.create("tcp://127.0.0.1:8080"); final ...
30.086957
80
0.592486
ecbda43339f0597a9453a294ef34fd261e8bac14
21,802
/* * $Id$ */ /* Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
30.663854
84
0.689019
e973b143f10078001521864c0bcaedc83d8b3e4a
3,545
package six.com.crawler.work.plugs; import java.util.List; import org.apache.commons.lang3.math.NumberUtils; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import six.com.crawler.entity.Page; import six.com.crawler.entity.PageType; import six.com.crawler.entity.ResultContext; ...
35.45
115
0.736812
61a4c8a4c8797eb06748bcf836680ba2ff51a8db
4,353
/* Copyright 2017 karol-202 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...
27.903846
114
0.750747
01a44ecdbbbcdf0abb31f32764b03ed206e2c3bb
398
package com.comze.sanman00.spongeskills.api.event; import com.comze.sanman00.spongeskills.api.player.PlayerWrapper; /** * An event that is fired when a skill is triggered. */ public interface SkillTriggerEvent extends SkillEvent { /** * Gets the player that was involved in the event. * * @return...
24.875
64
0.703518
1a9a319029259066b5ed784080fd9c9f41660e30
4,737
/* * Copyright 2010 Henry Coles * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
33.595745
101
0.708465
f762c3bf8e6f1e1b1d64a2416f664b5c8f6a45f6
334
package com.patternmatch.ecs.textapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class TextapiApplication { public static void main(String[] args) { SpringApplication.run(TextapiApplication.class, a...
25.692308
68
0.796407
5278346572ab25771c8b4fa538768c3bc89bd722
848
/* Copyright (C) 2007 Versant Inc. http://www.db4o.com */ package com.db4o.internal.freespace; import com.db4o.foundation.*; import com.db4o.internal.slots.*; import com.db4o.marshall.*; /** * @exclude */ public class LengthKeySlotHandler extends SlotHandler{ public int compareTo(Object obj) { ...
22.918919
81
0.676887
9f5d2aa4a0b4c7406ee4f24258d62e336304ccc0
1,226
package com.hollandjake.dogbot.modules; import com.hollandjake.chatbot.Chatbot; import com.hollandjake.chatbot.utils.CommandModule; import com.hollandjake.messenger_bot_api.message.Message; import com.hollandjake.messenger_bot_api.message.MessageComponent; import com.hollandjake.messenger_bot_api.message.Text; import...
26.652174
131
0.744698
c2c11b7ea9cada30ec9972f1e9327696a18e2ee6
246
package com.vaadin.sebastian.indeterminatecheckbox.client.indeterminatecheckbox; import com.vaadin.shared.communication.ServerRpc; public interface IndeterminateCheckBoxServerRpc extends ServerRpc { public void setValue(Boolean value); }
24.6
80
0.841463
2a69fbcccaf851d3d8dd57d1b6d706d85d5852b5
26,969
/* */ package org.springframework.aop.aspectj; /* */ /* */ import java.lang.annotation.Annotation; /* */ import java.lang.reflect.Constructor; /* */ import java.lang.reflect.Method; /* */ import java.util.ArrayList; /* */ import java.util.HashSet; /* */ import java.util.List; /* */ ...
33.418835
200
0.47499
c18efa5c9c9788c161e2c44135bdf1debed1df27
2,724
package com.icepoint.framework.workorder.work.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.icepoint.framework.data.domain.LongStdEntity; import lombok.*; import lombok.experimental.SuperBuilder; import javax.persistence.*; import java.math.BigDecimal; import java.util.Map; /** * 作业问题记录表...
16.919255
57
0.564244
a38a8ebda68b37072686582e1439b7058eeb3f18
5,051
package era.uploader.data.model; import com.google.common.base.Preconditions; import org.apache.pdfbox.pdmodel.PDDocument; import javax.annotation.Nonnull; import javax.annotation.ParametersAreNullableByDefault; import java.awt.image.BufferedImage; /** * An individual page for an assignment. A page has a QR code th...
28.376404
93
0.651554
57102ee3229accc144676414c4e17fd415e5bf02
3,232
package com.softteco.roadqualitydetector.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import java.util.TimeZone; /** * Utility class for work {@link java.util.Date}. */ public final class DateUtil { private DateUtil() { ...
23.591241
98
0.5
ab099128ad75f032d017bebfc1a21f2ee071d7a9
2,017
package app.common.validation; import app.exception.FieldNotUniqueException; import app.exception.MissingRequiredFieldException; import org.springframework.beans.BeanWrapperImpl; import org.springframework.stereotype.Component; /** * Component about some most used validation utilities. Implementation is based on * ...
37.351852
97
0.710461
9eff8e203ace266ff550734094dddae9b7dfaab4
1,036
package it.unibz.inf.ontop.spec.mapping.parser.impl; import com.google.inject.Inject; import it.unibz.inf.ontop.spec.mapping.pp.SQLPPMapping; import it.unibz.inf.ontop.spec.mapping.parser.SQLMappingParser; import org.apache.commons.rdf.api.Graph; import java.io.File; import java.io.Reader; /** * Allows to create a ...
29.6
103
0.748069
71554f238436816a3a8124b7a82f5c567a756611
24,258
package com.thebhakti; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; imp...
45.257463
199
0.667203
86deceeadbb04222e435be83ce5302a007dcbf6a
250
import java.util.function.Predicate; class Foo { Predicate<String> test(int i) { return switch (i) { default -> { final Predicate<String> p = String::isEmpty; break p; } }; } }
22.727273
59
0.488
60a7de224873c5c9832f3fcd8348a731354748d2
2,362
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
31.078947
110
0.707451
d88701fdeb38daed1732ad8081241c1ba6aa91d7
29,783
package org.smartregister.opd.utils; import com.vijay.jsonwizard.constants.JsonFormConstants; import org.json.JSONException; import org.json.JSONObject; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.powermock.api.mockit...
55.051756
207
0.475943
c01b5d4aa462d4721d0d28b19761da80c1b8913e
884
package org.liquidengine.legui.theme.colored.def; import org.liquidengine.legui.component.SelectBox; import org.liquidengine.legui.theme.colored.FlatColoredTheme.FlatColoredThemeSettings; /** * Dark SelectBoxScrollablePanel Theme. * * @param <T> {@link SelectBox.SelectBoxScrollablePanel} subclasses. */ public cla...
30.482759
130
0.753394
e16c70c0bd37a67058362d5dd2d121a88014e67a
143
package Structural.Decorator; public class Espresso extends Beverage { @Override public double getCost() { return 10; } }
15.888889
40
0.664336
531b84931ee56627bf944ca024497518e8b941c5
1,258
package com.lambdaschool.zoos.controllers; import com.lambdaschool.zoos.models.Zoo; import com.lambdaschool.zoos.services.ZooService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web...
31.45
65
0.738474
82f446617ad1c74b7facf7650f3ec93fae16f4ac
655
package io.jexxa.addend.applicationcore; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUN...
25.192308
87
0.749618
6fb849acf9d7b8cf48433c937c731f1ab4bdd216
527
package com.founder.sso.validate; import javax.validation.constraints.Pattern; import org.hibernate.validator.constraints.NotEmpty; public class OpenUser { @NotEmpty private String oid; @NotEmpty //@Pattern(regexp="^(sina_weibo|tencent_wechat|tencent_QQ)$") private String provider; public String getOid() {...
15.969697
62
0.732448
43d4023b47947cc43c4f1e4b50b9154b937b78cf
1,137
package com.ftfl.customview; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; import android.widget.RelativeLayout; public class FTFLImageView implements OnTouchListener{ private int m_X; private int m_Y; public FTFLImageView() { super(); // TODO Auto-genera...
22.74
77
0.730871
902dcb4f6d157c2d5dcc6a56abf62cbb57c2449b
500
package com.duprasville.limiters.treefill; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; class FullTableTest { @Test void nilTable() { assertThat(FullTable.NIL.get(...
29.411765
82
0.714
9c440fc7b1c00bb343a55e3f25a05dfb1fe02597
718
package code.cafebabe.refactoring.util; import static java.util.Arrays.asList; import static org.junit.Assert.assertEquals; import java.io.File; import java.util.regex.Pattern; import org.junit.jupiter.api.Test; import org.junit.platform.runner.JUnitPlatform; import org.junit.runner.RunWith; import code...
27.615385
174
0.738162
279dc676faea5415aafd9f1e991c4cfafa4c78f2
7,547
package com.digitalsolutionsbydon.devdesk.services; import com.digitalsolutionsbydon.devdesk.exceptions.BadRequestException; import com.digitalsolutionsbydon.devdesk.exceptions.NotAuthorizedException; import com.digitalsolutionsbydon.devdesk.exceptions.ResourceNotFoundException; import com.digitalsolutionsbydon.devdes...
33.100877
146
0.581688
2a0a0f07c13a1e3698f2247172e321bca5e5144c
939
package com.nt.ArrayDemo; public class SelectionSort { public static void main(String[] args) { int arr[]= {45,65,22,11,9,89,5,8,5}; int min; int temp; for(int i=0;i<arr.length;i++) { min=i; for(int j=i+1;j<arr.length;j++) { if(arr[min...
16.767857
44
0.410011
906e5ae9c90b315728fc5e14dc10fb069791d377
440
package dev.cammiescorner.expanddata; import net.fabricmc.api.ModInitializer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class ExpandData implements ModInitializer { public static final String MOD_ID = "assets/expanddata"; public static final Logger LOGGER = LogManage...
27.5
66
0.790909
8e1e62e3e8d9a834b9114bac6e560a840724c207
109
package com.w9jds.marketbot.classes; import javax.inject.Scope; @Scope public @interface StorageScope { }
12.111111
36
0.779817
42822033755b45dace9f85efc476582e8ff51509
628
package android.support.p001v7.widget; import android.view.View; /* renamed from: android.support.v7.widget.Ra */ /* compiled from: ScrollingTabContainerView */ class C0969Ra implements Runnable { /* renamed from: a */ final /* synthetic */ View f3089a; /* renamed from: b */ final /* synthetic */ C1...
25.12
119
0.63535
fa5d4b504481150d3c5de6883c5752f05bdf8075
15,203
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
36.370813
182
0.717293
95bdb1aa039f10078f8179976eed37c54ff822a8
1,242
package net.openid.conformance.condition.client; import com.google.common.base.Strings; import net.openid.conformance.condition.AbstractCondition; import net.openid.conformance.condition.PostEnvironment; import net.openid.conformance.condition.PreEnvironment; import net.openid.conformance.testmodule.Environment; publ...
32.684211
144
0.780193
8242aa9a318948d130ac5e26bf490686ce9a5ef6
2,053
package com.fejq.blin.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.fejq.blin.App; public class DBHelper extends SQLiteOpenHelper { private static DBHelper dbUtil; public static DBHelper getInstance() ...
27.743243
100
0.490015
5aec2436c2e904c4c8e953550342d02befae1e67
2,591
package com.antonjohansson.geotest; import static java.lang.Boolean.TRUE; import java.util.Optional; import org.kohsuke.args4j.Option; /** * Contains application arguments. */ public class ApplicationArguments { private static final int PORT_DEFAULT = 666; private static final int DOCUMENT_COUNT_DEFAULT =...
26.171717
144
0.637206
9fe8f0ccac8250ab9b0fa238f657fba1c7eb527e
1,015
package me.huding.designpattern.builder; public class T401Builder implements ComputerBuilder { private T401 computer = new T401(); @Override public ComputerBuilder buildCPU() { // TODO Auto-generated method stub computer.setCpu("i5-450"); return this; } @Override public ComputerBuilder buildRAM() { /...
18.796296
53
0.722167
04fecd545c43a097019a2aa3460f32a51bfae775
960
package com.moemoe.lalala.model.entity; import com.google.gson.annotations.SerializedName; /** * Created by yi on 2016/11/11. */ public class UploadEntity { @SerializedName("filePath") private String filePath; @SerializedName("uploadToken") private String uploadToken; private String localPath;...
19.2
52
0.642708
4cc415fe2ef4cbd971442b241351b371232858c7
1,261
package com.artlongs.webapp.model; import com.artlongs.base.model.BaseEntity; import org.neo4j.graphdb.Direction; import org.springframework.data.neo4j.annotation.*; import java.util.Set; @NodeEntity public class World extends BaseEntity { private final static String REACHABLE_BY_ROCKET = "REACHABLE_BY_ROCKET"; ...
18.820896
73
0.655036
c3a5dfed9063440ea10539526b406d961d54e490
3,715
package com.techgig; import java.util.*; public class NeighboursAndNewYearParty { public static void main(String args[] ) throws Exception { /*Scanner scn = new Scanner(System.in); int t = scn.nextInt(); for(int i=0;i<t;i++) { int houses = scn.nextInt(); scn.nextLine(); String tickets = scn....
25.979021
71
0.504172