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
8e6e1c8ab0d6cae4f75502ed907f57a94ac7b5dd
1,159
package dev.patika.scoreservice.controller; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.junit.jupiter.MockitoExtension; import java.util.HashMap; import java.util.Map; import static org.mockito.Mockito.*; import static org.j...
28.268293
90
0.698016
adeb632fd5d97016e0b5cbefdc9eab18f91585b4
2,666
/* * Copyright (C) 2020 Temporal Technologies, Inc. All Rights Reserved. * * Copyright 2012-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Modifications copyright (C) 2017 Uber Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not * use this f...
33.325
100
0.698425
cbd065eee54ac569a70c9cefeddaad6a9cf0aaf4
8,146
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
49.97546
170
0.689541
c6168cc2048a4d190f83f6e8afa58bc3f446fa70
796
package Constants; import InternalParser.ConfigurationLoader; import java.awt.*; public class Configuration { //JDA constants public static final String kOwnerId = "343633819426881537"; public static final String kBotPrefix = "c!"; public static final String kActivityText = "with Daltz[c!]"; //l...
34.608696
115
0.743719
282a3bc1200c780c4df074052cd9665768a95025
919
package pkg; public class TestBinaryOperationWrapping { public void testStringConcatenation(String longVariableName) { System.out.println( "This is a very very very very very very very very very very very very very very very long string" + longVariableName + longVariableName + longVariableName + lo...
61.266667
370
0.652884
50ce9665e77544e9c68a81ca166f4c0706f3ae11
2,173
package com.bookmyshow.gateways; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit.jupi...
34.492063
87
0.765762
17bf4f7acf0f872dd8d6b6641dd7a611b9b9f495
18,148
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cumimpactsa; import java.util.ArrayList; import javax.swing.DefaultListModel; import javax.swing.ListSelectionModel; /** * * @author ast */ public class ProcessingWindow extends javax.swing.JDialog { /*...
49.857143
159
0.656271
bf1b1a42ee0e1d7352f17871813e3d7ac6ab7aa4
1,117
package tutorialsninja.demo.tests; import io.github.bonigarcia.wdm.WebDriverManager; import org.checkerframework.checker.units.qual.A; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import jav...
28.641026
79
0.674127
1843a34abd98fdf8483ed51d01d1cea8a980f42a
23,318
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Li...
38.478548
251
0.602968
6722b7a648e0e87c10603ad30ca8f19c31ab2e9f
1,508
package com.etiennelawlor.imagegallery.library.utilities; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.graphics.Point; import android.support.annotation.NonNull; import android.util.DisplayMetrics; import android.view.Display; import android.view...
32.085106
107
0.70557
2000040f4adee97747ae8d27737bba45c95ccb15
9,231
package com.home.commonBase.data.social; import com.home.commonBase.constlist.generate.BaseDataType; import com.home.commonBase.data.func.FuncToolData; import com.home.commonBase.data.social.RoleSocialPoolData; import com.home.shine.bytes.BytesReadStream; import com.home.shine.bytes.BytesWriteStream; import com.h...
21.368056
96
0.61391
b6f967196bfaaeca4e60dd197b9f6a0771795468
5,699
/** * 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 ...
37.248366
150
0.789261
80f6b88b1bbb7ddd9a493267b27eea897d2e5396
572
package id.ac.tazkia.auth.authserver.dao; import id.ac.tazkia.auth.authserver.entity.Permission; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.repository.PagingAndSortingRepository; public interface PermissionDao extends PagingAndSortingR...
33.647059
109
0.837413
eefbb27cbdc14ba671b8986bec6940da5deb5fd6
2,335
/** * 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"...
32.430556
76
0.713062
926f17faf0b630f2e466bf9e257121a2ede943c0
2,115
package org.nocket.gen.page.element.synchronizer; import java.text.MessageFormat; import org.apache.commons.lang.StringUtils; import org.apache.log4j.Logger; import org.apache.wicket.validation.IErrorMessageSource; import org.apache.wicket.validation.IValidatable; import org.apache.wicket.validation.IValidati...
32.045455
122
0.715839
313608e3030c98274649831fe8c8a8d4e9ea6139
7,609
package ru.matevosyan.database; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.matevosyan.configuration.Settings; import ru.matevosyan.model.User; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Paths; import java.io.BufferedReader; import java.io.File; import java.io...
35.226852
117
0.589828
a39a7659ecf2bc02d48eee5f781f8a9f0a6ee3dd
1,731
package com.scottlogic.deg.generator.constraints.atomic; import com.scottlogic.deg.generator.Field; import com.scottlogic.deg.generator.inputs.RuleInformation; import java.util.Objects; import java.util.Set; import java.util.regex.Pattern; public class ContainsRegexConstraint implements AtomicConstraint { public...
27.919355
120
0.663778
84ce257c1ab07076592c58df10c90a03335700e9
4,966
package com.loadindicators.adrianlesniak.library; import android.content.Context; import android.content.res.TypedArray; import android.graphics.drawable.AnimationDrawable; import android.os.Build; import android.support.annotation.DrawableRes; import android.support.annotation.IntRange; import android.support.annotat...
31.232704
117
0.648006
6dfbab1981b3e55bd0a0ac2b7f2a0aac450da415
750
public class Animal extends Organism { private static int count; private String name; public Animal(String name, boolean isAlive) { super(isAlive); this.name = name; count++; } // The annotation @Override is allowing this class to change the implementation // of the me...
20.833333
83
0.6
e270995cc21e756d501daa2ef66c12a9d743f3d5
1,566
package com.kenshine.typesafe.test02; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import com.typesafe.config.ConfigValue; import java.util.Map; /** * @author :kenshine * @date :Created in 2021/12/29 10:23 * @description:测试02 * @modified By: * @version: $ */ public class test02 ...
33.319149
121
0.639847
786d62db273d5056fd6d93d435fe8ece888b293e
1,008
package com.dslplatform.json; import jsonvalues.JsStr; import jsonvalues.spec.Error; import java.io.IOException; import java.util.Optional; import java.util.function.Function; final class JsStrParser extends AbstractParser { @Override JsStr value(final JsonReader<?> reader){ try { return ...
26.526316
79
0.609127
87e7663eb5350e6dfb16e5f5e3093bb0323f77e3
4,530
package leonardolana.poppicture.profile; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import an...
35.390625
132
0.762914
6cb069306c2bee0a14fa25856905102c3fd9e8b7
93
package io.broker.api.client.domain.contract; public enum OrderType { LIMIT, STOP }
13.285714
45
0.709677
6bf18adc924a605977b9aed484fade65c9855259
997
package servicenow.api; import static org.junit.Assert.*; import java.net.URI; import java.net.URISyntaxException; import org.junit.Test; import servicenow.api.Instance; import servicenow.api.Parameters; public class InstanceTest { @Test public void testInstance() throws URISyntaxException { Instance instance...
26.945946
122
0.748245
67f80975b8b085574bf6c62398de8e6dddf93635
2,156
package org.powerhigh.multiplayer; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.net.UnknownHostException; import java.nio.channels.Asynchrono...
26.617284
91
0.706865
1cbe0dec1361be7b11f70fcfd09dd42be259719d
97,208
package com.myvirtualcloud.vdicalc; /* * 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, Ver...
38.759171
116
0.730022
c7eed7b5fbc953cdd3353e6875536f7b86a04b02
4,505
/* * This file is the internal part of the PCJ Library */ package org.pcj.internal.storage; import java.io.Serializable; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.S...
36.92623
125
0.638624
1bb89890ea392fbf3c6fbc45cf27ccafaddea6bf
636
package com.leopardslab.dunner; import com.thoughtworks.go.plugin.api.response.DefaultGoApiResponse; import java.util.HashMap; import java.util.Map; public class Result { private boolean success; private String message; public Result(boolean success, String message) { this.success = success; ...
22.714286
68
0.669811
1a3973a3dd0d5aaeb56aad7c9f82b412d6d1528e
2,299
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
27.047059
80
0.741192
78a9d3ae8ce9010e38c80b8b7d4dd4fd71915f1a
3,542
package tflite_digit_recognize; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.view.MotionEve...
29.516667
101
0.602484
2eda90d7d8a43578e18c36fd07d0cf98196b7862
336
package graphql.kickstart.servlet.osgi; import graphql.schema.GraphQLFieldDefinition; import java.util.Collection; public interface GraphQLMutationProvider extends GraphQLFieldProvider { Collection<GraphQLFieldDefinition> getMutations(); default Collection<GraphQLFieldDefinition> getFields() { return getMut...
24
71
0.815476
3dbfa39211958dc1a5303f293bfd77835914036b
2,398
package com.atguigu.gmall.pms.service.impl; import com.atguigu.gmall.common.bean.PageParamVo; import com.atguigu.gmall.common.bean.PageResultVo; import com.atguigu.gmall.pms.entity.CategoryEntity; import com.atguigu.gmall.pms.mapper.CategoryMapper; import com.atguigu.gmall.pms.service.CategoryService; import com.baomi...
35.264706
152
0.734779
bc33c3060289d955a7ede267a532bf8fc8869009
8,920
package sample; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.animation.TranslateTransition; import javafx.concurrent.Service; import javafx.concurrent.Task; import javafx.concurrent.WorkerStateEvent; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.fx...
31.298246
157
0.52713
3f1b96524527c374dd8b2b6c51d2a6e90eb6a34f
83
package gmbh.cathi.sikulitestutility.cathi9.screen; public class Cathi9Screen { }
16.6
51
0.819277
c9fad9b6edfe7237e893b04bab65d1e1d6c5860d
6,600
/** * */ package com.clearent; import static org.junit.Assert.assertEquals; import java.util.HashMap; import java.util.Map; import org.junit.BeforeClass; import org.junit.Test; import com.clearent.impl.CreditCardWithInterestRate; import com.clearent.impl.DefaultWallet; /** * @author Chris Ston...
36.464088
81
0.743636
3604fd62249c4a61dd5a8c3cbfd4f5985b093d4f
2,059
/* * Copyright 2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
29.84058
127
0.694026
a4a9c958c1461fcff06c1a1f8e8c585ca515dae7
3,232
package com.leidos.glidepath.dvi.simulated; import com.leidos.glidepath.appcommon.SignalPhase; import com.leidos.glidepath.dvi.domain.*; import org.apache.commons.csv.CSVFormat; import org.apache.commons.csv.CSVParser; import org.apache.commons.csv.CSVRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; ...
31.076923
131
0.647896
465c0507ea23bc40ffc77f9fd073bc1159cf9421
857
package com.simco.zorko.command; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.simco.zorko.ZorkoGame; public abstract class BaseCommand implements Command { protected static Logger log = LoggerFactory.getLogger(BaseCommand.class); private ZorkoGame game; private String command; ...
21.974359
77
0.66161
99ebb1876d59b910a256bc659309f5d227c4a8ed
2,078
package com.easyapp.ble.connect.response; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import com.easyapp.ble.connect.listener.IBluetoothGattResponse; /** * Created by ...
33.516129
115
0.766121
7a026fa016a7ad2d81ed1aedb6d3adabae17b5de
3,370
/* * Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available...
29.304348
123
0.705638
41d5f7e64163d162ee148255728d2ba9151a3bb6
11,731
package frc.robot.subsystems; import edu.wpi.first.math.geometry.Pose2d; import edu.wpi.first.math.kinematics.DifferentialDriveOdometry; import edu.wpi.first.math.kinematics.DifferentialDriveWheelSpeeds; import edu.wpi.first.wpilibj.ADXRS450_Gyro; import edu.wpi.first.wpilibj.drive.DifferentialDrive; import edu.wpi.f...
38.211726
101
0.621004
39a84740ef00286f652b46b4995cc93b8151a1bd
5,187
package org.pm4j.core.pm.impl.options; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.apache.commons.lang.ObjectUtils; import org.apache.commons.lang.StringUtils; import org.pm4j.common.expr.Expression.SyntaxVersion; import org.pm4j.core.pm.PmO...
35.772414
94
0.6925
85db03b6bbd013d7403bcf9d5a270af846d87022
5,115
/* * Copyright 2017 Jan Buchinger * * 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 t...
29.566474
103
0.687781
61800d66fde9f8010210a8ed2d96ce7103e71803
991
package z.cube.param.test; import org.aopalliance.intercept.MethodInterceptor; import z.cube.param.config.Config; import z.cube.param.config.InitConfig; import z.cube.param.spring.AbstractAdvisorProvider; import z.cube.param.spring.MethodParameterInjectInterceptor; import z.cube.param.spring.ParameterInvocation; impo...
27.527778
80
0.76892
5d8d195bc4219ead446a64f7caf72fbfd7837170
4,609
/** * FlashBuddy User Activity * * FlashBuddy User Activity Class * * @author John Leidel * @author Zack Falgout * @author Chase Baker * @version 1.0 * */ package com.example.flashbuddy; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; impor...
27.76506
86
0.69386
133924c342745915255794caa6b16da268dc3312
503
package com.cookingtime.domain; import lombok.Data; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.util.List; /** * @author Franco Sebastian * Domain class for recipes */ @Data @Document public class Recipe { @Id public String id; ...
19.346154
62
0.735586
89b354645179bf36221a012c2dc93de5ecdd1b01
4,647
/* * MIT License * * Copyright (c) 2020 Artipie * * 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, ...
33.673913
154
0.664515
599bb3f610e6fd3389e5eff12970d6ed04507426
1,558
package com.ruoyi.system.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 城市信息对象 db_city * * @author ruoyi * @date 2019-12-11 */ public class DbC...
19.475
71
0.58665
c483025190dc0589f2f6360e188caeb6458885c6
2,635
package com.cbeardsmore.scart.rmp; import com.cbeardsmore.scart.domain.event.EventType; import com.cbeardsmore.scart.domain.event.ProductAddedEvent; import com.cbeardsmore.scart.domain.event.ProductRemovedEvent; import com.cbeardsmore.scart.dataaccess.EventEnvelope; import com.cbeardsmore.scart.rmp.persistence.Postgre...
43.196721
94
0.742694
f51f4f439aab8a6a45e0acccbc6c825c0452c011
9,553
/** * Copyright (c) 2013, Sana * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
31.949833
118
0.725531
3069fe507928e3a9664b3b4bc3d4de036387b7d2
29,088
package formatter; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.*; import org.antlr.v4.runtime.tree.*; import java.util.List; import java.util.Iterator; import java.util.ArrayList; @SuppressWarnings({"all", "warnings", "uncheck...
38.324111
571
0.67863
ac0d785336eee3dfdf29a0e14194edff4a2fe048
2,767
package com.github.mikhailerofeev.runity.domain.controllers; import com.github.mikhailerofeev.runity.domain.entities.Employee; import com.github.mikhailerofeev.runity.domain.entities.Structure; import com.github.mikhailerofeev.runity.domain.repository.EmployeeRepository; import com.github.mikhailerofeev.runity.domain....
38.430556
122
0.70871
2cf3fde13717804fcc6afc4d2d9272bc6aa3896c
8,291
package com.atomatus.util.cache; import com.atomatus.util.ArrayHelper; import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; /** * <strong>Cache control</strong> * <p> * Mechanism for multitasking and ciphere...
34.836134
144
0.581353
31d2855242ea9ba4843b762785489a5cb48ce83c
18,266
package open.dolphin.message; import java.util.Set; import open.dolphin.infomodel.ClaimBundle; import open.dolphin.infomodel.ClaimItem; import open.dolphin.infomodel.DocumentModel; import open.dolphin.infomodel.DocInfoModel; import open.dolphin.infomodel.ModuleModel; import open.dolphin.infomodel.ModelUtils;...
23.722078
89
0.530549
b94cffb8aeaa2321725c7dbb0ca93ae6224b031d
701
package it.auties.whatsapp.model.message.model; import it.auties.protobuf.api.model.ProtobufProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.experimental.Accessors; import lombok.extern.jackson.Jacksonized; import static it.auties.protobuf.api.model.ProtobufProperty...
21.242424
72
0.747504
6b3a24473dcfd054a3ae136c86968dde6b57e17c
2,873
package pazone.ashot.comparison; import java.awt.Point; import java.awt.image.BufferedImage; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; /** * @author Rovniakov Viacheslav rovner@yandex-team.ru * */ public class PointsMarkupPolicy extends DiffMarkupPo...
27.361905
102
0.611904
f35e0274424c805413e516a4b1ebe35741bb51bf
429
package com.github.ollin.testpyramid.insurance.offer; import com.github.ollin.testpyramid.insurance.UC2TestWithDummies; import com.github.ollin.testpyramid.insurance.times.ValidUntilCalculator; /** * component test. */ public class OfferCreationWithValidUntilCalculatorTest extends UC2TestWithDummies { @Overrid...
28.6
83
0.797203
017a5f3232b328c2ee15ae73fae311a25f3ecac1
2,569
// Copyright 2015 The Bazel Authors. 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 appl...
30.583333
98
0.724406
478677a25e42a30f6bb5b9197a6699f0f37b77af
9,299
/** * 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...
43.453271
115
0.677922
e004812837f674ac641549f76fa7d1caa4e4c4d8
1,026
package com.example.javafxspringbootapp; import javafx.application.Application; import javafx.application.Platform; import javafx.stage.Stage; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.Config...
29.314286
91
0.767057
0f94818cd1b0191a8f45323051fbf479a69840d1
827
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html */ package org.hibernate.query.sqm.domain; import org.hibernate.persister.queryable.spi.E...
26.677419
99
0.756953
43545bfb8fbffbd4bb1b16dc1ae2517f6d74f52f
418
package com.g2forge.alexandria.adt.collection; import com.g2forge.alexandria.java.close.ICloseable; /** * A collection which can be closed when it is no longer needed. Can be used to represent a collection of objects from an I/O intensive backing store, for * example. * * @param <T> The type of the elements in th...
34.833333
154
0.76555
353bb38e36653c3de48a642f3622d6def5dac83f
54,430
/* * Copyright 2018 Mordechai Meisels * * 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...
31.353687
114
0.689932
6ea9325c0dbf84b1e4c8bec05a7a264cde7e4f39
2,772
package com.openkappa.runtime.enummap; import org.openjdk.jmh.annotations.*; import org.openjdk.jmh.infra.Blackhole; import java.util.EnumMap; import java.util.HashMap; import java.util.SplittableRandom; import java.util.UUID; public class EnumMapBenchmark { @State(Scope.Benchmark) public static abstract class ...
24.530973
69
0.624459
b65176d7c7d8776dba5d9f0590e320f5c446fc39
117
package org.springframework.cloud.samplezuulfilters.bean; public interface BaseBean { void echo(String name); }
19.5
57
0.786325
9f3aaae548b7565b978ea05e74e089a933028495
756
/* * Copyright (c) 2017 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.listeners; import org.mockito.verification.VerificationEvent; /** * This listener can be notified of verify invocations on a mock. * <p> * For this to happen, it must be regis...
32.869565
134
0.748677
e846aeeec54444fadb233c02ff27c3b5956ca34b
137
int main() { int x; boolean b; x = -1 + 2; x = 567 * 876; x = 34 - 12; b = 234 < 9218347; b = true && false; return 0; }
12.454545
20
0.452555
46dd9a53baf68f20bca23e28e5466d14da8874ee
563
package ex; import java.util.*; /* * Topic: 有一圓形,直徑為200,且中心座標為(0,0)。 * 請寫一支程式可以輸入「點」的座標,並判斷「點」是否在圓形的範圍內。 * 如果「點」的位置剛好在邊界的話也算是在圓形範圍內(例:x=100,y=0)。 * Date: 2016/09/26 * Author: 105021027 陳宴湘 */ public class ex02_105021027 { public static void main(String[] args) { // TODO Auto-generated method stub Scann...
19.413793
42
0.580817
f6143bc536985abd9c225d802470e632d798fe8a
913
package com.soonsoft.uranus.data.paging.postgresql; import com.soonsoft.uranus.core.Guard; import com.soonsoft.uranus.data.paging.IPagingDailect; /** * PostgreSqlPagingDailect */ public class PostgreSQLPagingDailect implements IPagingDailect { @Override public String buildPagingSql(String commandText, int ...
31.482759
83
0.707558
08faf4f2dda031a192469db1bdb7f2002eba44da
295
package de.yard.threed.traffic; import de.yard.threed.engine.ecs.EcsEntity; import de.yard.threed.traffic.config.VehicleConfig; /** * Created on 09.01.19. */ @FunctionalInterface public interface VehicleBuiltDelegate { void vehicleBuilt(EcsEntity ecsEntity, VehicleConfig config); }
17.352941
65
0.772881
3c2ec1f8a746fcc9313827b401bdda050648828e
1,707
package com.funbasetools.security.jwt.codecs; import static com.funbasetools.security.jwt.Jwt.SEPARATOR; import com.funbasetools.codecs.text.Base64Decoder; import com.funbasetools.security.jwt.DecodedJwt; import java.util.Map; import java.util.function.Function; public final class JwtBase64Decoder implements JwtDeco...
35.5625
98
0.693615
10699e189d83935389e357d187996a824335611e
923
/* * 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 edu.blackburn.cs.cs212.bank.muellervanwormer; /** * * @author joshua.gross */ public class Money { private String ...
21.97619
79
0.632719
65c9cd55ee8fe4d587768387f0890837378c7179
1,186
package com.fasterxml.jackson.datatype.eclipselink; import com.fasterxml.jackson.databind.BeanDescription; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializationConfig; import com.fasterxml.jackson.databind.ser.Serialize...
38.258065
127
0.789207
9994ccd694fdff16f26651dea5f2a47c99aa039c
2,757
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.identity; import com.azure.core.credential.TokenCredential; import com.azure.identity.ChainedTokenCredentialBuilder; import java.util.ArrayList; import java.util.List; /** * The default implement...
36.76
113
0.712006
4d28c7e4e93d4ec32108c77b7c2f9cbf69044d13
1,756
package fr.toulon.masterdapm.MonCoffre.lib; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DatabaseManager extends SQLiteOpenHelper { public static final String TABLE_PASSWORDS = "PASSWORDS"; publ...
33.132075
77
0.740888
389663f54b7fd9a0f1102494c126464de9d2ccaf
1,552
/* * Copyright 2013 The Apache Software 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 a...
31.04
85
0.6875
dae983bce3ac902f9cb17f69c84c9fef7f9614db
643
package com.otcdlink.chiron.mockster; interface ArgumentEvaluator { void evaluate( final Object actualValue ) ; final class Location { public final int invocationIndex ; public final int argumentIndex ; public Location( final int invocationIndex, final int argumentIndex ) { this.invocationInde...
24.730769
88
0.673406
bd45e8ccd52fdd8e36754d74035edb0af7e9891d
5,681
/** * 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...
40.007042
100
0.773279
0ffc259cc84e94762817b616c4f4022d2380db97
30,290
/* * Copyright (C) 2016 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...
39.033505
130
0.644272
ad3a58dc8614b8b558c780915944f1bd5b81a5a4
2,135
package wayerr.jsterest; import java.io.PrintWriter; import java.io.StringWriter; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.Locale; import java.util.logging.Formatter; import java.util.logging.LogRecord; /** */ class...
30.942029
118
0.594848
6f4c5807296364f480e395b3395a750e7bf153ba
4,765
// Copyright 2012 Herman De Beukelaer // // 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...
36.374046
112
0.664218
dfce96f16e2e534191b332dc121a5ec782ccb656
2,013
package me.nurio.events; import lombok.Getter; import lombok.Setter; import me.nurio.events.handler.Event; import me.nurio.events.handler.EventHandler; import me.nurio.events.handler.EventListener; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * This class will tes...
30.5
135
0.700447
6e05db243dae9a7ee35ded6088fa1f76cee7b240
6,221
/* * * 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"); y...
21.525952
70
0.565343
b34ceb9349b1d1110038bd7305ecc217080b5426
194
package com.checkout.forex.four; import java.util.concurrent.CompletableFuture; public interface ForexClient { CompletableFuture<QuoteResponse> requestQuote(QuoteRequest quoteRequest); }
21.555556
77
0.824742
19bd457964ec4a8800782bfb78b062bf66de7fba
992
package com.airbnb.aerosolve.core.function; import com.airbnb.aerosolve.core.ModelRecord; import java.io.Serializable; import java.util.List; public interface Function extends Serializable, Cloneable { // TODO rename numBins to something else, since it's a Spline specific thing Function aggregate(Iterable<Functi...
28.342857
78
0.765121
ee1b2a63fcb00b50801b82a3c1b215f0743ca0dd
2,736
package org.jetbrains.plugins.clojure.formatter.codeStyle; import com.intellij.application.options.CodeStyleAbstractPanel; import com.intellij.openapi.editor.colors.EditorColorsScheme; import com.intellij.openapi.editor.highlighter.EditorHighlighter; import com.intellij.openapi.fileTypes.FileType; import com.intellij....
31.448276
102
0.765351
07c8e0f34eaffa5515feaad52640e0b31daf4b59
1,489
package com.github.skjolber.gtfs; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.github.skjolber.gtfs.transform.Transform; public class DayTransform implements Transform { privat...
21.271429
104
0.714574
9aa41e8a4086a9deb8149af2f204b24d4791abce
3,817
/* * 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.tatsinktech.web.repository; import com.tatsinktech.web.model.register.Parameter; import com.tatsinktech.web.model....
48.316456
201
0.80875
94ebb92dca9ab3fc3d387ddae53f7d5b857f9fe3
669
package mod.timourx.sophosquest.init; import mod.timourx.sophosquest.SophosQuest; import net.minecraft.particles.BasicParticleType; import net.minecraft.particles.ParticleType; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.Forg...
39.352941
151
0.835575
1d25b50baf5b32029086784274e38bd07b94a89a
7,106
package dev.mojobojo.tntman; import java.util.Random; import org.lwjgl.LWJGLException; import org.lwjgl.input.Keyboard; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.DisplayMode; import static org.lwjgl.opengl.GL11.*; //import org.lwjgl.openal.AL; //import org.lwjgl.openal.AL10; //import org.lwjgl.util.Wav...
25.469534
162
0.656769
cb528b1b55a137655996ff0477c2ad6de3b2ac2d
519
package rlbotexample.goals; import rlbotexample.vector.Vector2; public class Goal { private final int team; public Goal(int team) { this.team = team; } public static Goal getDefending(int myTeam) { return new Goal(myTeam); } public static Goal getEnemyGoal(int myTeam) { ...
16.741935
49
0.581888
5e231ff00961c89e25105cff0bdd45137f591840
4,414
/* * 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 servlet; import control.jpa.LogJpaController; import control.jpa.UsuarioJpaController; import control.secutity.SecurityCrypto;...
32.696296
123
0.664024
a0769e8beb8f5d6b27c3ba72a25cf2ab0cf31a46
493
package com.arthurfritz.googleauthenticator.service; import java.util.List; import java.util.Optional; import javax.validation.Valid; import com.arthurfritz.googleauthenticator.dto.UserDto; import com.arthurfritz.googleauthenticator.entity.User; public interface UserService { List<User> listUser(); Optional<Us...
19.72
55
0.787018
92c8c08e4db0e5d58029e59949149dcb4eb7574a
4,589
/** Programmer name: Keilon Robertson * Vehicle Log Final Project * Date: 27/10/2018 * Course: Computer Science II **/ /* THIS IS THE MAIN CLASS FOR THE PROJECT */ import java.io.*; import java.util.*; public class Main { public static void main(String[] args)throws IOException { Sc...
38.563025
133
0.477228
92627e77d4f37b3150e04258bbc58de031075052
846
package org.jessenpan.leetcode.tree; /** * @author jessenpan * tag:tree */ public class S110BalancedBinaryTree { public static class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } private boolean isBalanced = true; public boolea...
20.634146
53
0.56383
eb725d85acf40de14447af7e961e01111be9186c
888
package es.upm.dit.cnvr.dht; import java.io.Serializable; import org.jgroups.Address; public class PacketStep implements Packet, Serializable { public static final int ID = Packet.PACKET_STEP; private Address src; private Address dst; private Integer key; private Data data; private Boolean local; public Pac...
16.754717
85
0.690315
06e382abb4a8eec494225bea0856e382e877d83e
111
package com.kecq.myinfo.model; /** * Created by fyj on 2018/1/10. */ public class ContactModel { }
12.333333
32
0.621622
6e1950302f26d05c1f6fd189c0c406a2547ba07a
6,205
// LICENSE package com.forgedui.core; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.util.Collection; import java.util.HashMap; import java.util.Map; import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources...
25.223577
94
0.72216
b1c569013f10061ebbee256b277f02b6b2592bb7
613
package com.homw.modbus.tcp; import static org.junit.Assert.assertNotNull; import org.junit.Test; import com.homw.modbus.exception.ModbusException; import com.homw.modbus.struct.ModbusFrame; import com.homw.modbus.struct.tcp.ModbusTCPFrameFactory; public class ModbusReadHoldingRegistersTest extends Modbus...
29.190476
110
0.80261
1e98825de32e27eefb0d1305db462a0485850b22
2,909
/** * Copyright (C) 2013 – 2016 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.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/LICEN...
37.294872
177
0.71846