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
00ffc1fcd3a4805effd263ed8bef035ba4f33f92
880
package io.iconator.commons.countryfilter.config; import com.axlabs.ip2asn2cc.Ip2Asn2Cc; import com.axlabs.ip2asn2cc.exception.RIRNotDownloadedException; import com.axlabs.ip2asn2cc.model.FilterPolicy; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.ann...
40
118
0.839773
69a9df668a0b26b8c97d21c5da6b7ac06fa1d6cf
1,530
/* * Copyright 2018 Philipp. * * 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...
24.677419
75
0.683007
3b2df9169e571ab4c5c4db807416acc625ad98e9
7,212
package org.spigotmc; import net.minecraft.server.ChatSerializer; import net.minecraft.server.EnumProtocol; import net.minecraft.server.IChatBaseComponent; import net.minecraft.server.Packet; import net.minecraft.server.PacketDataSerializer; import net.minecraft.server.PacketListener; import net.minecraft.util.com.goo...
28.393701
169
0.585413
74d06dc0823775ca877b2fba8906813a12e6c95e
46,886
/* * Copyright 2012 harald. * * 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 ...
39.700254
203
0.710553
fcfe9f73f80adeb16148f5bc61a1b1e99c86add0
673
package com.yanhuan.authorization.dto; /** * 授权码返回 * * @author YanHuan * @date 2020-09-25 0:45 */ public class CodeResultDTO { private String code; private String toAppUrl; public String getCode() { return code; } public void setCode(String code) { this.code = code; } ...
17.710526
50
0.533432
112580cf02a2bc6b1ed03fc65f58bde0516d2374
4,368
// Copyright (c) 2020, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.horizontalclassmerging.policies; import com.android.tools.r8.graph.DexEncode...
37.016949
97
0.697115
62fa49d78f803f8cd69e306cd719b3a5df8aef7e
17,178
/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package goodman.com.sun.source.tree; /** * Common interface for all nodes in an abstract syntax tree....
27.137441
81
0.556235
770275332df827ec46ec60635b8181da179682d9
1,725
package com.ceiba.presupuesto.servicio; import com.ceiba.dominio.excepcion.ExcepcionDuplicidad; import com.ceiba.dominio.excepcion.ExcepcionSinDatos; import com.ceiba.presupuesto.modelo.entidad.Presupuesto; import com.ceiba.presupuesto.puerto.repositorio.RepositorioPresupuesto; public class ServicioCrearPresupuesto {...
40.116279
114
0.761159
56a2fc42b602701f6a5439243fe1c28646b88551
181
package com.org.learningCucumber; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @RunWith(Parameterized.class) public class DataDrivenTest { }
18.1
40
0.773481
05bb1ab4a9f144f8aaa5547920d8613805b698ef
625
package es.usc.citius.utils.generator.annotations; import es.usc.citius.utils.generator.generators.ByteGenerator; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Targe...
29.761905
62
0.7584
09877b81e613d3f6b2ad6c4992c30f6facac17ef
103
package com.pjzhong.dsa.graph; public enum EdgeType { UNKNOWN, TREE, CROSS, BACKWARD, FORWARD; }
17.166667
44
0.718447
3d2402426255ec964cbe8c1dfff38aba6e2c7326
999
/** * Copyright (c) 2010-2019 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.ninja; /** * Created by Viliam Repan (lazyman). */ public class TestMain { public static vo...
32.225806
152
0.543544
d8baea783aa2cd4f334e0044928a859dbb1e327e
305
package com.salesmanager.core.business.repositories.vouchercode; import org.springframework.data.jpa.repository.JpaRepository; import com.salesmanager.core.model.vouchercode.VoucherCode; public interface VoucherCodeRepository extends JpaRepository<VoucherCode, Long>,VoucherCodeRepositoryCustom { }
25.416667
109
0.855738
6a590eeed5d35c86e33ff6f67a3cd4019ec21585
2,828
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2021-2022 Vladimir Orany. * * 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 ...
34.91358
117
0.625177
19e1b61e733453b46d9fc3a5dcfd2ebaa7258552
399
package ks.web; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @author xueqin.lin * */ public interface Handler { /** * * @param baseUrl * @param request * @param response * @throws Exception */ void handle(String baseUrl,...
18.136364
107
0.681704
8b61cf7c9beda929e284d978ab1dd4345731ff1b
647
package io.github.phantamanta44.mekores.util; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; import javax.annotation.Nullable; import java.util.List; public class OreDictHelper { @Nullable public static ItemStack getStack(String entry, int qty) { List<ItemStack...
24.884615
68
0.684699
bc8162e44d44b1f94ccf83248d1269c6ac2e325e
345
package org.tessell.model.properties; /** * Logic to convert {@code A} to {@code B}, one-way. * * See {@link PropertyFormatter} for two-way. * * @param <A> the source type * @param <B> the destination type */ public abstract class PropertyConverter<A, B> { public abstract B to(A a); public B nullValue() {...
17.25
52
0.646377
f6a1b97c316797097de72d27a35060620e1f2706
11,149
package it.id.mqtt; import android.app.Activity; import android.content.ComponentName; import android.util.SparseArray; import com.facebook.react.bridge.ActivityEventListener; import com.facebook.react.bridge.Arguments; import com.facebook.react.bridge.Promise; import com.facebook.react.bridge.ReactContext; import co...
37.538721
131
0.617724
82edf04c2bbd17e80849b686fd9bad9ebcd35eb4
5,304
package com.yc.crawler.process; import cn.hutool.core.date.DateUtil; import com.yc.common.core.base.vo.crawler.PollutantVO; import com.yc.crawler.mapper.CrawlerMapper; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements;...
39.879699
153
0.551282
a8ca11123573b5752ad6d5905fa1b3f27efc8243
8,656
package com.linkedin.metadata.resources.glossary; import com.linkedin.glossary.GlossaryNode; import com.linkedin.glossary.GlossaryNodeInfo; import com.linkedin.glossary.GlossaryNodeKey; import com.linkedin.common.Ownership; import com.linkedin.common.urn.GlossaryNodeUrn; import com.linkedin.common.urn.Urn; import com....
41.023697
148
0.758665
cbabbe26db3a40e66abcf2dfa13d4f89ad54cbb3
513
package com.wk.chart.entry; import com.wk.chart.ChartView; import com.wk.chart.handler.InteractiveHandler; public class ChartEntry { private ChartView chart; private InteractiveHandler handler; public ChartEntry() { } public void setChart(ChartView chart) { this.chart = chart; } public ChartView ...
17.689655
54
0.717349
764ab6cbd1428a42e64843fea72fdf4d1b28339a
411
package com.yodiwo.plegma; /** * Created by Nikos on 28/11/2015. */ /** * Node Unpairing Response * Payload is empty, message exists to make sure that node does receive message before being forcefully disconnected * Direction: Node->Cloud */ public class NodeUnpairedRsp extends ApiMsg { public NodeUnpaired...
19.571429
116
0.690998
18e770d25298971559013e0ce1b3d80e7040ace7
1,523
package com.ju.designpatterns.observer.rxjava; public class Main { public static void main(String[] args) { Observable.create(new Observable.OnSubscribe<Integer>() { @Override public void call(Subscribe<? super Integer> subscribe) { for (int i = 0; i < 1; i++) { ...
33.844444
92
0.437295
1707dd4b747906fd1651668c459c4aa3d14ad4e4
522
package com.barrycommins; import lombok.Data; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity @Data clas...
18
60
0.762452
9484dc707074f5a70ef1d39e43c4a78e77e2719e
2,013
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package MeslekBilgiIslemleri; import java.io.Serializable; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import java.util.con...
23.137931
71
0.584203
132c5fd1e26ba341a49fb6bdbfdd4d098179634b
1,444
package org.eclipse.mat.hprof; import java.lang.ref.SoftReference; class ArrayDescription { static class Offline extends ArrayDescription { int arraySize; int elementSize; boolean isPrimitive; SoftReference<Object> lazyReadContent = new SoftReference(null); long position; ...
23.672131
92
0.580332
2d59540d378a185fed426c5b45145da97d324a27
820
package d2rq.utils; import java.util.*; /** * A command line argument specification. */ public class ArgDecl { private final boolean takesValue; private final Set<String> names; /** * Creates a declaration for a command argument. * * @param hasValue does it take a value or not? * @p...
23.428571
92
0.608537
a9f6fdbedeea7c7119d8c9787faaa82e6658a3cb
9,046
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/resources/ad_group.proto package com.google.ads.googleads.v5.resources; public final class AdGroupProto { private AdGroupProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLi...
61.958904
771
0.730378
822215aa7be010ced8c7e666d981f35d66b087ef
2,598
package fr.lauparr.pplanner.server.services; import fr.lauparr.pplanner.server.controllers.CtrlAuth; import fr.lauparr.pplanner.server.dao.DaoGroup; import fr.lauparr.pplanner.server.dao.DaoUser; import fr.lauparr.pplanner.server.dto.JwtToken; import fr.lauparr.pplanner.server.entities.Group; import fr.lauparr.pplanne...
31.301205
94
0.774057
4fbf2afdae198c5e4181d256ac531aade796fc13
1,621
package cn.garymb.ygomobile.core.images; import cn.garymb.ygomobile.R; import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.graphics.drawable.TransitionD...
28.438596
77
0.758791
3842d0e0a802ce6be3cb582fd38cd0957a2b1168
483
package kotlin.sequences; import kotlin.Metadata; @Metadata(mo6272bv = {1, 0, 3}, mo6273d1 = {"kotlin/sequences/SequencesKt__SequenceBuilderKt", "kotlin/sequences/SequencesKt__SequencesJVMKt", "kotlin/sequences/SequencesKt__SequencesKt", "kotlin/sequences/SequencesKt___SequencesJvmKt", "kotlin/sequences/Sequences...
48.3
334
0.763975
c2c5a182cd66d4d4734f46057167da907cd58eef
1,549
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.xwalk.core.xwview.test; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.base.test.util.Feature; /** * Tests f...
31.612245
73
0.615236
f0b3d0eb1127ddf9bde1e75a5fb0b692a2ca4726
3,313
package com.java.javaCore.base.commonClass; /** * 字符串广泛应用 在 Java 编程中,在 Java 中字符串属于对象 * Java 提供了 String类来创建和操作字符串 其中包含了50多个方法(String API) * @author: junwei_tang * @date: 2020-12-23 15:58 * @version: v1.00 */ public class StringType { /** * 子串 * String类的substring方法可以从一个较大的字符串提取出一个子串 * ...
21.101911
86
0.537881
7c137fb4122d1d4e5f64e139d31a01893600856f
3,077
package com.ravencoin.presenter.newTutorial; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import...
42.150685
84
0.637309
e8b26566111c3aa94e4f8d489d7bed2f084607d9
311
package com.bookshop.dao; import java.util.List; import com.bookshop.pojo.Category; public interface CategoryDAO { void add(Category category); void delete(int id); Category get(int id); void update(Category category); // 获取所有Category List<Category> list(); int count(); }
13.521739
35
0.675241
e8ccd704625385e56b37b689e99e165c84e96740
4,954
/* * Copyright (c) 2010-2013, MoPub Inc. * 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, this list of con...
39.31746
103
0.66633
ace70507392f41e546e3fa34c5ba31ee5d7a7132
2,069
package es.tododev.fairtasks.dto; import javax.validation.constraints.NotNull; public class Task { @NotNull private String task; @NotNull private String group; private int value; private String description; public Task() { } public Task(@NotNull String task, @NotNull String group, int value, String descri...
22.988889
111
0.651039
8168b406852c8970f2073419e8c1b42adef7e7d0
27,238
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.ibm.sre.pdfparser; import com.google.common.collect.Iterators; import com.google.common.collect.PeekingIterator; import ja...
39.304473
185
0.511198
402f8a555e1f7fcfa451aeee86e905b260a9f74f
1,814
/* * Copyright 2006-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
37.791667
102
0.72161
cc9c624332425c6f6645d7c50ddf04511aa5e35c
3,388
package junit.bowler; import static org.junit.Assert.*; import java.io.File; import java.io.IOException; import java.net.URL; import java.util.Scanner; import org.apache.commons.io.IOUtils; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; imp...
32.266667
102
0.7134
52dc1e8f45e54f0a907a52b23c8ada207d2cf1eb
371
/* * Copyright (c) 8/24/2019. Maedi Laziman, Email: maedilaziman@gmail.com. */ package com.maedi.soft.ino.base.utils; public enum EasyData { DVD_MEDIA_TYPE("@media_type@"), BIND_METHOD("METHOD"), BIND_METHOD_PARAMETER("METHOD_PARAMETER"), BIND_FIELD("FIELD"); public String value; EasyData(S...
20.611111
73
0.663073
2029619a2799a255cad7c53f7321dee99ce3482a
9,189
package com.macro.mall.model; import java.util.ArrayList; import java.util.List; public class UserGrpRelExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public UserGrpRelExample() { oredCriteria = new ArrayList<Criteria>(); } ...
28.715625
102
0.576232
52a9b8cf59b318b75e361d15cc579091b9780fa8
11,634
/* * 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...
28.868486
123
0.733626
7f1d0c17f612914229b6a6be88b318ff4f0e71c4
4,427
package com.swatisingh0960.github.twitterredux.activities; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import com.swatisingh0960.github.t...
38.163793
112
0.697312
b11562123d09e69a4c2ba0e82dc3037050ed71d5
17,390
package org.apereo.cas.spring.boot; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import org.apereo.cas.spring.boot.CasProperties.CasProtocol; import org.apereo.cas.spring.boot.property.CasAssertionProperties; import org.apereo.cas.spring.boot.property.CasAuthcProperties; impor...
58.75
172
0.819666
78110e11fe0ade675ae473e60890f68ecc7b6c49
366
package com.algaworks.socialbooks.services.exceptions; public class AutorExistenteException extends RuntimeException { private static final long serialVersionUID = 9017311625987196197L; public AutorExistenteException(String mensagem) { super(mensagem); } public AutorExistenteException(String mensagem, Throwa...
22.875
67
0.803279
aea8e09cbb16081a779c1050543591eaa4288954
3,501
/** * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: LicenseRef-.amazon.com.-AmznSL-1.0 * Licensed under the Amazon Software License http://aws.amazon.com/asl/ */ package com.example.vskfiretv; import android.app.Activity; import android.app.Fragment; import an...
33.342857
116
0.710083
acafb123f8cbf7d8d4a98ca440116d2f0ae55b6f
17,415
/** * 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...
30.339721
84
0.685731
bd439123f3911b1ce6324526960f3cf130da379c
574
package com.slava.taboolatestjava.articles.adapter; import android.view.View; import androidx.annotation.NonNull; import com.slava.taboolatestjava.R; import com.taboola.android.TaboolaWidget; public class TaboolaFeedViewHolder extends BaseViewHolder { private TaboolaWidget taboolaWidget; public TaboolaFeed...
24.956522
65
0.749129
0d301bbf9c5dcfecbce7055a64402af2df43bdd5
6,998
package com.shopping.controller; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.shopping.entity.Pet; import com.shopping.entity.Product; import com.shopping.entity.ShoppingCar; import com.shopping.entity.ShoppingRecord; import com.sh...
35.165829
176
0.632895
82ddbfe411448339fcc62adedb52d399cbfec9ea
413
package com.jakeesveld.flashstudyguide.quiz; import com.jakeesveld.flashstudyguide.model.Quiz; public class QuizPresenter implements QuizContract.presenter { private QuizContract.view view; private Quiz quiz; public QuizPresenter(QuizContract.view view, Quiz quiz) { this.view = view; thi...
20.65
62
0.711864
af3929ac3a2a837a00eaa9908e6c77024bfce7a8
13,913
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.logic.implementation; import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure....
45.46732
120
0.685977
fea0187eed69a684484d76e8d3bb618290413c74
16,887
/* * Copyright (c) [2018]-present, Walmart 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 o...
30.703636
109
0.661811
d03e6a1606472072dd3fce0df643d8d535d17b05
591
package com.ruoyi.common.enums; /** * @Description $功能描述$ * @Author yufei * @Date 2019-04-22 14:20 **/ public class CacheConst { //token缓存key public static final String TOKEN_KEY= "accessTokenCache:%s"; //APP应用缓存key public static final String APP_KEY= "appCache:%s"; //Source应用缓存key public s...
26.863636
64
0.685279
3063068720767ee4aa41ee81c28ed789903a48fd
443
package com.sohu.tv.cachecloud.client.redis.crossroom.notify; import com.sohu.tv.cachecloud.client.redis.crossroom.entity.RedisCrossRoomTopology; /** * major和minor进行交换通知 * @author leifu * @Date 2016年9月19日 * @Time 下午2:39:25 */ public interface RedisCrossRoomAutoSwitchNotifier { /** * 通知...
23.315789
84
0.708804
7fb75f389ba536e5c334f32503af434687cc6b98
1,406
package de.hpi.companies.algo.features.specific; import org.apache.commons.lang3.StringUtils; import de.hpi.companies.algo.Token; import de.hpi.companies.algo.features.StringFeature; public class NameShape extends StringFeature { @Override public void calculateFeatures(Token[] tokens) { for(Token t:tokens) { ...
25.563636
55
0.654339
1eb83b23c1f59473048ab8ea96b46b05abb2ab26
6,308
package com.simonbaars.clonerefactor.scripts.intimals; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Document...
40.961039
315
0.736525
55e7c80841d79373b6ed9c57af43b5fe006b8a35
966
package org.xbib.content.rdf; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * */ public class RdfXContent implements RdfContent<RdfXContentParams> { private static final RdfXContent RDF_X_CONTENT = new RdfXContent(); private RdfXContent() { } public stat...
24.15
116
0.720497
87e7354ee407dd2968b3ce6e5485c15d52b868cc
283
package com.gb.lld.linkedin.member; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class Company { private String url; private String website; private Industry industry; private int size; private CompanyType companyType; }
18.866667
36
0.759717
036401883aae01905c70a2eeb975a46f68c6287e
1,509
/* * Copyright 2017 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 appli...
32.106383
92
0.772697
bca30dbefacab7b7d6bce4d0a8c9e20b00c6131e
312
package nxt.nav; /** * An enum for the four cardinal directions. * * @author Andrei Purcarus * */ public enum Direction { north(90), east(0), south(270), west(180); private final int _angle; private Direction(int angle) { this._angle = angle; } public int asAngle() { return this._angle; } }
14.181818
44
0.657051
0fe155a9b6c4af09cd9820bd771a433e9f72621c
845
package com.autosite.codegen.config.shiro; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; /** * 自定义auth过滤器,当“链接 = auth时执行此过滤器”,暂时没有用 */ @Deprecated public class FormAuthenticationFilter extends org.apache.shiro.web.filter.authc.FormAuthenticationFilter{ /** * 是否允许访问 * @pa...
28.166667
109
0.668639
4b6e54d76bdca2cccc0ebfc89a4a1e88e649f53e
130
package com.vozniuk.deanery.utils; import java.util.Map; public interface TimeTable { Map<String, Integer> getTimeMap(); }
16.25
39
0.738462
e019e7fffcf7f0d8d693c1072905100fb59efff9
4,123
package warhammermod.Items.melee; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Multimap; import net.minecraft.core.BlockPos; import net.minecraft.tags.BlockTags; import net.minecraft.world.entity.EquipmentSlot; import net.minecraft.world.entity.LivingEntity; import net.minecraft...
44.815217
172
0.753577
cab82d26c26e4d8148b384fa8d5cccc17d0077b9
338
package com.github.javahello.erm.generator.core.tbdiff; import com.github.javahello.erm.generator.core.model.db.Column; import com.github.javahello.erm.generator.core.model.diff.DiffColumn; import java.util.List; /** * @author kaiv2 */ public interface IColumnListDiff extends IDiff<List<Column>, List<Dif...
24.142857
81
0.751479
4601dfc3fa796ee9c6e1fcf509256ed56dadc882
845
package com.example.pedla; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; public class BookingSuccessfull extends AppCompatActivity { private Button btn6; @Override protected void onCreate(B...
29.137931
73
0.678107
c88d2d166037559002e6cdadec25c5cde2525619
432
package br.com.tiagosantos.multiplesum; public class MultipleSum { public int sum(int value) { int total = 0; for (int i = 1; i < value; i++) { total += returnIfDivideForThreeOrFive(i); } return total; } protected int returnIfDivideForThreeOrFive(int value) {...
19.636364
59
0.555556
ad97c262421baa045298f2b6c416e317630d73ab
164
package org.coursera.androidcapstone.symptom.domain; /** * */ public enum AlertType { EXTENDED_SEVERE_PAIN, EXTENDED_MODERATE_TO_SEVERE_PAIN, UNABLE_TO_EAT }
16.4
52
0.792683
e51034a3f97f6e25ebe9ab3c8c756bacda6ed805
394
package fi.iki.yak.ts.compression.gorilla; /** * Value is an extracted value from the stream * * @author Michael Burman */ public class Value { private long value; public Value(long value) { this.value = value; } public double getDoubleValue() { return Double.longBitsToDouble(valu...
17.130435
46
0.629442
dc6150ea09a68949a83676306c00ba89e57b804f
4,542
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Ve...
29.303226
100
0.675473
6a13e89366f1874767760dfdf61fe2422dd29727
307
package com.wxm.pt.dao; import com.wxm.pt.entity.Registrar; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; /** * @author Alex Wang * @date 2019/05/12 */ @Repository public interface RegistrarDao extends JpaRepository<Registrar,Long> { }
21.928571
69
0.785016
9e33169ffbfdf31b92ab1c9b676c975cbd52ed93
2,226
/* * 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 ...
32.735294
121
0.658131
74839e8d7c5684b439f8f6329531ecd3221c7744
1,194
package fr.uge.confroid.configuration; import java.util.Objects; public class IntegerValue implements Value { private Integer value; public IntegerValue(Integer value) { this.value = value; } @Override public ValueTypes valueType() { return ValueTypes.INTEGER; } @Overrid...
22.111111
97
0.610553
ca2463f0d9dae61f35b4d17c2a9aae5532d2d18b
450
package org.huawei.conga.tests.gambit; import org.junit.Test; public class GrabTheDollarTest extends AbstractValidityGambitTestClass { private static final String PREFIX = AbstractValidityGambitTestClass.PREFIX+ "GrabTheDollarGame/"; @Test public final void testGrabTheDollar_4() { this.testGame(PREFIX + "Gra...
22.5
100
0.777778
1aa1bcab56b19b090f9ebcc602a884ecd7f33308
1,790
package com.springframework.petclinictutorial.services.springdatajpa; import com.springframework.petclinictutorial.model.Pet; import com.springframework.petclinictutorial.model.repositories.PetRepository; import com.springframework.petclinictutorial.services.PetService; import lombok.RequiredArgsConstructor; import or...
28.870968
81
0.713966
541d28732bedba003c864f4ebb511adf1b658518
1,337
package com.test.reactor; import java.util.Arrays; import org.junit.jupiter.api.Test; import reactor.core.publisher.Flux; import reactor.core.publisher.Sinks; public class HotAndColdProcessorTest { /** * 冷序列 */ @Test public void testColdSequence() { Flux<String> source = Flux.fromIter...
29.065217
99
0.618549
5bbb0ca46420bb7f60b32dfe14ccf2cebd8fe0dd
19,081
/* * Copyright (C) 2014 Alfons Wirtz * website www.freerouting.net * * Copyright (C) 2017 Michael Hoffer <info@michaelhoffer.de> * Website www.freerouting.mihosoft.eu * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
32.45068
147
0.634401
7fddd82f5d4c2d047fc5fed2c1fca6ceac88ed0b
997
package cn.byhieg.threadtutorial.char02; import java.io.*; /** * Created by byhieg on 17/1/5. * Mail to byhieg@gmail.com */ public class ExceptionService { synchronized public void getFile(){ System.out.println("begin " + System.currentTimeMillis() + " " + Thread.currentThread().getName()); ...
32.16129
115
0.575727
37c678be85108c92ceb05b04aa8264399a775308
90
package com.seanshubin.learn.datomic.contract.test.javadoc; public class JavaDocStub { }
18
59
0.811111
3b69bf5c0091c8ec34620151cab125bbd80c1363
3,089
package edu.rpi.rocs.server.objectmodel; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.hibernate.Session; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import edu.rpi.rocs.client.objectmodel.Course; import edu.rp...
25.957983
83
0.686306
9e2bce4018785026fd2cae3a18ed8f1d22ff7b15
4,140
/* * 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 ...
32.598425
99
0.672222
043f87d61ae960d120d1a8fd1f2b759df14ee1c1
336
package it.learn.java.monitor; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class JavaMonitorApplication { public static void main(String[] args) { SpringApplication.run(JavaMonitorApplication.class,...
24
68
0.794643
76bbc322055cf45fb709d8c084f64df3347a44ef
3,483
/** * Copyright 2011 Zuse Institute Berlin * * 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...
30.025862
80
0.630204
6bbcc8b7720aba8072c5a87967ee0dc17fd15f41
418
package ifelsekontrol; /** * * @author akipc */ public class ifelsekontrol { public static void main(String[] args) { char karakter1 = '$'; char karakter2 = '&'; if (karakter1 == karakter2) { System.out.println("karakter1 karakter2 ye eşittir "); } else ...
22
73
0.54067
88192e7181f2bc9ac981f6963592a30a1a584c05
6,525
package mage.cards.c; import mage.Mana; import mage.abilities.Ability; import mage.abilities.costs.Cost; import mage.abilities.costs.common.MillCardsCost; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.*; import mage.abilities.effects.mana.ManaEffect; import mage.abilities.effects.m...
37.073864
215
0.554943
faa4894e29399227a29bdd119e4fbbffeee6afa4
156
package org.getaviz.generator.database; public enum Rels { CONTAINS, DECLARES, EXTENDS, INVOKES, WRITES, READS, HAS, USED, VISUALIZES, OF_TYPE, RETURNS }
26
93
0.769231
08a63710dcaab73ab0f7dcf2ba4f9bcd04b59030
2,730
package pl.zankowski.iextrading4j.api.refdata.v1; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.google.common.base.MoreObjects; import com.google.common.base.Objects; import pl.zankowski.i...
30.333333
86
0.638095
3080d37366f085ef3abb42c4290547b33bbf4845
2,409
/* * File: ProductKernel.java * Authors: Justin Basilico * Company: Sandia National Laboratories * Project: Cognitive Foundry * * Copyright September 18, 2007, Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000, there is a non-exclusive license...
26.766667
81
0.633043
c405fea005d6d284c663836149cbdd439cb6955f
1,921
/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - contact@h...
27.056338
123
0.721499
35508acf69992b59e9f51715eafcc7a005318082
4,790
package cn.duniqb.mobile.controller.generate; import cn.duniqb.mobile.dao.ImgUrlDao; import cn.duniqb.mobile.dto.seek.Seek; import cn.duniqb.mobile.entity.ImgUrlEntity; import cn.duniqb.mobile.entity.SeekEntity; import cn.duniqb.mobile.entity.WxUserEntity; import cn.duniqb.mobile.service.SeekService; import cn.duniqb....
28.511905
93
0.635908
9ed1afb4654ed7c8a6dbf43f3e202a8dbc83544d
1,762
/* * Copyright 2016 noti0na1 (i@notnl.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 by applicable law or...
34.54902
95
0.614642
e9bc71ce7ccb1097679b90b97009c6459a2839d1
4,420
package seedu.flashback.storage; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static seedu.flashback.testutil.Assert.assertThrows; import static seedu.flashback.testutil.TypicalFlashcards.DARWIN; import static seedu.flashback.testutil.T...
39.81982
115
0.736878
f2f8f4195567808f8b3e90bde82f09c37da8902d
2,601
package dk.in2isoft.onlineobjects.ui.jsf; import java.io.IOException; import javax.faces.component.FacesComponent; import javax.faces.context.FacesContext; import dk.in2isoft.commons.jsf.AbstractComponent; import dk.in2isoft.commons.jsf.Dependencies; import dk.in2isoft.commons.jsf.TagWriter; import dk.in2isoft.in2ig...
28.582418
232
0.753172
3bd75c2b1a2e2b4554925f0046328ab48e2068a4
1,777
package roulette.bet; import roulette.outcome.Outcome; import roulette.player.Player; /** * Representation of bets in a game of roulette * * @author hyperion * */ public class Bet { private int amountBet; private Outcome outcomeBetOn; private Player player; /** * Creates a new Bet * * @param player...
21.670732
76
0.643219
7c074ff847e8528235060131ea91b56ab67ef126
3,592
package com.openxu.hkchart.loading; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.drawable.Animatable...
27.212121
115
0.646437
6a2d11c18ea148f9730f2546e43c9e0ab32f03ba
657
package com.elseytd.theaurorian.Blocks; import com.elseytd.theaurorian.AurorianMod; import net.minecraft.block.BlockLadder; import net.minecraft.block.SoundType; import net.minecraft.util.EnumFacing; public class SilentwoodLadder extends BlockLadder { public static final String BLOCKNAME = "silentwoodladder"; pub...
29.863636
94
0.800609
37de347390bcb5bcbae42a931311e4d1fcd9022a
2,264
package com.auto.kafka; import com.alibaba.fastjson.JSONObject; import com.auto.entity.dto.OrderDTO; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; imp...
32.811594
104
0.635601
f3deefd0526ad6d363fd8221ae4eb60151acf72f
1,389
package seedu.address.logic.commands; import java.util.List; import seedu.address.commons.core.index.Index; import seedu.address.logic.commands.exceptions.CommandException; import seedu.address.model.Model; import seedu.address.model.person.Person; /** * command to switch between the users that is currently being re...
30.195652
77
0.656587
d84b45913559dcb225991e8fbab7b84d52cc19bd
1,106
package org.mtransit.android.provider.permission; import android.Manifest; import androidx.annotation.NonNull; import org.mtransit.android.commons.MTLog; import java.util.Arrays; import java.util.Collection; import javax.inject.Inject; public class LocationPermissionProvider extends PermissionProviderImpl impleme...
22.12
98
0.793852
0dcc3592c539c5f3497a32aeb5295ad66f839dc3
1,406
package org.leo.im.api.service; import java.util.List; import org.leo.im.api.annotation.Transactional; import org.leo.im.api.dto.FileDTO; import org.leo.im.api.dto.MessageDTO; /** * 消息服务接口 * * @author Leo * @date 2018/5/16 */ public interface MessageService { /** * 得到消息列表 * @param channelId ...
17.797468
90
0.567568