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
36870482ce8c4c04ec51aa80d9b77fe76a827689
4,120
package org.team2168.utils; import java.util.TimerTask; import org.team2168.Robot; import org.team2168.RobotMap; import org.team2168.subsystems.Tusks; import org.team2168.subsystems.Vision; import org.team2168.subsystems.Winch; import org.team2168.subsystems.Drivetrain; import org.team2168.subsystems.IntakePosition; ...
42.040816
108
0.753398
0d458b7782ee669c049e5c656b9f4a7c873a3519
1,245
// AddProductItem.java // Copyright © 2019 NextStep IT Training. All rights reserved. // package com.tc3.tc3service; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; public class AddProductItem { @Given("The client has a customer login") public void the_cli...
33.648649
76
0.720482
eedd3ce13482acbde53213c76741e2760469c542
899
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for AssetClassSubProductType28Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simp...
21.404762
95
0.678532
d7b4750f7182ec93badb0f6e035af89b7de5d519
2,668
/* * 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 ma...
37.055556
141
0.730135
df403ceb78eba59c7fc5e5d4d6be010ba21490c2
1,817
package com.vaadin.tests.components.form; import com.vaadin.data.util.BeanItem; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Form; public class FormClearDatasourceRepaint extends TestBase { public static class MyBean { ...
24.554054
88
0.577325
aff1b9e24df309b8d9ef30f2876500f26880e9d3
2,419
package org.filmticketorderingsystem.controller.user; import org.filmticketorderingsystem.bean.OrderBean; import org.filmticketorderingsystem.bean.OrderDetailBean; import org.filmticketorderingsystem.service.UserOrderingService; import org.springframework.stereotype.Controller; import org.springframework.web.bind.anno...
29.864198
92
0.686234
e9971e37ead1785c8a75ec467acca03410734703
155
& | ^ ~ //bitwise AND, OR, XOR, and NOT >> << //bitwise arithmetic shift >>> //bitwise logical shift + - * / = % //+ can be used for String concatenation)
31
53
0.6
90b8220afa357ec2aa76f28c833708a3b10f7a94
1,545
package com.demo.model; public class Person { private Integer id; private Long created; private String username; private String address; private String phone; private String remark; public Integer getId() { return id; } public void setId(Integer id) { this.id ...
20.6
66
0.520388
10fe3ac4480bd667ac71805c1b9c0e5532296bff
5,558
/* * Copyright 2017-2018 Crown Copyright * * 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 a...
40.275362
139
0.717344
02f88cb829a4c48c25e61b700c58fc5b779c7d1a
1,368
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2020.06.19 ...
25.333333
109
0.663012
dc9bcfc5dfc34bbd26f4cde72eacd57d39b8f639
1,195
package com.greek.shop.api.data; import java.io.Serializable; import java.util.List; /** * 数据分页使用的对象 * * @author Zhaofeng Zhou * @date 2021/11/17/017 17:46 */ public class Page<T> implements Serializable { int pageNum; int pageSize; int totalPage; List<T> data; public Page() { } pub...
18.968254
90
0.595816
09d6d5fcc502438c9085cf385048b7a3d27d14c5
4,628
package com.jibug.frpc.boot.registar; import com.jibug.frpc.boot.registar.annotation.RpcReferenceFieldElement; import com.jibug.frpc.common.annotation.RpcReference; import com.jibug.frpc.common.cluster.registry.Registry; import org.springframework.beans.BeansException; import org.springframework.beans.PropertyValues; ...
41.693694
175
0.704624
67c073786a37f60fd584b602b953e9ea8f5c3bc0
491
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner cin=new Scanner(System.in); int test = cin.nextInt(); for (int t = 0; t < test; t++) { int num = cin.nextInt(); int[] item = new int[num]; for (int i = 0; i < num; i++) { i...
19.64
57
0.521385
6039f6c838f63065dcf59499e00aa48892b69a65
921
package b.h.a.m.u; import android.content.ContentResolver; import android.content.res.AssetFileDescriptor; import android.net.Uri; import androidx.annotation.NonNull; import java.io.FileNotFoundException; public final class a extends l<AssetFileDescriptor> { public a(ContentResolver contentResolver, Uri uri) { ...
29.709677
104
0.704669
cd158e10da345f5989dcac0a769ccdf45f307aaa
16,843
package top.naccl.gamebox.activity; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import...
33.220907
134
0.734074
4dce8a9431066a3b16c4bf4433461d89d09a275f
2,895
package edu.harvard.nlp.moarcoref; import edu.berkeley.nlp.coref.lang.Language; import edu.berkeley.nlp.futile.util.Logger; import edu.berkeley.nlp.futile.fig.basic.Option; import edu.berkeley.nlp.futile.fig.exec.Execution; import edu.berkeley.nlp.coref.ConjType; /* * A minimal version of BCS's Driver.java */ publi...
38.092105
124
0.724007
1042d8d678c35ed9f7244a52f82632ec27fa964a
1,096
// 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 android.support.transition; import android.animation.ObjectAnimator; import android.graphics.Path; import android.util.Property; // Referenced cl...
30.444444
139
0.67427
552f7974ae533f7b81a9d41b388010130f7ea109
88
package gauntlet.model; public enum ParseResult { success, failed, missing, error }
17.6
35
0.75
474855d4a3e45dec7e046eab070175fc3aa20578
3,457
package trikita.anvil.gridlayout.v7; import android.support.v7.widget.GridLayout; import android.util.Printer; import android.view.View; import java.lang.Boolean; import java.lang.Integer; import java.lang.Object; import java.lang.String; import java.lang.Void; import trikita.anvil.Anvil; import trikita.anvil.BaseDSL;...
29.05042
79
0.648539
0ffef1fc3662168121880af7ee023ec1d9215b9f
456
package com.preemptive.moneybank.data.model; import java.util.Objects; public class Account { private final String accountNumber; private final double balance; public Account(String accountNumber, double balance) { this.accountNumber = accountNumber; this.balance = balance; } pu...
19
58
0.675439
62124caf4844012ba68fae9e78f09deba61d7548
2,461
/* * Matrix is the Two-Dimensional Model * Matrix is the combination of rows and columns,here the rows are n & columns are m * size = n x m * Transpose of the matrix is swapping of the rows and columns in the given matrix * Following code gives the output of the transpose of the matrix */ import java.util.Scanner; pu...
22.372727
83
0.621292
4cb1d6912706b515e9751ca537062707c945b11e
323
package stubidp.utils.rest.common; public class ServiceNameDto { private String serviceName; // Needed for JAXB public ServiceNameDto() {} public ServiceNameDto(String serviceName) { this.serviceName = serviceName; } public String getServiceName() { return serviceName; }...
17.944444
47
0.671827
e0f150ec482cd59ef148037ab8c3842fa384c13a
24,811
package com.example.gungde.reminder_medicine.ActivityChats; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.os.E...
37.649469
153
0.602878
9ccaaef31e846bc4ad37c89345506b301d3351ba
3,272
package net.starwix; import java.awt.AWTException; import java.awt.Graphics; import java.awt.Point; import java.awt.image.BufferedImage; import java.awt.image.DataBuffer; /** * @author starwix */ public class ImageArray { private int[][] data; private int type; private long[][] hashData; private long[][][] in...
23.539568
124
0.57335
0a58638563de713f640c19012fdb366941af5a27
1,555
package io.github.oliviercailloux.y2018.jbiblio.j_biblio.responsibleentity; import java.util.Objects; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = ...
21.901408
84
0.773633
b5839f94905ff87cdc43aea13c3a75ee5ba1fc86
391
package com.yarin.android.MusicPlayer; import android.app.Application; public class MusicPlayerApp extends Application { private MusicInfoController mMusicInfoController = null; public void onCreate() { super.onCreate(); mMusicInfoController = MusicInfoController.getInstance(this); } public MusicInfoContr...
17.772727
63
0.795396
2971fe6e48998bb6d48605287f6c106508dec3a1
6,162
package com.daxiang.taojin.ui; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.daxiang.taojin.R; public class HttpTestActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void o...
42.205479
90
0.590068
acd76e7cfefe0d3a01b3475a4c83dcfe74a66854
91
package network.warzone.tgm.match; public enum MatchStatus { PRE, MID, POST }
11.375
34
0.659341
c1ba0094fbc7582f03948d51471a965f895b5a56
1,132
package com.sequenceiq.redbeams.converter; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import com.sequenceiq.cloudbreak.auth.crn.Crn; import com.sequenceiq.cloudbreak.auth.crn.CrnParseException; import com.sequenceiq.redbeams.TestData; public class CrnConverterTest {...
24.608696
76
0.720848
293b21d76e4d82dc0fdf810c521bddd90a60efdb
444
/** * @IObjectRefHandle.java * @author sodaChen E-mail:asframe@qq.com * @version 1.0 * <br>Copyright (C) * <br>This program is protected by copyright laws. * <br>Program Name:KeepArea * <br>Date:2020/2/22 */ package com.asframe.ref; /** * Object反射属性的操作 * @author sodaChen * @version 1.0 * <br>Date:2020/2/2...
17.076923
51
0.628378
7dfbacd42d18aeed69ef8707ae7fc86e1456d93d
1,128
package org.kobjects.fluentdom.api; import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; public class ElementBuilder<N, E extends N, T extends N, B extends ElementBuilder<N, E, T, ?>> { private NodeFactory<N, E, T> nodeFactory; private final String name; pri...
27.512195
118
0.739362
3042a474eab3e089fd568d0b2cb0cf3250ee9aee
17,623
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 * * Un...
46.254593
135
0.677524
232e3b30894beb5ef38856955cced6f075e37a6b
1,269
package adbm.antidote.ui; import adbm.util.EverythingIsNonnullByDefault; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; /** * */ @EverythingIsNonnullByDefault public class AntidoteModel { pr...
22.263158
94
0.707644
12517cd3e1ab2c5e39614ae5dee56689b15bcd19
6,677
package org.firstinspires.ftc.teamcode.Utility; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import com.vuforia.Image; import org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer; import o...
37.723164
118
0.557286
73eb2e504f898de44269b9ab4d92ea359b2544fa
1,201
package org.spo.svc3.trx.pgs.t03.handler; import org.spo.ifs3.dsl.controller.AbstractHandler; import org.spo.ifs3.dsl.controller.DSLConstants.EventType; import org.spo.ifs3.dsl.controller.NavEvent; import org.spo.svc3.trx.pgs.t03.task.T0301; import org.spo.svc3.trx.pgs.t03.task.T0302; import org.springframework...
25.020833
100
0.706911
58f54cb80c74d216d6aba8c5987fd097b3dff0bf
29,960
/******************************************************************************* * Copyright (c) 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
32.995595
210
0.692023
2efbd0493108710721c534745bcc7c9a7934e623
955
/* * Created on Jan 16, 2010 */ package lia.Monitor.ciena.triggers.repository; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author ramiro * */ class CienaVCGCheckerTask implements Runnable { private static final Logger logger = Logger.getLogger(CienaVCGCheckerTask.class.getNa...
23.875
95
0.658639
931f5e5f0feed6cd9db9e7793410890f5de29c48
832
package com.thirdparty.rabbitmq.base; /** * @author lagon * @time 2017/5/23 11:13 * @description MQ交易状态枚举 */ public enum MQTransStatus { /** * 处理中 */ PROCESSING("0","处理中"), /** * 成功 */ SUCCESS("1", "成功"), /** * 失败 */ ERROR("2", "失败"); private String code;...
17.333333
66
0.520433
90c6f8c2e6b5164f3917cdfc06274c59d043deab
2,294
package com.jyc.complieonthefly; import org.junit.Test; import javax.tools.JavaCompiler; import javax.tools.ToolProvider; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; imp...
36.412698
114
0.706626
9916a22652752465e8d09b1e06ef222ee19ef8b5
1,226
package de.pnp.manager.model.character.state.implementations.manipulating; import de.pnp.manager.main.LanguageUtility; import de.pnp.manager.model.character.IPnPCharacter; import de.pnp.manager.model.character.PnPCharacter; import de.pnp.manager.model.character.state.IManipulatingMemberState; import de.pnp.manager.mod...
43.785714
131
0.801794
9cd0581ca638b14153a07768ed50666715a838f3
13,123
/* * Copyright (c) 2012, 2014, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
37.927746
85
0.56801
9d22f47acf3f0b69f32e01ce08632e81dedc966f
1,492
/* * Copyright (C) 2015 Andrea Binello ("andbin") * * This file is part of the "Java Examples" project and is licensed under the * MIT License. See one of the license files included in the root of the project * for the full text of the license. */ import java.awt.image.RGBImageFilter; public class ColorMaskImag...
32.434783
80
0.755362
2234fc957abc77181b1c52fa0328f663549fca8f
3,165
/* * Copyright 2017 The Hyve * * 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 writ...
32.96875
103
0.727014
100a2cb238742e9a6ad45fe4fafbd7bd44a3bd35
6,077
package org.mtransit.parser.ca_st_albert_transit_bus; import static org.mtransit.commons.StringUtils.EMPTY; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.commons.CharUtils; import org.mtransit.commons.CleanUtils; import org.mtransit.commons.StringUtils; impor...
28.938095
157
0.75613
6c02053f8d1e40b5a67b73344e401a22b070f17b
6,009
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
35.556213
147
0.628224
66c8091924da76fad19edbd3d064d2a2e32a4796
356
package com.miget.hxb.repository; import com.miget.hxb.model.ErrorInfo; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; /** * @Description 异常处理 * @Author ErnestCheng * @Date 2017/6/23. */ @Repository public interface ErrorRepository extends M...
22.25
76
0.789326
2e5a1521f99e8e79f414a5fe9f5cb45a4f15be37
572
package com.oxande.vinci.grammar; public enum VinciClass { // A non-yet defined class. Should be only limited in time // This is the type in case we have an assignment without a previous // variable declaration. AUTO, // The following order MUST be followed (from little one to big ones) BOOLEAN, // a...
27.238095
79
0.629371
29ce74b815acc66e2f47f7c9bb7975278c323099
8,689
package gov.nih.nci.cananolab.restful; import gov.nih.nci.cananolab.restful.synthesis.SynthesisMaterialBO; import gov.nih.nci.cananolab.restful.util.CommonUtil; import gov.nih.nci.cananolab.util.Constants; import gov.nih.nci.cananolab.restful.view.edit.SimpleSynthesisMaterialBean; import gov.nih.nci.cananolab.security...
51.414201
324
0.706871
0b0cc0481b6bf21e644c889064bf8eaadf47ddcb
339
package com.lambda.sprint; public abstract class Money { public int amount; //constructor public Money(int amount){ this.amount=amount; } public Money() { this.amount +=1; } //abstract method like in animals public abstract double getValue(); public abstract St...
17.842105
38
0.625369
faaef9be77cae3d7cc863fd1d159b0b5a167dd2a
1,421
package uk.gov.dwp.queue.triage.web.server.api.status; import uk.gov.dwp.queue.triage.core.client.status.FailedMessageStatusHistoryClient; import uk.gov.dwp.queue.triage.core.client.status.StatusHistoryResponse; import uk.gov.dwp.queue.triage.id.FailedMessageId; import uk.gov.dwp.queue.triage.web.server.w2ui.W2UIRespo...
36.435897
125
0.770584
e885e051f26dc735f50afeca908e5480290ab48e
256
package com.strandls.user.es.utils; import com.google.inject.AbstractModule; import com.google.inject.Scopes; public class EsUtilModule extends AbstractModule { @Override protected void configure() { bind(EsUtility.class).in(Scopes.SINGLETON); } }
19.692308
50
0.78125
6f1226dd10ae9ed797dc0cdfaa7e0240dd74dc41
2,802
/* * Copyright 2017 ThoughtWorks, 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...
28.886598
93
0.70414
48416c3d67e5b331118d6f86e93e1a5aac918da5
1,446
/* feito por: * José Miguel Pinho Paiva * Universidade de Aveiro */ import java.util.*; import static java.lang.Math.*; public class P12 { public static void main(String[] args) { // variáveis int num, secret, tentativas; char resposta; boolean ng = false; Scanner k = new Scanner(System.in); Syst...
25.821429
103
0.57953
1af644fea314111e6bc627fe22d8af415a6850f9
758
package com.github.jeasyrest.io.handlers; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.Writer; public class OutputStreamHandler extends BinaryStreamHandler { @Override public void init(Object sourceObject, Object... sourcePa...
25.266667
86
0.734828
3d4c7e5b874c613bba69643e54a01c7887a37548
1,683
package com.vilderlee.design.commandchain; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 类说明: * * <pre> * Modify I...
20.777778
63
0.539513
e33d75098eb7b4fc61ed78f85c51c008fa3edb98
1,225
package bt.console.input; import java.util.function.Consumer; /** * Represents an argument that can consume an additional value. * * @author &#8904 */ public class ValueArgument extends Argument<ValueArgument> { protected Consumer<String> action; protected String value; public ValueArgument(String al...
20.081967
119
0.585306
4fbc9e0af7a845d1f2bb4e9d3730207bb1696bd2
2,763
package cn.felord.wepay.ali.sdk.api.domain; import java.util.Date; import cn.felord.wepay.ali.sdk.api.AlipayObject; import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField; /** * 医院报告明细 * * @author auto create * @version $Id: $Id */ public class MedicalHospitalReportList extends AlipayObject { private st...
20.316176
67
0.661238
a70fbcc86bf9074304b840a742c83483bffd2de7
478
package com.didi.carmate.dreambox.wrapper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import java.util.Map; public interface Monitor { Monitor empty = new Monitor() { @Override public void report(@NonNull String type, @Nullable Map<String, String> params) { ...
19.12
88
0.67364
995076eef6f20d82beca43c6a04a07dbd7c8f325
64,209
/******************************************************************************* * Copyright (c) 2004, 2008 Composent, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
39.980697
225
0.586148
08b49424b6c324e8d889f840f8802fe2431b1f6a
2,062
/* * Copyright 2015 Laukviks Bedrifter. * * 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 a...
26.101266
88
0.664888
4d74e827ea891d8b04402f66804b27f960b72a22
1,749
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.parallax.server.blocklyprop.db.dao; import com.parallax.server.blocklyprop.db.generated.tables.ProjectSharing; import com....
22.139241
88
0.657519
22edcac336c3fdbf7caeab5b441433ef0095a58c
5,202
package jburg.util; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import jburg.ProductionTable; import jburg.TransitionTableLoader; import jburg.frontend.XMLGrammar; /** * GenerateHostBURM is a convenience entry point * that us...
38.820896
123
0.589389
c7054b0ca19f047271be286bbf2141c44c5c56d6
376
package com.alipay.api.response; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.eco.cityservice.openevent.app.modify response. * * @author auto create * @since 1.0, 2022-04-20 15:46:39 */ public class AlipayEcoCityserviceOpeneventAppModifyResponse extends AlipayResponse { private static final...
17.904762
84
0.763298
e591398bc67729e740848568d21137bb84cea1fb
3,330
import java.util.ArrayList; import java.util.List; import java.util.Stack; class ONTEditor { private Stack<UndoableCommand> undostack, redostack; private List<UndoableCommand> commandbatch; //not init'd in constructor yet private boolean joinedcommandmode; ProgramData programdata; ONTEditor(ProgramData programda...
21.346154
77
0.666967
436520f23f409182742421430cabc22ce3c36c74
2,848
package com.github.shaneyu.playground.lib.registration.registries; import com.github.shaneyu.playground.common.block.interfaces.IHasDescription; import com.github.shaneyu.playground.common.item.BlockItemTooltip; import com.github.shaneyu.playground.lib.provider.IBlockProvider; import com.github.shaneyu.playground.lib....
45.206349
135
0.774579
3f3137711af4f3172767be658b33d8f191a642d8
196
package transgenic.lauterbrunnen.lateral.example.cassandra.proto; /** * Created by stumeikle on 16/07/20. */ public class PricePerServingOption { double price; String servingOption; }
17.818182
65
0.744898
aa4e17587ec97d6cca0aa064ae6964502c0fbf2e
832
package com.leven.dto; /** * @Author: LevenLiu * @Description: * @Date: Create 0:55 2018/8/20 * @Modified By: */ public class Author { private String username; private String name; private String email; public Author(String username, String name, String email) { this.username = username; ...
17.333333
63
0.582933
10d34827af748c27e6b1568c84b6320febb6342b
1,545
/** Copyright (c) 2014 BlackBerry Limited * * 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...
33.586957
77
0.775405
40e30a1d179bd17fc413ea38d44135d65cff04a6
3,429
package com.bewitchment.common.block; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.EnumPushReaction; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.min...
38.52809
190
0.757655
0d33d65c4fd1f1573ce8537b179000e5419b06e7
2,238
/* * Copyright 2016 The gRPC 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 agree...
31.083333
83
0.747542
ee3d2af7ff9b3e785510258f96817dd755b38c48
7,641
package io.vividcode.happytakeaway.restaurant.service; import io.quarkus.panache.common.Sort; import io.vividcode.happytakeaway.common.base.PageRequest; import io.vividcode.happytakeaway.common.base.PagedResult; import io.vividcode.happytakeaway.restaurant.api.CreateRestaurantRequest; import io.vividcode.happytakeaway...
42.926966
107
0.672425
7788ea754d785ed6b78bb5971a91d341fe8dfb0f
827
import java.util.Iterator; import java.util.HashMap; import java.util.Map; public class InstrumentSpec { private Map properties; public InstrumentSpec(Map properties) { if (properties == null) { this.properties = new HashMap(); } else { this.properties = new HashMap(properties); } } ...
22.351351
69
0.652963
39c5e2c76f5953a0f5991b5dfa094ecdd08a1775
1,588
package com.bolo1.tweet_app.holder; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.bolo1.tweet_app.R; import com.bolo1.tweet_app.media.IjkVideoView; import butterknife.ButterKnife...
29.962264
57
0.761965
a372c48422bd53c2bb176f17db22696be978000d
3,743
/* * Copyright (c) 2014, Erik Wienhold * All rights reserved. * * Licensed under the BSD 3-Clause License. */ package vsr.cobalt.planner.extenders.providers; import java.util.HashSet; import java.util.Set; import vsr.cobalt.models.Action; import vsr.cobalt.models.Property; import vsr.cobalt.models.PropositionSe...
31.720339
117
0.710393
e55c1373307ccbf21c80b0c278747f9ccddaefea
3,029
package sguest.villagelife.util; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; import net.minecraft.block.Block; import net.minecraft.util.Direction; import net.minecraft.util.math.shapes.VoxelShape; import net.minecraft.util...
31.226804
125
0.623968
87b01403a64613bc27934f5a4920b9c1f2f99be0
1,519
package org.webpieces.httpclient.api; import java.net.InetSocketAddress; import org.webpieces.util.futures.XFuture; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.webpieces.data.api.BufferPool; import org.webpieces.data.api.TwoPools; import org.webpieces.http2client.api.Http2Clien...
30.38
117
0.798552
921af5cefbc2526b2080ec1a934f78d86a686113
3,076
package io.hawt.maven; import java.util.List; import java.util.Set; import org.apache.maven.artifact.Artifact; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugins.annotations.Execute; import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotat...
37.512195
129
0.676528
7bdd69567588b9cd48c8737c15068c2e521bf4e1
5,091
/* * Copyright (C) 2017 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...
32.845161
99
0.65056
65a795fd9246d48ed04e9b28bab7b0346b0dd69a
1,399
/* * Copyright 2020 Anne Bernhart, Anja Hansen, Tobias Klumpp, Fabian Palitza, * Florian Patzer, Friedrich Volz, Sandra Wolf * SPDX-License-Identifier: Apache-2.0 */ package edu.kit.informatik.tolowiz.controller.interpretation; import java.io.FileNotFoundException; import java.util.List; import edu.kit.informatik...
33.309524
88
0.713367
0379466838344f16fb75b00665c1824db16bb7d7
3,675
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
36.75
152
0.699048
10cd578cf72ee5018556a79b9c40719fc7d5b08f
154
package com.buschmais.xo.neo4j.test.relation.typed.composite; import com.buschmais.xo.neo4j.api.annotation.Label; @Label("F1)") public interface F1 { }
19.25
61
0.772727
73e5b3adbe8dc671efe7f228b41bb39d75872347
1,613
/* * Copyright (C) 2018-2022 FusionSoft * * 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...
27.338983
85
0.680099
926dbad680926bfa656b3b4dd2b41c83267e2b70
1,236
package dev.emi.nourish.mixin; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable...
39.870968
130
0.788026
66d8a3a04b9155b59401c5245733c717f790cdf7
6,600
/* Copyright 2012 Twitter, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
33.502538
134
0.706061
a4963f9a1a01ac928293d287b58313f737c23d47
959
package com.qd; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; public class GreetingClient { public static void main(String[] args){ String serverName = args[0]; int port = Integer.parse...
31.966667
76
0.74244
ef8cbfaffa28d5b4d48656251acd0aa8311d0e74
644
package co.com.wwb.game.db; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity(name="Ciudad") @Table(name="CIUDAD") public class Ciudad { @Id private String codigo; private String nombre; /** * @return the codigo */ public String getCodigo() { return co...
14.311111
39
0.664596
0d4f99929dee1c8c9082b56a52e3dd7463e7b259
12,838
/* * Copyright 2000-2010 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...
37.648094
181
0.66163
ee017d7d41f46ceab652dc8a14ecb8a60bcbfaf6
953
package cn.robby.rpc.log_append; import cn.robby.common.util.codec.BooleanCodec; import cn.robby.common.value_obj.Term; import cn.robby.rpc.AbstractRpcCodec; import io.netty.buffer.ByteBuf; import lombok.Getter; import lombok.Setter; @Getter @Setter public class LogAppendResponse extends AbstractRpcCodec { // ter...
27.228571
75
0.732424
a537052411f8b27b42bd7bafd4cd3c2b05aa9d4b
294
package io.nuls.api.db; import io.nuls.api.model.po.db.ChainConfigInfo; import io.nuls.api.model.po.db.ChainInfo; /** * */ public interface DBTableService { void initCache(); void addDefaultChainCache(); void addChainCache(ChainInfo chainInfo, ChainConfigInfo configInfo); }
17.294118
72
0.734694
275e7a74c90477a2def358c552ac5cd984478535
3,365
package org.hmsystem.server.config.secret; import org.hmsystem.server.utils.MyPasswordEncoder; import org.hmsystem.server.pojo.Usertable; import org.hmsystem.server.service.IUsertableService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org....
33.316832
107
0.654086
9d06c069ea1448626066c9fa7875335c392dc817
210
package com.oral.service; import com.oral.bean.Operationtype; import com.baomidou.mybatisplus.extension.service.IService; /** * */ public interface OperationtypeService extends IService<Operationtype> { }
17.5
71
0.790476
ae5e18b96b3fe80b9668310cd0a9240518c4fc82
779
package com.user.validator; import com.user.validator.commons.AbstractValidator; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import lombok.experimental.FieldDefaults; import javax.validation.constraints.NotEmpty; import javax.validation.constraints.NotNull; // Lombok @FieldDefaults(level =...
21.054054
57
0.726573
c1cf740a0d1d8bf4879d4e0d599e1e0b32092127
1,014
package cgeo.geocaching.settings; import cgeo.geocaching.connector.ec.ECConnector; import cgeo.geocaching.connector.ec.ECLogin; import cgeo.geocaching.enumerations.StatusCode; import org.apache.commons.lang3.tuple.ImmutablePair; import android.content.Context; import android.graphics.drawable.Drawable; import androi...
30.727273
92
0.767258
fbe4f29c9512c69b573db409cf0faa8425f87bee
122
package com.ggbwallet.app.ui.widget; public interface OnImportPrivateKeyListener { void onPrivateKey(String key); }
17.428571
45
0.786885
5b013fb4d9311f1d365b00a09338b7b592623878
7,159
package mchorse.chameleon.geckolib; import mchorse.chameleon.ClientProxy; import mchorse.mclib.utils.Interpolations; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumFacing; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import software.bern...
42.111765
140
0.691158
388a83b5fd0606ac3771d3f574d3de1916c2e9c6
4,648
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you under the Apache License, *Version 2.0 (the "License"); you may not use this file except *in compliance with the License. *You may obtain a copy of the License at * *http://www.apache.org/lic...
44.692308
133
0.696213
d2f5d0dea7ba7ba98f106b43f90d3a0e9d8df506
75
package com.github.lindenb.jvarkit.chart; public class ChartExporter { }
12.5
41
0.786667
ab40e95b86ec467d2c0553122810b6d21125bc68
3,069
package org.spellwind; import java.net.InetSocketAddress; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.logging.Level; import java.util.logging.Logger; import org.jboss.netty.bootstrap.ServerBootstrap; import org.jboss.netty.channel.socket.nio.NioServerSocketChan...
26.921053
91
0.714565
0199ffdd3481f54bd7153fa2c68014bcae0c6d19
2,450
package io.snyk.gradle.plugin; import org.gradle.api.GradleException; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Runner { private Runner() { } public static Result runSnyk(String task) { return runCommand(Meta.getInstance().getBinar...
28.823529
110
0.514286
42922c350f6ddc09b065aeb8d614de1e92556791
1,474
package java.util.zip; import org.checkerframework.checker.javari.qual.*; interface ZipConstants { static long LOCSIG = 0x04034b50L; static long EXTSIG = 0x08074b50L; static long CENSIG = 0x02014b50L; static long ENDSIG = 0x06054b50L; static final int LOCHDR = 30; static final int EXTHDR = 16;...
28.901961
50
0.65943