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
f31ee243dbdc81f1d0ef901a907cbb74bc50de08
309
package ru.job4j.profession; /** * Класс описывающий профессию * * @author Viktor Shiayn * @since 17.12.18 */ public class Profession { private String name; private String profession; /** * @return возвращает имя */ public String getName() { return this.name; } }
15.45
30
0.618123
b8de78d1895f0ec68f620e59086aacff3e73d6a5
3,688
package com.refinery408; import javax.swing.AbstractButton; import javax.swing.BorderFactory; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTabbedPane; import javax.swing.plaf.basic.BasicButtonUI; import java.awt.BasicStroke; import java.awt.BorderLayout; import ...
34.148148
87
0.600868
4a184ff2401b8a9b1d9c8da29000a55a484fe3a7
6,107
package com.springboot.core.controller; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.SecurityUtils; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.ExcessiveAttemptsException; import or...
30.688442
139
0.727362
5e0da73ad784f192014d58de63bfcdc4a1c483fb
1,196
package com.rbkmoney.threeds.server.converter.commonplatform; import com.rbkmoney.threeds.server.domain.root.Message; import com.rbkmoney.threeds.server.domain.root.emvco.PReq; import com.rbkmoney.threeds.server.dto.ValidationResult; import lombok.RequiredArgsConstructor; import org.springframework.core.convert.conver...
41.241379
87
0.728261
bd7d2a9ea55d9f359db32ea321982539a076586d
224
package org.rabbitmq.demo; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class RabbitMqDemoApplicationTests { @Test void contextLoads() { } }
16
60
0.758929
f7d7d3db63b9d3b2e3444a11b86bde9bdfffbcad
7,531
/** * BNField6.java * * Arithmetic in the finite extension field GF(p^6) with p = 3 (mod 4). * * Copyright (C) Paulo S. L. M. Barreto and Geovandro C. C. F. Pereira. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
29.189922
98
0.586509
360566fb1b2ca27148503fef0d3429d2ebd74053
1,130
package wtvindonesia.application.com.model; import java.io.Serializable; public class tagihan_telkom_detail implements Serializable { private static final long serialVersionUID = 1L; String periode; double nilaiTagihan, denda, admin, transaksi, fee, total; public tagihan_telkom_detail(String periode...
22.156863
143
0.633628
4a40fadd14b4e0694792b0e430b47266cf487e90
1,176
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
30.153846
94
0.721939
692913af3dd825358535ab1fb81f2b207faa4651
1,988
import java.util.Scanner; public class TicTacToe{ public static int row, col; public static Scanner scan = new Scanner(System.in); public static char [][]board = new char [3][3]; public static char turn = 'X'; public static void main(String[] args){ for (int i = 0; i < 3; i++){ for (int j = 0; j ...
25.487179
95
0.547787
c5ccf14e2eb9346174a2020e80b9364769302434
2,304
package gBacktracking; /** * Start in the leftmost columm If all queens are placed, return true for (every possible choice among the rows in this column) if the queen can be placed safely there, make that choice and then recursively try to place the rest of the queens if recursion successful, return tru...
24.252632
113
0.61849
e977284f381f92f162ad9072f7002e687fd20396
989
package hiennguyen.me.architecture.example.features.login.views; import android.os.Bundle; import android.os.Handler; import android.support.annotation.Nullable; import hiennguyen.me.architecture.R; import hiennguyen.me.architecture.databinding.ActivitySplashBinding; import hiennguyen.me.architecture.example.features...
32.966667
96
0.76542
c777529bc3d85c93163328bad924eab8c7dd24c8
1,307
package systems.coyote; public class TestResponse { String location = null; int status = 0; String data = null; private Exception exception = null; private volatile boolean complete = false; public TestResponse( final String url ) { location = url; } public String getData() { return dat...
13.07
93
0.634277
b21536934e5562b49a20ef8de9f5449327cf743b
793
package com.ciskow.salesapp.repositories; import com.ciskow.salesapp.dto.SaleSuccessDTO; import com.ciskow.salesapp.dto.SaleSumDTO; import com.ciskow.salesapp.entities.Sale; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; publ...
39.65
111
0.757881
cd44a7d4ab49ee2b07538dcf7af4a240f950e941
4,515
package com.tubitv.media.controller; import android.support.annotation.Nullable; import android.view.View; import android.webkit.WebView; import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.SimpleExoPlayer; import com.tubitv.media.utilities.PlayerDeviceUtils; /** * Created by allensun on 8/3...
24.807692
106
0.663566
c4c86ae2926e047081f49aa5ac3315f0d0e04bc9
303
package com.at.hal9000.domain.service.push.model; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.ToString; @Data @ToString(callSuper = true) @EqualsAndHashCode(callSuper = true) public class AlarmPinValueEvent extends Event { private String pinId; private String value; }
20.2
49
0.785479
aaafebd418d6716191a936b7f2236a15a8778eed
27,748
/* * 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 n...
36.801061
161
0.686968
577a5b7267d5dfc89a5bd4ceb6fb5e32ae82751e
1,424
public class multiD { public static void main(String[] args){ //normal int array - 1D array int[] values = {3, 4, 5}; //int 2D array int[][] grid_values = { {1,2,3}, {4,5,6}, {7,8,9} }; for(int row=0; row < grid_values.length; row++){ for(int col=0; col < grid_values[row].length; col++){...
24.551724
81
0.577949
62f22e56398c8fa8040497e1eecb554e2b2861e0
3,560
package com.nightonke.boommenusample; import android.graphics.Color; import com.nightonke.boommenu.BoomButtons.HamButton; import com.nightonke.boommenu.BoomButtons.SimpleCircleButton; import com.nightonke.boommenu.BoomButtons.TextInsideCircleButton; import com.nightonke.boommenu.BoomButtons.TextOutsideCircleButton; ...
35.959596
103
0.678371
aca24cbc780dbb5d32c55899bee0771535ba779f
1,256
/* * 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 * dist...
25.632653
75
0.661624
188c4763d914d2e631e49223fc22e48720e579f8
3,956
/* * $Id: ImageArgument.java 3271 2008-04-18 20:39:42Z xlv $ * Copyright (c) 2005-2007 Bruno Lowagie, Carsten Hammer * * 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 * ...
35.321429
86
0.665824
cedbf4e7b5315495dfd9268dfe182d3878582120
743
package org.abcframework.common.configuration.cache; import java.util.List; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer; import org.springframework.cache.concurrent.ConcurrentMapCacheManager; import org.springframework.ster...
32.304348
97
0.79677
8ae88b5db732e7f99e6807141587899bf6eae663
1,045
package com.MyCode.array.ArrayRotation; /* ** * Reference :- https://www.geeksforgeeks.org/program-for-array-rotation-continued-reversal-algorithm/ */ public class ReverseAlgoforArrayRotation { public static void main(String[] args) { int arr[] = {1, 2, 3, 4, 5, 6, 7}; int n = arr.length; ...
20.490196
103
0.524402
334e82bc6c7bb6648baaf9de0a5b6514fa09ba06
464
package com.bianmaren.service; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.bianmaren.model.BaseModel; /** * @ClassName : SysSettingServiceImpl * @Description : BaseService * @Author : bianmaren * @Date: 2020-08-20 23:47 *...
24.421053
102
0.760776
b8f5bb2b3d6dd8c3f0b8eaf8dc911d1c89c76e06
302
package pv168.hotelmasters.superhotel; import java.util.List; /** * @author 445434 */ public interface GuestManager { void createGuest(Guest guest); void updateGuest(Guest guest); void deleteGuest(Guest guest); Guest findGuestById(Long guestId); List<Guest> findAllGuests(); }
18.875
38
0.718543
b5b08b1ede2e45ac8ec53a9098c3cf32a19daded
1,590
/* * Copyright (c) 2019 Rica Radu-Leonard */ package game.resources.characters.angels; import game.resources.characters.angels.abstracts.Angel; import game.resources.characters.heroes.knight.Knight; import game.resources.characters.heroes.pyromancer.Pyromancer; import game.resources.characters.heroes.rogue.Rogue; i...
26.949153
62
0.64717
6fa659ab753a366b2e5903f0253c4d4c156d9f6b
687
package com.bad_elf.badelfgps; import java.util.List; import com.bad_elf.badelfgps.BadElfRemoteControlServer; public class BadElfRemoteController { public static final String TAG = "BadElfRemoteController"; private List<BadElfDevice> badElfDevices; private BadElfRemoteControlServer server; private B...
21.46875
65
0.72198
e5e561b458c477b2ba7102aa74a18bcc27236ec1
4,347
package edu.ucam.ux; import java.util.List; import javax.swing.BoxLayout; import javax.swing.DefaultListModel; import javax.swing.JButton; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.ListSelectionModel; import edu.ucam.beans.Asig...
28.788079
98
0.766736
6381c0eef6b46e9a1f8b62a7d418b1948ae017f6
2,142
package org.usfirst.frc.team2506.robot; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import edu.wpi.first.wpilibj.*; public class RoboLib { private Joystick joystick; private RobotDrive driveTrain; private Map<Integer, Solenoid[]> solenoids = new HashMap<Integer, Solenoid[]>(); pri...
30.6
138
0.733427
00918ba07bbeb5913b6ab7535049ccfb0aa48bf9
234
public static void mattran_j(double a[][], double at[][], int n, int p) { int i, j; for (i = 0; i < n; i++) { for (j = 0; j < p; j++) { at[j][i] = a[i][j]; } } }
26
77
0.324786
76a45a6f9235741161990d6812debab3504077b4
1,308
package com.feng.springcloud.consumer.service.impl; import com.feng.springcloud.consumer.service.CallService; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.exception.ExceptionUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.client.ServiceInstance...
30.418605
116
0.782875
e94a16a62d6c22b30cc51cf00c2af3c88a395f7e
3,384
package org.lflang.generator; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.lflang.ErrorReporter; /** * An error reporting strategy that considers only one line * of validator output at a time. */ public clas...
39.811765
105
0.599291
8c4361703eed61cc953f6750d7f6100398152a8e
1,457
package infrastructure; import entities.ProductionEntity; import shortages.ShortagesFacade; import shortages.monitoring.ShortageService; import java.util.List; import java.util.stream.Collectors; public class ShortageServiceACL { private ShortageService oldService; private ShortagesFacade newService; p...
28.568627
85
0.694578
5efe2241caff3ba712213aef8b6a0783edcd1247
5,900
package de.espend.idea.php.phpunit.completion; import com.intellij.codeInsight.completion.*; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.patterns.PsiElementPattern; import com.intellij.psi.PsiElement; import com.intellij.util.ProcessingContext; import com.jetbrains.php.PhpIndex; import co...
51.304348
181
0.730508
1dcbb5de2b85d4efa1714ace8daec1e20e627d98
7,799
/* * Copyright 2015-present Open Networking Foundation * * 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...
34.973094
100
0.654571
e5c87c8b8a1e1899bd812137eb65c66f79c21fbd
1,226
package com.ruoyi.common.utils.spring; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework.stereotype.Component; /** * spring工具类 方便在非sprin...
27.244444
107
0.716966
f4f24d671cc106a395b94791aba038724aba2cd8
1,142
package com.qiwen.interview.thread; import java.util.concurrent.*; /** * 线程池 * @author liqiwen * @since 1.2 * @version 1.2 */ public class MultiThreadDemo { public static void main(String[] args){ ExecutorService executorService = Executors.newFixedThreadPool(1); ExecutorService executorSer...
31.722222
179
0.651489
729cce71526392555bfd0213e71b81f42436bd86
10,584
package com.hybris.mati.pages.WebshopPages; import org.openqa.selenium.By; import com.hybris.utils.*; public class ProfilePage extends Page{ public enum FieldName implements Storable { YOUR_ACCOUNT, CHANGE_EMAIL_FORM, EDIT_EMAIL_BUTTON, EMAIL_CHANGE_TEXTFIELD, EMAIL_CHANGE_SHOW_PASSWORD_CHECKBOX, C...
69.631579
185
0.763511
1b6da556fc702bb040d5aa3357518e9dbb8575b3
540
package org.malloc.leet.code; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * @author malloc * @since 2020/6/11 */ class DailyTemperaturesTest { private final DailyTemperatures temperatures = new DailyTemperatures(); @Te...
25.714286
97
0.683333
3638523c4549af4ecf063ab58d51c5f43fbd2155
426
/* * Copyright © 2019 VMware, Inc. All Rights Reserved. * SPDX-License-Identifier: BSD-2-Clause */ package com.vmware.connectors.salesforce; import javax.validation.constraints.NotBlank; public class UpdateNextStepForm { @NotBlank private String nextStep; public String getNextStep() { return ...
19.363636
53
0.694836
267fd8636901c8e1b17928e4ac051210be2e64f3
673
//(c) A+ Computer Science //www.apluscompsci.com //Name - import static java.lang.System.*; public class RomanNumeral { private Integer number; private String roman; private final static int[] NUMBERS= {1000,900,500,400,100,90, 50,40,10,9,5,4,1}; private final static String[] LETTERS = {"M","CM","D...
11.807018
69
0.609212
4af650d7b734360db979b0e888885156f769271c
2,060
package com.postnow.backend.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.hibernate.annotations.LazyCollection; import org.hibernate.annotations.LazyCollectionOption; import org.hibernate.annotations.OnDelete; import org.hibernate.annot...
32.698413
133
0.752427
12984dc352bd5c44104543dd48dc75a3c5eae7d4
1,648
package net.ros.common.fluid; import lombok.Getter; import lombok.Setter; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fluids.FluidTank; public class LimitedTank extends FilteredFluidTank { @Getter @Sett...
24.969697
75
0.656553
14802a44987bb2f42cce6f098c2ff572c47299b6
2,637
/** * 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...
36.123288
96
0.749336
12322fe978cd69f5ffcfce12e5f135cb5cf3dfbb
35,745
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * File name : BrobIntTester.java * Purpose : Test Harness for the GinormousInt java class, used as baseline for assessment * @author : B.J. Johnson * Date : 2017-04-05 * Description: @see <a...
48.434959
170
0.490922
b4cd9956e03e44de6c0f247976555384cb23cace
3,105
package org.adrianl.demospring.controller; import lombok.RequiredArgsConstructor; import org.adrianl.demospring.dto.ProyectoDTO; import org.adrianl.demospring.dto.RepositorioDTO; import org.adrianl.demospring.mapper.RepositorioMapper; import org.adrianl.demospring.model.Login; import org.adrianl.demospring.model.Proye...
39.303797
123
0.704992
b0b11b5dc6d95398377936c32484071cc4941685
2,402
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.B...
29.292683
70
0.699833
9c1ce13b0f0bb9cd772dc682a248bb225f36b0b2
1,414
package com.faravy.adapter; import java.util.ArrayList; import com.faravy.icare.R; import android.annotation.SuppressLint; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; p...
26.679245
72
0.772984
8ad5ed1170f88ce611828355469aca33db57b32b
6,861
package parisnanterre.fr.lexify.connection; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.View; import android.widget.Button; import android...
35.734375
150
0.613759
aff659f38a14e80cc38829502a44e168bee13fc5
797
/* https://binarysearch.com/problems/Tree-Sum-Count */ import java.util.ArrayList; /** * public class Tree { * int val; * Tree left; * Tree right; * } */ class Solution { int sumsToK = 0; public int solve(Tree root, int k) { ArrayList<Integer> path = new ArrayList<>(); dfs(root, k,...
22.138889
65
0.484316
8c8e0e0e1b10899c1e2b5c6d02ab996facf097d0
807
// 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; import edu.wpi.first.wpilibj.XboxController; import edu.wpi.first.wpilibj2.command.button.Button; e...
20.692308
74
0.648079
3209db3f7580ba8ef2c6f008284b6b372b76d31e
2,337
package lc.datastruct.hash; import lc.DisplayUtil; import java.util.Arrays; import java.util.Collections; import java.util.HashSet; /** * @Desc 349. 两个数组的交集 * @Author wuzh * @Date 2021/4/20 */ public class N0349 { public static void main(String[] args) { // 输入 int[] nums1 = {2, 1, 3}; ...
22.471154
86
0.460419
a28ac876a2d59d088a8dc02495f3af344d9fed09
8,906
/******************************************************************************* * * Copyright 2012 Impetus Infotech. * * * * 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 * * *...
32.385455
134
0.626656
896448a3dde37a31ed167bf49d034745d5185de2
4,474
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // th...
37.283333
106
0.781627
38b19028b03507014b882179f984bc55e8587f6f
2,604
package mage.cards.r; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.costs.mana.GenericManaCost; import mage.abilities.effects.common.CopyStackAbilityEffect; import mage.abilities.effects.common.DoIfCostPaid; import mage.abilities.mana.ActivatedManaAbilityImpl; import mage.cards.CardImpl; import mag...
32.962025
160
0.71659
4220636b41917127451291e1532614311f878065
16,796
/* * Copyright 2016 Realm 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 wr...
54.006431
157
0.671827
3f58839835a3b32a8d9e79801911dfdf1270148e
13,413
/* * This file is generated by jOOQ. */ package com.oneops.crawler.jooq.cms; import com.oneops.crawler.jooq.cms.tables.CmCi; import com.oneops.crawler.jooq.cms.tables.CmCiAttributes; import com.oneops.crawler.jooq.cms.tables.CmCiRelationAttributes; import com.oneops.crawler.jooq.cms.tables.CmCiRelations; import com....
36.848901
156
0.71878
7153f60876c765c8ba36df82f0526e2b6300db11
8,037
package org.oskari.map.userlayer.service; import fi.nls.oskari.domain.map.OskariLayer; import fi.nls.oskari.domain.map.userlayer.UserLayer; import fi.nls.oskari.domain.map.userlayer.UserLayerData; import fi.nls.oskari.domain.map.wfs.WFSLayerOptions; import fi.nls.oskari.log.LogFactory; import fi.nls.oskari.log.Logger;...
46.189655
140
0.680229
8889076e753682941117b8a63b9843a0e9a28a0d
3,585
/* Copyright (C) 2012 Tim Boudreau 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, modify, merge, publish, distrib...
41.686047
112
0.625662
08915d4ff5c1113b9373e35c3444a034097c5cb6
4,017
package uk.bl.monitrix.model; import java.util.List; /** * The known host list interface. Provides read/query access to the list of * crawled hosts. * @author Rainer Simon <rainer.simon@ait.ac.at> */ public interface KnownHostList { /** * Returns the total number of known hosts. * @return the number of hos...
31.382813
98
0.727657
8bcda7e650305fead7c5cd846b6ed4a385bc4c50
15,360
package com.refinedmods.refinedpipes.setup; import com.refinedmods.refinedpipes.RefinedPipes; import com.refinedmods.refinedpipes.RefinedPipesBlockEntities; import com.refinedmods.refinedpipes.RefinedPipesBlocks; import com.refinedmods.refinedpipes.RefinedPipesContainerMenus; import com.refinedmods.refinedpipes.networ...
69.818182
136
0.723307
8121949712d0daf9b29b407c4eac8259dab8a3fb
10,235
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas.util.scripting.ExecutableCompiledGroovyScript; import org.apereo.cas.util.scripting.ScriptingUtils; import...
52.757732
131
0.612408
84cf9172e9996cdd7c0ffebf0c09b068a8b89224
4,724
package com.daxton.customdisplay.listener.mythicmobs; import com.daxton.customdisplay.CustomDisplay; import com.daxton.customdisplay.api.entity.Convert; import com.daxton.customdisplay.api.player.PlayerTrigger; import com.daxton.customdisplay.manager.MobManager; import com.daxton.customdisplay.manager.PlaceholderManag...
38.096774
140
0.593353
dddc0c6d975338f647118c6438612cd38b4ed0ea
389
package xyz.tiancaikai.gulimall.product.dao; import xyz.tiancaikai.gulimall.product.entity.AttrGroupEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 属性分组 * * @author tiancaikai * @email 523866653@qq.com * @date 2020-09-09 09:39:19 */ @Mapper pub...
21.611111
67
0.773779
63dcabd37497202f86c9efeaa4f3933cc0f811a3
924
package software.amazon.awssdk.eventstreamrpc; import com.google.gson.Gson; import software.amazon.awssdk.crt.eventstream.Header; import java.nio.charset.StandardCharsets; import java.util.LinkedList; import java.util.List; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; public cla...
38.5
126
0.752165
80b8f93be3ff81cd9cbe9af6bf4644915fd7a91c
7,617
/** * Copyright 2005-2014 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 a...
46.163636
141
0.587502
63d4bafb9e21cdf5cb84f09da27eb2ba8f45e718
4,933
package com.wavesplatform.wallet.ui.zxing; import android.content.Context; import android.content.res.Configuration; import android.view.Surface; import android.view.WindowManager; public class RotationUtil { private int _deviceRotationSetting; private int _deviceOrientation; public RotationUtil(Context...
37.946154
139
0.556862
0a9344d1242869dca9a845cf23b046f84018c6b8
494
package com.aweolumidedavid.covid19stat.service; import com.aweolumidedavid.covid19stat.model.SuppliesToTheCountry; import java.util.List; import java.util.Optional; public interface SuppliesToTheCountryService { List<SuppliesToTheCountry> getSupplyDetails(); Optional<SuppliesToTheCountry> findById(Long id...
24.7
73
0.815789
81c2592430ff7b70e3e02d4cab571ea02683a1ff
2,610
/* * Copyright 2014 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 applica...
41.428571
129
0.772414
488fa3c0ce87987f48f7f895d136ca49520bae6b
1,062
package ch.rasc.jsonp; import java.util.Map; import jakarta.json.Json; import jakarta.json.stream.JsonGenerator; public class StreamWrite { public static void main(String[] args) { var properties = Map.of(JsonGenerator.PRETTY_PRINTING, Boolean.FALSE); try (JsonGenerator jg = Json.createGeneratorFactory(pr...
27.230769
74
0.541431
fc44ebc2965c95139754d283aa9aef62817a7d70
4,652
package com.mytoy.starter.tools; import org.apache.commons.lang3.StringUtils; import java.util.ArrayList; import java.util.List; public class MyString { /** * 下划线转驼峰 */ public static String underline2Camel(String str) { if (StringUtils.isNotBlank(str)) { char[] chars = str.toCha...
30.012903
101
0.468401
8e5e2f1b32dc5ea00622923113ef78f093c3e47e
1,384
package com.huyunit.sample.andfix; import android.content.Context; import android.util.Log; import com.alipay.euler.andfix.patch.PatchManager; import com.huyunit.sample.util.UiUtils; import java.io.IOException; /** * author: bobo * create time: 2017/11/14 下午7:39 * email: jqbo84@163.com */ public class AndFixPat...
25.163636
59
0.593931
1e3c90716caa2070fefcdb4e5def1f805c50a61f
3,078
/* * The MIT License (MIT) * * Copyright (c) 2017-2018 Yegor Bugayenko * * 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 *...
32.744681
80
0.62898
7a821d9ec09e1e05a29210339d1a6ca0ab44a247
342
package subway.view; import java.util.Scanner; public class InputView { private final Scanner scanner; public InputView(Scanner scanner) { this.scanner = scanner; } public String userStringInput(String userInput){ System.out.println(); System.out.println(userInput); return scanne...
21.375
65
0.687135
8d39fba128457f928057dc8c177026c9d8a513b9
3,714
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
45.851852
171
0.696015
766f74eb1a44b59001700630486ef74911eabe81
48,932
package com.vimukti.accounter.web.client.ui.vendors; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.eve...
30.774843
159
0.731709
31ecaa2c1c58f3bb2e5810a9aa8587a628362bcf
238
package net.minecraft.server; public interface ArmorMaterial { int a(EnumItemSlot enumitemslot); int b(EnumItemSlot enumitemslot); int a(); SoundEffect b(); RecipeItemStack c(); float e(); float f(); }
12.526316
37
0.642857
fac35099090e821220eb2ddaefd473a72b4e2181
5,356
/** * Copyright © 2020-2021 ForgeRock AS (obst@forgerock.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 b...
47.821429
114
0.723861
d71e9888f2812db0a567bda83616409b6381fb76
1,545
/** * */ package com.client; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.model.Conditional; import com.model.Logical; import com.model.Maths; import com.model.ObjectAccess; import com.model.Regex; import c...
30.294118
82
0.702265
c837d60c8339eadf862c42b465539d6c4d0255a3
283
package com.springdatarest.dataRepos; import com.springdatarest.models.LandLord; import org.springframework.data.repository.PagingAndSortingRepository; /** * Created by mac on 6/29/17. */ public interface LandLordRepository extends PagingAndSortingRepository<LandLord, Long> { }
25.727273
88
0.816254
8a8ef718ba85407774cce50bfd64c80896c0b92c
22,428
package TestScript.B2B; import org.testng.ITestContext; import org.testng.annotations.Test; import org.openqa.selenium.*; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.Select; import org.openqa.selenium.support.ui.WebDriverWait; import java.text.SimpleDateFormat; impo...
35.487342
93
0.667068
9e89b7ba442adfcd8a5aea4532aa6e178b493bfc
217
package com.iwares.qbatis; import java.util.List; public interface ThinDao<DataType, KeyType> { public DataType selectThin(KeyType id); public List<DataType> selectThinConditional(Condition condition); }
18.083333
69
0.769585
efea70fddca29148b036f82614843dab4a4a3b12
666
/* * 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 planer; /** * * @author PC */ public class Koordinate { double k1; double k2; public Koor...
17.076923
80
0.533033
9d2bd86abf9c40b6ccfc23efc71979d148add236
3,223
package com.bmtc.svn.domain; import java.sql.Timestamp; import com.bmtc.boc.domain.BocBaseDO; /** * SVN用户权限信息类 * @author lpf7161 * */ public class SvnUserAuthz extends BocBaseDO { /** * svn用户权限id */ private long id; /** * svn用户权限 */ private String svnUserAuthz; /** *...
19.773006
76
0.670804
3bde5608472486f30c815fbdc4c3d5b0d6c3d1ef
263
package edu.uoc.lti.deeplink.content; import lombok.Builder; import lombok.Getter; import lombok.Setter; import lombok.ToString; /** * @author Created by xaracil@uoc.edu */ @Getter @Setter @ToString @Builder public class Embed { private final String html; }
14.611111
37
0.756654
3ee3eaf0fe2157fe61959a4b6b04b842a221d1d2
776
package com.krishagni.catissueplus.core.biospecimen.repository; import java.util.Date; import java.util.List; import com.krishagni.catissueplus.core.biospecimen.domain.Participant; import com.krishagni.catissueplus.core.biospecimen.events.PmiDetail; import com.krishagni.catissueplus.core.common.repository.Dao; publ...
28.740741
76
0.814433
ddf1cb001819dc762daafa2b3482e6a286cbf8c8
1,346
/* $Id$ */ package com.linkedin.parseq.example.simple; import com.linkedin.parseq.Engine; import com.linkedin.parseq.Task; import com.linkedin.parseq.example.common.AbstractExample; import com.linkedin.parseq.example.common.ExampleUtil; import com.linkedin.parseq.example.common.MockService; import java.util.concurren...
29.911111
77
0.732541
c689ead1a5bda388d025ec723c27a4fa18cbf989
724
package com.zl.way.city.api.model; public class WayCityResponse { private Integer id; private String name; private String adcode; private String citycode; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getNa...
16.088889
46
0.585635
e33c695810a936b6d95355a0b812a1aedb6104fb
2,290
package org.folio.rest.utils.nameresolver; import io.vertx.core.Context; import io.vertx.core.Future; import io.vertx.core.buffer.Buffer; import io.vertx.core.json.JsonObject; import io.vertx.core.logging.Logger; import io.vertx.core.logging.LoggerFactory; import io.vertx.ext.web.client.HttpRequest; import io.vertx.ex...
34.179104
95
0.653275
6abb2f41a576f6814651324e48efaa1b8066fc17
4,611
package net.tslat.aoawikihelpermod.dataprintouts; import net.minecraft.command.ICommandSender; import net.minecraft.entity.EntityLiving; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraft.util.text.TextComponentString; import net.minecraft.world.World; import net.mine...
35.744186
313
0.763826
1464092b2571dc77624433fc833558d129ae0500
33,353
/* * Copyright 2013 The Netty Project * * The Netty Project licenses this file to you 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 ...
40.378935
119
0.554103
f7c92efbb064652d86fd20b34089f718077ff7f2
210
package com.globallypaid.exception; public class ForbiddenException extends GloballyPaidException { public ForbiddenException(Integer code, String message, Throwable e) { super(code, message, e); } }
23.333333
72
0.77619
2a74f1b04eb38faa4e204ef0f2c40762423cfdc8
200
package objects; public class Person extends GameObject { int hp; Weapon weapon; public Room room; boolean isDead() { if (hp <= 0) { return true; } return false; } }
11.764706
41
0.59
a364f6faf52af2f3c729bcf966f28d135b6c9c68
4,935
/* * Copyright 2014 - 2021 Blazebit. * * 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...
36.021898
119
0.700507
527f9a0cce1b7d20e8bafeab13d93b74e9b5f835
1,196
/* Copyright 2015 HJOW 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, softwa...
21.357143
73
0.698161
868d015d3b9af024254baba6900773f9431a8066
1,248
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.blockchain.models; import com.aliyun.tea.*; public class ALiYunChainConfigOption extends TeaModel { // config_option @NameInMap("config_option") public String configOption; // show_name @NameInMap("show_n...
25.469388
96
0.676282
4cbd129f025a55ea1422468ad3993d6b152beef9
4,253
package ru.rsmu.olympreg.utils.restconnector; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.tapestry5.ioc.annotations.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory;...
36.042373
103
0.665413
fbfceb446b755b6bba6bc9357fd6ae222cae1a52
3,304
package com.febs.shangpin.controller; import com.baomidou.mybatisplus.core.toolkit.StringPool; import com.febs.common.annotation.ControllerEndpoint; import com.febs.common.controller.BaseController; import com.febs.common.entity.FebsResponse; import com.febs.common.entity.QueryRequest; import com.febs.shangpin.entity....
38.870588
122
0.766646
51c514873436d690176949fecd5cb22bb3935939
798
package com.chutneytesting.jira.xrayapi; public class XrayEvidence { private String data; private String filename; private String contentType; public XrayEvidence(String data, String filename, String contentType) { this.data = data; this.filename = filename; this.contentType =...
20.461538
75
0.635338
fb56413596747bf5b9ed908f87afbe18709ef848
2,153
package io.choerodon.test.manager.app.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import org.springframework.web.multipart.MultipartFile; import i...
45.808511
171
0.806317
e51d8f24ac1986bf574fa505767318376d6c8c90
5,731
package com.github.bot.curiosone.core.nlp.raw; import com.github.bot.curiosone.core.nlp.LEX; import com.github.bot.curiosone.core.nlp.POS; import edu.mit.jwi.item.IWordID; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Obje...
21.626415
92
0.604607