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
77e1c64b1701e577ee44103c4a426b3306445d9b
1,667
package ru.job4j.benchmark; import java.util.concurrent.CountDownLatch; /** * Class ru.job4j.benchmark. * * @author edzabarov * @since 20.06.2018 */ public class DeadLock { private final Object lock1 = new Object(); private final Object lock2 = new Object(); private CountDownLatch cdl = new CountDow...
25.646154
59
0.491902
27dc5ec4ee53b1c7175d0475791e0fd30a944af9
10,817
/* * Janssen Project software is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2020, Janssen Project */ package io.jans.configapi.configuration; import io.jans.as.common.service.common.ApplicationFactory; import io.jans.as.model.config.Conf; import...
35.465574
124
0.698807
1e6b48c1a624000675c4a6fb5b3281456e25abb1
1,442
package com.kidscademy.atlas.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.kidscademy.atlas.R; import js.log.Log; import js.log.LogFactory; public class MainActivity extends AppActivity { private static final Log log = LogFac...
28.27451
73
0.646325
77c6bcaebd3634d70f2c84f49115f4a611c142b3
2,217
// Copyright 2020 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 ...
36.95
101
0.750564
420966a56606634e6a4d1af62e1dd2435b36d6d0
2,749
import java.io.*; import java.awt.geom.Point2D; import java.text.*; import java.math.*; import java.util.*; public class Main implements Runnable { final String problem = "A"; // final String filename = problem + "-sample"; // final String filename = problem + "-small-attempt0"; // final String f...
24.327434
68
0.551837
1b0477f32d9fbccdac1d5151aeb58aebd5f14098
11,441
package br.com.talpi.util; import java.text.MessageFormat; import java.text.NumberFormat; import java.time.Instant; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.ResourceBundle; import javax.annotation.PostCon...
38.392617
160
0.662617
9b5ede0240a73e7ff33ffbb1a5f343ed5ef3ec1a
869
package me.ratsiel.json.abstracts; /** * The abstract class {@link JsonHandler} with generic type {@link T} is used to serialize and deserialize an object * * @param <T> the type parameter type of object which is going to be serialized or deserialized. */ public abstract class JsonHandler<T> { /** * Seri...
32.185185
152
0.673188
6aa7be33438aa89ebf19560d88cc96f810025cf3
654
package com.robidium.demo.compiler.builder.variables; import com.robidium.demo.compiler.builder.ScriptBuilder; import org.w3c.dom.Element; public class PreviousTarget implements Variable { public static final String NAME = "prevTarget"; private Element prevTarget; public PreviousTarget() { prevT...
24.222222
70
0.689602
a8ed339cba05fe772b9847192b758245b2cdc3fc
1,197
package ucacue.edu.ec.persistence.entity; import lombok.Getter; import lombok.Setter; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.Set; @Getter @Setter @Entity @Table(name = "cuenta") public class Cuenta implements Serializable { @Id @GeneratedValue(strategy...
24.428571
104
0.718463
dbf492453238f04ad1d98b1f77a540fc3dafbcbd
768
package life; import java.awt.Color; import java.awt.Graphics; import javax.swing.JButton; /** * An area the map will be on. * * @author U * */ public class Painter extends JButton { /** * */ private static final long serialVersionUID = 1096749829834574644L; private Cell cell = null; public Painter(...
17.066667
67
0.605469
81f329deb1aaf78e3b092b09bd6188198e7c3b0c
2,368
/* * 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 ...
48.326531
107
0.765625
238b5382dceb4b5b27a7532918e413c17aa1c882
184
public class Client { public static void main(String[]args) { Person john = new Person("Ma","John",25); Employee emp = new Employee(john,50000); emp.showDetail(); } }
20.444444
44
0.641304
198919d6a2ee5a7d6497988781e1e3b25a9e91f3
3,810
package jif.types.label; import java.util.List; import java.util.Set; import jif.translate.LabelToJavaExpr; import jif.types.JifContext; import jif.types.JifTypeSystem; import jif.types.LabelSubstitution; import jif.types.PathMap; import jif.types.hierarchy.LabelEnv; import jif.visit.LabelChecker; import polyglot.mai...
27.810219
129
0.635433
f82236a1b7c724b829828e18ddac5315b4c60715
1,140
/* * 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 * distribu...
31.666667
84
0.742105
076693c46c56cd2d4728cdf44e1b66deaf0b036b
1,579
package com.core.shared; import java.io.IOException; import java.net.DatagramSocket; import java.net.InetSocketAddress; import java.net.SocketException; public class UDPConnection extends UnknownConnection { protected DatagramSocket socket; public UDPConnection(int port) { super(new InetSocketAddress("127.0.0.1...
15.330097
75
0.661178
8d22516082154bab20ebb28cce87567f6c04b8cb
1,050
package io.github.sbcloudrace.sbtranslator.enginesvc; import io.github.sbcloudrace.sbtranslator.jaxb.http.ArrayOfUdpRelayInfo; import io.github.sbcloudrace.sbtranslator.jaxb.http.UdpRelayInfo; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.web.bi...
40.384615
121
0.794286
cd75011d35e1c79fc6ffc30470c5d3de12cb0b32
477
package cn.com.jgyhw.account.mapper; import cn.com.jgyhw.account.entity.MoneyAccount; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; /** * 流水账目 Mapper 接口 * * Created by WangLei on 2019/11/23 0023 23:58 */ public interface MoneyAccountMapper extends BaseMapper<M...
21.681818
70
0.748428
e0dfca18ed2d34b82f000e4b87c7baf14764672f
17,651
/** */ package edu.kit.ipd.sdq.kamp4aps.model.aPS.MechanicalComponents.impl; import edu.kit.ipd.sdq.kamp4aps.model.aPS.BusComponents.BusComponentsPackage; import edu.kit.ipd.sdq.kamp4aps.model.aPS.BusComponents.impl.BusComponentsPackageImpl; import edu.kit.ipd.sdq.kamp4aps.model.aPS.ComponentRepository.Comp...
38.623632
340
0.742168
3f9d9a08de7e54959347b1185ffc819736a8913b
482
package com.learn.myspring.beans.factory.annotation; import java.lang.annotation.*; /** * Description: * date: 2021/8/21 17:56 * Package: com.learn.myspring.beans.factory.annotation * * @author 李佳乐 * @email 18066550996@163.com */ @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementTyp...
21.909091
118
0.753112
f3fcadcd1c2d766c10612406c9c77780cf68d08b
3,817
/* * ***** BEGIN LICENSE BLOCK ***** * Zimbra GraphQL Extension * Copyright (C) 2018 Synacor, Inc. * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software Foundation, * version 2 of the License. * * This p...
37.421569
93
0.705266
3196b0490b58d0538064a9c5cc49f6b3f1c42863
14,950
// Copyright Keith D Gregory // // 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 w...
31.081081
92
0.563344
62091521871e5e859e18b85cd7f2fc743a811b91
1,024
package org.point85.app.opc.ua; import org.point85.app.designer.DataSourceConnectionController; import org.point85.app.designer.DesignerLocalizer; import org.point85.domain.opc.ua.OpcUaSource; public abstract class OpcUaController extends DataSourceConnectionController { // current source private OpcUaSource dataSo...
24.380952
84
0.75
8f5809231ee80d4967b57015a6ffaedb06f6cb55
30,853
// This file is part of CPAchecker, // a tool for configurable software verification: // https://cpachecker.sosy-lab.org // // SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.cpachecker.cpa.flowdep; import com.google.common.collect...
37.307134
108
0.709429
331f0a5e9cc78f2ac205c55990e25399eab52ac5
1,710
/* * 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 ...
28.5
85
0.711696
e8aaf6d3d3b6a994f74cfab7f08160f8c28ac7ac
180
package iurii.job.interview.combinatorics; /** * C (k from n) = n! / ((n-k)! * k!) selecting k elements from n elements without order to matter. */ public class Combination { }
22.5
98
0.672222
f85c89bce2d6961ade07a2ddb539b552ecb9fa45
1,305
package com.bdth.common.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.InitializingBean; import org.springframework.web.context.ServletContextAware; import javax.servlet.ServletContext; /** * 启动解压zhengAdmin-x.x.x.jar到resources目录 * Created by shuzh...
35.27027
106
0.681992
eab89debf1bcfe5dc744ef08d166b016a44438c4
30,209
package nmj.util; import java.lang.reflect.Array; import java.lang.reflect.Method; import java.text.Collator; import java.util.*; import java.util.function.*; /** * 非空设计|非线程安全|有序|单线程|非懒加载|的流式处理工具类 * * @param <T> * @author nmj */ public final class Table<T> implements Iterable<T> { private static final Table...
27.562956
161
0.491013
bc81cc8b84256d34bfd0bc51c97b7af18b65ef2e
1,682
package com.technology.oracle.scheduler.schedule.client.ui.form.detail; import static com.technology.oracle.scheduler.schedule.client.ScheduleClientConstant.scheduleText; import static com.technology.oracle.scheduler.schedule.shared.field.ScheduleFieldNames.SCHEDULE_ID; import static com.technology.oracle.schedul...
43.128205
107
0.781807
ddbd72a58ac9db8a984bf577b0bf3d41d7ce0ccb
1,970
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.irfutureoption; import java.util.Collections; import java.util.Set; import com.opengamma.analytics.financial.interestrate.Instrument...
45.813953
208
0.83198
432099e8bd74a63c312a0f32b1f553d5926a9113
507
package com.clevertap.android.sdk.inapp; import android.content.Context; import android.os.Bundle; import java.util.HashMap; public interface InAppListener { void inAppNotificationDidClick(CTInAppNotification inAppNotification, Bundle formData, HashMap<String, String> keyValueMap); void inAppNot...
33.8
110
0.814596
d2b4eaf5b7195a57df8535c0ff51140eaca73bb8
929
package org.globsframework.gui.splits.painters; import org.globsframework.gui.splits.color.ColorService; import org.globsframework.gui.splits.color.ColorChangeListener; import org.globsframework.gui.splits.color.ColorLocator; import java.awt.*; public class FillPainter implements Painter, ColorChangeListener { pri...
27.323529
66
0.76211
b684bdea036f16cdab488ab93226b48b5ca37df7
371
package me.geek.tom.twitchlink.api.event; import net.blay09.javatmi.GiftPaidUpgradeInfo; import net.blay09.javatmi.TwitchUser; public class GiftPaidUpdateEvent extends TwitchEvent<GiftPaidUpgradeInfo> { public GiftPaidUpdateEvent(String channel, TwitchUser user, GiftPaidUpgradeInfo giftPaidUpgradeInfo) { ...
33.727273
106
0.80593
cb816477b4782671f20ca0f555c78e02c090c5c7
1,272
package com.zaloni.bedrock.sdar.hook; import com.zaloni.bedrock.sdar.dto.DataAccessRequestInfo; import com.zaloni.bedrock.sdar.dto.DataAccessRequestPostApprovalResponse; import com.zaloni.bedrock.sdar.dto.PluginConfig; /** * This is a hook interface that can runs after the Approval System Approves or Rejects a reque...
50.88
147
0.798742
9366bf829e163f5df87cc90000be9d25053034ae
696
package io.github.kavahub.learnjava.math; import lombok.experimental.UtilityClass; /** * 两点之间的距离 * * @author PinWei Wan * @since 1.0.0 */ @UtilityClass public class DistanceBetweenPoints { public double calculateDistanceBetweenPoints( double x1, double y1, double x2, doubl...
20.470588
72
0.558908
2af9ee8fe1d6a374f7c40c7abeef7f0894b7ac8e
241
package com.ebay.dss.zds.model; public enum EbayRealm { CORP("CORP.EBAY.COM"), APD("APD.EBAY.COM"), PROD("PROD.EBAY.COM"), ; public final String value; EbayRealm(String value) { this.value = value; } }
16.066667
31
0.593361
52b13b28758c6577c1f9b8772795035f9af33834
1,476
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
37.846154
82
0.753388
81270ca4134fb05b5c432946444e73bce9b188cc
6,334
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
29.18894
110
0.630407
fd7710aef670fed90adbc99a32fb35bd5e202f41
375
package com.google.sps.servlets.data; public final class FeedBack { private final String name; private final String helpful; public FeedBack(String name, String helpful) { this.name = name; this.helpful = helpful; } public String getName() { return name; } public ...
17.857143
50
0.621333
dae560e84aa8a0319bcb9dfff0e700dbdfe17f28
911
class Main { public static int[] twoNumberSum(int[] array, int targetSum) { for (int i = 0; i < array.length; i++) { for (int j = i + 1; j < array.length; j++) { if (array[i] + array[j] == targetSum) { if (array[i] > array[j]) { ...
31.413793
67
0.406147
24b4591d03940890ee87c2c7c7a6bcd362eb79ca
5,270
package dev.riyenas.osam.service; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.zxing.BarcodeFormat; import com.google.zxing.WriterException; import com.google.zxing.client.j2se.MatrixToImageWriter; import com.google.zxing.common.BitMatrix; import com.google.zxing.qrcode.QRCodeWriter; import de...
37.112676
114
0.694118
e2d9b9ae487a85d2a4dc5dd9f3610864bc126c08
506
package com.github.shiraji.hidetoolwindowsex.action; import com.github.shiraji.hidetoolwindowsex.config.HideToolWindowsExConfig; public class HideRightToolWindowsToggleAction extends HideToolWindowsExToggleAction { @Override protected boolean isHideToolWindows(HideToolWindowsExConfig config) { return ...
31.625
85
0.79249
417e72e40362b97d24139d44783e6cf4bd6b5d78
441
package com.ngdesk.repositories.modules; import java.util.List; import org.springframework.data.domain.Pageable; import com.ngdesk.graphql.modules.dao.Module; public interface CustomModulesRepository { public List<Module> findAllModules(String collectionName); public List<Module> findAllModulesWithPagination(Pa...
25.941176
92
0.8322
1a38f91bff1e1d362ada3f9a1ff14c81a008efc5
8,334
package cn.hutool.core.lang; import java.io.File; import java.io.IOException; import java.lang.annotation.Annotation; import java.net.URL; import java.nio.charset.Charset; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.jar.JarEntry; import java.util.jar.JarFile; import ...
25.027027
125
0.666667
d97df054c7ee53bdd4f11a6e60d49e3c41c78c6f
1,341
package com.faforever.gw.bpmn.message.calculate_promotions; import com.faforever.gw.bpmn.accessors.CalculatePromotionsAccessor; import com.faforever.gw.messaging.client.ClientMessagingService; import com.faforever.gw.messaging.client.outbound.CharacterPromotionMessage; import lombok.extern.slf4j.Slf4j; import lombok.v...
38.314286
108
0.803132
f988a4fa6fbe87406d32d8889c7ef9667cf32a69
394
package com.benleadbeater.database.hello.mySpringDatabaseBootApp.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import com.benleadbeater.database.hello.mySpringDatabaseBootApp.model.mySpringBootDataModel; @Repository public interface MySpri...
30.307692
92
0.870558
be6c235e8be39c8ec3e6f16c8907683013251520
1,260
package br.com.salon.carine.lima.converters; import br.com.salon.carine.lima.dto.EnderecoDTO; import br.com.salon.carine.lima.dto.UsuarioAlterarPerfilDTO; import br.com.salon.carine.lima.dto.UsuarioDTO; import br.com.salon.carine.lima.models.Endereco; import br.com.salon.carine.lima.models.Usuario; public class Conve...
30.731707
96
0.811905
e064d648f679b00c6851b3d4904f33a2e0642283
11,969
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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/license...
43.053957
168
0.588353
9ef9a17114262c8f4a262bdaba53c3e47f14fe78
496
package com.bestxty.sault; /** * @author xty * Created by xty on 2016/12/8. */ @SuppressWarnings({"WeakerAccess", "unused"}) public class SaultException extends RuntimeException { public SaultException() { super(); } public SaultException(String message) { super(message); }...
19.076923
60
0.629032
aa4f842fa88c63199ac8bd2284d5d927300ba8fb
48,771
/* * 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 ...
47.076255
141
0.548523
b03dbdddbcdedd7cdd82d31d06fc50bf4c90f399
1,311
/** * Neociclo Accord, Open Source B2B Integration Suite * Copyright (C) 2005-2010 Neociclo, http://www.neociclo.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://ww...
31.97561
90
0.753623
7bad2182b01850fe6ff1abee2cb139d5678d46f0
759
package org.oyasunadev.minecraft; import javax.swing.*; /** * Created with IntelliJ IDEA. * User: Oliver Yasuna * Date: 9/23/12 * Time: 4:04 PM */ public class Start { public static void main(String[] args) { new Start(); } public Start() { try { UIManager.setLookAndFeel(UIManage...
18.975
72
0.652174
074b340aaf753f86b368a921c11145e628e0a1c9
1,381
/** */ package org.eclipse.epf.uma.tests; import junit.textui.TestRunner; import org.eclipse.epf.uma.Reference; import org.eclipse.epf.uma.UmaFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Reference</b></em>'. * <!-- end-user-doc --> * @generated */ public class ReferenceTest...
19.450704
64
0.621289
b3bce794c0fbc0cd4728f180176e8ace9fcc3777
9,251
package tr.metu.ceng.construction.server.service; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import tr.metu.ceng.construction.server.DTO.TableStateDTO; import tr.metu.ceng.construction.server.enums.EventType; import tr.metu.ceng.construction.server.exception.CouldNotPickACard...
41.299107
136
0.621879
203455e2116dd970386836d3bee5ff7b0c4860e9
2,184
/** * Amazon Kinesis Aggregators * * Copyright 2014, Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Amazon Software License (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/asl/ ...
31.2
83
0.707418
1a9ba0591bd24a9ade437c53a5fc010155684b22
6,303
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.ant.config.impl; import com.intellij.ide.macro.MacroManager; import com.intellij.lang.ant.AntBundle; import com.intellij.lang.ant.config.AntBuildFile; i...
38.907407
140
0.752499
52e271ddbb731275cecc5c421e46d3fd1b9720a7
916
package es.upm.miw.apaw_practice.adapters.rest.FurnitureFactory; import es.upm.miw.apaw_practice.domain.models.FurnitureFactory.WarehouseAreaUpdating; import es.upm.miw.apaw_practice.domain.services.FurnitureFactory.WarehouseService; import org.springframework.beans.factory.annotation.Autowired; import org.springframew...
31.586207
96
0.80786
f7adcf3dd4823014cc43e1f84763e744fddb8847
1,302
package com.prd.action; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import com.opensymphony.xwork2.ActionSupport; /** * 文件上传的action类 * * @作者: 李富 * @邮箱:lifuzz@163.com * @时间:2016年2月24日 */ public class UploadAction extends ActionSupport { private static...
20.34375
69
0.672043
5d33f1b0c732aea2e766533da356eb7a058e3af1
4,260
package lib.ui; import io.appium.java_client.AppiumDriver; import io.appium.java_client.TouchAction; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import lib.Platform; import java.uti...
37.368421
124
0.686854
e11a17888b67128ef86f8f4710484d96bca56e4d
1,316
/* * Copyright (C) 2006 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 applicable l...
48.740741
175
0.772796
135f0840cece27b815661e40a9d201a984da61c1
443,877
package python3; import org.eclipse.jdt.core.dom.CompilationUnit; import org.testng.Assert; import org.testng.annotations.Test; public class TestPyTorch extends TestASTConversion { @Test public void file1() { String content = readFile("CPatMinerTest/PyTorch/tools/clang_format_utils.py"); Compil...
43.2713
139
0.692455
94d53fb63fbdeba45ab0a4da46c1793a425b97d0
2,642
package com.epam.brest.summer.courses2019.dao; import com.epam.brest.summer.courses2019.model.Rental; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.annotation.Rollback; import org.springframework.test.context.Cont...
27.810526
88
0.674868
4ab0f12330f8f651ae8dfec0819c8989403f2076
303
package boosti.web.model; import java.util.Collection; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder(setterPrefix = "with") @NoArgsConstructor @AllArgsConstructor public class IdsData { private Collection<Long> ids; }
16.833333
33
0.80198
fcd53d61b71bbcff64314e0ddb60c36e80e1a7ae
119
class Test { String foo() { return new Wrapper("").getMyField(); } void bar() { String s = foo(); } }
11.9
40
0.512605
25659f4f2aa34fa00479af298a03ce44ebd16f44
81
/** * @author Ruben Zorgman * */ package nl.tweeenveertig.seagull.exception;
11.571429
43
0.691358
bff87316b4f07bdd92e912cbfe3524c7c5da849f
5,234
/******************************************************************************* * Copyright (c) 2014 Johannes Lerch. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v2.1 * which accompanies this distribution, and is available ...
39.353383
201
0.720481
e35da741199ae4bf881230adcd54eb60c2f7d6e5
1,933
package io.itch.activities; import io.itch.ItchApp; import io.itch.R; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.widget.ListView; import android.widget.TextView; import com.google.android.gms.analytics.HitBuilders; import com.google.android.gms.analytics....
27.614286
87
0.648733
21250712d3acf7a9aa312463a7d8cb768c9de4fb
2,391
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
28.129412
95
0.68716
b0de5a808d993c7cca98e7eeb0c592bdab797688
1,693
package com.trading212.demo.samples; import android.os.Bundle; import android.widget.Toast; import com.trading212.demo.BaseActivity; import com.trading212.demo.item.DraggableRecyclerItem; import com.trading212.diverserecycleradapter.DiverseRecyclerAdapter; import com.trading212.diverserecycleradapter.drag.DragItemTou...
35.270833
130
0.7342
43b8c10895b8586e17fad5d839934eca8088430b
6,398
/* * 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 ...
39.012195
119
0.736324
d7352a0cb0eb1c06590f0eb1c1ecee52c583f010
2,450
/* * Copyright © 2019 Mark Raynsford <code@io7m.com> https://www.io7m.com * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS P...
36.567164
142
0.751837
ecdc64fcd0c333a933dc96b567c437c536934d9d
7,815
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package co.edu.uniandes.csw.incidentes.resources; import co.edu.uniandes.csw.incidentes.dtos.IncidenteDTO; import co.edu.uniandes.csw....
46.517857
166
0.71977
a1f76dfb6a6b84c68aa732b2288a07750cf9431b
1,175
package ru.spoddubnyak.models; /** * Class Cell describes the cell on the board. * * @author Sergei Poddubnyak (forvvard09@gmail.com) * @version 1.0 * @since 14.03.2017 */ public class Cell { /** * property - fugure. */ private Figure figure; /** * property - name posi...
19.262295
70
0.52
648e7a107933d7c9aa520c3e328e5307eb3301e1
208
package com.eventflit.android.notifications.interests; /** * Created by jamiepatel on 15/07/2016. */ // Interest subscription states. public enum InterestSubscriptionChange { SUBSCRIBE, UNSUBSCRIBE }
18.909091
54
0.764423
5560de8739a01570b611939a197dc3f037dc1a8c
10,149
package com.pranavakp.parrotcraftcore.client.model; import com.google.common.collect.ImmutableList; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.vertex.IVertexBuilder; import com.pranavakp.parrotcraftcore.util.entities.InfernoParrotEntity; import net.minecraft.client.renderer.entity.model.En...
46.131818
219
0.6376
fcfb28ccb015c197dfceee6000d7b959716195c6
2,191
package com.example.velickomarija.diploma; import android.content.Context; import android.content.Intent; import android.media.MediaPlayer; import android.net.Uri; import android.os.CountDownTimer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.AttributeSet; import andro...
31.3
77
0.662711
2dbbd4ee8ea3d22ba787161193cfc87184ee9132
7,814
package com.ab.worldcup.team; import com.ab.worldcup.match.KnockoutMatchCode; import com.ab.worldcup.match.Stage; import org.apache.commons.lang3.tuple.Pair; import java.util.Optional; public enum KnockoutTeamCode { WINNER_GROUP_A(Stage.ROUND_OF_16), WINNER_GROUP_B(Stage.ROUND_OF_16), WINNER_GROUP_C(Stag...
37.567308
96
0.61697
4d58f51ca7f50d17250407a6e1e1a4eb050fd378
28,818
package org.twinone.locker.lock; import android.annotation.SuppressLint; import android.app.ActivityManager; import android.app.ActivityManager.RunningServiceInfo; import android.app.ActivityManager.RunningTaskInfo; import android.app.AlarmManager; import android.app.AlertDialog; import android.app.Notification; impor...
31.984462
176
0.60955
81492eb959f990bcafb18c88ce20ee79c73c0878
6,680
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
42.547771
144
0.616617
7410cc63e165bd7de63a977ecd709a6aee9626ce
33,145
// // This file is auto-generated. Please don't modify it! // package org.opencv.features2d; import java.util.ArrayList; import java.util.List; import org.opencv.core.Algorithm; import org.opencv.core.Mat; import org.opencv.core.MatOfDMatch; import org.opencv.features2d.DescriptorMatcher; import org.opencv.utils.Conve...
40.322384
100
0.715975
ad7db6b211f27f583fc2080dd618a56cdb30ee8d
212
package wcsdata.xmen.repository; import org.springframework.data.jpa.repository.JpaRepository; import wcsdata.xmen.entity.Message; public interface MessageRepository extends JpaRepository<Message, Integer> { }
26.5
76
0.839623
c96a72dbd5bf91b9c05191574b208674dff72c31
14,401
/* * ============LICENSE_START========================================== * ONAP Portal SDK * =================================================================== * Copyright © 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * * Unless oth...
29.092929
117
0.696271
0bd3b26e6858534ee6054dbac1eebf02b1d89957
2,347
package com.nxus.measurement.tracking; import java.io.IOException; import com.google.android.gms.ads.identifier.AdvertisingIdClient; import com.google.android.gms.common.GooglePlayServicesNotAvailableException; import com.google.android.gms.common.GooglePlayServicesRepairableException; import com.nxus.measurement.dto...
36.107692
164
0.711973
e3daa642318cb98e69e6dde4328ab8ac41f4181d
1,600
// Copyright Eagle Legacy Modernization LLC, 2010-date // Original author: Steven A. O'Hara, Sep 25, 2011 package com.eagle.programmar.RPG.Specifications; import com.eagle.programmar.RPG.Terminals.RPG_Blanks; import com.eagle.programmar.RPG.Terminals.RPG_Keyword; import com.eagle.programmar.RPG.Terminals.RPG_KeywordC...
45.714286
95
0.76625
03f8580e4976ef4714f06676d45184c4378c840e
4,623
/* * MIT License * * Copyright (c) 2016 Eric * * 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, mer...
26.118644
81
0.669911
f386c7612c1c1f3524abbbc2be79fd61ab3ffeb0
353
package com.splashbase.api; import com.google.gson.annotations.SerializedName; public class PictureSet { @SerializedName("images") public Picture[] images; public PictureSet() { } public Picture[] getImages() { return images; } public void setImages(Picture[] images) { ...
14.708333
50
0.637394
5c1372ad76e9b9878fd04ed27d0e1360f14dceb0
9,002
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
34.358779
100
0.718618
fcc70a7463640509e457afeb6ad05b3cf737e608
1,075
package com.library.repository.models; import java.util.List; /** * @author yedeman * @date 2020/6/18. * email:ydmmocoo@gmail.com * description: */ public class CheckGoodsBean { private List<ErrorsBean> errors; public List<ErrorsBean> getErrors() { return errors; } public void setError...
18.220339
52
0.52093
cb3a4a988cdedca6b6743802f90bc6489e0a05e9
7,090
package org.mjd.nativesocket.internal.sockets.posix; import java.net.Socket; import java.nio.channels.SocketChannel; import com.google.common.primitives.Ints; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.ptr.IntByReference; import org.mjd.nativesocket.NativeSocket; import org.mjd.nativeso...
39.831461
129
0.692948
2653bce17e25a18eab0b23440a3504da6f3fb06f
1,326
package com.dadoutek.dev.springboot; /** * Spring Boot allows exposing RSocket over WebSocket from a WebFlux server, * or standing up an independent RSocket server. This depends on the type of application and its configuration. * * For WebFlux application (i.e. of type WebApplicationType.REACTIVE), * the RSocket ...
55.25
136
0.785068
23c8a74bdeb67ada44d09a8e89694b798f194b30
827
package com.hjq.base; import android.app.Dialog; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentActivity; /** * author : HJQ * github : https://github.com/getAc...
26.677419
73
0.706167
00ca22d0c4d3b4cd4ad4eafabc20519fe6865416
664
package com.weirdo.security.model; /** * <p> * 消息模型 * </p> * * @author ML.Zhang * @since 2019-04-12 */ public class MsgModel { /** * 消息数据模型 */ private Object data; /** * 消息原始数据 */ private String originaldata; /** * 消息类型 */ private String msgType; public Object getData() { return data; ...
12.528302
51
0.644578
2a6783c61874e88fa535936e4fd4848b33149f55
2,200
package app.controllers; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.DeleteMapping; import org...
21.782178
73
0.722727
61886c6c89925ec191aa037e69101a708985e6a7
3,125
/* * 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 ...
24.606299
80
0.688
703c40a5275c0584aed52971e6f9851e2b41d93f
681
//package QuickSort; import java.util.Scanner; public class QuikSort2{ public static void quick_sort(char v[],int ini,int fim, int []x1){ int meio; if(ini < fim) { meio = partition(v, ini, fim,x1); quick_sort(v, ini, meio,x1); quick_sort(v, meio + 1, fim,x1); } } public static int partition(char v...
18.405405
67
0.540382
122dae441fcdb3d34fa56a9fdb923589dc75e9fc
33,579
/* * 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 ...
36.459283
117
0.605497
9da4dfcdec6683e3283976d4af481359d0e242ec
612
public class symbolpattern31 { public static void main(String []args){ int n = 5, x = 1; for(int i = 1; i <= n; i++) { for(int j = 1; j <= n; j++) { if((i % 2 == 1 && j <= x) || (i % 2 == 0 && j >= n - x + 1)) { System.out.print("* "); ...
25.5
78
0.261438
808ec667efd3507340302e53c881a7a936aa5ad6
11,047
package fr.uga.iut2.genconf.vue.gui; import fr.uga.iut2.genconf.controleur.Controleur; import fr.uga.iut2.genconf.modele.Conference; import fr.uga.iut2.genconf.modele.Session; import fr.uga.iut2.genconf.vue.gui.shared.Layout; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListen...
46.415966
206
0.581968
06e92db4aaa23b4e9578539fe3da85a61ac4f24e
3,585
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
34.142857
87
0.624547
ef76dd4d73a4e9480c6cc0d619c3fad20568cd69
1,036
package io.jenkins.blueocean.service.embedded.util; import org.apache.oro.text.GlobCompiler; import org.apache.oro.text.regex.MalformedPatternException; import org.apache.oro.text.regex.Pattern; import org.apache.oro.text.regex.Perl5Matcher; /** * Matches glob string patters * See https://en.wikipedia.org/wiki/Glob...
30.470588
97
0.702703
1ab7bcf0ea8dff406f30bc0052b00195cfdbf825
1,716
//Chapter 26 - Project 26.1 import java.util.ArrayList; import java.util.StringTokenizer; /** An appointment calendar. */ public class AppointmentCalendar { private ArrayList appointments; public AppointmentCalendar() { appointments = new ArrayList(); } /** Adds an appointment to...
21.45
61
0.571678