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
2968d4baa7f02e16dcc44737849be4217ec2b8b8
1,751
package com.drovahkinn; import java.io.IOException; import java.net.ServerSocket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import com.drovahkinn.handlers.TrafficHandler; import com.drovahkinn.logger.ServerLogger; public class Minik { private static final int DEFAULT_PO...
28.704918
99
0.641919
70a0901baa4fb458025945f7571baca233ac9e10
276
package me.ianhe.pp.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import me.ianhe.pp.entity.QuestionEntity; /** * * * @author iHelin ihelin@outlook.com * @since 2021-04-16 12:00:53 */ public interface QuestionDao extends BaseMapper<QuestionEntity> { }
18.4
65
0.746377
d01f27e52e54f19019ed0018945bcbb94865a21a
1,022
/* * 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 * distribut...
28.388889
75
0.697652
1415791126098147216601af89453515d2685cad
4,602
package conjugationstation.conjugationreviewer; import javax.swing.*; import java.awt.event.*; import java.awt.*; // Copyright (c) 2010-2011 Michael Hergenrader // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
37.112903
117
0.68731
564182afd4d3a5bba210786b3365764a1c17a1ef
4,034
package org.spica.server.project.service; import com.atlassian.jira.rest.client.api.IssueRestClient; import com.atlassian.jira.rest.client.api.JiraRestClient; import com.atlassian.jira.rest.client.api.domain.Issue; import com.atlassian.jira.rest.client.api.domain.SearchResult; import com.atlassian.jira.rest.client.api...
42.914894
174
0.713188
8f0e85f79a1e58cde09b3ecd36de9adadba73c5a
1,002
import java.util.*; /** * @author Shogo Akiyama * Solved on 06/15/2019 * * 169. Majority Element * https://leetcode.com/problems/majority-element/ * Difficulty: Easy * * To run the code in LeetCode, take the codes from the following method(s): * - int majorityElement(int[] nums). * * Runtime: 1 ms, fast...
25.692308
91
0.541916
b21a0f4754ef9f9e906fea3502f46fd4ea623cf3
1,958
package io.renren.modules.WeiYu.model; import java.util.Date; public class coachLeave { private String classname; private String trainingid; private Date traniningdate; private String coachid; private Integer coachleave; private String leavereason; private String coachleavestatus; ...
23.035294
90
0.660368
330163fa566fe2e7110a605dae5131758e73d495
482
package com.frist.drafting_books.ui.home; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; public class HomeViewModel extends ViewModel { private MutableLiveData<String> userName; public HomeViewModel() { userName = new Mu...
25.368421
57
0.688797
c54a12b3e8ccfb73c20881a6e4669ede02fbeaa3
708
package gov.kui.docRepoR.dto.mappers; import gov.kui.docRepoR.domain.FileEntity; import gov.kui.docRepoR.dto.FileEntityDto; import org.mapstruct.Mapper; import org.mapstruct.factory.Mappers; import java.util.List; import java.util.Set; @Mapper public interface FileEntityMapper { public static FileEntityMapper IN...
37.263158
91
0.827684
8f8d794ac5ac2ceb1d9fea427cac380729a20209
686
package org.firstinspires.ftc.teamcode; public class firstProgram { public static void main(String args[]) { System.out.println("The for loop"); for (int i = 0; i < 10; i++) { System.out.println(i); } boolean isComplete = false; int a = 0; while (! i...
20.176471
60
0.460641
984c437a34bf17e0acad4d80bf944c43e48cdb8a
2,821
import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.Scanner; // Assumption: The three input files are individually sorted. public class FileMergeSort { private Scanner in1; private Scanner in2; private Scanner in3; private FileWriter fw; public FileMergeSort(String in...
24.318966
106
0.579227
c60d0ce850d17e0263cd1d17f91214c279643ece
803
package com.aaron.mymvp.presenter; import com.aaron.mymvp.Contracts; import com.aaron.mymvp.model.BaseModel; public class BasePresenter implements Contracts.IPresenter { private static final String TAG = "BasePresenter"; private Contracts.IView mView; private Contracts.IModel mModel; @Override ...
20.589744
60
0.613948
4d4eb9d5eb583796650ab616a0445ce854393d6b
1,453
package org.sakaiproject.archiver.persistence; import java.util.List; import org.sakaiproject.archiver.api.ArchiverService; import org.sakaiproject.archiver.entity.ArchiveEntity; /** * DAO for the Archiver. This is not part of the API and you should not use it. Use {@link ArchiverService} instead. */ public interf...
25.491228
132
0.720578
1460665d7407ef55fca93c565715f9af640a38fd
3,817
package seedu.address.model.apparel; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static seedu.address.logic.commands.CommandTestUtil.VALID_COLOR_BLUE; import static seedu.address.logic.commands.CommandTestUtil.VALID_NAME_B; import static seedu.address.logic.commands.Co...
37.792079
93
0.707886
ef14bf1bfb7607865e4a1233a575d4ec098aa874
401
package PoliTweetsCL.Core.Utils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; public class JSONizer { static public String toJSON(Object obj){ Gson gson = new Gson(); return gson.toJson(obj); } static public String toPrettyJSON(Object obj){ Gson gson = new Gson...
23.588235
67
0.673317
8278b25effd839aee1f5fb7fb7108e70df75eee3
13,438
package io.github.kosmx.bendylibForge.impl; import com.mojang.blaze3d.vertex.PoseStack; import com.mojang.blaze3d.vertex.VertexConsumer; import com.mojang.math.Matrix4f; import com.mojang.math.Vector3f; import com.mojang.math.Vector4f; import net.minecraft.core.Direction; import java.util.ArrayList; import java.util....
41.475309
262
0.602619
e9af237318a89bb8c6299f1c4c68176666988c03
32,283
package com.qiuxs.cuteframework.core.basic.utils.ip2region.constants; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.qiuxs.cuteframework.core.basic.bean.Pair; import com.q...
31.619001
104
0.659697
3667d01d0dcc14ccfb2484979c06bc1a8aab7f5b
1,741
package org.knowm.xchange.gateio.dto.marketdata; import java.io.IOException; import java.util.Collection; import java.util.HashSet; import java.util.Set; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.gateio.GateioAdapters; import org.knowm.xchange.gateio.dto.marketdata.GateioCurrencyPairs.B...
30.017241
132
0.766226
79cef2d5c758bef04cd929985175e089031fdd00
522
package com.company; import java.util.Scanner; public class ex6 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("\nType here your line:"); String word = input.nextLine(); String[] letters = word.split(""); String r_w...
20.88
60
0.576628
9fcc2cc17c758c67ac90089cd36c7e52022ac1e7
464
package top.didasoft.logging.converter; import ch.qos.logback.classic.pattern.ThrowableProxyConverter; import ch.qos.logback.classic.spi.IThrowableProxy; import ch.qos.logback.core.CoreConstants; public class WhitespaceThrowableProxyConverter extends ThrowableProxyConverter { @Override protected String throwablePr...
33.142857
104
0.844828
271c49cda72e6d5ca6f20617f9a679cfd29403fe
1,581
// Copyright 2021 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 agreed to ...
33.638298
83
0.713472
9f6df6082de5fcbad3ffea4ec29723de35b95407
1,721
package no.nav.foreldrepenger.selvbetjening.minidialog; import static no.nav.foreldrepenger.common.util.Constants.FNR; import static no.nav.foreldrepenger.selvbetjening.util.URIUtil.queryParams; import static no.nav.foreldrepenger.selvbetjening.util.URIUtil.uri; import java.net.URI; import org.springframework.boot.c...
35.122449
112
0.757118
08abf43c1e635002862e02f13fb442a99821c841
14,557
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
30.453975
141
0.612283
7f2b739333e4e91b79e421c7c197459c82198d25
834
package exercicios; import java.util.Scanner; /** * * @author Milton Junior */ public class Exercicio08 { public static void main(String[] args) { /*Elaborar um programa em Java que efetue a apresentação do valor da conversão * em real(R$) de um valor lido em dólar (US$) . O programa em Java ...
27.8
91
0.601918
458c99aa08c298619f7ff7c1a6407d72c70a3196
966
package edu.yctc.user.dao; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import edu.yctc.user.entity.DepartmentDO; import org.springframework.stereotype.Repository; /** * @author luna@win10 * @date 2020/3/22 10:09 */ @Repository public class DepartmentDAO { ...
22.465116
62
0.724638
147c8e0122fde3c0a46d23dcc60ffef78b456d0c
1,100
package com.accenture.spm.server.serverServlet; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class ServerEncapMultithread { public static void main(String[] args) { ServerEncapMultithread server = new ServerEncapMultithread(); server.start(); } private ServerSocke...
20.37037
63
0.670909
814a461922254cc19cbfe4f28a1f9475bc312ede
4,884
package com.luneruniverse.minecraft.mod.nbteditor.commands; import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.argument; import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.literal; import java.io.File; import java.io.IOException; import java.nio.file.Files; ...
37.569231
152
0.705774
2bca744c4ee2b60fa9e74be3aa9482baaf3cb5ac
8,721
/** * Copyright (c) 2007-2009 The Sakai Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ECL-2.0 * * Unles...
34.2
143
0.714597
c336185ec55f8dd7740ef178aa908ee2d81bbbd9
660
package com.azanda.coupon.constant; // 通用常量的定义 public class Constant { // kafka消息的topic的名字 public static final String TOPIC = "user_coupon_op"; // redis key的前缀定义 public static class RedisPrefix { // 优惠卷码key前缀 public static final String COUPON_TEMPLATE = "coupon_template_code_"; ...
21.290323
80
0.689394
2ddaf81bc1f1f6d05c2ee2fa71ebf7594b9d29f8
2,055
package com.sdl.selenium.extjs6.form; import com.sdl.selenium.InputData; import com.sdl.selenium.TestBase; import com.sdl.selenium.web.utils.Utils; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; ...
28.943662
69
0.649148
2d80de771ab3ee6e26715e0bf34c7d6e3b78cf94
358
package com.github.ivaninkv.mavenspringtemplate; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MavenSpringTemplateApplication { public static void main(String[] args) { SpringApplication.run(MavenSpringTe...
25.571429
68
0.840782
a105d0f672f380db362e9427d94a30f5716ed873
4,438
import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.StringJoiner; import static java.lang.Integer.parseInt; public class Procedure implements Comparable<Procedure> { private static final double synX508double = 0.6558870048772542; private static final String synX507String = ...
29.785235
81
0.722172
45a13f6fbb28b48bf5c7eb4567ee0eeca6ca6482
6,281
package com.scmspain.bigdata.emr.Configuration; import com.amazonaws.services.elasticmapreduce.model.Configuration; import com.google.gson.JsonArray; import com.google.gson.JsonParser; import com.scmspain.bigdata.emr.Filesystem.JsonConfiguration; import org.junit.After; import org.junit.Before; import org.junit.Test; ...
33.768817
90
0.574749
5d7d01e99201b148b731af49b2d2f23741eb9416
1,142
package milkman.plugin.graphql.editor; import static milkman.utils.FunctionalUtils.run; import java.util.Arrays; import javafx.scene.control.Tab; import milkman.domain.RequestContainer; import milkman.plugin.graphql.GraphqlContentType; import milkman.plugin.graphql.domain.GraphqlAspect; import milkman.ui.components....
30.052632
107
0.795972
01b78f811c267287749910edf9b99653e02ec9b1
8,974
package com.lifeonwalden.codeGenerator; import com.lifeonwalden.codeGenerator.bean.*; import com.lifeonwalden.codeGenerator.bean.config.Config; import com.lifeonwalden.codeGenerator.bean.config.DBSourceGenerator; import com.lifeonwalden.codeGenerator.bean.config.ExtentionGenerator; import com.lifeonwalden.codeGe...
46.257732
128
0.535436
7f28eda1928d4f1a58f331d7dc982595ded1f5ef
2,925
/** * Copyright (c) Istituto Nazionale di Fisica Nucleare, 2014-2021. * * 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 re...
39
121
0.782564
88e742fdb7072d55f3606556b63acb53ef1ac5a8
2,900
package pe.chalk.meal; import javafx.application.Platform; import javafx.collections.FXCollections; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.geometry.Insets; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.scene.control.DatePicker; import javafx.s...
35.365854
118
0.662414
6eaadd9bb1660a805c45a6dea984466681eecb8e
1,279
package org.jessenpan.leetcode.array; /** * @author jessenpan * tag:array */ public class S154FindMinimumInRotatedSortedArrayII { public int findMin(int[] nums) { int left = 0, right = nums.length - 1; boolean isIncreased; while (left <= right) { isIncreased = false; ...
24.132075
70
0.430805
c9496a116f3fd9bde8c2b9552a08302af4da9cc5
7,552
/* * Copyright 2015 OpenCB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
22.47619
86
0.653337
d8f267f0c53fcd9d1c5f5029a21e397b191a3651
1,942
/* * Copyright 2004-2015 the Seasar Foundation and the Others. * * 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 ...
29.424242
82
0.646241
d3cf4d283bd109845bfdd3acc6a5a7b75ea6c67d
1,898
package org.hy.common.net.junit.netty.t002; import org.hy.common.xml.log.Logger; import io.netty.bootstrap.Bootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket...
27.114286
101
0.561117
7cf6ca990a9570cc9fa47da8d0060052c492dcb9
10,018
package com.example.mmmut; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.app.ProgressDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.text.InputType; ...
41.396694
119
0.5002
0237ccbb399287cf15103de52242298404656ef4
1,961
package org.spongepowered.asm.launch; import java.util.ServiceLoader; import org.spongepowered.asm.service.IGlobalPropertyService; public final class GlobalProperties { private static IGlobalPropertyService service; private static IGlobalPropertyService getService() { /*SL:62*/if (GlobalPropertie...
41.723404
184
0.692504
122f1ebcd212bae808d1f92b780200a1d5b5524c
1,597
package com.synopsys.integration.detectable.detectables.rubygems.gemlock; import java.io.File; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.synopsys.integration.bdio.graph.DependencyGraph; import com.s...
38.95122
100
0.760175
9b862228fb810d8f08e84554c291988658b4e33b
1,411
package com.wisecityllc.cookedapp.adapters; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.viewpagerindicator.IconPagerAdapter; import com.wisecityllc.cookedapp.R; import com.wisecityllc.cookedapp.fragments.IntroSli...
26.622642
97
0.678242
3507e632060ecab58bcf26d70e53e6507c0db9f2
333
package spring.project.service; import java.util.List; import spring.project.vo.RetireVO; import spring.project.vo.XmlVO; public interface RetireService { // 은퇴설계 계산 public RetireVO retire_calc(RetireVO vo); // 상품추천 public List<XmlVO> recommender(); RetireVO selectRetire(String id); void retireInsert(Retir...
17.526316
42
0.75976
678fb3723bef56caad747019e1cdc006a4f48056
8,590
package com.reactnativejitsimeet; import android.util.Log; import java.net.URL; import java.net.MalformedURLException; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.U...
61.798561
195
0.605239
55d8c64180d44a01eacf99776d509f6d405a7e54
1,688
package com.hearthsim.card.basic.spell; import com.hearthsim.card.minion.Minion; import com.hearthsim.card.minion.Minion.MinionTribe; import com.hearthsim.card.spellcard.SpellDamageTargetableCard; import com.hearthsim.exception.HSException; import com.hearthsim.model.PlayerModel; import com.hearthsim.model.PlayerSide;...
30.142857
120
0.667062
a12a8170278585b21b9289f393a40a0c6f671181
931
package com.prohelion.canbus.model; import java.util.ArrayList; //import org.apache.commons.codec.binary.Hex; public class UdpPacket { private byte length; private byte[] data; private byte[] busId; private byte[] senderId; private ArrayList<CanPacket> canPackets; public UdpPacket(byte ...
25.162162
83
0.633727
accc5c090cafa3ad0611822b6c9b8035c80e32aa
15,103
package com.ykan.sdk.example.other; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; i...
41.606061
196
0.527975
8d4abe74cb79ff3d570940420a46714c9ae0b5ba
756
package io.github.joeljeremy7.externalizedproperties.samples.database; import io.github.joeljeremy7.externalizedproperties.core.ExternalizedProperty; import java.util.List; public interface ApplicationProperties { @ExternalizedProperty("list.property") public List<Integer> listProperty(); @ExternalizedP...
29.076923
78
0.775132
5184766558b39e9141d24f49d42e77a0b54a1c4a
959
package com.github.bordertech.webfriends.selenium.element.grouping; import com.github.bordertech.webfriends.selenium.common.tag.SeleniumTags; import com.github.bordertech.webfriends.selenium.element.AbstractSElement; import java.util.List; import com.github.bordertech.webfriends.api.element.grouping.HUnorderedLis...
31.966667
151
0.778936
77bac47496883004475c9c15933565c54b8b0b65
1,465
package javax.realtime; public class ReleaseParameters extends ParameterBase { private RelativeTime cost; private RelativeTime deadline; private AsyncEventHandler overrunHandler; private AsyncEventHandler missHandler; protected ReleaseParameters() { this.cost = new RelativeTime(0,0); } ...
23.253968
90
0.728328
c4494611ed018fc4e72fc8cf2f9db17118d9665b
310
package org.xml.sax.ext; import org.xml.sax.Locator; public interface Locator2 extends Locator { String getXMLVersion(); String getEncoding(); } /* Location: /mnt/r/ConTenDoViewer.jar!/org/xml/sax/ext/Locator2.class * Java compiler version: 1 (45.3) * JD-Core Version: 1.1.3 */
20.666667
83
0.667742
2b442ab174c1c3bbb60ced03cd8d6e0b576535e6
1,837
package com.testDemo.selenium.utils; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; /** * @Auther: zouren * @Date: 2019/5/8 15:09 * @Description: */ public class InputUtils { public static void setValue(WebDriver browser, String cssSeleror, String ...
34.018519
84
0.673381
4d27a32683e13f426a4b4263134185385c70fe92
973
package ru.shifu.pool; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * EmailNotification. * * @author Pavel Abrikosov (abrikosovp@mail.ru). * @version 1. * @since 24.11.2018. **/ public class EmailNotification { private ExecutorService pool = Executors.newFixedThrea...
27.8
108
0.663926
9983649f2959cf27aeb684481c257e550eeb994e
2,107
package com.trivago.cluecumber.rendering.pages.renderering; import com.trivago.cluecumberCore.constants.ChartConfiguration; import com.trivago.cluecumberCore.exceptions.CluecumberPluginException; import com.trivago.cluecumberCore.json.pojo.Element; import com.trivago.cluecumberCore.json.pojo.Step; import com.trivago.c...
45.804348
127
0.800664
a8e77fd6207d5e7ba7a3ee149ea51c8ac3884e0f
586
package com.fr.swift.segment.bean.impl; import com.fr.swift.segment.SegmentDestination; import com.fr.swift.source.SourceKey; /** * @author yee * @date 2018/10/7 */ public class RealTimeSegLocationManager extends AbstractSegmentLocationManager { @Override protected void calculateRemoteSegment(SourceKey sou...
30.842105
96
0.730375
06e5af6e02c35970fef5135dde3d6ca72b400cef
676
package br.com.zup.propostas.ServicosExternos.Cartao; import br.com.zup.propostas.Cartao.Bloqueio.StatusBloqueio; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class StatusBloqueioResponse { ...
23.310345
61
0.757396
bc500fba49f2b91213d6ab51020ea0f654d4b10b
1,459
package de.rieckpil.courses.book.management; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import java.time.Clock; import java.time.LocalDateTime; import java.time.ZoneId...
28.607843
101
0.759424
4e91ee004d383a08df13a2631991d6ed6a37a22e
465
package practicalClassCodes.week10; import java.util.*; public class Advanced { public static ArrayList<Integer> getUniqueValues(ArrayList<ArrayList<Integer>> list) { return null; //to be completed } public static ArrayList<Integer> getItemsUniqueToSubLists(ArrayList<ArrayList<Integer>> list) { return null; /...
25.833333
96
0.772043
8a48fcb69e8885a9829f987fb67e63d91df85bff
1,839
package org.protege.editor.owl.ui.view.rdf.utils; import com.github.owlcs.ontapi.Ontology; import com.github.owlcs.ontapi.config.AxiomsSettings; import com.github.owlcs.ontapi.internal.AxiomTranslator; import com.github.owlcs.ontapi.internal.ONTObject; import com.github.owlcs.ontapi.internal.ONTObjectFactory; import c...
39.12766
132
0.738989
6a84fd04517ea924085ea4cd9f2e80ec8ea4a251
3,152
/* * Copyright 2012-2013 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
32.163265
133
0.660216
f24b696aeb65de252d022003710444bcc7427c0c
2,111
package me.gong.lavarun.plugin.shop; import me.gong.lavarun.plugin.InManager; import me.gong.lavarun.plugin.Main; import me.gong.lavarun.plugin.game.GameManager; import me.gong.lavarun.plugin.shop.events.SetPointsEvent; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; im...
28.917808
96
0.701563
94dd5ff25d6e14e66bcfe228d2a752c3c3099efe
1,469
package com.hardsoftstudio.rxflux.sample.stores; import com.hardsoftstudio.rxflux.action.RxAction; import com.hardsoftstudio.rxflux.dispatcher.Dispatcher; import com.hardsoftstudio.rxflux.sample.actions.Actions; import com.hardsoftstudio.rxflux.sample.actions.Keys; import com.hardsoftstudio.rxflux.sample.model.GitHubR...
32.644444
86
0.762423
d831f21712fe95a4cac4c78a9affa00ef11583f8
601
package com.zup.william.proposta.proposta.analiseCredito; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @FeignClient(url="...
31.631579
103
0.813644
baa19efb0ada78b2669c2de26571fab2b0be5004
8,652
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.util.paging; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; import static org.testng.AssertJUnit.assertTr...
39.327273
114
0.67129
efa482960864dea67831504c562b37b163cba4e6
1,604
/* * Code adapted from: * https://github.com/netty/netty/tree/4.1/example/src/main/java/io/netty/example/securechat */ package com.autostreams.utils.datareceiver; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.socket.SocketChannel; import io.netty.handl...
32.734694
100
0.744389
6032281b0741eed0507fa77e548b987e3440386d
1,175
package com.inmaytide.exception.translator; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; /** * @author luomiao * @since 2020/11/26 */ public class TranslatorDelegator<T extends Throwable> implements ThrowableTranslator<T> { private List<Thro...
26.111111
89
0.655319
f877a852c3cdb4d2e904e0730c3fd7cde518fa0a
5,624
package io.github.bbortt.event.planner.web.rest; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import static org.hamcrest.Matchers.hasItem; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; import static org.springframework.test.web.servlet.result.MockMvcRe...
42.285714
114
0.724395
0e776555ff285250cfb590d79fcfb5cc9fe1e893
1,935
package com.manouti.itemfinder.util.recyclerview.adapter; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.View; public abstract class RecyclerViewTrackSelectionAdapter<VH extends RecyclerViewTrackSelectionAdapter.ViewHolder> extends RecyclerView.Adapter<VH> { // ...
37.941176
147
0.707494
4e4388d83a7f01ee4168948bff3ad9a6db2aa98e
2,350
package org.meng.java.netty.echo; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioSocketChannel; import io....
32.638889
94
0.641277
315b11b3e19e964a73fd658c0ab94df8bb665380
2,104
package io.sufeng.jmybatis.batch; import com.alibaba.druid.pool.DruidDataSource; import io.sufeng.jmybatis.TestMapper; import io.sufeng.jmybatis.page.Page; import io.sufeng.jmybatis.page.PageParames; import io.sufeng.jmybatis.page.PagePlugin; import org.apache.ibatis.mapping.Environment; import org.apache.ibatis.sess...
43.833333
151
0.754753
15508840c56e30d4c5b6e8121987aac95e0078fe
430
package br.unicamp; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.TextView; public class NouamiActivity extends AppCompatActivity { TextView tvNome; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceStat...
18.695652
56
0.737209
a4db6ff9f126d7f72a1e4704d6337e08b38152a5
1,416
package io.quarkus.jackson.runtime; import java.time.ZoneId; import java.util.Optional; import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigRoot; @ConfigRoot public class JacksonBuildTimeConfig { /** * If enabled, Jackson will fail when encountering unknown propert...
30.12766
99
0.69774
9800c0d856ea287779d5a0ecad9325f7a20f5b49
178
package com.xyh.holdon; /** * Created by xyh on 2017/3/12. */ public class Api { public static final String TIANGOU_CLASSIFY = "http://www.tngou.net/api/top/classify"; }
17.8
90
0.685393
728d0ed288f3a762a7a136f6a85e9faacd877d91
1,419
package com.github.bogdanovmn.httpclient.selenium; import com.gargoylesoftware.htmlunit.BrowserVersion; import com.gargoylesoftware.htmlunit.WebClient; import com.github.bogdanovmn.httpclient.core.HttpClient; import org.openqa.selenium.htmlunit.HtmlUnitDriver; import java.io.IOException; public class SeleniumHtmlUni...
27.288462
83
0.78365
517fb30b3adae3c98507cdbd87ce4f01773fdd22
7,429
package com.example.gamersleague.ui; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; import android.widge...
35.545455
120
0.681249
642d33a64b373f27d8d6848edbc1e9789b01b74e
408
// Part of PushMode: https://pushmode.machinezoo.com package com.machinezoo.pushmode.internal.diffing; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.node.*; class ChildPatchStart extends DomPatch { private final int at; ChildPatchStart(int at) { this.at = at; } @Override char c...
19.428571
52
0.72549
3116127fc8e6de0aeffc665679cce0502ba4cb29
22,725
package com.tencent.angel.serving.apis.prediction; import static io.grpc.stub.ClientCalls.asyncUnaryCall; import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; import static io.grp...
45
217
0.731397
c25ffcefae8ad379f16c48d6f00a4d55ce14ed3a
836
package com.softicar.platform.emf.source.code.reference.point; import com.softicar.platform.common.testing.AbstractTest; import java.util.Map; import java.util.UUID; import org.junit.Test; public class EmfSourceCodeReferencePointsLoaderTest extends AbstractTest { private final UUID referencePointUuid; public EmfS...
29.857143
117
0.837321
a04243a789ff9984a59ba435819159beca4c99ac
1,819
package data.tracks; import com.wrapper.spotify.SpotifyApi; import com.wrapper.spotify.exceptions.SpotifyWebApiException; import com.wrapper.spotify.model_objects.miscellaneous.AudioAnalysis; import com.wrapper.spotify.requests.data.tracks.GetAudioAnalysisForTrackRequest; import java.io.IOException; import java.util....
39.543478
193
0.766355
99b7355b0e8e0005d967a6784d5c1aa087d6d20a
1,854
package com.curdflappers.minesweeper; class Spot { private int mState; private int mRow; private int mCol; private SpotView mView; private SpotListener listener; static final int BOOL_FIELDS = 4; static final int MINE = 1, REVEALED = 2, FLAGGED = 4, EXPLODED = 8; ...
22.337349
71
0.540453
9a62e061ccbcee44b01fe3099600caefaf5e56e6
1,993
package ro.webdata.parser.xml.lido.core.complex.materialsTechSetComplexType; import ro.webdata.parser.xml.lido.core.leaf.displayMaterialsTech.DisplayMaterialsTechDAO; import ro.webdata.parser.xml.lido.core.leaf.materialsTech.MaterialsTechDAO; import ro.webdata.parser.xml.lido.core.leaf.displayMaterialsTech.DisplayMate...
45.295455
108
0.725038
b453acd8d3c6c5ca559f51b74e6e486e419cc671
1,176
package com.example.demo.controller; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.springframework.stereotype.Service; @Service public class TopicService { private List<Topic> topicsList = new ArrayList<>( Arrays.asList( new Topic("JAVA","Core Java","Cor...
28
90
0.681973
e5871f3c24d4b427caf9b6422ff747ddc8cf33ca
4,829
package net.codeoftheday.uaa.documentation; import static net.codeoftheday.uaa.testutils.TestClientComponent.CLIENT_ID; import static net.codeoftheday.uaa.testutils.TestClientComponent.CLIENT_SECRET; import static net.codeoftheday.uaa.testutils.TestUserComponent.ADMIN_PASSWORD; import static net.codeoftheday.uaa.testu...
38.632
90
0.767447
c4e4937103c853e0592bd516a6116eae731b2fd5
380
package com.lijojacob.mls.productcatalog.repository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import com.lijojacob.mls.common.repository.MlsRepository; import com.lijojacob.mls.productcatalog.entity.MediaInternalText; @RepositoryRestResource public interface MediaInternalTextRepos...
31.666667
95
0.865789
0322769de4f6ae51f565a8bfa666ef87228f20b1
433
package net.LIGMA.Blocks; import net.minecraft.block.Block; import net.fabricmc.fabric.api.tools.FabricToolTags; import net.fabricmc.fabric.api.block.FabricBlockSettings; import net.minecraft.block.Material; public class TrolliumBlock extends Block { public TrolliumBlock() { super(FabricBlockSettings.of(...
30.928571
141
0.785219
79eec78e0d062b116b2f20190f10a251bbbb9435
2,051
package br.com.improving.j1hol.sse.server; import java.time.Instant; public class PatientHealthInfo { private long id; private String name; private Instant timestamp; private int systolicPressure; private int diastolicPressure; private int heartRate; public PatientHealthInfo(l...
25.012195
92
0.598245
7a1d487019c5549006770643946196eca98b7304
4,940
package com.baeldung.java9.process; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.util.concurrent.CompletableFuture; import java.util.stream.Stream; import org.junit.Test; import org.slf4j....
36.865672
88
0.578947
f55026f0d8a5685d941994f36773eb0ab29a1d88
1,314
/* * Copyright 2011-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
24.792453
75
0.741248
2135c1cc4b81ca78343d7237698cdaddd641255f
324
package inassGaby.dao; /** * Exception spécifique aux problèmes d'accès aux données via un DAO * @author Eric */ public class DAOException extends java.lang.Exception { public DAOException() { super(); } public DAOException(String message) { super(message); } ...
19.058824
69
0.608025
be04334b496134a6c8d58d29f59ec8d20a6bf879
489
package boj_february; import java.util.Deque; import java.util.LinkedList; import java.util.Scanner; public class BOJ_2164 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Deque<Integer> deque = new LinkedList<>(); int n = scanner.nextInt(); for(int i=1;i<=n;i++) { dequ...
20.375
44
0.648262
e6b105c45b6f43b4370716e992e631953092f6ce
807
package com.kabl.soliditydns; import org.web3j.codegen.SolidityFunctionWrapperGenerator; public class CodeGenerator { public static void main(String[] args) throws Exception { System.out.println("Generate the code!"); create("SolDnsApp.sol", "SolDnsApp.abi"); create("Cmc.sol", "Cmc.abi"...
28.821429
84
0.591078
4aec301da2fbbea4292508781ae5719fe3f9bb31
2,600
package ca.sfu.cmpt373.pluto.fall2021.hha.services; import ca.sfu.cmpt373.pluto.fall2021.hha.models.HhaUser; import ca.sfu.cmpt373.pluto.fall2021.hha.models.Role; import com.auth0.jwt.JWT; import com.auth0.jwt.JWTVerifier; import com.auth0.jwt.algorithms.Algorithm; import com.auth0.jwt.exceptions.JWTDecodeException; i...
38.80597
123
0.696923
32311b2370c7f8077499038abdb714543c7a51d6
1,054
package com.sijkinc.abstractkim.retrofitpractice.CrytoCompare.Toplists.ByTotalVolume; import com.google.gson.annotations.SerializedName; import lombok.Data; @Data public class CoinInfo { @SerializedName("Id") private String id; @SerializedName("Name") private String name; @SerializedName("FullNam...
27.736842
85
0.73055
dbd6bf7f9c924965c28b9fc47b8899cf855c2786
5,852
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package io.flutter.embedding.engine.systemchannels; import android.os.Build; import android.view.InputDevice; import android.view.KeyEvent; import android...
34.222222
99
0.700957
eec4247366ab619eb25794a37fab16c87afbe328
5,237
package org.anddev.andengine.util.modifier; import org.anddev.andengine.util.modifier.util.ModifierUtils; /** * @author Nicolas Gramlich * @since 19:39:25 - 19.03.2010 */ public class SequenceModifier<T> extends BaseModifier<T> { // =========================================================== // Constants // ==...
34.453947
207
0.6498
bf3b3ee8a63089cb302bcbd8b40d84dc18534449
1,705
package org.springframework.samples.petclinic.service; import static org.junit.Assert.assertEquals; import java.util.Collection; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest; import org.springf...
24.014085
71
0.76305
153b8859d6dad13a2aa8be2d557be843e77cd6c0
584
package com.google.android.gms.internal.ads; /* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */ final /* synthetic */ class zzawx implements zzaxf { static final zzaxf zzdya = new zzawx(); private zzawx() { } public final Object zza(zzbiq zzbiq) { String currentScreenName =...
30.736842
69
0.662671