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
d1cf60fb008aba1a044a4c78636cb85fa40d4e1a
1,495
package org.jenkins.ci.plugins.jobimport; import com.github.tomakehurst.wiremock.junit.WireMockRule; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.jvnet.hudson.test.JenkinsRule; import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig; /** * Created...
24.916667
88
0.748495
a68142dded663c52ae3267a1ab18a5ba376812ab
3,055
package org.wus32.exercise.tp.view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; i...
24.246032
68
0.679542
2c10984422559a99a4e3c31518d52d02a834a8fb
473
package io.github.mivek.model; /** * Class representing the wind shear. * @author mivek */ public class WindShear extends Wind { /** The fHeight of the wind shear in feet. */ private int fHeight; /** * @return the height */ public int getHeight() { return fHeight; ...
18.92
50
0.556025
0953c3299adf002b84788ad33d8140b4967c4e7d
15,721
package com.vk.BTcar; import android.app.Activity; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import an...
25.646003
101
0.563069
498c81321f809348fb599480ef148f3704078f3d
840
package controller; import java.awt.Point; import java.util.ArrayList; import model.element.Element; import model.element.entity.Runner; public class CareTaker { private ArrayList<Memento>history; //private Runner player; public CareTaker() { history=new ArrayList<>(); } public void saveCheckp...
19.090909
151
0.710714
b422a916741d512dfe966d0d581194819eae0dd5
2,013
package boa.debugger.value; import boa.compiler.ast.expressions.Expression; import boa.compiler.ast.statements.Block; import boa.compiler.ast.types.FunctionType; import java.util.ArrayList; public class FunVal implements Value { private ArrayList<Expression> _formals; private Block _body; private Value returnTyp...
18.135135
96
0.687034
c799ef9edf92d0a2ea00efbca8a1d05ba93f5e0a
5,388
package com.verdantartifice.primalmagick.datagen.theorycrafting; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.google.gson.JsonObject; import com.verdantartifice.primalmagick.common.research.CompoundResearchKey; import com.verdantartifice.primalmagick.common.research.SimpleResearchKey;...
38.212766
187
0.670379
5e9479d326c8b5b5c29befeb3076937e38a8342f
1,807
/******************************************************************************* * Copyright 2017 Francesco Cina' * * 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.apach...
37.645833
80
0.626453
c627a7d1a9ac3f4959f8af703267a85c937f25fd
9,612
package io.github.arraybench.main; import java.io.File; import java.io.FileWriter; import java.lang.reflect.Constructor; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.Files; import javax.tools.ToolProvider; import javax.tools.JavaCompiler; import java.util.regex.Pattern; import java.util.r...
39.232653
164
0.583541
61ff1f8e70308a3921dd4e0c419658772ec45ca9
2,972
package com.madai.annotation.processor; import com.google.auto.service.AutoService; import com.madai.annotation.AutoRelease; import com.squareup.javapoet.JavaFile; import com.squareup.javapoet.MethodSpec; import com.squareup.javapoet.TypeName; import com.squareup.javapoet.TypeSpec; import java.io.IOException; import...
32.304348
138
0.708277
f355c0e02db11fc264de128a1006b36f9e7f9cfd
1,105
package com.hiyj.blog.mapper; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; @Mapper @Repository public interface FileMapper { /** * 添加用户文件映射 * * @param userId 用户ID * @param fileName 文件名 */ @Insert("INSERT INTO user_map_file (user_id, file_...
26.95122
93
0.619005
37b966767662ecb365c22cccc6088b358456c18d
10,440
package js.csv.impl; import static js.util.Params.notNull; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import js.csv.CharEnum; import js.csv.CsvColumn; import js.csv.CsvComment; import js.csv.CsvDelimiter; import js.csv.CsvDescriptor...
29.325843
151
0.628927
aecc675f4ff062d800e7b82188dbcd3ef3966513
3,837
package com.nekobitlz.meteorite_attack.services; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.os.Binder; import android.os.IBinder; import android.support.annotation.Nullable; import android.util.Log; import android.widget.Toast; import com.nekobitlz.mete...
25.243421
82
0.57988
1cce8cf1091ac9b13d3b228c8ddc6abf27eab52a
1,023
package com.aite.proxydesignpatterntest.abstract_factory; import com.aite.commonlib.ConsoleUtil; import org.junit.Test; import org.junit.Rule; import org.mockito.Mock; import org.mockito.junit.*; public class Main { @Mock private King king; @Mock private Castle castle; @Mock private Army army...
26.230769
62
0.681329
87c4ed91c6b7bdefb083599ae4f2b12dc4e5e335
7,252
package com.ftcksu.app.controller; import com.ftcksu.app.model.dto.UserDto; import com.ftcksu.app.model.entity.Task; import com.ftcksu.app.model.entity.User; import com.ftcksu.app.model.request.PushNotificationRequest; import com.ftcksu.app.model.response.PushNotificationResponse; import com.ftcksu.app.model.response....
45.610063
137
0.697325
172bf3d9c5a157684151a47e2abb71c2cabdbb12
1,877
/* * * Copyright 2019 Netflix, 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 ap...
34.127273
90
0.696857
c1ab6406c81035c2c600599d1e60b32bf726e31c
2,161
package com.example.devang.validate; import androidx.appcompat.app.AppCompatActivity; import android.content.Context; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { ...
39.290909
133
0.576585
9a7abcebed1a37e1e3efc708cc44ee89de266b3a
369
package com.atguigu.gmall.sms.dao; import com.atguigu.gmallsmsinterface.entity.SpuLadderEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 商品阶梯价格 * * @author Veronica * @email ${email} * @date 2019-09-22 12:31:06 */ @Mapper public interface SpuLad...
20.5
67
0.761518
604d0721ba6383a56a28c0b3cb29b905cefd03af
1,462
package com.webcheckers.ui; import com.google.gson.Gson; import com.webcheckers.appl.PlayerServices; import com.webcheckers.util.Message; import spark.Request; import spark.Response; import spark.Route; import spark.Session; /** * Remove a player who is in the middle of a checkers game * * @author <a href='mjh9131...
28.666667
82
0.668947
e8d1a8464eb8208041b179afce487fb69bbc00be
4,547
package com.tmall.pokemon.bulbasaur.persist.domain; import java.util.Date; /** * * * @author ch * @date 2017-09-27 17:51:29 * */ public class TaskDO { /** * 主键 */ private Long id; /** * 创建时间 */ private Date gmtCreate; /** * 修改时间 */ private Date gmtModifie...
17.555985
84
0.55795
c73b7c6bdb75fb1c3ce70517b5bb5c60bd227ec4
4,280
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2010-2017. Lapinin "lastrix" Sergey. / // / // Permission is hereby granted, free of charge, to any person ...
43.232323
166
0.617523
048d36b2cfd7eb7ba884f906ea71fe6469094538
2,935
package com.prodyna.liferay.tasks.service; import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil; import com.liferay.portal.kernel.util.ReferenceRegistry; import com.liferay.portal.service.InvokableLocalService; /** * Provides the local service utility for WorkflowTask. This utility wraps * {@link com.prodyn...
35.792683
197
0.711073
94d59069228ff39d8db975191e82154d5f91aff7
3,578
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2019 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * virtual...
33.439252
80
0.77697
572c729b2e410430230a31c9b7739ab3c9e4efd8
415
package edu.stanford.math.mapper; import edu.stanford.math.plex4.homology.barcodes.Interval; import edu.stanford.math.plex4.streams.filter.IntFilterFunction; public class RangeCoverUtility { public static Iterable<Interval<Double>> createUniformIntervalCover(IntFilterFunction filter, int n, double overlap) { ret...
29.642857
119
0.80241
a7dae75b6561e39b87b4df376354c5275774461b
5,021
/** * Copyright (c) The openTCS Authors. * * This program is free software and subject to the MIT license. (For details, * see the licensing information (LICENSE.txt) you should have received with * this copy of the software.) */ package org.opentcs.guing.plugins.panels.loadgenerator; import java.util.ArrayList;...
27.437158
109
0.69289
80378b596a1f889f2d9b183eddd8d8a1df5e766b
376
package com.ishakantony.springjmsexample.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; import java.util.UUID; @Data @NoArgsConstructor @AllArgsConstructor @Builder public class GreetingMessage implements Serializable ...
17.090909
54
0.81117
edfbd0020d74708211181a86bdbc503dc4fde809
1,328
package io.sphere.sdk.subscriptions; import com.amazonaws.services.sns.AmazonSNS; import com.amazonaws.services.sns.model.CreateTopicResult; import java.util.UUID; /** * Util methods for working with Amazon Simple Notification Service (Amazon SNS). */ public class SnsUtils { private SnsUtils() { } /**...
32.390244
97
0.683735
0e949d4c0c137abdfb40e77235c8235abb6c15e6
695
public class ItemToPurchase{ private String itemName="none"; private int itemPrice=0; private int itemQuantity=0; public ItemToPurchase(String n,int p,int q){ itemName=n; itemPrice=p; itemQuantity=q; } public ItemToPurchase(){ itemName="none"; itemPrice=0; itemQuantity=0; } publ...
13.627451
46
0.614388
009676b0188a253aff56e0889667acdd4fd0efb4
4,995
package indi.wiio.info.character; import javafx.beans.binding.Bindings; import javafx.beans.property.*; import indi.wiio.utils.ReadObjectsHelper; import indi.wiio.utils.WriteObjectsHelper; import javax.naming.Binding; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; imp...
26.569149
115
0.668669
8b4bb6e8d8bcd977f801079e3be54458d1e9119c
199
package de.pkro; public class MyRunnable implements Runnable { @Override public void run() { System.out.println(ThreadColor.ANSI_RED + "Hello from MyRunnables implementation of run"); } }
22.111111
94
0.738693
3dc9f471a47e33fa884dcc541e26ac39d0caf2df
447
package com.ibuildapp.moveinandmoveout.model.filters; import com.ibuildapp.moveinandmoveout.database.ColumnsProp; /** * Created by web-developer on 17.03.2017. */ public abstract class BaseFilterItemProp { private ColumnsProp column; public BaseFilterItemProp(ColumnsProp column){ this.column = col...
20.318182
59
0.720358
61216ab423b72559c343fefb6ce17cad2aa19eb7
2,574
package com.gabor.partypeps.controllers; import com.gabor.partypeps.models.dao.User; import com.gabor.partypeps.models.dto.UserDTO; import com.gabor.partypeps.services.AbstractService; import com.gabor.partypeps.services.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
31.390244
93
0.731546
d3d187b240eb8945e5270f883aaa25c9f095233a
272
package com.spring.project.spring.bookshop.service; import org.springframework.stereotype.Service; @Service("bookService") public interface BookService { void seedBooks(); void getBookAfterYear(int year); void getAllBooksByAuthorName(String authorName); }
20.923077
52
0.779412
a978ab56a075a240ba42fb1ff8e2a47564b1d2fe
276
package com.jspiders.SpringMVCTrial; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class UserDAOConfig { @Bean public UserDAO dao() { return new UserDAOImpl(); } }
18.4
61
0.753623
d497a4c1d19cabfa27674cede6c2d5f0ddc1f3b1
726
// "Transform body to single exit-point form" "true" class Test { native String get(String s); String <caret>test(String[] data) { if (data == null) { return get("foo"); } String s = data[0]; int i=0; if (data.length > 2) { if (data[2] != null) { ...
25.034483
52
0.344353
564a490eab96687a08770cb8da2ba4d665c96a5b
3,982
/* * The MIT License (MIT) * * Copyright (c) 2017 Cinnober Financial Technology AB (cinnober.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 witho...
39.039216
117
0.670768
eb044bfc5032f73ef866d60c78a7cf33dbc091cb
3,788
package com.abnamro.microsoft.azure.microprofile.config.keyvault.util; import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; import com.azure.core.http.HttpRequest; import com.azure.core.http.rest.Page; import com.azure.core.test.http.MockHttpRe...
41.173913
121
0.74076
83bf0cc8feb73563db9bbab46d950066fc26753f
2,359
package com.nmmoc7.polymercore.client.resources; import com.mojang.blaze3d.matrix.MatrixStack; import com.nmmoc7.polymercore.api.PolymerCoreApi; import com.nmmoc7.polymercore.client.utils.Color; import com.nmmoc7.polymercore.client.utils.PolymerGuiUtils; import net.minecraft.client.Minecraft; import net.minecraft.clie...
27.752941
115
0.663841
e5dbd4fd2b38b51f623fd4136c48392ac2db24f7
505
package org.firstinspires.ftc.teamcode.DashConstants.Deprecated; import com.acmerobotics.dashboard.config.Config; public class Dash_Shooter { /* public static double p = 0.0004; public static double i = 0; public static double d = 0; */ public static double p = 0.0000485; public static d...
21.041667
64
0.689109
6c8b4b35ceb6a3f460b83842d3400c38327f8465
3,751
package com.salesmanager.core.business.services.reference.zone; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.inject.Inject; import org.apache.commons.lang.Validate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.s...
26.415493
97
0.734204
83508a284c0582f9ed5e74fec68be17e716edddd
2,619
package com.spider.cms.dao.model; import java.io.Serializable; public class CmsArticleCategory implements Serializable { /** * 编号 * * @mbg.generated */ private Integer articleCategoryId; /** * 文章编号 * * @mbg.generated */ private Integer articleId; /** ...
28.467391
158
0.595647
cd2780270122043994bf11eee2a84683a6980b84
2,438
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.395833
80
0.730107
336124c85eafc79a3a4f7f2852c86b7e0ae90194
2,728
package nl.knmi.geoweb.backend.product.airmet; import java.util.ArrayList; import java.util.List; import lombok.Getter; public class ObscuringPhenomenonList { // private List<ObscuringPhenomenon> obscuringPhenomena; private static List<ObscuringPhenomenon> allPhenomena; @Getter public static class O...
38.422535
83
0.623167
db2079eaa8bd750d45fbd677515a29477bbb7fbd
282
package com.ruya.takimi.keenotes.models; import androidx.annotation.NonNull; public class AcceptedValue { public boolean accepted; public <T extends AcceptedValue> T withAccepted(@NonNull final boolean id) { this.accepted = id; return (T) this; } }
18.8
80
0.695035
e05745953c3f4621fcaff05fbe2780ba565a6174
627
package ThreadBasic2; /** * 调用run方法来启动run方法,将会是串行运行 * */ public class ThreadDemo0 { public static void main(String args[]) throws InterruptedException { new TestThread0().run(); while (true){ System.out.println("main thread is running"); Thread.sleep(1000); } } ...
23.222222
72
0.545455
0103f83e56de9034414690c3869f7e6d15a8afaa
1,728
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
35.265306
83
0.731481
9054eec2a3592a2c362e70bb3450b70266a91f8d
2,756
package uk.gov.hmcts.ccd.domain.service.search.elasticsearch.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.annotation.JsonNaming; import uk.gov.hmcts....
25.757009
90
0.707184
f11d8386f14abd3869de54d72acaf2ba4c350808
3,761
/* * 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 ...
31.341667
100
0.729327
da5043396e41238b37919a971ade4731ae084f92
2,803
package com.aohys.userHospital; import javax.persistence.*; @Entity @Table(name = "user_hospital", schema = "sampleDB", catalog = "") public class UserHospitalEntity { private String name; private String homeClinic; private String phone; private String mail; private int idUser; private String...
26.951923
109
0.588298
b0827597097a79df2eb543df4a35168b8e69c5a0
2,707
package org.apache.lucene.index; /** * 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, Versi...
33.012195
142
0.716291
4110ffe2114dd5ce03dfafa9715325396222d408
346
package net.spy.memcached.protocol.binary; public interface EVCacheNodeImplMBean { int getContinuousTimeout(); int getReconnectCount(); boolean isActive(); int getWriteQueueSize(); int getReadQueueSize(); int getInputQueueSize(); long getNumOfOps(); void flushInputQueue(); ...
15.727273
42
0.699422
b5e94d3f4d4e6619c2fd7ec7d852f832f5c28a16
6,484
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by appl...
34.673797
132
0.615669
335499fffc1768a99a9e1d62648b0152f1cb525d
4,799
package cc.eevee.turbo.ui.demo.snake.engine; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.PorterDuff; import android.view.Gravity; import android.view.MotionEvent; import android.view.SurfaceHolder; import...
24.865285
108
0.592832
da577367232c6af953b4bd1791a5ac5d4ffdd903
4,023
/* * Copyright 2018 Otavio R. Piske <angusyoung@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
35.919643
119
0.609247
90601c26741be8638cb3b3557d5089e34555b46f
1,957
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2019 Red Hat, Inc., and individual 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...
29.208955
146
0.643843
7fddfb9120aa9355140cb34a6be74d787ac279cf
352
package com.atguigu.gmall.product.mapper; import com.atguigu.gmall.model.product.SpuSaleAttrValue; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * @author Administrator * @create 2020-05-14 15:35 */ @Mapper public interface SpuSaleAttrValueMapper extends B...
25.142857
78
0.803977
74fe1ab9b3eb8d423a70609028a3cc234b62e273
2,326
package org.bluemagic.config.service; import java.net.URI; import org.bluemagic.config.api.service.PropertyService; import org.bluemagic.config.service.repository.DatabaseRepository; /** * The service is the interface that all implementations can use including * but not limited to the restful service, command line ...
27.046512
101
0.699054
308853336090c2fd61c43a8069a028ff19303041
8,515
/* * Copyright 2012 - 2015 Manuel Laggner * * 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 ...
41.334951
149
0.655079
033edffb6de672948f036e093140170f3fb5ad6b
23,894
package com.thinkbiganalytics.metadata.modeshape.feed; import com.thinkbiganalytics.metadata.api.catalog.DataSet; /*- * #%L * thinkbig-metadata-modeshape * %% * Copyright (C) 2017 ThinkBig Analytics * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in com...
35.346154
226
0.689462
268878f51f0eac2767efe9a49c3d412a4691dcd4
994
package com.bkjk.platform.lock; import com.bkjk.platform.lock.exception.LockFailedException; import java.util.concurrent.TimeUnit; /** * @Program: summerframework2 * @Description: * @Author: shaoze.wang * @Create: 2019/5/6 10:16 **/ public interface LockHandler { /** * 获取锁超时 * @param lockInstance...
23.116279
127
0.667002
5a001ed1bd27c16225807245dff2a8ec22628673
1,809
package com.example.myflexiblefragment; import android.os.Bundle; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentTransaction; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.B...
41.113636
134
0.651741
983b68752a66fcd7929d9aa8ecb720d180d88a2d
3,546
package com.seu.seumedia.model; import com.alibaba.fastjson.annotation.JSONField; import com.seu.seumedia.entity.Article_Info; import com.seu.seumedia.entity.Article_detail; import com.seu.seumedia.entity.Article_picture; import com.seu.seumedia.entity.Article_vedio; import java.util.List; public class Content { ...
46.051948
111
0.708968
572103b6c3c9645ae087e339802beb9302300c33
709
package com.estafet.learning.stepDefinitions.soapSteps; import com.estafet.learning.api.soap.config.SoapManager; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import org.junit.Assert; public class CalculatorSteps { int result; SoapManager manager = new SoapManager(); @Given("^user i...
28.36
82
0.702398
b36b2da85d1e670dab15e0ef47cda70d5006c964
1,629
package cn.javaer.jany.jooq.codegen; import org.junit.jupiter.api.Test; /** * @author cn-src */ class OverrideGeneratorTest { @Test void replaceGeometry() { final String str = " /**\n" + " * @deprecated Unknown data type. Please define an explicit {@link org.jooq" + "...
44.027027
100
0.551872
ab1075f25cccfebd3da64502b12e37003d3902c0
1,747
package pt.mashashi.ringsms.interfazze; import java.util.concurrent.atomic.AtomicBoolean; import pt.mashashi.ringsms.BroadcastEvents; import pt.mashashi.ringsms.MyLog; import pt.mashashi.ringsms.threads.GeneralPreferences; import pt.mashashi.ringsms.threads.ThreadsActivity; import android.app.Service; import android....
29.610169
89
0.784201
b4f082604dedb3c307169c71e035050f195ef4ad
14,607
package collectors; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.Locale; import housing.Model; /************************************************************************************************** * Class to write output to files * ...
49.515254
119
0.569727
bcd9fcaedc91fffd96349e3fa18082a69274d83a
4,631
package com.github.riverxik.meowbot; import ch.qos.logback.classic.spi.ILoggingEvent; import ch.qos.logback.core.read.ListAppender; import ch.qos.logback.classic.Level; import ch.qos.logback.classic.Logger; import org.codehaus.plexus.util.FileUtils; import org.junit.Assert; import org.junit.Before; import org.junit.Te...
34.559701
105
0.662492
e6f8f9a89555f3fcd2d5aa572d96e0dc13d74caf
2,001
package io.grpc.examples.routeguide; import java.io.IOException; import java.io.StringWriter; import java.util.logging.Logger; import javax.annotation.PostConstruct; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.core.MediaType; import jav...
33.35
94
0.665667
011c63f35b74cdcd539374ebc9b13361019af9cc
8,487
package icbm.classic.lib.radar; import icbm.classic.ICBMClassic; import icbm.classic.lib.transform.region.Cube; import net.minecraft.entity.Entity; import net.minecraft.util.math.ChunkPos; import net.minecraft.world.chunk.Chunk; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import j...
28.769492
144
0.511842
6fcd081459a165e697cf734d679dc64811273dc5
2,229
package model; import java.util.ArrayList; public class Equipe extends EntConcreta { public final int JOGADORES_MAX = 25; private String sigla; //definir sigla tamanho máximo de 4 carcteres. private ArrayList<Jogador> jogadores; public Equipe(int id, String nome, String sigla) { super(id, no...
24.766667
72
0.545985
d1238581c6bee559a17a3f51b54b44e6eed59348
81,860
package com.github.redhatqe.polarize; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import com.github.redhatqe.polarize.configuration.*; import com.github.redhatqe.polarize.exceptions.*; import com.github.redha...
43.916309
120
0.553335
c881aa59f1a92b147d9b0fa4dfa33e4df43733fe
492
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo) /** * Write a description of class OK here. * * @author (your name) * @version (a version number or a date) */ public class OK extends MenuElement { public OK() { GreenfootImage img=getImage(); img.scale...
19.68
79
0.589431
be5dcc3cee76a1a28d78b56666f4df78f4dce6f5
2,784
/** * @author UCSD MOOC development team and YOU * * A class which reprsents a graph of geographic locations * Nodes in the graph are intersections between * */ package roadgraph; import java.util.HashSet; import java.util.List; import java.util.Set; import geography.GeographicPoint; /** *...
22.634146
82
0.674928
df776f28b6094f52071739700707c638c9381301
1,396
package constants; /* * @author JJR Kotze (email 15692183@sun.ac.za) * For Department of Civil Engineering, Stellenbosch University * 29 October 2012 (Version 1.0 of CFS design) */ /* * THE CAPACITY REDUCTION FACTORS ARE FROM TABLE 1.6 OF SANS 10162-2:2011 */ public class CapacityReductionFactors { private ...
31.727273
151
0.741404
8968f8a13db597aa49d9f88740560a31078de6cd
2,981
package com.hazelcast.simulator.worker.testcontainer; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.simulator.common.TestCase; import com.hazelcast.simulator.common.TestPhase; import com.hazelcast.simulator.protocol.connector.WorkerConnector; import com.hazelcast.simulator.test.AbstractTest; import...
38.217949
107
0.684334
9fda7243a190c6c50ada02733ed20bae61fd6a11
4,788
/* * Copyright 2015 Flipkart Internet, pvt ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
32.134228
150
0.650167
343ec58389ec2f65c147aeec39c83ff4e2e8ad12
739
package servidor; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; import compartido.Calculadora; public class Servidor { public static void main(String[] args) { try { String name = "Calculadora"; Calculadora ...
30.791667
87
0.641407
6755ce8ec8c7f97122dab1fb56b9e4f2533496b0
980
package net.ssehub.ai_perf.model; import java.util.Optional; import net.ssehub.ai_perf.model.ParameterValue.Direction; public class BooleanParameter extends Parameter<Boolean> { public BooleanParameter(String name, boolean defaultValue) { super(name, defaultValue); } @Override <R> R accept(...
29.69697
110
0.663265
6491d30dbaabe96ac97632109b36c111603d5d06
797
package domain.classes; /** * @author Abdelali El Attar Yalaoui */ public class IntegerValue extends Value { private Integer value; private IntegerAttribute integerAttribute; public IntegerValue(String value, IntegerAttribute integerAttribute) { this.value = Integer.parseInt(value); thi...
21.540541
88
0.675031
52bab095ea07f75dab6e3b3b5e923dd50787ab11
583
package com.alc.itautwitter.service.interfaces; import com.alc.itautwitter.model.auxiliary.ResumedUser; import com.alc.itautwitter.model.impl.UserModel; import com.alc.itautwitter.service.base.ItauTwitterService; import org.springframework.stereotype.Service; import java.util.List; /** * The interface User service....
23.32
71
0.780446
678f18d9315a294aa536decb6dd3c35af5a5cf95
1,613
package me.battleblast.animations; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion; import com.badlogic.gdx.utils.Array; import me.battleblast.BattleBlast; /* * The documentation of TextureAtlas.findRegions() says: * ``` * This method uses string com...
37.511628
97
0.732796
b8b8c11d54783157da21c19487c5eacc3e0ee21b
786
package net.haesleinhuepf.clijx.imagej2; import ij.IJ; import net.imagej.ops.OpService; import org.scijava.Context; import org.scijava.command.CommandService; public class ImageJ2ServiceSingleton { private static OpService opService; private static Context ctx; static { // this initializes the Sci...
29.111111
95
0.69084
9054ebd59871c43b132bb8eb2097ae28a0991ec6
74,876
/** * Copyright 2016 - 2017 * * Endalkachew Asnake <endalkachew.asnake@usmile.at> * Michael Hölzl <hoelzl@ins.jku.at> * * 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://...
35.998077
216
0.710308
8c7bb5905d8aafa3f9bcf91300a9b8ff44c1f92f
2,800
package nexuslink.charon.sphouse.biz.register; import android.os.CountDownTimer; import android.util.Log; import cn.smssdk.SMSSDK; import nexuslink.charon.sphouse.bean.UserBean; import static java.lang.Thread.sleep; import static nexuslink.charon.sphouse.config.Constant.FORGET_NUM; /** * 项目名称:SPHouse * 类描述: * 创建...
28
121
0.524643
302b924e073bbac5de8c87f1469106f50b0028ad
4,440
package com.symphony.bdk.bot.sdk.command.matcher; import org.junit.jupiter.api.*; import static org.junit.jupiter.api.Assertions.*; public class EscapedCharacterTest { @Test public void characterTest() { EscapedCharacter matcher = EscapedCharacter.character('T'); assertEquals("T", matcher.regex()); } ...
32.888889
101
0.701351
430a820e9cdf14d272f9f9fe05dc3e636fe31c76
108
package com.test.app; import com.petertackage.jonty.Fieldable; @Fieldable public class AnotherExample { }
13.5
40
0.796296
ca3644f34c03d0a9a0a047d278480e4d32106b33
6,647
package lodVader.streaming; import java.io.BufferedInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.nio.channels.Channels; import java.nio.channels.ReadableByteChannel; import java.text.DecimalForma...
29.941441
143
0.741538
202bc0cd56e8774f0f547ed3528d744b671d6ca2
114
package com.elven.danmaku.core.graphics; public interface GraphicalElement { public void render(); }
12.666667
41
0.710526
f6bbe5a9e5fd3e0a1b70d634e28af3ac91dae5f2
923
package org.jeecg.modules.mqtt.service.impl; import org.jeecg.modules.mqtt.entity.MbpMqttGatewayTopics; import org.jeecg.modules.mqtt.mapper.MbpMqttGatewayTopicsMapper; import org.jeecg.modules.mqtt.service.IMbpMqttGatewayTopicsService; import org.springframework.stereotype.Service; import java.util.List; import com.b...
32.964286
156
0.828819
89e54900c959ae5f0e526133b27577d53ef690b6
1,398
package org.jboss.examples.ticketmonster.rest.dto; import java.io.Serializable; import org.jboss.examples.ticketmonster.model.MediaItem; import javax.persistence.EntityManager; import org.jboss.examples.ticketmonster.model.MediaType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class MediaI...
19.416667
63
0.642346
dcfd154af311e3faea6dd30a8c29bbf60f4d6c8f
321
package org.rooset.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class RoosetServerApplication { public static void main(String[] args) { SpringApplication.run(RoosetServerApplication.class, args); } }...
24.692308
68
0.82866
eac68eda2516a98da2ede78df38cb6b6db5fb433
2,368
package tpsistemastemporeal; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Scanner; import tpsistemastemporeal.Sensoriamento; public class TPSistemasTempoReal { public static void main(String[] args) { try{ ArrayList<Node> ...
38.819672
107
0.500422
5e0d2d0f022e270b64c4b5edb1e832455677aa2f
825
package com.zxf.rabbitmqproducer.service; import com.zxf.model.Order; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; ...
28.448276
78
0.722424
08b14ffddeb9d8380e857a061a72a829d562fc9b
1,237
package org.newdawn.spaceinvaders; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * A Group is an iterable object which offers safe add and remove* (via add() and remove()) during iteration. * * *items are not actually added or removed until completeFrame() is called. * ** compl...
23.788462
109
0.620049
33bd097228cddfa639112e02c66f9458e16feb44
1,176
package io.confluent.examples.streams.sorting; import io.confluent.examples.streams.kafka.EmbeddedSingleNodeKafkaCluster; import io.confluent.examples.streams.sorting.driver.SortingOutOfORderEventsExampleDriver; import io.confluent.examples.streams.sorting.stream.SortingOutOfOrderEventsExample; import org.apache.kafka...
34.588235
100
0.817177
0f15c90abda4e29cd64ca61b81c0dab93a5666f8
347
package com.zupacademy.italo.propostas.cartoes; import com.zupacademy.italo.propostas.outrossistemas.cartao.CartaoLegadoClient; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class VerificaCartaoService { @Autowired CartaoLegadoCli...
26.692308
79
0.841499
ca06e89541edde7abd082edc2c22927a0f815a4a
261
package uri2.my; public interface USAddress extends java.io.Serializable { public java.lang.String getStreet(); public void setStreet(java.lang.String value); public java.lang.String getCity(); public void setCity(java.lang.String value); }
16.3125
57
0.735632
7f6bb366e38fa271d877cc0a511c970deb5ee382
564
package org.betterti.titanium.debugger.commands; import org.betterti.titanium.debugger.DebugCommand; import org.betterti.titanium.debugger.responses.FrameVariablesResponse; import org.betterti.titanium.debugger.responses.VersionInfoResponse; /** * Created by johnsba1 on 5/29/17. */ public class FrameVariablesComman...
26.857143
80
0.77305
520816c8e950ab9072749930ae5b551d604da260
24,806
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
44.217469
137
0.604894
02736c139cd605db34cd31f57c9b42a56848f5b8
1,237
package datadog.trace.core.jfr.openjdk; import datadog.trace.api.Checkpointer; import datadog.trace.api.DDId; import datadog.trace.api.config.ProfilingConfig; import datadog.trace.bootstrap.config.provider.ConfigProvider; import jdk.jfr.EventType; public final class JFRCheckpointer implements Checkpointer { privat...
34.361111
96
0.763945