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
22db4d90b8e848910a00d1c9ef0609f0613b1ae3
5,466
package com.geofinity.wgu.nightowl; import android.app.Application; import android.content.Context; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import com.crashlytics.android.Crashlytics; import com.geofinity.pwnet.NetLibMain; import com.geofinity.pwnet.netops.OpsExecutor; import ...
33.740741
103
0.712587
520a9fb869e05e1ac16c9d8075ef8ce86174de0f
3,088
/* * Copyright 2000-2009 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...
37.204819
79
0.719236
cb9aeabefc7e884d78095e05e5bda052f91010a7
1,947
package com.packtpub.techbuzz.controllers; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.RequestScoped; import javax.faces.context.FacesContext; import org.apache.log4j.Logger; import org.primefaces.context.RequestContext; import org.primefaces.even...
31.403226
119
0.7283
b3c046eeba06b5421d5ddb70b6daf249dbb9e403
1,783
/* * Fabric3 * Copyright (c) 2009-2015 Metaform Systems * * 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...
33.641509
80
0.739204
2dcbaf3d3390b0fdf5ccd564e70501a7c5c09577
1,393
package org.gemini4j.cucumber.steps; import cucumber.api.java.en.Given; import cucumber.api.java.en.When; import org.gemini4j.browser.Browser; import org.gemini4j.cucumber.Gemini4jPlugin; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import java.io.IOExcep...
28.428571
100
0.676956
070fa5a477c78c1c6bbf0f30eeed374be321f341
243
package com.superprince.mapper; import com.superprince.entity.Menu; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface MenuMapper extends BaseMapper<Menu>{ List<Menu> getMenuList(); }
18.692308
53
0.798354
8753dee4553acad8385b528c9c4b5fe776752e9f
1,035
package me.www.websocket.controller; import me.www.websocket.config.TaskWebSocketHandler; import org.springframework.stereotype.Controller; import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org....
32.34375
74
0.75942
19130c59fdab6a7024b5a00c299bda9d7d95892d
1,147
package empire.wars.net; import java.net.InetAddress; import empire.wars.EmpireWars.TEAM; public class ConnectedPlayers { private InetAddress ipAddress; private int port; private String username; private TEAM team; public ConnectedPlayers(String username, InetAddress ipAddress, int port, TEAM team) { this...
14.3375
87
0.662598
803722d8349b6a6dfd4dc3bb565f7d52bd7a9d77
45,094
package org.myrobotlab.service; import static org.bytedeco.opencv.global.opencv_imgproc.COLOR_BGR2RGB; import static org.bytedeco.opencv.global.opencv_imgproc.cvResize; import static org.bytedeco.opencv.global.opencv_imgproc.COLOR_BGR2GRAY; import java.awt.image.BufferedImage; import java.io.File; import java.i...
43.110899
171
0.683594
bce341f73d4cb33174d58fbeb90c81c081b1d07f
2,392
package org.squiddev.plethora.gameplay.modules.glasses; import io.netty.buffer.ByteBuf; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; import org.squiddev....
27.494253
108
0.725753
07527e7e0b5b2daf99b1a8733196ce0ac9476762
2,286
/* * Copyright (C) 2019 Authlete, 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 ...
22.411765
81
0.604112
535221053c179698c07b7a904ea01f606571ea41
2,411
/** * ***************************************************************************** * Copyright 2016 Katja Hahn * * 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...
32.581081
80
0.632103
42ded093cbe62cdeabdf0618ab033f1676672c7c
1,285
package qa.justtestlah.awsdevicefarm; import java.io.File; import java.util.List; import org.apache.maven.shared.invoker.DefaultInvocationRequest; import org.apache.maven.shared.invoker.DefaultInvoker; import org.apache.maven.shared.invoker.InvocationRequest; import org.apache.maven.shared.invoker.MavenInvocationExcep...
34.72973
88
0.729183
70ba340207ec19dc6d3e7f7d59c59f7578302d73
8,224
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
40.712871
128
0.608463
3bd47804afbb326048d4cd5ffbdd54b1bbe94186
1,671
package com.buuz135.industrial.block.resourceproduction; import com.buuz135.industrial.block.IndustrialBlock; import com.buuz135.industrial.block.resourceproduction.tile.PotionBrewerTile; import com.buuz135.industrial.module.ModuleResourceProduction; import com.buuz135.industrial.utils.IndustrialTags; import com.hrzns...
36.326087
130
0.7307
3d04f3b936f2c3b33e7bd90b8ae6e1ab0df7a208
679
package com.panayiotisgeorgiou; import java.util.*; public class JavaExample{ public static void main(String args[]){ LinkedList<String> list=new LinkedList<String>(); //Adding elements to the Linked list list.add("John"); list.add("Doe"); list.add("Clark"); //Adding an element to th...
24.25
54
0.643594
1d0f13c413185b1abfc86740f20d16c23e85883b
9,025
/** * Copyright 2015 Nikolas Boyd. * * 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 w...
29.20712
118
0.624377
db19a57380fc9ac599196b312818bc9793b9bfe2
232
package com.example.recipe_helper.Commnuity.DataFrame; import com.example.recipe_helper.HttpConnection.BaseResponse; import java.util.ArrayList; public class PostResponse extends BaseResponse { public ArrayList<Post> body; }
23.2
61
0.823276
ca5fe87f1660f4e3d5b0fb6c4553752cd162a797
478
package com.cj.mq; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.io.Serializable; /** * @author : Flon * @version V1.0 * @Description: 消息载体 * @date Date : 2019/04/09 14:44 */ @Data @AllArgsConstructor @NoArgsConstructor public class MessageEntity implements S...
17.071429
68
0.763598
a7c88ab349f4697a8f2387b412cda2be3d9e3023
1,982
package kruskal; import java.util.ArrayList; // Minimum Heap public class Heap<E extends Comparable<E>> { // used arraylist as work around instead of generic array[] private ArrayList<E> pq; private int size; public Heap() { this.pq = new ArrayList<E>(); this.size = 0; } ...
19.057692
70
0.478305
f48c5b27a338c6e8517dde1acf238a341e555e3a
4,537
package com.here.deployment.service.impl; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.instanceOf; import static org.junit.Assert.assertThat; import static org.mockito.Matchers.any; import static org.mockito.Mockito.when; import org.junit.Test; import org.junit.runner.RunWith; impor...
43.209524
112
0.836456
5151644c85529c16428056c1901640927c73bdfe
1,970
/** * Copyright 2020 Alexander Herzog * * 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...
37.169811
101
0.754315
d5b013b028516b8bfc08dff69cd30f235a54616d
2,217
package edu.fiu.ffqr.models; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.bson.types.ObjectId; import org.springframework.data.mongodb.core.mapping.Document; import edu.fiu.ffqr.models.User; import com.fasterxml.jackson.annotation.JsonProperty; @Document(collection="cl...
23.09375
141
0.695083
969492364601ed7e44d7525f8ca4ffc6909a566c
985
package zhongqiu.service; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import zhongqiu.bean.Person; @Transactional public class...
25.921053
73
0.783756
422291b45238494994d915f770191c55ce362679
2,333
/* * Copyright 2004-2005 Revolution Systems 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
28.45122
81
0.701672
0fc31bed73613decdfaec64473540a73d1fa786d
980
/* Copyright (C) 2018-2019 Init Studios. All rights reserved. This document is the property of Init Studios. It is considered confidential and proprietary. This document may not be reproduced or transmitted in any form, in whole or in part, without the express written permission of Init Studio...
24.5
67
0.710204
e64211e463c3cc06525950a6b8ae9781c8391ab1
830
package com.dwarfeng.familyhelper.assets.stack.exception; import com.dwarfeng.subgrade.stack.bean.key.LongIdKey; import com.dwarfeng.subgrade.stack.exception.HandlerException; /** * 项目封面状态非法异常。 * * @author DwArFeng * @since 1.0.0 */ public class IllegalItemCoverStateException extends HandlerException { priv...
25.9375
84
0.733735
1f1b1f7fc2cbec874c75c192deb3e2bf1fdc726d
1,130
package com.acmedcare.nas.client.boot.sample.test; import com.acmedcare.nas.api.entity.UploadEntity; import com.acmedcare.nas.client.NasClient; import com.acmedcare.nas.client.boot.sample.NasClientSpringBootSample; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.springframew...
28.25
70
0.744248
1d29c0266fe7a479001418e33b99112485fed0c0
129
package adsbrecorder.user.entity; public enum UserRoleType { SYSTEM_ROLE, ADMIN_ASSIGNED_ROLE, DEFAULT_USER_ROLE }
14.333333
33
0.75969
2492dced42e19f2603346e54c8c3aab1483fbf9a
589
package com.quarkdata.yunpan.api.model.vo; public class TagVO extends CollectionVO { //是否收藏 private boolean isCollected; private String source; // 0-共享空间 2-归档文件 private String namePath; public String getSource() { return source; } public void setSource(String source) { this.source = source; } public...
16.361111
48
0.726655
4d55fe2d67d9b40aeabed3b0dfb1dca04821a452
2,794
package org.metahut.octopus.api.dto; import org.metahut.octopus.common.enums.SubjectCategoryEnum; import io.swagger.annotations.ApiModelProperty; import java.util.Date; public class MetricsResultResponseDTO { @ApiModelProperty(value = "datasoucreName") private String datasourceName; @ApiModelProperty(...
22.352
73
0.688618
6753193c08a44d7392da96fbfccc06490aba0ff3
11,196
/* * This file is part of LanternServer, licensed under the MIT License (MIT). * * Copyright (c) LanternPowered <https://www.lanternpowered.org> * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a c...
50.432432
140
0.644337
4c948617772cbc5a02998d1c9ef4bfea06bce270
528
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.search.documents.test.environment.models; import java.util.List; public class HotelWithUnsupportedField { private String hotelId; private Byte someByte; private List<Byte> someListBytes; ...
19.555556
60
0.689394
5e1f5f3251d701777577ddeb165f133ac77225cf
1,594
// 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 static frc.robot.Constants.Motors.leftShooter; import static frc.robot.Constants.M...
24.90625
96
0.749686
2b8ac8187b73baa0ee5dc2bebb1e0b1b00bcff41
1,387
package com.springboot.cloud.sysadmin.organization.config; import java.util.Arrays; import java.util.HashSet; import java.util.Objects; import java.util.Set; import java.util.stream.Collectors; public class Hero { private String name; private int fee; private Set<String> features = new HashSet<String>(); ...
23.508475
102
0.591925
a225fdf18d539050ff8b77d3944d434eab578cab
1,543
package com.deer.wms.bill.manage.model; public class MtAloneDeliveryDetListVO extends MtAloneDeliveryDet{ /* * 产品料号,来自产品表 */ private String cellCode; /* * 产品料号,来自仓位表 */ private String cellAlias; /* * 产品料号,来自产品表 */ private String itemCode; /* * 产品名字,来自产品表 */ private String prod...
19.782051
66
0.683733
4d8c739199a0b47479573f447ad7f1c546559a5f
765
package ee.food.crnk.resources; import io.crnk.core.queryspec.AbstractPathSpec; import io.crnk.core.queryspec.PathSpec; import io.crnk.core.queryspec.internal.typed.ResourcePathSpec; import javax.annotation.Generated; @Generated("Generated by Crnk annotation processor") public class PickupLocationPathSpec extends Res...
27.321429
92
0.811765
e518f17119a98911782f0fc44dcb0252fb918e6b
11,585
/** * Copyright (c) Istituto Nazionale di Fisica Nucleare (INFN). 2016-2019 * * 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 * * Unl...
41.523297
117
0.74631
dbf53c173fd167037ae3f5645b58fc46791e6687
735
package com.ximcoin.ximwallet.model.persistence.coinmarketcap; import com.squareup.moshi.FromJson; import java.util.Map; public class ConversionRateAdapter { @FromJson ConversionRate fromJson(Map<String, String>[] jsonMaps) { Map<String, String> jsonMap = jsonMaps[0]; ConversionRate conversio...
36.75
87
0.727891
857e354404cca897005db6ad0f081fdae323c5d2
765
package logica.bytecode.oneParameterInstructions; import logica.CPU; import logica.bytecode.ByteCode; public class Store extends ByteCodeOneParameter{ public Store(){ } public Store(int param){ super(param); } @Override public boolean execute(CPU cpu) { boolean ok = false; ...
14.433962
63
0.616993
3e04504118ed18e810c9746710172f268204d856
2,859
package org.testah.runner.performance; import org.testah.TS; import org.testah.driver.http.requests.AbstractRequestDto; import org.testah.driver.http.response.ResponseDto; import org.testah.runner.HttpAkkaRunner; import java.util.List; import java.util.concurrent.ConcurrentLinkedQueue; public abstract class Abstract...
43.318182
133
0.56978
83d52731d20e2fad58f8b286177fefa72e4246df
3,852
/* * * * * Copyright (C) 2018 Red Hat, 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 * * * * Unles...
35.33945
133
0.646158
e09c3274506d55d1319809c65ee4306d92f6ff93
6,027
package dev.lajoscseppento.ruthless.plugin.impl; import com.diffplug.gradle.spotless.SpotlessExtension; import com.diffplug.gradle.spotless.SpotlessPlugin; import dev.lajoscseppento.ruthless.plugin.configuration.impl.GroupIdArtifactIdVersion; import dev.lajoscseppento.ruthless.plugin.configuration.impl.RuthlessConfigu...
36.527273
100
0.703003
f4f241f9f8a59011480c35880742aaf4f03cfadf
5,218
package nexuslink.charon.smartdoor.ui.pop; import android.content.Context; import android.net.Uri; import android.support.design.widget.TabLayout; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.ut...
36.746479
96
0.696627
9cf9d69980b3f6afa0a71efb74dd44312a1c3537
589
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: github.com/TheThingsNetwork/api/protocol/lorawan/lorawan.proto package org.thethingsnetwork.api.protocol.lorawan; public interface MACCommandOrBuilder extends // @@protoc_insertion_point(interface_extends:lorawan.MACCommand) com.google.pro...
26.772727
73
0.704584
3192e3ce0148a9639b0fa2c5bba05631ea2c782c
1,632
/* * Copyright 2014-2021 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 app...
30.792453
97
0.726103
d2ab8c4c91c36d26fdc9357ce0f651424813808e
4,302
/** * Gincana no Acampamento * * Desafio: * - Nas férias de Dezembro, várias escolas se organizam e levam seus * alunos para um acampamento de férias por uma semana. Nestes acampamentos * os alunos são divididos em cabanas coletivos por gênero e idade, sempre * com um adulto que, além de dormir com o grupo no...
37.408696
140
0.670618
5a5c3d00496f9d0b396658c0c635534abd58ad66
11,915
package com.techconative.restel.oas; import com.techconative.restel.core.parser.dto.BaseConfig; import com.techconative.restel.core.parser.dto.TestApiDefinitions; import com.techconative.restel.core.parser.dto.TestScenarios; import com.techconative.restel.core.parser.dto.TestSuites; import com.techconative.restel.exce...
38.811075
99
0.673269
4dedc3f4d3f26431a715b44c9ef3ae889082a5ea
317
package sfBugsNew; import edu.umd.cs.findbugs.annotations.ExpectWarning; import edu.umd.cs.findbugs.annotations.NoWarning; public class Bug1212 { @NoWarning("TESTING") @ExpectWarning("DM_BOXED_PRIMITIVE_TOSTRING") public String doSomething() { return Integer.valueOf(0).toString(); } }
22.642857
53
0.725552
6b789c9d9e0d96665aa34058f5242769faf8f221
21,507
/* * Copyright (c) 2008-2021, Hazelcast, 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 ...
41.680233
120
0.599247
24c97c62fa84a81c9e282ceb82fa6bc815b75587
450
package org.xcolab.view.webhooks.sendgrid.model; import com.fasterxml.jackson.annotation.JsonCreator; public enum EventType { PROCESSED, DROPPED, DELIVERED, DEFERRED, BOUNCE, OPEN, CLICK, SPAMREPORT, UNSUBSCRIBE, GROUP_UNSUBSCRIBE, GROUP_RESUBSCRIBE; @JsonCreator p...
19.565217
73
0.682222
0cdea3c43d4cc3d669367be395c1361e11168e05
26,710
package ak.znetwork.znpcservers.commands.list; import ak.znetwork.znpcservers.ServersNPC; import ak.znetwork.znpcservers.commands.ZNCommand; import ak.znetwork.znpcservers.commands.exception.CommandExecuteException; import ak.znetwork.znpcservers.configuration.enums.ZNConfigValue; import ak.znetwork.znpcservers.config...
40.716463
286
0.619169
677e49014be510ea3f1c9fba87b1b1d9b055cef6
8,561
package org.dmc.services.company; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.dmc.services.DBConnector; import org.dmc.services.DMCError; import org.dmc.services.DMCServiceException; import org.dmc.services.ServiceLogger; import java.util.ArrayList; public cla...
37.880531
143
0.698633
865b7b6e4c5eafff3a42d615b2081a169f3eaaee
9,894
package cs.contagion; import java.awt.Container; import java.awt.image.BufferedImage; 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 java.security.SecureRandom; import java.util.Date; import jav...
33.883562
150
0.602587
86e122ad075fd1c88c702a979abcc617070c3cf9
1,506
package data; public class Inchoative extends Suffix { // private static String morph = "#incho#"; // //--------------------------------------------------------------------------------------------------------- public Inchoative() { morpheme = morph; makeFormsAndActions("V", morph...
32.042553
112
0.35259
d2d60cecdc1bb139d26ddbdd6fcd77cb4c4f1bfc
2,391
/* * Modified by mmatthies. * * Copyright 2011 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 * * Un...
31.88
111
0.729402
63c825b1e3997931ee934bbd320babebe77e64a3
3,416
package cn.ex.project.scaffold.common; import lombok.extern.slf4j.Slf4j; import org.apache.catalina.connector.ResponseFacade; import org.springframework.web.bind.MissingServletRequestParameterException; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.Rest...
43.240506
175
0.737998
8922b037962ce7e1c90ab5a8e7504b2d0bac0989
566
package gov.hhs.onc.dcdt.mail.smtp.capability.impl; import gov.hhs.onc.dcdt.mail.smtp.capability.SmtpCapabilityType; import gov.hhs.onc.dcdt.mail.smtp.capability.SmtpCapability; public abstract class AbstractSmtpCapability implements SmtpCapability { protected SmtpCapabilityType type; protected AbstractSmtpC...
24.608696
72
0.722615
452f5a333f26d2d13fc3e27d2e18c2ccf403ae77
608
package org.smoothbuild.slib.blob; import static org.smoothbuild.SmoothConstants.CHARSET; import java.io.IOException; import org.smoothbuild.db.record.base.Blob; import org.smoothbuild.db.record.base.RString; import org.smoothbuild.plugin.NativeApi; import org.smoothbuild.plugin.SmoothFunction; import okio.Buffered...
27.636364
85
0.784539
f4a073b4fafe3b6fc7d5234d0a504336a1dc680b
80,269
package com.ilscipio.scipio.setup; import java.io.Serializable; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHas...
42.224619
212
0.598575
6d6ac3994b77084ac3fe2ba7bc8f33d6dbc26987
3,669
package org.apache.tomcat.util.http; import org.junit.Assert; import org.junit.Test; public class TestSameSiteCookies { @Test public void testUnset() { SameSiteCookies attribute = SameSiteCookies.UNSET; Assert.assertEquals("Unset", attribute.getValue()); Assert.assertEquals(SameSit...
36.326733
90
0.718452
4428ab7b7c3cb10c7cd40a3aa4f63d5b9343fceb
2,050
package com.ird.config; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.context.request.WebRequest; import org.spr...
41.836735
100
0.80878
a7554cf8a52e47016ceb11c9f6db5bc5e97d182c
40,217
/** * XOR, empowering Model Driven Architecture in J2EE applications * * Copyright (c) 2012, Dilip Dalton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
34.759723
171
0.68578
0cd47dc8cfb506cef512795dd7982bd658e421fa
1,547
package com.renard.ocr.documents.creation; import com.renard.ocr.R; import android.os.Bundle; import androidx.fragment.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; public class ProgressDialogFragment extends DialogFra...
30.94
100
0.769231
0a28403b1b439144280b7a56e2f8366928c92417
932
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.resources.v2018_05_01; import com.fasterxml.jack...
21.181818
74
0.640558
36d3cae16a98aae1e4a45c5944dc87208198f1c4
2,089
package com.youlongnet.lulu.ui.adapters; import android.content.Context; import android.graphics.Color; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.RecyclerView.Adapter; import android.support.v7.widget.RecyclerView.ViewHolder; import android.view.View; import android.view.ViewGroup...
29.013889
73
0.660603
50a19427fedc96f853464fd8d99ddc98802b5f20
1,351
/** */ package serviceexample.tests; import junit.textui.TestRunner; import serviceexample.Server; import serviceexample.ServiceexampleFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Server</b></em>'. * <!-- end-user-doc --> * @generated */ public class ServerTest extends Name...
19.028169
61
0.619541
fffa976426f309842df006cf1d2e6a1cca3ff707
5,664
/* Copyright (c) 2012-2016 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Cont...
31.642458
100
0.57839
4bb56cf99364d31b30033119156a1c79beda5498
1,921
package com.lh.seckill.config; import com.lh.seckill.access.UserContext; import com.lh.seckill.domain.SeckillUser; import com.lh.seckill.service.SeckillUserService; import javax.annotation.Nullable; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.MethodParameter; import ...
41.76087
228
0.789172
22df4aded9f6af6bfe3e59ee9d7c3a38e7a7cd85
1,685
package com.akamai.qtip.test.step; import static org.junit.Assert.assertTrue; import java.io.ByteArrayOutputStream; import java.time.Instant; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpVersion; import org.apache.http.client.fluent.Request; import org.apache.htt...
28.559322
96
0.724036
1e73aeb4dd402561f241ed1fcd95dec554084ac1
3,072
package com.squareup.square.models; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; /** * This is a model class for ...
30.415842
98
0.637044
329a72454ed04d16d58cbb266d7bc75ac0ed3c4d
1,312
package cf.thdisstudio.ystworldedit.Commands; import cf.thdisstudio.ystworldedit.EventType; import cf.thdisstudio.ystworldedit.YstWorldEdit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; impor...
32
115
0.665396
fe85092b4f60e0fae032a033b875f00c3bb1a9dc
323
package si.matjazcerkvenik.test.javase.patterns.factory.example2; public class Monkey extends Animal { public Monkey() { super(); } @Override public Monkey createAnimal() { return new Monkey(); } @Override public void eat() { System.out.println("I am monkey[" + getId() + "] and I eat bananas"); } ...
16.15
71
0.668731
719fc4f05d396e056316df88c8045990bd5e0aa0
489
package com.xqbase.bn.rpc.server.filter; import com.xqbase.bn.rpc.server.context.ServiceContext; import com.xqbase.bn.rpc.server.r2.HttpRequestWrapper; import com.xqbase.bn.rpc.server.r2.HttpResponseWrapper; /** * Defines a request filter to be executed after deserialize request object * and before executing the op...
28.764706
97
0.791411
162bf1f1ad5f4c19e11e7f43759331daa70b721d
513
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.GroupData; public class GroupCreationTest extends TestBase { @Test public void testGroupCreation() { app.getNavigationsHelper().gotoGroupPage(); app.getGroupHelper().initGroupCreation(...
24.428571
80
0.711501
12965d352533f3c422ba91d069caec1402af8fd9
5,546
package fi.riista.feature.harvestpermit; import com.google.common.collect.ImmutableMap; import fi.riista.feature.gamediary.GameSpecies; import fi.riista.feature.organization.RiistakeskuksenAlue; import fi.riista.test.EmbeddedDatabaseTest; import fi.riista.util.F; import org.junit.Test; import javax.annotation.Resourc...
46.605042
120
0.716913
02892cacc5221a93b8470aef6d2c73352ce65b4b
513
package ru.job4j.tracker; import java.util.function.Consumer; public class FindByNameAction extends BaseAction { public FindByNameAction(int key, String name) { super(key, name); } public boolean execute(Input input, Tracker tracker, Consumer<String> output) { String key = input.askStr("...
27
83
0.641326
f75b75e1a39b6123ebc891aefeafa0dc40d76786
1,918
package io.github.synthrose.artofalchemy.block; import net.fabricmc.fabric.api.container.ContainerProviderRegistry; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.Material; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemPlacementConte...
31.442623
106
0.732534
bc6be772848887a1b5e8b2bf09b3739bd6b76097
3,180
package com.dl.commonviewpager.widget; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.RelativeLayout; import co...
29.444444
110
0.713836
3133e6e58d860e54916045bcf13b29b01e1bdfb5
5,433
package com.ty.tsvetilian.a21connect.Views; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.support.v7.app.AlertDialog; ...
37.212329
121
0.631511
78ebe44eb9e3d2a47ce29f62e784d4f06180e0ce
280
/** * Auto Generated Java Class. */ public class Sheep extends Animal { public Sheep() { System.out.println("Sheep is created"); } public Sheep clone() { System.out.println("Sheep is being cloned"); return (Sheep) super.clone(); } }
20
52
0.582143
358473925c8b9fe0e7de1aae68cc57d92416dc26
16,638
package com.cyc.cycjava.cycl; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.UnaryFunction; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLStructDecl; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.CommonSymbols; import com.cyc.tool.subl.jrtl.nativeCode.subLisp.SubLStructDeclNative; import com.cyc.tool.subl....
42.335878
181
0.640221
6e704e5860d51f4bf55cd902e00d1854f3ec415b
1,625
package com.example.soundlesscheck_in; import android.content.Context; import android.content.SharedPreferences; import androidx.security.crypto.EncryptedSharedPreferences; import androidx.security.crypto.MasterKeys; import java.io.IOException; import java.security.GeneralSecurityException; public class EncryptedSP...
30.092593
83
0.685538
f286ee1273aef0ea7b18396ce16aa6fcf6047411
4,778
package daris.web.client.gui.shoppingcart; import java.util.ArrayList; import java.util.List; import com.google.gwt.user.client.ui.Widget; import arc.gui.InterfaceComponent; import arc.gui.form.Field; import arc.gui.form.FieldDefinition; import arc.gui.form.Form; import arc.gui.form.FormEditMode; import arc.gui.gwt....
36.753846
116
0.602763
ae53aeb2fd599b77cde1bf6062a182bafa814f83
5,523
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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 a...
37.317568
146
0.651639
c595041b7fd4634f9a80419c65c1321ad8588abc
1,480
package com.employee.model; import javax.persistence.*; import java.util.List; @Entity @Table(name = "EMPLOYEECATEGORY") public class EmployeeCategory { private Long empId; private String name; private Department department; private double salary; private List<Mounthly>mounthlies; public Emp...
22.089552
75
0.642568
7f2f93bad9ecfae8bc2610ee9c912f72696f788b
1,275
package se.paap.recyclerviewapplication.model; import java.util.UUID; public final class User { private final String id; private final String username; private final int age; public User(String id, String username, int age) { this.id = id; this.username = username; this.age = ...
21.610169
87
0.541176
6f43b9c650857f8fa409c8c3661fb6169c2440c9
2,700
/* * Copyright 2018 * * @author Paul Withers (pwithers@intec.co.uk) * * 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 requi...
29.347826
115
0.725556
d56273b68a775c1a1a62d7fc0c50dcf9ed01ac12
523
package com.league.dal.common.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; import com.league.dal.common.domain.FileDO; /** * 类FileDao.java的实现描述:TODO 类实现描述 * @author wanglei 2018年2月5日 下午3:52:36 */ @Mapper public interface FileDao { FileDO get(Long id); Li...
17.433333
47
0.697897
5b27a6dc82a7491a47c97fee7d797a45bc884345
1,296
package com.grandstream.cast.airtunes.raop; import java.util.Arrays; public class RTSPResponse { private StringBuilder response = new StringBuilder(); private boolean isHeaderFinialized = false; private byte[] content; public RTSPResponse(String header) { response.append(header + "\r\n"); } public ...
21.6
70
0.658179
21a2b2fc691b3fdc8266830c0236e8025f3a470b
495
package com.palominolabs.benchpress.ipc; import com.google.inject.AbstractModule; import com.ning.http.client.AsyncHttpClient; import com.ning.http.client.AsyncHttpClientConfig; public final class IpcHttpClientModule extends AbstractModule { @Override protected void configure() { AsyncHttpClientConfig...
35.357143
110
0.785859
29ffe19bbe9bde1f5f31153e63375158416ae860
884
package com.study.postprocessors; import com.study.services.UserService; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.stereotype.Component; @Component public class MyBeanPostProcessor implements BeanPostProcessor { @...
34
103
0.738688
9836af35d0956d3b68df68bf3d8120d125479d3b
9,904
/* * Copyright (c) 2002-2019, Mairie de Paris * 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 * ...
39.616
166
0.634794
4e6593ac99f9897200689e21b826fa9d4cc11aa8
2,783
/* * Copyright (c) 2013 Faculty of Computer Science, University of Vienna * * 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 ...
34.358025
133
0.70751
b46f9b4fc94a4eef022ba7b79f525dcb883e8253
1,165
/* * Copyright 2013-2021 Erwin Müller <erwin.mueller@anrisoftware.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
32.361111
75
0.717597
25d4307b01fa0a232ff4ca9106ddaddbc70ffbaf
19,085
package com.ishland.fabric.raisesoundlimit.sound; import com.google.common.base.Suppliers; import com.google.common.collect.Lists; import com.google.common.collect.Sets; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.ishland.fabric.raisesoundlimit.FabricLoader; import com.ishland.fabric.rais...
42.037445
137
0.590621
4c493294a60344e39b19ccbaab7fe8474a32a2d3
445
package ui; import flappybird.MoConstants; import javax.swing.*; public class UI extends JFrame { public UI() { super.setSize(MoConstants.WINDOW_WIDTH,MoConstants.WINDOW_HEIGHT); super.add(new GameScreen(MoGameType.AI)); super.setVisible(true); super.setTitle("Neuroevolution (Mo...
16.481481
74
0.678652
f559f7cac199d0f47ce7afeb9db6056f97b32950
3,235
//===================================================================== // //File: $RCSfile: ProcessAllActivitiesTest.java,v $ //Version: $Revision: 1.15 $ //Modified: $Date: 2013/05/10 06:02:36 $ // //(c) Copyright 2004-2014 by Mentor Graphics Corp. All rights reserved. // //===========================...
34.414894
124
0.657805
7ff941fcb142fca769710209e71d5d787c388a28
18,258
package com.bergerkiller.bukkit.common; import static org.junit.Assert.*; import java.util.HashMap; import java.util.Map; import static com.bergerkiller.bukkit.common.internal.CommonLegacyMaterials.*; import org.bukkit.Material; import org.bukkit.block.BlockFace; import org.bukkit.material.MaterialData; import org....
47.795812
139
0.606802
c8014bac0cd023b749eba5bea24ef26e62ee13e0
5,084
package com.umbra.bridge.pool; import android.os.Handler; import android.os.Looper; import android.os.Message; import com.umbra.bridge.listener.IAsynListener; import com.umbra.util.ValidateUtil; public class DefaultTaskRunnable<Cond, Resp> extends Handler implements Runnable, IAsynListener<Cond, Resp> { public ...
23.981132
109
0.564713