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
184bf1678b5ea5cf1647459e7ae83f34a8351426
304
package hbvi.module.rptthree.service; import hbvi.module.rptthree.entity.RptThree; import com.baomidou.mybatisplus.extension.service.IService; /** * @Description: 报表三 * @Author: jeecg-boot * @Date: 2021-12-26 * @Version: V1.0 */ public interface IRptThreeService extends IService<RptThree> { }
20.266667
62
0.746711
a2d1981a1463f303580c3c5a9f640e930028e278
11,596
package org.ofbiz.webtools; import javolution.util.FastList; import javolution.util.FastMap; import org.ofbiz.base.util.UtilMisc; import org.ofbiz.base.util.UtilValidate; import org.ofbiz.entity.Delegator; import org.ofbiz.entity.GenericEntityException; import org.ofbiz.entity.GenericPK; import org.ofbiz.entity.Generi...
51.0837
200
0.638151
f150baaa5590800014cc92335debfc018b8f5966
2,696
/* * Copyright 2019-2021 Daniel Ochieng' Olanga. * * 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 ...
39.647059
99
0.775964
084ae4e1f0e984cdc6b499c507d1a74d69d469c1
426
package xworker.app.orgweb; import org.xmeta.World; public class TestGenerateHtmls{ public static void main(String args[]){ try{ //初始化引擎 World world = World.getInstance(); world.init("./xworker/"); StaticHtmlGenerator g = new StaticHtmlGenerator("http://www.xworker.org", "f:/temp/orgw...
23.666667
113
0.64554
11bd12f6ad98e3654b164fcae21a07885bdb5c3b
2,861
package models; import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonManagedReference; import io.ebean.Finder; import play.data.validation.Constraints.Email; import play.data.validation.Constraints.Required; import j...
23.260163
90
0.676337
a06c137de34ac3398d0a166e3c96c3ff739d5242
3,716
package za.ac.tut.travel_guide.Customer; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import andro...
29.259843
88
0.732508
98b9b577ae8817c1a55bca3e3171118e2137383c
2,067
package com.alibaba.otter.node.etl.load.loader.mq.model; import com.alibaba.otter.shared.etl.model.EventColumn; import com.alibaba.otter.shared.etl.model.EventType; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * Created by yanghuanqing@wdai.com on 2018/4/26. */ public class M...
20.878788
73
0.619255
3cb15ce250c4072f5369ad7159481ff3c1d049f0
3,457
package io.ketill.glfw.psx; import io.ketill.MappedFeatureRegistry; import io.ketill.controller.StickPosZ; import io.ketill.glfw.GlfwJoystickAdapter; import io.ketill.glfw.GlfwStickMapping; import io.ketill.psx.PsxController; import org.jetbrains.annotations.MustBeInvokedByOverriders; import org.jetbrains.annotations....
37.172043
75
0.630315
acb419b6327c0d9f88aa3787912b5a91cce52d9e
7,930
package org.gluu.oxtrust.api.server.api.impl; import com.google.common.collect.FluentIterable; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.Content; import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swa...
44.301676
173
0.789281
640eddfc4c367ca215f781d9a6a53552ea5c799c
299
package org.charts.dataviewer.javafx.example.factory; import java.util.Random; public class DataFactory { public static Double generateRandomDoubleData() { return 5.0 * new Random().nextDouble(); } public static Integer generateRandomIntegerData() { return new Random().nextInt(10); } }
19.933333
53
0.752508
765fefd3ea43f0993559d37196e2620857031071
2,156
package com.github.mictaege.lenientfun; import org.junit.Test; import java.util.function.DoubleToLongFunction; import static com.github.mictaege.lenientfun.LenientAdapter.doubleToLongFunc; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class LenientDoubleToLongFunction...
30.8
114
0.685529
bd0e958f4065007654038b2d288bca31dbb9b896
16,902
/* Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl. */ package com.oracle.oci.intellij.ui.database.actions; import com.intellij.notification.NotificationType; import com.intellij.openapi.ui.DialogWrapper; import...
46.95
130
0.767306
8db6992e12858bbc465a5360f692263e7a7f7f8f
2,181
/** * Hydrogenium * * Copyright (c) 2013 Ean Jee * * @author Ean Jee (yanjieanjee@gmail.com) */ package hydrogenium.util; import java.io.IOException; import java.io.PrintWriter; import java.net.Socket; import java.util.ArrayList; public class MessageSender implements Runnable { private Socket socket; p...
20.194444
70
0.57359
d4a840a914804c178862efb21b922cc7f616d0ff
13,872
/* * Copyright (C) 2014 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 app...
48.673684
124
0.559905
55fb352b87c516901fd30475422e18bb814b403d
6,615
package seedu.address.logic.parser; import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.address.logic.parser.CliSyntax.PREFIX_ORDERING; import static seedu.address.logic.parser.CliSyntax.PREFIX_SEARCH_TYPE; import static seedu.address.logic.parser.CommandParserTestUtil...
50.884615
103
0.756765
fa9b5939542b1bd1b2e298b63a0d864222d667db
535
package Game; /** * Палуба корабля. наследует интерфейс "Клетка игровой доски" * * Created by TDzhahangirov on 18.03.2017. */ public interface Deck extends Cell { /** * устанавливает id корабля, палубой которого является данная клетка * @param shipId */ void setShipId(String shipId); /...
18.448276
72
0.62243
a782d9f52eb39b3ccfe0e9ef766e28fe3dc24ecf
1,450
/* * Copyright (C) 2018-2021 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
33.72093
131
0.74
72daa728c37850e5ef7b240fc5ac8be3cac112c5
568
package cn.edu.ruc.adcourse; import static cn.edu.ruc.adcourse.utils.CheckSumUtil.getCRC32Value; import static org.junit.Assert.assertTrue; import cn.edu.ruc.adcourse.utils.CheckSumUtil; import org.junit.Test; /** * Unit test for simple App. */ public class AppTest { /** * Rigorous Test :-) */ @...
18.322581
67
0.644366
96cf7e7bc31177db96fbd4bd57451caf42de7d35
2,017
package io.jenkins.plugins.appcenter; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.model.Result; import io.jenkins.plugins.appcenter.util.MockWebServerUtil; import io.jenkins.plugins.appcenter.util.TestUtil; import okhttp3.mockwebserver.MockWebServer; import org.junit.Before;...
33.616667
200
0.742191
b6e183c3234c0fe4307db30b1a4385c20bd25b34
4,956
package rocks.inspectit.ocelot.config; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.springframework.http.*; import org.springframework.test.context.TestPropertySource; import rocks.inspectit.ocelot.IntegrationTestBase; import static org.assertj.core.api.Assertions.assertThat; @...
33.486486
136
0.613398
a96d8129ed10c2f33b2e3364618a8fe3dea5448c
2,226
/* * AsmFormatter.java * * Copyright (C) 2003 Peter Graves * $Id: AsmFormatter.java,v 1.3 2003/12/31 19:41:06 piso Exp $ * * 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 ...
34.246154
92
0.656783
68afc31ea5f607beb4b195d88dd27256ea3f4ce9
3,647
/** * 版权声明:Sample有限公司 版权所有 违者必究 2010 * 日 期:2010-6-27 */ package com.baobaotao.programtx; import org.apache.commons.dbcp.BasicDataSource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.context.support.Class...
41.91954
129
0.672882
b6427825c613aef07a061cae844bc2f86bc4a47a
798
package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.Constants; import frc.robot.RobotContainer; public class MoveShooterTeleop extends CommandBase { private double speed; public MoveShooterTeleop(double speed) { addRequirements(RobotContainer.getSho...
22.166667
73
0.676692
5c9460bcab712c350a5d7bb412ff69963389eb2d
1,736
package com.loovjo.spg.chem.atom; import java.util.ArrayList; import java.util.Scanner; import com.loovjo.loo2D.utils.FileLoader; public class Atoms { private static ArrayList<Atom> ATOMS = new ArrayList<Atom>(); public static void LOAD_ATOMS() { ATOMS.clear(); Scanner s = new Scanner(FileLoader.getInputStr...
32.754717
108
0.674539
24a080d5824f65a8641328738381f2803ad8de2b
2,954
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.config.subscription.impl; import com.yahoo.jrt.Request; import com.yahoo.jrt.RequestWaiter; import com.yahoo.vespa.config.ConfigPayload; import com.yahoo.vespa.config.Connection; import com.yahoo....
26.141593
104
0.695328
a29c348a502bac9774c2a769cab613147befdf4d
960
package xworker.libdgx.scenes.scene2d.actions; import org.xmeta.ActionContext; import org.xmeta.Thing; import com.badlogic.gdx.math.Interpolation; import com.badlogic.gdx.scenes.scene2d.actions.TemporalAction; import xworker.libdgx.ConstantsUtils; public class TemporalActionActions { public static void ...
28.235294
90
0.719792
5817a68762760184dbebd91254e4153b72d03895
1,795
package com.botanical_garden_iasi.botanical_garden_app.network.apis; import android.util.Log; import java.io.IOException; import retrofit2.Response; public final class ApiResponse<T> { private static final String TAG = "ApiResponse"; private final int code; public final T body; public final String m...
29.916667
89
0.509749
ba4d7a1a2d5e9b8fdf5b38bfaa1eaba562a45954
3,831
package xworker.swt.design; import org.eclipse.swt.dnd.DropTargetEffect; import org.eclipse.swt.dnd.DropTargetEvent; import org.eclipse.swt.widgets.Control; import org.xmeta.Thing; import org.xmeta.World; public class DesignDropTargetEffect extends DropTargetEffect { Control insertedControl = null; int dropTy...
31.925
109
0.542939
64951410693d62a1b47e409945aba93e645ecc14
622
package com.incarcloud.gateway; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; /** * API网关启动类 * * @author Aaric, created on 2019-12-11T10:50. * @version 0.4.1-SNAPSHOT */ @Enabl...
21.448276
68
0.691318
6d5f1774ace094d1058a5f4151639940da4eab12
3,354
package com.example.cfahlin.advancedandroid.trending; import com.example.cfahlin.advancedandroid.data.RepoRepository; import com.example.cfahlin.advancedandroid.data.TrendingReposResponse; import com.example.cfahlin.advancedandroid.model.Repo; import com.example.cfahlin.advancedandroid.testutils.TestUtils; import com....
29.421053
122
0.790101
2b72bda608c5d59095a8ecaaf1e63d1800463872
923
package site.clzblog.mybatis.high.imitation; import site.clzblog.mybatis.high.imitation.entity.UserEntity; import site.clzblog.mybatis.high.imitation.mapper.UserMapper; import site.clzblog.mybatis.high.imitation.session.SqlSession; import site.clzblog.mybatis.high.imitation.session.SqlSessionFactory; import site.clzbl...
46.15
102
0.771398
90caaec27d011fa20c34765f88981a36deb7b189
4,162
package mage.cards.z; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.ReplacementEffectImpl; import mage.abilities.effects.common.Dest...
35.57265
162
0.701346
e3acda5e20956a27a1edff223ea8180da68784bd
6,299
package com.krake.core; import android.content.Context; import android.text.TextUtils; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.krake.core.data.RemoteDataRepository; import com.krake.core.login.PrivacyEx...
30.138756
136
0.625972
3595c4bbe2e12bff6b682c86edf883110314d205
335
package com.facecto.code.excel.strategy; import lombok.Data; import lombok.experimental.Accessors; /** * @author Jon So, https://cto.pub, https://github.com/facecto * @version v1.0.0 (2021/11/25) */ @Data @Accessors(chain = true) public class ExcelStyle { private HeadStyle headStyle; private ContentStyle c...
20.9375
62
0.728358
813ecdd34a2a622c89887dd4f94b07fb2527b671
422
package io.github.wanggit.antrpc.commons.annotations; import java.lang.annotation.*; /** Expose the Method as an RPC Method */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface RpcMethod { /** * 是否启用接口频控 * * @return true if enabled */ boolean r...
20.095238
53
0.689573
61fc188502d027a80b643d24bc206cc4a81dee3a
207
package openperipheral.api.adapter; /** * * Adapter with custom target class validation logic. */ public interface IAdapterWithConstraints extends IAdapter { public boolean canApply(Class<?> target); }
20.7
59
0.768116
bdd415388ed5b5b41ada4da3c2b2e8de51d4e870
569
package org.apereo.cas.support.saml.web.idp.profile.slo; import org.apereo.cas.support.saml.OpenSamlConfigBean; import org.apereo.cas.support.saml.util.AbstractSaml20ObjectBuilder; /** * This is {@link SamlIdPLogoutResponseObjectBuilder}. * * @author Misagh Moayyed * @since 6.3.0 */ public class SamlIdPLogoutRes...
29.947368
85
0.789104
fa3ec92f51296bec509b0ccc1a3e83aeba715bc1
602
package com.google.android.apps.forscience.whistlepunk; import static junit.framework.Assert.assertEquals; import org.junit.Test; /** * Tests for ResuableFormatter */ public class ReusableFormatterTest { @Test public void testReusingFormatter() { ReusableFormatter formatter = new ReusableFormatter(...
31.684211
96
0.679402
29ecd721b159a410334ffa243fc2b70cbf4c646c
1,230
import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; public class MultiCastEvent extends JPanel implements ActionListener { private int counter = 0; private JButton closeAllButton; public MultiCastEvent() { JButton newButton = new JButton("New"); ad...
28.604651
70
0.638211
d2baf13fffc132175e80ee406768e87f098a313d
4,701
package com.yeyupiaoling.testpaddle.utils; import android.media.Image; import android.util.Size; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; public class ImageUtils { static final int kMaxChannelValue = 262143; pu...
34.313869
111
0.507339
77b5862df4a57c3766bfdbb75715d349c147d23c
7,525
package org.cipres.treebase.web.controllers; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.beanutils.BeanUtils; import org.apache.log4j.Logger; import org.springf...
38.589744
108
0.776744
0143db7ecfa6c8c7bea4e8988d6362498651b802
1,868
package com.fjfalcon.cache.filesystem; import com.fjfalcon.cache.Cache; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; public class FileSystemCacheTest { private Cache<Integer, String> cache; @Before public void setUp() throws Exception { ...
23.061728
45
0.573876
1cd31daf83431ea41a1794092db7bc356089bbd0
312
package hw; import java.util.Scanner; public class hw04_105021046 { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int sum = 1; while (n > 0) { sum = sum * n; n--; } System.out.println(sum); } }
14.857143
41
0.625
22510d002ada527c9bd407d01ea5be40481085b1
2,437
/* * Copyright 2014 Black Pepper Software * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
31.24359
108
0.764054
6d4761739077db0ded411ea1e60803845a0934e5
1,049
package com.ifast.common.domain; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data...
22.319149
70
0.7245
276de7edb8742f3e545ea22ceb62e3c7ef0fde42
93
/** * This package contains utility classes. */ package com.dumptruckman.spamhammer.util;
15.5
41
0.741935
35d6059abeff435c054daf6f0546b3e65c6c6def
688
package org.v2x.rsi; import org.bn.annotations.ASN1BitString; import org.bn.annotations.ASN1BoxedType; import org.bn.annotations.constraints.ASN1SizeConstraint; import org.bn.types.BitString; /** * @author zhangyong */ @ASN1BoxedType(name = "ReferenceLanes") public class ReferenceLanes { @ASN1BitString(name =...
20.235294
57
0.675872
cb5ff360062a0fee091f104f87031c3302dca6a8
195
/** * Copyright (c) 2000,1,2,3,4,5 visualtrading.org * * @author thanos vassilakis * @author yarik chinskiy * */ package org.visualtrading.state; public interface State { }
13.928571
50
0.635897
ad10e4d3221d5a9cd2b45cfb7d72770fd0c0a5bc
1,823
/* * Copyright (c) 2021, MegaEase * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
35.057692
77
0.718047
3b123ccd4239ab087e1d0ff411e98be4fb1282bb
1,026
/* * Copyright (c) 2010-2018 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.prism.impl; import com.evolveum.midpoint.prism.ItemPathParser; import com.evolveum.midpoint.prism....
27.72973
70
0.760234
804508df637db9806258efd30cbb8ce9337a3e89
1,531
package edu.udel.cis.vsl.civl.model.IF.expression; import java.util.List; import edu.udel.cis.vsl.civl.model.IF.variable.Variable; import edu.udel.cis.vsl.civl.util.IF.Pair; /** * A CIVL-C quantified expression, including three components, bound variable * declaration list, (optional) restriction and expression. I...
21.56338
80
0.662312
f622e24e3c0608d1db5b34f20997efcb3992fba0
634
package gigigo.com.orchextra.data.datasources.builders; import com.gigigo.orchextra.domain.model.entities.authentication.SdkAuthData; public class SdkAuthDataBuilder { public static final String VALUE = "Test Value"; public static final int EXPIRES_IN = 3000; public static final String PROJECT_ID = "1234...
30.190476
81
0.725552
8533a4081ffd07554f724885cc1bdf13652c74df
992
package projects.nyinyihtunlwin.freetime.adapters; import android.content.Context; import android.view.View; import android.view.ViewGroup; import projects.nyinyihtunlwin.freetime.R; import projects.nyinyihtunlwin.freetime.data.vo.tvshows.TvShowVO; import projects.nyinyihtunlwin.freetime.delegates.MovieItemDelegate; ...
32
90
0.789315
493270a9533f592819ab4ac1d55749d19f42f93a
631
package com.design_parttern.behavioral; public class VisitorTest { public static void main(String[] args) { Visitor visitor = new ConcreteVisitor(); Subject subject = new ConcreteSubject(); System.out.println(subject.accept(visitor)); } } interface Visitor{ String visit(); } cla...
19.121212
52
0.671949
2664b7270f528e030a99496a70342e49653220f9
3,136
package io.perfeccionista.framework.cucumber.stepdefinitions; import io.cucumber.java.en.Given; import io.cucumber.java.ru.Дано; import io.perfeccionista.framework.cucumber.parameters.ValueIntegerParameter; import io.perfeccionista.framework.cucumber.parameters.ValueStringParameter; import io.perfeccionista.framework....
36.045977
108
0.680804
064772fd5fbe62bb6ac70bb144bece14d67020d9
5,754
package com.rqlite.impl; import com.google.api.client.http.HttpResponseException; import com.google.api.client.http.HttpTransport; import com.google.api.client.http.javanet.NetHttpTransport; import com.google.api.client.json.JsonFactory; import com.google.api.client.json.jackson2.JacksonFactory; import com.rqlite.Node...
37.363636
175
0.623392
40554968544e546083d300a5a8d0e4d97b0c1f86
2,748
package com.hankcs.demo; import java.util.List; import com.hankcs.hanlp.HanLP; import com.hankcs.hanlp.mining.word.TfIdfCounter; /** * 关键词提取 * @author liuliming * */ public class DemoTFIDFKeyword { public static void main(String[] args) { String content = "牢记总书记嘱托 为奋力谱写新时代中原更加出彩的绚" + "丽篇章贡献" ...
31.586207
69
0.666667
fc76b81df17c22ac77573fc8f3978d5adc6715e7
3,328
package br.ufsc.ine.leb.projetos.estoria.testes; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import br.ufsc.ine.leb.projetos.estoria.Atributo; import br.ufsc.ine.leb.projetos.estoria.ClasseDeTeste; import br.ufsc....
46.222222
134
0.83744
80ac309ad76d1d5e518f2125bfb80c5e2f37b9ab
641
package ubc.pavlab.rdp.util; import lombok.Getter; import java.text.MessageFormat; /** * Exception raised when a parsing error occurs for biological data. */ public class ParseException extends Exception { @Getter private int lineNumber; public ParseException( String message, int lineNumber ) { ...
24.653846
80
0.678627
30fc98896fa7221df0c568db57a39a0383360f31
5,713
/* * Copyright 2018, OpenCensus 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 applicable law or ag...
37.339869
100
0.755995
40290da69ff20059a4503125190846c331aa45c1
4,369
package com.springmvc.util; import com.springmvc.dto.other.senior.ObjectTotalGroupByCommonName; import javax.servlet.http.HttpServletRequest; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author JinZhiyun * @ClassName MySimpleUtil * @Description 自定义的简易工具...
37.991304
131
0.586404
24af4f5f791502bdff803f396d1af991209d67dd
8,750
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
39.414414
132
0.640686
8945c51abeac7ab6458a5146f5ce774bfd4301f0
980
/* * Copyright (c) 2021 Birmingham City University. All rights reserved. * Author: Reza Shams (rezashams86@gmail.com) */ package com.hotel.roommgn.repository; import com.hotel.roommgn.model.BookRoom; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; im...
36.296296
128
0.727551
1403c9da2f6679c781fba396e044e519ef8fa70c
684
package me.marcsteiner.glacier.bootstrap; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; public class BootstrapOptions { public static Options getOptions() { Options options = new Options(); options.addOption(new Option("c", "config", true, "Path to Glacier config.j...
34.2
109
0.679825
969699556966c66a167c0386831092bdd1196b64
4,273
package seedu.address.model; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.VALID_TAG_HUSBAND; import static seedu.address.test...
35.907563
103
0.740229
f79c586fa9208831839c90aed8a7a76cdf02b838
1,423
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 出库通知单批量查询接口 * * @author auto create * @since 1.0, 2018-04-26 16:33:32 */ public class KoubeiRetailWm...
23.327869
80
0.732256
80ec0a4bc95bbfe0b5ee5c69ad7f8d7e3e021ba4
2,318
package edu.pdx.cs410J.deep; import edu.pdx.cs410J.AbstractPhoneCall; import javax.swing.*; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class PhoneCall extends AbstractPhoneCall implements Comparable<PhoneCall> { private String callee; private String cal...
26.044944
187
0.64711
28051bc4a25da269434cdad20bd05266fe40090b
1,597
package mds.jtraverser; //package jTraverser; import javax.swing.*; import java.awt.*; public class ProgramEditor extends JPanel implements Editor { /** * */ private static final long serialVersionUID = 1L; MDSplus.Program program; LabeledExprEditor program_edit, timeout_edit; public ProgramEditor() { th...
21.876712
100
0.714465
e9c5ca6c518cf5a156fda171000a4468143cc1ea
2,207
package seedu.address.testutil; import seedu.address.logic.commands.EditTaskCommand.EditTaskDescriptor; import seedu.address.model.task.Task; import seedu.address.model.task.TaskDate; import seedu.address.model.task.TaskName; import seedu.address.model.task.TaskTime; import seedu.address.model.task.Venue; /** * A ut...
31.084507
90
0.695061
d37dac8dedc854e450434534e2677ddeab7f93a3
797
package com.klkblake.mm.common; import java.io.File; import java.util.Arrays; /** * Created by kyle on 6/10/15. */ public class SendingMessage { public final User peer; public final int type; public final String message; public final File[] photos; // TODO Strings or Files? public final long[] p...
24.151515
57
0.622334
039504443dd1cb1ed6ae96dc67c62091e503b5f4
2,464
package com.vvt.daemon.email; import java.util.Arrays; import java.util.List; public class GmailData { private long time; private String dateTime; private boolean isInbox; private int size; private String sender; private String senderName; private String[] to; private String[] cc; private String[] bcc; pri...
20.03252
88
0.704545
c8090ee4f7cc1b1f4fefb6624ee83ec8e1b4e669
1,509
/* * Created on Mar 3, 2006 */ package edu.psu.compbio.seqcode.gse.ewok.verbs; import java.util.*; import edu.psu.compbio.seqcode.gse.datasets.general.NamedRegion; import edu.psu.compbio.seqcode.gse.datasets.species.Genome; /** * @author tdanford * * <code>ChromRegionIterator</code> is an iterator over the chro...
24.33871
98
0.613651
45482a03206bbdece0fdb98ffbcb1649adc4cb8c
5,352
package jetbrains.mps.lang.test.typesystem; /*Generated by MPS */ import jetbrains.mps.lang.typesystem.runtime.AbstractInferenceRule_Runtime; import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeCheckingContext;...
62.964706
327
0.796898
5a342865c9712e96ec70deef77653899a867e9c4
2,392
/* * Copyright 2015-2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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://w...
34.171429
88
0.664298
41cb062d20baebea92065104e15e89e25d37afbb
2,716
package cos.mos.redenvelope; import android.os.Bundle; import android.provider.Settings; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.TextView; import cos.mos.redenvelope.init.Code; import cos.mos.redenvelope.init.KAp...
29.204301
106
0.587997
d888a0c5a1048df0a862b5cfeaf692a6acb415a4
2,497
package ru.postlike; import ru.postlike.consumer.ConsumerTask; import ru.postlike.model.Message; import ru.postlike.utils.ConsumerUtils; import java.util.Calendar; import java.util.Date; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit;...
46.240741
141
0.715258
109102115435b00a8b66da84227abfa7739e866f
7,380
/** * Scaffolding file used to store all the setups needed to run * Tue Mar 03 10:06:22 UTC 2020 */ package org.apache.commons.math.optimization.direct; import org.evosuite.runtime.annotation.EvoSuiteClassExclude; import org.junit.BeforeClass; import org.junit.Before; import org.junit.After; @EvoSuiteClassExclude p...
57.65625
180
0.771274
b5e9fe1ed19e6802a401b7c04fb353bbead3c83b
247
package ltd.inmind.oauth2clientdemo.database_benchmark.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import ltd.inmind.oauth2clientdemo.database_benchmark.model.User; public interface UserMapper extends BaseMapper<User> { }
22.454545
65
0.842105
3a270be4a74185da90c445635f7420ca84c6feb3
903
package com.mango.home.domain.usecase.cloud; import io.reactivex.Single; import com.mango.home.data.repository.CloudRepository; import com.mango.home.domain.model.devicelist.Device; import com.mango.home.domain.model.resource.virtual.d.OcDeviceInfo; import com.mango.home.utils.constant.OcfResourceUri; import javax.in...
36.12
97
0.760797
ffda3326057a313319692769c5f2d03f382bda73
6,133
/* * * Copyright (c) 2013 - 2018 Lijun Liao * * 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 a...
24.05098
94
0.723137
29139ae86733524df38d8267c361bae138464d51
394
package com.maxmind.minfraud.exception; /** * This exception is thrown when your account does not have sufficient funds * to complete the request. */ public class InsufficientFundsException extends MinFraudException { /** * @param message A message explaining the cause of the error. */ public Ins...
24.625
76
0.715736
e56a76434d1648d21ecc90a4d65771acc210d101
27,072
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.widget; import android.graphics.*; import android.support.v4.view.ViewCompat; import android.support.v4.view.animation.FastOutS...
35.388235
111
0.496454
f871fff8d155d58f04977dee814faabe49d8b831
1,117
package depends.extractor.python; import depends.extractor.FileParser; import depends.extractor.ParserCreator; import depends.extractor.ParserTest; import depends.extractor.python.union.PythonFileParser; import depends.extractor.python.union.PythonProcessor; import multilang.depends.util.file.FileUtil; import java.ut...
30.189189
84
0.791406
3c8a1cbeb72466e55b44a8c1cce74f5090192b33
386
package main.java.com.rohitsinha.codingchallenge; /** * Abstract token class * * @author Rohit Sinha */ public abstract class Token { private String token = null; public String getToken() { return token; } public void setToken(String token) { this.token = token; } @Override public String toString() ...
14.846154
49
0.637306
5a7a911f567d3671d519e9f796280602918ce156
703
package me.calebjones.spacelaunchnow.data.models.main.astronaut; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import io.realm.RealmObject; public class AstronautFlight extends RealmObject { @SerializedName("role") @Expose public AstronautRole role; @S...
21.30303
64
0.697013
f21044f77f50e866f2e83ccfcf2d1afb500ccbf1
2,029
package spring.repository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Propa...
34.982759
105
0.747166
8853ef6213c7254611e9a82329141880efdebb5c
2,042
package slexom.earthtojava.mobs.entity.ai.goal; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.entity.ai.goal.Goal; import net.minecraft.entity.mob.MobEntity; import net.minecraft.predicate.block.BlockStatePredicate; import net.minecraft...
30.477612
106
0.647894
79f49b0b609f1338a89a56e641a10554a16b7b88
2,601
package org.camunda.hackdays2016.BanMadInkProcesses; import java.util.HashMap; import java.util.Iterator; import java.util.List; import org.camunda.bpm.engine.delegate.DelegateExecution; import org.camunda.bpm.engine.delegate.ExecutionListener; import org.camunda.bpm.engine.history.HistoricDecisionInputInstance; impo...
33.779221
148
0.748174
4d50e1d6cfecd1583242e738e0edbbc449ae82c7
6,920
package org.apache.fop.render.pdf; import java.awt.color.ColorSpace; import java.awt.color.ICC_ColorSpace; import java.awt.color.ICC_Profile; import java.awt.image.ColorModel; import java.awt.image.IndexColorModel; import java.awt.image.RenderedImage; import java.io.IOException; import java.io.OutputStream; import org...
32.952381
199
0.656214
634e7da997801a22626eda302540c700ba59765f
874
package com.github.peacetrue.dubbo.multipleregistry.provider1; import com.alibaba.dubbo.config.annotation.Reference; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test....
29.133333
98
0.763158
159f60d6030a1a607578843c6f5d29d8d199a3a2
508
package machines.real.commons; /** * 机床状态. * * @author <a href="mailto:junfeng_pan96@qq.com">junfeng</a> * @version 1.0.0.0 * @since 1.8 */ public class MachineState { public static int STATE_STAND_BY = 1; public static int STATE_BUSY = 2; private Integer state = STATE_STAND_BY; public Boolean...
17.517241
60
0.616142
3e41cf1eb5ffcb8011a622e6a26c1a6aca7a731a
6,770
package com.horstmann.corejava.v1ch05.enums; import com.horstmann.corejava.v1ch09.map.Employee; import org.apache.commons.lang3.StringUtils; import java.io.Closeable; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; /** * This program demonstrates enumerated types. * * @auth...
32.238095
147
0.548892
10786cdf7830ba22bea4d09439b289a5a9d4358b
11,187
package tests.integration.com.microsoft.azure.sdk.iot.iothub; import com.microsoft.azure.sdk.iot.device.*; import com.microsoft.azure.sdk.iot.device.twin.DirectMethodPayload; import com.microsoft.azure.sdk.iot.device.exceptions.IotHubClientException; import com.microsoft.azure.sdk.iot.device.twin.DirectMethodResponse...
46.807531
184
0.7321
79ee4a367411a7a25658c843a22d95b01dac8dea
1,436
//Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.core.history; import org.apache.uima.cas.Type; import com.fasterxml.jackson.annotation.JsonIgnore; /** Identifies an (UIMA) annotation (or annotation subtype) as one which should be recorded * in the history system. * * You should manually add this to any...
23.540984
91
0.696379
10b8be8912b3ab7f170a12d6ffa3d6b326ab9265
947
package frc.robot.commands; import edu.wpi.first.wpilibj.SlewRateLimiter; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.Chassis; import static frc.robot.RobotContainer.mController; public class RunSwerveJoystick extends CommandBase { Chassis mChassis; public RunSwerveJoys...
23.675
63
0.646251
bd96958d530960c82b2d747c26ff9e066ccc7141
1,195
package net.moznion.jgyazo; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import java.io.IOException; import java.io.InputStream; public en...
29.146341
87
0.719665
3739267382474e66d507ca768723ee818a0f488e
2,577
package Testing; import static org.junit.Assert.assertTrue; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.junit.Test; import AbstractTypes.BaseHandler; /** * @author Siva */ public class BaseHan...
35.30137
388
0.72953
be40192c5cd349b0459ae499605d9750352d6975
80
package designpattern.strategy; public interface Strategy { void explore(); }
13.333333
31
0.775
6c1db4f39ed09a3359ee0e6afb2e07f1a7fbe533
2,681
package com.random.caveupdate.feature; import java.util.Random; import com.mojang.serialization.Codec; import com.random.caveupdate.CaveUpdate; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.world.ServerWorldAccess; import net.minecr...
38.3
112
0.6837
e9d5bd34c15f5c884ff9fd47bb96ca9c8a58bb71
1,261
package net.chibidevteam.semver; import static net.chibidevteam.semver.Constants.DELIMITER_META; import static net.chibidevteam.semver.Constants.DELIMITER_PRE_RELEASE; import static net.chibidevteam.semver.Constants.SEPARATOR_META; import static net.chibidevteam.semver.Constants.SEPARATOR_VERSION; import java.util.Li...
29.325581
119
0.645519