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
f11919886967c8ba6935b9dc4a097a9315a92fee
548
package com.github.sawied.microservice.experience; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.netflix.feign.EnableFeignClients; @Spring...
32.235294
72
0.859489
a598f5c9c0ef2bf58dbe862fac16f6fbcb923224
12,484
/* * Copyright 2015-2017 GetSocial B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
31.765903
145
0.750641
d074c86bca598ea42a25bd47fc85c61639af033f
2,373
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.interpolation; import org.apache.commons.lang.NotImplementedException; import org.apache.commons.lang.Validate; import com.opengamma.analytics...
33.9
113
0.713864
1ac4be6b9c1582316c6e7ddec57e96b1aca303ad
11,659
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
42.090253
156
0.798096
27e0eac69960ac94c7ce6f1a5e721d4abd45b934
15,938
/* * 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...
35.183223
225
0.572782
d7bce893310a01c0b24e434f860d6c09161d67aa
1,392
package com.silencedut.hub.navigation.impl; import android.util.Log; import com.silencedut.hub.BuildConfig; import com.silencedut.hub.IHub; import com.silencedut.hub.utils.NumberUtil; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; /** * * @author Silen...
25.309091
100
0.640805
e795f43e98c3c5104e4b93bdb5da4c705ff7959b
3,054
// // Decompiled by Procyon v0.5.36 // package org.apache.maven.scm.provider.svn.svnexe.command.blame; import java.text.ParseException; import java.util.Date; import java.util.regex.Matcher; import java.util.TimeZone; import java.util.ArrayList; import org.apache.maven.scm.log.ScmLogger; import org.apache.maven.scm...
37.243902
120
0.644073
ff42e80ed0b091673a394bd07eb2fc25161c37b2
298
package ir.maktab.project.mapper; import ir.maktab.project.domain.Question; import ir.maktab.project.domain.dto.QuestionDTO; import org.mapstruct.Mapper; import java.util.List; @Mapper public interface QuestionMapper { List<QuestionDTO> convertEntitiesToQuestionDTO(List<Question> list); }
21.285714
72
0.805369
116c6c028c7c43953ff10bcd0c8f23b38dd486f3
1,027
package mx.udlap.equations; import mx.udlap.sofia.R; import mx.udlap.sofia.R.layout; import mx.udlap.sofia.R.menu; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.widget.TextView; public class Equation_theory extends Activity { Equation_theoryValues eq = new Equation_t...
30.205882
74
0.776047
0d6a748cbfb72e3afa440228b1e7488709fa1db2
2,507
/** * Copyright 2019-2021, Zhichun Wu * * 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...
32.141026
104
0.664938
4b1aaf5e7c1333220e096411a980018889c1fd44
674
import java.util.ArrayList; import java.util.Arrays; /** * @author Ali Ansari * @version 1.0.0 * Polygon class extend to Shape */ abstract public class Polygon extends Shape{ ArrayList<Integer> sides = new ArrayList<>(); public Polygon(Integer... args){ sides.addAll(Arrays.asList(args));...
22.466667
50
0.574184
cb2b2bd323c9e22ca7018538ae088668033d5c9e
1,806
package Native; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.nio.charset.Charset; public class SendResults { public String mailFrom, mailTo, mailTitle, mailT...
31.137931
132
0.725914
bfc69d68ad597b85a80889b7703085d2f13260ef
2,141
package com.tags.jsf.form; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.Map; import javax.faces.component.FacesComponent; import javax.faces.component.UIComponentBase; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWriter; import com...
25.188235
131
0.688463
0189bf88d3b4ed703f55f81ba7e73f09f07f27d7
3,568
/* * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 */ package org.opensearch.knn.plugin.transport; import org.opensearch.knn.plugin.stats.KNNStats; import org.opensearch.action.FailedNodeException; import org.opensearch.action.support.ActionFilters; import org.opensearch.action.support.n...
31.298246
104
0.700953
8302fbfb24dc8e6ae5981762e7457bf393aa35ae
1,890
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package bzh.ys.javabyexample.language.loop; import java.io.File; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * * @author yannig */ public class Loop { static final List...
19.894737
57
0.45873
cf60e937dc4be75dfa2382aa9d2de00a2059937a
705
/* * Copyright (C) 2019 Baidu, Inc. All Rights Reserved. */ package com.baidubce.services.dugo.project; import com.baidubce.services.dugo.AbstractDuGoRequest; import java.util.List; /** * Batch unbind vehicles request */ public class BatchUnbindVehiclesRequest extends AbstractDuGoRequest { private String pro...
21.363636
69
0.695035
656dea1ed09808bab9f719b1baa216e9be74e0df
2,059
package com.vaadin.tests.components.combobox; import org.junit.Test; import org.openqa.selenium.Keys; import org.openqa.selenium.interactions.Actions; import com.vaadin.testbench.By; import com.vaadin.testbench.elements.ComboBoxElement; import com.vaadin.testbench.elements.NativeSelectElement; import com.vaadin.tests...
34.898305
78
0.673142
bc8da9d11bf9dfed098e7c2c7ff1c1986b5b4a72
255
package simpleDao.dao; import simpleDao.entity.Car; import simpleDao.entity.Client; import java.util.List; public interface IClientDAO { void add(Client client); List<Client> getAll(); Client getById(int id); void remove(int id); }
14.166667
31
0.709804
401e9ca0fc760c743bd483d52c39f23fcfde43d1
4,117
package de.hpi.mpss2015n.approxind.utils; import com.google.common.base.Verify; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.Comparator; import java.util.Map; import java.util.Objects; public final class SimpleColumnCombination implements Comparable<SimpleColumnCombination> { ...
30.496296
153
0.646587
6e8a75bde0ca106d1e5239293c7f535a53d72fd1
2,559
package com.hero.basiclib.http; import android.util.Log; import org.codehaus.jackson.JsonParseException; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.type.TypeReference; import ja...
25.848485
129
0.590856
045bd40c7ac5db92b38da00b7551467165be8a42
2,105
package xyz.kkt.burpplefoodplaces.data.vos; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import com.google.gson.annotations.SerializedName; import xyz.kkt.burpplefoodplaces.persistence.BurppleContract; /** * Created by Lenovo on 1/17/2018. */ public class ...
29.647887
121
0.750594
fc04af6d26b2f604ff114a4e0a25553154d92a7e
3,833
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
36.855769
101
0.658492
b883ae90285ed961e3e412e506573d916537ad4c
2,305
/* * Created by Vojta3310 * If you want to use mi code, keep here this header, pleas! * Thanks Vojta3310. */ package VControl.Settings; import VControl.Commander; import VControl.Command; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.i...
23.282828
97
0.601735
a8e40055a827add5d78b09ececff6cd2fc44eb94
2,072
/* Benchmarking Suite Copyright 2018 Engineering Ingegneria Informatica S.p.A. 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 r...
27.263158
81
0.725869
ef92998a6d1e4e68184b235de4d1ed120066e142
3,333
/* * Copyright (C) 2019 Digitoy Games. * * 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...
30.3
79
0.525353
9f2d87b7214c65c3fc2ecb170c29338916cc6b6f
2,095
package de.hamburger_software.util.junit.microprofile.config; import io.smallrye.config.SmallRyeConfig; import org.eclipse.microprofile.config.Config; import org.eclipse.microprofile.config.ConfigProvider; import org.eclipse.microprofile.config.inject.ConfigProperty; import org.junit.jupiter.api.extension.ExtensionCon...
43.645833
144
0.767542
89ab87e8b58b93f23e0327ea2dceeddb1759f393
3,601
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2018 GwtMaterialDesign * %% * 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 * ...
31.587719
103
0.633713
900f4d0e8ceef1e02ab4b9e3ce079bf0d678041c
4,160
package com.web_services.instant_pot.dal.payment; import java.util.HashSet; import java.util.List; import java.util.Set; import org.hibernate.*; import org.hibernate.cfg.Configuration; import com.web_services.instant_pot.dal.customer.CustomerDAL; import com.web_services.instant_pot.domain.address.Address; import com...
31.278195
124
0.726923
610be837347624bc8527d300d02bc39fdd6ebb69
1,597
package net.obvj.smart.console.enhanced.commands; import static org.junit.Assert.assertTrue; import static org.powermock.api.mockito.PowerMockito.when; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith;...
25.758065
87
0.732624
29307b36f4b62153c515bcaa7b51e26865c972fc
6,035
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.orchestrator.model; import com.yahoo.config.provision.ApplicationId; import com.yahoo.vespa.applicationmodel.ApplicationInstance; import com.yahoo.vespa.applicationmodel.HostNa...
37.955975
127
0.666943
7293ad037976e3ab71184a73549b118214d72977
190
package com.eis.transaction.service; import com.eis.transaction.entity.Blotter; import java.util.List; public interface BlotterService { List<Blotter> findByUserId(Integer userId); }
19
47
0.789474
d76c6c5f08f976a11ae6db1114c736266b1cc9bd
1,003
/* Copyright 2016 Jacopo Rigoli 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 d...
25.075
74
0.77667
fb3ee82371e281b4571e65ab2d269f15fcac60e2
451
package org.packt.nosql.mongo.core.service; import org.packt.nosql.mongo.core.model.data.Department; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; public interface DepartmentService { public Flux<Department> getAllDepts(); public Flux<Department> getAllDepts(Flux<Long> ids); public M...
23.736842
56
0.78714
b6b9ee28310bf76af686d57395c9087e585ba85d
2,006
package com.fundynamic.d2tm.game.rendering; import org.newdawn.slick.Color; import org.newdawn.slick.Image; import org.newdawn.slick.ImageBuffer; import java.util.ArrayList; import java.util.List; public class Recolorer { private List<Color> colorsToRecolor; public Recolorer() { this.colorsToRecolo...
31.34375
115
0.608674
7d2fc6e15312679dffbfe6884cc87ca8198a1175
3,896
/* * Copyright (C) 2012 Sony Mobile Communications AB * * This file is part of ApkAnalyser. * * 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/LIC...
28.231884
165
0.670688
62c576144221fd00c182f7df641f36669c2d676e
3,116
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
29.67619
95
0.700578
3be6016ed1e214c3e0c8a46c5a88aa4255e40725
529
package co.mobiwise.optimus.example; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import co.mobiwise.optimus.Optimus; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); set...
27.842105
69
0.778828
68ba885980af9f08a878435fa81b7eb4fbdea2f9
20,505
package edu.cmu.ml.rtw.theo2012.core; import java.util.Collection; import java.util.ArrayList; import edu.cmu.ml.rtw.util.TypeChangingFilter; /** * This is a Theo1 implementation that adds only the minimum allowed functionality to a Theo0 * implementation. This involves avoiding returning null, and not much else...
25.63125
170
0.677542
a57d0a4cd44df95cb9982756a5313e4c7eb49657
41,986
package com.xiaomi.mipush.sdk; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.text.TextUtils; import com.xiaomi.channel.commonutils.logger.b; import com.xiaomi.channel.commonutils.string.d; import ...
38.238616
161
0.529033
4e52e76ddfaecfcda5cd451ef96ef76502c1a3da
284
package test.jpa.more.business.history.service; import org.iglooproject.jpa.more.business.history.service.AbstractHistoryValueServiceImpl; import org.springframework.stereotype.Service; @Service public class TestHistoryValueServiceImpl extends AbstractHistoryValueServiceImpl { }
28.4
90
0.862676
366422078c61e02a072e19fabf320c3e43d94572
2,617
/* Copyright 2012 Damian Murphy murff@warlock.org Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
31.154762
96
0.583493
4b7cd1d0552b283ecf178a7377c7e1bf2dfd400a
12,540
package com.huazie.frame.jersey.client.resource; import com.huazie.ffs.pojo.download.input.InputDownloadAuthInfo; import com.huazie.ffs.pojo.download.input.InputFileDownloadInfo; import com.huazie.ffs.pojo.download.output.OutputDownloadAuthInfo; import com.huazie.ffs.pojo.download.output.OutputFileDownloadInfo; import...
38.944099
158
0.706699
a83f33751aa87115988b2c23935941e9caf0e653
1,579
/* Copyright 2017 Danny Kunz 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 ...
19.7375
73
0.760608
677be26ab596a2449b5e007eabfaabdf9ba4af12
723
package com.onesignal.sdktest.activity; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import com.onesignal.sdktest.R; import com.onesignal.sdktest.model.SplashActivityViewModel; public class SplashActivity extends AppCompatActivity { @Override public void onCreate(Bundle savedI...
24.931034
67
0.716459
ac58a998a5030154198e7a7f1fcf3da7a7c30eba
4,476
package demo; import java.util.Objects; import java.util.Set; import cn.jiguang.common.ClientConfig; import cn.jiguang.common.ServiceHelper; import cn.jiguang.common.connection.ApacheHttpClient; import cn.jiguang.common.resp.DefaultResult; import cn.jpush.api.JPushClient; import cn.jpush.api.push.PushResult; import c...
43.038462
120
0.715147
edbd98dda520cfa936ecdc7df9c85f87b71672bb
616
package com.google.sps.servlets; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet("/myservlet") public class MyServlet extends HttpServlet { @Overri...
32.421053
98
0.775974
5edf019889cf5cb8ce37d04c5590b5e773efaf4f
580
package com.gentics.mesh.graphdb.spi; import com.gentics.mesh.core.db.Tx; import io.reactivex.functions.BiFunction; import io.reactivex.functions.Function; public interface Transactional<T> { T runInExistingTx(Tx tx); T runInNewTx(); // <R> Transactional<R> map(Function<T, R> mapper); <R> Transactional<R> mapInT...
29
86
0.72069
8209dad43c487f3c3e733222c6c4e4af2e3fb8d0
269
package de.sollder1.stuff.jsonparser.tree.nodes.nonterminal; import de.sollder1.stuff.jsonparser.tree.nodes.JsonNode; import java.util.List; public class ArrayNode extends JsonNode { public ArrayNode(List<JsonNode> children) { super(children); } }
19.214286
60
0.747212
079cc00e7b655e4508d7f8769d9c30e354c829dc
16,027
package com.st.preload.server; import android.content.Context; import android.net.Uri; import android.util.Log; import androidx.annotation.NonNull; import com.st.preload.GetRequest; import com.st.preload.IgnoreHostProxySelector; import com.st.preload.cache.CacheListener; import com.st.preload.config.Config; import c...
36.01573
153
0.627379
86a5702556838b1c0eeb3f8253848338ef5f58bc
8,368
/** * Copyright (C) 2015 Orange * 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, s...
42.050251
154
0.740679
8513d8e6677761af980fea1dedaccc5c76698b60
3,691
/* * The contents of this file are subject to the terms of the Common Development * and Distribution License (the License). You may not use this file except in * compliance with the License. * * You can obtain a copy of the License at http://www.netbeans.org/cddl.html * or http://www.netbeans.org/cddl.txt. * * ...
46.721519
97
0.705771
74631b17f99d5d60918e94b6d19f5263d250e91e
8,978
package seakers.engineerserver.test; import org.moeaframework.core.*; import org.moeaframework.core.operator.CompoundVariation; import org.moeaframework.util.TypedProperties; import seakers.architecture.Architecture; import seakers.architecture.util.IntegerVariable; import seakers.engineerserver.search.problems.Partit...
40.26009
133
0.593117
257ae10b4607079caee9ba21fbec7f4d52f67b9a
7,895
package net.cnri.cordra.sync.curator; import java.nio.charset.StandardCharsets; import java.util.AbstractMap; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Exec...
40.906736
153
0.667004
93ffa357838797fcaea3aacf8a55ecceac79d879
2,838
package com.hubspot.singularity; import java.util.Map; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Optional; import com.hubspot.mesos.json.MesosResourcesObject; import com.w...
31.533333
210
0.729739
b1ee2a3ff64c9b300710c448054272c69a2725d9
372
package com.cw.jerrbase.base.api; /** * @version V1.0 * @ClassName: ${CLASS_NAME} * @Description: (基础框架) * @create by: chenwei * @date 2017/3/14 14:55 */ public interface IFrame { /** * 初始化ButterKnife */ void initButterKnife(); /** * 初始化EventBus */ void initEventBus(); ...
13.777778
33
0.545699
50db5c3e0650346cac586eeb2cad54f5e9ed1184
2,918
package com.vincan.tinyhttpd; import com.vincan.tinyhttpd.codec.HttpResponseEncoder; import com.vincan.tinyhttpd.codec.ResponseEncoder; import com.vincan.tinyhttpd.request.HttpRequest; import com.vincan.tinyhttpd.response.HttpResponse; import com.vincan.tinyhttpd.utils.LogUtil; import com.vincan.tinyhttpd.utils.Util; ...
30.715789
108
0.679232
f201744aed0525d33fb6968db751c5dbb4b54253
390
package gae.gameWorld; import java.awt.Dimension; import javafx.beans.property.ObjectProperty; import gameworld.AbstractWorld; import gameworld.GameWorld; /** * Interface that creates a GameWorld object * @author JohnGilhuly * */ public interface GameWorldFactory { public AbstractWorld createGameWorld(); ...
20.526316
69
0.787179
a987c955756dbff86147a855767d5e3faab5b148
1,093
package io.cloudbeaver.service.data.transfer; import org.jkiss.dbeaver.Log; import java.io.File; public class WebDataTransferTaskConfig { private static final Log log = Log.getLog(WebDataTransferTaskConfig.class); private File dataFile; private WebDataTransferParameters parameters; private String e...
24.288889
91
0.68344
bea79a6109655b3aaeaadc5cb64b8a72c8f30826
2,036
package app.services.impl; import app.constants.Messages; import app.io.Writer; import app.model.dtos.binding.AccessoryImportDto; import app.model.entities.Accessory; import app.model.entities.Photographer; import app.repositories.AccessoryRepository; import app.repositories.PhotographerRepository; import app.services...
36.357143
103
0.756876
0468df4e46ead5ce1f44009cdc57d66f6cae26d3
100
/** * Provide APi to manage JRebirth internal Facades. */ package org.jrebirth.af.api.facade;
20
52
0.7
8087288c3ae51f51b41bb3527ed42f49b1d2b409
2,571
package tran.nam.alarmtimer.application.view.adapter; import android.databinding.DataBindingUtil; import android.view.LayoutInflater; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; import java.util.Objects; import javax.inject.Inject; import tran.nam.alarmtimer.R; import tran.nam....
29.895349
149
0.68028
a5820e091deef1a2c737055b2e688849d23793b5
8,402
/** * Copyright 2009-2019 PrimeTek. * * 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.594059
177
0.636039
8ec6e0d2081d66b9a3c591f686f077e2c2391762
183
package io.kenxue.cicd.coreclient.exception.code; /** * 状态码获取接口 */ public interface ErrorCode { Integer getCode(); String getDesc(); ErrorCode setMsg(String msg); }
13.071429
49
0.677596
ecf4183b532f570178718dca4b1b1667ece106e7
15,289
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
35.391204
133
0.693898
406106b9443087569f41185c286f8e9f828e4c89
819
package felipe.com.asynctask; import android.os.AsyncTask; import felipe.com.database.dao.AlunoDAO; import felipe.com.model.Aluno; import felipe.com.ui.adapter.ListaAlunosAdapter; public class RemoveAlunoTask extends AsyncTask<Void, Void, Void> { private final AlunoDAO alunoDAO; private final ListaAlunosAda...
24.088235
88
0.699634
d1ff32844fc2c828c4d9043a4cf6e2509ada5452
17,900
package io.resttestgen.core.datatype.parameter; import com.google.gson.internal.LinkedTreeMap; import io.resttestgen.core.datatype.NormalizedParameterName; import io.resttestgen.core.datatype.ParameterName; import io.resttestgen.core.helper.ObjectHelper; import io.resttestgen.core.openapi.EditReadOnlyOperationExceptio...
38.997821
124
0.641732
f4a627300940cc68af06b1e0b50314bf9f3c4f01
1,833
/** * Implementation of TSP * https://github.com/sukritishah15/DS-Algo-Point/issues/133 * Contributed by @jhoserpacheco : https://github.com/jhoserpacheco */ /* Algorithm used at my university in competitive programming contests travelling salesman problem. Returns the minimum route doing a tour visiting all no...
23.5
79
0.579924
7ce34c9ca06fcf5fd770c67834ee11149445b16a
178
package application.entity.customer; /** * A gender's enumeration type. * * @author Andrea Graziani * @version 1.0 */ public enum Gender { Male, Female, NotSpecified }
14.833333
36
0.685393
ff6af8ff4ee6a730e2d93d123e120e49122800aa
641
package com.example.demo.myConfigurations; import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; import org.springframework.stereotype.Component; /** * Setting configuration trough Java code instead...
33.736842
102
0.836193
8c5a08a416aaada3392be52bf9abb749a9d7ef0e
6,987
/* * Copyright 2019 Miroslav Pokorny (github.com/mP1) * * 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...
45.666667
155
0.703879
9003a926380d19782690fe2f4641d00f2981b863
883
package com.icantremembernumbers.deckofcardsapi.domain; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; public class AllCards { private static final List<Card> allCards = new ArrayList<>(52); static { final CardSuite[] suites = CardSuite.value...
25.970588
85
0.638732
24fd55f6e694b85ab3a7a0d14a0d7b8419ecc240
4,083
package im.actor.core.api; /* * Generated by the Actor API Scheme generator. DO NOT EDIT! */ import im.actor.runtime.bser.*; import im.actor.runtime.collections.*; import static im.actor.runtime.bser.Utils.*; import im.actor.core.network.parser.*; import org.jetbrains.annotations.Nullable; import org.jet...
28.552448
236
0.59662
27055df3a2c546ca40047d322236f93e06e27045
436
package pl.java.scalatech.domain.oneToMany.table; import javax.persistence.Entity; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import pl.java.scalatech.domain.AbstractEntity; @Entity @AllArgsConstructor @NoArgsConstructor @Data public class Part extends AbstractEntity{ ...
21.8
71
0.830275
5996163962c5e36409bb8683d938bff8121c0582
5,337
// Copyright © 2016-2019 Andy Goryachev <andy@goryachev.com> package goryachev.reqtraq.tree; import goryachev.common.util.D; import goryachev.fx.FX; import goryachev.fx.table.FxTreeTable; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.geometry.Orientation; import javafx.scene....
24.369863
108
0.681656
7d18077cff5558b24a859c8e6bc67984ecb5daed
3,248
package com.hazelcast.simulator.utils; import org.junit.Test; import java.io.File; import static com.hazelcast.simulator.utils.BuildInfoUtils.DEFAULT_FALLBACK_MAJOR_VERSION; import static com.hazelcast.simulator.utils.BuildInfoUtils.DEFAULT_FALLBACK_MINOR_VERSION; import static com.hazelcast.simulator.utils.BuildInf...
38.211765
126
0.78202
c632399bb212ff64d7bcf0b635c4cbeed93f0ecb
520
/* Copyright (C) 2001, 2003, 2005 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ package gnu.gcj; public class Core { public native static Core create (String nam...
20.8
76
0.725
8e4bd6571c619dd5b9b298656f21ad82b51f67cf
70
public abstract class Customer { public abstract void gettype(); }
11.666667
32
0.742857
9c3238e514fae8d8bed1b03cd41005334ab3b119
240
package com.mall.admin.product.urd; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class MallAdminProductUrdApplicationTests { @Test void contextLoads() { } }
17.142857
60
0.766667
088943fad8e570ced011a6a3f59f8e3fbc0160c7
491
package com.plataformaconteudos.api.service.serviceImpl; import com.plataformaconteudos.api.entity.Document; import com.plataformaconteudos.api.service.CourseService; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; @Service public class CourseServiceImpl implements Cours...
24.55
57
0.786151
d1966dfb2ea5d22f7f6d16444fad47d5dcfea0c1
3,850
package ch.yax.connect.quickstart.rest; import lombok.Builder; import lombok.Getter; import lombok.ToString; import org.apache.kafka.connect.health.ConnectClusterState; import org.apache.kafka.connect.health.ConnectorHealth; import org.apache.kafka.connect.health.ConnectorState; import org.apache.kafka.connect.health....
31.557377
97
0.67039
b2ba47f49c8f56bdeb2b59549c74c1de31d0a059
3,293
package edu.washington.cs.detector; import java.io.IOException; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import com.ibm.wala.ipa.callgraph.Entrypoint; import com.ibm.wala.ipa.cha.ClassHierarchyException; import edu.washington.cs.detector.CGBuilder.CG; import edu.washing...
38.741176
150
0.78591
0692f2dd07b488a6e74b90a28b035b59bb41c0c0
905
package ch13.container2; import util.Fmt; class SimpleContainer<T> { private T content; public SimpleContainer(T content) { this.content = content; } public T getContent() { return content; } public void setContent(T content) { this.content = content; } @Ove...
23.205128
85
0.61989
213b420967d0a0fc454511296dc39041f982ccc3
119
/* Copyright (C)2021 Vivian */ package com.codeHub.models; public class PersonLists { Participant participant; }
17
31
0.731092
acce5e06b0d6dd814a820d22143a766196357df7
154
package xworker.swt.functions; public interface AutoScroll { public boolean isAutoScroll() ; public void setAutoScroll(boolean autoScroll) ; }
19.25
49
0.753247
c034ef7d90690c52a0f3ef3c094e2e05f7bec089
4,353
package com.wecoo.qutianxia.adapter; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import android.support.v4.content.ContextCompat; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; i...
40.682243
103
0.635194
7c7ac64e30bc0c1eab7703cc877415d075f532ff
1,098
import java.util.concurrent.Semaphore; public class Farm implements Runnable { private String ibid; public static Semaphore ora = new Semaphore(1); public static int swoosh = 0; public Farm(String tag) { this.ibid = tag; } public void run() { while (true) { System.out.println(ibid + ": Wai...
24.4
64
0.59745
317d53a124238717c9edabec1ad539b67d932d53
2,326
package com.cn.lucky.morning.model.service.impl; import com.cn.lucky.morning.model.common.base.BaseQuery; import com.cn.lucky.morning.model.common.base.PageTemplate; import com.cn.lucky.morning.model.dao.DonateMapper; import com.cn.lucky.morning.model.domain.Donate; import com.cn.lucky.morning.model.domain.DonateExamp...
27.364706
70
0.627257
b8c305fe0aaa0f6b961af300f83f616873510a8d
1,600
package com.xinyue.producer; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerConfig; import org.apache.kafka.clients.producer.ProducerRecord; import org.apache.kafka.common.serialization.Serdes; import java.uti...
36.363636
99
0.66875
701c12e6d4fda6cd088cb37f1c1b2bada1447db3
1,096
/** * \file DpchEngWzsk.java * Wzsk Java API package engine dispatch block * \copyright (C) 2018-2020 MPSI Technologies GmbH * \author Emily Johnson (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE package apiwzsk; import java.util.*; import org.w3c.dom.*; import sbecore.*; public class ...
18.896552
103
0.671533
54f29ed1b16ca54240428377df6e9765f2c54764
8,048
/* * $Id$ */ /* Copyright (c) 2000-2016 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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, incl...
34.246809
86
0.722043
bbb78f68ed3e315fae0b2674d739422e07b9d268
1,521
package ch.epfl.sweng.GyroDraw.game; import static ch.epfl.sweng.GyroDraw.firebase.RoomAttributes.WORDS; import static ch.epfl.sweng.GyroDraw.game.LoadingScreenActivity.disableLoadingAnimations; import android.content.Intent; import androidx.annotation.NonNull; import androidx.test.rule.ActivityTestRule; import andro...
35.372093
92
0.700855
e81423385f147c156edee17814a387c516cf321a
160
package homecad; import homecad.view.AppFrame; public class HomecadGUI { public static void main(String[] args) { new AppFrame(); } }
14.545455
44
0.63125
72008ca744d0e959e9957d69b926c09c2fa654bc
277
package com.quickapi.server.web.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.quickapi.server.web.dao.entity.ProjectApIExample; import org.apache.ibatis.annotations.Mapper; @Mapper public interface ApiDocDao extends BaseMapper<ProjectApIExample> { }
30.777778
66
0.837545
9eb8faaf5311b34528dd4ac420f84196f12590e4
2,147
package se.liu.ida.hefquin.engine.queryproc.impl; import se.liu.ida.hefquin.engine.queryproc.ExecutionStats; import se.liu.ida.hefquin.engine.queryproc.QueryPlanningStats; import se.liu.ida.hefquin.engine.queryproc.QueryProcStats; import se.liu.ida.hefquin.engine.utils.StatsImpl; public class QueryProcStatsImpl exten...
33.546875
84
0.731719
ac4c9a1d8ef3f59c42ed0c30f4de05efee896a1b
5,861
package org.cloudbus.cloudsim.container.resourceAllocatorMigrationEnabled; import org.cloudbus.cloudsim.container.core.*; import org.cloudbus.cloudsim.container.hostSelectionPolicies.HostSelectionPolicy; import org.cloudbus.cloudsim.container.vmSelectionPolicies.PowerContainerVmSelectionPolicy; import java.util.*; /...
34.075581
247
0.680089
5812cb7f4049eb3dee895630c27ba1bf32886a57
1,642
package org.radargun.stats; import java.util.concurrent.TimeUnit; import org.radargun.config.DefinitionElement; import org.radargun.config.Init; import org.radargun.config.Property; import org.radargun.utils.NanoTimeConverter; import org.radargun.utils.TimeConverter; /** * @author Radim Vansa &lt;rvansa@redhat.com&...
33.510204
133
0.737515
c29aa08c9afec1f28f3baf92ef5918dc3e8f7084
511
package second_compiler_attempt; import second_compiler_attempt.enums.HighLevelType; import java.util.ArrayList; public class ContextToken { public final HighLevelType type; public final String value; public ArrayList<ContextToken> children = new ArrayList<ContextToken>(); ContextToken(HighLevelType ...
24.333333
76
0.684932
f814fc48f8abb47922c17619ca035bf20ae0b967
219
@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault package io.github.ocelot.modelanima.core.client.animation; import mcp.MethodsReturnNonnullByDefault; import javax.annotation.ParametersAreNonnullByDefault;
31.285714
58
0.894977
f37f7ae093785e2186692a3f4d502192ef63e7fd
3,652
package com.github.diegopacheco.sandbox.java.proxy; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.Socket; import java.net.URL; import java.net.URLConnection; import java.nio.charset.Charset; impo...
26.656934
130
0.594195
10e25549776e5696dcf6d34b4f8b14fe345a7502
1,585
package org.quisl.framework.java.instructions.operators.classical.single; import org.quisl.framework.java.instructions.gates.classical.single.NOTGate; import org.quisl.framework.java.instructions.operators.classical.ClassicalOperator; import org.quisl.framework.java.units.computing.classical.binary.deterministic.bits....
21.418919
96
0.622082