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
1f4e641adfa5dfdcc124bd9bb893294cfbead426
994
package com.potalab.testcase.servlet.specexam2_2; import java.io.IOException; import javax.servlet.AsyncContext; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReque...
30.121212
109
0.739437
bc84d3dea24e188258db5d445a47b9806a1596ff
1,157
package com.target.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; ...
18.078125
47
0.68885
3092eb1e2913ca18d2f60a2665b53935335356e6
166
package windy.infrastructure.contracts.commands.book; public class DeleteBookCommand extends BookCommand { public DeleteBookCommand(String id) { super(id); } }
18.444444
53
0.789157
76fd534df4a6ac59ff2ff6e04238aec7c3aa6a98
1,212
/* * * Copyright (c) 2013-2021, Alibaba Group Holding Limited; * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
34.628571
115
0.754125
c762839416b90da1f6a33cb025cd3abe469ed70b
1,608
package com.codiform.moo; import com.codiform.moo.curry.Translate; import org.junit.Assert; import org.junit.Test; public class PropertyExclusionTest { @Test public void testDoesNotPopulateStaticFields() { Source source = new Source( "Alpha", "No Static" ); DestinationWithStatic destination = Translate.to(Dest...
22.027397
109
0.71393
f8ec24f3588702db7db85660fe8cf89832e74755
3,393
package com.example.androidscript.Activities; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.content.Intent; import android.widget.EditText; import android.widget.Spinner; import android.widget.TextView; import com.example.androidscript.R; import com.example.andr...
38.123596
115
0.605659
a144e4284a87451596d872f8a8c688cedbc05f5f
9,154
/* * Copyright 2017 MapD 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 applicable law o...
34.413534
91
0.685056
04d3dce51fce55d17cfc4d21d50026458ca1acba
2,705
package com.flylikewind.mobilesecurityguard.service; import java.io.File; import java.io.FileInputStream; import java.util.ArrayList; import java.util.List; import org.xmlpull.v1.XmlPullParser; import android.app.ProgressDialog; import android.content.ContentResolver; import android.content.ContentValues; import and...
26.782178
74
0.676895
edd86ef25ef56dce2034f2f829d89afac3712cdb
5,608
/** * 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...
44.507937
196
0.677782
3594e35e77305e95a9bfb48cc785fed8a3e3412b
231
package syncer.replica.event.iter.datatype; import java.util.Map; public class BatchedKeyStringValueHashEvent extends BatchedKeyValuePairEvent<byte[], Map<byte[], byte[]>> { private static final long serialVersionUID = 1L; }
28.875
107
0.78355
3ef90dc3a44d312fc07bda53ac55537009bf1323
807
package org.folio.spring.tenant.config; import java.util.List; import org.folio.spring.tenant.properties.TenantProperties; import org.folio.spring.tenant.resolver.TenantHeaderResolver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import or...
33.625
91
0.848823
83b586275ee48209e26a375852094251d5d5479e
4,273
package com.example.auctionhouse; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import andr...
34.739837
96
0.663
4dc080b4a1f0f499bda5cff4dd6ebf195be6a0e4
1,418
package com.mini_mo.viewpager.ReadAndWrite; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by Administrator on 2018-04-24. */ public class LocationSpans { ArrayList<int[]> spans = null; int[] startend = null; Pattern pattern = null; Matche...
20.550725
61
0.571227
0866e8b494e6dd3af3a07b1eb00ca1e8b127fd11
384
package pl.kaszaq.howfastyouaregoing.agile; import java.util.Optional; /** * * @author michal.kasza */ public interface AgileProjectProvider { Optional<AgileProject> loadProject(String projectId, AgileProjectConfiguration configuration); Optional<AgileProject> loadProject(String projectId, AgileProjectCon...
27.428571
133
0.8125
773f9431c94b4a1068e3b94f16406ed0444f38ed
950
package com.zebrunner.reporting.domain.dto; import com.fasterxml.jackson.annotation.JsonInclude; import com.zebrunner.reporting.domain.db.launcher.UserLauncherPreference; import lombok.Getter; import lombok.Setter; import javax.validation.Valid; import javax.validation.constraints.NotEmpty; import javax.validation.co...
22.619048
73
0.772632
10c07831c57702fde5ffa8208cc1bc35d1bec6a6
2,113
package io.github.kits.json.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * <p> * <h3>Json序列化和反序列化时, 属性将按照驼峰命名的形式进行解析</h3> * <ul> * <li>1:...
28.173333
83
0.680076
d7bc0572d59cd35dc1f33e4f9e6599202cd00ed8
84
package com.moka.mvpsample.app.model.repository; public class TaskRepository { }
12
48
0.785714
d6b2537a0d75093e1da3af87984f458f67129cfa
2,980
/* * Copyright 2018-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
29.50495
87
0.793624
6db29428d7e9d1ec12746115923f97eda25cb2a7
1,298
/** * * Copyright 2017 Florian Erhard * * 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...
27.041667
77
0.748844
0f8c90e8bd18f31d87b568e35cd760dfe67f4d2d
556
/* * Copyright (c) 2020 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.repo.cache.global; class AbstractGlobalCacheValue { /** * When the value was crated. Used onl...
25.272727
68
0.697842
4cae21f6aaa747927e075e75e2d5b18ebaf62d05
2,743
package org.basex.performance; import java.util.*; import org.basex.*; import org.basex.core.*; import org.basex.core.cmd.*; import org.basex.util.*; import org.junit.Test; /** * This class performs a local stress tests with a specified * number of threads and queries. * * @author BaseX Team 2005-15, BSD License...
23.444444
79
0.610645
e8cbaa1168c91a19c59dc8dba3349b2692c49e19
667
package cn.isif.videolist.video; import android.media.MediaPlayer; public class MediaHandler { private static MediaPlayer mPlayer; public synchronized static MediaPlayer getInstance() { if (mPlayer == null) { mPlayer = new MediaPlayer(); } return mPlayer; } /** * MediaPlayer resume (重新开始) */ publi...
15.159091
55
0.626687
525652036fd19168f7ca39bf3ccc5ab598ded629
70,839
package sadco; import java.sql.*; import java.util.*; /** * This class manages the WATCHEM2 table with the help of the DbAccessC * class. It has <b>get, put, del</b> and <b>upd</b> methods to <b>select, *insert, delete</b> and <b>update</b> the table. * * @author 040203 - SIT Group * @version * 040203 - GenT...
32.494954
92
0.546888
0f7bea2b962f6397632bbc8c71819cb692c9a13c
829
package org.sgc.rak.rest; import org.sgc.rak.model.AuditAction; import org.sgc.rak.services.AuditService; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; /** * A base class for controller unit tests. */ abstract class AbstractControl...
30.703704
118
0.727382
2c11db277a63ded7199734b703827eae6497df48
11,645
package com.prowidesoftware.swift.model.mx.dic; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType;...
22.923228
88
0.567454
44839b3e70cec6e80c5753cb33887c469c5ead60
1,781
package org.xmlactions.mapping.bean_to_xml; import java.util.List; import org.dom4j.Element; import org.xmlactions.mapping.KeyValue; public interface PopulateXmlFromClassInterface { /** * @param keyvalues * @param beanToXml * @param parent * - the parent element * @param o...
34.25
119
0.633914
5b46212b67ead04b242c4b8c89fcda7b57eec34f
1,207
package com.bailian.car.domain.cars.carmaintenance; import static com.querydsl.core.types.PathMetadataFactory.*; import com.querydsl.core.types.dsl.*; import com.querydsl.core.types.PathMetadata; import javax.annotation.Generated; import com.querydsl.core.types.Path; /** * QMaintenanceItem is a Querydsl query typ...
28.738095
99
0.758078
4af6ed7d2b40729981f7a00db3a247a8fbb9162c
1,224
package org.firstinspires.ftc.teamcode; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.eventloop.opmode.TeleOp; import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit; import org.firstinspires.ftc.robotcore.externa...
43.714286
202
0.772059
71fe2a7a4f119eaf17661c58a993a33c6fa30f81
9,036
package com.rmarting.kafka.config; import com.rmarting.kafka.schema.avro.Message; import io.apicurio.registry.serde.AbstractKafkaSerDe; import io.apicurio.registry.serde.AbstractKafkaSerializer; import io.apicurio.registry.serde.SerdeConfig; import io.apicurio.registry.serde.avro.AvroDatumProvider; import io.apicurio...
44.512315
134
0.735724
d33699eda87053c30e2fe105ea1fc9e2b7ca6eff
424
package cn.lacknb.toolsspringbootautoconfigure.utils; import java.io.Closeable; /** * <h2> </h2> * * @author: gitsilence * @description: * @date: 2021/12/12 8:29 上午 **/ public class CloseUtils { public static void close(Closeable x) { if (x == null) { return; } try { ...
16.96
53
0.523585
5534cf31ffadd9f1a0f996642b59fd1fdd8b807f
1,413
/* * Copyright 2017 Apereo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
21.738462
75
0.741684
c1011bd154db4401c5f7d79227d90a7c84f14d5d
3,329
package com.dlsu.getbetter.getbetter.adapters; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.LinearLayout; import android.widget.TextV...
33.969388
162
0.721538
477df2698b91ed40329e654bfbb838c36662d7a1
2,448
package genepi.riskscore.tasks; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Vector; import genepi.io.table.writer.CsvTableWriter; import genepi.io.table.writer.ITableWriter; import genepi.riskscore.io.OutputFileReader; import genepi.riskscore.io.OutputFileWriter; import lu...
23.314286
79
0.660539
9f2ecb0743dfe8bb827035889fa8a0c5bab29752
421
package com.github.neder_land.jww.packet.content.enums; import com.google.gson.annotations.SerializedName; public enum UserStatus { @SerializedName("kick") KICK, @SerializedName("mute") MUTE, @SerializedName("set_master") TRANSFER, @SerializedName("leave") LEAVE, @SerializedName("j...
20.047619
55
0.67696
55ae24cac3f17e0ac8af78a3f40c6451394ba980
1,828
package net.sourceforge.ondex.ovtk2.metagraph; import java.util.Set; import net.sourceforge.ondex.core.ConceptClass; import net.sourceforge.ondex.core.ONDEXConcept; import net.sourceforge.ondex.ovtk2.graph.ONDEXJUNGGraph; /** * Represents concepts of a ConceptClass in the ONDEXJUNGGraph. * * @author t...
22.292683
77
0.671225
5fbd5417f4b4de0ba83422bba16a991e548167a3
129
package com.mickey305.util.cli.model; /** * Created by K.Misaki on 2017/05/20. * */ public enum Benchmark { START, END }
12.9
37
0.651163
a4a12d2cd3219fbbad2d5a2cbce5409b2a679ffc
13,352
package li.cil.tis3d.common.item; import li.cil.tis3d.api.machine.Casing; import li.cil.tis3d.common.Constants; import li.cil.tis3d.common.TIS3D; import li.cil.tis3d.common.gui.GuiHandlerCommon; import li.cil.tis3d.util.FontRendererUtils; import net.minecraft.client.resources.I18n; import net.minecraft.client.util.ITo...
36.480874
149
0.538047
f61095be51168d29f0d4a6e23bf73f8713e74b71
599
/* Class 請勿加上 public 修飾子 */ class StringDemo { public static void main(String[] args) { String text = "Have a nice day!! :)"; System.out.println("原文:" + text); // 傳回全為大寫的字串內容 System.out.println("大寫:" + text.toUpperCase()); // 轉回全為小寫的字串內容 System.out.println(...
24.958333
68
0.539232
1172358403b95b32ced1cda6bb4717b86ee85bde
14,549
package com.braintreepayments.api; import android.os.Build; import android.os.Build.VERSION; import android.provider.Settings.Secure; import android.support.test.runner.AndroidJUnit4; import android.test.suitebuilder.annotation.SmallTest; import com.braintreepayments.api.exceptions.InvalidArgumentException; import co...
46.482428
123
0.705959
259fee16ec62d3328752061c1539062aa200df6f
16,900
package com.alimama.quanjingmonitor.kmeans; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.uti...
31.471136
746
0.719527
7fbadabe267ab0902e91c22dfc4bb49668d3beb7
1,109
package com.vergepay.wallet.service; import org.bitcoinj.core.Peer; import org.bitcoinj.core.StoredBlock; import java.util.List; import javax.annotation.CheckForNull; /** * @author John L. Jegutanis * @author Andreas Schildbach */ public interface CoinService { String ACTION_CANCEL_COINS_RECEIVED = CoinServi...
38.241379
110
0.756537
aa7dd1e7d57f5802708738f52707956e47a78389
7,334
/* * Copyright 2021 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...
63.773913
190
0.730706
3d48a5104fdb67a1e5c173f926f6ca43d4e177bc
4,200
/** * apache2 */ package com.metlingpot; import com.amazonaws.annotation.NotThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.opensdk.protect.client.SdkSyncClientBuilder; import com.amazonaws.opensdk.internal.config.ApiGatewayClientConfigurationFactory; import com.amazonaws.auth.AWSCr...
31.818182
137
0.693333
c0161e7aeb0b9d6cd56807fdf94e62b4cbfa5eb1
2,958
/* * 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 ...
37.443038
111
0.733266
1886988f95451bab49482546896ef0583e004044
1,182
package com.road7.blurswf.data.abc; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.Map; import com.road7.blurswf.data.BaseData; import com.road7.blurswf.tool.ByteTools; import com.road7.blurswf.tool.EncodedU32; public class Option_detail extends BaseData { public static final Map<Integer, S...
25.695652
93
0.716582
4e242e6bbe2cc4a5ae4b741f713286cc4b541f0b
365
package com.cts; import java.util.Scanner; public class Alphabet { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char a=sc.next().charAt(0); if((a>='a' && a<='z') ||(a>='A' && a<='Z')) { System.out.println(a +" is an Alphabet"); } else { System.out.pr...
18.25
50
0.556164
524675dbefbdde8706d105526e8d433393068e10
2,578
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.page_info; import android.view.View; import android.view.ViewGroup; import org.chromium.chrome.R; import org.chromium...
34.373333
100
0.738557
db3c688b16a76203e4ef51987ce9d772f0e86bf5
25
package cn.ablxyw.utils;
12.5
24
0.8
7e539e87767962fd928557c595b232bb3a9840d9
794
package org.encryptor4j.factory; import java.security.Key; import org.encryptor4j.Encryptor; /** * <p>Factory interface for constructing <code>Encryptor</code> instances.</p> * @author Martin * */ public interface EncryptorFactory { /** * AES <code>EncryptorFactory</code> implementation */ EncryptorFact...
23.352941
84
0.700252
21f6bcd1fc4356d3fdc0ccd338d7766c55205b7b
5,687
/* * Requirements mandating inclusion: * * 3.2.2.5.3.1 Rule Interpreter will interpret and execute Game Rules for a Card Game. */ package model; import javafx.scene.control.ButtonType; import model.GameActions.GameAction; import model.GameEvents.GameEvent; import model.GameEvents.OnTurnEndEvent; import view.Gameplay.G...
34.053892
168
0.636012
6272a96ce6aac23a2c762cd53ceedfcdb9b56b17
238
package tests; public class Obj3 { public Object interfaceMethod(Object args) { if (args == "this is object 1") { return "this is objects 1 & 3"; } else { return "this is objects 2 & 3"; } } }
10.818182
45
0.542017
bce7b9c96a8b24fc3abc95c507a353db7b58c3e4
565
package com.godfunc.enums; import java.util.regex.Pattern; public enum UserAgentEnum { ANDROID(1, Pattern.compile("\\S*(Android|android|Linux|linux)\\S*")), IPHONE(2, Pattern.compile("\\S*(iPhone|iphone|Mac|mac|ipad|iPad)\\S*")), OTHER(0, null); private final int value; private final Pattern pat...
20.925926
76
0.628319
c9be70a338b8ef012899086ade086d019c46137c
944
package com.shop.store.entity; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.springframework.data.annotation.CreatedDate; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.pers...
23.02439
84
0.747881
29db664b3fc383f2e729a9e09288cdbe2809e14f
2,397
/** * Copyright 2015 Netflix, Inc. * <p/> * 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 * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law...
32.835616
94
0.732582
04323aaa926624ef1287b1b6a764d7df75500d72
2,509
/* * Copyright (C) 2017 by Pablo Macias * pamaciasm@alumnos.unex.es * * This program is free software; you can redistribute it andor modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later versi...
25.865979
94
0.673974
e7f96d4da6db50fb3fc69899bbdb1450f24fbc73
440
package br.com.senior.core.blob.pojos; import lombok.AllArgsConstructor; import lombok.Data; /** * Cria uma nova área permanente, protegida pelo secret fornecido. */ @Data @AllArgsConstructor public class CreateAreaInput { /** * Nome do domínio */ private String domainName; /** * Nome do ...
17.6
66
0.65
6abc49643dc05fee4ada49d88fea81d538e512c4
2,199
package com.jtonna.crudyrestaurants.services; import com.jtonna.crudyrestaurants.models.Restaurant; import com.jtonna.crudyrestaurants.repositories.RestaurantRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.persistence.EntityNotFoun...
40.722222
162
0.726694
5c3e1853f0f0d4670038e569f91688524cdbc46c
431
package com.kuxhausen.huemore.automation; public class LegacyGMB { public LegacyGMB() { } public String group; public String mood; /** * cannot change due to json serialization everywhere * may be null in serialization * * out of 255 */ public Integer brightness; public Integer getPercent...
17.24
55
0.670534
7048ec771a0e683b42b4f31ec488f7f268f1361a
55
package models.Character; public interface Enemy { }
9.166667
25
0.763636
d738f9c49a9519e1dea8f5b72342aed26cd6eae1
1,720
package com.arm.pelion.sdk.foundation.generator.model; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import com.arm.mbed.cloud.sdk.common.AbstractEndpoints; import com.arm.mbed.cloud.sdk.common.ServiceRegistry; public class MethodEndpointsConstructorFromServiceStore extends AbstractMeth...
38.222222
106
0.627326
ead578e834bc5e5ccbecf096bf4fde8967b0627b
3,174
package com.gfstabile.java.carrest.entity.car; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lo...
29.119266
107
0.645873
eb7c6d1c349acb1329c5995be17dbf0dd83f9735
6,359
/* * Copyright (c) 2017, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ package oracle.idm.mobile.auth; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import oracle.idm.mobile.OMSec...
26.944915
93
0.616292
9a5fff6a07a17887731a7c1ec7f21f017f9e6465
888
package gueei.binding.viewAttributes.viewAnimator; import gueei.binding.ViewAttribute; import android.view.View; import android.widget.ViewAnimator; public class ChildViewsViewAttribute extends ViewAttribute<ViewAnimator, View[]>{ public ChildViewsViewAttribute(ViewAnimator view) { super(View[].class, view, "ch...
22.2
81
0.69482
e8364a2a1898eee9bc88586f056bbe5cf3f09a75
4,796
package io.github.htools.hadoop.io; import io.github.htools.io.Datafile; import io.github.htools.io.struct.StructuredRecordFile; import io.github.htools.lib.ClassTools; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.mapreduce.InputSplit; import org.apache.hadoop.mapr...
38.368
177
0.66201
dc527aff1bccd88b32b1e0d7af2dfadba6a58819
5,416
package com.yuvi.routeme.map.view; import android.graphics.drawable.Drawable; import org.osmdroid.tileprovider.MapTile; import org.osmdroid.tileprovider.MapTileRequestState; import org.osmdroid.tileprovider.modules.MapTileModuleProviderBase; import org.osmdroid.tileprovider.tilesource.ITileSource; /** * Mapsforge b...
35.86755
126
0.635709
25e888080a83b6bc3fad4765c9948eba350e9894
601
package com.example.spring_demo.zidingyizhujie; import java.util.ArrayList; /** * 注解分类:内置注解(也称为元注解)、自定义注解(Spring框架) * * @classDesc:功能描述:(元注解) * @createTime:2020/9/3 */ public class User extends Object { /** * object有哪些注解 * * @Override 标识子类重写父类方法 * @Deprecated 标识过时的意思 * @SuppressWarn...
17.676471
47
0.612313
f13a39ea39153bc5ea1a6e5736538b2e9da1f896
670
package com.ccq.myblog.service; import java.util.Collection; import java.util.List; import com.ccq.myblog.domain.User; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.security.core.userdetails.UserDetailsService; public interface UserService e...
22.333333
72
0.795522
880d3e38523e47026dada12341d72749ccedd64a
6,016
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
32.171123
88
0.784741
dad9124446ec92203715320b705c9af4bdce9951
406
package com.uniubi.cloud.luna.sdk.common.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 请求参数 用于设置简单参数的注解 * @author jingmu * @since 2020/3/31 */ @Target(ElementType.PARAMETER) @Retent...
20.3
52
0.775862
c55bdc452d250f847ebcb79e241cf20de00d10b8
433
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: src/main/protobuf/stateful-functions.proto package com.ververica.statefun.flink.core.generated; public interface CheckpointOrBuilder extends // @@protoc_insertion_point(interface_extends:com.ververica.statefun.flink.core.Checkpoint) co...
30.928571
95
0.764434
757d00722b5c3409cbfe3cae236da6e9fa32b938
1,358
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.bumptech.glide.load.resource.bitmap; // Referenced classes of package com.bumptech.glide.load.resource.bitmap: // DownsampleStrategy stati...
30.177778
126
0.569219
271cc94ac35a717cf106236a35380556aa3b7cfa
10,920
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
34.556962
182
0.737637
04c25a09fbe8da2abfa14c8bdf13a9008250b52c
4,751
package io.openlineage.spark3.agent.lifecycle.plan.columnLineage; import io.openlineage.spark.agent.lifecycle.Rdds; import io.openlineage.spark.agent.util.DatasetIdentifier; import io.openlineage.spark.agent.util.PlanUtils; import io.openlineage.spark.agent.util.ScalaConversionUtils; import io.openlineage.spark.api.Op...
43.190909
100
0.739634
6a002a1c7e7802d49a69a0e5b4515d74f6e42c8f
788
package no.nav.veilarblest.config; import lombok.extern.slf4j.Slf4j; import no.nav.common.health.selftest.SelfTestCheck; import no.nav.common.health.selftest.SelfTestChecks; import no.nav.veilarblest.kafka.KafkaProducerHealthCheck; import org.springframework.context.annotation.Bean; import org.springframework.context....
30.307692
93
0.786802
4ddce90239239ebc8e067e69ce70c750715dc2a9
6,291
package org.dominokit.domino.ui.pagination; import elemental2.dom.DomGlobal; import elemental2.dom.HTMLAnchorElement; import elemental2.dom.HTMLLIElement; import org.dominokit.domino.ui.forms.Select; import org.dominokit.domino.ui.forms.SelectOption; import org.dominokit.domino.ui.icons.Icons; import org.dominokit.dom...
32.937173
144
0.587347
d84f7cddeb2f2d7361c1dc55bebfdef960ac8d19
936
package com.snszyk.iiot.marketization.market.domain.transmarket; import com.snszyk.iiot.marketization.market.domain.transmarket.valobj.ContainedMarketElements; import com.snszyk.iiot.marketization.market.domain.transmarket.valobj.TransMarketId; import lombok.AllArgsConstructor; import lombok.Data; import lombok.Getter...
20.8
94
0.730769
32ae0b9a231ab934863e276f820dc4a05839ac8f
1,371
package com.droidquest.items; import com.droidquest.Room; import com.droidquest.materials.Material; public class SlipperyToken extends Token { private boolean jumping = true; public SlipperyToken(int X, int Y, Room r) { super(X, Y, r); } public boolean CanBePickedUp(Item item) { retu...
27.979592
75
0.495988
7f88d059deac89c2a4654c3c9cc82294ea27f43d
30,969
package me.yokeyword.fragmentation; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.support.v4.app.FragmentTransactionBugFixHack; import...
38.18619
188
0.614324
07aa52da51826ed531f864721d4ec3400fb0996f
3,928
package com.alphasta.controller.work.manger; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
30.6875
148
0.702648
2df6d3b7a526823f734238090e3267d09d062e91
602
package br.padroes.proxy; public class BancoProxy extends BancoUsuarios { protected String usuario, senha; public BancoProxy(String usuario, String senha) { this.usuario = usuario; this.senha = senha; } @Override public String getNumeroDeUsuarios() { if (temPermissaoDeAcesso()) { return super.getNumer...
18.8125
50
0.712625
5280e865e9f0520cecaa8d606e2f1e6da387b221
2,127
/* * Copyright 2002-2015 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 requi...
26.5875
86
0.728726
f0129f44605bd8c3836d483dcb350d041eca0702
951
/* Copyright [2018-2019] Laszlo Csontos (sole trader) 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...
28.818182
96
0.727655
62daf498c21c08d035c7da3be92f2944342506eb
1,318
package com.zaig100.dg.utils.ai.way; import com.zaig100.dg.world.World; import java.util.ArrayList; public class MainWay extends Coordinate{ int iter; int endX,endY; ArrayList<StartWay> startWays = new ArrayList<>(); public int iterShort; public MainWay(int x, int y,int endX, int endY, int iter...
24.407407
125
0.507587
640888c63b8b8187c41d99cff92855414318eca3
1,078
/** * Copyright 2018 The OpenTracing 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 agre...
35.933333
100
0.747681
c7417c2a487310b4da9b4208f206d81193b92c21
35,368
/* * GUIUtilities.java - Various GUI utility functions * :tabSize=8:indentSize=8:noTabs=false: * :folding=explicit:collapseFolds=1: * * Copyright (C) 1999, 2002 Slava Pestov * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publ...
26.977879
79
0.664358
a44ee0df82102b38ba0e66b987c2dd2d19dd8caf
9,552
package net.azagwen.atbyw.block.statues; import net.azagwen.atbyw.block.state.AtbywProperties; import net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags; import net.minecraft.block.*; import net.minecraft.client.util.ParticleUtil; import net.minecraft.entity.ItemEntity; import net.minecraft.entity.player.PlayerE...
44.84507
141
0.661327
8033b888667d32c79b4e5339f699cda4922c530c
3,121
package test; import code.ClienteReal; import auxiliar.Clase; // Junit import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.A...
28.898148
95
0.694649
24152e0a45b73c82f379c2f65c4d5ab4016d6fff
1,499
package se.kth.sda.skeleton.question; import se.kth.sda.skeleton.comment.Comment; import javax.persistence.*; import java.util.List; @Entity public class Question { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(columnDefinition = "TEXT") private String textBody...
20.256757
91
0.634423
95cbc20760afd329fbbf9043ad5dea3ddec66926
205
public class Community1 extends Card{ public Community1() { super("Advance to go", 200); } public void performAction(Player play) { play.addMoney(this.getCost()); play.setLocation(0); } }
13.666667
39
0.678049
7684d9e2ef838a17ffdc34c4533ec63993355d96
182
package org.jessenpan.leetcode.dp; /** * @author jessenpan */ public class S547RemoveBoxes { //TODO 回溯算法 public int removeBoxes(int[] boxes) { return 1; } }
13
41
0.620879
14466e5cd8cc6e89e1cee10c339d71fe4d705822
2,464
/* * Copyright 2000-2011 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
30.8
104
0.743101
775725b70f7ad285cd8048f6ed1ff8d5445c3702
1,778
package org.stagemonitor.core.metrics; import java.util.Arrays; import java.util.Collection; import com.codahale.metrics.Metric; import org.stagemonitor.core.metrics.metrics2.Metric2Filter; import org.stagemonitor.core.metrics.metrics2.MetricName; public class MetricNameFilter implements Metric2Filter { /** * A...
26.537313
82
0.741845
1aec25d9024a3fd86f2c2d65cb3ef4823475f1b8
1,004
package com.alibaba.csp.sentinel.dashboard.rule.apollo; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @Component public class ApolloProperties { @Value("${apollo.portalUrl}") private String portalUrl; @Value("${apollo.token}") private Str...
18.592593
58
0.649402
04091c1ea75a5a6c6a692d239eb0b4141721e832
881
package com.bitdubai.fermat_dmp_plugin.layer.engine.sub_app_runtime.developer.bitdubai.version_1.event_handlers; import com.bitdubai.fermat_api.FermatException; import com.bitdubai.fermat_api.layer.dmp_engine.sub_app_runtime.SubAppRuntimeManager; import com.bitdubai.fermat_api.layer.all_definition.events.interfaces.Fe...
35.24
112
0.821793
b5d06006bee2172b140a285222d7e38bc2a6a2aa
2,398
package com.weique.overhaul.v2.mvp.model; import android.app.Application; import com.google.gson.Gson; import com.jess.arms.di.scope.ActivityScope; import com.jess.arms.integration.IRepositoryManager; import com.jess.arms.mvp.BaseModel; import com.weique.overhaul.v2.app.common.Constant; import com.weique.overhaul.v2....
33.305556
150
0.711426
0634ce80d42e7b5c102f84e86965f47eb71ed744
1,390
package com.example.codingChallenge; import java.util.Scanner; /** * Created by extin on 5/10/2017. * Link: https://www.hackerrank.com/challenges/30-operators */ public class Arithmetic { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double mealCost = scan.nex...
32.325581
108
0.664029
803db9704a834e401b8c2ae71fb9f9d23f7e6be1
4,982
package edu.hm.cs.tado.handlers; import com.amazon.ask.attributes.AttributesManager; import com.amazon.ask.dispatcher.request.handler.HandlerInput; import com.amazon.ask.dispatcher.request.handler.RequestHandler; import com.amazon.ask.model.*; import com.amazon.ask.response.ResponseBuilder; import com.fasterxml.jackso...
42.581197
125
0.661983
52cb1ee777b4b9a6f34ca91e54c1faffe6ae67cf
2,820
/* * Copyright (c) 2012, 2013, 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 ...
34.390244
88
0.66844
524e663b759f824d57bd6a80826fc4f3ec853b15
5,805
package org.vaadin.gwtav; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Iterator; import javax.servlet.http.HttpServletResponse; import com.vaadin.server.Constants; import com.vaadin.server.DownloadStream; import com.vaadin.server.V...
36.740506
139
0.543669
c995cf565db3f53f442d04a61652ec5a5ee93ed4
3,274
/* * Copyright (C) 2018 Softbank Robotics Europe * See COPYING for the license */ package com.softbankrobotics.qisdktutorials.ui.tutorials; import android.graphics.Rect; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.view.View; impo...
33.070707
116
0.676542