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
6a17f0e327b70b126ec58bcab8817737b0dd842e
3,638
package com.haohan.platform.service.sys.modules.xiaodian.entity.common; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.haohan.platform.service.sys.common.persistence.DataEntity; import org...
22.048485
71
0.697911
49837771d4dcf8be0983d71216720317d48723d5
3,631
/* * Copyright 2021 TiDB Project 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 applicable law or ...
39.467391
100
0.733958
d3b134e8e32458033b211b4e3b0dd91802d2a80b
793
package com.eklanku.otuChat.ui.activities.payment.transaksi; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import com.eklanku.otuChat.R;; import butterknife.ButterKnife; public class TransThankyou extends AppCompatActivity { B...
25.580645
63
0.689786
561e5b03ba815a51f9fa48a0bb2930b15c4cbe02
3,677
package org.immunophenotype.web.services; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.c...
28.068702
122
0.732391
474746a0c10c0051d77c252dc9582e7b9b1370e3
587
package com.example.dscapp; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.google.firebase.auth.FirebaseAuth; public class Homepage extends AppCompatActivity { @Override protected void onCreate(Bundle savedInsta...
24.458333
61
0.74276
64f8ce754757f2819536da6e61889899f8e9179b
379
import java.util.Scanner; public class ThrowException { public static void main(String[] args) throws ArithmeticException { int a = 15; int b; Scanner scan = new Scanner(System.in); System.out.println("Input b:"); b = scan.nextInt(); if( b == 0 ) { throw new ArithmeticException("Divide by 0 er...
17.227273
66
0.651715
e6da37e48e2ae48bcbb8ae3edf614e2840b71699
2,043
package chat.model; import org.apache.commons.lang3.StringUtils; import chat.coder.CommandDeserializer; import chat.coder.CommandSerializer; import chat.spring.model.CommandPojo; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackso...
31.921875
112
0.743025
d28bf37fbd0d9cbc3fab5ca7a035631628378a4a
530
package pl.wcislo.sbql4j.ast.literal; import pl.wcislo.sbql4j.ast.visitor.AstTreeVisitor; import pl.wcislo.sbql4j.typecheck.rule.NoArgsRule; import pl.wcislo.sbql4j.typecheck.signature.CardinalityType; @NoArgsRule( resultCardType=CardinalityType.SINGLE_RESULT, resultType=Double.class ) public class Double...
23.043478
63
0.767925
9688168e6e24043f82986e03986eb8f8f381f83f
4,503
/* * Copyright 2015 Steve Ash * * 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...
31.93617
87
0.643349
789070e4e117c0daa22f45541fc7e5b7256a0438
1,080
package com.wyq.firehelper.architecture.archcomponents; import java.util.List; import androidx.lifecycle.LiveData; import androidx.room.Dao; import androidx.room.Delete; import androidx.room.Insert; import androidx.room.OnConflictStrategy; import androidx.room.Query; @Dao public interface UserDao { @Query("SELEC...
26.341463
94
0.724074
0f85aca7e4d0995ce4c8ae82082082f09fe87362
8,953
/* * Copyright 2021 msgmonster project * * Website: https://github.com/pinorobotics/msgmonster * * 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/licens...
34.302682
119
0.704457
51de0ec8393df551c4344dd92ac44467a17d0930
820
package stubs.customerCare; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Classe Java pour orderStatus. * * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * <p> * <pre> * &lt;simpleType name="orderStatus"> * &lt;restri...
20
90
0.65
2bd60a4fefcf73efb958363cf271c0ff58a21b7e
3,969
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package kotlin.coroutines; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.Intrinsics; // Referenced classes of package kotlin.coroutin...
41.34375
158
0.640967
22b0d68f586317a932d02f3f344dadcd9a2a27ea
23,515
package pokecube.core.client; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.lwjgl.glfw.GLFW; import org.lwjgl.opengl.GL11; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.mojang.blaze3d.plat...
44.035581
120
0.631809
8b6b7062228fa609fbd9026357e02b8bc8adc91a
3,790
/* * @Author: Alexandre Ladrière * @Date: 2019-07-17 17:34:54 * @Last Modified by: Alexandre Ladrière * @Last Modified time: 2019-07-17 17:34:54 */ package com.themusicquiz.composants; import java.util.Objects; import java.io.IOException; public class Item { protected String itemTitle; protected St...
29.84252
404
0.649077
92e55733fa62b8ed11b1c4cd52cd54ed99e784bb
3,369
/* * * REMEDIATE THE FLAG * Copyright 2018 - Andrea Scaduto * remediatetheflag@gmail.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/...
26.116279
75
0.737608
8517f0acc9ad7aa6567790c21cd1b6d423a8b197
819
package org.drools.examples.buspass; public class IsAdult { private Person person; public IsAdult(Person person) { this.person = person; } public Person getPerson() { return person; } public void setPerson(Person person) { this.person = person; } @Override ...
19.5
70
0.540904
1e1e52ba040b740dcb0e6028f629060c2afde446
1,040
package kornell.gui.client.presentation.admin.course.course; import com.google.gwt.place.shared.PlaceTokenizer; import com.google.gwt.place.shared.Prefix; import kornell.gui.client.presentation.admin.course.CoursePlace; public class AdminCoursePlace extends CoursePlace { private String courseUUID; public Ad...
26.666667
81
0.689423
a4650e1dc43825ca70f858a17bc5cabffb69cf6b
389
package org.bvoid.engine.geom; public class Point2D { private float x, y; public Point2D(float xpos, float ypos) { x = xpos; y = ypos; } public Point2D() { this(0f, 0f); } public float getX() { return x; } public void setX(float x) { this.x = x; } public float getY() { ...
11.787879
42
0.552699
ad8314b04b9373e8ebbc04ed665158f03dd801f4
392
package com.beautifulsoup.chengfeng.dao; import com.beautifulsoup.chengfeng.pojo.PostVote; public interface PostVoteMapper { int deleteByPrimaryKey(Integer id); int insert(PostVote record); int insertSelective(PostVote record); PostVote selectByPrimaryKey(Integer id); int updateByPrimaryKeySel...
23.058824
53
0.780612
659243d9c2cb35e935384d398687a48d357bb02e
6,527
package dev.walshy.sfitemexporter; import be.seeseemelk.mockbukkit.MockBukkit; import com.google.gson.JsonArray; import com.google.gson.JsonNull; import com.google.gson.JsonObject; import io.github.thebusybiscuit.slimefun4.api.items.ItemSetting; import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem; import ...
35.091398
110
0.631377
7e6800d0924800fc65736fa6d7c29464fb40eae9
4,070
/* * Copyright (C) 2015 Haruki Hasegawa * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
38.761905
108
0.708845
e86e345049ed99d12881910c0b4598976fd5df35
760
package Utilities; import android.graphics.Bitmap; import android.os.AsyncTask; import android.util.Log; import java.io.ByteArrayOutputStream; public class BitmapToByteArray extends AsyncTask<Bitmap, Void, byte[]> { public BitmapToByteArray() { Log.d("LoadingImageBuffer", "Start"); } protected ...
26.206897
72
0.684211
663fdc82af22b92da12cf58c44071323308bf568
976
package tech.kononenko.leetcode; /** * 821. Shortest Distance to a Character */ public class ShortestDistanceToCharacter { /** * Given a string S and a character C, return an array of integers representing the shortest distance * from the character C in the string. */ public int[] shortestToC...
26.378378
105
0.518443
d84f01cde56c857cc97419206c4f9c6a5fda7f35
2,541
/* * Copyright (C) 2014 Google 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 ...
35.291667
97
0.770956
d0edba291fc6eca1da1f1a377218f33ca5d3a3b3
1,272
package main.storage; import java.io.*; public class BinaryDeserializer implements IDeserializer, AutoCloseable { private ObjectInputStream objectStream; public BinaryDeserializer(String filename) { try { FileInputStream stream = new FileInputStream(filename); obje...
23.555556
71
0.558962
d54effe3fd5d4fdc60128fda16ca707513c07dd8
440
package ro.ase.csie.cts.curs3; public class Student{ String nume; String facultate; String programLicenta; //adaug un nou atribut //String adresa; void platesteTaxa(){ System.out.println("Este platita o taxa de 50 RON"); } void sustineExamenPOO(){ System.out.println("Este sustinut examen grila pe pla...
19.130435
78
0.722727
d0cd11752d0d3510c6440127a5f2c5d3ef305aab
831
package net.anumbrella.oauth2.entity.mapper; import net.anumbrella.oauth2.entity.UserInfo; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; public class UserRowMapper implements RowMapper<UserInfo> { public UserRowMapper() { } ...
25.181818
70
0.658243
66125b7761757331c51f583040e1a45d5abfacca
876
package android.leo.electricity.bean; import android.widget.EditText; import android.widget.LinearLayout; /** * Created by Leo on 2017/7/17. */ public class User{ private int id; private String username; private String password; private String telephone; public User(){ } public int ge...
17.176471
47
0.621005
53aaa87eb0f220303fd9e902b9f1c683e3064024
477
package com.action.shejizhichan.chapter17.better; /** * @Description TODO * @Author wuyunfeng * @Date 2020-05-25 18:40 * @Version 1.0 */ public class HighScoreDecorator extends Decorator { public HighScoreDecorator(SchoolReport sr) { super(sr); } private void reportHighScore() { Syst...
19.08
56
0.641509
0831ad340d6b7561b1077fd94af59d176e95ed10
2,261
package uk.gov.ida.matchingserviceadapter.exceptions; import org.opensaml.core.xml.io.MarshallingException; import org.opensaml.xmlsec.signature.support.SignatureException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; import uk.gov.ida.matchingserviceadapter.MatchingServiceAdap...
46.142857
217
0.799204
36bcb10425a9b1ee2b8bbc38568f422b72b3be23
1,361
package finder; // container class for a single find // identifies a sequence of bytes in a file by line number and index (number of bytes from the start of the file) // public class FindEntry { private final long mIndex; private final long mLineNum; private final long mColumnNum; FindEntry(long...
26.686275
125
0.571639
42beded8bb2dd9c7f5ed45cee552c8cc9ddd14df
5,383
package com.journaldev.androidarcoredistancecamera; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.app.ActivityManager; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.widget.TextView; import android.widget.Toast; import ...
35.414474
111
0.648709
9023e1390a0a7e536e4c11b8895ff5bb56668997
1,748
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.depgraph.provider; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import s...
31.214286
99
0.800343
080b935b8c17af481e7c29a444e499ea2dd4c71c
5,256
package com.cowbell.cordova.geofence; import android.app.PendingIntent; import android.content.Context; import android.support.annotation.NonNull; import android.util.Log; import com.google.android.gms.common.api.ResultCallback; import com.google.android.gms.common.api.Status; import com.google.android.gms.location.G...
47.351351
182
0.571347
385a710fdb3182740220e7e8453054bcb6c37b24
1,583
package uk.ac.ebi.ep.brendaservice.dto; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * * @author joseph */ public class BrendaResult implements Serializable { private List<Brenda> brenda; private List<Ph> ph; private List<Temperature> temperature; private boo...
20.828947
105
0.578648
176922a11d0ff67d3cdee276ae144bd92f35ef46
749
package mx.kenzie.magic.test; import mx.kenzie.magic.collection.MagicArrayBackedList; import mx.kenzie.magic.magic.GenericCapture; import org.junit.Test; import java.util.ArrayList; import java.util.List; public class GenericCaptureTest { @Test public void main() { Class<?> cls = new GenericCapture<...
26.75
86
0.668892
18e1a53eeb7ff6584320badbce102050540bafe5
2,445
package cm.yokfarm.nama.msproviders.domain; import com.vividsolutions.jts.geom.Point; import lombok.Data; import org.hibernate.annotations.OnDelete; import org.hibernate.annotations.OnDeleteAction; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; impo...
29.457831
102
0.734151
dcb2cd9be140bafe44597f81f00dbb958b149767
2,230
package test; import mapquest.DirectionNode; import mapquest.OpenDirection; /** * Class to test the operations and prove as an example for the OpenDirection class * @author Aaron Vontell * @version 0.2 */ public class OpenDirectionExample { public static void main(String[] args) { //Create a OpenDirection...
32.318841
100
0.689238
1e7a9dd3de98afeb2d6cd277173c75c65c3bfce8
508
package ru.ath.asu.tickets.rest; import javax.xml.bind.annotation.*; @XmlRootElement(name = "message") @XmlAccessorType(XmlAccessType.FIELD) public class TicketsRestModel { @XmlElement(name = "value") private String message; public TicketsRestModel() { } public TicketsRestModel(String message) {...
20.32
45
0.667323
2b83c7a4bd046bcc213703a8d7f7361374349f0a
596
package com.hwq.fundament.Java_Desgin_Pattern.designPattern_Build.sgg; /** * @Auther: Administrator * @Date: 2021/9/7 0007 13:14 * @Description: */ public class Client { public static void main(String[] args) { //普通房子 CommonHouse commonHouse = new CommonHouse(); //高楼 HighBuilder...
25.913043
70
0.667785
e67b198ea6a921ac75e4ba9e90369972a502ce5d
1,464
package com.pgmmers.radar.vo.model; import java.io.Serializable; import java.util.Date; public class DataListMetaVO implements Serializable{ static final long serialVersionUID = 90392342L; private Long id; private Long dataListId; private String fieldName; private String label; priva...
14.787879
52
0.614754
f6d998e5b699d4c08663cc9d5b2b636000bbe437
1,781
package com.stc.trawl.common.grid; import com.google.common.net.InetAddresses; import lombok.extern.slf4j.Slf4j; import org.springframework.util.StringUtils; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.Enumeration; @Slf4j public class NetUtils { ...
37.104167
119
0.564851
0af963ba58796242d15b5902815dea8ec96ee821
2,502
package cn.cstn.algorithm.corporation.bytedance; import cn.cstn.algorithm.commons.util.ArrayUtil; import lombok.extern.slf4j.Slf4j; import java.util.Scanner; /** * 头条8.12 4.区间最大最小值 * description : 两个长度为n的序列a,b,问有多少个区间[l,r]满足max(a[l,r]) < min(b[l,r]), * 即a区间的最大值小于b区间的最小值 * ...
32.493506
77
0.406475
8173015627ef7897cfe35e5384e36eb490b0257c
1,530
package com.commercetools.api.models.cart; import java.time.*; import java.util.*; import java.util.function.Function; import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.annotation.*; import io.vrap.rmf.base.client.utils.Generated; @Genera...
31.22449
120
0.760131
ec52efa19779fdf2814941bce5d4e85395821515
837
package net.rfs.smartadmin.module.support.quartz.constant; /** * [ ] * * @author yandanyang * @version 1.0 * @company 1024lab.net * @copyright (c) 2018 1024lab.netInc. All rights reserved. * @date 2019/4/13 0013 下午 14:19 * @since JDK1.8 */ public enum TaskStatusEnum { NORMAL(0,"正常"), /** * ...
17.4375
59
0.589008
4ba065a382b99c8dbdda3683cd21405c3659dc13
2,149
package com.alibaba.easyexcel.test.temp.cache; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.UUID; import org.apache.poi.xssf.streaming.SXSSFRow; import org.apache.poi.xssf.streaming.SXSSFSheet; import org.apache.poi.xssf.streaming.SXSSFWorkbook; imp...
34.111111
120
0.741275
f888467d50ee34fc5d2a8f3e166f96770f6977bc
3,843
/* * 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 ...
34.621622
117
0.703617
fd86ce8de578a8b56dc772cc4fce5ec079bbd4a3
1,076
package course.academy.dao.impl; import course.academy.dao.BookRepository; import course.academy.dao.IdGenerator; import course.academy.model.Book; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import java.util.NavigableMap; import java.util.TreeMap; public class BookRepositoryFileIm...
30.742857
85
0.697955
2641498a7ab357be37d8d2bede364f3be0824a28
885
/*** Copyright (c) 2008-2011 CommonsWare, 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 writin...
34.038462
78
0.785311
4b6a983dd23adbaa6515f1a9624e05772550e22f
4,539
package emulation; import lapse.AmountRearing; import factoryRelics.FissionableCavil; import breeder.*; import shelving.*; import histories.*; public class Scenario { private static Scenario previousExercise; public static Scenario prevailingModel() { return previousExercise; } private double yearDemarc...
39.469565
105
0.621943
503c0aca827137e3559f667446c2d79bcd1c268a
1,591
package fr.opensagres.xdocreport.itext.extension; import java.io.OutputStream; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.pdf.PdfAConformanceLevel; import com.itextpdf.text.pdf.PdfAWriter; import com.itextpdf.text.pdf.PdfDocument; public class ExtendedPdfA...
31.196078
152
0.707102
5d0903291db67b1a159e7d088f97eda5d6bc83c5
5,404
package com.example.reservationandlivraisonapi.metier.user; import com.example.reservationandlivraisonapi.dao.acteurs.EntrepriseInfoRepository; import com.example.reservationandlivraisonapi.dao.acteurs.ParticulierInfoRepository; import com.example.reservationandlivraisonapi.dao.acteurs.RestaurantRepository; import com...
41.569231
100
0.729275
d66e93774751bb8787ce5f435f546f065ac8e6ab
653
package com.symphony.bdk.core.auth; import com.symphony.bdk.core.auth.exception.AuthUnauthorizedException; import org.apiguardian.api.API; import javax.annotation.Nonnull; /** * Extension App Authenticator Service. */ @API(status = API.Status.STABLE) public interface ExtensionAppAuthenticator { /** * Authen...
25.115385
92
0.773354
3811cfd7f65f07aac0cedcda918c641ef90d0503
346
package card; public enum Spade implements Card{ S1(1), S2(2), S3(3), S4(4), S5(5), S6(6), S7(7), S8(8), S9(9), S10(10), S11(11), S12(12), S13(13); private int point; private Spade(int num){ point = num; } @Override public String toString(){ return this.name(); } public int getPoint(...
9.611111
34
0.572254
6c608a768740cc59eb9acb947e7019d492197419
1,989
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.resou...
28.014085
94
0.675716
5995c263d5d73b95a3959fe450d863e90ad300f2
1,420
package net.openhft.chronicle.network.ssl; import java.io.IOException; import java.nio.ByteBuffer; /** * This class handles the bridge between two sets of buffers: * - socket-side data - encrypted, handled by <code>readData</code>, <code>writeData</code> * - application-side data - decrypted, handled by <code>hand...
36.410256
97
0.708451
7d3a220d20907971c39cd9c41f3455b8c32faf35
1,997
package com.ruoyi.integrator.domain.vo; import com.ruoyi.common.enums.HttpAuthenticationType; import com.ruoyi.integrator.domain.InForwardInfo; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import java.util.List; import java.util.Map; /** * @description: 前置转发请求对象 * @author...
21.473118
72
0.660491
976030ef5f8ab73d1f85ec48f51bfd8dad1ee60d
4,443
package noppes.npcs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import java.util.HashMap; public class NpcMiscInventory implements IInventory { public HashMap<Integer, ItemStack> items =...
24.960674
111
0.561783
d62ebea69313176093e4867bde4004f2bbee2100
925
/* ================================================================== * Created [2009-09-27] by Jon.King * ================================================================== * TSS * ================================================================== * mailTo:boubei@163.com * Copyright (c) boubei.com, 2015-...
23.717949
72
0.389189
88d3435656f13da5751330d553c55cf1b2aee8dc
958
/* Copyright (C) 2016 Graham Anderson gandersonsw@gmail.com - All Rights Reserved */ package com.graham.sqlclient.ui.sql.iterate; import java.sql.*; /** * * Work Unit SQL Iterator * * Created by grahamanderson on 9/18/15. */ public interface WusIter { /** * Run once before iteration starts * */ void sta...
20.826087
84
0.709812
e69bdd9d1bbd841af9fececb8b81b3b115ef13a9
547
class TestAA extends TestB { //@ also //@ requires p >= 0; //@ requires p >= 10; //@ requires p >= 20; //@ also //@ requires p >= 5; //@ requires p >= 15; //@ requires p >= 25; public void m(int p, int q, int r) { } } public class TestA { pub...
20.259259
44
0.440585
9c0c1cbdeafa70c4c4d762b6d8b92b60af48ca2e
3,533
/* * 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 cz.honzabittner.percival.service; import cz.honzabittner.percival.entity.CommentBox; import cz.honzabittner.percival.e...
30.456897
126
0.662327
659507e3f2530d6d6b852abe4184ec76a99fbb52
290
package com.idvp.plugins.xsd; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * @author Oleg Zinoviev * @since 05.03.18. */ @SuppressWarnings("WeakerAccess") @XmlRootElement(name = "a") @XmlType(name = "ObjectA") public class ObjectA { }
19.333333
48
0.734483
a11c36f60e85b6c268d0e04bc322789bdc66edc2
117,066
/* Copyright (c) 2016 Jonathan K. Henderson 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, distr...
28.678589
93
0.681547
b48393a27e6c139d4683cfb04488bd0384d55ec5
2,079
package com.walkgis.utils.common; /** * @author JerFer * @date 2019/8/7---21:36 */ public class GlobalGeodetic { private int tileSize; private double resFact; public GlobalGeodetic(String tmscompatible, int tileSize) { this.tileSize = tileSize; if (tmscompatible != null && tmscompatibl...
31.029851
222
0.550746
b309dc55e7aa4bf6c6969aa419efb5be1175b32c
817
package prob214.shortest.palindrome; /** * Created by yanya04 on 1/19/2018. */ public class Solution { /* case 1 i aacecaa a a aacecaa a j e case 2 i a bcd dcb a bcd j ...
19.452381
67
0.372093
1a887540e454a5be8932bc6809d1d3ca934c1f15
46,399
/* Copyright 2002-2021 CS GROUP * Licensed to CS GROUP (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
45.444662
169
0.640122
4c1d068e280eab5394a6bd540bf0c4078ceb1c00
209
package com.spring.demo.controller; import org.springframework.web.bind.annotation.RequestMapping; public class HelloController { @RequestMapping("/") public String sayHello() { return "index"; } }
16.076923
62
0.746411
58cc51d46f5505c7aa811adaa7e3a6fbe838acd0
2,434
package com.hui.HashMap; import java.util.HashSet; /** * @author: shenhaizhilong * @date: 2018/8/15 11:37 */ public class HappyNumbers { /** * * Happy Number *https://leetcode.com/problems/happy-number/description/ * * Write an algorithm to determine if a number is "hap...
27.659091
360
0.508217
6b88abda908d334bf7cafeeacb4d4debfc11511b
713
package edgar.leetcode; /** * 9. 回文数 * https://leetcode-cn.com/problems/palindrome-number/comments/ * * @author Administrator * */ public class Solution0009_IsPalindrome { public static boolean isPalindrome(int x) { if(x ==0) { return true; } else if (x < 0 || x % 10 == 0) { return false; } ...
14.55102
63
0.556802
02752afc67aba5b2bb959f9248c4e729ee1363a5
2,627
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.browserservices.trustedwebactivityui.view; import static org.chromium.chrome.browser.browserservices.trustedwebactivi...
42.370968
118
0.783403
c6821012227bdf567d67137610f2291438c48d07
9,649
// // Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802 // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem. // Gerado ...
32.379195
141
0.533423
140dcf37edcf1e706e2fc9bc2187499870ff6820
310
package com.maxbin.fileoperation.repository; import com.maxbin.fileoperation.domain.FileEntity; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; public interface FileRepository extends JpaRepository<FileEntity, Long> { List<FileEntity> findByFilename(String name); }
28.181818
73
0.825806
229b391ccb64f2ff3f817b646dd9e224f04d811f
1,085
package io.spring.core.article; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import org.joda.time.DateTime; import java.util.UUID; @Getter @NoArgsConstructor @EqualsAndHashCode(of = {"id"}) public class Revision { private String id; private String articleId; private S...
27.125
82
0.718894
cd2869e3c729d16890eadf534533c59e9ef3c588
536
package org.jojo.flow.model.data; import org.jojo.flow.model.api.BasicType; import org.jojo.flow.model.api.IBasicCheckable; import org.jojo.flow.model.api.UnitSignature; abstract class BasicCheckable extends Data implements IBasicCheckable { /** * */ private static final long serialVersionUID = 479...
24.363636
71
0.722015
0f7f6d1d215162fbfe5e52c565804b8d6f939825
2,142
package edu.neu.cs.cs6650.controller; import edu.neu.cs.cs6650.model.Resort; import edu.neu.cs.cs6650.model.ResortList; import edu.neu.cs.cs6650.model.SeasonList; import edu.neu.cs.cs6650.sql.HikariDS; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLExcepti...
31.043478
91
0.692344
30c9c68b04d941cb3c28aff3bf2a166b2cbfe489
1,656
package org.apache.maven.plugin.resources.remote.it.support; /* * 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 ...
31.245283
79
0.68599
373e8333fce6dc16e0943e1afcf94708a796cc17
12,601
package Game; import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedList; import java.util.Scanner; import static Appli.Application.ENDL; import Chessboard.Chessboard; import Piece.EmptyPiece; import vec2.vec2; public class Game { /** Le plateau de jeu */ private final Chessboard board; ...
36.630814
135
0.719308
5bb627e698e44e393cd0dafa07a1ff9213445b6b
698
//------------------------------------------------------------------------------ // Copyright Siemens Switzerland Ltd., 2014 //------------------------------------------------------------------------------ package patterns.observer.vogella; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListen...
34.9
105
0.554441
cbf0db1fea9e07f0377ecdd075595b069e039e36
162
package edu.csuft.assess.exception; public class InvalidAuthorityException extends Exception{ public InvalidAuthorityException() { super("用户权限不正确"); } }
18
57
0.771605
31ed4019fe7295729d83d0c73cb93956c2bfa463
404
package de.isuret.polos.aetheroneserver; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication public class AetheroneServerApplication { public static void main(Stri...
26.933333
68
0.841584
d0484449d54619f082750e0eee0a8edc6fedec17
3,933
/* * k8s.io/api/admission/v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech...
25.211538
209
0.692093
b84a182f623427b2a62dac9f58cf7c14eaf83200
2,573
/* * Copyright 2002-2016 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...
24.980583
92
0.592693
e1cc22a3356f2f3321a32b7500d74940681466ff
1,213
package com.itstyle.doc.model; import java.sql.Timestamp; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import com.itstyle.doc.common.utils.DateUtil; impo...
25.808511
57
0.756801
801410ae8994bd9f0eb828cd77f2c32d4591dcb1
826
package com.trl.theoreticalKnowledge.nestedClass.innerClass.variables.b.b1; import static java.lang.System.out; public class Example { public static void main(String[] args) { Outer outer = new Outer(); Outer.InnerA innerA = outer.new InnerA(); Outer.InnerA.InnerB innerB = innerA.new Inner...
25.8125
75
0.567797
e757fadaccbeba3a7b9f6920be57277aad16b0f0
1,589
package com.github.Ephyy.finalreality.model.character.player; import com.github.Ephyy.finalreality.model.character.AbstractCharacterTest; import com.github.Ephyy.finalreality.model.character.CharacterClass; import com.github.Ephyy.finalreality.model.character.Enemy; import java.util.EnumMap; import java.util.Map; im...
28.890909
87
0.753304
4c419a9f87c84923c1a1afc28e9900a1c650137f
3,036
package com.heliorm.impl; import com.heliorm.OrmException; import com.heliorm.def.ExpressionContinuation; import com.heliorm.def.FloatField; import com.heliorm.Table; import java.util.Arrays; import java.util.List; /** * * @author gideon */ public class FloatFieldPart<T extends Table<O>, O> extends NumberFieldPar...
37.481481
130
0.735507
9c44e450087aa5980d40b47e6a111b8d8964b689
993
package cat.nyaa.infiniteinfernal.event; import cat.nyaa.infiniteinfernal.mob.IMob; import org.bukkit.entity.LivingEntity; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; public class IMobNearDeathEvent extends Event { private final IMob iMob; private final LivingEntity damager; public...
22.066667
68
0.680765
0cba7adfdf6d194fdeb865e0254701ba185c0e7b
1,947
package com.netifi.httpgateway.bridge.endpoint; import com.netifi.broker.info.Broker; import io.netty.handler.ssl.OpenSsl; import io.netty.handler.ssl.SslContext; import io.netty.handler.ssl.SslContextBuilder; import io.netty.handler.ssl.SslProvider; import io.netty.handler.ssl.util.InsecureTrustManagerFactory; import...
32.45
87
0.711351
3eceabacb9cf5676b3f3dd8dc3767f5f1dec31ab
207
package org.aries.nam.model.old; import java.io.Serializable; public interface Descripter extends Serializable { public String getName(); public String getType(); public String getDescription(); }
13.8
50
0.763285
422f91a53ede0a44cb4edb49a40f27bf41218c27
1,823
package nuTinemCuFranta.plai.model; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.util.Objects; @Entity @Table(name="tasks") public class Assignee { @Id @GeneratedValue( strategy= GenerationType.AUTO, generator="native" ) @GenericG...
21.447059
66
0.5661
e51797db9064026a87ba6e8186f0341bf1d79578
3,742
/* * 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...
34.648148
126
0.750401
58cd2116797c7e4beddfcb7955dce02659d28ac1
12,481
package org.cyclops.integrateddynamics.core.logicprogrammer; import com.google.common.collect.Sets; import com.mojang.blaze3d.matrix.MatrixStack; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.renderer.ItemRenderer; import net.minecraft.client.renderer....
44.258865
201
0.66469
8802ad7ebb79b91cf967f00e25d58a0019add805
1,587
/******************************************************************************* * Copyright 2014-2017 Specure GmbH * * 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.apa...
33.0625
101
0.670447
02cf5b731ae233a5bd98017fa565c490c8346b59
339
package com.polban.tekpro.monopoly; public class GameBoardFreeParking extends GameBoard { public GameBoardFreeParking() { super(); JailCell jail = new JailCell(); FreeParkingCell freeParking = new FreeParkingCell(); GoToJailCell goToJail = new GoToJailCell(); addCell(jail); addCell(freeParking); addCel...
21.1875
54
0.749263
309fe6de86cac9cfdace42adf6c2db1036bac9de
3,446
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
24.971014
128
0.763494
7cac4a5e76c94d1312b3578df8910de5d1e66e2e
358
package com.whh.redisstandalone; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author hipi */ @SpringBootApplication public class RedisStandaloneApplication { public static void main(String[] args) { SpringApplication.run(RedisStan...
21.058824
68
0.804469
d578507c45ea3f10058887b72b3e617c02dc3c9c
5,440
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
37.006803
104
0.651838
53c91ef3db31c51c102d4a10ce971bf85966d671
390
package com.github.jeansantos38.stf.dataclasses.datadriven; /************************************************************ * © Copyright 2019 HP Development Company, L.P. * SPDX-License-Identifier: MIT * * Smart Test Framework ************************************************************/ public class Statements...
26
62
0.487179