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
2cc73e0f73f99beb4fe9da1d76dcd9af06039f9b
249
package com.pisces.core.exception; public class LicenseException extends BaseException { private static final long serialVersionUID = 2982990613157147413L; public LicenseException(Enum<?> key, Object... args) { super(key, args); } }
24.9
68
0.742972
6a7fc148e70a3323ce4c95db94eb76c36f3138bb
625
//Criando im programa que calcula o IMC package aulas; import java.util.Scanner; public class AULA010 { public static void main(String[]args){ Scanner input = new Scanner (System.in); System.out.println(" IMC\n"); System.out.println("Informe sua altura: "); d...
18.382353
51
0.5216
0fac32292784e5f86dac4f4a0370699e88a8aa29
1,858
package com.up.libraryBookingSystem.pojo; import com.up.libraryBookingSystem.ENUMS.Nationality; import java.util.Objects; public class Authors { private Integer AuthorId; private String name; private Nationality nationality; private String image; public Authors(Integer authorId, String name, Na...
24.447368
174
0.593649
14002bc681e22912fbb12277c743d0e05090b021
5,443
/* * 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 ...
55.540816
110
0.710086
c89f8fe990d677dfd6b33568beb1f5f8edb01b41
820
package org.loomdev.loom.entity.monster.skeleton; import org.jetbrains.annotations.NotNull; import org.loomdev.api.entity.EntityType; import org.loomdev.api.entity.monster.skeleton.WitherSkeleton; import org.loomdev.loom.entity.monster.skeleton.AbstractSkeletonImpl; public class WitherSkeletonImpl extends AbstractSke...
31.538462
94
0.770732
93d292a8342fb84ad4ab9c4ab305adcdd60b3539
1,229
/* * @test /nodynamiccopyright/ * @summary smoke test for inference of throws type variables * @compile/fail/ref=TargetType63.out -XDrawDiagnostics TargetType63.java */ class TargetType63 { interface F<T extends Throwable> { void m() throws T; } void g1() { } void g2() throws ClassNotFound...
29.97561
92
0.586656
63c09332560c38a724c2b6f1e2efb474fc41282b
1,571
package com.productandcousmer02; /** * 线程间通信 : * 1.使用生产者 消费者 * 2.通知等待唤醒机制 * * 判断,干活,通知 * 使用synchronized实现 * */ public class NotifyWaitDemo { public static void main(String[] args) { Products products = new Products(); new Thread(()-> { for (int i = 0; i < 10; i++) { ...
20.671053
74
0.425207
29cd0189f17f4a0807555fc8d1fe6ea8a7d64eea
4,263
/* * Copyright (C) 2022 The SINOBU Development Team * * Licensed under the MIT License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://opensource.org/licenses/MIT */ package kiss.signal; import java.ut...
25.076471
103
0.541872
9706f56c0c65c58a0835c24e7be3ace369cbf18c
10,380
/* * 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 ...
33.376206
175
0.715318
beceb1bd7d6d0688d54f96aa0f6c7c45d98485d4
1,055
package server.push; import io.netty.channel.ChannelHandlerContext; import io.netty.util.internal.logging.InternalLogger; import io.netty.util.internal.logging.InternalLoggerFactory; import java.util.concurrent.ConcurrentHashMap; /** * Created by huoyijie on 18/10/25. */ public class UniqueIdCtxMap { private s...
32.96875
113
0.734597
25e9ba0f60c35413c5b4d8523371c1f9497fae53
707
package ada.domain.dvc.values; import ada.domain.dvc.protocol.api.ValueObject; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; @JsonTypeInfo( use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PR...
30.73913
78
0.760962
80527bbd4b946462c80aba743ea7051229975cc1
1,234
package qp.dataflow; import com.google.common.base.MoreObjects; import java.util.Objects; /** * * @author tperrotta */ public class Transformation extends DataflowObject implements Comparable<Transformation> { private String tag; public Transformation() { } public Transformation(Str...
19.587302
90
0.560778
147db5a61641dd4c3271bba001339bd38960d7f4
1,135
package PersonalFolder; import java.util.ArrayList; import java.util.Arrays; public class EmployeeDetails { private static ArrayList<Employee> employees = new ArrayList<>(); public void addNamesToList() { employees.add(new Employee("Addams", " Gomez"," Accounting")); employees.add(new Employe...
32.428571
72
0.627313
11549ba3819480fcb546f5d97bab45ada5e4e8d3
883
/** * MuleSoft Examples * Copyright 2014 MuleSoft, Inc. * * This product includes software developed at * MuleSoft, Inc. (http://www.mulesoft.com/). */ package org.mule.examples; import org.codehaus.jackson.annotate.JsonAutoDetect; @JsonAutoDetect public class Address { private String streetAddress; privat...
18.395833
53
0.722537
52e25be258e4ed23b9053ad9eac35f77038cefd9
2,284
/* * 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. * * This program is distributed in the hope tha...
28.911392
82
0.640981
0e606fd5b1357b306d86b9ba9450925ee8af90c3
27,510
// Copyright (c) 2019, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.cf_segments; import com.google.classlib.events.InstructionHandler; import com...
23.098237
100
0.634533
5bf07b4a7c9f45b51dcd952f4095d2d098e08619
2,332
package engine.graphics; import java.awt.Graphics; import java.awt.Image; import java.util.ArrayList; import engine.core.MarioGame; import engine.helper.TileFeature; public class MarioTilemap extends MarioGraphics { public Image[][] sheet; public int[][] currentIndeces; public int[][] indexShift; pub...
37.612903
116
0.539022
e53f150b49dae4ed077673ffe956c2d21e840879
2,174
/* * Copyright (C) 2022-2022 Huawei Technologies Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
26.839506
100
0.690432
2efec914843c4bc4eb433a39da20c9af674dbc8f
580
package dev.ursinn.schule.m120; import javax.swing.*; import java.awt.*; import java.awt.geom.Line2D; public class First2Ddemo extends JFrame { @Override public void paint(Graphics g) { super.paint(g); Graphics2D g2 = (Graphics2D) g; g2.setRenderingHint(RenderingHints.KEY_ANTIALIASIN...
23.2
96
0.648276
a2240b9e8af99b56180f9f9a7079bcbe0de1931c
247
package com.ibeetl.admin.console.handler; import com.ibeetl.admin.console.domain.ResultDO; /** * Created by lwen on 2018/9/15 */ public abstract class ExceptionHandler { public abstract void handle(Exception exception, ResultDO result); }
22.454545
70
0.765182
20161a1e97721c348c0999779424182e6abf88ad
420
package ru.gravo.boxes.work_place_list; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import ru.gravo.boxes.BpoA; /** * Created by Алексей on 02.11.2017. */ public class LcCfgWorkPlace { @SerializedName("CFG.WP") @Expose private BpoA<APlace>[] cfgWorkPla...
20
50
0.719048
6750d1ffa29d44954696d2baf73fbb1256c1a868
508
public class dupArray { public static void main(String[] args) { int [] array = {1 , 2 ,3 ,4 ,5}; int [] newArray = new int[array.length]; for (int i = 0 ; i < array.length; i ++){ newArray[i] = array[i]; System.out.println("old array " + array[i]); S...
25.4
62
0.529528
10e97b12403af8cdaa056356137ff09ba40bde3b
11,703
package io.nuls.chain; import io.nuls.base.basic.AddressTool; import io.nuls.base.protocol.CommonAdvice; import io.nuls.base.protocol.ProtocolGroupManager; import io.nuls.base.protocol.ProtocolLoader; import io.nuls.base.protocol.RegisterHelper; import io.nuls.base.protocol.cmd.TransactionDispatcher; import io.nuls.ch...
43.025735
151
0.669657
a76e31d520b8405645ac016fce26361b96e8157d
1,386
/* * Copyright 2019 Patriot 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 applicabl...
29.489362
88
0.700577
f52413a6cbdc7ab3cccb381725a8e1c2b4de28ad
280
package example.repo; import example.model.Customer786; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer786Repository extends CrudRepository<Customer786, Long> { List<Customer786> findByLastName(String lastName); }
21.538462
82
0.828571
0522ef643c8502d3d0ca0c4197515d3c16fde421
1,594
package chara; import java.util.ArrayList; import java.util.List; import Item.*; public abstract class Player extends Character { private int level; private Weapon weapon; private List<Item> inventory;//プレイヤーのインベントリ,サイズは5こ public int getLevel() { return this.level; }...
23.791045
99
0.584693
b071d739a0042b1f9715eef72aef43a4c23d156d
2,168
/* * The MIT License * * Copyright 2017 Olimpia Popica, Benone Aligica * * Contact: contact[a(t)]annotate[(d){o}t]zone * * 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 restr...
30.535211
80
0.686808
bddbc71e24c519e57544b5fb66206e1bcba83ff9
325
package com.garowing.gameexp.game.rts.ai.behaviac.constants; /** * 过滤器类型 * @author seg * 2017年1月5日 */ public enum TargetFilterType { /** * 最近的敌人 */ NEAREST_ENEMY(1); /** * 代码 */ private int code; private TargetFilterType(int code) { this.code = code; } public int getCode() { return code; ...
10.833333
60
0.624615
031db795a4cec93a3d1da99e0ff550155f418e80
5,190
/* * Copyright 2015 Alexandr Evstigneev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
30.174419
142
0.737187
6e6486d5838b91a89ffe2873de28595a26be82ca
9,750
package polimesa; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import javax.swing.*; import java.awt.BorderLayout; import java.io.File; import net.bramp.ffmpeg.FFmpeg; import net.bramp.ffmpeg.FFmpegExecutor; import net.bramp.ffmpeg.FFp...
37.356322
136
0.573538
53a32ea381dd39b42a477f95894cd25e2780b3a4
691
package mobi.tarantino.stub.auto.di; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import mobi.tarantino.stub.auto.SchedulerProvider; import rx.Scheduler; import rx.android.schedulers.AndroidSchedulers; import rx.schedulers.Schedulers; @Module public class SchedulersModule { @Prov...
21.59375
54
0.639653
cb7ee27ebbd568b1935cb7f050fe43de667ddbc1
4,641
/* *AVISO LEGAL © Copyright *Este programa esta protegido por la ley de derechos de autor. *La reproduccion o distribucion ilicita de este programa o de cualquiera de *sus partes esta penado por la ley con severas sanciones civiles y penales, *y seran objeto de todas las sanciones legales que correspondan. *Su...
35.7
135
0.805645
e8bc72aa2b772f4031f624bec1df71216b053dd6
306
package messenger.dispatch; import org.springframework.stereotype.*; import messenger.data.*; @Service public class MailGunMessageProvider implements MessageProvider { @Override public void send(Message message) { throw new MessageProviderException("mailgun", "Not Implemented"); } }
23.538462
73
0.754902
f28711115eb0523627d013aadc6f2a77302be85c
2,979
package com.jmtad.jftt.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.view.PagerAdapter; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RelativeLayout; impor...
26.598214
97
0.627056
68006ca79974ef7833a3ea921597658ec0007c88
865
package com.wukj.utils; import android.util.Log; import com.wukj.lib.tools.EnvironmentVariable; import com.orhanobut.logger.Logger; /** * 项目名称: * 类名称:com.jonyker.common.utils * 类描述: * 创建人:Jonyker * 创建时间:2017/2/30 0030 上午 10:34 * 修改人:Jonyker * 联系方式:QQ/534098845 * 修改时间:2017/2/30 0030 上午 10:34 * 修改备注: * 版本:V....
21.097561
73
0.628902
221e828005a63ace238e0d1ff22343969bb90776
224
package com.fr.swift.cloud.jdbc.adaptor; import com.fr.swift.cloud.jdbc.adaptor.bean.InsertionBean; /** * Created by lyon on 2018/12/10. */ public interface InsertionBeanParser { InsertionBean getInsertionBean(); }
18.666667
58
0.75
d062bfd6a231ad614e01b542364119988780123a
245
package net.minidev.ovh.api.coretypes; /** * Ip versions */ public enum OvhIpVersionEnum { v4("v4"), v6("v6"); final String value; OvhIpVersionEnum(String s) { this.value = s; } public String toString() { return this.value; } }
12.25
38
0.653061
6469f6abd6fa6d963cf999e4a84d1b1f1e1aaa27
1,905
/** * Copyright 2005-2016 hdiv.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/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
33.421053
100
0.736483
65272d1c2ec73ccc32ead60d881bcdd4652f9314
214
package org.bumble.test.model; /** * @author : shenxiangyu * @date : */ public class SimpleCat { public void say() { System.out.println("I am a simple cat, can only say this one sentence"); } }
17.833333
80
0.621495
fb10377a90ec55273f83ca6e7b3ed8e819d6458a
1,154
package pt.up.fe.els2021.functions; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; import pt.up.fe.els2021.Table; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "function") @JsonSubTypes({ @JsonSubTypes.Type(value = ExcludeFunction.class, name...
50.173913
202
0.753899
1a19ca381eeefac7aad7b4b4e631dcfc62001899
396
package me.gabu.gabazar.livros.core.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.UNAUTHORIZED) public class AccessException extends RuntimeException{ public AccessException(String mensagem) { supe...
24.75
62
0.785354
b787bb84f153477db8ced8344b94cf523edeb3ba
2,384
package com.rozsa.crow.screen; import com.rozsa.crow.screen.attributes.Color; import com.rozsa.crow.screen.attributes.Size; import javax.swing.*; import java.util.HashMap; import java.util.Map; public abstract class BaseScreen<TKey, TKeyGroup> extends JPanel { private Map<TKey, BaseView> views; ...
24.326531
69
0.574664
c97bcdebb016e2f95ac223d202a547e4c8ef8e87
1,360
package net.nemerosa.ontrack.jenkins.dsl.v4; import net.nemerosa.ontrack.dsl.v4.ChangeLog; import net.nemerosa.ontrack.jenkins.dsl.facade.*; import java.util.List; import java.util.stream.Collectors; public class ChangeLogV4Facade implements ChangeLogFacade { private final ChangeLog changeLog; public Chang...
25.660377
59
0.649265
baa6a4b5789de3f91bebb6441c78afbaaff90f72
1,335
package org.jetbrains.research.kotlinrminer.cli.decomposition.replacement; import org.jetbrains.research.kotlinrminer.common.replacement.Replacement; import org.jetbrains.research.kotlinrminer.cli.decomposition.ObjectCreation; import org.jetbrains.research.kotlinrminer.cli.decomposition.OperationInvocation; public cl...
44.5
107
0.659925
2116c43687db173cf414b1ec5e83cb30fd746809
2,433
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdictio...
41.237288
133
0.753802
44553e240f740a97f81e9867c894c3683c984c0d
881
package io.digdag.core.database.migrate; import org.skife.jdbi.v2.Handle; public class Migration_20161110112233_AddStartedAtColumnAndIndexToTasks implements Migration { @Override public void migrate(Handle handle, MigrationContext context) { if (context.isPostgres()) { handle.u...
32.62963
138
0.633371
26837f7bf01c9c92b5a28231bce562235e3e5f9b
8,183
package ca.thurn.jgail.connect4; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Random; import ca.thurn.jgail.core.Copyable; import ca.thurn.jgail.core.Player; import ca.thurn.jgail.core.State; /** * State class for a game of Connect4. */ public class C4State implement...
26.06051
89
0.610901
821acac4abb5bfd7e5704ad8dbe50e41d524f420
15,310
package ai.clipper.rpc; import java.io.IOException; import java.io.File; import java.net.InetAddress; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.LongBuffer; import java.util.*; import ai.clipper.container.data.*; import ai.clipper.container.ClipperMode...
40.826667
101
0.662443
26f4703292d27394580676d20bbf63352da45c63
2,663
/* * Copyright 2012 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
42.269841
151
0.711603
05086423e06255445f4b57190f7ef7f5982e7e20
338
package com.lizy.myglide.load; /** * Created by lizy on 16-5-4. */ public enum MemoryCategory { LOW(0.5f), NORMAL(1.0f), HIGHT(1.5f); private float multiplier; MemoryCategory(float multiplier) { this.multiplier = multiplier; } public float getMultiplier() { return mu...
14.083333
38
0.609467
15e1e96c4f72b0a64fe69a168a46ec50e4d7eb4e
6,317
/* * 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 Project.Product.Cart; import Project.DAO.ProductDAO; import Project.Sample.Product; import Project.Sample.User; import java.io...
32.561856
123
0.585721
243a97c7774ccdba60ccfe1f370973cd01d53dbd
379
package je.techtribes.component.newsfeedconnector; import com.structurizr.annotation.Component; import je.techtribes.domain.NewsFeed; import je.techtribes.domain.NewsFeedEntry; import java.util.List; /** * Retrieves news feed entries from RSS and Atom feeds. */ @Component public interface NewsFeedConnector { ...
21.055556
59
0.799472
22185fe83232054031c42ee8809cfe256d3e81b4
690
/* * Copyright 2021, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.datastores.aggregation.queryengines.sql.expression; import com.yahoo.elide.datastores.aggregation.query.Queryable; import lombok.Builder; import lombok.NonNull;...
22.258065
75
0.731884
daf7332a37c863cbc93b6ee4016508018ca84fad
2,002
package org.firstinspires.ftc.teamcode.localizers; public class IMUlocalizer { double x = 0; double y = 0; double z = 0; double xvelo = 0; double yvelo = 0; double zvelo = 0; double angleRad = 0; double last_xaccel_measurement = 0; double last_yaccel_measurement = 0; double...
23.833333
94
0.643856
0e4e86b5cf30c5a4ac54009cbaef45050d19e4b8
4,223
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
32.484615
96
0.697372
a55c8a0ee5361d559f92aa8688f749bc58000390
3,434
package htsjdk.tribble.readers; import htsjdk.HtsjdkTest; import htsjdk.samtools.util.BlockCompressedFilePointerUtil; import htsjdk.samtools.util.BlockCompressedInputStream; import htsjdk.samtools.util.BlockCompressedOutputStream; import org.testng.Assert; import org.testng.annotations.Test; import java.io.ByteArrayI...
44.597403
113
0.718404
76306bb9e85d6545f730c14f644cbe27a32c2622
7,557
/* * 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 ...
49.071429
182
0.695117
0184471b24406c6fb23db82adaf5bbc359cb8aa3
3,718
/* * MIT License * * Copyright (c) 2020, 2021 Alexander Nikiforov * * 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 u...
35.75
94
0.685046
9a3637be172e04f95e202cc81e77ebfa01273276
2,017
package The_Scribe.relics; import The_Scribe.actions.RunicRepeaterAction; import The_Scribe.powers.SpellAttack; import The_Scribe.powers.SpellModifierInterface; import The_Scribe.powers.SpellPoison; import com.badlogic.gdx.graphics.Texture; import com.evacipated.cardcrawl.mod.stslib.relics.OnAfterUseCardRelic; import ...
32.015873
94
0.752107
e6bc8074ce9e7f4e5301f381aa584b56a73610ee
429
package com.yyang.learning.ita.util; import lombok.Getter; import lombok.Setter; @Getter@Setter public class Timer { private Long begin; private Long end; public void begin() { this.begin = System.currentTimeMillis(); } public void stop() { this.end = System.currentTimeMillis(); } public Long r...
13.83871
42
0.680653
483f225226f49aa69fc11944d9f9016871c3ff02
32,829
package com.jfinalshop.service; import java.math.BigDecimal; import java.util.Calendar; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import net.hasor.core.Inject;...
27.821186
294
0.678638
9ddebb1ffc8997f503fd7f1aebc50e181c473f8d
7,251
package ru.kontur.vostok.hercules.elastic.sink.index; import org.junit.Assert; import org.junit.Test; import ru.kontur.vostok.hercules.protocol.Container; import ru.kontur.vostok.hercules.protocol.Event; import ru.kontur.vostok.hercules.protocol.EventBuilder; import ru.kontur.vostok.hercules.protocol.Variant; import r...
47.084416
134
0.590953
50b2c02cc956beb0a60e9759962c5d5cc5c18d02
5,590
package com.stylefeng.guns.po; import org.hibernate.annotations.Proxy; import javax.persistence.*; import java.util.Date; import java.util.Objects; @Entity @Proxy(lazy = false) @Table(name = "sys_user", schema = "guns", catalog = "") public class User { @Id @Column(name = "id") @GeneratedValue(strategy =...
24.304348
145
0.569052
1e7ce05a07c4dd58dcc27046029d8acc168e5dd8
1,005
package org.elixirian.kommonlee.type.functional.primitive; /** * <pre> * ___ _____ _____ * / \/ / ______ __________________ ______ __ ______ / / ______ ______ * / / _/ __ // / / / / / /_/ __ // // // / / ___ \/ ___ \ *...
37.222222
87
0.420896
e941ee56b764efc4b2235f30bd7facae0faebe3b
154
package android.curso.bonuspoo.datamodel; /** * Created by marcomaddo on 27/10/2017. */ public class CarroDataModel { // definições da tabela. }
14
41
0.701299
a29fabe8b74fea29765655a96560c26759badef1
889
package uk.gov.companieshouse.web.accounts.model.smallfull.notes.currentassetsinvestments; import uk.gov.companieshouse.web.accounts.model.Note; import uk.gov.companieshouse.web.accounts.validation.ValidationMapping; import uk.gov.companieshouse.web.accounts.validation.ValidationModel; import javax.validation.constra...
37.041667
92
0.821147
af3e28608216ba9a09cc7d35a50c2b93ac2bd0cc
8,410
package com.didi.carrera.console.web.controller.odin; import com.didi.carrera.console.service.ClusterService; import com.didi.carrera.console.service.ConsumeGroupService; import com.didi.carrera.console.service.ConsumeSubscriptionService; import com.didi.carrera.console.service.TopicService; import com.didi.carrera.c...
44.734043
156
0.753151
fb14bfec523a602598e833671929e854f3329ee6
1,074
package com.jinke.kanbox; public interface RequestListener { public void onComplete(String response, int operationType); public void onError(KanboxException error, int operationType); public void onError(KanboxException error, int operationType,String path,String destPath); public void downloadProgress(long currSi...
34.645161
91
0.780261
080b90795c2152db4a9aab720a70bfe90ef735b0
3,851
/* * Copyright (c) Microsoft Corporation. * * 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...
30.808
121
0.67437
1c7aaa7cf2be5b8b41247c802320e5b0e1bbe096
656
package edu.udel.cis.vsl.abc.ast.entity.common; import edu.udel.cis.vsl.abc.ast.entity.IF.CommonEntity; import edu.udel.cis.vsl.abc.ast.entity.IF.Label; import edu.udel.cis.vsl.abc.ast.entity.IF.ProgramEntity; import edu.udel.cis.vsl.abc.ast.node.IF.label.OrdinaryLabelNode; public class CommonLabel extends CommonEnti...
29.818182
81
0.794207
fd95eedf83cb486b47b1eb18d0ce0a80e5649b26
10,172
package com.simmgames.waystones.data; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; import com.simmgames.waystones.permissions.Perm; import com.simmgames.waystones.util.Default; import com.simmgames.waystones.util.Work; import org.bukkit.ChatColor; import or...
31.987421
150
0.57442
730ba9ae92af3b97d05fb26f41a61c30aacf2f44
400
import java.util.Arrays; /*Write code that fills an array values with each set of numbers below. g.0 1 2 3 4 0 1 2 3 4*/ public class R6_01G { public static void main(String[] args) { int[] numbers = new int[10]; for (int i = 0; i < numbers.length; i++) { numbers[i] =...
26.666667
71
0.555
ff3694df54689b25e57483b1dc3ff7544155fe3c
1,421
/* * Copyright 2019 https://github.com/romeoblog/spring-cloud.git Group. * * 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...
39.472222
102
0.73399
ee220f7aa2b398a638158c5cc78fc7453ed498f6
794
package com.codingapi.txlcn.tc.utils; import org.junit.jupiter.api.Test; import org.springframework.util.Assert; import org.springframework.util.StopWatch; import java.util.HashSet; import java.util.Set; import static com.codingapi.txlcn.tc.utils.IdUtils.generateLogId; /** * @author WhomHim * @date Create in 2020...
24.8125
67
0.625945
c6919feb1415d5477cb8b4e11cf85685ee6384ce
1,126
package backend.cell; import backend.util.ModifiableVoogaCollection; import java.util.Collection; /** * @author Created by th174 on 3/30/2017. */ public class Region extends ModifiableVoogaCollection<Terrain, Region> { private static final long serialVersionUID = 1L; public transient static final Region DEFAULT...
28.15
108
0.750444
ec372b734e48908bd3de5c9a32bb1032dedda82a
5,250
package com.xhy.weibo.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.xhy.weibo.model.Login; import com.xhy.weibo.model.User; import java.util.ArrayList; import java.util.List; /** * Created by xuhao...
35.714286
110
0.581524
da4c5290ba72c9562a42f1fe218da19bea543e7e
3,726
/* * Copyright 2020 b333vv * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
47.769231
129
0.765432
ce3fbac23953f2c97ff91448c1358e4529046f0e
332
package org.endeavourhealth.core.database.dal.audit; import org.endeavourhealth.core.database.dal.audit.models.ApplicationHeartbeat; import java.util.List; public interface ApplicationHeartbeatDalI { void saveHeartbeat(ApplicationHeartbeat h) throws Exception; List<ApplicationHeartbeat> getLatest() throws E...
27.666667
79
0.822289
aff91028bc8804491804abcb908e327075f4105c
1,579
package uk.gov.hmcts.reform.sscs.controller; import static org.mockito.Mockito.when; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print; import static org.springframework.test.web.servlet.result.Mo...
35.886364
87
0.79544
7bd5ede897dc281f7843059b6d547444289153ee
586
package com.lemon.blog.model; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import java.time.LocalDateTime; @Data public class Comment { private Long id; private Long articleId; private Long userId; private Long pa...
18.3125
54
0.750853
de93e22f0732b78c7fb696e082da99b2bf0deaf0
139
package test0352; public class Test2 { void m1(final int a, final int[] b) { } void m(final int a, final int b[]) { } }
12.636364
41
0.561151
69e6ec4890b08e3d245b0f6fc36bf597efb460f4
3,085
package ru.job4j.io; import org.junit.Test; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Created on 11.12.1...
24.68
78
0.5047
d3c50800111b7bcda8c3894f84fea8afdb1ed8e1
3,358
/* * 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 ...
38.597701
117
0.756105
68f6e09ad974e1403124d1d76f3daadf519f0c5d
2,044
/* * 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 ...
35.241379
96
0.716243
7d4180906ac045afe2a9aa8509c91e23e81c9fed
11,854
package jk.core.excel.parse.base; import jk.core.ex.ConvertDataException; import jk.core.ex.ParseHeaderException; import jk.core.util.RegExpUtil; import jk.core.util.Utils; import l.jk.json.JSONObject; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.lang.reflect.Field; ...
25.995614
93
0.628649
80df1975c14594428da4af0159414b2750104c64
2,419
package aggrathon.agendaonce; import android.Manifest; import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.ContentUris; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.provider.CalendarContract; import a...
33.136986
120
0.796197
78d8570ec61b5309908e7709008e117c3529157a
247
package edu.ccsu.cs417.exceptiondemo; /** * Exception representing that B should never be zero * @author Chad Williams */ public class BZeroException extends Exception{ private static final long serialVersionUID = -6584365451451687134L; }
24.7
71
0.777328
22254f4be2d1a1dbbad17b9256c054811a0fb9fe
1,309
/* * Copyright 2014-2019 Netflix, 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 agr...
26.18
75
0.663102
97da484037d281b3f4680311a9ee3d4f6591b9e3
5,385
package com.episode6.hackit.disposable; import javax.annotation.Nullable; import java.lang.ref.WeakReference; import java.util.Arrays; import java.util.Collection; import java.util.LinkedList; import java.util.List; /** * Utility class containing static methods to create Disposables. */ public class Disposables { ...
32.245509
129
0.709378
3d3f2c502f44bc83c105b4ba54efd3b7286f2c60
1,659
package clustercamp.gateway; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import org.springframework.cloud.gateway.filter.GatewayFilter; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.web.server.ServerWebExchange; import reactor.core.publisher.Mono; import ja...
26.758065
82
0.748644
236f01c0805905fdd4586a9b27ca4f3b8a51b216
1,942
package com.ceiba.reserva.servicio; import com.ceiba.dominio.excepcion.ExcepcionSinDatos; import com.ceiba.reserva.modelo.entidad.Reserva; import com.ceiba.reserva.puerto.repositorio.RepositorioReserva; import com.ceiba.reserva.servicio.ServicioActualizarReserva; import com.ceiba.reserva.servicio.testdatabuilder.Reser...
32.366667
106
0.81102
badfbb24231279e50fa02b13a9995151c428c3d3
28,163
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.data.tables; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.ServiceMethod; import com.azure.core.credential.AzureNamedKeyCrede...
49.236014
154
0.684551
15c8899718ead75de2311c7468c0c125ed5ffcaf
473
package com.zw.platform.util.imports.lock.dto; import com.zw.platform.util.imports.lock.ImportModule; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; /** * 进度条DTO * * @author Zhang Yanhui * @since 2020/9/14 17:16 */ @Data @NoArgsConstructor @AllArgs...
16.892857
54
0.756871
741c3739b296090cbc5787e2e0d44251864bf0a2
157
class J { void foo1(String[] ss) {} String[] foo2() { return new String[]{""}; } void bar1(int[] is) {} int[] bar2() { return new int[]{0}; } }
11.214286
26
0.509554
d246229b932ee69abeaf8fdb51d9d9df11a9d505
6,081
/****************************************************************************** * Copyright 2017 The Baidu 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 ...
39.487013
115
0.668147
814e66eaac83d4597176510ea728f361e9db5618
763
package net.testaholic_acme_site.repository; import net.testaholic_acme_site.domain.ThImageInput; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.*; import java.util.List; /** * Spring Data JPA repository for the ThImageIn...
33.173913
110
0.802097
c9c175d1def18f0a036f963a9e66df17f89cda64
1,042
/* * 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>. */ //$Id: Transaction.java 6234 2005-03-29 03:07:30Z oneovthafew $ package org.hibern...
18.945455
94
0.71785
9d910dbe6491eb12dab4174fdec246598d0a6371
1,165
package ru.job4j.stream.convert; import org.junit.Test; import java.util.List; import java.util.Map; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * * @author Yury Doronin (doronin.ltd@gmail.com) * @version 1.0 * @since 20.05.2019 */ public class ListToMapTest {...
27.738095
68
0.561373
413684894fe5fa5a122adbdd9bc96fd9e3b42909
3,732
package com.acmerobotics.relicrecovery.opmodes; import com.acmerobotics.library.cameraoverlay.CameraStreamServer; import com.acmerobotics.relicrecovery.configuration.MatchType; import com.acmerobotics.relicrecovery.configuration.OpModeConfiguration; import com.acmerobotics.relicrecovery.subsystems.JewelSlapper; import...
34.555556
83
0.701233
484f68db8f637a58deeb829da6a1ab2a4a29f86d
389
package com.sababado.ezdb; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Created by robert on 9/15/15. */ @Retention(RetentionPolicy.RUNTIME) public @interface Column { public static final String FK_COL_NAME = "___fk"; public static final String ID = "id"; St...
21.611111
53
0.735219