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
4d6cfb5fd23302392ce3c3806a9d7ef6f38a29c4
2,389
/** * Copyright 2017 Goldman Sachs. * 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 agree...
31.434211
98
0.623692
09b5cf91b7d69d70140a6e7e8b81a271f8b1cee9
147
package de.jaggl.sqlbuilder.core.domain; /** * @author Martin Schumacher * * @since 2.0.0 */ public interface Size { String getValue(); }
12.25
40
0.659864
973b4513b4b3f23ebf51380cc4131528cf6778c2
2,737
/* * Copyright 2017 Organizations participating in ISAAC, ISAAC's KOMET, and SOLOR development include the US Veterans Health Administration, OSHERA, and the Health Services Platform Consortium.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compl...
38.013889
144
0.714651
8f750f41be50169144b679d133d500251733b68b
8,759
package com.studiomediatech; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.studiomediatech.events.QueryRecordedEvent; import com.studiomediatech.queryresponse.QueryBuilder; import com.studiomediatech.queryresponse.util.Logging; import ...
31.507194
114
0.61571
5eb73178904c732be40ee036aefe2a9431ff83d2
174
package com.akkademy.kvstore; public class AckSet { private static final AckSet ACK_SET = new AckSet(); public static AckSet get(){ return ACK_SET; } }
17.4
55
0.666667
4030ec581f693b393a33a181ce68ac382ee20adf
441
package quick.pager.shop.param; import lombok.Data; import lombok.EqualsAndHashCode; /** * banner 请求参数 * * @author siguiyang */ @EqualsAndHashCode(callSuper = true) @Data public class BannerParam extends Param { private static final long serialVersionUID = 2378276818835084161L; /** * 活动标题 */ ...
15.206897
70
0.671202
ea6c4ed68990f5e8d5544e9413aa6c3c634765b9
1,050
package io.spring.enrollmentsystem.feature.enrollment; import io.spring.enrollmentsystem.common.mapper.ReferenceMapper; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.MappingTarget; import org.mapstruct.factory.Mappers; /** * (Enrollment) mapper * * @author Khoale * @since 2021-09...
32.8125
103
0.749524
01bd390a7dbbd817a52c91b263bbd09f04c3dd4a
4,269
package tsocket.zby.com.tsocket.activity; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.support.annotation.ColorRes; import android.support.annotation.StringRes; import android.view.Window; import android.view.WindowManager; import a...
28.085526
85
0.622628
40c9f5dc9827624900966a3c836f3790cdf89239
814
package cellclasses; import javafx.scene.paint.Color; public class SegregationCell extends Cell { private boolean isEmpty; private boolean isRed; private boolean isBlue; public SegregationCell(int x, int y){ super(x,y); setUp(); } private void setUp(){ isEmpty = true; isRed = false; isBlue = fal...
14.034483
43
0.657248
756007e9fb8e63b8dead96beaa56878ba8c08d7e
3,411
package mage.sets; import mage.cards.ExpansionSet; import mage.constants.Rarity; import mage.constants.SetType; /** * @author TheElk801 */ public final class HistoricAnthology5 extends ExpansionSet { private static final HistoricAnthology5 instance = new HistoricAnthology5(); public static HistoricAntholo...
66.882353
127
0.720023
bc4cce8f2095964da0c9578632dcfa56e41f4653
357
package com.yong.resource.config; import org.springframework.context.annotation.Import; import java.lang.annotation.*; /** * @author LiangYong * @createdDate 2017/11/11 */ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @Import({ResourceServerConfiguration.class}) public @in...
19.833333
53
0.787115
d3276cd467c1e86718904bd68720d528894bd691
765
package org.bulldog.beagleboneblack.io; import org.bulldog.core.gpio.Pin; import org.bulldog.core.io.bus.i2c.I2cSignalType; import org.bulldog.linux.io.LinuxI2cBus; public class BBBI2cBus extends LinuxI2cBus { private Pin sdaPin; private Pin sclPin; private int frequency; public BBBI2cBus(String name, String d...
22.5
94
0.751634
cb602aa792f9a68b771a6f317caf44d9f968d65b
460
/* * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. */ package de.hybris.platform.outboundsync.job; import de.hybris.platform.outboundsync.dto.OutboundItemDTO; import javax.validation.constraints.NotNull; public interface RootItemChangeSender { /** * Consume the {@link OutboundItemD...
24.210526
78
0.763043
92f0f91f53921ff85b4efff7bbd6ff243998996d
2,379
/* * Copyright (C) 2019-2021 ConnectorIO sp. z o.o. * * This is free software; you can redistribute it and/or 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 version. * * https://ww...
39
120
0.781841
95f09e444e13881813e5255642dcb0b660fd3fe0
280
package internal; import javax.ws.rs.ApplicationPath; import org.glassfish.jersey.server.ResourceConfig; @ApplicationPath("webapi") public class WebapiConfig extends ResourceConfig { public WebapiConfig() { packages(this.getClass().getPackage().getName()); } }
21.538462
57
0.746429
34a892ddd2a4621918c7314760f77e08cb3156b4
9,512
package com.nutiteq.fragmentmap; import java.util.ArrayList; import java.util.List; import com.nutiteq.MapView; import com.nutiteq.advancedmap.R; import com.nutiteq.components.Color; import com.nutiteq.components.Components; import com.nutiteq.components.MapPos; import com.nutiteq.components.Options; import com.nutit...
34.842491
144
0.713099
4aac316b8d31389d4f16da5df899bc0ddd822620
3,255
package com.oq_io.cs_challenge; import java.io.File; import org.apache.logging.log4j.Logger; import org.hibernate.Session; import org.apache.logging.log4j.LogManager; import com.oq_io.cs_challenge.dao.Event; import com.oq_io.cs_challenge.utils.DbConnect; import com.oq_io.cs_challenge.utils.EventProcessor; import com.o...
33.90625
130
0.704455
6c86ef71ef6dda2e420622dd90ef4324e14f77db
1,315
package com.example.lunchtray.data; import java.lang.System; /** * Map of available menu items to be displayed in the menu fragments. */ @kotlin.Metadata(mv = {1, 5, 1}, k = 1, d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010$\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n...
57.173913
613
0.707224
e135de94afbd934b930b66451514c94a3722612c
2,127
package dev.utils.common.encrypt; import java.security.Key; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import javax.crypto.spec.SecretKeySpec; import dev.utils.JCLogUtils; /** * detail: DES对称加密(Data Encryption Standard,数据加密标...
25.626506
78
0.587682
bd200973906a3548002232c7af4436825045cbf5
14,811
/* * Copyright (C) 2008 The Guava 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...
36.212714
100
0.680508
0d5811b629a887b6b8b1b497a708a8f53cba40c0
1,696
/* * Copyright 2011 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...
31.407407
98
0.684552
60ea1abb872a980997b77adb55d538529c7860c0
24,370
package org.drip.sample.multicurve; import java.util.*; import org.drip.analytics.date.*; import org.drip.analytics.support.*; import org.drip.market.otc.*; import org.drip.param.creator.*; import org.drip.param.market.CurveSurfaceQuoteContainer; import org.drip.param.valuation.*; import org.drip.product.creator.*; ...
31.567358
153
0.621994
cadf401857f720be9e13172f549be55d1d38a771
395
/* * 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.viejar.viejamedi.security.service; import javax.enterprise.context.ApplicationScoped; /** * * @author Admini...
21.944444
80
0.718987
c98a620409d6feff0b46171f87901f12d0b2f8d5
6,164
/** * * Licensed Property to China UnionPay Co., Ltd. * * (C) Copyright of China UnionPay Co., Ltd. 2010 * All Rights Reserved. * * * Modification History: * ============================================================================= * Author Date Description * ------------ -----...
23.891473
97
0.635788
af6d553e5abedd0cc8a100f9d3cb776b73fab31c
464
package mb.nabl2.scopegraph; import mb.nabl2.regexp.IAlphabet; import mb.nabl2.regexp.IRegExp; import mb.nabl2.relations.IRelation; public interface IResolutionParameters<L extends ILabel> { enum Strategy { SEARCH, ENVIRONMENTS } L getLabelD(); L getLabelR(); IAlphabet<L> getLabels(); ...
17.185185
58
0.700431
a2afd56366c178a9cb8f7180d7b9260d276ccef6
4,187
package org.diverproject.scarlet.util; import static org.diverproject.scarlet.util.language.NumberUtilsLanguage.HAS_INTEGER_LENGTH_MINMAX; import static org.diverproject.scarlet.util.language.StringUtilsLanguage.IS_FLOAT_NULL; import java.util.regex.Pattern; import org.diverproject.scarlet.Scarlet; import org.diverp...
30.562044
192
0.716742
ba741d9fb06567b48555d71dbd18301b16529cff
3,814
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
39.319588
137
0.79549
b5ac657f9f61386f6f533783933105b747771e6b
671
package com.elseytd.theaurorian.Blocks; import com.elseytd.theaurorian.TAMod; import net.minecraft.block.BlockPane; import net.minecraft.block.material.Material; public class TABlock_DungeonStoneBars extends BlockPane { public static final String BLOCKNAME_RUNESTONE = "runestonebars"; public static fina...
30.5
69
0.774963
fb3c6297764bc0c22eaf913d36b7d43f0326bae0
931
/** * 2017-10-09 */ package test.math; import cn.ancono.math.equation.EquationSup; import cn.ancono.math.equation.Type; import cn.ancono.math.numberModels.Calculators; import cn.ancono.math.numberModels.api.RealCalculator; import org.junit.Test; import static cn.ancono.utilities.Printer.print; /** * @author liyich...
25.861111
99
0.700322
7de6f579a211ff0894979aad4f51703e778f6a15
23,645
/* * (C) Copyright IBM Corp. 1998-2004. All Rights Reserved. * * The program is provided "as is" without any warranty express or * implied, including the warranty of non-infringement and the implied * warranties of merchantibility and fitness for a particular purpose. * IBM will not be liable for any damages suf...
34.518248
126
0.620131
8ca53b966bce7905433ab3414917f180a8be5e5a
5,993
/* * Copyright 2019 Couchbase, 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 ...
41.331034
101
0.762723
8d93de0b3219c38984dbe0257ca9bfc0a67f65d0
1,040
package seedu.ibook.model.util; import seedu.ibook.model.IBook; import seedu.ibook.model.ReadOnlyIBook; import seedu.ibook.model.product.Category; import seedu.ibook.model.product.Description; import seedu.ibook.model.product.DiscountRate; import seedu.ibook.model.product.DiscountStart; import seedu.ibook.model.produc...
32.5
103
0.697115
94f1eaac04f6b8d0e544c83e995eddd4b0f2d5a3
2,058
/* * Copyright 2020 SvenAugustus * * 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...
29.826087
96
0.752672
e24979c34e8ed9ef0f28b0296b6375295464eff4
5,465
/* * 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 ...
40.783582
100
0.642086
b7c1444b29c612f3a851260e6f5b065e9f927a27
7,814
/** * blackduck-alert * * Copyright (c) 2020 Synopsys, Inc. * * 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 u...
51.071895
218
0.740338
cbb155b4410d7cf66e98c9eee2117a5377e2b9c7
424
package leetcode.lc344_reverse_string; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertArrayEquals; public final class LC344ReverseStringTests { @Test public void testExample() throws Exception { char[] s = { 'h', 'e', 'l', 'l', 'o' }; new LC344ReverseS...
28.266667
69
0.646226
986fde746e67c829e7c25fb562f1ca28d7a87c2c
8,392
public class Util { public static void main(String[] args) { System.out.println(Util.averageOfDistribution(new double[] {125.0, 83.0}, new double[] {1.0, 0.0})); Util.printArray(Util.thresholds(new double[] {0.0, 1.0, 4.0}, 0.6)); } public static void printWithExtraSpaces(String toPrint, int totalLen...
23.908832
412
0.560653
b82637bba818d77bec97aca5fd6f24bfcfaae705
1,338
package in.noobgames.sqliteapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { ProductListFragment mProductListFragment; InputFragment mInputFragment; private DBHelper mDBHelper = new DBHelper(this...
27.306122
63
0.657698
8736fe12230342baea86fa44b284746665b9eda9
933
package com.ming.core.orm; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.No...
27.441176
141
0.736334
5664bd536bc89fd619e026c9670d59e6113ef7d9
2,221
package mage.cards.g; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.ActivateAsSorceryActivatedAbility; import mage.abilities.common.EntersBattlefieldTappedAbility; import mage.abilities.costs.Cost; import mage.abilities.costs.common.SacrificeSourceCost; import mage.abilities.costs...
35.822581
88
0.72715
986b4dd8fb82af00516b0884b9d5d4b5b9a57588
38,292
package com.cy.mobileInterface.authenticated.service; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.*; import java.util.regex.Pattern; import com.cy.common.utils.TimeZoneUtils; import com.cy.core.alumni.dao.AlumniWaitRegistersMapper; import com.cy.core.alumni.entity.AlumniWaitReg...
36.124528
151
0.592865
418ca186ab8472ad0b2c380223bb3db9fe85b84e
3,713
/* * 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 co.edu.uniandes.quantum.biblioteca.ejb; import co.edu.uniandes.quantum.biblioteca.entities.BlogEntity; import co.edu.uniandes...
33.151786
96
0.668731
10e93a48a9400c429643d555356ba20134e2fe04
7,571
package springbook.learningtest.spring.ioc; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.io.IOException; import java.util.HashSet; import java.util.Set; import javax.annotation.Resource; import javax.inject.Provider; import javax.servlet.ServletException; import...
37.666667
144
0.784969
31b19f0ae4d836b7cc8bdf62178577b4513ad4a8
2,282
package org.opencloudb.sqlexecute; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; public class MultiThreadSelectTest { private static void testSequnce(Connection theCon) ...
23.525773
95
0.644172
968263af77c14b34f25163d9e03d29dcf75fb9fc
1,214
package beans; //- 컨텐츠 생성에 사진을(3개 Fix) 업로드하기 위한 필드(변수)를 모아 놓은 Dto 입니다 public class Host_Content_Photo_Dto { private int host_content_photo_no; private int host_content_no; private String host_content_original_file; private String host_content_edit_file; public Host_Content_Photo_Dto()...
19.901639
80
0.751236
ba56495cb30f02bd64befdfd08693bbbe5d90aa1
289
package com.github.fluent.hibernate.cfg.scanner.other.persistent; import javax.persistence.Entity; import javax.persistence.Table; /** * * @author V.Ladynev */ @Entity @Table public class OtherRootEntity { @Entity @Table public static class OtherNestedEntity { } }
13.761905
65
0.716263
bf36efdf20b82d061129d91993c954038b945df0
2,257
package com.atlas.skynet.zuul.filter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.alibaba.fastjson.JSON; import com.atl...
31.347222
128
0.722198
1520d33406235bd50ff0be0389e4e7d4ab4c0f00
514
package org.gjt.sp.jedit.bsh; public class LHSVariable extends LHS { LHSVariable( NameSpace nameSpace, String varName, boolean localVar ) { type = VARIABLE; this.localVar = localVar; this.varName = varName; this.nameSpace = nameSpace; } public Object assign( Object val, boolean strictJava ) ...
22.347826
70
0.690661
a9426b84098a14c765e9638554275bcdad93716a
387
package modelo; /** * * @author Müller Gonçalves * @since 16/04/2018 - 16:41 * @version 1.0 */ public class Saque { private double saque; public Saque() { } public Saque(double saque) { this.saque = saque; } public double getSaque() { return saque; } public void...
13.821429
40
0.555556
e6016342c8345ffa933a483e8fa265c63c95cd98
6,319
package cloud.tianai.rpc.springboot; import cloud.tianai.rpc.core.bootstrap.ServerBootstrap; import cloud.tianai.rpc.remoting.api.RpcInvocationPostProcessor; import cloud.tianai.rpc.springboot.exception.RpcProviderRegisterException; import cloud.tianai.rpc.springboot.properties.RpcProperties; import lombok.extern.slf4...
36.108571
134
0.682861
89d71567f5d754a6e451468d68e8e8df4682cf11
3,786
package com.example.fitnessapplication; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import com.google.android.gms.tasks.OnCompleteLi...
39.030928
138
0.616746
7beca1fe73afda97cae560f86c5782e38999fc3c
4,055
package mblog.core.persist.service.impl; import mblog.base.lang.Common; import mblog.base.lang.EnumProject; import mblog.base.lang.EnumTaskStatus; import mblog.core.data.GeneralizeTask; import mblog.core.data.Resume; import mblog.core.persist.dao.GeneralizeListDao; import mblog.core.persist.dao.GeneralizeTaskDao; impo...
32.44
89
0.6873
ba34567619294bb4ac1b22adfa7f4b8cf6e55158
1,170
package com.ugiant.modules.sys.web; import java.util.List; import com.jfinal.plugin.activerecord.Page; import com.jfinal.plugin.activerecord.Record; import com.ugiant.common.utils.PageUtils; import com.ugiant.common.web.BaseController; import com.ugiant.modules.sys.model.Dict; import com.ugiant.modules.sys.s...
26
137
0.695726
1ffd593bc1d8cb6c697bd3da212c03dc9f782f40
2,037
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
32.333333
111
0.694649
995a648dcd4abf136c60ae58c33eb6bee1cbf5ff
325
/** * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending */ package io.deephaven.web.client.fu; /** * A place to put things like isDevMode() property accessors. */ public class JsSettings { public static boolean isDevMode() { return "true".equals(System.getProperty("dh.dev", "false")); ...
21.666667
68
0.673846
d2be3896e96fbb54058bc33d365f9a15e92cf789
391
package com.spacetimecat.collection; final class BasicIterableFromJavaLang<A> implements BasicFiniteIterable<A> { private final java.lang.Iterable<A> i; public BasicIterableFromJavaLang (java.lang.Iterable<A> i) { this.i = i; } @Override public BasicFiniteIterator<A> iterator () {...
21.722222
74
0.685422
a519a7ee41b7952416afb2b11ca49b7b9f5a8d01
4,567
package com.crescentflare.bitletsynchronizerexample.model.shared; import android.os.Handler; import android.text.TextUtils; import com.crescentflare.bitletsynchronizer.bitlet.BitletHandler; import com.crescentflare.bitletsynchronizer.bitlet.BitletObserver; import com.crescentflare.bitletsynchronizerexample.HashUtil; ...
31.496552
125
0.542807
2cdd520e19367e4cd3f40277f972dde801854dc8
518
package com.journaldev.easymock; import static org.easymock.EasyMock.*; import static org.junit.jupiter.api.Assertions.*; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; public class EasyMockAgrumentMatcherComparisonExample { @Test public void test() { List<Integer> mock =...
20.72
55
0.735521
7f7e811cab66fcb920d0137ad31f84c477651340
1,283
package org.bdxjug.api.domain.team; import lombok.Data; /** * * @author lfo */ @Data public class TeamMate implements Comparable<TeamMate> { private final TeamMateID Id; private final String firstName; private final String lastName; private final int year; private String role; ...
25.66
94
0.558846
ee4aac0c0d2858bb5491a2a5c6cd6396beed51fd
1,439
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
38.891892
100
0.772064
08b6b237cccc07052cfa961bd102094d3e16c20d
4,991
/* * 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 n...
38.099237
116
0.660589
659d5b87887f6e9bfe86f8b8ac903fbad9295675
7,548
// -------------------------------------------------------------------------------- // Copyright 2002-2021 Echo Three, LLC // // 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:/...
47.772152
146
0.693429
bb4ddca3106928dffaafb01dc8135b75a8af8e04
1,442
package com.ara.approvalshipment.utils; import com.ara.approvalshipment.models.Grade; import com.ara.approvalshipment.models.Shipment; import com.ara.approvalshipment.models.ShipmentDetail; import com.ara.approvalshipment.models.Stock; import java.util.List; import okhttp3.ResponseBody; import retrofit2.Call; import...
36.05
109
0.701803
d46340754617b1e296beed51b1deb7f4d1effd1a
4,370
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html */ package org.hibernate.orm.test.query.criteria; import javax.persistence.Entity; import...
29.931507
119
0.768879
b61cb058209e937d9d804efd24d7524edb0894f7
1,138
package com.tbp.crud.services; import com.tbp.crud.models.entities.User; import com.tbp.crud.models.requests.UserRequest; import com.tbp.crud.models.responses.UserResponse; import com.tbp.crud.repositories.UserRepository; import com.tbp.crud.services.impl.UserServiceImpl; import org.junit.jupiter.api.Assertions; impor...
32.514286
79
0.790861
147b3d7e299f4b4a1f32fc1490049a67c03b3515
762
package com.fxn.utility; import android.net.Uri; import android.provider.MediaStore; /** * Created by akshay on 06/04/18. */ public class Constants { public static final int sScrollbarAnimDuration = 500; public static String[] PROJECTION = new String[]{ MediaStore.Images.Media.DATA, Med...
30.48
80
0.694226
0fdd16b0e46519164d2f1caf501ef2cee0facd3a
1,651
package com.davidbriglio.foreground; import android.app.Activity; import android.content.Intent; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONException; import android.annotation.TargetApi; public class ForegroundPlugin extends Cord...
36.688889
124
0.603876
1f5cff67cb09ddfc3204ef92c9ae4a824bf61ed1
3,374
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.components.gazetteers.processors; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import io.annot8.api.components.Processor; import io.annot8.api.data.Item; import io.annot8....
31.830189
100
0.666271
0f5233bf3d274fc993fe98ac79c323481549a9c0
180
package ru.otus.spring.exception; public class EntityCreateException extends RuntimeException{ public EntityCreateException(String message) { super(message); } }
20
60
0.75
add8e72d2a358e8f05948e3c632efb05084a7999
253
package string; public class ValueTes1 { public static void main(String[] args) { int n1=10; float n2=1.5f; String s1=String.valueOf(n1); String s2=String.valueOf(n2); System.out.println(s1); System.out.println(s2); } }
15.8125
42
0.640316
1739205ce8f418d9fc1f0445ba51a38366426c6e
333
package ru.mydesignstudio.database.metadata.extractor.extractors; import org.springframework.lang.NonNull; import ru.mydesignstudio.database.metadata.extractor.extractors.model.DatabaseMetadata; import java.util.List; public interface DatabaseMetadataExtractor { List<DatabaseMetadata> extract(@NonNull List<String>...
30.272727
87
0.840841
5f35b9005199abbd09b788ba97516c33390cfac7
2,239
/* * 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")...
36.704918
119
0.697186
792f20d4d987c9f48cd844a3fdf0462318add9ab
659
package com.zou.gulimall.product; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * 整合Mybatis-Plus * 1. 导入依赖 * 2. 配置 * 1. 配置数据源 * 1. 导入Mysql驱动依赖 * 2. 在yml中配置数据源信息 ...
24.407407
70
0.698027
0564289ee2d9de0d9f1df4997862b5e4166417f0
3,067
package security.tsg.com.tsgsecurityframwork; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.test.InstrumentationTestCase; import org.cryptonode.jncryptor.CryptorException; import org.junit.Assert; /** * Created by Rajvanshi on 27-04-2016. */ p...
33.703297
130
0.673948
4aab68a1bc7c7b54ec93e283e1b370292394a89a
515
package dev.park.e.bookcafemanager; import dev.park.e.bookcafemanager.properties.SeojiProperties; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; @SpringBootApplica...
34.333333
81
0.829126
29199175c34980f733bff23d55dd6f1fc9fbf1c0
7,957
package sqlite.samples.chat.model; import com.abubusoft.kripton.KriptonBinder; import com.abubusoft.kripton.KriptonJsonContext; import com.abubusoft.kripton.android.sqlite.SQLiteTable; import com.abubusoft.kripton.common.KriptonByteArrayOutputStream; import com.abubusoft.kripton.exception.KriptonRuntimeException; impo...
31.701195
166
0.660927
06d5def131ed9bbe4adbb90987d9c5eee562328a
555
package app.dao.api; import app.model.BasicShampoo; import app.model.ProductionBatch; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import java.util.Date; import java.util.List; @Repository public interface ProductionBatchDao extends JpaRepository<Pr...
24.130435
83
0.8
be2d12c270b2a5264966d07590987c74c87ebda6
668
package com.tutorial; import java.util.*; public class LotteryOdds { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("How many numbers do you need to draw? "); int k = input.nextInt(); System.out.println("What is the highest number you...
26.72
77
0.567365
b1c1bb1092ef5396ad4af9cbd9768f9a9ac87d56
1,791
package traffic_domain.bean; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class TrafficCondition { private int id; private String name; private String description; private TrafficCondition parentCondition; private List<TrafficCondition> ...
22.670886
83
0.700726
af925804339893fa7a3d8fd859e65e45e9b2d913
2,452
/* * Copyright (c) 2017 Frederik Ar. Mikkelsen & NoobLance * * 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,...
39.548387
165
0.707586
4ccb8f3c7bc0b063c42c1e13d40c2ad8ec70c742
2,485
package com.routon.plcloud.device.data.entity; import com.alibaba.fastjson.JSON; import java.util.Date; import java.util.LinkedHashMap; import java.util.Map; /** * @author FireWang * @date 2020/4/30 11:11 */ public class Syslog { private Object id; private String option; private Object type; priva...
20.040323
93
0.567404
dffbb143b5b8c8a65b8bb9ca049c49294db6c500
287
package com.macpi.initializer; import com.macpi.initializer.tags.Integration; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @Integration @SpringBootTest class InitializerApplicationTests { @Test void contextLoads() { } }
17.9375
60
0.780488
2d1b60339bbe154bfde20c762965b0d958372f31
1,728
package gerald1248.hollows; import android.content.Context; import android.content.res.Resources; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.junit.Test; import org.junit.runner.RunWi...
29.793103
89
0.640625
c55f237e5d208842b2f194b290b9ac93b20f37f5
584
package br.com.caelum.stella.example.validator; import br.com.caelum.vraptor.Resource; import br.com.caelum.vraptor.Validator; /** * @author Mario Amaral */ @Resource public class UsuarioController { private Validator validator; public UsuarioController(Validator validator) { super(); this.validator = va...
16.685714
70
0.684932
fb3a4e5a0b6a5cc604fdf7da2323ee9d29eceefe
228
package com.robsonbittencourt.demoacmeap; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class DemoAcmeApApplicationTests { @Test void contextLoads() { } }
16.285714
60
0.802632
84bedd1097de305a82e8e5709cc04687b477bdfe
160
package command.remotecontrol; /** * lambda 功能接口下使用,接口仅有一个方法 * 需要有撤销 undo() 就不能用 lambda * */ public interface CommandLambda { public void execute(); }
14.545455
32
0.7
910eb90bdcd0a47a30ccf71c1365c03ee5c09b6a
215
package pl.edu.pwr.raven.flightproducer.acquisition; /** * @author <a href="mailto:226154@student.pwr.edu.pl">Hanna Grodzicka</a> */ public interface FileMonitorListener { void handleNewLine(String line); }
21.5
73
0.739535
f5862334b1468ca044698195b2e8a017fc516527
1,837
/* * Copyright 2010-2019 Miyamoto Daisuke. * * 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...
36.019608
105
0.739793
9213a7026e38873db756d2212f8a168d773dbe3a
2,030
/* * 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.coinlab.sampleapp; import java.io.File; import java.io.IOException; import java.util.Random; import org.apache.c...
35
92
0.658128
89068b0d9d1c1ea1df1c697e0bb122a6adce8486
1,074
package com.princess.android.cryptonews.settings.viewmodel; import android.arch.lifecycle.AndroidViewModel; import android.arch.lifecycle.LiveData; import com.princess.android.cryptonews.AppController; import com.princess.android.cryptonews.injection.CryptoNewsComponents; import com.princess.android.cryptonews.model....
26.85
100
0.777467
eeec5bd12d96fdc6a0871b9f0480c533e559a826
4,115
package com.github.TKnudsen.DMandML.model.evaluation; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import com.github.TKnudsen.ComplexDataObject.data.features.Feature; import com.github.TKnudsen.ComplexDataObject.data.interfaces.IFeatureVe...
31.412214
134
0.72175
9f39ddcfdaa6c1b9b3832d6a94f24752b6b5149c
913
package com.arjuna.webservices11.wsarj.processor; import com.arjuna.webservices.base.processors.BaseProcessor; import com.arjuna.webservices11.wsarj.ArjunaContext; import com.arjuna.webservices11.wsarj.InstanceIdentifier; /** * Utility class handling common response functionality. * @author kevin */ public abstrac...
29.451613
97
0.67908
08f3f75ab4f4ebf200431e0159abbb966cdad1c2
841
package org.stonlexx.packetwrapper.api.packet.client; import com.comphenix.protocol.PacketType; import org.bukkit.inventory.ItemStack; import org.stonlexx.packetwrapper.api.packet.WrapperPacket; public interface WrapperPlayClientSetCreativeSlot extends WrapperPacket { PacketType TYPE = PacketType.Play...
19.55814
73
0.621879
87390e1b1868ce91a761c998ead50c961bdd6029
770
package nyla.solutions.spring.batch; import static org.junit.Assert.fail; import org.junit.Ignore; import org.junit.Test; import nyla.solutions.core.data.DataRow; import nyla.solutions.spring.batch.CsvArrayableSkipListener; @Ignore public class CsvSkipListenerTest { @Test public void testOnSkipInProcess() { C...
17.906977
68
0.744156
cf52e0849537f5d46b1a9659bcc694ebbb3b2f6f
553
package code.components.behaviour.hit; import code.components.storage.projectile.ProjectileStorage; import code.entity.Entity; /** * Created by theo on 8/07/17. */ public class HackingMissileProjectile extends ProjectileHandler { // TODO private static final int PARTICLE_SIZE = 4; public HackingMissileProj...
25.136364
84
0.726944
67e072dbc5f8e7374fade9de290e17e1d06d7515
342
package translation; public interface Translatable { /** * 한국어를 외국어로 변환 * @param korean 한국어 문장 * @return 번역된 외국어 문장 */ public String translate(String korean); /** * 외국어를 한국어로 변환 * @param foreignLang 외국어 문장 * @return 번역된 한국어 문장 */ public String inverseTranslate(S...
19
55
0.608187
be0e434bcad51a61d08687daa8fa86bdc9a2213c
987
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See the LICENSE file in the project root for full license information. package com.microsoft.store.partnercenter.models.users; import com.fasterxml.jackson.annotation.JsonProperty; public class PasswordProfile { /** ...
22.953488
105
0.687943
e8ef26f0c67569f41cc533d576ed200bdc3da7ee
4,520
package com.lifeweb.dao.impl; import com.lifeweb.dao.MarkalarDao; import com.lifeweb.dao.pojo.Markalar; import com.lifeweb.enitity.helper.DaoHelper; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List;...
33.481481
136
0.597124
5cbd9ccd330315a26a65c2723f551ba36df07e1c
1,703
package com.manulaiko.renashit.launcher; import java.io.File; import java.security.MessageDigest; import java.util.regex.Pattern; import com.manulaiko.tabitha.Console; /** * Settings class. * =============== * * Application settings. * * @author Manulaiko <manulaiko@gmail.com> */ public class Settings { /...
22.407895
80
0.578978
40383cd57ea1f3d39b4ccb5c3538dc36d8a0b991
1,271
package fr.idarkay.morefeatures.options.screen; import fr.idarkay.morefeatures.options.FeaturesGameOptions; import net.minecraft.client.MinecraftClient; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.widget.ButtonWidget; import net.minecraft.client.gui.widget.ClickableWidget; import net...
32.589744
120
0.738788