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
d078de490ba219895ed7d0740352483334cba2f5
1,495
package com.robotoworks.example.ghissues.net; import com.robotoworks.mechanoid.net.Parser; import java.io.IOException; import com.robotoworks.mechanoid.net.Response; import com.robotoworks.mechanoid.net.ServiceException; import java.io.InputStream; import com.robotoworks.mechanoid.net.ServiceClient; import com.roboto...
29.313725
108
0.806689
9867c7b692811b9e4c7da7a01fd893dde4bd5e0d
3,786
/* * Copyright 2016 nathan. * * 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...
36.057143
189
0.690967
af8f1d24824f6e8da88c8986ab14a0197a104050
427
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package noppes.npcs.client.gui.custom.interfaces; import net.minecraft.client.Minecraft; import noppes.npcs.scripted.interfaces.ICustomGuiComponent; public interface IGuiComponent { int getID(); void onR...
23.722222
76
0.761124
24c231ffb360869e34072bb867f2c930e5b7c81e
281
package org.apache.spark.deploy.worker; // no position /** * Utility object for launching driver programs such that they share fate with the Worker process. */ public class DriverWrapper { static public void main (java.lang.String[] args) { throw new RuntimeException(); } }
31.222222
98
0.743772
427cad289161a5fca3b3c4a6419b56fa9e0f44ea
4,792
package io.particle.android.sdk.utils.ui; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.app.Dialog; import android.content.Context; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.text.Html; import android.view.View; im...
38.031746
109
0.689691
c7fdaf21a006efdc8321ad0c6fd02bc9bc29f28a
3,886
/** * 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 * distribu...
35.651376
111
0.663407
c2c3a8f0a35fe5e668a19a2f3f0aed6d7bd8f060
932
/* * @(#)DrawerPanel.java 2.1 2003/10/07 * * Copyright (C) 1999, 2003 D.A. Watt and D.F. Brown * Dept. of Computing Science, University of Glasgow, Glasgow G12 8QQ Scotland * and School of Computer and Math Sciences, The Robert Gordon University, * St. Andrew Street, Aberdeen AB25 1HG...
27.411765
79
0.694206
5588c3e623a1dc39628351d8a5fb5001812839d0
367
class Test { interface I { Object invoke(); } interface IStr { String foo(); } private static void call(IStr str) { System.out.println(str); } private static void <warning descr="Private method 'call(Test.I)' is never used">call</warning>(I i) { System.out.println(i); } public static void main(...
22.9375
104
0.626703
0070caa8d3c35ec81e1a0139c812573762a76a48
3,966
package henryrichard.epicwasteoftime.item.weapon; import com.google.common.collect.Multimap; import henryrichard.epicwasteoftime.EwotMain; import henryrichard.epicwasteoftime.item.EwotItemTier; import net.minecraft.block.BlockState; import net.minecraft.client.Minecraft; import net.minecraft.client.util.ITooltipFlag; ...
39.267327
205
0.723903
0da6ce202842200bf22d752b25426aab690c8c62
3,646
package com.yourname.re.pre_defined; import com.yourname.re.PreliminaryData; import org.junit.Test; import java.util.regex.Matcher; import java.util.regex.Pattern; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; /** * Created by Charles on 10/3/2016. */ public class P...
32.265487
122
0.467361
c9edd30a8a4976259d0a375985bd68e3d189eb16
9,304
package net.sanlite.client.plugins.combattickcounter; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.inject.Provides; import lombok.AccessLevel; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import net.runelite.api.Actor; ...
26.282486
116
0.690348
52ae0429cf260b70f452a17a6255a5a21cd0defa
636
package exercise; public class Ch1601 { static void printObject(BerylliumSphere[] berylliumSpheres) { System.out.println(berylliumSpheres.length); } public static void main(String[] args) { // printObject(new BerylliumSphere[]{new BerylliumSphere(), new BerylliumSphere()}); Berylli...
24.461538
91
0.649371
141ce811513d7617938d383c723817de33cae318
1,477
package com.sensorfields.digiduck.android; import android.content.Context; import com.sensorfields.android.mvp.Presenter; import com.sensorfields.digiduck.android.infrastructure.dagger.ApplicationComponent; import com.sensorfields.digiduck.android.infrastructure.dagger.ApplicationModule; import com.sensorfields.digid...
31.425532
90
0.693297
b3a79c685eb569c414bb8e7243dabd43db84750c
2,412
/* * Copyright (C) 1999-2011 University of Connecticut Health Center * * 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: * * http://www.opensource.org/licenses/mit-license.php */ package org.sbpax.sch...
54.818182
115
0.740879
e9a2bb469c8e1dd40fd6abc0ad6a07ee589427d2
2,027
package com.ecjtu.flesh.model; import com.ecjtu.flesh.model.models.NotificationModel; import com.ecjtu.flesh.model.models.VideoModel; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.List; /** * Created by Ethan_Xiang on 2017/9/22. ...
34.355932
192
0.609275
3766bd9f93c2bf7d7735fc5c0e6eb9d1f27bed20
2,838
package ca.uoit.crobot; import ca.uoit.crobot.hardware.*; import ca.uoit.crobot.model.GameObject; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.io.File; import java.io.IOException; import java.util.LinkedList; import java.util.List; public class Simulator { public static voi...
31.186813
132
0.606765
72d021910d39627dd287f4e2a3f2450b8d9b316b
5,020
package io.dockstore.webservice.helpers; import com.google.common.collect.Sets; import io.dockstore.webservice.CustomWebApplicationException; import io.dockstore.webservice.core.Alias; import io.dockstore.webservice.core.User; import io.dockstore.webservice.core.Workflow; import io.dockstore.webservice.core.WorkflowVe...
50.2
156
0.74502
634551c8c0a3922d4d8dacd0f4423bee828ff729
672
package edu.uw.edm.profile; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.ApplicationPidFileWriter; import org.springframework.hateoas.config.EnableHypermediaSupport; /** * @author Maxime Deravet Date: 1...
25.846154
75
0.78125
714eb53cb20489d45b119182d429d7df7d133cc8
28,432
package org.sec.core; import org.sec.model.ClassReference; import org.sec.model.MethodReference; import org.objectweb.asm.*; import org.objectweb.asm.commons.AnalyzerAdapter; import java.util.*; @SuppressWarnings("all") public class CoreMethodAdapter<T> extends MethodVisitor { private final InheritanceMap inheri...
35.85372
116
0.503623
8ac76b74cd06d1768e6b6e5bfeb68afaed27bda8
127
package poo.provas.p2.armazenamento; public interface Armazem { void guardar(Armazenavel a); boolean temEspacoLivre(); }
12.7
36
0.76378
30b63a57aace9d1b51b2690d07600ee55d03108e
4,693
/* ************************************************************************* ************************************************************************* ** ** ** V2KPARSE ** ** Copyright (C...
33.521429
104
0.448753
3f1f755f9906c0b7d0c7826d34d78c7ee747221f
4,440
/* * Copyright 2021 The caver-java 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 agr...
39.642857
224
0.72973
fc66a211e3e9e079462d753d444d646635049c0e
172
package com.ctrip.soa.caravan.configuration; /** * Created by Qiang Zhao on 10/05/2016. */ public interface Configuration { String getPropertyValue(String key); }
15.636364
44
0.726744
6a19628384c6cfb45617d45c92bfa3b7897098d9
869
package org.omg.hw.equipment; /** * Generated from IDL definition of struct "Shelf_T" * @author JacORB IDL compiler */ public final class Shelf_T implements org.omg.CORBA.portable.IDLEntity { public Shelf_T(){} public java.lang.String name = ""; public java.lang.String equipmentRoomName = ""; public java.lan...
31.035714
191
0.749137
4dad4f6cabfce969a321169105c81e892721ba36
1,750
package a.yoreni.potioneffectmod; import net.fabricmc.api.ModInitializer; import net.minecraft.text.TranslatableText; public class Potioneffectmod implements ModInitializer { @Override public void onInitialize() { } /** * Converts game ticks in to human readable time format * This will...
32.407407
104
0.582857
645f10e7735039e677882e7d2e182cf21812789d
427
package com.thoughtworks.forecastAlexaSkillBackend.interceptors; import com.amazon.ask.dispatcher.request.handler.HandlerInput; import com.amazon.ask.dispatcher.request.interceptor.RequestInterceptor; import lombok.extern.slf4j.Slf4j; @Slf4j public class LogRequestInterceptor implements RequestInterceptor { @Overr...
28.466667
72
0.819672
7ba321606ee5778f25847c8e237ce6ffe6443092
1,244
package com.tekwill.hints.inheritance.exceptions.book.controller; import com.tekwill.hints.inheritance.exceptions.book.domain.Book; import com.tekwill.hints.inheritance.exceptions.book.domain.exceptions.BookNotFoundCheckedException; import com.tekwill.hints.inheritance.exceptions.book.domain.exceptions.ISBNNotSupporte...
40.129032
104
0.698553
1370df2feeb526aede82fa3d552e575b86c8c357
892
package com.knits.coreplatform.service.dto; import static org.assertj.core.api.Assertions.assertThat; import com.knits.coreplatform.web.rest.TestUtil; import org.junit.jupiter.api.Test; class ApplicationDTOTest { @Test void dtoEqualsVerifier() throws Exception { TestUtil.equalsVerifier(ApplicationDT...
35.68
66
0.744395
2ef3903e067d2a0cc8b2938bda24e43f690a6880
1,965
package org.swingeasy; import java.awt.Dimension; import java.awt.Point; import javax.swing.JFrame; import javax.swing.WindowConstants; import net.miginfocom.swing.MigLayout; /** * @author Jurgen */ public class ComboboxAutoResizeDemo { public static void main(String[] args) { Point location = null; ...
36.388889
98
0.619338
04b703199814ad127bf919019ee73122d08022d3
3,778
package dao; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.Transaction; import beans.Role; import beans.Task; import beans.User; import beans.UserLeaves; import factory.HSFactory; public...
21.965116
95
0.617522
d5a0f5b84c3c3e78b8983b3e57545b95428f1c43
560
package p02_Blob.models.behavors; import p02_Blob.models.Blob; public class Inflated extends AbstractBehavior { private static final int INFLATED_HEALTH_DECREMENT = 10; private static final int INFLATED_HEALTH_POINTS = 50; public Inflated() { super(); } @Override protected void applyTriggerEffect(Blob sour...
20.740741
68
0.760714
7a47d9efe5b5e7004a1a08cf073edcd0cba7a28c
175
package com.prathab.data.base.exception; /** * Any DB operation can only throw this Exception * * @author jmprathab * */ public class DbException extends Exception { }
15.909091
49
0.72
4f024462e4ad302751baaae193c84d59d9fe3061
1,311
package com.chuhelan.netex.dao; import com.chuhelan.netex.domain.WorkOrder; import org.apache.ibatis.annotations.*; import java.util.Date; /** * @Version: 1.0 * @Date: 2021/6/5 下午 04:14 * @ClassName: WorkOrderDao * @Author: Stapxs * @Description TO DO **/ @Mapper public interface WorkOrderDao { // Select...
36.416667
206
0.720824
6c2d8942e902a722e25d0c128b9e8646a90c9daf
1,500
/*************************************************************************** * Copyright 2021 Kieker Project (http://kieker-monitoring.net) * * 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 a...
31.25
103
0.66
ebc6aeb8e495343bad69dc5f8ebd05f7e86de38d
413
package com.xw.spring.jsonrpc; import com.xw.spring.tag.JsonrpcTag; import org.springframework.beans.factory.xml.NamespaceHandlerSupport; /** * Created by huangdongbin on 2018/4/10. */ public class JsonrpcNameSpaceHandler extends NamespaceHandlerSupport { @Override public void init() { registerBeanD...
27.533333
105
0.769976
5ecf367d6958bb6a3e84091b785a06e485a67545
6,085
/* * Copyright <2020> Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in t...
47.170543
154
0.71931
cdab707df415ea8e70c9a3e07559f6ec6af11e8d
8,292
/* * Copyright 2015-2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
39.113208
502
0.764472
e9a225f3639fc22d6762a3da63a225f0c714c606
5,452
/* * 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.dev.betaTransporte; import com.dev.betaTransporte.dao.GenericoDAO; import com.dev.betaTransporte.negocio.UsuarioNe...
26.990099
136
0.592627
dd728a64a76d5e0994491a39ea9628e20f956f57
7,902
/* * This file is part of ELKI: * Environment for Developing KDD-Applications Supported by Index-Structures * * Copyright (C) 2019 * ELKI Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the...
31.608
125
0.707163
016e6d1db58b9d3683cdc2532270545e983cd4f6
3,786
package com.mattiasselin.linewriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class BufferingLineWriter implements ILineWriter, ILineSource { private final IIdGenerator idGenerator; private final List<ICommand> bufferedCommands; private final String ...
25.581081
114
0.743001
54944e406be35c182a74125294f7d9103af24ef2
440
package uk.co.philanderson; import java.util.function.Function; public class FunctionalProgramming { protected static Function<Student,Boolean> f = s -> { System.out.println(s.getFullName()); System.out.println(s.studentNumber); var fullname = s.getFullName(); if("John Smith".equal...
27.5
77
0.631818
61dbcfd2c8d196cf51cb2da4196d909fcaa7c303
7,147
/******************************************************************************* * Copyright (C) 2005-2012 Alfresco Software Limited. * * This file is part of the Alfresco Mobile SDK. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
32.193694
119
0.62082
fc2b6aaea25c2ed2fc335c7a0991b3c38a827647
1,126
package in.xnnyygn.xgossip; import in.xnnyygn.xgossip.rpc.messages.AbstractMessage; import java.util.ArrayList; import java.util.List; public class MessageCollector { private final List<Message> messages = new ArrayList<>(); public void add(MemberEndpoint sender, MemberEndpoint recipient, AbstractMessage p...
23.957447
95
0.648313
50175d449790eb6fa45789f70af1fbf421642039
7,715
package com.xzchaoo.asyncexecutor; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.atomic.AtomicInteger; import org.jctools.queues.MpscArrayQueue; /** * 缺点加入command队列就算是成功, 但其实后面可能会因为加不进去队列而失败... * * @author xiangfeng.xzc * @date 2020-0...
31.108871
112
0.520156
3149ed0d88808b66e9e56ba434b9e878b23f8ccf
8,185
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.subsystems; import com.ctre.phoenix.motorcontrol.StatusFrame; import com.ctre.phoenix.sensors.CANCode...
34.535865
141
0.753696
bbc321fbe1372f4a42f53e6ce5e55a941f55fde3
1,604
package org.sif.beans; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import javax.persistence.*; import java.io.Serializable; import java.util.HashSet; import java.util.Set; @Entity public class Department implements Serializable { private static fi...
18.227273
58
0.712594
42c7319636906b63a91ff3c2693cf7434493299e
2,468
import java.util.Scanner; /*Scrivere un programma per giocare a "tris" (tic-tac-toe in inglese), il classico gioco in cui due giocatori dispongono alternativamente un proprio contrassegno in una casella di una scacchiera 3 x 3 finché uno dei due non pone tre contrassegni in una fila orizzontale, verticale o diagonal...
37.969231
110
0.58671
b3d67679f6a4e2a79568ff60e76aa991eac4b635
4,592
package br.com.processboss.core.service.impl; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.hyperic.sigar.Sigar; import org.hyperic.sigar.SigarException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import...
27.497006
104
0.710584
a45f1d5f8dec1d643303cb2e64daaefb8bde93f0
3,901
/* * Copyright (c) 2014-2016 Jan Strauß <jan[at]over9000.eu> * * 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, cop...
34.219298
131
0.757498
68d5321e8dfc0c587a44d6e6f3fe08afec4cbf3a
700
package me.ele.jarch.athena.util.deploy; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import me.ele.jarch.athena.util.deploy.dalgroupcfg.Org; import org.testng.Assert; import org.testng.annotations.Test; import java.io.IOException; public class Org...
35
99
0.751429
e1c9ada7ae4d7e4be9136683f40dfb231dc14ea7
38,095
package shentu.oracle.v1alpha1; import static io.grpc.MethodDescriptor.generateFullMethodName; import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; import static io.grpc.stub.Clie...
46.344282
157
0.716761
c648b930017811ca81aab27d7e036c382e9896c1
146
package de.tum.in.www1.artemis.domain.enumeration; /** * The SubmissionType enumeration. */ public enum SubmissionType { MANUAL, TIMEOUT }
16.222222
50
0.732877
35c8f4e7bca975dec30675c764f3e7f999dc6523
317
package com.example.demo.net; import com.example.demo.bean.User; import io.reactivex.Observable; import okhttp3.ResponseBody; import retrofit2.Response; import retrofit2.http.GET; /** * Created by Pen on 2017/9/22. */ public interface Apis3 { @GET("test/user.xml") Observable<ResponseBody> getXml(); }
16.684211
38
0.731861
d85032816e5094c95214916ce374b87ff84781bd
975
/* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.calc; import static com.opengamma.strata.collect.TestHelper.assertJodaConvert; import static com.opengamma.strata.collect.TestHelper.assertSerialization;...
27.857143
86
0.624615
e7094a51a1d776af5683616d72c3c3ef22ff9853
3,386
package com.helospark.SparkTemplatingPlugin.integration.exportimport; import static org.mockito.BDDMockito.given; import static org.mockito.Matchers.anyString; import static org.mockito.Mockito.verify; import static org.mockito.MockitoAnnotations.initMocks; import java.util.Arrays; import java.util.Optional; import ...
38.91954
97
0.768458
89bfad1f1182976df96bf7fca7bd2960f1e293dc
2,801
package gov.faa.airport.status.test; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.client.Invocation; import javax.ws.rs.client.Client; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import static org.junit.Assert.assertNotNull; impo...
33.746988
121
0.712603
652e90fa9997c2c725531f125ca9359a7489869d
367
package ro.asee.csie.cts.g1093.dp.chain; public class GroupMessageModule extends GenericMessageHandler{ @Override public void processMessage(Message message) { if(message.destination.toLowerCase().equals("@everyone")) { System.out.println("Group message: " + message.text); } if(this.next != null) { t...
20.388889
62
0.713896
90b7d4a402aecf75b14340a036deb2f3d897cba3
1,879
import java.util.Comparator; public class testHeap { public static void main(String[] args) { Heap heap = new Heap(new compare()); // numbers 35 33 42 10 14 19 27 44 26 31 // min-heap should be 10 14 19 26 31 42 27 44 35 33 // max-heap should be 44 42 35 33 31 1...
23.197531
147
0.478978
c1f689bbecb88c0ab71ff4afa63f06a804e982c5
2,570
package nl.vu.cs.amstel; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Map; import org.apache.log4j.Logger; import nl.vu.cs.amstel.user.Aggregator; /** * Class used for packing...
27.934783
75
0.732296
20622ff0696d70df49a87dc9f38e8016130ffed5
1,826
package com.glaurung.batMap.io; import java.awt.Dimension; import java.awt.Point; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import com.glaurung.batMap.vo.GuiData; /** * 数据持久化 ...
28.092308
95
0.638554
9cb911b1d6e8722b569b8f5b36dd47fbf683ccba
800
package com.java110.things.entity.attendance; import java.io.Serializable; /** * @ClassName ClockInDto 考勤对象类 * @Description TODO * @Author wuxw * @Date 2020/6/9 0:00 * @Version 1.0 * add by wuxw 2020/6/9 **/ public class ClockInDto implements Serializable { private String staffId; private String pic;...
17.777778
52
0.6375
75032075b17de9e788ee1465185404db2923e052
4,012
/* * Copyright (c) 2020 Network New Technologies 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 appli...
31.34375
97
0.642323
ae1380e94b1663ffdfd0d44dacc54c0fd602145b
1,054
package ix.ginas.models.serialization; import java.io.IOException; import java.util.LinkedHashSet; import java.util.Set; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databi...
34
84
0.70019
39eccf7ec56603dbbbdd788a23654f3b66cb8975
14,658
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.monitor.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.azure.managem...
32.286344
120
0.656024
d8a941880678634aa0cb869d138ebf5701ab12eb
1,779
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
32.345455
90
0.718381
49fe975175412dd6526df59c36b81f9cbe4be747
21,604
/* * Copyright (c) 2010, 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 * * ...
50.009259
265
0.751666
54baf6622c81ae17931325f13bddb2d564add494
464
package org.ivangrod.needlehack.infrastructure.post.api.rest.inbound.dto; import org.ivangrod.needlehack.application.post.search.PostFound; import org.springframework.data.domain.Page; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; public class SearchPostResponse extends R...
33.142857
73
0.803879
a6a330c008184955f489345caf3191fa5c5051a6
941
package net.marshmallow.BetterRecipeBook.Mixins; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; import net.marshmallow.BetterRecipeBook.BetterRecipeBook; import net.minecraft.recipe.Recipe; import net.minecraft.recipe.book.RecipeBook; import net.minecraft.util.Identifier; import org.spongepowere...
27.676471
63
0.735388
646151d5111e5e067d1937a8653637d27097f7a5
9,795
package us.koller.cameraroll.data; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.preference.PreferenceManager; import java.util.Arrays; import us.koller.cameraroll.R; import us.koller.cameraroll.util.SortUtil; public class Settings { ...
33.20339
91
0.625625
33a5ed6be87b623a015c22d23966e24bb4573270
755
package com.example.zhengbotao.classassistant1.data.bean; import cn.bmob.v3.BmobUser; import cn.bmob.v3.datatype.BmobFile; /** * Created by zhengbotao on 18-4-11. * * 用户父类,包括姓名,学号/工号,头像,密码 字段 * * BmobUser 本身除BmobObject外,还包含 * username * password 等属性,故这里不用重复声明 */ public class Author extends BmobUs...
18.875
57
0.663576
ea6440c4d94ee599b661ddb8e42207eedbf556d0
635
package com.xnx3.template.bean; import org.jsoup.nodes.Element; /** * 模板变量的筛选,将每个模板页面中都有的模板变量筛选出来 */ public class TemplateVarFilter { private String key; //查找的元素,即对element进行精简,去除空格等 private Element element; //元素本身 private double simSum; //相似度的和 public String getKey() { return key; } pub...
18.142857
50
0.667717
4f0c55bc582d8c5ecd1374c5caf6548951b1a609
3,163
/* * 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...
25.103175
85
0.653494
1150efd7a093a966de40a459cdece70df7b9e734
7,345
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2017 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
32.93722
122
0.635671
c7568aeadad5d05701b2cae59669918a5707b265
2,538
package frc.robot.commands.wrist; import java.util.ArrayList; import com.ctre.phoenix.motorcontrol.ControlMode; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.Robot; import frc.robot.subsystems.Arm; import frc.robot.subsystems.Arm.ArmDirection; import frc.robot.subsystems.Wrist; import frc.robot...
31.725
116
0.686367
6cff118e94be6d9630591f056df635f53b645490
1,014
package com.shareworx.ezfm.baseinfo.userstation.vo; /** * 人员与岗位的查询条件VO * * @author jin.li * */ public class UserStationQueryVo { private String pk_station; private String flag; private int start; private int limit; private String user_name; private String stan_code; public String getPk_station() { retu...
15.6
51
0.704142
b79a3c5af75d795b6ac7bccccbea0fb09597855d
1,266
package frc.robot.commands.MultiSubsystemCommands; import edu.wpi.first.wpilibj2.command.InstantCommand; import edu.wpi.first.wpilibj2.command.ParallelCommandGroup; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import frc.robot.Constants; import frc.robot.commands.ConveyerCommands.MoveConveyor; import ...
33.315789
92
0.704581
71962950601c0e062b901891511bb5ad9f965420
1,776
package com.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.StaggeredGridLayoutManager; import android.util.Log; import android.view.LayoutInflater; import android.vie...
31.157895
123
0.68018
95d515d9c10a0c87fe6d87641163cc5902760218
2,076
package pwr.newEducation.domain.learningEffect; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import java.util.stream.Collectors; @ApplicationScoped public class SubjectLearningEffectDTOMapper { @Inject LearningEffectDTOMapper learningEffectDTOMapper; @Inject Knowledg...
49.428571
103
0.716281
6f6e36c5ff9122e599eab1f4d9724df5eaf5f28c
1,018
package com.feilong.gateway.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.cors.reactive.CorsWebFilter; import org.springframework.web.cors.reactive.UrlBasedCo...
31.8125
87
0.755403
25391d53c8e96078375ed746ea6a71d74e22fba5
1,142
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package talitakumi.servicios; import talitakumi.framework.*; import talitakumi.model.core.Personas; /** * * @author rupertus */ public class ConvertPersona implements Converter { @Override public DataPar...
21.54717
58
0.590193
9fb25c20a8228c330053ef84262f154707be3f84
476
package com.hzfc.management.jsbsb.modules.testOnlineTaxiJiJia.constatnt; import lombok.Getter; /** * @author yueyi2019 */ @Getter public enum BusinessInterfaceStatus implements CodeEnum { /** * 操作成功 */ SUCCESS(0, "success"), /** * 操作失败 */ FAIL(1, "fail"); private final int...
16.413793
72
0.619748
40dec98a3ffe5208d632c4cef7c6c1bc45b38155
8,409
/* * JBoss, Home of Professional Open Source * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
40.820388
152
0.63658
6b6a6c2a72129b50f3e37221c7b96a554fba93c5
52,422
/* * 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 ...
36.839072
99
0.627084
11dbfbfe4e637e6b04dacec21d0e25148ab039d9
741
package info.novatec.javaconfig.service; import static org.hamcrest.Matchers.is; import static org.junit.Assert.*; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframe...
27.444444
95
0.815115
784b0c6f7e1ca7c3d0b2be38896974b5823ba8d7
696
package org.xero1425.base.tankdrive ; /// \file import org.xero1425.base.actions.Action; /// \brief This class is the base class for all TankDriveSubsystem actions public abstract class TankDriveAction extends Action { /// \brief Create the object holding a reference to the subsystem /// \param drive the tan...
29
74
0.71408
8590de174f36bb49eb69ea762cd5adde807cbf75
1,558
package edu.mssm.pharm.maayanlab.Harmonizome.json.schema; import java.util.HashMap; import java.util.Map; import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.commons.lang3.tuple.Pair; public class ErrorSchema { public int status; public String message; public String description; public ...
25.966667
114
0.747112
bd232b23a3eec88f440f1ce8613531eb898bbfba
4,647
/* * Copyright 2016, The Android Open Source Project * Copyright (c) 2017-2018 Spotify AB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
34.169118
122
0.746288
f8469dacf6b245b01418eb6e5295982c9431b21a
5,715
package io.sphere.sdk.json; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import io.sphere.sdk.models.LocalizedString; import org.junit.Test; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; import java.util.Locale; import static java...
39.143836
150
0.645844
b232f2f717b5769df0a22879cc64ec447da2ea23
1,625
package com.zhangls.apijson.base.service; import com.alibaba.fastjson.JSONObject; import com.zhangls.apijson.annotation.NotNull; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.Map; /** * executor for query(read) or update(write) MySQL database * * @au...
17.663043
78
0.592615
f7c74d67c4ed91a9386c5ba52238ed3f769b007a
1,380
package devcrema.spring_jpa_rest_board_example.config; import devcrema.spring_jpa_rest_board_example.user.domain.User; import org.springframework.core.MethodParameter; import org.springframework.lang.NonNull; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.Secu...
44.516129
181
0.82971
59977957b073f64d00e4c45ba77ac63a103acfc7
303
package com.fancyfon.mobile.android.verification; /** * @author: Lena Jurkiewicz <lena.jurkiewicz@fancyfon.com> */ public interface CallerVerificator { boolean isCallerPermitted(int callingId); void isCallerPermitted(int callingId, CallerVerificatiorCallback callerVerificatiorCallback); }
25.25
97
0.79538
6455756fce1f8c507facceb548af81e875f12ee0
72
package common; public interface IReceiver<T> { void receive(T t); }
12
31
0.708333
16ef169b6c033848753d90c02e0bd2953a0a9b2c
112
package estruturalAdapter; public interface PlugueDoisPinos { public void conectar(TomadaDoisPinos tomada); }
16
46
0.830357
ea39c018c550b6032f0f52728385f42e19b40025
572
package fpt.g31.fsmis.entity; import lombok.*; import javax.persistence.*; import javax.validation.constraints.NotNull; import java.time.LocalDateTime; @Entity @Getter @Setter @Builder @AllArgsConstructor @NoArgsConstructor @Table(name = "tbl_report_user") public class ReportUser { @Id @GeneratedValue(strat...
15.888889
51
0.729021
7fa1a15656161a87601b49437cf9d297650ef0bc
912
package com.mq.consumer.kafka.scheduler; import com.mq.thread.task.DefaultTaskExecutor; import com.mq.thread.task.TaskExecutorService; import com.mq.thread.task.TaskExecutorTtlWrapper; import java.util.concurrent.*; public class KakaOffsetLogTaskExecutor extends DefaultTaskExecutor { public KakaOffsetLogTaskExec...
26.823529
94
0.691886
f1af0c0b04b31ae31350d1bb549ab2a691d80099
563
package com.deleidos.rtws.systemcfg.composers; import com.deleidos.rtws.commons.util.Initializable; import com.deleidos.rtws.systemcfg.beans.SystemConfig; import javax.xml.bind.MarshalException; import java.io.InputStream; /** * * @author rainerr * * Compose the objects need to build an actual file. * */ pu...
22.52
71
0.790409
b241ac8a71b5bd3ecc35459c2ff656d0b8f6ee9f
635
package com.bjc.protoss.dp.module.decorator.wesley.impl; import java.util.HashMap; import java.util.Map; import com.bjc.protoss.dp.module.decorator.wesley.DataCache; public class Redis implements DataCache { Map<String, String> cache = new HashMap<>(); @Override public String setValue(Strin...
24.423077
62
0.63937
2047f6d6691e0f6b6cf0616db19f12f7b33eeb3a
4,933
/** * Copyright © 2018 spring-data-dynamodb-example (https://github.com/derjust/spring-data-dynamodb-examples) * * 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...
39.150794
107
0.752889
776bfbaacd5a31cce50dfa40e86a938dfad80595
5,546
package de.julian.baehr.immutable.allow; import static de.julian.baehr.immutable.allow.PackageState.ALLOW; import static de.julian.baehr.immutable.allow.PackageState.ALLOW_ALL; import static de.julian.baehr.immutable.allow.PackageState.ALLOW_ALL_EXCEPT; import static de.julian.baehr.immutable.allow.PackageState.NONE; ...
34.6625
155
0.731338
e1f2e2f11aa67ff6a6ed41d9edfd1161c27f5fc6
2,310
package com.noah.solutions.system.service.impl; import com.noah.solutions.system.repository.RoleAuthoritiesRepository; import com.noah.solutions.system.repository.RoleRepository; import com.noah.solutions.common.exception.CustormException; import com.noah.solutions.common.utils.BeanUtils; import com.noah.solutions.sy...
27.831325
70
0.71039