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
63cb77297c6a97fd4e1a56f84ef8d327421346d8
1,564
package me.katsumag.itemactionslib.listeners; import com.google.common.collect.HashMultimap; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.Multimap; import me.katsumag.itemactionslib.Action; import me.katsumag.itemactionslib.ActionItem; import me.katsumag.itemactionslib.Utils; im...
34
87
0.702046
72dc8553f5a450ec6aac6f89e4eebe1c68e20c39
601
package me.escoffier.lab.chapter5; import io.reactivex.observers.TestObserver; import io.vertx.core.json.JsonArray; import org.junit.Test; import java.util.concurrent.TimeUnit; import static me.escoffier.lab.chapter5.Code2.load; public class Code2Test { @Test public void loadShouldLoadFileCorrectly() throw...
26.130435
75
0.703827
ce3e71b597d7a8644f477a8a3a7bb9dc2355785c
1,665
/* * Copyright 2021 Haulmont. * * 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...
25.615385
82
0.699099
84dd74aeee5cb7d5250f4b66e69dbbc464287d28
9,765
/* * 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 ...
39.375
103
0.683666
8b65f8e35139f8e7d1d46e20c96771637c8b46c3
5,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 ...
27.98913
101
0.713981
442184ee4e184131a24712b8928575f574870f4c
1,538
package org.spongycastle.openpgp.operator.bc; import java.util.Date; import org.spongycastle.crypto.AsymmetricCipherKeyPair; import org.spongycastle.crypto.params.AsymmetricKeyParameter; import org.spongycastle.openpgp.PGPAlgorithmParameters; import org.spongycastle.openpgp.PGPException; import org.spongycastle.openp...
36.619048
136
0.762679
5b0edf514dd1b90e3b43c36b9b85c7dee496d057
565
package br.com.zup.oragetalents.proposta.external.cartoes; import java.time.LocalDateTime; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat.ISO; public class Vencimento { private String id; private Integer dia; @DateTimeFormat(iso = ISO.DATE_...
18.225806
64
0.771681
9db03d8283d1d5e2f537e95ae5a4150b35cdaa2c
12,126
package org.educama.flightconnection.datafeed; import org.educama.App; import org.educama.airline.model.Airline; import org.educama.airline.repository.AirlineRepository; import org.educama.airport.model.Airport; import org.educama.airport.repository.AirportRepository; import org.educama.flightconnection.model.FlightC...
39.37013
143
0.68448
e36dfc862b73330d16b99b9ed86fd9256f166137
1,279
package se.sunet.ati.ladok.atom; import static org.junit.Assert.assertEquals; import java.io.InputStream; import java.util.List; import org.apache.abdera.Abdera; import org.apache.abdera.model.Document; import org.apache.abdera.model.Entry; import org.apache.abdera.model.Feed; import org.apache.abdera.parser.Parser;...
28.422222
116
0.73964
8c5acae987b600d986eb4ea07d9e96bbf0f703a7
20,601
/** * The MIT License (MIT) * * Copyright (c) 2015 Arbalo AG * * 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, c...
38.363128
127
0.705937
35b1b06a10dff0b2b938e6887298bbf5d66faefb
461
package edu.iastate.cs309.jr2.CatchTheCacheServer.models; import java.util.ArrayList; import edu.iastate.cs309.jr2.CatchTheCacheServer.cache.Cache; public class CacheListResponse { ArrayList<Cache> cacheList; public CacheListResponse(ArrayList<Cache> cacheList) { this.cacheList = cacheList; } public ArrayLis...
20.954545
61
0.778742
3212696ae0bc16b3d03517843efc2041878cbb4b
3,197
package com.neu.his.dao.entity; import javax.persistence.*; import java.sql.Timestamp; @Entity @Table(name = "diagnosis", schema = "neu_his", catalog = "") public class DiagnosisEntity { private int id; private int caseId; private int regId; private int diseaseId; private byte diagnosisType; p...
24.40458
105
0.604629
a0b208155c1ffa508329c8b1dc643839cd51f966
1,383
package com.acai.model.entidade; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.validation.constraints.DecimalMax; imp...
27.66
83
0.704989
e032a8ee559df702453dd7a021d3eaf2dca21e1d
3,676
package io.freestar.ssp.server.common.core.system.job; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.BufferedReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.File; import java.io.PrintWriter; public final class CommandTool { pr...
28.944882
90
0.643362
efa6ebdc8335e3d5bfd529af5f5eb36806d47561
11,126
/* * Copyright (C) 2016-2020 the original author or authors. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
35.320635
112
0.770627
ad0def70a2905af9e3e3c0855c35dcd272e33f12
56,092
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CDDL") (...
31.459338
80
0.64207
889ccb2484ce6080c6109c5403b1997ccf0312bf
3,179
package org.firstinspires.ftc.team9450.auto; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import org.firstinspires.ftc.team9450.sensors.Gyroscope; import org.firstinspires.ftc.team9450.subsystems.C...
29.435185
119
0.586033
3df925aceddacf6f154b33c7ecd12ea7e3b57ea6
30,744
/* * Copyright (C) 2015 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...
47.298462
136
0.682832
a31acd5ce05dde437d54d3a41eccd9389d22c55e
1,192
// Copyright (C) 2017-2020 Grupa Pracuj Sp. z o.o. // This file is part of the "Hermes" library. // For conditions of distribution and use, see copyright notice in license.txt. package pl.grupapracuj.hermes.ext.tuple; public class Quintuple<A, B, C, D, E> { private A mFirst; private B mSecond; private C m...
19.225806
79
0.568792
f7041f35445efe1fcb7c238e766c6a256ed68f1b
414
package io.dekorate.issue254; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import io.dekorate.component.annotation.ComponentApplication; @SpringBootApplication @ComponentApplication(exposeService=true) public class DemoApplication { public ...
24.352941
68
0.833333
9bf1874e9850f4aa6a876ae4e300bd2ccfd38161
2,402
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
48.04
139
0.721066
493f9dcf03aff0e4c44b48fb2d2f0437187bac4c
782
package uk.gov.companieshouse.efs.web.payment.controller; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.j...
27.928571
76
0.737852
077a9815d03dccc996cbffb08d736cbb6a59d9a2
300
package com.switching; public enum TrainingMode { LIVE_FEEDBACK("Live Feedback"), OCCASIONAL_UPDATES("Occasional Updates"), BOTH("Both"); String name; TrainingMode(String name) { this.name = name; } public String toString() { return this.name; } }
16.666667
45
0.623333
45b7d3150e268d1a807b83a5f46b953496389ea7
457
package ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.results; import ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.models.Route; import ch.supsi.dti.i2b.shrug.optitravel.api.TransitLand.models.Stop; import java.util.ArrayList; public class RouteResult { private ArrayList<Route> routes; private Meta...
21.761905
70
0.717724
f4c72659549432bb9240276a328de14100a0afc2
4,875
package com.example.flixster.activities; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import com.co...
31.655844
107
0.636103
8fe1b39690f3ed1fc260d1cc968ed32b1dc33819
3,665
package cliente.controlador; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.sql.Connection; import java.sql.ResultSet; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; i...
25.275862
105
0.685948
fa09f64e09e2106afa97d2e8fff6d6f41dcb7ec0
730
package com.identity.platform.service; import org.springframework.mail.SimpleMailMessage; // TODO: Auto-generated Javadoc /** * Contract for email service. Created by maheshs1 on 02/10/2017. * * @param <T> the generic type */ public interface EmailService<T> { /** * Sends an email with the content in the Fee...
23.548387
93
0.730137
08914fa745418692d08aa966a800f3d477c1cb6d
3,251
package functional; import io.github.tjheslin1.patterdale.Patterdale; import io.github.tjheslin1.patterdale.database.hikari.H2DataSourceProvider; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.HttpClientBu...
35.725275
150
0.687481
7e6f1e3a927710054d004e72e4ae174b94e1d13e
2,712
package org.vanda.workflows.hyper; /** * Observer infrastructure for workflows. Using generic type <W> here to * circumvent circular dependency. * * @author mbue */ public final class Workflows { public static interface WorkflowListener<W> { void childAdded(W mwf, Job j); void childModified(W mwf, Job ...
19.652174
76
0.688791
7d3e3d15dbd956626ef4affe68611a9c9b0d723e
2,139
package com.gyk.loginapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private Edi...
47.533333
117
0.677887
7c00ba9bef3111e310991f5088cf0b9d0dcdf9a9
1,605
/* ***************************************************************************** * Name: Rupesh Sasne * Date: 16th June 2019 **************************************************************************** */ import java.util.ArrayList; import java.util.Arrays; public class BruteCollinearPoints { private final ...
29.722222
84
0.468536
65df83270a213dde9ad9b2fbb29cc7b88f500fd6
19,527
package org.bpmnbrowser.image.impl; import java.util.Collection; import java.util.List; import java.util.Map; import org.activiti.bpmn.model.Activity; import org.activiti.bpmn.model.Artifact; import org.activiti.bpmn.model.Association; import org.activiti.bpmn.model.AssociationDirection; import org.activiti.bpmn.model...
38.064327
222
0.724074
362a963060ef50de086d65f72e0ae07ebbaf7e84
5,870
package com.callor.oneday_movie.adapter; import android.text.Html; import android.text.Spanned; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.recyclerview...
30.732984
96
0.633049
a61ba41b349b058817827636249d3840bc8685e1
477
package com.javatmp.module.user.repository; import com.javatmp.fw.data.jpa.repository.ExtendedJpaRepository; import com.javatmp.module.user.entity.User; import java.util.List; import org.springframework.data.jpa.repository.Query; public interface UserStatsRepository extends ExtendedJpaRepository<User, Long> { @Q...
34.071429
98
0.798742
4fd2cbec4fc6f822b3ecf0739491c9058b43480d
379
package java_programs.conditions; import java.util.*; class GreatestOf3_Ternary3 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.print("Enter 3 numbers : "); int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(); System.out.print("Greatest No. : " + (a >...
27.071429
81
0.596306
27d4d0c9f345234b51aaf36aa30b8b8c3d99f583
2,219
package buildings; import javax.media.opengl.GL2; import javax.media.opengl.glu.GLU; import com.jogamp.opengl.util.texture.Texture; public class HorizontalWall { private double beginningX; private double beginningY; private double beginningZ; private double xLength; private double yLength; private double z...
31.7
80
0.730509
f63d24c687d1785a8849e2e6eee7c1bd4e0dcd3b
1,404
/* * Copyright 2012-2020 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 a...
26.490566
92
0.747863
214c3a338571d19a1796c06e006d69ed126ef388
9,728
/* * Copyright 2012-2015 Hippo B.V. (http://www.onehippo.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...
38.603175
114
0.663651
6517225559fccec6567f8b5387e222820dd4db8c
2,292
/* * 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 ...
41.672727
182
0.754363
7c35f05bb084863126e9c4040b6064323d8efec7
7,691
/* * Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
36.450237
121
0.748667
39cee97cc7aab0c957e0be49150028397fabbaed
5,967
/** * Copyright (c) 2021 CRUK Cambridge Institute - Bioinformatics Core * * Licensed under the MIT license (http://opensource.org/licenses/MIT) * This file may not be copied, modified, or distributed except according * to those terms. */ package org.cruk.ampliconseq; import java.io.File; import org.apache.logg...
40.591837
208
0.704206
a8c7ac9de47d903ba1e653bebf41d47dff0bef3f
436
package org.ovirt.engine.core.common.businessentities; import java.io.Serializable; import org.ovirt.engine.core.compat.Guid; public class TagsVdsMapId implements Serializable { private static final long serialVersionUID = -8781389672965898588L; Guid tagId; Guid vdsId; public TagsVdsMapId() { }...
20.761905
71
0.706422
45ff4f8266b387ba881142fc029cafc592aa932e
1,561
package mb.tiger; import mb.constraint.common.stratego.ConstraintPrimitiveLibrary; import mb.log.api.LoggerFactory; import mb.nabl2.common.NaBL2PrimitiveLibrary; import mb.resource.ResourceService; import mb.resource.hierarchical.HierarchicalResource; import mb.spoofax.compiler.interfaces.spoofaxcore.StrategoRuntimeBu...
47.30303
145
0.811659
84b42e261eaf6d4488b512b057e0f700f310c68a
1,778
package com.dskow.downloader.models.xml; import java.io.Serializable; import javax.xml.bind.annotation.XmlElement; public class MedlineCitation implements Serializable { /** * serial Version UID. */ private static final long serialVersionUID = 6794989639322626582L; @XmlElement(name = "PMID") private PMID P...
23.706667
98
0.710911
da222034ce2df6b45fcac933eb97b3a72d34b286
8,187
package fr.qilat.prisonrp.client.gui.component; import fr.qilat.prisonrp.client.gui.GuiSfz; import fr.qilat.prisonrp.server.game.safezone.SafeZone; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.gui.GuiTextField; import net.minecraftforge.fml.relauncher.Side; im...
37.728111
185
0.629412
1e52ccbca10c673f91a2697e09f919a2b270f860
1,980
/* ************************************************************************* * The contents of this file are subject to the Openbravo Public License * Version 1.1 (the "License"), being the Mozilla Public License * Version 1.1 with a permitted attribution clause; you may not use this * file except in...
35.357143
98
0.670202
2d166eae1df428ee28d86a2c48a237e4feb9a49f
2,393
/* * Hair2 License * * Copyright (C) 2008 Mike Hummel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
26.01087
73
0.681571
b055c547b2a80b2bbebcedb54fb0ff8f79fe1caf
794
package com.jdiai.tools; import com.google.gson.JsonObject; public class ClientRect { public int x, y, top, bottom, right, left, windowWidth, windowHeight; public ClientRect(JsonObject json) { x = roundUp(json, "x"); y = roundUp(json, "y"); top = roundUp(json, "top"); bottom = ...
31.76
73
0.623426
250d8d81988788cdb04e44d86f7889142d34c563
3,351
package com.nowellpoint.console.service.impl; import java.time.LocalDate; import java.time.ZoneId; import java.util.List; import java.util.TimeZone; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; im...
33.178218
116
0.752014
36aba9be38c592b2412eb922919869067262ac57
759
package ru.job4j.matrixiterator; import org.junit.Before; import org.junit.Test; import java.util.Iterator; import java.util.NoSuchElementException; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; public class MatrixIteratorTest { @Test public void whenGetNextCa...
25.3
66
0.69697
ab4e1cc7bad57080de35462bbebcf273a42f213e
6,534
/* Copyright 2011-2017 Frederic Langlet 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 ...
34.571429
130
0.620447
89f63492ccf7c0cc91247cd12fe5b7261377b00c
1,095
// 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. //hey dummy this is this for when you forget it--devin //method for encoder ticks and distance and stuff :/ //42 encoder...
31.285714
83
0.713242
83b4d494934a5577da8020e8711ec4c9b6401e52
457
package io.renren.modules.app.v1.service; import com.baomidou.mybatisplus.extension.service.IService; import io.renren.common.utils.PageUtils; import io.renren.modules.app.v1.entity.AppFpsProdDataEntity; import java.util.Map; /** * * * @author wangkang * @email 784706982@qq.com * @date 2021-07-14 15:12:44 */ ...
21.761905
79
0.765864
c602a7b45617da43bba9c67659ff982b920cf4fb
556
/* * Copyright (c) 2021 LG Electronics Inc. * SPDX-License-Identifier: MIT */ package com.lge.plugins.metashift.utils.xml; import static net.sf.ezmorph.test.ArrayAssertions.assertEquals; import org.junit.Test; /** * Unit tests for the TagList class. * * @author Sung Gon Kim */ public class TagListTest { p...
19.857143
63
0.694245
71550ee5f43b23d08a26e969da269927bd326d16
3,284
package wolfogre.kh2_1_calculator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity implements View.OnClickListener { boolean isNew; @Override ...
39.095238
112
0.578563
fffd01bf4007e6b702bcfe36fd827fcb41f3fb5e
8,155
package us.kbase.narrativemethodstore; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonInclude; import com...
35.30303
458
0.694911
8b41d0eb67ab56088bd0628349baaf7881e1eaa0
1,354
package com.fei_ke.chiphellclient.utils; import android.util.Log; /** * 日志打印类 */ public class LogMessage { // 是否打印日志 private static boolean isDebug = true; // 日志标签 public static String LOG_TAG = "frame"; public static void v(String tag, Object msg) { if (isDebug) { Log.v(t...
20.830769
62
0.528804
886ed4b87f699129f3f97f591a300c5abcc4618c
5,627
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
54.105769
189
0.763817
f5c76c6ca3197c1cf07ebecfd30a859b65d262c3
672
package eu.trentorise.smartcampus.mobility.gamificationweb.model; import java.util.List; public class BadgeCollectionConcept { private String name; private List<BadgeConcept> badgeEarned; public String getName() { return name; } public List<BadgeConcept> getBadgeEarned() { return badgeEarned; } public ...
18.162162
77
0.74256
8c9750b75e7fc06b2aa0f23f86cdc55f07482354
3,027
/** * 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...
28.027778
79
0.740667
1309e9767bf22c3c329005e3c2eff256ce82cbcd
1,913
/* * 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 br.com.dafiti.ring.rest; import br.com.dafiti.ring.model.User; import br.com.dafiti.ring.service.TokenService; import br.com.d...
36.788462
157
0.752222
1c85be2924916c4535ad2e8f79af56d403eb36bf
1,758
package com.caoustc.test.wave; import android.graphics.Color; import android.graphics.Paint; import android.os.Bundle; import android.support.v4.view.animation.LinearOutSlowInInterpolator; import android.support.v7.app.AppCompatActivity; import android.view.animation.AccelerateInterpolator; import com.caoustc.wave.Wa...
33.169811
69
0.700796
9eb52f1808503709b82e29173e36052e0817586b
1,090
package tomconn.growthapi.implementations.growthprofile; import net.minecraftforge.event.terraingen.SaplingGrowTreeEvent; import net.minecraftforge.event.world.BlockEvent.CropGrowEvent.Pre; import tomconn.growthapi.interfaces.growthprofile.base.BaseGrowthProfile; /** * This class ads static-level entry methods for o...
27.25
115
0.69633
c006f21904135d28b5124801a06853cc1892db64
3,999
package org.dmc.services; import org.postgresql.ds.PGPoolingDataSource; import org.springframework.jdbc.core.JdbcTemplate; import javax.sql.DataSource; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql...
31.242188
118
0.724431
392b76f9d4702d20f87c8e28214d6083cf67ca80
1,800
package com.jtbdevelopment.games.players.notifications; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.time.Instant; import org.junit.Before; import org.junit.Test; /** * Date: 10/16/15 Time: 6:54 AM */ public clas...
30.508475
72
0.733333
0aaa963e5eece4da259962850a05ec4066e02ae7
9,139
package software.amazon.ec2.transitgatewayconnect; import software.amazon.ec2.transitgatewayconnect.workflow.TagUtils; import software.amazon.awssdk.services.ec2.model.Tag; import software.amazon.awssdk.services.ec2.model.*; import software.amazon.cloudformation.proxy.ResourceHandlerRequest; import java.time.Instant;...
34.357143
138
0.661889
3c34823d6ddc65d8e7a4b8ed0b73645ba466d261
530
package com.chen.f.common.web.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.experimental.Accessors; /** * @author chen * @since 2019/1/12 22:28. */ @Data @AllArgsConstructor @Accessors(chain = true) @...
19.62963
48
0.733962
ff1b4aefce33ee70ef1ff2f055f690a7a249c437
1,450
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ package com.microsoft.appcenter.http; import android.support.annotation.NonNull; import android.text.TextUtils; import java.io.IOException; /** * HTTP exception. */ public class HttpException extends IOException...
22.65625
89
0.629655
d45bea03c899abdcfe3e4b8a87c3363b2ce4975e
3,204
package com.kavin.media.music; import android.app.Service; import android.content.Intent; import android.media.MediaPlayer; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.Message; import java.util.Timer; import java.util.TimerTask; public class MusicService extends S...
23.733333
79
0.520287
b91a439740d0ff81cb1c30662fe8cf93652f91ff
443,377
package util.zscore; /** * Created by Iq on 24/05/16. */ public class ReferenceTableForDailyIndex { protected String[] WeightAgeStandardIndex = {"Severely Underweight", "Underweight", "Normal", "Overweight"}; protected String[] HeightAgeStandardIndex = {"Severely Stunted", "Stunted", "Normal", "Tall"}; ...
44.812715
113
0.413355
01b3a0f9d1fa3ee4f4c82f245c4ccaff82920ede
8,874
/* * Copyright 2020 Eric Medvet <eric.medvet@gmail.com> (as eric) * * 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 requir...
41.858491
451
0.675118
0f8755b7e4689b79c5129e0cabc71b0bded9d68f
2,488
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
38.875
133
0.762058
aef119813e7bde78d52cd53c162cb151d44e9a84
5,952
package io.tpa.tpalib.distribution; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.util.Log; import java.io.Serializable; /** * Provides checks for application up dates. */ public class CheckUpdateMonitor { private static final String TAG = "CheckUpdateMonitor";...
37.670886
158
0.628864
0d65e7e4dc68e72c5773c05ac16c3502972c551f
204
package com.github.gnastnosaj.boilerplate.cordova.channel.middleware; import org.json.JSONObject; /** * Created by jasontsang on 1/17/18. */ public interface ChannelEvent { JSONObject toJSON(); }
18.545455
69
0.75
9280d500eda389181ee92b9a071ee1cadafa1030
4,841
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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...
36.674242
115
0.655443
c951229c92404b7768d6e69a2cb6679f346b2e2f
6,430
package com.github.technus.tectech.thing.item; import com.github.technus.tectech.util.CommonValues; import com.github.technus.tectech.TecTech; import com.github.technus.tectech.util.Util; import com.github.technus.tectech.font.TecTechFontRender; import com.github.technus.tectech.loader.gui.ModGuiHandler; import com.gi...
39.937888
132
0.693779
d94b863fca6db66c3726016d6b4a36ab6867bc04
9,213
/* * This file is part of the pl.wrzasq.lambda. * * @license http://mit-license.org/ The MIT license * @copyright 2019 © by Rafał Wrzeszcz - Wrzasq.pl. */ package test.pl.wrzasq.lambda.cform.organization.unit.service; import com.amazonaws.services.organizations.AWSOrganizations; import com.amazonaws.services.org...
37
105
0.67687
41987a20d0c960a62e7f16490abf2121762dcebc
1,384
package com.webank.wecross.account.service.db; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; @Data @Entity @Table(name = "t_chain_accounts") p...
25.163636
83
0.718931
13239b146aa3b8e5688edaf42b287ee450cad16c
1,232
package nl.sikken.bertrik; /** * Configuration interface for the application. */ public interface IDustSensorBridgeConfig { /** * @return the sensor latitude */ Double getSensorLat(); /** * @return the sensor longitude */ Double getSensorLon(); /** ...
19.25
85
0.561688
2145ddd2c31d4c0086859f435779a2f0f69e22e4
1,803
package io.scicast.streamesh.server; import io.scicast.streamesh.core.StreameshOrchestrator; import io.scicast.streamesh.core.StreameshOrchestratorFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotati...
40.977273
117
0.687743
c701b8a2d555ed67c9c0c3a1b50a8830b3d0a940
2,328
package com.github.test; import com.github.appreciated.apexcharts.ApexCharts; import com.github.appreciated.apexcharts.config.builder.*; import com.github.appreciated.apexcharts.config.chart.Type; import com.github.appreciated.apexcharts.config.chart.builder.ZoomBuilder; import com.github.appreciated.apexcharts.config...
48.5
132
0.591495
9e43115120068c1873575a8d450de150e3f511d6
407
package eu.theeconomystupid.engine; public final class PolicyKey extends Key { public final Key VALUE; public final Key COSTS; public final Key REVENUES; protected PolicyKey( String policyKey ) { super( policyKey ); VALUE = new Key( policyKey+".value" ); COSTS = new Key( p...
23.941176
52
0.624079
8d611095bd04317ac27eee1e55e0c36134b21e73
10,189
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2018...
27.098404
148
0.666012
a4cf2e3715f2512d1b39866cb01d6c31ee5994c8
656
package io.crowdcode.cloudbay.greetingservice; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; @SpringBootApplication public class GreetingServ...
25.230769
68
0.778963
e126c206853de3fd08e512ad91e2707b4acf9546
4,172
package com.oktaliem.page.webactions; import io.qameta.allure.Step; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import org.testng.Assert; /** ...
33.645161
106
0.611937
37f1bbe38e5038924b6447595b66e1e4ac0b40c2
1,603
// Copyright 2007, 2008, 2009 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 ...
37.27907
125
0.764816
563f384942ac3f134d79369dd9b024bc669c518f
8,744
package com.mypurecloud.sdk.v2.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml....
32.505576
153
0.731587
5af72cad2a833a4761d2620cf3000673df6ca9ae
370
package ca.android; import java.util.EventListener; public interface MainControllerGestureEventListener extends EventListener { public void onSwipeRight(); public void onSwipeLeft(); public void onSwipeTop(); public void onSwipeBottom(); public void tapUp(); public void onScroll(float fromX, float fromY, float ...
30.833333
102
0.791892
09876dc861bb833b7abcfc917c0a32bfe41ea3be
398
package com.spk.service; import com.spk.model.User; import com.spk.model.utils.Gender; import java.util.List; /** * Created by Gl552 on 4/25/2017. */ public interface UserService extends BaseService<User> { List<User> findByGender(Gender gender); List<User> findByGenderAndUsernameNot(Gender gender, String use...
19.9
72
0.753769
d136d97ea268496d6a0efcdb280c8093274bc568
1,846
package org.pes.onecemulator.facade.impl; import org.pes.onecemulator.converter.internal.PayerModelConverter; import org.pes.onecemulator.entity.Payer; import org.pes.onecemulator.exception.NotFoundException; import org.pes.onecemulator.exception.ValidationException; import org.pes.onecemulator.facade.PayerFacade; imp...
31.827586
100
0.741603
6ee2c98dfa5291519665ee066aa8678cf26c197e
13,122
package com.java2nb.novel.mapper; import static com.java2nb.novel.mapper.AuthorIncomeDynamicSqlSupport.*; import static org.mybatis.dynamic.sql.SqlBuilder.*; import com.java2nb.novel.entity.AuthorIncome; import java.util.Collection; import java.util.List; import java.util.Optional; import javax.annotation.Generated;...
54.22314
173
0.673144
5d22f87a366b99aced493d28dbe261ce4277e854
354
/** * @Author: zzStar * @Date: 10-22-2020 18:46 */ public class Test { public static void main(String[] args) { ArrayStack<Object> stack = new ArrayStack<>(); for (int i = 0; i < 5; i++) { stack.push(i); System.out.println(stack); } stack.pop(); Sy...
19.666667
54
0.502825
be2f01c5bb89d2e0cf03e218237023529a4cc837
2,770
package com.intellij.remoterobot.launcher; import com.intellij.remoterobot.RemoteRobot; import com.intellij.remoterobot.fixtures.JLabelFixture; import okhttp3.OkHttpClient; import org.apache.commons.io.FileUtils; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.a...
36.933333
131
0.711191
9def43bb0268eb5210cab46f488783b4a909adeb
2,524
// Copyright 2011-2016 Google LLC // // 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 ...
33.210526
96
0.717512
ceac069122bbdb54ec4868b8a3c33935d8dac138
4,170
package io.rivulet.converter; import org.apache.http.Consts; import org.apache.http.client.utils.URLEncodedUtils; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.charset.Charset; /* Converter which replaces an HTTP URI's path entirely or by appending */ public cla...
36.578947
131
0.642206
3de26680b6d41e20d1212c6d2267b5552c012293
762
package com.wangyu.kgbackend.dao; import com.wangyu.kgbackend.pojo.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import java.util.List; /** * @author wongy */ public interface UserDAO extends JpaRepository<User,Integer> { /** * 根...
21.771429
68
0.664042
71ed3fcc6a5f8f1df7d7fa30d329f6f92c239136
525
package com.guircai.design.creational.factory.simplefactory; /** * 简单工厂 * 1. 产品数量极少 */ public class WuLingSimpleFactory { /** * * @param type Class: 好像具有拓展性,但是没有解决实际问题。 * @return */ public AbstractCar newCar(String type) { // 核心方法:一切从简 if ("van".equals(type)) { ...
20.192308
60
0.518095
04c03a8c64bc6be0798907ae128c02b01fb95214
6,998
package com.bugsnag; import java.io.FileWriter; import java.util.List; import java.util.Arrays; import java.util.Iterator; import java.util.Map; import java.util.Comparator; import org.json.JSONObject; import org.json.JSONArray; import com.bugsnag.utils.JSONUtils; public class Error { private static final List<S...
33.483254
122
0.598028
88070fe379283f81821951ed64f31616ad8f5166
16,558
/* * Copyright (C) 2015 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...
41.395
100
0.636913
d462db72f2168e62c5bf9d52e950981172560c20
754
package com.sme.java8.patterns.td; import com.sme.java8.patterns.model.Address; import com.sme.java8.patterns.model.Person; /** * Person */ public class PersonTD { /** * Create {@link Person}. * * @return Returns {@link Person} instance. */ public static Person createPerson() { ...
22.176471
47
0.603448