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
7384835f796ce8b185dde726879275849f34dd5d
370
package in.hocg.payment.core.data; import in.hocg.payment.PaymentResponse; import in.hocg.payment.sign.SignScheme; /** * Created by hocgin on 2019/12/1. * email: hocgin@gmail.com * * @author hocgin */ public class TestResponse extends PaymentResponse { @Override public boolean checkSign(SignScheme s...
19.473684
61
0.702703
bcee704000981776a6610695c2ddbddfa862728b
469
package net.rebworks.playlist.watcher.configuration; import java.time.DayOfWeek; import java.time.LocalDateTime; interface Rule { DayOfWeek getDay(); int getStart(); int getEnd(); int getInterval(); default boolean matches(final LocalDateTime localDateTime) { return localDateTime.getD...
20.391304
64
0.654584
8ceb200bad516eb11f4dc566a7500737e4c66c41
1,860
/** * netcell-gui - A Swing GUI for netcell ESB * Copyright (C) 2009 Adrian Cristian Ionescu - https://github.com/acionescu * * 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 * * ...
27.352941
77
0.697312
8eadd9ebfed0071b0c58b8660bbc5656882189e1
421
/** * */ package com.yourpackagename.yourwebproject.service; import java.util.List; import com.yourpackagename.framework.data.BaseService; import com.yourpackagename.yourwebproject.model.entity.GroupContent; /** * @author mevan.d.souza * */ public interface GroupContentService extends BaseService<GroupContent...
21.05
85
0.790974
6786c1938f04562716d2cd7f4559f2a4ebd737bf
977
package org.akazakov.common.web.security.impl; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.AuthenticationEntryPoint; import javax.servlet.ServletException; import javax.se...
32.566667
109
0.824974
765791c7cd35029ae5821498e2c6729abf567e1e
6,138
/* * Copyright 2020 Andrei Pangin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
31.15736
87
0.578364
6b4b86df9618571d1315fb60bd741de7d5c79ced
4,178
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
40.960784
140
0.582097
fcea456714a3523b37c3527ac87dc89197dbe0f1
11,264
/* * Copyright (c) 2003, 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...
44.521739
111
0.487837
cd0e88065ee97ea0c629f2f1f60d50f83285f4d9
1,531
package com.podio.notification; import java.util.Collection; import java.util.List; import javax.ws.rs.core.MediaType; import org.joda.time.DateTime; import com.podio.BaseAPI; import com.podio.ResourceFactory; import com.podio.common.CSVUtil; import com.podio.common.Empty; import com.podio.serialize.DateTimeUtil; i...
28.351852
77
0.751796
ff2c50247c4d901056d8e3213a61bd6f6f84d330
2,046
import java.util.*; /** * Created by IntelliJ IDEA. * User: LAPD * Date: 5.6.2018 г. * Time: 13:28 ч. */ public class _007MapDistricts { public static void main(String[] args) { Scanner console = new Scanner(System.in); String[] input = console.nextLine() .split("\\s+"); ...
33.540984
73
0.429619
8f2f6ff1a0f53ef812e6ac6a9705b8071d1c983e
2,384
package com.vladmihalcea.book.hpjp.hibernate.identifier; import com.vladmihalcea.book.hpjp.util.AbstractPostgreSQLIntegrationTest; import com.vladmihalcea.book.hpjp.util.transaction.*; import org.junit.Test; import javax.persistence.*; import java.util.Properties; import static org.junit.Assert.assertEquals; public...
24.57732
86
0.530621
0e747b51f4a2de4d683eefa96db7a97bb9ecf079
5,693
package inpro.synthesis; import inpro.incremental.unit.PhraseIU; import inpro.incremental.unit.WordIU; import inpro.incremental.util.TTSUtil; import inpro.synthesis.hts.InteractiveHTSEngine; import inpro.synthesis.hts.PHTSParameterGeneration; import java.io.ByteArrayOutputStream; import java.io.IOException; import ja...
36.967532
159
0.753206
f9ee4c3a165de092fb9cfdff7288501623d3763e
3,120
package net.castlecraftmc.playervaults; import java.io.File; import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.configuration.Configuration; import or...
36.27907
129
0.675
55c62ddc59fdc5b49d4e410395cd0b73bd5b5281
1,899
/* * Copyright 2015 Artem Mironov * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
28.772727
82
0.692996
c8e0f2442d79766166cd6cd62bf58236b393e916
2,629
package cn.iocoder.yudao.module.system.dal.mysql.logger; import cn.iocoder.yudao.framework.common.exception.enums.GlobalErrorCodeConstants; import cn.iocoder.yudao.framework.common.pojo.PageResult; import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX; import cn.iocoder.yudao.framework.mybatis.core.query.L...
53.653061
104
0.729935
b3b53965410cad8f6d4b56e3914c0d9735ecc0d7
2,677
package org.innovateuk.ifs.file.resource; import com.google.common.collect.Sets; import java.util.Set; import static com.google.common.collect.Sets.union; import static java.util.Collections.emptySet; import static java.util.Collections.singleton; import static java.util.stream.Collectors.joining; public enum FileT...
33.049383
129
0.684722
d1997a5c83190b914a9eea93b2d9322c4a97039e
2,489
package ru.r2cloud.jradio.siriussat; import static com.google.code.beanmatchers.BeanMatchers.hasValidBeanConstructor; import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters; import static org.hamcrest.CoreMatchers.allOf; import static org.hamcrest.MatcherAssert.assertThat; import org.junit....
52.957447
532
0.868622
16c4cc76034c2436ae4b3a6beec666a882b963d3
60,325
// File: Assembler.java // Author: Julie Lobur // SDK Version: 1.4.1 // Date: November 9, 2002 // Notice: Copyright 2003 // This code may be freely used for noncommercial purposes. package MarieSimulator; import java.io.*; import java.util.*; public class Assembler implem...
51.427962
102
0.468214
3c7a178755f871676711f897980141831d79ea62
3,024
package pl.egalit.vocab.server.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.annotation.Secured; import org.springframework.stereotype.Service; import pl.egalit.vocab.server.controller.TaskWorker; import pl.egalit.vocab....
32.869565
77
0.794974
d48e4dc671327558217bc4f1d768065a5ad20373
1,752
package com.btk5h.skriptmirror.skript.custom.expression; import ch.njol.skript.ScriptLoader; import ch.njol.skript.Skript; import ch.njol.skript.lang.Effect; import ch.njol.skript.lang.Expression; import ch.njol.skript.lang.SkriptParser; import ch.njol.skript.lang.TriggerItem; import ch.njol.skript.log.ErrorQuality; i...
28.721311
117
0.710616
5d8065b2c50cde874eae273c7c9345a39fcfb396
1,521
package dagger.internal.codegen.collect; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.SortedSet; import java.util.TreeSet; public class ImmutableSortedSet<T> extends ImmutableSet<T> { private static final ImmutableSortedSet<?> EMPTY = new ImmutableSortedS...
26.224138
108
0.694938
a3a70e4e7885d40bdef57ee45b48f120797cba13
260
package io.basc.framework.factory; /** * 对一个创建者的定义 * * @author shuchaowen * * @param <T> 返回结果类型 * @param <E> 异常类型 */ @FunctionalInterface public interface Creator<T, E extends Throwable> { /** * 创建一个对象 * * @return */ T create() throws E; }
13
50
0.619231
d0ba198496ae0d90602edb2cb4b06fca77b74619
491
package com.snowball.location.transport_api.response; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; @JsonIgnoreProperties({"opening_hours", "photos", "rating"}) public class GooglePlace { @JsonProper...
28.882353
61
0.792261
eac01e08e133f2df92bf6062afd61500e2d41741
7,558
package com.svcg.StockCustom.service.impl; import com.svcg.StockCustom.component.Messages; import com.svcg.StockCustom.enums.RolName; import com.svcg.StockCustom.repository.RolRepository; import com.svcg.StockCustom.repository.UserRepository; import com.svcg.StockCustom.service.UserService; import org.apache.tomcat.ut...
39.160622
139
0.689336
29dcf104927a3b04644c792f618b695feff75f8d
6,628
package uw.task.conf; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import uw.task.TaskCroner; import uw.task.TaskData; import uw.task.TaskRunner; import uw.task.entity.TaskCronerConfig; import uw.task.entity.TaskCronerLog; import uw....
26.512
118
0.587508
beba4209591822b6901698bbb12dcbeab420bf2c
58,435
/* * 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 ...
37.267219
120
0.657448
ffda27d00d3706cb265d6a178c96cd49362e36cd
1,992
package net.TheElm.project.mixins.Server; import com.google.gson.JsonObject; import com.mojang.authlib.GameProfile; import net.TheElm.project.interfaces.WhitelistedPlayer; import net.TheElm.project.mixins.Interfaces.WhitelistAccessor; import net.minecraft.server.ServerConfigEntry; import net.minecraft.server.Whitelist...
32.129032
133
0.695281
dbe3994bb61b27734564bdbb5c0e1d140a84f22d
776
package be.distrinet.spite.iotsear.systemProviders.pbms; import be.distrinet.spite.iotsear.pbms.ContextStorage; import be.distrinet.spite.iotsear.pbms.PDP; import be.distrinet.spite.iotsear.policy.AuthorizationPolicy; import be.distrinet.spite.iotsear.policy.PolicyConditionEvaluationResult; import org.json.simple.JSON...
27.714286
117
0.777062
80b796c7f2dcba8c5665449a2537d45eef7ab5e1
13,593
/******************************************************************************* * Copyright 2015-2018 Capgemini SE. * * 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://...
50.910112
245
0.68984
7e138f2203b9c2f3ac587eb8296110a8c6f84c30
3,558
package uk.gov.ons.ssdc.jobprocessor.schedule; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.List; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.ext...
34.543689
99
0.760259
7d17862e61c9382a21f42741b32e08c8ba61f79b
1,558
package com.company; import java.util.*; public class BFS { public static void main(String[] args) { //Creating the Graph int noOfVertices = 6; Graph graph = new Graph(noOfVertices); graph.addEdge(0,1); graph.addEdge(0,2); graph.addEdge(1,0); graph.addEdg...
25.129032
71
0.533376
c7a4225944f7bc51199c43475a8e0d6ed34a62ac
1,820
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) import java.util.*; /** * Important World methods: * addObject * getObjects * setPaintOrder * showText * * Important Greenfoot methods: * stop */ public class TheBeach extends World { public static final int W = 1000; publ...
31.37931
90
0.521978
e246777001add0f6d7a13dea8b6d4937ff0bd002
259
package id.bizdir.list; import java.util.ArrayList; import id.bizdir.model.Event; /** * Created by Hendry on 29/07/2015. */ public class EventList { public ArrayList<Event> event; public EventList() { event = new ArrayList<>(); } }
14.388889
35
0.648649
9b19564cb2f2bd9a4447ce06c6c88a16489a30a9
3,176
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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...
36.505747
159
0.642317
22317b325bb6cae342f58225c7c25e222f8fec7b
8,397
/* * Copyright (c) 2014, 2016, 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 ...
39.608491
153
0.643801
ee07790a95a2f47e19986d470e05ec967eb2dd08
1,454
package com.github.hailouwang.demosforapi; import com.android.build.gradle.AppExtension; import org.gradle.api.Action; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.artifacts.dsl.RepositoryHandler; import org.gradle.api.artifacts.repositories.MavenArtifactRepository; /** * Andro...
38.263158
127
0.676066
d5c38bdf596832ae8d2b6bbdd94e7b3dcfb6ab08
1,186
package io.quarkus.hibernate.validator.test.config; import static org.junit.jupiter.api.Assertions.assertEquals; import javax.inject.Inject; import javax.validation.Valid; import javax.validation.constraints.Size; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.StringAsset; import o...
28.926829
116
0.732715
9d4d5a6bdfde0e0766bf5a127f79b6494d8101f6
458
package com.liveramp.captain.example.internals; /* * code so that the ExampleCaptainWorkflow can run, but not actually useful in learning about captain. */ public class MockDataScience { public static class Service1 extends DataScienceService { } public static class Service2 extends DataScienceService { }...
21.809524
102
0.751092
6791f91ac7096acda65212cfc347c5f0f8ab309b
5,631
/* * Copyright (c) 2021-present, Kiwis2-mockserver Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
32.929825
112
0.772865
9ef5de2869479c4f95d2cb244298c1447618b8e1
453
/** * */ package com.kancolle.server.model.po.common.handler.immutableList; import com.google.common.collect.ImmutableList; import java.util.function.Function; /** * @author J.K.SAGE * @Date 2015年5月30日 */ public class IntegerImmutableListHandler extends ImmutableListHandler<Integer> { @Override protect...
21.571429
80
0.746137
0d82590ef16466de30e7cb1e5f055a945acc22ee
2,804
/* +-------------------------------------------------------------------------- | Mblog [#RELEASE_VERSION#] | ======================================== | Copyright (c) 2014, 2015 mtons. All Rights Reserved | http://www.mtons.com | +--------------------------------------------------------------------------- */ pac...
28.907216
79
0.700428
a0698d2dcf6e7dda54dc86a6c5abe3f1d4c209a8
21,712
package org.apache.jsp.WEB_002dINF.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class register_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFact...
59.484932
279
0.693626
3d4610013920beaf08d65a38bc4589d2a25df604
643
package com.example.bottomnav; import org.eclipse.cdt.core.parser.IToken; import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTLiteralExpression; import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTName; import java.util.HashMap; public class ConstContents { String value; String name; String ty...
30.619048
123
0.735614
36100f61cbf1fbed2e265b86e11bcc5feba944a5
1,606
/* * Copyright (c) 2017. Phasmid Software */ package edu.neu.coe.info6205.randomwalk; import org.junit.Test; import static org.junit.Assert.*; public class RandomWalkTest { /** */ @Test public void testMove1() { RandomWalk rw = new RandomWalk(); rw.move(1, 0); assertEqual...
23.617647
55
0.513076
936a110990c7b1ffce47e66b4bb3b549f19c4555
10,452
/* * The MIT License * * Copyright 2018 Luis Pichio. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
45.443478
121
0.596824
4cce50f371a5c0bf22c89243e43f25a537bdb1a2
1,049
package com.h5190066.sumeyye_cakir_final.adaptor; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview.widget.RecyclerView; import com.h5190066.sumeyye_cakir_final.R; public class MakyajViewHolder extends Recycle...
36.172414
97
0.741659
56bd4701c74a4c231760efa29fb8820fd8951319
2,706
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * 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...
28.1875
79
0.675166
3521ce9e5132266755ee4013c889c640d7d5cede
3,698
package com.signalDoc_patient.model; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class QuestionListData implements Parcelable { @SerializedName("id") ...
26.042254
105
0.613575
759d63de76de5d1741db5262be2b7240bb025531
3,122
/* * 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 ...
35.078652
86
0.695708
c8541212c577e69f16ed8e8747b019b4f26a6e8b
2,966
/* * Copyright (c) 2014. * Apex Expert Solutions * http://www.apexxs.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...
34.894118
99
0.635199
c285c7cfe76153c6c9b1bad3bac21aac562cad8e
2,959
/******************************************************************************* * Copyright (c) 2015, 2016 Ecliptical Software Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
43.514706
133
0.720852
0d128bc7d2ab2a170416e8250536fcdfc087b794
2,845
package seedu.address.logic.commands.cookbook; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address...
45.887097
103
0.778207
77651912d81676795d37230ab1e23b6b2e8017d1
1,034
package com.didichuxing.doraemonkit.aop.bigimg.glide; import android.support.annotation.Nullable; import com.bumptech.glide.request.RequestListener; import java.util.ArrayList; import java.util.List; /** * ================================================ * 作 者:jint(金台) * 版 本:1.0 * 创建日期:2020/3/20-18:19 * ...
27.945946
97
0.560928
0888b9431a239906b263dced94aa16e145e12fca
2,072
package bio.knowledge.server.controller; import bio.knowledge.aggregator.KnowledgeBeacon; import bio.knowledge.database.repository.aggregator.QueryTrackerRepository; import bio.knowledge.model.aggregator.neo4j.Neo4jQuery; import bio.knowledge.model.aggregator.neo4j.Neo4jQueryTracker; import java.util.ArrayList; impor...
30.925373
112
0.651062
9dbfbf2fabba3513e5c9bf02f7a26e6e57b48787
626
package guru.learningjournal.examples.kafka.kafkaproducer.services; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.core.KafkaTemplate; import org.springframework.stereotype.Service; @Service @Log4j2 public class KafkaProducerService {...
31.3
105
0.761981
7225725a0637d1fab8c9e29d1b7987264ca317a1
1,088
package org.nypl.simplified.app; import com.io7m.jfunctional.OptionType; import org.nypl.drm.core.AdobeAdeptExecutorType; import org.nypl.simplified.books.core.BooksType; import org.nypl.simplified.books.core.DocumentStoreType; import org.nypl.simplified.books.core.FeedLoaderType; /** * Services provided to the main...
19.781818
59
0.734375
abdcb2bead2580ce2f243e9f3df2150b15f0a2ca
4,826
package Swift; // // SwiftRange.java // Swift for Java // // // Last modified on 28/11/18 10:01 AM. // // Copyright © 2018 Noah Wilder. All rights reserved. // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. // import java.util.ArrayList; imp...
28.05814
120
0.59656
4e14bd222bb70b5f5ce7dbd85fdfc89e9a9c35bf
3,937
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen; import com.google.common.base.Converter; import com.google.common.base.Preconditions; import com.google.common.reflect.TypeParameter; import com.google.common.reflect.TypeToken; import io.permazen.change.ListFieldAdd; import io....
33.364407
115
0.687325
60cb8bd41207e0f2efdfd21193826785ecc9c5be
2,151
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Collections; import java.util.StringTokenizer; /** * * 플로이드 알고리즘으로는 어떻게 풀 수 있을까? * 플로이드를 돌리고 간선 간의 최댓값이 정답이 된다. * * 이분탐색과 BFS를 활용할 수 있을 ...
23.9
96
0.585309
163bdbe8c3197ef7180812c0bfb585dafcef4017
4,536
package uk.co.hillion.jake.proxmox; import com.fasterxml.jackson.annotation.*; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; im...
31.068493
92
0.628527
f238483ecd058ea810470d031aa46d64c92a27b7
191
public class TestSwingLibrary extends org.robotframework.swing.SwingLibrary { public TestSwingLibrary() { super("org/robotframework/swing/testkeyword/**/*.class"); } }
21.222222
77
0.696335
61433648a5bfec904bb2d3ed7ffc35afed9cca4d
844
package com.github.sarxos.abberwoult.deployment.item; import java.util.Map; import com.github.sarxos.abberwoult.deployment.util.ReceiveInvokerGenerator; import com.github.sarxos.abberwoult.jandex.Reflector.ClassRef; import io.quarkus.builder.item.MultiBuildItem; /** * @author Bartosz Firyn (sarxos) */ public fin...
24.823529
88
0.791469
fe1194482623cfb232756f04dd6c8e97e6fabccb
775
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. */ package com.microsoft.embeddedsocial.server.model.discover; import com.microsoft.embeddedsocial.autorest.models.IdentityProvider; import com.microsoft.embedde...
33.695652
115
0.80129
de7fcd46a5b1d5c9f786008dfc7bd8c0b1322f74
128
/** * Max * @author Vladimir Yamnikov (Androedge@gmail.com). * @version $2$. * @since 13.03.2018. */ package ru.job4j.max;
16
51
0.625
27ba3c5125dfec07b7c30240e50ee0dec4b1ac0e
10,019
/* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
34.548276
100
0.692484
25a9ecf368d5aa7af3438b644c58f04cfec033e4
5,480
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.formatter; import com.intellij.lang.ASTNode; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.PsiElement; import com.intelli...
42.8125
140
0.645803
047fe1d45fd621f05eee4784eb971ebbd9613822
3,614
package com.example.mapsapp.activities; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recycl...
34.09434
93
0.625346
f232bcd066526e6b5f80df61a7dc1cbed4c1ebd0
325
package com.sxquan.manage.generator.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.sxquan.core.pojo.generator.GeneratorConfig; /** * <p> * 代码生成配置表 Mapper 接口 * </p> * * @author sxquan * @since 2020-05-21 */ public interface GeneratorConfigMapper extends BaseMapper<GeneratorConfig> ...
17.105263
76
0.744615
195e7af98bd21b1ff9fdfa4af2f029de1c8c3c39
2,839
package com.example.ftclibexamples; import com.arcrobotics.ftclib.command.CommandOpMode; import com.arcrobotics.ftclib.command.OdometrySubsystem; import com.arcrobotics.ftclib.command.PurePursuitCommand; import com.arcrobotics.ftclib.drivebase.MecanumDrive; import com.arcrobotics.ftclib.hardware.motors.Motor; import c...
37.853333
75
0.686509
2d970050f1ce01ead853e48c47585bb3860613d9
927
package top.xiaohuashifu.share.manager; import com.github.pagehelper.PageInfo; import top.xiaohuashifu.share.constant.Operator; import top.xiaohuashifu.share.pojo.do0.ShareCommentCommentDO; import top.xiaohuashifu.share.pojo.query.ShareCommentCommentQuery; import top.xiaohuashifu.share.pojo.vo.ShareCommentCommen...
34.333333
118
0.803668
7c91380216efa75658e339cd2cad3a836c1038ca
1,778
/* * Copyright (c) 2002 and later by MH Software-Entwicklung. All Rights Reserved. * * JTattoo is multiple licensed. If your are an open source developer you can use * it under the terms and conditions of the GNU General Public License version 2.0 * or later as published by the Free Software Foundation. * * see: gp...
32.925926
98
0.707537
26fcf11465444558d4c81a0e71c5516854ef0c03
11,065
package com.cango.palmcartreasure.baseAdapter; import android.content.Context; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayoutManager; import android.view.Layout...
31.257062
136
0.617623
9759a2447979f519fa630cff77e1231d030b7ec9
737
package org.narrative.network.core.search; import org.narrative.common.persistence.OID; import org.narrative.network.core.composition.base.CompositionConsumer; import org.narrative.network.core.composition.base.CompositionType; import org.narrative.network.core.user.User; import java.sql.Timestamp; /** * Date: Nov ...
25.413793
71
0.784261
9c3521f3951719c430fd2aa9a88f5b7443ff4e5f
1,451
package io.github.nandandesai.tests; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import io.github.nandandesai.twitterscraper4j.TwitterScraper; import io.github.nandandesai.twitterscraper4j.exceptions.TwitterException; import io.github.nandandesai.twitterscraper4j.models.Profile; import java.io.IO...
35.390244
75
0.689869
86a390f93349825a891a609ad3586705695f0db9
1,107
package io.toolisticon.cute; import javax.annotation.processing.ProcessingEnvironment; import javax.annotation.processing.Processor; import javax.lang.model.element.Element; /** * Interface that is used during unit test creation. It allows setting up a unit test without the need to create a valid annotation processo...
44.28
142
0.756098
78c19d5720ae8fb9fb98241a03fcb6538c2a1054
6,772
package com.template.apiservice.util; import java.util.Collections; import java.util.Map; import com.template.apiservice.exception.CallServiceException; import com.template.apiservice.exception.NoDataFoundException; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.HttpEntit...
34.20202
100
0.700236
2e435eaff0d5037a07a6fb05215d3d108b416d0d
10,169
package pro.taskana.monitor.internal; import static org.assertj.core.api.Assertions.assertThat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test...
32.909385
99
0.706756
4d53be283ba1d223e06ca58bfaa85060493f513c
7,386
/* * 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 ...
34.514019
139
0.752234
32b8a226c7f7a9f6d0f8ae488851a47032776b7e
9,632
package com.tencent.cos.xml; import android.net.Uri; import android.support.test.runner.AndroidJUnit4; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; /** * <p> * </p> * Created by wjielai on 2018/11/21. * Copyright 2010-2017 Tencent Cloud. All Rights Reserved. */ @RunWith(Andro...
42.245614
85
0.59728
9df77f4f886a41fdf096e9a218efff8d86f92e78
479
package com.appleframework.data.hbase.hql.node.unary; import org.w3c.dom.Node; import com.appleframework.data.hbase.hql.node.PrependNodeHandler; import com.appleframework.data.hbase.util.XmlUtil; /** * @author xinzhi */ abstract public class UnaryNodeHandler extends PrependNodeHandler { public void ...
28.176471
68
0.726514
6d7ae74297e60c07ceaf32e8419c87db593310ab
3,077
public class ExecuteVM { public static final int CODESIZE = 10000; public static final int MEMSIZE = 10000; private int[] code; private int[] memory = new int[MEMSIZE]; private int ip = 0; private int sp = MEMSIZE; private int hp = 0; private int fp = MEMSIZE; ...
24.616
71
0.408515
e4570b7810583bc2ce9142be1031d081b68293d9
1,060
package com.lesserhydra.secondchance; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.entity.Entity; import org.jetbrains.annotations.Nullable; public class Util { @Nullable public static Location entityLocationIsSafe(Entity entity) { //Use vehicl...
30.285714
77
0.74717
45d26ced06cd915eb6659a25650f9227634d560b
3,642
package org.smslib.camel; import org.apache.camel.Consumer; import org.apache.camel.Processor; import org.apache.camel.Producer; import org.apache.camel.api.management.ManagedResource; import org.apache.camel.impl.DefaultEndpoint; import org.apache.camel.spi.UriEndpoint; import org.smslib.Service; import org.smslib.ga...
35.705882
89
0.733114
4467a33f763eb3d4a5614731b97e88a9dde21252
4,831
/* * 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 use, copy...
43.918182
156
0.753674
bfe0abb95b3a013ccf495ee5944d5e6e26a60ad3
963
package com.example.catalogservice.entity; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; import org.hibernate.annotations.ColumnDefault; import javax.persistence.*; import java.io.Serializable; import java.time.LocalDateTime; @Entity @NoArgsConstructor(access = AccessLevel.PROTECT...
26.75
68
0.740395
bd036d9f1c304ed2df90502ed916c970d0c0a873
4,035
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
31.038462
98
0.723668
801e0e99a80636562e910f99780aec3f055ff209
2,008
/* Copyright Airship and Contributors */ package com.urbanairship.iam.custom; import com.urbanairship.iam.DisplayContent; import com.urbanairship.json.JsonException; import com.urbanairship.json.JsonMap; import com.urbanairship.json.JsonValue; import androidx.annotation.NonNull; import androidx.annotation.Nullable; ...
23.904762
96
0.614542
62122afc665803a1812ceedaa2b5bac49fa3ac13
4,270
package org.elasticsearch.hadoop.serialization.dto.mapping; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import org.elasticsearch.hadoop.EsHadoopIllegalArgumentException; import org.elasticsearch.hadoop.serialization.FieldType; /** * All logic pertaining to par...
38.818182
145
0.579859
56192894d56eb8baa7e4cae2bb0146dd2ae140e5
439
package com.wixsite.vilsurmurtazin.cfg.repository; import com.wixsite.vilsurmurtazin.cfg.repository.entity.Post; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.Optional; /** * {@link Repository} for {@link Post} entity. */ @Repositor...
27.4375
70
0.797267
cc18499af18f22576b5a7c419c8fde65bfd899a1
3,921
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
36.305556
121
0.76154
c64cfad8af340f7e735784a707bf4ecdf3cb10ad
2,577
/* * Copyright 2018 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
41.564516
92
0.659294
6c56a97e00524ed74118d12be316dc81376e2f6b
6,975
/** * APDPlat - Application Product Development Platform * Copyright (c) 2013, 杨尚川, yang-shangchuan@qq.com * <p> * 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 Lic...
34.191176
113
0.60129
baad9961bbffbbef3c8792313898c05f15e6d34a
1,147
package com.ruoyi.project.school.mapper; import java.util.List; import com.ruoyi.project.school.domain.SysProduct; /** * 产品Mapper接口 * * @author ruoyi * @date 2020-07-17 */ public interface SysProductMapper { /** * 查询产品 * * @param productId 产品ID * @return 产品 */ ...
18.5
73
0.551874
435428917fd3bebccb00de0070d7ee53a5a60de3
1,530
package com.nero.geektime.week11.controller; import com.alibaba.druid.support.json.JSONUtils; import com.nero.geektime.week11.config.RedisPool; import com.nero.geektime.week11.entity.Response; import com.nero.geektime.week11.model.Publisher; import com.nero.geektime.week11.utils.SubThread; import com.nero.geektime.wee...
31.875
86
0.759477
8816e7d46bcb93e5a1a4e8452a4728dfa321877f
3,598
/* * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
26.651852
90
0.716231
f80e9cf0dacb3aeefa5822e0986691eb0f0fa2b8
3,685
/* * 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 ...
35.432692
145
0.661872
324720f39006bfae917277bb2b5bb0a9daf5d5d0
5,824
/** * 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...
35.084337
97
0.628606
b3acd94ce66d899eb8a7b4a8c38f3761e29dd0a0
1,593
package net.wisedragoon.bonk.procedures; import net.wisedragoon.bonk.init.BonkModGameRules; import net.minecraftforge.fmllegacy.server.ServerLifecycleHooks; import net.minecraft.world.level.LevelAccessor; import net.minecraft.world.level.Level; import net.minecraft.world.level.Explosion; import net.minecraf...
40.846154
131
0.741368
269f18edbee1165eec7a345f49f5c3baf1af49d8
4,578
/* * * 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"...
40.157895
131
0.717562
744ae28816357f03ad774a5f88f71b3f315eb1db
6,228
package com.digirati.elucidate.test.schema.w3c; import org.junit.Test; import com.digirati.elucidate.test.schema.AbstractSchemaValidatorTest; public class W3CAnnotationValidatorTest extends AbstractSchemaValidatorTest { @Override protected String getSchemaFileName() { return "/schema/w3c-annotation-...
28.438356
77
0.691554