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
ca9e5eefd410a51f681f5fcc95a7ade967a729f5
373
package com.GB.ChinaMobileMS.services.interfaces; import java.util.List; import com.GB.ChinaMobileMS.entity.CompanyEntity; public interface CompanyService { public CompanyEntity getCompanyManager(int companyID); public List<CompanyEntity> queryCompany(); public List<CompanyEntity> getCompanyByName(String compan...
26.642857
65
0.820375
33682f788f206c5f830cf2adc317671e116b7242
1,091
/******************************************************************************* * Copyright (c) 2007 IBM Corporation. * 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 distribution, and is available at...
32.088235
131
0.633364
6197685eefb8e4ea4670cdff09f5c0edf0ef91f8
49,244
/*- * #%L * athena-jdbc * %% * Copyright (C) 2019 Amazon Web Services * %% * 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 * * ...
43.967857
251
0.550097
251b731438b77c201f46de4ecaf7b97e0dcdee73
759
package com.cjmalloy.torrentfs.server.remote.rest; import java.net.URI; import javax.ws.rs.*; import javax.ws.rs.core.Response; import javax.ws.rs.core.UriBuilder; import com.cjmalloy.torrentfs.extension.HtmlExtension; import com.cjmalloy.torrentfs.server.TfsClientSingleton; @Path("/ext/html/") public class HtmlExte...
33
117
0.741765
853b3f8c86271aaf1829f0d3f1fbc02519853a4d
4,456
/* * Kodkod -- Copyright (c) 2005-present, Emina Torlak * * 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, mo...
26.211765
81
0.607271
90fcf71bbfd8883f4e9040e10762530b69ddd45c
1,946
package de.endrullis.idea.postfixtemplatesgenerator; import java.util.Comparator; import lombok.*; import static cn.hutool.core.util.ClassUtil.*; import static com.google.common.collect.ImmutableSortedSet.*; import static java.lang.System.*; import static java.lang.reflect.Modifier.isPublic; import static java.lang.re...
38.156863
133
0.668551
07d7b3429b4e78b449669666c6c0453bb2a9468a
13,919
package com.company; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.time.format.DateTimeFormatter; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.Scanner; public class Tou...
32.905437
118
0.591063
3352f71aa85c150ec63024664f683bb10825e7e3
1,177
package com.haulmont.sample.petclinic.service; import com.haulmont.sample.petclinic.entity.visit.VisitType; import java.io.Serializable; import java.time.LocalDateTime; public class VisitCreation implements Serializable { private final LocalDateTime visitStart; private final LocalDateTime visitEnd; priva...
26.155556
77
0.713679
e3486721853e3a40f056023ea22a655d337a0ca2
3,049
/* * Copyright 2002-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...
46.19697
114
0.827156
53df3a98bf4e9b8adba75bc38b6125a49fdc1a32
360
package tf.ssf.sfort.lessclutter.mixin.access; import net.minecraft.client.gui.widget.TexturedButtonWidget; import net.minecraft.util.Identifier; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.gen.Accessor; @Mixin(TexturedButtonWidget.class) public interface TextButton { @Accessor("...
27.692308
60
0.805556
8368cb8ff6a3f3fc1821fefbb53fd218faeab870
19,210
package vn.zalopay.benchmark; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.SerializerFeature; import com.google.protobuf.Descriptors; import kg.apc.jmeter.JMeterPluginsUtils; import kg.apc.jmeter.gui.BrowseAction; import kg.apc.jmeter.gui.GuiBuilderHelper; import org.apache.commons.la...
39.93763
174
0.643259
18ba401bb9ec4965198be067fbd63c8f0d89393b
6,354
/** * Copyright (C) 2012 - 2016 Alessandro Vurro. * * 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...
19.981132
75
0.815077
2fe10768e39ce6b10997f1c7e00928ede9e88888
294
package com.example.application.util.css; public enum WhiteSpace { NORMAL("normal"), NOWRAP("nowrap"), PRE("pre"), PRE_WRAP( "pre-wrap"), PRE_LINE("pre-line"); private String value; WhiteSpace(String value) { this.value = value; } public String getValue() { return value; } }
16.333333
58
0.676871
3b2a5cbad27fc3a08a3de14aa334a1ed7b34bd70
4,770
/* * Copyright 2017-2018 original 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 agre...
39.75
158
0.722432
4fb8064abef406b40b858d5f8dc80df22584ce48
1,849
package com.incloud.hcp.jco.controlLogistico.dto; import java.util.HashMap; import java.util.List; public class ConsultaHorometroExports { private String mensaje; private List<HashMap<String, Object>> str_emb; private List<HashMap<String, Object>> str_evn; private List<HashMap<String, Object>> str_lh...
25.680556
76
0.674419
526ce00a311027b17e09ad5fd9927a01334bc2f8
2,468
/* * Copyright (c) 2021, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apac...
31.240506
101
0.715154
6e99fe0735543d6c1a855c0a8c366c8575f238d1
1,548
package frc.robot.auto; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import edu.wpi.first.wpilibj2.command.WaitCommand; import frc.robot.api.motor.RunMotor; import frc.robot.subsystems.Elevator; import frc.robot.subsystems.Intake; import frc....
36.857143
118
0.72739
7ee3c0052f4b0ed839a0a4d021e44fdfa8999c10
328
class Tester { static { System.out.println("正在初始化Tester实例"); } } public class ClassLoaderTest { public static void main(String[] args) throws ClassNotFoundException { ClassLoader cl = ClassLoader.getSystemClassLoader(); cl.loadClass("Tester"); System.out.println("loadClass方法执行完成"); Class.forName("Tester"...
21.866667
71
0.731707
059d348caff6f822a5f0cc9800b82228beb7db21
1,994
package com.smart.app.weighing.auth.config; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.security.core.Authentication; import org.spring...
31.15625
84
0.804915
5bf43c4644a195305ff4172aed5a22bd7526ce78
4,650
package uk.ac.ebi.quickgo.index.geneproduct; import uk.ac.ebi.quickgo.geneproduct.common.GeneProductType; import uk.ac.ebi.quickgo.index.common.DocumentReaderException; import com.google.common.base.Preconditions; import java.util.Map; import org.springframework.batch.item.validator.ValidationException; import org.sp...
39.40678
115
0.679785
7b51f876b233a89b541888b076e121dc91b42380
495
package pl.KarolCzechowicz.converter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.convert.converter.Converter; import pl.KarolCzechowicz.model.Fuel; import pl.KarolCzechowicz.repository.FuelRepository; public class FuelConverter implements Converter<String, Fuel> { ...
27.5
63
0.787879
b5bfd5c969a316b1eb8cb94a23d25cc6ce94b626
25,160
/* * 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...
39.25117
85
0.526073
75871c59974e696cb94e44ec76a3b18de5437674
1,693
/* * Copyright (c) 1999, 2014, 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 ...
34.55102
79
0.687537
5ffb13a45d808d644c3eb2e7637c0e9f9cafa283
32,365
/* * 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 ...
49.18693
195
0.722416
3b14cdc13993b063a9ddc9600cefd2efab285589
627
package com.larsschwegmann.labyrinth.scenes; public interface Renderer { /** * Called by GameStateManager * Use this method to update positions and recalculate things */ public void update(); /** * Called by GameStateManager after update() * Use this method to draw on the screen ...
22.392857
78
0.661882
15eaa3200d1c8ce73c791a1427d622448b6c3869
233
package com.microsoft.cognitive.speakerrecognition; public interface BaseUrls { /** * Base Address of the MS APIs */ String COGNITIVE_SERVICES_BASE_URL = "https://westus.api.cognitive.microsoft.com/spid/v1.0/"; }
23.3
97
0.712446
030fcdcfab9c8e2c12aa3d11b0a6e9d65f65bca2
602
/** * */ package org.ednovo.gooru.client.mvp.shelf.collection.folders.events; import java.util.HashMap; import org.ednovo.gooru.application.shared.model.content.CollectionDo; import org.ednovo.gooru.application.shared.model.folder.FolderDo; import org.ednovo.gooru.client.mvp.folders.event.RefreshFolderType; impor...
26.173913
132
0.802326
dcc4a403ab17aa337a05cb8a9d0638380b68aa33
11,546
package discover.components; import shared.connectivity.thor.response.Table; import shared.database.model.SQLTable; import shared.database.model.SQLTuple; import discover.DiscoverApplication; import discover.model.TableTupleSets; import discover.model.TupleSet; import shared.util.Timer; import java.util.ArrayList; im...
38.744966
113
0.626018
1a9147930cf65bf87b329a9996fe4d68f346d9a5
3,700
/* Copyright (c) 2015, Boston University * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list * of...
33.035714
100
0.707297
c5157e75c9c459a262bdc554f7d71c3b1248f929
759
package net.minecraft.item; import java.util.List; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class ItemCoal extends Item { private static final String __OBFID = "CL_00000002"; public ItemCoal() { this.func_77627_a(true); ...
27.107143
92
0.72332
73844b96c5252f5ee2894c84ce0b02cd9b6350b6
2,847
// BiblioCriterion.java // // senger@ebi.ac.uk // April 2001 // /* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: ...
27.114286
89
0.625922
013bda4a25aaf6efec8aee64785f4113f99a07bb
1,780
package demos.components; import javafx.application.Application; import javafx.geometry.Insets; import javafx.geometry.Orientation; import javafx.scene.Group; import javafx.scene.Scene; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.stage.Stage; import com.jfoenix.controls.JFXSlider; ...
28.253968
118
0.747191
4aa5ee9523c9a2b31db1ecb499f38b9a1c545c3a
343
package net.optifine.render; import net.minecraft.util.math.AxisAlignedBB; public interface ICamera { void setCameraPosition(double var1, double var3, double var5); boolean isBoundingBoxInFrustum(AxisAlignedBB var1); boolean isBoxInFrustumFully(double var1, double var3, double var5, double var7, double ...
26.384615
111
0.784257
b664cb6053e185defa4c9d5f0e1895cd52b6ea5f
360
package edu.bu.met.cs665; import edu.bu.met.cs665.entity.Game; import edu.bu.met.cs665.entity.NewGame; public class Main { /** * A main method to run examples. * @param args not used */ public static void main(String[] args) { //Create a single game object Game game = NewGame.getIn...
18
43
0.633333
d995b58c003c278be47a9f597814ffcd488d3e66
921
package se.cbb.jprime.mcmc; /** * Represents a simple fixed tuning parameter. * * @author Joel Sjöstrand. */ public class ConstantTuningParameter implements TuningParameter { /** The value. */ protected double value; /** * Constructor. * @param value the value. */ public ConstantTuningParameter(double...
18.42
70
0.697068
326e662c1345fd0502ec61b6bf14d10f139ec6e4
8,112
/******************************************************************************* * Copyright (C) FlexiCore, Inc - All Rights Reserved * Unauthorized copying of this file, via any medium is strictly prohibited * Proprietary and confidential * Written by Avishay Ben Natan And Asaf Ben Natan, October 2015 *******...
40.158416
174
0.641519
76bb43381fc728d0884e180449818b8e3629688d
575
package perococco.aoc.api; import lombok.NonNull; public interface AOCProblem<S> extends Comparable<AOCProblem<?>> { @NonNull AOCProblemId id(); @NonNull S solve(); default boolean isSkipped() { return false; } @NonNull default String problemName() { return id().day...
18.548387
66
0.606957
5213978f20efc8f99c5a7e6a3c82dfa5a327a703
9,901
/* * 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.653251
99
0.648722
0e8b98f6d4f5cf8502e904bda0e43b2778203d72
2,227
/* * Copyright 2005-2019 Dozer 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 applicable law or ag...
34.261538
97
0.614279
42fae73b8ab19743ff5659cf5639d2e62562ba67
13,067
/* * @(#)RandomVariable.java 3.0.0 2016-05-07 * * You may use this software under the condition of "Simplified BSD License" * * Copyright 2010-2016 MARIUSZ GROMADA. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that t...
69.877005
182
0.683477
e7e89390d8bea54e1768f660a67ded13b8a878a7
578
package GameObjects; import Controller.KeyboardController; import Interfaces.Moveable; import java.awt.Color; /** * * @author Brandon Neri */ public abstract class ControlledGameObject extends GameObject implements Moveable { KeyboardController control; public ControlledGameObject(int xPosition, int ...
28.9
133
0.757785
d6546ab378d93339ba971c5d93c362f4694b26d6
1,764
package org.python.core; public enum CompareOp { LT(0), LE(1), EQ(2), NE(3), GT(4), GE(5); private int n; private static final CompareOp[] swappedOps = new CompareOp[] { GT, GE, EQ, NE, LT, LE }; private static final String[] stringOps = new String[] { "<", "<=", "==", "!=", ">...
24.84507
67
0.451247
9689259350595f803b32c4c5bc124823b52d7f8f
819
package org.innovateuk.ifs; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import java.io.IOException; /** * Helper around handling JSON within tests */ public class JsonTestUtil { publ...
27.3
98
0.671551
be72032247df497ce3dee0e3279977c1f2c4978f
584
package com.ducks.goodsduck.commons.model.dto.post; import com.ducks.goodsduck.commons.model.entity.User; import lombok.Data; @Data public class PostDetailResponsePostOwner { private Long userId; private String bcryptId; private String nickName; private String imageUrl; private Integer level; ...
25.391304
53
0.696918
6a9b53ea4fe05aa25c48f13d048265046b49498e
2,188
/* * 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")...
30.816901
116
0.694698
aa6bbce17ec3c2466a1444e1ca2655b55cff9d08
1,508
/* * Copyright (C) 2020 catdrinker. * * 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 agree...
32.782609
135
0.699602
7507105acf2b98d752b584201f71a6f330752362
850
package com.example.anipa.myapplication; public class People { private String name; private String genero; private String birthday; public People(String name, String genero, String birthday ) { this.name = name; this.genero=genero; this.birthday=birthday; } publi...
15.178571
66
0.584706
13eb07fa589fb13ddf39230fce8b8417691b3ac9
4,239
package com.denizenscript.denizen2sponge.events.player; import com.denizenscript.denizen2core.events.ScriptEvent; import com.denizenscript.denizen2core.tags.AbstractTagObject; import com.denizenscript.denizen2core.tags.objects.IntegerTag; import com.denizenscript.denizen2sponge.Denizen2Sponge; import com.denizen...
35.621849
122
0.673744
ed81f39cc085a02d7796e657f76fed03c1af3b56
162
package problem1; public class EmptyPriorityQueueException extends Exception { public EmptyPriorityQueueException(String message) { super(message); } }
18
60
0.783951
5281743a8bec78223ced46c82e57a0f61048bd93
2,554
/* * Copyright 2018 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 app...
32.329114
81
0.735709
5bf6081b6d1e1c74ab1803cfb6c4d6c2601f3fb5
1,548
package com.atguigu.gulimall.product.exception; import com.atguigu.common.exception.BizCodeEnum; import com.atguigu.common.utils.R; import lombok.extern.slf4j.Slf4j; import org.springframework.validation.BindingResult; import org.springframework.web.bind.MethodArgumentNotValidException; import org.springframework.web...
39.692308
121
0.757106
920536cfcaed403923a9e0706f4316fdba7532e6
28,428
package com.mimacom.liferay.portal.setup.core; /* * #%L * Liferay Portal DB Setup core * %% * Copyright (C) 2016 - 2018 mimacom ag * %% * 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 Softwar...
48.264856
186
0.630505
f734b481387b4c2c2dd3a6f66a696879a1275db4
530
package it.mrbackslash.discordspigotstatus; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; public class InfoCommand implements CommandExecutor { private String vers; InfoCommand(String version){ vers = version; } public b...
29.444444
97
0.728302
7c02000ffe3f1bb3723032dcbc08c4f79fb0abc1
2,037
package com.mydeo.seckilldemo.result; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; /** * description 请求结果信息类 * * @author Chris he * @date 2020/9/29 */ @ApiModel(value = "请求结果信息类") @Data public class ResultVo<T> { @ApiModelProperty(value = "请求结果代码"...
23.413793
71
0.667649
aee7a800092271c58456d3e77959fa17fac065fa
395
package aadl2upaal.aadl; public class UVar extends AVar { private APort applied; public Distribution dist; public String applied_var=""; public UVar(String name, String type) { super(name, type); // TODO Auto-generated constructor stub } public APort getApplied() { return applied; } pu...
17.954545
42
0.683544
15af79b2b0cd53f34e046126a2240731f3ef69db
2,889
package com.smartgwt.sample.showcase.client.basics.components; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.HTMLFlow; import com.smartgwt.client.widgets.IButton; import com.smartgwt.client.widgets.events.ClickEvent; import com.smartgwt.client....
36.1125
131
0.642437
3893ba0efabd6393a619ef1b65efbb7460cd47fe
111
package jeaphunter.antipattern; public class DestructiveWrappingAntiPattern extends ExceptionAntiPattern { }
18.5
74
0.864865
7cfc6da00ca83cfd2ea9ed7c27d5e292d7b2865a
8,353
/* * Copyright (c) 2005-2018 Trident Kirill Grouchnikov. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice, * ...
43.279793
100
0.659643
904e621fca4675ad010a74e394131fca62c4f947
1,204
package cn.lastwhisper.atguigu.search; import cn.lastwhisper.util.ArrayUtil; /** * * @author cn.lastwhisper */ public class InsertValueSearch { private static int count = 0; public static void main(String[] args) { int[] arr = ArrayUtil.generateArrByOrder(100); //int[] arr = {1, 1, 1, 1, 10...
27.363636
90
0.535714
29da0ae4ee26e84b81d7c3ba20345429ce8fba3f
318
package <%= appPackage %>.<%= packageName %>.pojo; /** * Generated by generator-android-template * This is the pojo class you got by using <%= dataClass %>Endpoint. * This will be stored in the DB using Realm as a Realm<%= dataClass %> */ public class <%= dataClass %> { public <%= dataClass %>() { } }
22.714286
71
0.628931
5881b9867cae003d7e1b18fd16f836ef42dca56c
7,649
/* * Copyright (C) Lennart Martens * * Contact: lennart.martens AT UGent.be (' AT ' to be replaced with '@') */ /* * Created by IntelliJ IDEA. * User: Lennart * Date: 31-jan-03 * Time: 22:34:59 */ package com.compomics.util.io.file; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogM...
33.995556
103
0.617859
4be2e9912b9f55d64fd5e1d205b6b27832935b38
289
package com.group12.course.entity; /** * @author Y Jiang * 2018/11/28 */ public class CourseNotFoundException extends RuntimeException { private int courseId; public CourseNotFoundException(int courseId){ this.courseId=courseId; } public int getId() { return courseId; } }
24.083333
75
0.733564
ab4e21e0f482cef7d390ce09eda8c653ce8266dc
2,898
package com.practice.game_of_life; import org.hamcrest.Matchers; import org.junit.Test; import java.util.stream.IntStream; import static org.hamcrest.MatcherAssert.assertThat; /** * Checker Tester. */ public class CheckerTest { @Test public void liveLessThanTwoDie() { boolean[][] gird = getTestGri...
31.16129
78
0.539683
00a350cb88cc29a5cef6929b0dec1d6f78357cec
2,658
package com.skjanyou.server.core; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import com.skjanyou.server.api.constant.StatusCode; import com.skjanyou.server.api.inter.Headers; import com.skjanyou.server.api.inter.Protocol; import com.skjan...
21.095238
63
0.729872
8a50afa74147e8a32c6d89356b10aaa77db190ae
201
// "@Pointcut with throws clause" package ataspectj.misuse; import org.aspectj.lang.annotation.*; @Aspect public class Test016{ @Pointcut("call(* *.*(..))") void someCall() throws Exception {} }
18.272727
37
0.691542
47f7958a8597a02cc82965efe9d31e0259e3127b
1,468
package com.synopsys.integration.detectable.detectables.nuget.unit; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import com.synopsys.integration.common.util.finder.FileFinder; import com.synopsys.integration.detectable.DetectableEnvironment; import com.synopsys.integr...
47.354839
168
0.826975
42a0df2d616d58d9dde9e8621b62b47d091013f6
1,182
package org.visallo.web.structuredingest.core.routes; import com.google.inject.Inject; import com.v5analytics.webster.ParameterizedHandler; import com.v5analytics.webster.annotations.Handle; import org.visallo.web.structuredingest.core.model.ClientApiMimeTypes; import org.visallo.web.structuredingest.core.model.Struct...
35.818182
96
0.781726
415d48a30c75c2426b9589cae19cc322725a1711
219
package com.borneo.framework.base.dao; import com.borneo.framework.base.entity.Trole; public interface TroleDAO extends BaseDAO { String BEAN_NAME = "troleDAO"; Trole getRoleByCode(String code); }
19.909091
47
0.726027
bcb5986214abde131347ee6eff2f73e9acf952d6
5,787
package com.asis.joi.model.entities; import com.asis.ui.asis_node.node_functional_expansion.ComponentVisitor; import org.json.JSONArray; import org.json.JSONObject; public class Condition extends JOIComponent { public enum ConditionType { EQUALS, GREATER_THAN, LESS_THAN } private ...
35.503067
141
0.611889
f779a0f68bb91ced10431f927cb2da6c2bb5586d
1,552
package net.moddingplayground.toymaker.impl.mixin; import net.minecraft.server.Main; import net.moddingplayground.toymaker.Toymaker; import net.moddingplayground.toymaker.impl.DataMain; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injecti...
33.73913
94
0.615335
4100885a791f9cbcfb8de24c179d9b75b7c54236
5,318
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
36.930556
119
0.730162
259e91025eeb926a4ff2fed8b7e659e44d7427bd
2,558
package com.rideaustin.rest; import javax.annotation.security.RolesAllowed; import javax.inject.Inject; import org.apache.http.HttpStatus; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestContro...
41.258065
129
0.81939
64af0c284f621be2e6c7c953a7c6b954d96d272b
6,866
package main; public class Bombs { //Variable declaring. All will be used on the methods below private int bombTiming=0; private boolean bombVisible=false; private boolean bombAvailable=false; private int rangeRight; private int rangeLeft; private int rangeUp; private int rangeDown; private Strin...
33.492683
117
0.744975
e5ae9480b5662bebaa58d42cd703eabea590bf78
627
package de.elbatya.cryptocoins.bittrexclient.api; import de.elbatya.cryptocoins.bittrexclient.api.model.common.TctApiResult; import de.elbatya.cryptocoins.bittrexclient.api.model.publicapi.tct.Summary; import feign.Param; import feign.RequestLine; import java.util.List; /** * @author contact@elbatya.de */ public i...
29.857143
120
0.757576
629dc3d3a9872ecd85a13ad153f1ad2805fbbf5c
1,247
package cn.filter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax....
26.531915
71
0.76263
1c972193567c590e55428fbf8e0705a16651d99d
384
package org.gama.stalactite.sql.result; import org.gama.stalactite.sql.test.MySQLEmbeddableDataSource; import org.junit.jupiter.api.BeforeEach; /** * @author Guillaume Mary */ class ResultSetIteratorMySQLTest extends ResultSetIteratorITTest { @Override @BeforeEach void createDataSource() { ...
22.588235
66
0.747396
530a6ee4827a7a412e70d436aa60b4ca0832ae20
515
package com.bookstore.service; import com.bookstore.domain.*; import java.util.List; /** * Created by z00382545 on 12/29/16. */ public interface CartItemService { CartItem addBookToCartItem(Book book, User user, int qty ); List<CartItem> findByShoppingCart(ShoppingCart shoppingCart); List<CartItem> ...
19.807692
65
0.737864
f16c5684771e865c71e075ea51319ff26e52b661
11,686
/* 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 not use this f...
35.093093
217
0.592589
243c0117f7ff773a11cd5e2c62cf29e4de9296ab
2,101
package TournamentSystem.Scoring.Elo; /** * This static class holds the calculation logic to determin the players new Elo's after a match. * Instantiate {@link EloPlayerFIDE} or {@link EloPlayerUSCF} to use this class. * <p> * This code uses parts of the following source <a href="https://bitbucket.org/marioosh/jav...
35.016667
110
0.610662
d7eef3a49193dfb845ea9b07ce029ab8ad23b1f5
429
package io.github.artemnazarov.sdktestapplication.bidders.yieldmo; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import io.github.artemnazarov.sdktestapplication.R; public class YieldmoActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceSt...
26.8125
66
0.79021
8e55e9fc0b37ec56c0a8a67e6651822dc5955f4e
37,895
/** * Copyright 2014-2017 Linagora, Université Joseph Fourier, Floralis * * The present code is developed in the scope of the joint LINAGORA - * Université Joseph Fourier - Floralis research program and is designated * as a "Result" pursuant to the terms and conditions of the LINAGORA * - Université Joseph Fourie...
30.609855
118
0.719699
efcf69246f1edf552477497b4e508395c8549385
1,292
package cn.newcapec.function.citycard.platform.privilege.biz.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import cn.new...
26.916667
82
0.815789
e2fb9576002efddd31a20a132a048c34a2f4fb50
4,847
package gms.shared.utilities.service; import static junit.framework.TestCase.assertNotNull; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.Serializati...
36.443609
100
0.702909
ec37f8b10059b9f6859dea68b9503870ab6a093f
269
package com.github.lukasgail.chateditorFSM; import org.bukkit.block.Block; import org.bukkit.event.player.PlayerInteractEvent; public interface EditorState { void sendedInput(String input); void refresh(); void blockClick(PlayerInteractEvent event); }
19.214286
51
0.776952
60545a505720b880229c690016dfeefdf2df376c
1,146
package imooc.naga.server.query; import imooc.naga.core.exception.ErrorCodes; import imooc.naga.core.exception.NagaException; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPool; import redis....
26.045455
90
0.692845
88219b0d452e9cacc5c5a8c979799e512f84fb18
897
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.dao.gbj; import java.util.List; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; im...
30.931034
108
0.810479
5b67f536d62d45c142cad0ad941199a85c79e107
3,012
package android.content; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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....
30.424242
107
0.707171
2ae966794b10f63f9f6651abe6b5cd0e8c7e4439
1,456
package org.apereo.cas.qr.web.flow; import org.apereo.cas.qr.authentication.QRAuthenticationTokenCredential; import org.apereo.cas.token.TokenConstants; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import org.apereo.cas.web.support.WebUtils; import l...
39.351351
97
0.791209
2fafa451e9539d7d7ea18bece689d3aa5aed0767
3,312
/******************************************************************************* * Copyright 2020 Grégoire Martinetti * * 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://ww...
52.571429
242
0.754529
7e3ea7d6d1649504fd759b557e6ca7fd5986843d
602
package com.example.demo.po; public class QAlogEntity { private int id; private String question; private String answer; private String remark; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getQuestion() { return question; } public void setQuestion(String q...
16.722222
43
0.694352
79fc8259d6ad2dac40cc9eb9aaf037ae09ee7f5e
2,255
package com.michaelwasher.bricker.views; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.Log; import com.michaelwasher.bricker.R; import androidx.appcompat.widget.App...
31.319444
86
0.623947
68f5706b3a9f2568dc37c7bde63dd81e785437cf
9,500
package com.jiubang.goscreenlock.theme.cjpcardcool.weather.util; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.location.Location; import android.os.Handler; import android.os.Message; import com.jiubang.goscreenlock.theme.cjpcardcool.weather.bean.City; i...
29.141104
125
0.650632
db128d98b5ad9d286a64a4142883c4cbab3197e5
4,038
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the Smart Developer Hub Project: * http://www.smartdeveloperhub.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=...
32.564516
104
0.631996
e03a1f8e480ea29c4fedcce837c79401eb7d74d5
693
package com.chenws.netty.mqtt.protocol; import io.netty.channel.Channel; import io.netty.handler.codec.mqtt.*; import io.netty.util.AttributeKey; import lombok.extern.slf4j.Slf4j; /** * Created by chenws on 2019/10/11. */ @Slf4j public class PingReq { public void handlePingReq(Channel channel, MqttMessage msg)...
30.130435
101
0.686869
8b09e6775b94d79b37234b5905e5496cf57534a7
2,904
package com.defano.hypertalk.util; import com.defano.hypertalk.ast.model.Convertible; import com.defano.hypertalk.ast.model.enums.ConvertibleDateFormat; import com.defano.hypertalk.ast.model.Value; import org.junit.Test; import java.util.Calendar; import java.util.Date; import static org.junit.Assert.assertEquals; ...
38.72
106
0.711433
2c08de0bac544fffab3a463221778f97ea99e14e
3,933
package org.opencyc.inference.params; import java.util.Map; import org.opencyc.cycobject.CycSymbol; public class DefaultInferenceParameterValueDescription implements InferenceParameterValueDescription { private Object value; private String shortDescription; private String longDescription; private stat...
39.33
250
0.70684
942e6f106727a4a7420597f37d2ab97662df2d79
576
package com.david; import com.david.begin.Duck; import com.david.begin.Duck.*; import com.david.begin.MallardDuck; import com.david.begin.ModelDuck; public class Main { public static void main(String[] args) { //System.out.println("Hello World!"); Duck mallard = new MallardDuck(); mallard...
26.181818
67
0.657986
ae6794185e7395798738d8436f9b0798f0a71abc
4,231
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.securityinsights.implementation; import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azu...
33.314961
119
0.684708
41423adfb92cdf9145a02c82cbdff2af152985f3
661
package org.firstinspires.ftc.blackswan; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.blackswan.Robot; @Autonomous public class AutonomousBlueWarehouse extends LinearOpMode { Robot robot; @Override pu...
26.44
60
0.6823
90ebc67d15317b8f5673c9eb9071480b1979959e
1,914
package com.ezequiel.addresses.domain; import lombok.AccessLevel; import lombok.Data; import lombok.NoArgsConstructor; import lombok.Setter; import org.hibernate.annotations.CreationTimestamp; import org.hibernate.annotations.UpdateTimestamp; import javax.persistence.*; import javax.validation.constraints.NotEmpty; i...
22
70
0.685475