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
111f8cfc7b41333ac88c8d22f29250235f5aeeef
2,547
package com.github.correa.finalreality.model.character.player; import com.github.correa.finalreality.controller.handlers.IEventHandler; import com.github.correa.finalreality.model.character.AbstractCharacter; import com.github.correa.finalreality.model.character.ICharacter; import com.github.correa.finalreality.model....
25.989796
101
0.720063
3572b84aea11cb68d9e25cd10560a22014e6c9a2
3,491
package okio; import java.io.EOFException; import java.io.IOException; import java.util.zip.DataFormatException; import java.util.zip.Inflater; public final class InflaterSource implements Source { private int bufferBytesHeldByInflater; private boolean closed; private final Inflater inflater; private ...
34.91
104
0.547408
68a92a290b8d48905661c035303f76fcb39ab9c5
43,790
/* * 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 gui; import java.awt.Color; import java.text.SimpleDateFormat; import java.util.Date; import javax.swing.JPanel; import libra...
53.014528
212
0.661612
39ecb130a8a9018c8d1e28dddea16b6f8d5b2d43
7,741
package org.bukkit.entity; import java.util.HashMap; import java.util.Map; import org.bukkit.entity.minecart.CommandMinecart; import org.bukkit.entity.minecart.HopperMinecart; import org.bukkit.entity.minecart.SpawnerMinecart; import org.bukkit.entity.minecart.RideableMinecart; import org.bukkit.entity.minecart.Explo...
28.884328
101
0.614908
0ee098ff296486059a9c22f7ec74362c6e7c3213
8,716
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2021 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld, * John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke, * Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi...
31.128571
232
0.689307
54f110f19a42ce9bbef9f3236fbef9f56e50e150
13,282
/* * 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 setoperations; import java.awt.geom.Point2D; import static java.lang.Math.cos; import static java.lang.Math.sin; import java.u...
51.281853
187
0.677383
8f9ff34a29b8a0103cb33cea17b37706a3d6acaa
359
package pruefungsvorbereitung; public class VCE2014ExamCQuestion034 { public static void main(String[] args) { try { // some code here int b = 0; int a = 1/b; } catch (NullPointerException e1) { System.out.print("a"); } catch (Exception e2) { System.out.print("b"); } finally { ...
17.95
42
0.593315
7af03be0bb7d2ba47329bdcaf7627906496be1fd
4,971
package com.yhy.flow.engine.persist; import com.yhy.flow.db.service.FlowDfnEventService; import com.yhy.flow.db.service.FlowDfnProcessService; import com.yhy.flow.db.service.FlowXmlProcessService; import com.yhy.flow.engine.model.event.StartEventNode; import com.yhy.flow.engine.parser.XMLParser; import com.yhy.flow.mo...
36.284672
157
0.651378
326dbc9000c32a080c2203f82341f52368391297
6,045
package com.vailsys.persephony.api.conference; import static com.vailsys.persephony.json.PersyGson.gson; import java.util.HashMap; import com.vailsys.persephony.api.PersyCommon; import com.vailsys.persephony.api.PersyJSONException; import com.google.gson.JsonSyntaxException; /** * This class represents a Persepho...
26.39738
113
0.706038
b114d229f60ec96de58eebdf63c4444a3e6f28f1
12,591
package com.tomaskostadinov.weatherapp.helper; import android.content.Intent; import android.text.format.DateUtils; import android.util.Log; import android.widget.Toast; import com.tomaskostadinov.weatherapp.R; import com.tomaskostadinov.weatherapp.activity.MainActivity; import com.tomaskostadinov.weatherapp.adapter...
28.486425
282
0.534112
f3cbf3e0981fa1348492f1e931e2ea52fa695981
3,168
package io.slingr.endpoints.afip.fev1.dif.afip.gov.ar; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for PtoVenta complex type. * * <p>The following sche...
22.791367
105
0.565657
571e2cadd72b957ff45a520940bfe523f87c557d
3,011
package adf.app; import java.net.JarURLConnection; import java.net.URL; import java.net.URLConnection; import java.util.jar.Attributes; import java.util.jar.Manifest; import java.util.logging.Logger; public class AppManifestAttributes { private static final Logger logger = Logger.getLogger(AppManifestAttributes....
38.602564
120
0.647293
4d49da02e037e9deeb7a5936d41f0a1128c2850d
1,383
package blockchain.chain; import blockchain.data.Passport; import blockchain.exceptions.TransactionsSizeException; import blockchain.transactions.Transaction; import org.junit.jupiter.api.Test; import testutils.ParentTest; import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Asserti...
33.731707
102
0.730296
df444b194848cef84ff1d4c904a9ff9f0c510c8a
21,122
package com.runabove; import static org.junit.Assert.assertNotNull; import java.beans.IntrospectionException; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.util.List; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import retrofit.Callbac...
32.495385
156
0.725878
c36a307f55f9462f4bb9ed694e77fd106bf3c80c
984
/* Java implementation of Shell Sort*/ public class Shell_Sort { public void sort(int input[]) // Function implementing Insertion Sort { int n = input.length, temp, j; for (int gap = n / 2; gap > 0; gap /= 2) { for (int i = gap; i < n; i++) // Gapped insertion sort ...
22.883721
82
0.447154
007de9646932b7354023a56c1afc58ae883b299e
3,070
/* * Copyright 2015-present Facebook, 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...
36.117647
99
0.735179
a4c1ca3e370ad3b99ff3e8a0e2498772b01eeefb
1,796
package com.braintreepayments.api.models; import android.os.Parcel; import android.os.Parcelable; import com.braintreepayments.api.annotations.Beta; import com.google.gson.annotations.SerializedName; /** * A class to contain 3D Secure information about the current * {@link com.braintreepayments.api.models.Card} *...
29.933333
93
0.700445
9b9838dd3bd2032d25945638882b6539df70ec20
934
package g2001_2100.s2012_sum_of_beauty_in_the_array; // #Medium #Array #2022_05_24_Time_10_ms_(44.69%)_Space_98.1_MB_(18.43%) public class Solution { public int sumOfBeauties(int[] nums) { int[] maxArr = new int[nums.length]; maxArr[0] = nums[0]; for (int i = 1; i < nums.length - 1; i++) {...
31.133333
72
0.474304
0cf6d4130168fed877a25a135c8bd3f10f5e9b15
312
package de.claudioaltamura.java.functional.bestpractices; import static org.assertj.core.api.Assertions.assertThat; import org.junit.jupiter.api.Test; class BarTest { @Test void test() { Bar<String, String> fn = str -> str + "fb"; assertThat(fn.apply(fn.defaultMethod())).isEqualTo("defaultfb"); } }
19.5
66
0.727564
54a20356e66855765d0c91391c226f9b23a520d1
6,473
package com.phoenixnap.oss.ramlplugin.raml2code.rules; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.Byt...
30.971292
106
0.774602
f848a43d8a942e26e6487e0940ac40bbba4ce688
3,734
package com.santosediego.dscatalog.services; import java.util.Optional; import javax.persistence.EntityNotFoundException; import org.slf4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.EmptyResultD...
31.91453
90
0.788163
8b0d2d1b3fda60fc323667672ecf270eb53d0c18
13,167
package net.minecraft.client.renderer.entity; import org.vivecraft.render.PlayerModelController; import org.vivecraft.render.PlayerModelController.RotInfo; import org.vivecraft.utils.Quaternion; import com.mojang.blaze3d.platform.GlStateManager; import net.minecraft.client.Minecraft; import net.minecraft.client.enti...
42.337621
153
0.656414
dc2aadb4b517989e6b17d591aabaf5791c470238
6,489
/* * Copyright 1999-2017 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
47.021739
120
0.646479
3e0af96876ed12d35df7e00bee260db44d24f1ef
720
package com.larksuite.appframework.sdk.core.protocol.client.calendar; import com.fasterxml.jackson.annotation.JsonProperty; import com.larksuite.appframework.sdk.core.protocol.BaseResponse; import lombok.Data; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.util.List; @Data public cla...
21.176471
69
0.720833
7c1e6683dc40a6c37db5cf14aa7eeb450ad07f92
9,938
/** * * Copyright 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 applicable...
33.348993
112
0.600221
7c16a66691ed265bb8830bfa0515cafec61f64f7
85
package ontoplay.models.ontologyModel; public enum XsdType { String, Integer }
12.142857
38
0.752941
04809293e02f58a8fc2134c0ed9735e3b38c4463
2,831
package com.guiigos.androidhelpers.activity; import android.content.Intent; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.View; import android.widg...
29.489583
115
0.599082
035d8c24fe9d34b1c728135223eda18b34a9e95b
1,695
/* * Copyright 2015-2018 Canoo Engineering AG. * * 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 la...
31.981132
110
0.707375
6322f5f8492f68422a0f8b866ee6d6738ea31ecf
352
package org.firstinspires.ftc.robotcontroller.internal.WebInterface.JsonPackets; import java.util.HashMap; public class VariablesPacket { int opcode = 3; public String[] numVarNames; public Double[] numVars; public String[] boolVarsNames; public Boolean[] boolVars; public String[] strVarNames;...
25.142857
80
0.735795
9e27467f87f7383d5a9e6e1e3b1798d518f7152f
422
package com.webkreator.qlue.example_app.pages.packageRouter.subfolder; import com.webkreator.qlue.Page; import com.webkreator.qlue.view.View; import java.io.IOException; public class index extends Page { @Override public View onGet() throws IOException { context.response.setContentType("text/plain")...
24.823529
70
0.732227
dfb38fb2466c8d45c39b54b74ea5c8089cfb0167
2,909
/* * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
30.621053
102
0.668615
0f394541dd4ea869cddc3eef05956ba6f9ce1dea
4,326
// // This file is auto-generated. Please don't modify it! // package org.opencv.xfeatures2d; import org.opencv.core.Mat; import org.opencv.features2d.Feature2D; import org.opencv.xfeatures2d.DAISY; // C++: class DAISY //javadoc: DAISY public class DAISY extends Feature2D { protected DAISY(long addr) { super(ad...
34.333333
249
0.668054
1185cc43d77f377b98c1426b4db305bfb5726911
908
package io.schinzel.basicutils.state; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok.experimental.Accessors; /** * The purpose of this class is to optionally add a unit to a property. */ @Accessors(prefix = "m") @AllArgsConstructor(access = AccessLevel.PACKAGE) public class PropUnit { ...
21.619048
90
0.670705
a651454818d81cdee7e4f55c5c32b896ab917289
1,685
/* * Copyright 2016 incode.org * * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
30.089286
75
0.758457
d150358ee414f31bddc86833886c4e6d625fae23
675
package com.leyou.common.exception; import lombok.Getter; /** * @author Leslie Arnoald */ @Getter public class LyException extends RuntimeException { /** * 异常状态码信息 */ private int status; public LyException(int status) { this.status = status; } public LyException(int status, S...
19.852941
69
0.623704
ae8fa2bed5dbacfdf5de08da48abe5364247d800
3,847
package com.github.mforoni.jspreadsheet; import java.util.Date; import javax.annotation.Nullable; import org.joda.time.DateTime; /** * @author Foroni Marco */ abstract class AbstractSheet implements Sheet { @Override public int getLastRow() { int rowIndex = getRows(); for (; rowIndex > 0; rowIndex--) { ...
30.776
98
0.667013
5b0a60c0e287da512b441ec2616e3b3d5ec60ee9
8,702
/* * Copyright 2013-2018 featherrun * * 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...
23.392473
104
0.602275
a3d428182aad5145dfbc8a8359ecd856ddf4458e
1,628
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.fhwa.c2cri.ntcip2306v109.messaging; /** * The Class NTCIP2306MessageValidationException provides a mechanism to indicate that an exception is specifically related to the validation of an NTCIP 2306 message...
23.257143
167
0.632064
886f5f2c3ad4cc0e99390f3663c170b1c63071ce
2,463
package osm5.ns.yang.nfvo.netslice.instantiation.parameters.rev181128.netslice_vld_params; import java.lang.Override; import java.lang.String; import javax.annotation.Nullable; import org.opendaylight.yangtools.yang.binding.Augmentable; import org.opendaylight.yangtools.yang.binding.ChildOf; import org.opendaylight.ya...
30.036585
180
0.709298
4f123956b64d73ecc844d68d24011979318000e8
12,635
package Frontera.Produccion; import Frontera.Usuarios.*; import Frontera.FramePrincipal; import com.easycoffee.ImgTabla; import com.easycoffee.Plaga; import com.easycoffee.Usuario; import java.awt.Image; import java.util.ArrayList; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JOptionPane...
46.113139
167
0.640522
f82abd2cc1425bbf11c688e0b86faf558593adfd
2,629
/* * 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 * distributed u...
22.86087
108
0.713199
e1b8ded6735c2aa9c211df2a6eb38f2e4d2cff61
7,313
/* * Copyright (c) 2022 Eben Howard, Tommy Ettinger, and contributors * * 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 * * Unle...
40.181319
117
0.637221
d6a6143d77a15d0a4e38408dad529afb5ad94fd2
117
package com.eastwood.demo.router; public class SerializableObject { public int data; public String name; }
14.625
33
0.735043
68601d937a096ec6a42d98f24eae6027b7b4cfeb
3,737
package com.greymass.esr.models; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.greymass.esr.ESRException; import com.greymass.esr.interfaces.IRequest; import com.greymass...
29.65873
100
0.660423
ee4ea3a9b661b861899a6a902a12ac43ab42b32b
6,681
/* * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package com.microsoft.azure.sdk.iot.provisioning.service.auth; import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import java.io.UnsupportedEncodi...
48.064748
230
0.72115
4d2656ee91c4f6caa0ddc5a5b7e3920948f0dc3b
5,412
package com.igeeksky.xtool.core.nlp; import java.util.LinkedList; import java.util.List; import java.util.Objects; /** * @author Patrick.Lau * @since 0.0.4 2021-11-12 */ @SuppressWarnings("unchecked") public class LinkedNode<V> extends Node<V> { protected LinkedNode<V> next; public LinkedNode(char c) { ...
28.787234
134
0.472469
b94a50b3f6e45e8458c5516335f147b76ff4546a
7,357
package carbon.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewParent; import carbon.R; import carb...
34.867299
111
0.528748
140134cbfc4ba66fadd682608d39f6997d9603ad
2,715
package de.consol.labs.h2c; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.BufferedReader; import...
36.689189
126
0.627993
b4b8c5323f8734ba0ac413ac1f17c77cbb6f44b0
1,057
package ru.otus; import ru.otus.annotations.Log; public class MyClassImpl implements MyClassInterface { @Log @Override public void secureAccess() { System.out.println("Method secureAccess with annotation and overloading"); } @Override public void secureAccess(String param) { ...
25.780488
102
0.666982
31fb269448083e69288e0d47099adf158ae4ff51
346
package edu.cibertec.votoelectronico.domain.complex.transformer; import java.util.List; import org.hibernate.transform.ResultTransformer; @FunctionalInterface public interface ListResultTransformer extends ResultTransformer { @SuppressWarnings("rawtypes") @Override default List transformList(List collection) { ...
20.352941
66
0.820809
d812eab736102338310b904158d112a50af9c950
2,903
/* * Copyright 2018 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
33.755814
96
0.721667
449e84dc255fb5d6034cbb937c38dcb12f43d5b6
4,283
package com.example.praveenp.logitechtestapp.Activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView;...
29.951049
103
0.620593
59bf8e7412fe9dbdda770ed4a69e371feada0f26
1,292
package com.xh.aop.commom.aspectj; import com.xh.aop.commom.enums.EmError; import com.xh.aop.commom.exception.BusinessException; import com.xh.aop.commom.util.ResponseUtil; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.annotation.AfterThrowing; import org.aspectj.lang.ann...
26.367347
81
0.694272
1f238b3e1683479a2abbbf3990122c8864ab2cbd
5,664
package com.reyzeny.twist; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.AppCompatButton; imp...
42.268657
207
0.663489
53d24009d80854375eacd971c545a1f210432f3a
2,857
/* * 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 ...
28.009804
82
0.719286
43d9e3d4eb8b568f19c87191862f24acc89504e1
919
package com.invoicing.manage.test; import com.snailf.config.CodeGenerator; public class TestCodeMaker { // 数据库地址 private static String ip = "localhost"; // 数据库端口号 private static String port = "3306"; // 数据库用户名 private static String userName = "root"; // 数据库密码 private static String password = "123456"; /...
23.564103
102
0.720348
4b0c58589eab806ba8c302345625fb272ebdf50c
1,263
package org.launchcode.liftoffrecipetracker.models; import org.hibernate.search.mapper.pojo.mapping.definition.annotation.FullTextField; import javax.persistence.Entity; import javax.persistence.ManyToMany; import javax.persistence.ManyToOne; import javax.validation.constraints.NotBlank; import javax.validation.const...
21.40678
84
0.702296
8f2ef9cb339e8420daeec0e50aec00b997f40d7a
15,118
package org.filteredpush.akka.actors; import akka.actor.*; import akka.japi.Creator; import akka.routing.RoundRobinPool; import org.filteredpush.kuration.services.GeoLocate3; import org.filteredpush.kuration.interfaces.IGeoRefValidationService; import akka.routing.Broadcast; import org.filteredpush.kuration.util.Co...
50.902357
207
0.601799
392469309f272b4df16b9c65d429f97469274f1a
242
package scloud.rxjava; import org.junit.jupiter.api.Test; public class CompletableHelloTest { @Test public void test() { CompletableHello completableHello = new CompletableHello(); completableHello.hello(); } }
18.615385
67
0.694215
99b74e19a90eb18431b975fc140de0c9fd82f42a
4,599
package com.cscao.apps.mobirnn.model; import static com.cscao.apps.mobirnn.helper.DataUtil.alter2Dto1D; import android.content.Context; import com.cscao.apps.mobirnn.helper.DataUtil; import com.cscao.apps.mobirnn.helper.Matrix; import java.util.Arrays; /** * Created by qqcao on 5/11/17Thursday. * * LSTM model o...
34.066667
99
0.56795
c759dfe978ed3adf1a1aaac9750dc5779f4e149c
11,825
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
34.475219
117
0.675349
f1c8392cd0fa4c53e0da15c36467ec313421b084
4,884
package com.vdcodeassociate.simpleregistrationapp; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import android.app.Dialog; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; impor...
36.177778
140
0.638411
3275e275c8c29d2be53c9fd60663fa85f82f3cdb
3,443
/* * Copyright 2013 University of Glasgow. * * 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 o...
35.864583
119
0.661632
e6db073399d1c4b0e74c27950274fd2037d95fec
366
package com.github.mybatis.generator.gonggongwenjian; /** * 前后端交互携带的请求头 * * @version : RequestHeadConstant.java 2020年12月09日 15:49 */ public class RequestHeadConstant { /** * 登录Token COOKIE名称 */ public static final String DMS_NAME_TOKEN = "TOKEN"; /** * 登录user COOKIE名称 */ public ...
20.333333
56
0.666667
085fe3e12474b024afe661aa428f2e4b7afa57d2
1,024
package cap12.pag273; import javax.swing.*; import java.awt.*; public class SimpleAnimation { int x = 70; int y = 70; public static void main(String[] args) { SimpleAnimation gui = new SimpleAnimation(); gui.go(); } public void go() { JFrame frame = new JFrame(); ...
21.333333
61
0.53418
6e3d3daecac697fced9bd102d13c9e10e3d19419
5,800
package com.tlongdev.bktf.adapter; import android.content.Context; import android.database.Cursor; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; impo...
37.179487
103
0.674828
6bf161e300f10108a7c8f8e9c6edece543520c3f
1,822
package voss.multilayernms.inventory.nmscore.model.creator; import jp.iiga.nmt.core.model.MetaData; import jp.iiga.nmt.core.model.PhysicalLink; import naef.dto.LinkDto; import naef.dto.ip.IpSubnetDto; import voss.multilayernms.inventory.config.NmsCoreLinkConfiguration; import voss.multilayernms.inventory.nmscore.rende...
35.038462
101
0.719539
3839fe2662977d4d56fd777280c05934e2c934d1
1,092
package com.es.projector.net; import com.es.projector.common.Constants; import com.es.projector.net.rmi.ShareService; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.util.regex.Pattern; public class Client { ...
32.117647
102
0.714286
371b5a265be5fb9a8d1c51bc3e24c0f919fe20f0
1,773
/** * Copyright (C), 2015-2020, * FileName: XinXiJiaoHuZhuTiPage * Author: 呵呵哒 * Date: 2020/6/20 16:14 * Description: */ package org.springblade.anbiao.zhengfu.page; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; ...
23.025974
105
0.747885
3795b77164b405a8d711212235cf973dabcd716b
3,633
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.spring.sample.cosmos.multi.database.multiple.account; import com.azure.cosmos.models.PartitionKey; import com.azure.spring.data.cosmos.core.CosmosTemplate; import com.azure.spring.data.cosmos.core.Reactive...
47.802632
151
0.785301
acfb2a095f7e1f578b3c9635566f5f9dc8db491f
5,139
package ch.idsia.agents.controllers; import ch.idsia.benchmark.mario.engine.LevelScene; import ch.idsia.benchmark.mario.engine.SimulatorOptions; import ch.idsia.benchmark.mario.engine.SimulatorOptions.ReceptiveFieldMode; import ch.idsia.benchmark.mario.engine.VisualizationComponent; import ch.idsia.benchmark.mario.eng...
35.19863
141
0.579296
12bb1e052c91594e734f0ba0329c9ebc4662a565
11,914
package com.rtbhouse.utils.avro; import com.google.common.base.Charsets; import com.google.common.collect.Lists; import com.google.common.hash.HashFunction; import com.google.common.hash.Hashing; import com.sun.codemodel.JBlock; import com.sun.codemodel.JCodeModel; import com.sun.codemodel.JDefinedClass; import org.ap...
35.777778
115
0.620027
e7b1914d6c5c6d760f92824d82f40b0d7586511d
2,977
/** * Copyright (c) 2020 Nathin-Dolphin. * * This file is part of the utility library and is under the MIT License. */ package source.utility; import java.awt.Component; import java.awt.GridBagConstraints; import java.util.ArrayList; import javax.swing.ImageIcon; import javax.swing.JOptionPane; /** * <p> *...
29.77
105
0.590863
41381ac8a8bf363b034922f05080005e39836b4e
4,736
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
30.753247
245
0.725718
b287ba41efd98cf8240cbaa855679040be8ff4f7
520
package com.bedatadriven.finance.freeagent; import com.google.api.client.json.GenericJson; import com.google.api.client.util.Key; import java.util.List; public class ListUserResponse extends GenericJson { @Key private List<FreeAgentUser> users; public ListUserResponse() { } public ListUserResponse(List<...
18.571429
54
0.728846
c336a0324d38db7fa21e36aa97b3bfa51af72b6f
119
package algo; /** * Created by Tikitoo on 2015/12/21. */ public interface Sorter { void sort(CharSequence s); }
13.222222
36
0.663866
5c252f6cd83256dc9560f5cd69c8873b5d717a11
3,242
package com.github.valfirst.slf4jtest; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CountDownLatch; import org.junit.jupiter.api.Test; c...
34.489362
97
0.550278
5cd9af011a97b55b3b47616ffcc98fd9e7e95c9a
316
package de.egga; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; class ThingTest { @Test void it_should_call_for_action() { Thing thing = new Thing(); String value = thing.callForAction(); assertThat(value).isEqualTo("Done."); } }
19.75
57
0.670886
09343f702bbb0914ec1f56aa888fe217d7435704
2,767
/* * This file is part of ComputerCraft - http://www.computercraft.info * Copyright Daniel Ratcliffe, 2011-2017. Do not distribute without permission. * Send enquiries to dratcliffe@gmail.com */ package dan200.computercraft.server.proxy; import dan200.computercraft.ComputerCraft; import dan200.computercraft.share...
24.27193
100
0.712685
889deb211f8e9fa03d74b0a7107affdd40e91cfd
221
package com.itextpdf.text.pdf; public interface HyphenationEvent { String getHyphenSymbol(); String getHyphenatedWordPost(); String getHyphenatedWordPre(String str, BaseFont baseFont, float f, float f2); }
22.1
82
0.760181
7576daf83f26fcdc1ae494aabdb55ae59ed40c4d
27,133
package no.petroware.logio.json; import java.io.BufferedWriter; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.charse...
30.316201
118
0.635573
01eff85b4fb504c21a6465d4e4428f954e195739
6,989
package org.jetbrains.research.refactorinsight.pullrequests; import com.intellij.diff.util.FileEditorBase; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.progress.Task; import com.intellij.openapi.project.Project; import com.int...
34.259804
113
0.716555
d10ae8172fbab2b248d86da7e08ebd0855a4f75f
1,340
package com.intershop.oms.test.servicehandler.transmissionservice.v1_1.mapping; import java.util.List; import org.mapstruct.AfterMapping; import org.mapstruct.InheritInverseConfiguration; import org.mapstruct.Mapper; import org.mapstruct.MappingTarget; import org.mapstruct.factory.Mappers; import com.intershop.oms.r...
38.285714
148
0.814925
ed465bd4dabc3510b1f6d9a80716aca7f53607c0
974
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: com/api/igdb/igdbproto.proto package proto; public interface MultiQueryResultArrayOrBuilder extends // @@protoc_insertion_point(interface_extends:proto.MultiQueryResultArray) com.google.protobuf.MessageOrBuilder { /** * <code>repeate...
28.647059
78
0.703285
b729b0f3c8d156cb2f0784bfd31a03fe1b6636de
2,760
package com.benstone.tankgame.EntitySystems; import com.badlogic.ashley.core.Engine; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.EntitySystem; import com.badlogic.ashley.core.Family; import com.badlogic.ashley.utils.ImmutableArray; import com.badlogic.gdx.math.Vector2; import com.benstone.t...
32.857143
126
0.590942
c65dc7f92be7b0d800137935e586eae98cf8fa8b
1,321
package com._4point.aem.formsfeeder.core.api; import java.util.Optional; public interface AemConfig { public enum Protocol { HTTP("http"), HTTPS("https"); private final String protocolString; private Protocol(String protocolString) { this.protocolString = protocolString; } public fina...
23.589286
100
0.627555
b57429c4591c84c2cdecc083f70fbafbb9a974d7
1,966
package org.recap.model.jpa; import lombok.Getter; import lombok.Setter; import javax.persistence.AttributeOverride; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import javax.persistence.ManyToMany; import javax.persistence.JoinColumn; import javax.persistence.Temp...
27.305556
81
0.731434
75f9a404fcc59431b574a4d7ebb9052f0ad88972
1,864
package com.divide2.team.controller; import com.divide2.core.data.del.SingleStringId; import com.divide2.team.model.Attention; import com.divide2.team.service.AttentionService; import com.divide2.core.data.resp.Messager; import com.divide2.core.er.Responser; import io.swagger.annotations.ApiOperation; import org.sprin...
30.557377
101
0.733906
5bdccd943e2d4184106a68bf1dd3090e45feac9e
422
package me.roybailey.springboot.jpa.domain; import lombok.*; import javax.persistence.*; import java.math.BigDecimal; @Data @Entity @Builder @NoArgsConstructor @AllArgsConstructor public class Product { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Version private Lo...
16.230769
55
0.739336
8a382bc9bf448828c2ad89feebbe5b18890c5001
5,685
/* * Copyright 2021 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 applica...
33.839286
96
0.667546
3082e7661acc9b6b7ea7e6878fcb22a0b1663ca2
526
package com.github.dakusui.jcunit8.tests.validation.testresources; import com.github.dakusui.jcunit8.factorspace.Parameter; import com.github.dakusui.jcunit8.runners.junit4.JCUnit8; import com.github.dakusui.jcunit8.runners.junit4.annotations.ParameterSource; import org.junit.runner.RunWith; import static java.util.A...
29.222222
77
0.792776
863ae2e4f770f90e2d498f1cc76f98e9f77c1e7f
5,245
/* * Copyright (c) 2008-2016 Haulmont. * * 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...
32.987421
98
0.699905
ba369e0aaa5165f2a44f13b10f994cfd963ef9f6
3,019
package nesne.proje; import static junit.framework.Assert.assertEquals; import org.junit.Test; import org.junit.*; public class TestSubscriptionPlan { ServiceProvider gsm_provider1=new GSMProvider("GSM Provider-1"); ServiceProvider cable_provider1=new CableProvider("Cable Provider-1"); ...
39.723684
92
0.692945
2b8eb5b8b77899fd41d23df98800a8c4ba265a88
3,366
package com.baidu.aip.face; public class AddUserReply { /** * result : {"face_token":"c9d2bfcccaebdc41693826361d530d40","location":{"top":19.95,"left":25.13,"rotation":0,"width":45,"height":49}} * log_id : 2579996545651 * error_msg : SUCCESS * cached : 0 * error_code : 0 * timestamp...
22.144737
139
0.516043
b98965e90ec4a5de1b543417870809c71e3a8195
456
module aion.boot { requires aion.crypto; requires aion.apiserver; requires aion.zero.impl; requires aion.log; requires aion.evtmgr; requires aion.mcf; requires slf4j.api; requires aion.p2p; requires aion.fastvm; requires aion.txpool.impl; requires libnzmq; uses org.aion....
20.727273
40
0.686404
b5c06ad93e5553ec58132f56eb831c0e178fe08a
3,692
package io.pazuzu.registry.config; import io.pazuzu.registry.properties.PazuzuRegistryProperties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframewo...
46.734177
114
0.750813
d080c0bc0d76969ce6c257b10f3ecead19633a96
156,142
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package pasalab.dfs.perf.thrift; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org....
34.347118
346
0.64727
62e6f8fa6e1487c3ee8829c79af47b691431788b
31,945
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
36.218821
104
0.611802
273b3201134881e5ff29c76978f5233c640c2d59
165
package it.reply.utils.web.ws.rest.apiencoding.encode; public interface RestResponseEncoder { public String encode(Object model, Class<?> modelClass); }
20.625
58
0.745455
88048124d4bd87d88bcbe528b2d8b7bb4034b80a
1,722
package com.airmap.airmapsdk.models.traffic; import com.airmap.airmapsdk.models.AirMapBaseModel; import org.json.JSONObject; import java.io.Serializable; import static com.airmap.airmapsdk.util.Utils.optString; @SuppressWarnings("unused") public class AirMapTrafficProperties implements Serializable, AirMapBaseMode...
26.090909
125
0.692799