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
fe02a07482808447c73838001b7613acbd699725
3,145
package by.vorokhobko.secondPart.filter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Scanner; import java.util.regex.Pattern; /** * Filter. * * Class Filter is designed for matching in program. * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru. * @since 10.02.2018. * @version 1....
27.347826
71
0.533227
e2b835567430cf2deaa4f09bc39cf512aed06911
1,822
/* * Copyright (C) 2011-2014 Aestas/IT * * 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 ...
30.366667
108
0.736553
bc8c9e41311931385d74e0cb175123ea236d45eb
497
package main.flowstoneenergy.items.tools.electrum; import main.flowstoneenergy.FlowstoneEnergy; import main.flowstoneenergy.core.libs.ModInfo; import net.minecraft.item.ItemAxe; public class ItemAxeElectrum extends ItemAxe { public ItemAxeElectrum(ToolMaterial material) { super(material); this.set...
33.133333
68
0.752515
88b9728fcb9518275105ca58babbd54a352ef177
889
package com.nattguld.http.proxies; import java.util.Objects; import com.nattguld.util.generics.kvps.impl.StringKeyValuePair; import com.nattguld.util.hashing.Hasher; /** * * @author randqm * */ public class ProxyAuthCredentials extends StringKeyValuePair { /** * The base 64 auth. */ private String base6...
17.431373
64
0.677165
6959f52bfaaef3b326d399b00bc937a51b2768a4
80
package org.baeldung.javaxval.validationgroup; public interface BasicInfo { }
13.333333
46
0.8125
f5539ef510bb4b8d5656ca5645e1670892fcda7c
284
package com.yanxin.common.model; import com.yanxin.common.model.base.BasePermisedDoor; /** * Generated by JFinal. */ @SuppressWarnings("serial") public class PermisedDoor extends BasePermisedDoor<PermisedDoor> { public static final PermisedDoor dao = new PermisedDoor().dao(); }
23.666667
66
0.774648
4614639bb8c036ff1761e2434832e493b8df5a88
207
package org.sristi.sristi.utils; /** * Created by Ariyan Khan on 09-03-2016. */ public abstract class AppInfo { //It holds the APP Code for every version public static final int APP_CODE = 0; }
17.25
45
0.690821
98bde055918c8d3096e53d3a26d160753afc4f49
1,298
package com.webank.wecross.account; import com.webank.wecross.exception.WeCrossException; import java.util.Arrays; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class AccountAccessControlFilterFactory { private static Logger logger = LoggerFactory.getLogger(AccountAccessControlFilterFactory.clas...
35.081081
100
0.679507
a56800156a9ee70d3b4812719bbd281fc842c3ab
8,784
/* * Copyright 2022 Starwhale, 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 * * Unless required by applica...
44.363636
124
0.620219
c0ba2bf328675e8d9a88433eec4c529be3eaa79b
1,077
/* * 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 classes; import java.util.ArrayList; import java.util.List; public class Golya extends Balozo{ private final double KEDVEZM...
24.477273
133
0.675023
462fd65e2f9c08df32eed3bee31ff6cd4615f1cc
259
package com.zing.mode.adapter.extend; /** * @author zing * @date 2018/3/6 18:06 */ public class VeryHeightVoltage { private int voltage = 120; public int power() { System.out.println("电源提供电压:" + voltage); return voltage; } }
16.1875
48
0.6139
36ab74f21975ea36fd05499cf987062ae39db5cf
324
package com.algaworks.algafood.domain.repository; import java.util.List; import com.algaworks.algafood.domain.model.Restaurante; public interface RestauranteRepository { List<Restaurante> listar(); Restaurante porId(Long id); Restaurante adicionar(Restaurante restaurante); void remover(Restaurante restaurante);...
21.6
55
0.811728
517e1227768585f1f58c99cfa0ad61bc4372c443
516
package com.nacid.bl.applications.base; import com.nacid.bl.nomenclatures.Country; /** * User: ggeorgiev * Date: 4.10.2019 г. * Time: 14:26 */ public interface DocumentRecipientBase { public int getId(); public int getApplicationId(); public Country getCountry(); public int getCountryId(); ...
16.645161
42
0.684109
4de73119fe2a6e3315f9c725dc7cd695046bb1fc
2,205
/** * 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...
37.372881
144
0.755102
cceeb64495f7cb4616aede672f3a572f4f3d559b
2,286
/** * ########################## GoodCrawler ############################ * 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...
28.936709
76
0.686789
c3fcb19edada9c77118c442816e434fa8157edd0
975
/** * */ package cjlite.web.core; import java.util.HashMap; import java.util.Map; import cjlite.utils.Strings; import cjlite.web.mvc.ModelView; import cjlite.web.mvc.View; import cjlite.web.render.RenderException; import cjlite.web.render.Renderer; import cjlite.web.render.RendererManager; /** * @author kevin *...
23.214286
99
0.734359
7047d4ffbf29258b9af44a231955a84eef05c15f
3,674
package com.cafeyvinowinebar.Cafe_y_Vino; import android.app.Application; import android.app.NotificationChannel; import android.app.NotificationManager; import android.os.Build; import com.google.android.gms.tasks.OnSuccessListener; import com.google.firebase.auth.FirebaseAuth; import com.google.firebase.firestore.D...
40.373626
122
0.683451
e1daac6fc2e84a884353253b431b9245fc0a5e45
1,411
package effects.simple; import effects.Effect; import util.Color; import util.Image; public class Effect_Abberation extends Effect { /** * */ private static final long serialVersionUID = -962229356025762746L; public static final boolean TWO_WAY_ABBERATION = true; public static final boolean ONE_W...
21.378788
90
0.654146
1c14e518cf5d3ac391059291635111198d793a15
3,952
/* Copyright 2008 Edward Yakop. * * 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, ...
29.714286
98
0.676113
d6ee65ad489d1f8b1b719dadc367f35bdda93a16
335
package com.openatc.agent.model; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @NoArgsConstructor @AllArgsConstructor @Data public class Token { private String context; // 0 从登录接口获得的token; 1 根据用户名创建token private int source; private long starttime; private l...
19.705882
38
0.770149
bbf98e26e1a64ff76f725623efe27ee0e41d2bc4
654
package org.joo.virgo.node; import org.joo.virgo.RuleContext; import org.joo.virgo.model.ExecutionResult; public class IfExecutionNode implements ExecutionNode { private ExpressionExecutionNode condition; private ExecutionNode action; public IfExecutionNode(ExpressionExecutionNode condition, ExecutionN...
26.16
83
0.762997
5c000de20297f6bf8876b6c2840b4b8b73c318d5
257
package me.adeane6.model.asset; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import me.adeane6.model.Entity; @Getter @Setter @NoArgsConstructor public class Asset extends Entity { private AssetAttributes attributes; }
17.133333
39
0.805447
3e3f92c1f83d0287a02223a4ac962565e77e55d4
906
package net.viperfish.crawler.html.engine; import java.net.MalformedURLException; import java.net.URL; import org.junit.Assert; import org.junit.Test; public class TestPrioritizedURLQueue { @Test public void testPriority() throws MalformedURLException, InterruptedException { PrioritizedURLBlockingQueue queue = n...
25.166667
80
0.689845
f3610aff1b8e76add0c56dc3a1c1619ae4fff3bc
4,724
package org.nikkii.embedhttp; import org.nikkii.embedhttp.handler.HttpRequestHandler; import org.nikkii.embedhttp.impl.HttpCapability; import org.nikkii.embedhttp.impl.HttpRequest; import org.nikkii.embedhttp.impl.HttpResponse; import org.nikkii.embedhttp.impl.HttpSession; import org.nikkii.embedhttp.impl.HttpStatus; ...
23.270936
114
0.708721
24d6c4a07d9db1b073089ef9d50cc883cd03f393
3,925
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
40.463918
99
0.683567
56d0f7fddeb95e07c6b56924fe09f55b070d87da
36,059
package com.example.demo.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; public class CommentExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public CommentExample() { oredCriteria = new ArrayList<...
33.357077
102
0.59203
7026b88c4a8373d09a788e405e08b3944acdb2a1
1,708
package com.siyeh.igtest.migration.raw_use_of_parameterized_type; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.Callable; @interface Anno { <warning descr="Raw use of parameterized class 'Class'">Class</warning> method() default List.class; Class<? extends L...
24.753623
149
0.668618
4b793a0e9b252959739dc631e19eb2f8e2617bec
3,150
// 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...
42.567568
117
0.691746
9069c717526ef5d125817336db2ef558527883bc
418
package robson.games.tictactoe.model; import org.junit.Assert; import org.junit.Test; public class FieldTest { @Test public void shouldControlItsAssignee() { Field field = new Field(0, 1); Assert.assertFalse(field.isAssigned()); field.assign(new Player('X')); Assert.assertTrue...
23.222222
66
0.660287
101021d77d2a43d88d0887d726e41012ecb9f2e3
1,707
/******************************************************************************* * Copyright (c) 2006 Actuate 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 availabl...
18.554348
81
0.635032
474508e38d1b57e4d6e836b8c83d916dc0e71a75
748
package luozix.start.lambdas.exams.examples.chapter1.answers.chapter9; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; import luozix.start.lambdas.exams.answers.chapter9.BlockingArtistAnalyzer; public class BlockingArtistAnalyzerTest { private final lu...
28.769231
120
0.770053
2490c504bc8b322685d58a9e844c5d120a8ba074
833
package pl.solutions.software.sokolik.bartosz.security; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Configuration; @Configuration @EnableConfigurationProperti...
26.870968
81
0.762305
a4509a60960b40f3a33bb40c1812a562b5de50a0
4,819
package java.android.quanlybanhang.DatBan; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RatingBar; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import com.google....
46.336538
235
0.630629
40c8fc9c6e1f7ce8c8b17e48923313302936300d
3,085
/* * 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 ...
43.450704
124
0.745543
e881aa9ca5afbdf9f0fac09f49d06a9e0cba3d7e
4,188
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
46.021978
114
0.734957
e342fca2fb5307a8e6717b3ea42e345033cea10a
13,708
package life.catalogue.db; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.zaxxer.hikari.pool.HikariProxyConnection; import life.catalogue.api.model.Dataset; import life.catalogue.api.model.User; import life.catalogue.api.vocab.Datasets; import life.catalogue.ap...
35.791123
207
0.699737
8fe76c365ad080bbd7e6aa0dfe4615c7975022a5
922
package me.calvin.modules.search.domain.request; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; import java.util.HashMap; /** 图片信息入参对象 */ @Data @ApiModel(value = "S...
29.741935
76
0.727766
b7ed5ed1a1a2472dab36fd89ff0d072f23e0a9a3
1,294
package cc.novoline.gui.screen.click; import cc.novoline.gui.screen.click.Scroll; import cc.novoline.gui.screen.setting.SettingType; // $FF: synthetic class class Tab$1 { static final int[] $SwitchMap$cc$novoline$gui$screen$click$Scroll; static final int[] $SwitchMap$cc$novoline$gui$screen$setting$SettingType =...
28.130435
115
0.631376
6ddc786aa399ac25b62102abe15f1ebdd97c0be0
6,419
package com.flipkart.android.proteus.parser.custom; import android.content.res.ColorStateList; import android.graphics.Typeface; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.flipkart.android.proteus.ProteusContext; import com.flipkart.android.prot...
35.269231
117
0.622371
3f70003c551756d7daff0d4afcc69ee21e5fa476
9,194
/*- * Copyright 2015 Crimson Hexagon * * 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...
37.991736
178
0.652273
f4af631c5ed9c2a2335b82b1fcd05f2d66dcae8a
221
package com.yulu.mybatis.mapper; import java.util.List; import com.yulu.entity.Order; /** * 订单的映射接口 * */ public interface OrderMapper { /** * 通过订单管理查询用户信息(一对一) * @return */ List<Order> findAllOrderUser(); }
12.277778
32
0.669683
76f1499353ad25493c908042ee9fb89b03685907
2,922
/* * Copyright (c) 2008-2021, Hazelcast, 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 * * Unless required ...
34.376471
114
0.644079
309cd8a51683734f415436154a55720146b006e6
14,899
/* * Copyright 2021 Wultra 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 agreed to in...
46.126935
158
0.684207
a865a8a313fefd40a24c9d4509f5a098f5c8d42f
338
package Main; import java.nio.file.Paths; public class Configuration { public static final String BES_URI = "http://localhost:9090/api/HRController/"; public static final String absoluteFileSystemPath = Paths.get(System.getProperty("user.dir")).getParent().toAbsolutePath() + "\...
30.727273
83
0.677515
e3e39888ccf7263fe77d0a7c56ba6dc19247d973
3,322
/* * (C) Copyright 2020 Nuxeo (http://nuxeo.com/) and others. * * 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 b...
37.75
119
0.729079
58fb5593fe351c54e3e1c11811a123d534087cf4
1,793
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands; import frc.robot.Constants.driveTrain; import frc.robot.subsystems.MyDriveTrain; import edu...
29.393443
95
0.727273
8e3ea3a0c932c329712374a0e853e001fc83ebad
332
import java.util.*; import java.io.*; class pattern { public static void main(String [] args) { Scanner kb=new Scanner(System.in); System.out.println("Enter the limit"); int n=kb.nextInt(); for(int i=1;i<=n;i++) { for(int j=1;j<=i;j++) { System.out.print(j); }System.out.println(); ...
15.090909
40
0.572289
75af65fd179fefd485cf9671d5b28a9ecf7b3afa
16,621
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.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 ob...
30.894052
255
0.550569
9902daef513d2d9347efb53eb4218111760af8e8
1,175
/** * iBizSys 5.0 机器人生产代码(不要直接修改当前代码) * http://www.ibizsys.net */ package net.ibizsys.psrt.srv.codelist; import net.ibizsys.paas.codelist.CodeItem; import net.ibizsys.paas.codelist.CodeItems; import net.ibizsys.paas.codelist.CodeList; import net.ibizsys.paas.sysmodel.StaticCodeListModelBase; import net.ibizsys.p...
26.704545
110
0.72766
e6ed5613e215c83e7b37e980318daba31e2acf70
1,401
package chopchop.model.usage; import static chopchop.testutil.TypicalUsages.Date.USAGE_DATE_A; import static chopchop.testutil.TypicalUsages.Date.USAGE_DATE_B; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.As...
29.1875
64
0.648822
0aec1cd2403d4babbfd12550af89e7600e3cb7c1
1,680
package models; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class CipherTest { @Test void encoding() { Cipher testCipher = new Cipher(); String plainText = "welcome to coding"; String alphabet = "abcdefghijklmnopqrstuvwxyz"; int key ...
28.965517
70
0.560714
a21507e1bab91c6fec881ef0efe731652ab4322a
2,231
package com.education.api.config.shiro; import com.education.common.cache.CacheBean; import com.education.common.utils.ObjectUtils; import org.apache.shiro.cache.Cache; import org.apache.shiro.cache.CacheException; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.S...
20.657407
65
0.580009
232cdc70b5e1a48df07861934fedc1de98f210c1
2,352
/* * XML Type: CT_RPrChange * Namespace: http://schemas.openxmlformats.org/wordprocessingml/2006/main * Java type: org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPrChange * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.wordprocessingml.x2006.main.impl; import javax....
36.75
194
0.708333
5b8c38625c3144f7bfd38df3929d959824400631
2,051
package com.hashmapinc.tempus.witsml.DrillTest.model.user; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclud...
29.3
161
0.718186
75c33a2a353ef41ef9cd10cf90fd367caab97231
61,403
package com.boguenon.service.modules.bayes.editor; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import javax.help.UnsupportedOperationException; import javax.swing.JOptionPane; import javax.swing.SwingUtilities; import javax.swing.undo.Ca...
37.786462
172
0.572627
71fef0b1ffba9db92072e902445376b25b0163f4
1,653
package com.yourtion.leetcode.daily.m03.d04; /** * 994. 腐烂的橘子 * * @author Yourtion * @link https://leetcode-cn.com/problems/rotting-oranges/ */ public class Solution { void rotting(int[][] grid, int x, int y) { // 上 if (x != 0 && grid[x - 1][y] == 1) { grid[x - 1][y] = 3; }...
27.098361
61
0.335753
f3a7ea6dc840ce5cc5bcd5e7476f5f0b5cb6eb06
1,210
package org.tcsaroundtheworld.map.client; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.SpanElement; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.client.ui.Anchor; import com.google.gwt.user.client.ui.Composit...
33.611111
90
0.787603
780ea21132c64d8a9c672d203f4ef4dce74595ce
362
package org.jfpc.base.utils; import javax.inject.Named; /** * 页面提示信息 * * @author Spook * @since 0.1.0 * @version 0.1.0 2014/6/26 */ @Named public class MessageUtil { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } public String getLocalMessage(...
12.482759
47
0.640884
fd667f0de2292115ec8b7e3d726bfc96a0d511fa
1,382
package ru.alazarev.seafight; import org.junit.Before; import ru.alazarev.seafight.interfaces.IShip; import ru.alazarev.seafight.ships.Battleship; /** * Class решение задачи части * * @author Aleksey Lazarev * @since 13.09.2019 */ public class SeaFightTest { SeaFight seaFight; int size = 100; IShip ...
25.592593
79
0.60275
fcbc92a5ba824bb8efda117fb78e47f5fa1e74b3
1,555
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
38.875
95
0.762058
28cd570b8d357e2841e6a11e7bcfcecfebe34db1
1,118
package com.scriptlang.compiler.ast; /** * @author Dmitry */ public class ForAst extends BaseAst { private BaseAst initializationExpression; private BaseAst conditionExpression; private BaseAst incrementExpression; private ExpressionListAst body; public BaseAst getInitializationExpression() { ...
24.304348
79
0.72093
a121112fc3c2881e15058ee19c7b8086a8b544c7
1,510
package com.duonghv.shoppingcart.model.page; import com.duonghv.shoppingcart.model.audit.TableAudit; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; /** * Clas...
19.868421
100
0.656291
abe88894704c996e830ff347192e4994a55616d2
2,953
/* * Copyright © 2014 Stefan Niederhauser (nidin@gmx.ch) * * 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...
36.45679
130
0.709448
0258cfc5efa5339ad7333fc04b438a27980dfa96
3,474
/* * 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 ...
46.945946
140
0.75072
575ac2d1ae79517b506b589dc37c6dc488a2d52a
699
package at.porscheinformatik.seleniumcomponents.driver; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeOptions; import at.porscheinformatik.seleniumcomponents.AbstractWebDriverFactory; import at.porscheinformatik.seleniumcomponents.WebDriv...
24.103448
72
0.772532
364d8f7510e560fdef558df6523120c4fc751108
581
/* package acceptance.learning_patterns.factory3; import org.testng.annotations.*; public class Auth3 extends WebDriverSet { @Test (enabled = false) public void test() { */ /* AccountantRole3 accountantRole3 = PageFactory.initElements(driver, AccountantRole3.class); AdminRole3 adminRole3 = PageFactory.ini...
23.24
96
0.731497
e46b7276bc99b80e7eee08009504762357677bf5
1,137
package org.ovirt.engine.ui.webadmin.section.main.view.popup.vm; import java.util.List; import org.ovirt.engine.core.compat.StringHelper; import org.ovirt.engine.ui.webadmin.ApplicationConstants; import org.ovirt.engine.ui.webadmin.ApplicationMessages; import org.ovirt.engine.ui.webadmin.gin.AssetProvider; public fi...
33.441176
87
0.694811
a39e76ac63aaebb04f64f6a459b7b277c9b8cdae
11,680
package com.alibaba.spring.boot.rsocket.broker.cluster; import com.alibaba.rsocket.ServiceLocator; import com.alibaba.rsocket.cloudevents.CloudEventImpl; import com.alibaba.rsocket.cloudevents.Json; import com.alibaba.rsocket.observability.RsocketErrorCode; import com.alibaba.rsocket.route.RSocketFilter; import com.al...
38.933333
175
0.665925
9985049672048eaa0a25ca33b7d133bc1042b3fb
1,457
package fi.csc.chipster.servicelocator.resource; import java.util.ArrayList; import jakarta.annotation.security.RolesAllowed; import jakarta.ws.rs.GET; import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.Context; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; ...
28.568627
92
0.787234
cbed640957c7bcbc537527fff9393106751b81ab
239
package com.hokumus.schoolmanagement.dao.management; import com.hokumus.schoolmanagement.dao.util.DBServices; import com.hokumus.schoolmanagement.model.management.Courses; public class CoursesDao extends DBServices<Courses> { }
26.555556
62
0.811715
2dc07c1c06387462f93ff8693c33ba5245854075
1,929
package com.ppmessage.ppcomlib; import com.ppmessage.ppcomlib.services.PPComStartupHelper; import com.ppmessage.ppcomlib.services.message.IMessageService; import com.ppmessage.ppcomlib.services.message.MessageService; import com.ppmessage.sdk.core.L; /** * Example: * * <pre> * PPComSDK sdk = PPComSDK.getInsta...
26.791667
105
0.669259
42b09324a6e93bb5674c5df885e7dbe18402f77b
2,845
package com.tencent.liteav.meeting.ui.widget.base; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentPagerAdapter; import android....
30.265957
108
0.655888
cf793af9c4628de2820b98e23bd3f266571adcd1
4,114
/* * Copyright 2019 Jérôme Wacongne. * * 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 applicable law or agreed to i...
38.092593
139
0.777589
002e75eb65c2a9042dbb3a71ddc78586776a8750
1,622
package io.subutai.core.registration.cli; import org.apache.karaf.shell.commands.Argument; import org.apache.karaf.shell.commands.Command; import io.subutai.core.identity.rbac.cli.SubutaiShellCommandSupport; import io.subutai.core.registration.api.HostRegistrationManager; import io.subutai.core.registration.api.exce...
33.102041
117
0.699137
1062caeda72b9692f7b52e3374487c7db4defc7d
2,163
/* * Copyright (C) 2008 feilong * * 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...
42.411765
75
0.773
814b38a18851cbc9de63b70fd607f4a2f04585df
530
package com.espressif.iot.command.group; public interface IEspCommandGroupMoveDeviceInternet extends IEspCommandGroup { public static final String URL_MOVE_DEVICE = URL_COMMON + "?action=move_to_group&method=PUT"; /** * Move device into group * * @param userKey * @param deviceId ...
29.444444
119
0.716981
605afdad0d4edb944407a3f989045671c37655de
2,196
package org.nodes.models.old; import static java.lang.Math.exp; import static nl.peterbloem.kit.Series.series; import java.util.ArrayList; import java.util.List; import org.apache.commons.math3.linear.ArrayRealVector; import org.apache.commons.math3.linear.RealVector; import org.nodes.DGraph; import org.nodes.DNode;...
21.115385
76
0.62204
c0669a3011ff045bb59988a0aede0549784174f5
236
package io.zedw.model; import java.io.Serializable; import java.time.LocalDateTime; /** * @author xingguan.wzt * @date 2020/12/03 */ public abstract class BaseMessage implements Serializable { private LocalDateTime dateTime; }
18.153846
59
0.754237
71993706a02e38b2f9e33f7a1e4b846308e4aae5
1,829
package org.dkf.jmule.adapters.menu; import android.content.Context; import org.dkf.jed2k.android.ConfigurationManager; import org.dkf.jed2k.android.Constants; import org.dkf.jed2k.protocol.server.ServerMet; import org.dkf.jmule.Engine; import org.dkf.jmule.R; import org.dkf.jmule.util.ServerUtils; import org.dkf.jmul...
35.862745
105
0.667578
e9cb578ad60c6a5353f3f2df27bac064b9ca49b4
258
package jiwoo.openstack.keystone.auth.system; import org.json.JSONObject; import jiwoo.openstack.rest.RestResponse; abstract public class AbstractAuthSystemResponse extends RestResponse { abstract protected JSONObject getAuthSystem(String response); }
21.5
71
0.837209
83b57e4bb48da8a77da96dbd0feab17e4dd04b5e
1,962
package org.ovirt.engine.ui.userportal.widget.tab; import org.ovirt.engine.ui.common.widget.tab.AbstractTabPanel; import org.ovirt.engine.ui.common.widget.tab.TabDefinition; import org.ovirt.engine.ui.common.widget.tab.TabFactory; import org.ovirt.engine.ui.common.widget.tab.TabWidgetHandler; import org.ovirt.engine.u...
30.184615
97
0.724261
222e5a11f34c676775fc0a53d3fe1a1126a2160c
1,684
package com.artist.web.bookstore.database; import android.arch.persistence.room.ColumnInfo; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import android.support.annotation.NonNull; @Entity(tableName = "books") public class FavBooks { @PrimaryKey @NonNull pr...
19.811765
78
0.616983
d12f165cb504555312ace5d8112edc915f8b9052
1,410
package org.datasand.model; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by saichler on 6/6/16. */ public class ObjectImpl implements InvocationHandler{ private final Map<String,Object> data = n...
28.77551
87
0.589362
395445bd645a639b67c8f220e94dc6af8c733bce
2,887
/******************************************************************************* * 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 ...
36.544304
80
0.543124
d89aed219325ce56b696e22fbb3e57126c3277a7
2,630
package cn.cuilan.ssmp.admin.security.handler; import cn.cuilan.ssmp.Constants; import cn.cuilan.ssmp.entity.SysUser; import cn.cuilan.ssmp.mapper.SysUserMapper; import cn.cuilan.ssmp.redis.RedisUtils; import cn.cuilan.ssmp.redis.SysUserRedisPrefix; import cn.cuilan.ssmp.utils.NetworkUtils; import cn.cuilan.ssmp.utils...
37.042254
100
0.71711
4d92762da4bf3745f38c976f865a18e8456766c8
1,575
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // This file is a part of the 'esoco-gwt' project. // Copyright 2016 Elmar Sonnenschein, esoco GmbH, Flensburg, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance w...
34.23913
78
0.559365
1a3676474774024095c80c4d11484fd427188cc7
6,035
/* * Copyright 2017-2019 Baidu Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
38.43949
115
0.620547
bdd4d42c11aa9fed6f2a49ac88c60c72dc6a9a95
7,368
package seedu.address.logic.commands.meetingcommands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.address.testutil.TypicalIndexes.INDEX_FIRST_MEETING; import static seedu.address.testutil.TypicalIndexes.INDEX_SECOND_MEETING;...
49.12
119
0.760451
92b51cbc39d131bfbec23c9ddde91f0ae9d1f482
2,324
/* * Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. 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 * * U...
30.578947
78
0.70611
4bb13b6c06b8881403132133562e72357daf21c6
1,373
package enginecrafter77.survivalinc.strugglecraft; import java.util.ArrayList; import enginecrafter77.survivalinc.SurvivalInc; import enginecrafter77.survivalinc.config.ModConfig; import enginecrafter77.survivalinc.net.SanityOverviewMessage; import enginecrafter77.survivalinc.net.SanityReasonMessage; import enginecra...
29.212766
108
0.813547
59b64e31cd71933e82aaab3c0f32e9a841b70e0f
2,537
package question; /** * Created by admin on 05.11.2016. */ public class QueueUsingSynchronized<T> { private final Object[] array; private final int maxSize; // [Tail (cyclic adds)->] [.] [.] [Head (cyclic adds)->] private int tail; // read from here (points to a filled element, if not null) priva...
33.381579
280
0.490737
416d909a8ec343f30242d0bf25f1199afe376cb2
2,326
/* * Copyright 2017 EIS Ltd and/or one of 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 ...
31.432432
104
0.653482
70d799f5fd093c811d3538297e8cc2cb98f116fa
2,084
package com.veal98.double_points; import java.util.HashMap; public class MinimumWindowSubstring_76 { public static void main(String[] args) { } public static String minWindow(String s, String t) { if (s == null || s.length() == 0) { return ""; } // 记录 t 中的字符及其对应的个数 ...
28.547945
81
0.463052
e52c6a949ba43c4c221b80a371d4d96bccc071d9
4,410
package com.joshng.util.concurrent.services; import com.google.common.util.concurrent.AbstractService; import java.util.concurrent.CompletionStage; /** * User: josh * Date: 7/16/13 * Time: 8:39 PM */ public abstract class NotifyingService extends BaseService<NotifyingService.InnerAbstractService> { protected ...
32.666667
171
0.673923
6787e2e627e83f6796c23db6d230e7cae334f495
600
package com.websoul.qatools.suite; import cucumber.api.CucumberOptions; import cucumber.api.junit.Cucumber; import org.junit.runner.RunWith; /** * Test Runner for cucumber scenarios */ @RunWith(Cucumber.class) @CucumberOptions( features = "src/test/resources/com/websoul/qatools/scenarios/", glue = {...
27.272727
72
0.685
5f14568636cdf9e029164787eb77be6bab7bd0e3
1,023
// // ExtraUtilities decompiled and fixed by Robotia https://github.com/Robotia // package com.rwtema.extrautils.command; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.Minecraft; import net.minecraft.command.CommandBase; import net.minecraft.command.IComma...
30.088235
207
0.740958
4db255a45c1248307056dabb91fa1cb34ccfdc7e
3,835
package gq.vaccum121.ui.Release; import com.vaadin.event.ItemClickEvent; import com.vaadin.navigator.View; import com.vaadin.navigator.ViewChangeListener; import com.vaadin.spring.annotation.SpringView; import com.vaadin.spring.annotation.UIScope; import com.vaadin.ui.Button; import com.vaadin.ui.HorizontalLayout; imp...
30.436508
109
0.70352
918307323f5429f7933dc063ac6e8a41a37bc578
1,444
package io.indexr.query.expr; import org.apache.spark.unsafe.types.UTF8String; import io.indexr.query.row.InternalRow; import io.indexr.query.types.DataType; import io.indexr.query.types.TypeConverters; public interface Evaluable { DataType dataType(); long evalUniformVal(InternalRow input); /** Retur...
28.88
70
0.687673
be3be4302320363b0523b3866388c9ee8e286ee0
7,976
package com.miicaa.home.data.net; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; import java.util.IdentityHashMap; import java.util.LinkedHashMap; import java.util.UUID; import android.graphics.Bitmap; import android.util.Log; import com.miicaa.home.data.old.UserAccount; /** * 作者:...
21.498652
90
0.6082
07c066c743b6bb9d0ce2ea76a39b32b2982bb01f
2,916
package monkstone.fastmath; import org.jruby.Ruby; import org.jruby.RubyClass; import org.jruby.RubyModule; import org.jruby.RubyObject; import org.jruby.anno.JRubyClass; import org.jruby.anno.JRubyMethod; import org.jruby.runtime.ThreadContext; import org.jruby.runtime.builtin.IRubyObject; /** * * @author Martin Pro...
25.137931
94
0.647805