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
d72f0f62855aa7e75985e726e9fdd4cb9f3f6436
548
import java.awt.*; import javax.swing.undo.*; public class UndoTake extends AbstractUndoableEdit { Stub who; Container where; int which; UndoTake(Stub w) { super(); who = w; doo(); } private void doo() { where = who.getParent(); System.out.println("par"+where.getLocation().x); which = where.getComp...
18.266667
50
0.658759
65ff12b412462dbe474ec5c93a2b3d891a731343
1,987
package org.bukkit.craftbukkit.entity; import com.google.common.base.Preconditions; import net.minecraft.world.entity.monster.EntityShulker; import org.bukkit.DyeColor; import org.bukkit.block.BlockFace; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.block.CraftBlock; import org.bukkit.entity...
30.106061
153
0.695521
fa6a8a0a04a039d315fdbfa82442091d4f9f85ad
1,961
/** * Copyright (c) 2015 Intel Corporation * * 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 ...
26.146667
75
0.744518
ffad4dae85511851baa2257023667c34c05a1a9f
1,046
package org.jpwh.model.inheritance.associations.onetomany; import org.jpwh.model.Constants; import javax.persistence.*; import javax.validation.constraints.NotNull; // Can not be @MappedSuperclass when it's a target class in associations! @Entity @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstra...
18.678571
73
0.644359
55d7110ccb831038c4e8e1d34f346653e99c6863
64
public class Test { Integer f1 = null; Integer f2 = f1; }
12.8
21
0.609375
2bf6344180aa7a22d555b83db00820af4e049b02
7,254
package com.example.xiaoming.rainmeterweather; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.preference.PreferenceManager; import android.support.design.widget.FloatingActionButton; import ...
41.689655
126
0.632065
a69fd779c22df84d6040e2121dd07ded680d347d
1,813
package ru.stqa.training.selenium; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.firefox.FirefoxOptions; import org.openqa.selenium.safari.SafariDriver; import org.testng....
25.9
87
0.680088
786632147fcb6a25a8a79bc308aa8bce87142b48
711
package com.eladmin.tools; import java.nio.charset.Charset; public class DefaultCharset { public static final Charset charset = Charset.forName("UTF-8"); public static final String name = Charset.forName("UTF-8").name(); public static final Charset charset_iso_8859_1 = Charset.forName("iso-8859-1"); ...
29.625
86
0.728551
8c06fd66ca5b7d2575cc4a09267e3f29310d8404
9,096
package applico.googlezlpreview.adapters; import android.app.Activity; import android.app.ActivityOptions; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.util.Log; import a...
39.038627
175
0.693162
cc6e45112bb37d135f5960a44ccca17cadb8f890
252
import org.apache.hadoop.ipc.ProtocolInfo; /** * Created by prasanthj on 2020-06-19. */ // https://cwiki.apache.org/confluence/display/HADOOP2/HadoopRpc @ProtocolInfo(protocolName = "ping", protocolVersion = 1) interface PingRPC { String ping(); }
25.2
64
0.738095
411a4d2631da9d09da04da65049b3177c1d3d1ac
603
package com.linkedin.thirdeye.rootcause; import java.util.HashSet; import java.util.Set; /** * Container object for pipeline execution results. Holds entities with scores as set by the pipeline. */ public class PipelineResult { private final PipelineContext context; private final Set<Entity> entities; publi...
22.333333
102
0.733002
c00b5bdf51845c6d81e29fadf7351d469d37485a
773
package moe.aoramd.paperclip.loader; import android.net.Uri; import android.widget.ImageView; import com.squareup.picasso.Picasso; /** * 采用 Picasso 实现 PaperClip 图片加载接口的加载器 * * @author M.D. * @version 1 */ public class PicassoLoader extends ImageLoader { /** * 默认加载方法 * * @param uri 需要加载的图片 ...
20.891892
80
0.623545
01fbe28c6fa36361e6a986d777fabc44a76c3858
10,493
package com.gaoyy.delivery4res.mine.replylist; import android.content.DialogInterface; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AlertDialog; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.w...
34.516447
144
0.641571
db87a22ee8d6c8e16d69b08cf92367a2e420d059
3,164
/* * Copyright 2004-2013 ICEsoft Technologies Canada Corp. * * 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...
41.631579
102
0.725348
a2143987f62d26a57ef5875a2692aa7fb5f35e72
315
/*Threads, Multithreading and Concurrency*/ package com.javaconcepts.multithreadingAndConcurrency; public class RunnableThread implements Runnable { @Override public void run() { System.out.println( "This is inside the first new thread created by a class which implements the Runnable interface."); } }
24.230769
103
0.774603
bdb3c3d7c0b1c105e3036bec705ea1ffca581fe3
1,706
package com.attask.jenkins; import java.lang.reflect.Field; /** * User: Joel Johnson * Date: 6/25/12 * Time: 11:56 AM */ public class ReflectionUtils { /** * Set's the value of the given field via reflection. * @param instance * @param fieldName * @param value */ public static void setField(Object in...
25.848485
96
0.7034
0f0c8c66e007ebfc087be345832cb2d55f3af2e0
597
package frc.robot.autons.pathplannerfollower; public class CalculatedDriveVelocities { double xVel, yVel, rotVel; public CalculatedDriveVelocities(double xVel, double yVel, double rotVel){ this.xVel = xVel; this.yVel = yVel; this.rotVel = rotVel; } public double getXVel()...
20.586207
87
0.60804
07598b58eeb28f84a61bb86d71fb2e3dae8fb3f0
53,192
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.bearsoft.gwt.ui.widgets.grid; import java.util.ArrayList; import java.util.List; import java.util.logging.Level; ...
39.695522
192
0.703809
4604e7c52793bc72134b8768878e7e8ad05d3484
2,331
/* * Copyright 2009-2019 TMD-Maker Project <https://www.tmdmaker.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
36.421875
140
0.781639
2eafba15d6720cfd132cd58d8dd3d7afe247c989
2,516
package com.dankideacentral.dic.activities; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.dankideacentral.dic.R; impor...
42.644068
115
0.714626
7291f44f0c6df1300070ded981dda156b32f112e
2,105
package at.fhjoanneum.ippr.gateway.api.controller; import java.util.concurrent.Callable; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; impo...
42.959184
100
0.791449
ea47bccb684395bfdc53fcd69b3d8a5f6dff4bf0
16,745
/* * DeepImageJ * * https://deepimagej.github.io/deepimagej/ * * Reference: DeepImageJ: A user-friendly environment to run deep learning models in ImageJ * E. Gomez-de-Mariscal, C. Garcia-Lopez-de-Haro, W. Ouyang, L. Donati, M. Unser, E. Lundberg, A. Munoz-Barrutia, D. Sage. * Submitted 2021. * Bioen...
36.561135
181
0.681338
4bf8c18308da5cb200ab358281e7f1b3468e98f8
622
package Sogong.IMS.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @AllArgsConstructor @NoArgsConstructor @Builder public class WorkspaceProperty { private String corporateRegistrationNumber; private ...
23.923077
47
0.800643
73d05793315ee4db9abb76203bdeef6d0135a5c1
501
package com.example.util.mvp.noop; import com.hannesdorfmann.mosby3.mvp.MvpNullObjectBasePresenter; import javax.inject.Inject; /** * An empty presenter for screens that require no presenter. (There should really be no screen like that in a normal project, but this is a * test project). */ public class NoOpPrese...
23.857143
139
0.742515
abd6660ca66793ec43c1e911bfa973f450a0ba4d
7,040
package com.ermile.salamquran.android.model.quran; import android.graphics.RectF; import com.ermile.salamquran.android.data.AyahInfoDatabaseHandler; import com.ermile.salamquran.android.data.AyahInfoDatabaseProvider; import com.ermile.salamquran.android.di.ActivityScope; import com.ermile.page.common.data.AyahBounds;...
36.666667
99
0.669318
256b4f2d16383ef2c9d914c9d9f38207860264f9
4,227
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
15.315217
810
0.784954
a88f093a35b3f99ddf8339d81952d13b3d4fd6d8
2,612
package scot.gov.www.beans; import org.hippoecm.hst.content.beans.Node; import org.hippoecm.hst.content.beans.standard.HippoBean; import org.hippoecm.hst.content.beans.standard.HippoHtml; import org.onehippo.cms7.essentials.dashboard.annotations.HippoEssentialsGenerated; import java.util.List; @HippoEssentialsGenera...
33.487179
85
0.725498
dc762a44afb00c2402f7b2e3299246a76d5d1dbd
410
package com.atguigu.gmall.sms.mapper; import com.atguigu.gmall.sms.entity.SmsCouponSpuCategoryEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 优惠券分类关联 * * @author Gork * @email 1271367045@qq.com.com * @date 2020-08-06 12:37:23 */ @Mapper public ...
22.777778
92
0.782927
6bfad31b5169c2bf2d80fbca545cd9c66d6d43e5
1,124
package net.scapeemulator.game.update; import net.scapeemulator.game.model.Position; import net.scapeemulator.game.model.mob.Direction; import net.scapeemulator.game.model.player.Player; import net.scapeemulator.game.msg.impl.PlayerUpdateMessage; import net.scapeemulator.game.net.game.GameFrameBuilder; public final c...
32.114286
117
0.765125
c793bad5bf016bcc799520a85d52bc3267519bb2
1,115
package com.xarql.chat.direct; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.xarql.util.DatabaseQuery; public class RecentRetriever extends DatabaseQuery<List<Conversation>> { private static final String CO...
25.930233
158
0.713901
b6b0a7bb126c43b26994a870bb00bb10dca613e1
647
package br.ufsc.ine5605.ShardRPG.Item; import br.ufsc.ine5605.ShardRPG.Info.Room; public class ItemChair extends Item implements Breakable { private String destroyMessage; public String getDestroyMessage() { return destroyMessage; } public ItemChair(String name, String description, String[] alias) { supe...
19.606061
114
0.746522
0ecc750db4a91ab6234311409d3f62bc40ec3d48
1,488
/* * 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 ...
38.153846
100
0.737903
2eac1968a382cc82f2f5ff0e931d7588d4f57c4b
1,226
package com.helen.andbase.entity; import cn.bmob.v3.BmobObject; /** * Created by Helen on 2015/10/21. * */ public class AppInfo extends BmobObject{ private String appId;//包名 private Boolean isPass;//是否验证通过 private Boolean isCheck;//是否需要检测 private String message;//提示语 public Boolean getIsCheck(...
19.774194
45
0.539152
fc059e72e6d52a8267bd10d8121432aede70c40b
734
package tp.p1.managers; import tp.p1.interfaz.BoardPrinter; import tp.p1.interfaz.DebugPrinter; import tp.p1.interfaz.ReleasePrinter; public class PrinterManager { private BoardPrinter bp; public PrinterManager () { bp =new ReleasePrinter(); } public BoardPrinter getbp() { // TODO Auto-gene...
19.315789
51
0.668937
cdb0d70781bdda1ee0ec504f213f638d43b11188
3,412
package seedu.planner.model; import java.util.ArrayList; import java.util.List; /** * {@code FinancialPlanner} that keeps track of its own history. */ public class VersionedFinancialPlanner extends FinancialPlanner { private final List<ReadOnlyFinancialPlanner> financialPlannerStateList; private int curren...
31.018182
109
0.659437
2461501c48172fb4f2fc129147be75758808d845
11,222
/* * ART Java * * Copyright 2019 ART * * 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 agr...
41.873134
131
0.571556
69b5451bbcc491cd54421814da0002b01461460b
144
class Test { <T extends Enum<T>> boolean checkEnum(Class<T> enumClass) { Class<? extends Enum> my = null; return my== enumClass; } }
24
61
0.638889
323041caed9ce4fcb4f77cc08ea0899051eb9296
594
package com.rbkmoney.adapter.starrys.service.starrys.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import lombok.Getter; import lombok.Setter; import lombok.ToString; @...
22.846154
61
0.784512
077830cc97a693446786c878928d569480240844
533
package io.opensphere.core.image.processor; import java.util.Map; /** * Chained image processor. */ public interface ChainedImageProcessor extends ImageProcessor { /** * Adds the next image processor as the next in the chain. * * @param processor The next image processor in the chain */ ...
22.208333
62
0.677298
77d161258dccadf7153af212098eb0f3efdfb139
303
package com.eventsystem.exceptions; /** * Throw when topic name is not available for creation. * * @author Ron * @since 1.0 */ public class TopicNameUnavailableException extends RuntimeException { public TopicNameUnavailableException(String name) { super(name); } }
20.2
70
0.683168
3e3335ac35baec18c2d50770edce4b262436fb8a
24,881
/** * ***************************************************************************** * * <p>Copyright FUJITSU LIMITED 2018 * * <p>Creation Date: 2016-05-24 * * <p>***************************************************************************** */ package org.oscm.app.vmware.business; import java.util.ArrayList; im...
34.701534
100
0.680479
2d41cab5f5431a25e9149ce508733578ffef6d4a
145
package com.jdiai.interfaces; import org.openqa.selenium.By; import java.util.List; public interface HasLocators { List<By> locators(); }
14.5
30
0.744828
579a87d3b38ae667c8d239cd2279f53c2b10756f
434
package uk.dsx.ats.data; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.math.BigDecimal; import java.util.Map; @JsonIgnoreProperties(ignoreUnknown = true) public class FxJSON { @JsonProperty("base") public String base; @Jso...
21.7
61
0.753456
1c82897179b902c91f3128530590b00506ab07bd
3,952
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.ai.textanalytics.implementation.models; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; import ja...
33.491525
104
0.721913
4411b783e252c087df8d8703e4c8c95060174f3e
776
package murex.dojo.coffeemachine.requests; import murex.dojo.coffeemachine.DrinkFactory; import murex.dojo.coffeemachine.requests.IRequest; import org.junit.Test; import static org.junit.Assert.assertEquals; public class TeaRequestTest { @Test public void tea_without_sugar() { IRequest teaRequest = Drin...
25.866667
77
0.715206
3c5b208b0056a69dfd3660a52fd57d02c36e2154
492
package net.meisen.dissertation.impl.parser.query; /** * A {@code Long} used as a value within an interval. * * @author pmeisen */ public class LongIntervalValue extends BaseIntervalValue<Long> { /** * Creates a {@code LongIntervalValue} for the specified {@code value}. * * @param value * t...
18.923077
72
0.660569
69bb5750c9ee73472a8b775a67598d40e48b329c
1,770
package search; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; /** * * @author exponential-e * 백준 9489번: 사촌 * * @see https://www.acmicpc.net/problem/9489 * */ public class Boj9489 { private static final String NEW_LINE = "\n"; public static void main(String[] args...
27.65625
123
0.494915
bc453bdcf1d1af6854db3b33b0156d227ab89ca0
313
package top.jfunc.common.http.holderrequest; import top.jfunc.common.http.request.StringBodyRequest; /** * 有请求体的请求 * @author xiongshiyan at 2019/5/18 , contact me with email yanshixiong@126.com or phone 15208384257 */ public interface HolderStringBodyRequest extends HolderHttpRequest, StringBodyRequest { }
28.454545
100
0.801917
d24924fed38fe8848f4ebd7e04543c09973e8f90
1,950
import java.awt.*; import java.awt.geom.Ellipse2D; import java.util.Random; public class Ball extends GameObject { public Ball(double speed) { super( new Coordinate(Constants.XRESOLUTION/2+10/2+(new Random().nextDouble()*100), Constants.YRESOLUTION/2+10/2+(new Random().nextDo...
34.210526
128
0.581538
7353e2bc7b7177db26bd732bfe06900d31ead398
489
package com.github.kuangcp.singleton; /** * TODO 验证 * @author https://github.com/kuangcp * @date 2019-05-08 14:26 */ public class StaticLazyWithSyncBlock { private static StaticLazyWithSyncBlock singleton; private StaticLazyWithSyncBlock() { } public static StaticLazyWithSyncBlock getInstance() { sy...
20.375
55
0.697342
e1d8b20b15bf95aefda463a9c111641b0ea04eff
913
package io.happycoding.servlets; import java.io.IOException; import java.util.ArrayList; import java.util.List; import jakarta.servlet.annotation.WebServlet; import jakarta.servlet.http.HttpServlet; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; @WebServlet("/names") ...
26.085714
78
0.730559
de0fe09357048fc6c88f92355d77d49a20fe061b
1,760
package com.elasticsearchlogs.api.search.queryBuilderAPI.complexQBFactory.complexQB; import com.elasticsearchlogs.api.search.queryBuilderAPI.simpleQBFactory.SimpleQBFactory; import org.elasticsearch.index.query.BoolQueryBuilder; import org.elasticsearch.index.query.QueryBuilder; import org.elasticsearch.index.query.Qu...
39.111111
105
0.665341
7ba7c5994b5886f58959b86a0ad4de9c65318d62
7,714
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_ASSIGNMENT_DESCRIPTION; import static seedu.address.logic.parser.CliSyntax.PREFIX_ASSIGNMENT_NAME; import static seedu.address.logic.parser.CliSyntax.PREFIX_AUTHOR; import sta...
39.968912
120
0.682525
3db651faa74da9419d45d8840aeb6685278ad351
753
package com.starter.auth.config; /** * @author dingxl * @date 2/18/2021 12:54 PM */ public class AuthConfig { public static final int CAPTCHA_LENGTH = 4; public static final int CAPTCHA_DURATION = 60; public static final String CAPTCHA_CODE = "qwertyuipkjhgfdsazxcvbnmQWERTYUPKJHGFDSAZXCVBNM1234567890"; ...
35.857143
106
0.73838
8f1489f038ada3f97d8fdcaa0ea3528ca238279f
8,183
package com.heibaiying; import javafx.util.Pair; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.filter.FilterList; import org.apache.hadoop.hbase.util.Bytes...
30.64794
147
0.575461
c0c7939aff9e80f3844cee10c747d207c4aafe05
2,864
package com.canmeizhexue.javademo.utils.signature; import com.canmeizhexue.javademo.utils.Base64; import com.canmeizhexue.javademo.utils.encryption.HexUtils; import java.security.*; import java.security.interfaces.RSAPrivateKey; import java.security.interfaces.RSAPublicKey; import java.security.spec.PKCS8EncodedKeySp...
39.777778
115
0.616969
4bb0de8311fbfe1f324f69fd8651c5f2b9f23e31
2,907
package com.atlassian.jira.plugins.dvcs.webwork; import com.atlassian.event.api.EventPublisher; import com.atlassian.jira.plugins.dvcs.exception.SourceControlException; import com.atlassian.jira.plugins.dvcs.model.Organization; import com.atlassian.jira.plugins.dvcs.service.OrganizationService; import com.atlassian.ji...
32.662921
116
0.71689
ce06b2a9ae54b7131acc8af1af5843c8e281b611
311
package aimax.osm.data; import java.io.InputStream; /** * Provides a stream with OSM map data describing the city of Ulm. * @author Ruediger Lunde */ public class DataResource { public static InputStream getULMFileResource() { return DataResource.class.getResourceAsStream("ulm.osm"); } }
22.214286
67
0.720257
f466f61b9f52f54c8f26b04fb5818d791d7a2e93
7,456
package it.nextworks.tmf_offering_catalog.information_models.resource; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import it.nextworks.tmf_off...
25.104377
131
0.692194
ad6dc5b02f7680874508c694e29a4289a9778e27
3,857
package uk.ac.ox.well.cortexjdk.utils.alignment.intervalcombiner; import htsjdk.samtools.util.Interval; import htsjdk.samtools.util.IntervalTreeMap; import org.apache.commons.math3.util.Pair; import uk.ac.ox.well.cortexjdk.utils.alignment.reference.IndexedReference; import uk.ac.ox.well.cortexjdk.utils.traversal.Corte...
43.829545
168
0.501945
d525ca4d4e819ba20a98cf834df999d178640cf4
9,305
/* * MIT License * * Copyright (c) 2016 Hossain Khan * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
42.488584
121
0.740677
232c81edf7ce9b32407567d1f1a678e6ef9649ed
2,188
package krpc.rpc.web; import java.util.Map; public class WebUrl { String hosts; String path; String methods; int serviceId; int msgId; int sessionMode = WebRoute.SESSION_MODE_NO; WebPlugins plugins; Map<String, String> attrs; String origins; public WebUrl(String hosts, String...
19.711712
88
0.585009
40d99e3204e3703deb4a5aa069673dea2327c40f
4,026
// // 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 ...
27.958333
81
0.615251
7447127a72f16ff6f08168922519d677021b0462
404
package dk.hoejgaard.openapi.diff.output; import dk.hoejgaard.openapi.diff.APIDiff; /** * Renders the output from an API difference report into a given format */ interface OutputRender { /** * @param diff the difference report containing the comparison between the existing and the future candidate API ...
22.444444
116
0.725248
d6d10bc634ec776b5fe8c3c0d04c228e0850bf83
740
import java.util.*; class Solution { void solve(int open, int close , String op,ArrayList res) { if(open==0 && close==0) { res.add(op); return; } if(open!=0) { String op1=op+"("; // open--; solve(open-1,close,op1,...
21.764706
61
0.428378
4bba4b32505929ec2b7b1fb130ee8d8db066a54b
937
/** * */ package org.irods.jargon.rest.domain; import java.util.ArrayList; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; /** * Value object to hold return value from a GenQuery call. * * @author jjames * */ @XmlRootElement(name = "results") public class GenQu...
17.036364
68
0.658485
03c1c499ec4f8119a3b6e3f053dd3acc634d99a1
1,022
/* * Copyright 2010-2019 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 "lice...
37.851852
99
0.752446
224237983529c694bbacd8de940186554e9b21cb
13,675
/* Copyright 2018 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 "license" ...
51.409774
155
0.709397
44af64846412fe00d0556a6905ca5bc15fd1afc3
484
package tw.edu.au.csie.ucan.beebit.seco; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; @Controller public class RootController { @GetMapping("/") public String home() { return "...
23.047619
60
0.688017
bf854a166c589424cdf806252c9a32cc975dc186
815
package com.microservices.workshop.billing.domain.entity; import javax.persistence.*; import java.io.Serializable; @Entity public class Charge implements Serializable { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @Column(name = "customer_id", length = 5) private int cust...
18.953488
57
0.633129
18ed7cc74c0de1597d6c27f20bf053ec2da59e3d
415
package com.niluogege.serveredu.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.niluogege.serveredu.entity.EduSubject; import java.util.List; /** * <p> * 课程科目 Mapper 接口 * </p> * * @author niluogege * @since 2021-11-15 */ public interface EduSubjectMapper extends BaseMapper<EduSubjec...
17.291667
66
0.689157
368ae46f7cf9364909683cfc0c52a37647e2d87f
1,223
/* * Copyright (c) 2013 Intellectual Reserve, Inc. 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 *...
26.586957
77
0.724448
4323ab54683184f765795f013c3f7acbc658f30d
2,206
package de.retest.recheck.example; import java.net.URL; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver; import de.retest.recheck.Properties; imp...
29.810811
116
0.737987
e70c2edade63ba46ccd7c4b411c9440bbff8c0ac
3,577
/* 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 * distributed...
29.081301
110
0.696114
fb0b7b6a4877b5580a6310bd2735d3a092e557c2
48,997
package gnu.math; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; import java.io.ObjectStreamException; import java.math.BigDecimal; import java.math.BigInteger; public class IntNum extends RatNum implements Externalizable { static final int maxF...
29.182251
180
0.402188
8fb5467777be0950daac6c6d10eab5b3fcd55c91
511
package ru.intertrust.cm.core.dao.api.extension; import java.lang.annotation.Retention; import java.lang.annotation.Target; import ru.intertrust.cm.core.dao.api.ExtensionService; /** * Класс аннотации для точек расширения * * @author larin * */ @Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME) ...
26.894737
64
0.763209
383774b0e1cf07d6de78615fcfe19e6bc8270734
1,346
package by.sir.max.library.listener; import by.sir.max.library.command.JSPAttributeStorage; import by.sir.max.library.entity.user.UserRole; import by.sir.max.library.exception.LibraryServiceException; import by.sir.max.library.factory.ServiceFactory; import by.sir.max.library.service.UserService; import org.apache.log...
35.421053
97
0.736999
0747012b435f093d8a594c2084be7bff0b8cb844
3,366
package com.kosmx.emotecraft.mixin; import com.kosmx.emotecraft.Emote; import com.kosmx.emotecraft.Main; import com.kosmx.emotecraft.config.EmoteHolder; import com.kosmx.emotecraft.network.EmotePacket; import com.kosmx.emotecraft.network.StopPacket; import com.kosmx.emotecraft.playerInterface.EmotePlayerInterface; imp...
40.071429
190
0.680036
a29c7da11f6df25963af2fa584db1143e60a6267
1,132
package com.ioc.postprocessor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.stereotype.Component; // 针对容器中的所用bean进行增强 @Component public class MyBeanPostProcessor i...
35.375
108
0.756184
536dec82cf04c68c35a35c0222e0f4cfd89b4ce7
4,782
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
32.753425
100
0.621288
7af5c30068de4f2a26417bc4793ccc38795dea3c
1,803
package no.nav.veilarbdirigent.client.veilarbdialog; import io.vavr.control.Try; import no.nav.common.rest.client.RestClient; import no.nav.common.types.identer.AktorId; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; import java.util.function.Supplier; impor...
33.388889
90
0.692734
833804e75423f56794d328b417060efd67e91524
3,605
package org.ovirt.engine.core.dao.provider; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.ovirt.engine.core.common.businessentities.OpenstackNetworkPluginType; import org.ovirt.engine.core.common.bus...
36.414141
107
0.717892
d2c7d5017136d399c1113f3d410ff589f4518125
6,331
/** */ package org.mobadsl.semantic.model.moba; import java.util.List; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> A representation of the model object ' * <em><b>Server</b></em>'. <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link ...
30.584541
129
0.643026
15923be29ec99bd6ab3e1e5d98756e5dd4fade89
2,979
/* * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
18.974522
118
0.613629
746de17f3f28c667a59b2eaae1801236d8b61fcb
1,105
package ObjectTracker; import java.io.*; /** * This class handles the input stream of a * running program. * * @author Eoin O'Connor * @see ObjectTracker * @see OutputStreamCopier */ public class InputStreamCopier implements Runnable { /** * The output stream that is written to. */ private...
19.385965
58
0.571041
698b480112fe3c3547d5d3fd590c50a693f1776d
552
package com.bitcola.exchange.data; import lombok.Data; import org.influxdb.annotation.Column; import org.influxdb.annotation.Measurement; import java.time.Instant; /* * @author:wx * @description: * @create:2018-08-29 23:47 */ @Measurement(name = "kline_new") @Data public class KlinesData { @Column(name = "t...
18.4
43
0.65942
ee6dad257a51d699f80abd3fe35cc35d28868f12
793
package com.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import com.rest.entities.Endereco; import com.rest.entities.User; ...
29.37037
127
0.790668
20f3cec011f5053b40cd4c90fb01bc7d4d159acc
1,712
package com.jpmorgan.cakeshop.util; import java.util.HashMap; import java.util.Map; import com.jpmorgan.cakeshop.error.APIException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import static com.jpmorgan.cakeshop.util.FileUtils.expandPath; public class CakeshopUtils { private static final Logger L...
33.568627
134
0.650701
f87e2ba52a78cf366119ee275e097ee987df2f1b
6,310
package nguy0001; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.UUID; import nguy0001.astar.AStarSearch; import nguy0001.astar.FollowPathAction; import nguy0001.astar.Graph; import nguy0001.astar.Ve...
27.316017
103
0.730745
2c7426bea2a43d32cc1bbeef51b8d9f7eb58839e
1,228
package com.penglecode.xmodule.examples.springcloud.api.service; import java.util.List; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; i...
37.212121
106
0.761401
f10d14fae7f14c73b0c86f3f10185eb544bcfa49
223
package work.step; /** * 2018/6/29 * @author dylan. * Home: http://www.devdylan.cn */ public enum State { /** * wait to this step */ WAIT, /** * in this step */ RUNNING, /** * finished */ FINISHED, }
10.136364
31
0.538117
7c1c830fe009e16e751425dcf4a0a5b57148ad84
16,143
package org.point85.app.reason; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Ent...
25.870192
109
0.708914
a638615d5600a10a17e3e11080816db90268a959
522
package com.wojo.Vault.Controller; import com.jfoenix.controls.JFXButton; import com.wojo.Vault.Main; import javafx.event.ActionEvent; import javafx.fxml.FXML; public class MainController { @FXML private JFXButton exit; @FXML void initialize() { addEventHandlers(); } ...
20.076923
74
0.649425
023dad2dc35e484609d50a422d5776571f8ebb52
1,111
package com.lanluyug.millionLevelFlow.ch03; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Semaphore; public class TestSemaphore { public static void main(String[] args) { ExecutorService executor = Executors.newCachedThreadPool(); ...
33.666667
74
0.486949
3691f65995e9b08ea2c1c0dccad523f4e2d74556
10,801
package se.erikwelander.zubat.plugins.reminder; import se.erikwelander.zubat.libs.ReggexLib; import se.erikwelander.zubat.plugins.exceptions.PluginException; import se.erikwelander.zubat.plugins.interfaces.PluginInterface; import se.erikwelander.zubat.plugins.models.MessageEventModel; import se.erikwelander.zuba...
47.372807
175
0.569762
25b04c567a3928185355a1b90d0c8ea49b179f5d
732
package com.fbla.atlas.atlas.view_holders; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.andexert.library.RippleView; import com.fbla.atlas.atlas.R; /** * Created by Hamza on 1/31/2018. */ public c...
22.875
62
0.702186
c020ede3943540534ae0062bbb25c38925729248
2,392
package org.elsys.manytoone; import java.util.Collection; /** * Introduces the notation of many-to-one relation. This is where the M and O of * the type signature comes from. * * Many unique "source" objects refer to one and only "target" object. * * The class maintains a connection between the target and all t...
24.161616
80
0.675585
4c752790379a19bb8aa3678bd7830c49251bfd26
7,851
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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...
42.901639
151
0.74309
58cdb59710f3fb8a7231965299d58d811481fb07
858
// Autogenerated from development/origins/fragment_origin.i package ideal.development.origins; import ideal.library.elements.*; import ideal.library.texts.*; import ideal.library.channels.*; import ideal.library.resources.*; import ideal.library.patterns.*; import ideal.runtime.elements.*; import ideal.runtime.texts....
28.6
90
0.763403
e1bd8d1eb29f247cde970e1a495d2dfe4afa7bf1
1,257
package com.example.zrestdemo02; import java.util.Arrays; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; @SpringBootApplication public cl...
29.232558
85
0.734288