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
c52e42dc5ca80095e9282d5688e2c6909a149b7b
9,979
/** * Copyright (C) 2006-2017 Apache Software Foundation (https://sourceforge.net/p/webdav-servlet, https://github.com/Commonjava/webdav-handler) * * 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 Lic...
37.096654
142
0.563884
8a03c6aa00b30717c4ecb402991f32305e0cc96a
1,673
package com.zw.lkyw.repository.mysql.messageTemplate; import com.zw.lkyw.domain.messageTemplate.MessageTemplateBean; import com.zw.lkyw.domain.messageTemplate.MessageTemplateForm; import com.zw.lkyw.domain.messageTemplate.MessageTemplateInfo; import org.apache.ibatis.annotations.Param; import java.util.List; /** * ...
25.348485
110
0.662283
e618d5c482b53da807371e21a5a0af9320caf1e0
2,823
/* * Copyright Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags and * the COPYRIGHT.txt file distributed with this work. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
32.448276
170
0.688629
0706bbf831ab4813f9acb37bbc0fb786cc02dcf1
1,804
package io.github.ryuu.adventurecraft.util; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import io.github.ryuu.adventurecraft.scripting.Script; import org.mozilla.javascript.Scriptable; pub...
30.066667
107
0.597007
6c78542d0df22d1fff8c45e1e6a637e729c77b7a
2,420
package fr.fxjavadevblog.aid.metadata; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; import org.eclipse.microprofile.openapi.annotations.Components; import org.eclipse.microprofile.openapi.annotations.OpenAPIDefinition; import org.eclipse.microprofile.openapi.annotations.info.Info; import o...
37.8125
97
0.759504
0f02673263e4d3acd552a6282dca3aac46330e83
3,413
package jungle68.com.library.widget; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import android.graphics.RectF; import android.util.AttributeSet; import android.view.View; import static jungle68.com...
32.504762
90
0.629358
dc5dca02d50eee83d007bbbe8fea7aed208f7c79
1,230
package it.polimi.deib.newdem.adrenaline.model.items; import it.polimi.deib.newdem.adrenaline.controller.effects.Effect; import it.polimi.deib.newdem.adrenaline.controller.effects.EffectLoader; import it.polimi.deib.newdem.adrenaline.controller.effects.TagbackGrenadeEffect; import org.junit.Before; import org.junit.Te...
26.73913
127
0.706504
167e816399ab9cf1598036bd92f192975111f921
280
package com.qvalent.quickstreamapi.exception; public class ConfigurationException extends QuickStreamAPIException { private static final long serialVersionUID = 1L; public ConfigurationException( final String message ) { super( message ); } }
23.333333
68
0.717857
c5adb9b5da70e436579d97bbc08597313fa086b9
1,099
/* * Copyright 2018 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 t...
33.30303
127
0.760692
f56d0a8ca70686c80c7daeae06471c00e20fec0c
905
package com.xmlparser.stax; import java.io.File; import java.io.FileInputStream; import javax.xml.XMLConstants; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamReader; import javax.xml.transform.stax.StAXSource; import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; i...
26.617647
60
0.785635
5d6f99f6ec85a65aadadf4a12114de2395848470
1,593
package cn.point; public class KDFeaturePoint extends IKDTreeDomain implements Cloneable { /** * */ private static final long serialVersionUID = 814942706491557514L; /** * */ public float x, y; public float scale; public float ...
31.235294
134
0.495292
dca1a9d18122d8294aa4cade2b9da0d2a9ef9fcf
120
package org.hongxi.whatsmars.javase.dp.factory.abstractfac; public abstract class Food { abstract void printName(); }
20
59
0.791667
a44fbe5d548028809e45922bc8e09b8b97bdcb93
23,174
package uk.gov.pay.ledger.util.fixture; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import io.dropwizard.jackson.Jackson; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.RandomUtils; import org...
35.873065
168
0.604686
8fe49cdffd573b350a84fb9208c510f03bfc9541
1,924
package optimizer.estimator; import java.io.FileNotFoundException; import java.io.IOException; import heap.FieldNumberOutOfBoundException; import heap.InvalidTupleSizeException; import heap.InvalidTypeException; import heap.Tuple; public abstract class ISelectivityEstimator { private String relationsDir; private ...
31.540984
131
0.748441
ce3c86a16f343a96ed7753fb0696eb1bc9e4d5dd
2,284
/* * Copyright © 2021 Cask Data, 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 t...
33.588235
98
0.698774
0cd99854e6b3c68fcc63de5d111e3a0c72bd6378
8,184
/* * Copyright Microsoft Corporation * * 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...
34.386555
170
0.676564
2a393c02d184d6c9c7981dbde70a5e9912d27d7f
30,495
/* * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
51.950596
196
0.68526
c6737475550698049a65da6c0f9e7a590371eaaa
1,253
package com.salesmanager.core.business.services.vouchercode; import java.util.List; import com.salesmanager.core.business.exception.ServiceException; import com.salesmanager.core.business.services.common.generic.SalesManagerEntityService; import com.salesmanager.core.model.merchant.MerchantStore; import com.salesman...
39.15625
90
0.837191
c16f4150ae07b9149160a2ff37ef82675bd07aa8
5,085
/* * Copyright 2012 Hai Bison * * 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 ...
31.981132
119
0.632842
c9ce1aa8e013cf8f4a918424c080f8f466b64e12
437
package org.openapitools.openapistylevalidator.styleerror; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class GenericStyleErrorTest { @Test void equalsContract() { EqualsVerifier.forClass(GenericStyleError.class) ...
29.133333
84
0.718535
56e9e8b010fc7241d152dc877696f98332b375cf
4,690
package org.firstinspires.ftc.teamcode.ftc16072; import com.qualcomm.hardware.bosch.BNO055IMU; import com.qualcomm.robotcore.eventloop.opmode.OpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.HardwareMap; import com.qualcomm.robotcore.hardware.Servo; import com.qualcomm.rob...
32.797203
73
0.634968
24ced2bf1862eca1f7fa376b6fe93647260494ff
2,540
package uk.gov.dvsa.recalls.ui.page; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import uk.gov.dvsa.recalls.helper.FormDataHelper; import uk.gov.dvsa.recalls.navigation....
42.333333
123
0.722441
c9b7bb7fb987427fa25931c160ef6b50ccd4bddf
3,377
package com.msy.plus.core.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import springfox.documentation.service.*; import sp...
30.7
123
0.727569
a0a6c58e8311e0a698f17ac36bd3496368c07f5a
92
package com.zandero.ffpojo.metadata.positional; public enum PaddingAlign { LEFT, RIGHT }
13.142857
47
0.782609
6e8d8f756d69241875b41f1c36cf596006b882a3
159
package com.neutrix.videolibrary.base; public abstract class Pipe{ abstract public void dataIN (String in); abstract public String dataOUT (); }
14.454545
45
0.72327
f5d0cf8ed5065f7424e2981aebbe3ba623c9c7c9
4,326
package com.jaspersoft.jasperserver.core.util.validators; import com.jaspersoft.jasperserver.core.util.validators.InputValidator; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4...
29.428571
124
0.660425
c2eb7d37a5dc9cefb31a7aab3cf134d5e827c591
4,491
/* * Copyright 2019 olivier.tatsinkou. * * 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 ag...
23.513089
127
0.636384
3e36f0e6f94d9f401f7cbf258cf68d56190febc2
1,480
package oss.zipdeduplicate; import java.io.IOException; import java.util.TreeMap; import java.util.function.Supplier; import org.eclipse.jgit.lib.AnyObjectId; import org.eclipse.jgit.lib.FileMode; import org.eclipse.jgit.lib.ObjectId; import org.eclipse.jgit.lib.ObjectInserter; import org.eclipse.jgit.lib.TreeFormatt...
25.517241
71
0.744595
2df0aee32371274b10eeee6f06e4e0824a375de8
229
package org.echocat.kata.java.part1.model; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class Author { private String email; private String firstName; private String lastName; }
16.357143
42
0.790393
38b444c860923afbdfba6ec64f5c33ea1af944f0
5,331
/* * Copyright 2019 Mikołaj 'zozol' Szmalc * * 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...
37.020833
120
0.544551
c1cbf6acaa67b5c687d4c4c6845410fc535e9485
2,685
/* * JBoss Community http://jboss.org/ * * Copyright (c) 2010 Red Hat Middleware, LLC. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU Lesser General Public License, v. 2.1. * * Th...
26.067961
117
0.726257
a0a53d0be1a307e554ab4a33c16a14ea94cf7114
701
/* * Copyright (C) 2016 Lightbend Inc. <http://www.lightbend.com> */ package mihbor.lagom.game.hello.impl; import com.google.inject.AbstractModule; import com.lightbend.lagom.javadsl.server.ServiceGuiceSupport; import mihbor.lagom.game.api.GameService; import mihbor.lagom.game.hello.api.HelloService; import mihbor....
30.478261
80
0.784593
46b453b0745e8f977e99b3d95ef7970933ba9207
520
package io.mangoo.enums; import io.undertow.util.HttpString; /** * * @author svenkubiak * */ public enum Http { DELETE("delete"), GET("get"), HEAD("head"), OPTIONS("options"), PATCH("patch"), POST("post"), PUT("put"); private final String value; Http (String value) { ...
15.757576
42
0.567308
01b987d4d451b99732865236a4125a2dc3ee173a
2,661
package com.sequenceiq.freeipa.service.stack.instance; import java.util.Collections; import java.util.Map; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.env.Environment; import org.springframework.stereotype.Service; import com.sequenceiq...
42.238095
120
0.739572
584e6160f7657b1bc3979842e59833276e645a02
6,573
package org.jcodec.common; import android.graphics.Bitmap; import org.jcodec.common.model.ColorSpace; import org.jcodec.common.model.Picture; import org.jcodec.common.model.Picture8Bit; import org.jcodec.scale.BitmapUtil; import org.jcodec.scale.ColorUtil; import org.jcodec.scale.Transform; import org.jcodec.scale.Tr...
34.594737
116
0.657082
c79b452a0ebf805bc06a623df5037ce53d9459a0
2,963
package com.alipay.api.response; import java.util.Date; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.fincore.fundds.account.witness.query response. * * @author auto create * @since 1.0, 2022-01-13 17:50:40 */ public class AlipayFincoreFunddsAcc...
19.885906
84
0.724266
eb1aeea75987d14b2f9ed75cef6bf2a7e2ee2fa6
4,561
package com.youngdatafan.gateway.core.filter; import com.youngdatafan.dataintegration.core.util.Constans; import com.youngdatafan.gateway.tenant.UserTenantRepository; import java.net.URI; import java.util.List; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.functors.EqualP...
33.291971
140
0.659724
75ed4e8e073a905fccb666b33c96576e71bab08e
3,383
package com.rtugeek.android.colorseekbar.thumb; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.graphics.RectF; import com.rtugeek.android.colorseekbar.AlphaSeekBar; import com.rtugeek.android.colorseekbar.BaseSeekBar; import c...
31.915094
84
0.69731
2c0cfbfe725a89073c1e4d134ebaf5c6f944e57d
1,728
package org.aztec.framework.async.task.util; /** * ����OSS�������������������������system_property��key������ * * @author jack_liang 2015��7��23�� * */ public class OSSParam { /** * ��Ӧ��key��oss_access_id */ private String accessId; /** * ��Ӧ��key��oss_access_key */ private String ...
18.989011
105
0.643519
d34038d0a5593e24a2921e4d35c913c5c0fd4632
3,460
package com.artem.bakuta.logger; import com.artem.bakuta.logger.model.LogEntity; import java.text.SimpleDateFormat; import java.util.Date; public class Log { @SuppressWarnings("unused") public static void i(final String tag, final String msg) { if (BuildConfig.DEBUG) { android.util.Log....
34.6
136
0.553179
0fdb91c6794b191d77f346307f9f38d8ec2d06a0
2,044
package com.androiddeveloper.mz; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.squareup.pic...
31.446154
108
0.694716
c2f4bd90413483aef5dea779af25c1d8f6c0e71f
5,962
package ca.uhn.fhir.parser; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.util.TestUtil; import com.google.common.collect.Sets; import org.hl7.fhir.r4.model.Bundle; import org.hl7.fhir.r4.model.Patient; import org.junit.AfterClass; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFac...
34.865497
117
0.698088
833a3c3af9cb900671d9aa07a04c216f89b6c3f1
592
public class InsertionSort{ public int[] sort(int[] data){ for(int i=1; i < data.length; i++){ int key = data[i]; int j = i -1; while(j >=0 && key < data[j]){ data[j+1] = data[j]; j = j-1; } data[j+1] = key; } return data; } public void printArray(int[] data){ for(int i=0;i<data.leng...
21.142857
56
0.581081
7dce469bdebee59c31d64a277100144c437e4333
649
package org.uma.jmetal.algorithm.impl; import org.uma.jmetal.operator.impl.crossover.DifferentialEvolutionCrossover; import org.uma.jmetal.operator.impl.selection.DifferentialEvolutionSelection; import org.uma.jmetal.solution.DoubleSolution; /** * Abstract class representing differential evolution (DE) algorithms *...
36.055556
123
0.832049
3dcb331fd4701b0671ad61ae64e5b413d3dd1865
3,254
package org.jboss.da.listings.api.service; import org.jboss.da.listings.api.model.ProductVersion; import org.jboss.da.listings.api.model.ProductVersionArtifactRelationship; import org.jboss.da.listings.model.ProductSupportStatus; import java.util.List; import java.util.Optional; public interface ProductVersionServic...
29.853211
116
0.684696
b5b31b117bcaabc6b79e4f188ada9f71e06850eb
41,500
package com.mercadopago.presenters; import android.text.TextUtils; import com.mercadopago.callbacks.FailureRecovery; import com.mercadopago.controllers.CheckoutTimer; import com.mercadopago.controllers.PaymentMethodGuessingController; import com.mercadopago.core.CheckoutStore; import com.mercadopago.exceptions.CardTo...
33.521809
215
0.655133
187983a4e274252fbfc857fcc77465887e4d4a01
2,595
package com.xyj.mefugou.delegate; import android.content.Intent; import android.view.View; import android.widget.TextView; import com.xyj.mefugou.R; import com.xyj.mefugou.presenter.community.CommunityActivity; import com.xyj.mefugou.presenter.course.CourseActivity; import com.xyj.mefugou.presenter.home.HomeActivity; ...
32.848101
99
0.600385
56ad1ca743d5ee9e9a8082af3a400ec0c88f400a
5,584
package org.jeecg.modules.workflow.service.impl; import lombok.extern.slf4j.Slf4j; import org.camunda.bpm.engine.HistoryService; import org.camunda.bpm.engine.RepositoryService; import org.camunda.bpm.engine.TaskService; import org.camunda.bpm.engine.task.Task; import org.camunda.bpm.engine.task.TaskQuery; import org....
38.510345
131
0.692514
5f8b93f0afda2fc0780f01e69e5c7f4c921a7907
2,051
package enterpriseAndMobile.service; import enterpriseAndMobile.dto.QuizDto; import enterpriseAndMobile.dto.QuizPatchDto; import enterpriseAndMobile.model.Quiz; import enterpriseAndMobile.Exception.NotFoundException; import enterpriseAndMobile.model.Round; import enterpriseAndMobile.repository.QuizRepository; import o...
33.080645
90
0.69137
e4f0334d2694ee24f9028e77a0ad5b8316677788
4,984
/* * Copyright (C) 2015 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...
42.237288
99
0.704856
3618601bfacbd7b208b96c7ceabcae8c09a1cc7f
3,159
/* * 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 * dis...
22.891304
76
0.65812
1632bb793a17d09ad4433dc1eeb088518f332ef9
1,030
package leetcode200; import org.junit.jupiter.api.Test; public class N236 { class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) { ...
20.6
81
0.536893
3b9b7b8dc4362697cafe10c17422bb2fa9c9108a
96
package excepciones; public class PesoNoPuedeSerNegativoExcepcion extends RuntimeException { }
19.2
71
0.864583
520dda0ea8a9c2ecfc7c93ac464f0e10aa7d854d
3,287
/** * Copyright 2012-2015 Niall Gallagher * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
38.670588
128
0.701247
85f57adefd03d90275c4ad15489ebc5f24c907eb
114
package com.example.himanshupalve.carrental.Utils; public class MapUtils { public static float STDZOOM=15; }
19
50
0.780702
b5a86659348cca0280f2ddf577b910c28e175e68
1,150
package unifiwrapper.functions; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import unifiwrapper.devices.accesspoint.UnifiAP; import unifiwrapper.devices.accesspoint.UnifiAccessPoint; import unifiwrapper.devices.accesspoint.U...
25.555556
103
0.771304
a0d7bd0d3093a7f37bb9cc0ecba21bc265a6b023
188
/** Copyright (C) 2008 Volker Schönefeld. See the copyright notice in the LICENSE file. */ package net.volcore.wtvmaster; public interface Stoppable { public abstract void stop( ); }
23.5
90
0.739362
cf0f76d3d837476c86ca8271fa5cd9db0e5ec666
2,708
/* * Copyright (C) 2013 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...
30.426966
75
0.654357
00ead674be5674d6620750207234fbcbf7590139
203
package io.opensw.flypush.api.core.enums; public enum VariantType { GOOGLE_FIREBASE, GOOGLE_FIREBASE_LEGACY, GOOGLE_CHROME_WEBPUSH, MOZILLA_FIREFOX_WEBPUSH, APPLE_APNS_TOKEN, APPLE_CERTIFICATE }
16.916667
41
0.832512
34984b77cb693fdfed192d618efc8ee10a8abf75
27,409
import norswap.autumn.AutumnTestFixture; import norswap.autumn.Grammar; import norswap.autumn.Grammar.rule; import norswap.autumn.ParseResult; import norswap.autumn.positions.LineMapString; import norswap.sigh.SemanticAnalysis; import norswap.sigh.SighGrammar; import norswap.sigh.ast.SighNode; import norswap.sigh.inter...
38.713277
121
0.443504
7063846b8f33735b0bb23a61d1f301c04234db91
6,475
package edu.wpi.cs3733.c21.teamY.pages.serviceRequests; import com.jfoenix.controls.JFXComboBox; import com.jfoenix.controls.JFXDatePicker; import com.jfoenix.controls.JFXTextArea; import edu.wpi.cs3733.c21.teamY.dataops.AutoCompleteComboBoxListener; import edu.wpi.cs3733.c21.teamY.dataops.DataOperations; import edu.w...
34.625668
95
0.698224
73836adebea8b079a17596143ce03dc38cfb6355
178
/** * */ package com.gojek.amqp; /** * @author ganeshs * */ public interface AmqpSupport { /** * @return */ AmqpConfiguration getAmqpConfiguration(); }
10.470588
45
0.567416
14b52bf3e61e69efb7b5e698e4dde60162fd0465
735
package cn.cnic.security.configuration.service; import cn.cnic.security.configuration.entity.ImportAndExportEntity; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** * @author wq * @email 1013893214@qq.com * @date 2020-07-07 22:00 */ public interface ImportAndExportService ex...
21
81
0.69932
0e461b40a6239836f59c21e6fe32117234a7ff5b
1,815
package me.kafeitu.activiti.chapter7.engine; import org.activiti.engine.ProcessEngine; import org.activiti.engine.ProcessEngineConfiguration; import org.activiti.engine.ProcessEngines; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; /* Licensed under ...
37.040816
161
0.744353
529759616a4a16113f9f6ae76a2d835353f384ab
14,036
/* * 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 contable; import java.awt.Color; import java.math.BigDecimal; import java.math.RoundingMode; import java.sql.ResultSet; import...
44.987179
200
0.632374
97da123587fcc24dfd960648d9e40770b8092bd6
6,056
/*PLEASE DO NOT EDIT THIS CODE*/ /*This code was generated using the UMPLE 1.31.1.5860.78bb27cc6 modeling language!*/ package cruise.associations.compositions; import java.util.*; // line 48 "../../../../src/TestHarnessCompositionsLeft.ump" public class Xm_n__star { //------------------------ // MEMBER VARIABLES...
24.819672
176
0.643329
65ca9b67e635c40df47cc52deb4663c426e501ee
179
package com.dadsunion.tron.constants; public class SysConstant { public static final String PROJECT_NAME = "tron_wallet"; public static final String CHANNEL_CHAIN = "chain"; }
25.571429
57
0.787709
0e9540a1f01e3d37dc147df5b0c0439832ec8df4
407
package com.spartronics4915.frc2018.auto.modes; import com.spartronics4915.frc2018.auto.AutoModeBase; import com.spartronics4915.frc2018.auto.AutoModeEndedException; import com.spartronics4915.frc2018.auto.actions.FindCubeAction; public class FindCube extends AutoModeBase { @Override protected void routine()...
23.941176
63
0.788698
466f7c2b1f310b7c6d8c437ae7a08c39fa87544d
2,223
package cu.kareldv.apklis.api2.internal; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import cu.kareldv.apklis.api2.utils.LockerHelper; import okhttp3.Call; import okhttp3.Callback; import okhttp3.Headers; im...
30.040541
147
0.646874
077337eac701caebccfceb87a6151e80aab84fd0
874
package org.neuroph.netbeans.explorer; import java.util.Arrays; import java.util.List; import org.neuroph.core.Connection; import org.neuroph.core.Neuron; import org.openide.nodes.ChildFactory; import org.openide.nodes.Node; /** * * @author zoran */ public class NeuronChildFactory extends ChildFactory<Connection> ...
24.971429
82
0.720824
c88c024359f51c47d22718bd2ddd0d0012f32db4
1,423
/* * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.grib; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ucar.n...
24.534483
104
0.704849
106e34991c4fc2ae7a78734381d563bc97bec59a
1,544
package com.wind.ws.controller; import com.wind.ws.entity.po.UserInfo; import com.wind.ws.entity.query.UserSaveQ; import com.wind.ws.service.UserInfoService; import com.wind.webapi.constants.HttpCode; import com.wind.webapi.message.JsonResult; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplici...
29.132075
106
0.732513
d0b3f1749f282bfc6582ca8c307db7f8a5f6be20
10,647
package discover.components; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.HashSet; import shared.database.connectivity.DataSourceFactory; import shared.database.connectivity.DatabaseUtil; ...
39.433333
143
0.646379
c118021ff66a8632125dd391576d8462031a9364
3,059
package br.com.delogic.jnerator; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collection; import br.com.delogic.jfunk.Has; import br.com.delogic.jnerator.impl.generator.LoremIpsumAttributeGenerator; import br.com.delogic.jnerator.impl.generator.ProvidedAttributeGenerator; import br.com...
31.864583
117
0.674403
7fee2514cb76ddc4e14686e28b60218eebab8b1c
10,816
/* * 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 ...
45.066667
158
0.694157
3fa3087c18a6f13de61bd26443085c70b20904cc
21,596
package org.python.core; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import org.python.core.ByteBufferTestSupport.ByteMaterial; /** * Supporting test fixtures for testing {@link PyBuffer} implementations, this class provides means * to generate test specifications and organise t...
39.625688
100
0.588952
7bcfd10944304bee9d84d038295afe3249a86192
6,576
/* * MIT License * * Copyright (c) 2020 Seweryn S * * 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...
36.533333
87
0.711071
e71128e9da408117bf8e646ee03ff4ee5fe0b82d
7,091
/* * Copyright 2013 Haulmont * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
38.538043
127
0.686927
eda3e2a04536e117d24470f3414d02ddc3ce48f1
2,144
package com.cocos2dj.module.visui; import com.badlogic.gdx.scenes.scene2d.Actor; import com.kotcrab.vis.ui.util.TableUtils; import com.kotcrab.vis.ui.widget.VisScrollPane; import com.kotcrab.vis.ui.widget.VisTable; import com.kotcrab.vis.ui.widget.VisWindow; import com.kotcrab.vis.ui.widget.file.FileChooser; import co...
30.197183
106
0.777985
767ad7afadae450d01984390679bf7f3eced04a1
666
package com.cedaniel200.patterns.creational.singleton; public class MultiThreadProduct { private static MultiThreadProduct multiThreadProduct; private MultiThreadProduct() { } public static MultiThreadProduct getInstance(){ if(multiThreadProduct == null){ synchronized(MultiThreadP...
26.64
66
0.644144
dcebde0142b48d7024b6714411c8f1f140d4d76d
2,285
/* * 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 Abstract; public class pessoaModal { private String NomeCompleto; private String CPF; private String RG; privat...
21.556604
161
0.588184
4a81ff6044b178ccd4210fbe692d8401ee6f1ea5
6,337
package io.github.alantcote.dupfilefinder2.pipeline; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.concurrent.TimeUnit; import io.github.alantcote.dupfilefinder2.beans.property.FXThreadIntegerProperty; import io.github.alantco...
28.545045
91
0.691179
3aac847d02af181e78727acf8f685af65b07d0ba
311
package com.myfragmentdemo.utils; /** * Copyright © 2017 Zego. All rights reserved. */ public enum BoardState { Ended(0), Applying(1), WaitingBoard(2), ConfirmBoard(3), Boarding(4), WaitingGameResult(5); int mCode; BoardState(int code){ mCode = code; } }
11.518519
46
0.594855
bc7236762257f7b229ce6ba18d64f77f779341d7
2,700
package com.lufax.jijin.daixiao.dto; import com.lufax.jijin.base.dto.BaseDTO; /** * Created by chenguang451 on 2016/1/6. */ public class JijinExStockConfDTO extends BaseDTO { private String fundCode; private String endDate; private String stockCode; private String stockName; private String ...
19.285714
60
0.638519
5827507b8b333e9d30c91ddcc84f208accafec77
2,035
package br.com.anteros.sms.integration.sdk.facilitamovel.bean; public class SmsSimples { private Integer id; private String user; private String password; private String destinatario; private String message; private String chaveCliente; private Integer dia; private Integer mes; private Integer ...
20.555556
63
0.676658
bf4298e863a113cf4315fb1ef77f9b5fe7388173
1,267
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/...
28.795455
75
0.683504
a0978135aeae305d6784c952a1e6c4b0c4dd0c1e
295
package com.application.maskhos.maskhosblogapi.Model.interfaces.httpzoid; /** * (c) Artur Sharipov */ public interface Cancellable { public static final Cancellable Empty = new Cancellable() { @Override public void cancel() { } }; public void cancel(); }
19.666667
73
0.650847
11b8766f3569f7a2ce3a173b5872666793e2c0a5
547
package com.olerass.pfexample.android.criminalintent.domain.crimes; import com.olerass.pfexample.android.criminalintent.domain.crime.Crime; import java.util.List; import java.util.UUID; public class StandardCrimeListModel implements CrimeListModel { private CrimeLab lab; public StandardCrimeListModel(CrimeL...
21.88
71
0.707495
437a3a38051208acab9b345ecd63d6f91dbd648f
1,427
package uk.ac.ic.wlgitbridge.git.handler; import org.eclipse.jgit.lib.Repository; import org.eclipse.jgit.transport.UploadPack; import org.eclipse.jgit.transport.resolver.UploadPackFactory; import uk.ac.ic.wlgitbridge.git.servlet.WLGitServlet; import uk.ac.ic.wlgitbridge.util.Log; import javax.servlet.http.HttpServle...
31.021739
78
0.693763
6aea840dc7a0564c0515e65057b8d1eebafb0ad8
5,136
package jp.yoshi_misa_kae.tatami.views; import android.Manifest; import android.content.Context; import android.support.annotation.NonNull; import android.util.AttributeSet; import android.view.View; import com.google.android.gms.maps.CameraUpdate; import com.google.android.gms.maps.CameraUpdateFactory; import com.go...
33.135484
108
0.606308
34197727b1ddfeb2a54d30d34e4f46640f5d8304
291
package java8; import java.util.Optional; /** * 2021/4/23 下午3:40 * aiguoxin * 说明: */ public class NullTest { public static void main(String[] args) { String name = null; name = Optional.ofNullable(name).orElse(""); System.out.println("name="+name); } }
17.117647
52
0.601375
b9820bd1e46656284138c431bf982df1c3957a95
688
package org.study.design.design.strategypattern.paywayment; import org.study.design.design.strategypattern.paywayment.bean.PayState; /** * @program: design * @description: 支付接口相关抽象类 * @author: gaoxiang * @email: 630268696@qq.com * @create: 2020-11-28 21:26 **/ public abstract class Payment { // 支付类型 pu...
24.571429
72
0.661337
7022e67751f79a0277156ea873cd3d9dc4fa152f
3,947
package cn.dendarii.ivan.api.content.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.query.Criteria; import org.springframework.data.mongodb.core.query.Query; import org.springframework.web.bind.annotation.PathVariable; imp...
36.546296
94
0.696985
5efcb1d654119b86b0b7ca3909fce1355692911a
3,168
package com.geofence.demo.elastic; import java.io.IOException; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.impl.client.BasicCredentialsProvider; import org.apa...
34.434783
178
0.762626
566069f9202edb13f858ee9209f5c748db3ab92c
1,314
package com.octoperf.kraken.security.authentication.service.account; import com.octoperf.kraken.config.security.client.api.SecurityClientProperties; import com.octoperf.kraken.security.authentication.api.AuthenticationMode; import com.octoperf.kraken.security.authentication.api.UserProviderFactory; import com.octoperf...
35.513514
97
0.840944
a3c1e665cc9cb61db5e57c1582f8285bb94481c8
1,640
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
48.235294
144
0.825
14e10dae6c37d1b1a0052b9a21a8cd34bccac02b
2,235
import org.geotools.factory.CommonFactoryFinder; import org.geotools.filter.text.cql2.CQL; import org.geotools.filter.text.ecql.ECQL; import org.geotools.filter.v1_0.OGC; import org.geotools.xml.Parser; import org.junit.Test; import org.opengis.filter.Filter; import org.opengis.filter.FilterFactory2; import org.opengis...
37.881356
112
0.704251
20fe7920341f02b8fcf1d10c7c1cb1dd6bc0e563
1,064
package com.achais.leetcode.offer; public class Solution04 { public boolean findNumberIn2DArray(int[][] matrix, int target) { if (matrix.length == 0) { return false; } int n = matrix[0].length; int r = n - 1; for (int[] ints : matrix) { for (int j = 0...
25.95122
70
0.414474
3122c042c85b33ee0193a9329859907e07f7eeda
765
package org.sakaiproject.profilewow.tool.validators; import org.sakaiproject.profilewow.tool.facade.SakaiPersonFacade; import org.springframework.validation.Errors; import org.springframework.validation.Validator; import lombok.extern.slf4j.Slf4j; @Slf4j public class ProfileValidator implements Validator { public...
20.131579
65
0.75817
94058ad2b57c9bcc2cb088e1bfbaa4a538f4f4ee
2,449
/* * Copyright 2018 LINE Corporation * * LINE Corporation licenses this file to you 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 r...
44.527273
114
0.739077