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
c411cf524d9dc824e3e6ec737bee1b0ee260e3f6
515
package com.testapp.prodcons.model; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; @Builder @Entity @Data @AllArgsConstructor @NoArgsConstructor @Table(name = "request_log") public class RequestLog { @Id @GeneratedVal...
17.758621
54
0.735922
f70f5ee4fd15dd78350355c145d3211568ce0938
3,795
/* * Copyright 2017-2021 original 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 applicable law or agr...
30.604839
138
0.631094
d9cc555a19c004f9e173b6a66f36b50711b8b00b
18,516
/** * Copyright 2014-2020 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 applicab...
38.81761
129
0.672391
f57ade3241a14b01ac6e4df8a38b9599fa1340e6
2,396
package com.lee.tac; import javax.sql.DataSource; import org.apache.ibatis.session.SqlSessionFactory; import org.mybatis.spring.SqlSessionFactoryBean; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder; import org.springframework.boot.context.properti...
39.933333
97
0.775459
f4d712f70f5d4e2c17273e443c4862339ba06a9c
1,719
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
49.114286
90
0.678883
5acb5179c441972ffa84b57d4f39ace26c424dcc
2,561
package ArxivClient.ArxivAPI; import ArxivClient.ArxivAPI.Field.SearchField; import ArxivClient.ArxivAPI.Parameters.IdList; import ArxivClient.ArxivAPI.Parameters.MaxResult; import ArxivClient.ArxivAPI.Parameters.Start; import ArxivClient.Network.Request; import java.net.URL; public class SearchRequest implements ...
21.521008
70
0.556814
b04beb4561758b3bde96c091951bbb5333bed4e8
2,893
package com.syntaxphoenix.syntaxapi.nbt.tools; import java.util.List; import java.util.Objects; import com.syntaxphoenix.syntaxapi.nbt.NbtList; import com.syntaxphoenix.syntaxapi.nbt.NbtTag; import com.syntaxphoenix.syntaxapi.nbt.NbtType; public class NbtMatcher { /** * Check whether the pattern and the ma...
27.292453
110
0.578638
2856f5e82249d6e5ae10e02f41a88c15736cc326
1,546
package com.google.android.gms.internal.ads; import android.util.JsonReader; import java.io.IOException; import java.util.ArrayList; import java.util.List; public final class zzcxn { /* renamed from: a */ public final int f27576a; /* renamed from: b */ public final int f27577b; /* renamed from:...
29.169811
120
0.543984
c61ae10a0e956cb53b84316ef88560fc877cf040
5,253
/* * Copyright 2017 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.rf.ide.core.execution.debug; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.same; import static org.mockito.Mockito.doThr...
47.754545
118
0.774605
d3e851293b8595061b3e3bfb489dd3ac16cd6aa2
2,439
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.kafka.internal; import io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation; import io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtra...
25.40625
98
0.756458
b9f5c3fbfeeec8f731494b1d258e85fac7eb1d6d
1,003
package com.flextrade.jfixture.requests; import java.lang.reflect.Type; public class KeyValueRequest { private final Type keyType; private final Type valueType; public KeyValueRequest(Type keyType, Type valueType) { this.keyType = keyType; this.valueType = valueType; } public Typ...
22.795455
80
0.616152
652560e6c07f17206af06ad58a53c8116047de2f
3,290
/******************************************************************************* * Copyright © 2019 by California Community Colleges Chancellor's Office * * 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 * o...
45.694444
122
0.738906
1bca3039a5a3e719592bd3638259c699cc0427ee
761
package es.jc.lambdas; /** * Test for FunctionalDefault Interface that contains a non-default abstract method (inherited) and several static and * default methods. * * @author JaviCallaghan */ public interface FunctionalDefaultInterface extends FunctionalInterface { /** * Default non-static method...
20.567568
119
0.645204
640d8d2a9827774cce7d82838dde38f521eb351b
241
package com.tibagni.logviewer.updates; public class InvalidReleaseException extends Exception { public InvalidReleaseException(String msg) { super(msg); } public InvalidReleaseException(Exception cause) { super(cause); } }
20.083333
56
0.755187
60eb0f9c6b249bb92b6790997014c6c4fbb3a6e0
4,297
/* * Copyright (c) 2003, 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 ...
29.634483
79
0.56714
42fc7f7323889f8fbe5895cc840a7c7afc20f4ed
366,064
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: cosmwasm/wasm/v1beta1/tx.proto package starnamed.x.wasm.v1beta1; public final class Tx { private Tx() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAl...
34.806884
192
0.636512
cd144940b30b9c32afa5e2b709f21b20fd6e0c3a
1,742
/* * Copyright 1999,2005 The Apache Software Foundation. * * 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...
35.55102
79
0.738806
211ff088eb829f2092f34a36a67ccf6eb5ab3bb5
5,023
package io.github.xudaojie.photogo; import android.Manifest; import android.animation.Animator; import android.animation.AnimatorInflater; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; import android.os.Bui...
36.136691
121
0.657973
14e3d282abd155848b148293e62f014d26b9475c
4,415
package pers.lonestar.chinesecolor.activities; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import com.google.gson.Gson; import com.google.gson.reflect.TypeToke...
31.76259
136
0.646886
70bf842515bf45d0a3533d44034f70e5011c5a8b
2,168
/** * Copyright @ 2013 Quan Nguyen * * 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 ...
36.745763
137
0.593635
370e02a0c8e7225488c8bfe3e253afee78c93f18
3,899
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
35.770642
102
0.619133
8f0449b817d4723d70fefccf492a124dba45053f
449
package net.jahhan.init.initer.authenticationcenter; import javax.inject.Inject; import net.jahhan.init.BootstrapInit; import net.jahhan.init.InitAnnocation; import net.jahhan.service.authenticationcenter.ServiceLogin; @InitAnnocation(isLazy = false, initSequence = 1700) public class ServiceLoginIniter implements Bo...
23.631579
60
0.81069
5015004920ad59e25f1840b65284bc67db39681a
1,263
package cooper.BookYourPark.model; import javax.persistence.*; import java.time.LocalDateTime; @Entity @Table(name = "PARKING") public class Parking { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; private LocalDateTime inTime; private LocalDateTime outTime; @ManyTo...
17.541667
57
0.64133
7c38cca3b9cc53d93cbad1b3718cfdbd2e1c2905
1,253
package mininggadgets.blockentities; import net.minecraft.block.BlockState; import net.minecraft.block.entity.BlockEntity; import net.minecraft.block.entity.BlockEntityType; import net.minecraft.nbt.NbtCompound; import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket; import net.minecraft.util.math.Blo...
27.844444
73
0.724661
92abd9a5b048abee82b6e8425bb313e30512379c
18,362
package unidue.ub.counterretrieval; import org.jdom2.Document; import org.jdom2.Element; import org.jdom2.JDOMException; import org.jdom2.Namespace; import org.jdom2.input.SAXBuilder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import unidue.ub.counterretrieval.model.data.Counter; import unidue.ub.counter...
50.723757
242
0.532023
732054915f4199fd49f4bd79d3e2b9aabffbfa67
6,255
package com.yunzhanghu.redpacketui.ui.activity; import android.os.Bundle; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.View; import android.widget.ProgressBar; import com.yunzhanghu.redpacketsdk.RPTokenCallback; import com.yunzhanghu.redpacketsdk.RedP...
36.794118
201
0.644285
6f722b5252f42251775da012a8f8ec54f543aa71
9,231
package mb.jsglr1.common; import mb.common.message.Message; import mb.common.message.Messages; import mb.common.message.MessagesBuilder; import mb.common.message.Severity; import mb.common.region.Region; import mb.jsglr.common.RegionUtil; import org.checkerframework.checker.nullness.qual.Nullable; import org.spoofax.i...
39.280851
112
0.647275
cb49352f75d2dc475200b669106fd780861f9a69
694
package math; /** * Implement pow(x, n), which calculates x raised to the power n (i.e., xn). * * * * Example 1: * * Input: x = 2.00000, n = 10 * Output: 1024.00000 * * Example 2: * * Input: x = 2.10000, n = 3 * Output: 9.26100 * * Example 3: * * Input: x = 2.00000, n = -2 * Output: 0.25000 * Explan...
17.35
76
0.48415
d4d3529956e34fa44f5e80009840a0b95b816cb3
406
package com.live106.util; import io.netty.buffer.Unpooled; import io.netty.channel.Channel; import io.netty.channel.ChannelFutureListener; /** * Created by live106 on 2016/5/17. */ public final class IOUtils { public static void closeOnFlush(Channel ch) { if (ch.isActive()) { ch.writeAndFlu...
22.555556
93
0.70197
e40d36bd254be86fe3d69267d8360ebbb11db825
1,266
/******************************************************************************* * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
29.44186
81
0.609005
c2e856a58bf1aea96f53ced3322eb802094dce06
656
package l2f.gameserver.network.serverpackets; import l2f.gameserver.model.Player; /** * Format: (chd) dddS * d: always -1 * d: player team * d: player object id * S: player name */ public class ExCubeGameAddPlayer extends L2GameServerPacket { private int _objectId; private String _name; boolean _isRedTeam; ...
17.72973
61
0.716463
adc9828f9845e5ac4b14e1f6e10a3bd361c689ef
3,026
/* * Copyright 2014 MovingBlocks * * 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...
28.018519
98
0.59154
305a20f725fabecfee5d062c964ffc72a6c35514
3,930
package mc.zookeeper.quorum; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import org.apache.zookeeper.server.DataNode; import org.apache.zookeeper.server.DataTree; import org.apache.zookeeper.server.persistence.FileTxnSnapLog; import mc.SpecVerifier; public cl...
32.479339
83
0.497201
e8ba9ab64e3403a0d63adda77f086525995740a3
2,076
package com.tuowazi.demo.list.sequence; import java.util.ArrayList; import java.util.Arrays; /** * User:zhangweixiao * Description: */ public class CustomArrayList<T> { //cann't use new T[]; private Object[] data; private int capacity; private int cur_cout=0; public CustomArrayList(T... args...
21.625
52
0.535164
7e0d2d36b549d536cc8edb57cad003a3e9b23e0c
3,923
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.tencent.utils; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os...
28.223022
117
0.596227
e27855260f66545c32dbc1d7500eef2064ef99d1
1,158
package com.imbus.bank.nettingModule.service.impl; import com.imbus.bank.nettingModule.bo.NettingBo; import com.imbus.bank.nettingModule.bo.NettingWarningBo; import com.imbus.bank.nettingModule.dao.NettingDao; import com.imbus.bank.nettingModule.service.INetting; import com.imbus.bank.utils.PageDivideUtil; import org....
28.243902
73
0.752159
7045a7fa636bc6ea77372d47ed9ccc2a53561eb1
26,133
package org.hisp.dhis.dxf2.adx; /* * Copyright (c) 2004-2019, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyr...
41.8128
172
0.644626
26707b038603b824f472ae445f7b66cfb0bf0d2c
372
package com.mutualmobile.barricade.annotation; /** * Annotation to declare a response for an endpoint. Each endpoint will typically have many of * these. It has sensible defaults for most params. */ public @interface Response { String fileName(); int statusCode() default 200; String type() default "applica...
21.882353
94
0.741935
924e49b31822c59f9d768fed055103922a83303b
198
package com.example.demo.beans.common; import org.json.JSONObject; /** * Created by Zav Deng/dengzf@asiainfo.com on 17-9-18. */ public interface JsonObjectBean extends JsonBean<JSONObject> { }
18
62
0.752525
dae7437e368e75c805c43f3367ff9ab89fdd05eb
2,539
package com.kneelawk.springtest.json; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import org.apache.commons.lang3.builder.ToStringBuilder; @JsonInclude(JsonInclude.Include.NON_NULL) @JsonProperty...
23.509259
82
0.593147
d5ad85f6c09eaf0d73daf6a4bee02722a3ea0bb4
821
package API.Repository.Account; import Objects.Factory.Database_Entities.AccountEanEntity; import Objects.Factory.Database_Entities.AccountEntity; import Objects.Factory.Database_Entities.AccountTypeEntity; import Shared.ToReturn.AccountDto; import org.springframework.data.jpa.repository.JpaRepository; import org.sprin...
39.095238
75
0.828258
ee5782ae5b28dd06789ad9dcf13ea7eb81f646f4
2,082
/* * Copyright 2014-2020 TNG Technology Consulting GmbH * * 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 appl...
33.580645
116
0.701249
2f2b1f59d508f51eec3712c7731932113dd3e40c
133
package com.ls.framework.rpc.transport; public interface ServerTransport extends Transport { void start(); void stop(); }
14.777778
52
0.721805
bbc5d267ec75c8c6a0dc30cba4c3a17b5b271210
129
version https://git-lfs.github.com/spec/v1 oid sha256:1a31c8a4e22095d9daf8b8265b80010de2770c253b61396fd8b8bc2e38b76513 size 7055
32.25
75
0.883721
68e9b6ebc9917a3378d82ad90548286392f8f9f4
13,060
package com.scalar.db.storage.cassandra; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import com.datastax.driver.core.Cluster; import com.datastax.driver.core.KeyspaceMetadata; import com.datas...
37.745665
125
0.723737
c605476cce7af42b4d11b09fca92eded03398ab0
10,767
package com.maq.pehlaclass.mainui.oc_counting5and10; import android.graphics.Color; import android.graphics.PointF; import com.maq.pehlaclass.controls.OBControl; import com.maq.pehlaclass.controls.OBGroup; import com.maq.pehlaclass.controls.OBLabel; import com.maq.pehlaclass.controls.OBPath; import com.maq.pehlaclass...
26.519704
157
0.543327
a12ff33019ada880ab8d245f58c1d4b1250e398a
420
package com.spring.auth.client.infrastructure.repositories.ports; import com.spring.auth.client.domain.Client; import com.spring.auth.exceptions.application.DuplicatedKeyException; import com.spring.auth.exceptions.application.NotFoundException; /** @author diegotobalina created on 24/06/2020 */ public interface Dele...
38.181818
82
0.835714
4e00a4bef613130d4a6cfa600670dd339cabcfff
181
package java_9; public class Java_9 { static void print(){ System.out.print("Hello World"); } public static void main(String[] args) { print(); } }
12.928571
44
0.574586
0e0b5872cf2f3d244957a1bb6af7bcacd44293e0
344
package org.yejt.cachedemo.keygen; import org.yejt.cacheclient.keygen.KeyGenerator; import org.yejt.cachedemo.entity.User; /** * @author keys961 */ public class UserKeyGenerator implements KeyGenerator { @Override public String generateKey(Object target, Object... params) { return ((User) params[0])...
22.933333
64
0.72093
912cd3acb2d904a7ce1c479d2c5d60c7ebcafec7
562
package com.ucv.codetech.controller.model.input; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.validation.constraints.NotBlank; @Setter @Getter @NoArgsConstructor @ApiModel(description ...
26.761905
73
0.781139
c92d6ba5804e9d17496f76bc3da7bb49c111bc61
1,968
package io.committed.ketos.data.elasticsearch.providers; import java.util.HashMap; import java.util.Map; import org.junit.AfterClass; import org.junit.BeforeClass; import com.fasterxml.jackson.databind.ObjectMapper; import io.committed.invest.extensions.data.providers.CrudDataProvider; import io.committed.invest.su...
37.132075
100
0.807927
3907244e840da83d76f11d56a10d737a1c23a539
770
package org.broadband_forum.obbaa.netconf.mn.fwk.server.model.service; import java.util.List; /** * ModelServiceDeployer is a deployer that deploys given ModelService into NCY Stack. * It is responsible for updating all the NCY internal registries to make the new ModelService available for service. * * */ public...
32.083333
117
0.803896
f28dc684f94fc38a0bdc90dc66eb95c47404fa58
633
package com.zype.android.webapi.builder; import com.zype.android.core.settings.SettingsProvider; /** * Created by Evgeny Cherkasov on 12.03.2018. */ public class EntitlementsParamsBuilder extends ParamsBuilder { private static final String ACCESS_TOKEN = "access_token"; private static final String PAGE = ...
25.32
83
0.723539
ca71f9b198f0af5a5836fb7ecf809bb0adee3814
3,208
/* * Copyright (c) 2009 University of Durham, England All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of con...
34.494624
80
0.697943
60d1a562c09db94a1f619edccc07a3ebb3becdb7
6,973
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
38.738889
187
0.706439
29100421292b2cfdba172184e2e26bb63b003ae8
8,875
package com.polibatam.meler.view.register; import android.app.ActionBar; import android.content.Intent; import android.graphics.Bitmap; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import andro...
36.673554
146
0.578704
a544f2e044ebcf2d2e6fc735c777c04acae64a49
795
package com.real.reallife.Activities; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import androidx.appcompat.app.AppCompatActivity; import com.real.reallife.R; import static com.real.reallife.Util.Utils.hideBottomBarOfDevice; public class HomeActivity extends AppCompatAc...
28.392857
117
0.76478
1a44c90ce9ebefe980c2628e2c7912748ab03eaf
2,024
package com.gemframework.utils; import org.thymeleaf.standard.expression.Fragment; import java.util.HashMap; import java.util.Map; public class DefaultInfo { public static final String NO_ONE = "1"; public static final String NO_TWO = "2"; public static final String NO_THREE = "3"; public static fin...
24.095238
95
0.511858
197e620b15058c3cd4564ea7af4a1312ca18fc6e
4,503
/** * MIT License * * Copyright (c) 2018 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
54.253012
274
0.744615
3ed29ab136174b38815c6650660bb0abcd492983
302
package com.annimon.tgbotsmodule.api.methods.interfaces; import java.io.Serializable; public interface InlineOrChatMessageMethod<M extends Method, T extends Serializable> extends ChatMessageMethod<M, T> { String getInlineMessageId(); M setInlineMessageId(String inlineMessageId); }
25.166667
84
0.784768
27ecb43191236d20cbeed39033f4f94a9e014f5b
523
package edu.umd.cs.mtc; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation to indicate that a test triggers a multithreaded test case and * that the threads should be run multiple times. *...
27.526316
76
0.760994
dd34fad25ed96c3a524d7ea9bad6c270408ca21b
11,395
package manifold.json.extensions.javax.script.Bindings; import manifold.json.extensions.java.net.URL.ManUrlExt; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import java.util.List; import java.util.Map; import javax.script.Bindings;...
27.326139
240
0.578675
9315c074a94f1d2a31aba717c50872d901232b1c
3,511
package net.zarathul.simplefluidtanks.rendering; import net.minecraft.block.BlockState; import net.minecraft.client.renderer.model.BakedQuad; import net.minecraft.client.renderer.model.IBakedModel; import net.minecraft.client.renderer.model.ItemCameraTransforms; import net.minecraft.client.renderer.model.ItemOve...
28.778689
140
0.738251
c03bc1111a150284af4456d7fe66862a36298334
2,009
/* * Copyright 2018-2020 The Code Department. * * 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 applic...
32.934426
112
0.654555
2e9a96a400158e6c4aa9b7829ad1a5b1708fbdaa
1,349
/* * Copyright (c) 2015 Ronald D. Kurr kurr@jvmguy.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 required by appli...
31.372093
123
0.723499
e307996ee29f1a6a9534656d4d4a23b60b63276c
3,384
/** * Copyright 2016 Netflix, 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 ...
35.621053
132
0.71247
ee1248844faa1d6bf981f4299223d2f9e5b26370
450
/** * */ package fastdfs.client.codec; import fastdfs.client.FileId; import static fastdfs.client.FastdfsConstants.Commands.SERVICE_QUERY_FETCH_ONE; /** * 获取可下载的存储服务器 * * @author liulongbiao */ public class DownloadStorageGetEncoder extends FileIdOperationEncoder { public DownloadStorageGetEncoder(FileId ...
16.666667
79
0.715556
01218a3527b09f4cb2447f2898174c867606619e
1,610
package io.aktoluna.slnarch.core.browser.local; import io.aktoluna.slnarch.common.helper.SystemPropertyHelper; import io.aktoluna.slnarch.core.browser.BaseBrowser; import io.aktoluna.slnarch.core.model.Configuration; import org.openqa.selenium.Proxy; import org.openqa.selenium.UnexpectedAlertBehaviour; import org.open...
35
94
0.802484
0ce26fe07a2e6bf904173ada68d3e7bef62cb5cf
2,336
package org.redquark.leetcode.challenge; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author Anirudh Sharma * <p> * Given a string s and an array of strings words, return the number of words[i] that is a subsequence of s. * <p> * A subsequence of a str...
32.901408
113
0.585616
c764aefdca936eb0d5739bd0abf806ec172c02b8
1,817
package com.hashmapinc.tempus.WitsmlObjects.v20; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonym...
27.119403
112
0.680242
2aa468bcb0bc5f73a9a96db897169e9ebd4e96cc
773
package com.askjeffreyliu.zebraview; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { private ZebraView zebraView; @Override protected void onCreate(...
29.730769
82
0.723157
9a4d17564fe0d8b287a0df6a0c05ce1a396be3e4
8,753
package edu.gslis.biocaddie.util; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.UnknownHostExceptio...
32.418519
105
0.730378
1e62332c3a14674abf0b3e61fd560b9acb296469
9,974
package org.apache.spark.mllib.clustering; /** * Power Iteration Clustering (PIC), a scalable graph clustering algorithm developed by * <a href="http://www.cs.cmu.edu/~frank/papers/icml2010-pic-final.pdf">Lin and Cohen</a>. * From the abstract: PIC finds a very low-dimensional embedding of a dataset using * truncat...
63.528662
229
0.710848
033f86860a69c4d4179c23a176f8812f5f8c538e
953
package com.sandbox; import org.antlr.v4.runtime.ANTLRInputStream; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.TokenSource; import org.antlr.v4.runtime.tree.ParseTreeWalker; public class Main { public static void main(String[] args) { // Get our lexer Tok...
32.862069
88
0.683106
b6174281ef0dd19238e1bcbdbdc63f920e6fb722
10,054
/* Derby - Class org.apache.derby.impl.io.BaseStorageFactory 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 und...
36.035842
117
0.658842
1e56d19e64e8be66d751f8c8688c24c0b9ba29ec
860
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.RegionState; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.msaas.mediarecog.mmtcaftscv.machinegoods.add respons...
23.243243
92
0.725581
26c9068997939449639dd3ab644e1f3784774aab
3,314
package com.tesco.crypt.kmip.operation.model.messages.discoverversions; import com.tesco.crypt.kmip.operation.model.ProtocolVersion; import com.tesco.crypt.kmip.operation.model.messages.ResponseBatchItem; import com.tesco.crypt.kmip.ttlv.model.Structure; import com.tesco.crypt.kmip.ttlv.model.TTLV; import com.tesco.cr...
38.988235
130
0.596258
d7658e815ad48293a5ad5d84d83cb61acdfe6f4e
2,459
/* * 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 und...
43.910714
208
0.723058
ba3c2456dc603673a96bd5b61074dcefa05b829f
1,891
// 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; /** * The RobotMap is a mapping from the ports sensors and actuators are wired into to a variable n...
43.976744
100
0.747753
a8d0de4b58574fc0b0e6fb8530771875b8f16d93
1,603
package com.leocth.lcmw.fabric.client.model; import net.fabricmc.fabric.api.renderer.v1.model.FabricBakedModel; import net.fabricmc.fabric.api.renderer.v1.render.RenderContext; import net.minecraft.block.BlockState; import net.minecraft.client.render.model.BakedQuad; import net.minecraft.client.render.model.BasicBaked...
39.097561
243
0.802246
e88b6612a42483d0a5b0e8545abd129a5f42de20
507
package com.techandsolve.lazyload.entities; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.time.LocalDateTime; @Getter @Setter @Document(collection = "procesoLazyLoad") public class ProcesoLazyLoad ...
24.142857
62
0.794872
f4b19657e4b0776f4337d51a959ef5bf41eb1581
2,537
/* * Copyright Binosys GmbH(c)2015.All rights reserved. * * Licensed under the Apache License,Version2.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 l...
24.394231
118
0.700828
9af1a4d4b8ef44f8a90427290069a73e2d00fc2d
1,422
// The author disclaims copyright to this source code. package nl.jvdploeg.flat.util; import nl.jvdploeg.flat.Path; import nl.jvdploeg.flat.impl.DefaultModel; import nl.jvdploeg.flat.impl.Enforce; public abstract class TestModel { public static final Path PATH_A = new Path("A"); public static final P...
32.318182
98
0.661041
fb4c0b6b87015c00a7bb103d9eaf1d39fdac36fc
4,947
package yet.epic.team; import javafx.util.Pair; import org.jetbrains.annotations.NotNull; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.text.NumberFormat; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import j...
33.653061
104
0.565393
0c7461a5e3d8d964257c9371636f537e74d09355
3,155
package ca.uhn.fhir.jpa.subscription.module.cache; /*- * #%L * HAPI FHIR Subscription Server * %% * Copyright (C) 2014 - 2018 University Health Network * %% * 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 co...
34.67033
170
0.735975
ae9ecaf4a85dd3b5167c2082dd8981c41f87597d
2,108
package com.example.CrudBook.configuration; import com.example.CrudBook.AOPlogging.Logging; import com.example.CrudBook.model.Institution.InstitutionForm; import com.example.CrudBook.model.Institution.School; import com.example.CrudBook.model.Institution.Workplace; import com.example.CrudBook.model.User.Employee; impo...
29.690141
98
0.747628
04a1544d3ef1208c1879501a95924b4057454f4b
751
package ru.eternalkaif.soundsofnature.tools; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.AsyncHttpResponseHandler; import com.loopj.android.http.RequestParams; import org.jetbrains.annotations.NotNull; public class SongsHttpClient { private static final String BASE_URL = "http:/...
28.884615
104
0.768309
345063186a8fe35f1439978255124bbf899ad295
2,903
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQPaymentExecutionControlOutputModel */ public class BQPaym...
35.839506
213
0.813297
e7c277a29e0bacc3057643a9a13a4d1464cb8ceb
7,310
/* * Copyright DataStax, 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 wri...
34.809524
100
0.75212
21b52285f07ca98855288cd54f7f5603b1e8de6b
3,472
package tech.tengshe789.miaosha.common.mq.function; import cn.hutool.core.lang.UUID; import cn.hutool.json.JSONUtil; import lombok.AllArgsConstructor; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; import org.springframework.amqp.rabbit.connection.CorrelationData; import org.springframework.amqp.rabbit....
29.931034
109
0.758641
f7f4bc3b444af5b435e7f8e0cb0f94b992371605
796
package com.gars.httpquery; import android.content.Context; import com.gars.querybuilder.BaseQuery; /** * Created by Владимир on 02.12.2015. */ public class Query extends BaseQuery<Query, MyResult> { public Query(Context context) { super(context); } public Query(Context context, boolean async)...
18.090909
69
0.640704
dafc3aa4c5c78024ff70e71b9904bdb1b5e05932
23,076
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.cosmoadornos.cosmopos.view; import com.cosmoadornos.cosmopos.controller.EmpresaController; import com.cosmoadornos.cosmopo...
44.894942
153
0.672864
31ea1e6511a0a7abbebff0d7f4a019c905187984
22,021
package tests; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import org.checkerframework.common.value.util.Range; import org.junit.Test; /** This class tests the Range class, independent of the Value Checker. */ public class RangeTest { // ...
36.040917
110
0.44453
624a0ca14e3784695c3d2eb8f28601ea4997adc0
1,973
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.arpablue.abhttpclient; import java.net.Authenticator; /** * * @author Augusto Flores */ public class AbHttpAuthenticat...
24.974684
79
0.570198
f6180a481d38920cef9ffcb0e81ba89109755923
1,893
package com.angcyo.uiview.widget; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import com.angcyo.uiview.R; /** * 用来控制状态栏的padding * Created by angcyo on 2016-11-05. */ public c...
33.210526
112
0.682515
d529597308f2519f478f01a57fcd3e8bd28aea11
3,485
package top.nilaoda.apps.cms.service.impl; import top.nilaoda.apps.cms.bean.Article; import top.nilaoda.apps.cms.bean.ArticleExample; import top.nilaoda.apps.cms.bean.extend.ArticleExtend; import top.nilaoda.apps.cms.mapper.ArticleMapper; import top.nilaoda.apps.cms.mapper.extend.ArticleExtendMapper; import top.nilaod...
32.877358
102
0.673745
021dcc46c3cfba7180933b2731a1b836773632a8
1,685
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
33.7
86
0.693769
328fc29dba891807519cfc5c0f2d3f7e9264ddfc
212
package com.oops.wifichat; import android.app.Application; public class ChatApplication extends Application { @Override public void onCreate() { super.onCreate(); } public ChatConnection connection; }
15.142857
50
0.764151
cc202105765502abfdd496f77b4f7ee10baffb91
589
package servers; public class Definition { public static final int BUFFER_SIZE = 1358; public static final long DURATION_IPERF_MILLISECONDS = 20000; public static final int PORT_DOWNLINK = 6001; public static final int PORT_UPLINK = 6002; public static final int PORT_CONFIG = 6003; public static fi...
39.266667
64
0.760611
2d3998103343f2de6a30786ea2377624a3ca2c3a
658
package com.github.jarvisframework.tool.ctypto.symmetric; import org.bouncycastle.jce.provider.BouncyCastleProvider; import java.security.Provider; /** * Provider对象生产法工厂类 * * <pre> * 1. 调用{@link #createBouncyCastleProvider()} 用于新建一个org.bouncycastle.jce.provider.BouncyCastleProvider对象 * </pre> * * @author Doug...
22.689655
104
0.702128