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
af247212a1dffde232edb0dfe0ba98be05b634b9
1,367
package com.mylab; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class ProvinceBorders { public static final String js_file = "/home/jan/git/BedAndBreakfast/json/province_borders.js"; public static final String kml_file = "/home/jan/Downloa...
25.792453
95
0.681785
1f059b823947bf0db8a493fa714b2ea770d0756f
1,520
package com.weique.overhaul.v2.di.module; import androidx.recyclerview.widget.LinearLayoutManager; import com.jess.arms.di.scope.ActivityScope; import com.weique.overhaul.v2.R; import com.weique.overhaul.v2.mvp.contract.EventsReportedContract; import com.weique.overhaul.v2.mvp.model.EventsReportedModel; import com.we...
31.020408
117
0.711842
94691dd9217f9328e229b25233572a62a635207a
10,966
// Copyright 2021 The Chromium 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 org.chromium.chrome.browser.price_tracking; import android.annotation.TargetApi; import android.app.Notification; import android.app.Notification...
43.003922
100
0.704724
1e4561159c53ac05a586dd7a8dbe062547b648fe
517
/* * Exercise 1.10 * (Average speed in miles) Assume that a runner runs 14 kilometers in 45 minutes * and 30 seconds. Write a program that displays the average speed in miles per * hour. (Note 1 mile is equal to 1.6 kilometers.) */ package chapter01.exercise01_10; /** * Calculate average speed of a runner * @au...
24.619048
81
0.665377
d47b14f99ef73469cefb9848f3d2a75654535f54
1,043
package life.genny.strategy.model.firebase; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import org.apache.commons.lang.builder.ToStringBuilder; public class Data { @SerializedName("click_action") @Expose private String clickAction; @SerializedName("id...
21.729167
129
0.655801
58523084a9ae967fb57b4b2be93d8f5fef0b0ddf
661
/* * 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 ec.edu.ups.test; import ec.edu.ups.vista.VentanaTelefono; import ec.edu.ups.vista.VentanasTelefono; import java.util.Scanner...
20.65625
79
0.662632
6ba7b794e2239640b4553592a91f927fc2fc091f
1,253
import java.util.Scanner; /*Write a program that prompts the user for two integers and then prints • The sum • The difference • The product • The average • The distance (absolute value of the difference) • The maximum (the larger of the two) • The minimum (the smaller of the two) Hint: The max and min function...
31.325
95
0.654429
2c8fb66f443f4f88770a9ef3b87f453680e4f340
2,521
package com.example.asus.tastenews.about.widget; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ProgressBar; import com.example.asus.tastenews.R; /** *...
26.536842
103
0.662832
fe2e717eff0dc3a2581a67378615f3e86630248a
4,675
package com.dharmesh.twitterclient.activities; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.su...
38.636364
98
0.686845
acc0b8177485e43feb8b0113b4c326b7e95b804d
3,536
package org.ovirt.engine.core.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.VdcObjectType; import org.ovirt.engine.core.common.utils.EnumUtils; import org.ovirt.engine.core.compat.Guid; import or...
35.36
108
0.695984
39c456e0fbde59a1ccd92c6678914f95fb31ce16
6,798
package com.jx.intelligent.ui.activitise.payment; import android.content.Intent; import android.view.View; import android.widget.Button; import android.widget.ImageView; import android.widget.TextView; import com.jx.intelligent.R; import com.jx.intelligent.base.RHBaseActivity; import com.jx.intelligent.base.RHBaseApp...
32.526316
103
0.602971
3a29ddb7caeb813f7aa27a748bc184eb562282f5
860
package neps; import java.util.Scanner; public class ProblemG { /** * @param {} * @return */ private static byte compareNumbers(byte n, int[] x) { byte counter = 0; for (int i = 1; i <= n; i++) { for (int j = 0; j < x.length; j++) { if (i == x[j]) { counter += 1; ...
17.55102
55
0.486047
00567526d5ab7e8ae0359b4fb38546246b2f124a
325
package panel.admin.part; import bean.PartBean; import mvp.BaseView; import java.util.List; /** * @author 赵洪苛 * @date 2020/3/30 11:52 * @description 零件管理视图 */ public interface PartManageView extends BaseView { void update(List<PartBean> data); void applyDelete(List<PartBean> data); void resetAll()...
14.772727
50
0.701538
c99e7deb50b4d9d74ebba7e1248ef3b535863d85
3,941
package net.flytre.hplus.recipe; import net.flytre.hplus.HopperPlus; import net.flytre.hplus.RegistryHandler; import net.flytre.hplus.filter.ItemUpgrade; import net.flytre.hplus.hopper.HopperPlusBlock; import net.flytre.hplus.hopper.HopperPlusBlockItem; import net.minecraft.inventory.CraftingInventory; import net.mine...
32.04065
87
0.570414
dc9dbd6ee2831ab7b9f9cd18cfbb9c89dd2400aa
1,713
package com.roxiemobile.networkingapi.network.rest.response.error; import com.annimon.stream.function.Consumer; import com.roxiemobile.androidcommons.diagnostics.Guard; import com.roxiemobile.networkingapi.network.rest.response.ResponseEntity; import com.roxiemobile.networkingapi.network.rest.response.error.nested.Res...
30.589286
93
0.674839
9d68b81663e7ed4d7fe4ce56b93526e9ab3cc4cd
770
package cc.caker.boot.service.impl; import cc.caker.boot.service.RedisServiceAdapter; import lombok.RequiredArgsConstructor; import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.stereotype.Service; import java.util.concurrent.TimeUnit; /** * @author cakeralter * @date 2020/9/1...
24.83871
78
0.749351
c1d72b93d4d4a433aad03fbd2658a18489f0a3cc
2,200
package fr.fscf.contacts.client.navigation; import com.google.gwt.user.client.rpc.IsSerializable; import fr.fscf.contacts.shared.util.ClientUtils; /** * Defines zones. * * @author Denis */ public enum Zone implements IsSerializable { // Zones tokens must be unique. APP_LOADER("app-loader"), AUTH_BA...
24.719101
115
0.575455
5533d308527e0af21385998c605ce667fb55b278
1,502
package tech.pdai.springboot.knife4j.controller; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import tech.pdai.springboot.knife4j.entity.pa...
30.653061
106
0.695739
78165f98a64d77bd87099a2b32930b28fcb2958b
48
package bucky; public class GUIThirtyFive { }
8
28
0.75
f59b57e4624bd888eb3b8ee6a6d60844dd4c9fcd
2,525
package com.java110.api.listener.junkRequirement; import com.alibaba.fastjson.JSONObject; import com.java110.api.bmo.junkRequirement.IJunkRequirementBMO; import com.java110.api.listener.AbstractServiceApiPlusListener; import com.java110.core.annotation.Java110Listener; import com.java110.core.context.DataFlowContext; ...
37.132353
105
0.753267
6a7533e870ad03678a9a8d2b35753fc3f1022b8f
3,992
package com.loosli.christian.popularmovieapp.android.app.entity; import android.os.Parcel; import android.os.Parcelable; import com.google.gson.annotations.SerializedName; import java.util.Date; import java.util.List; /** * Created by ChristianL on 29.11.15. */ public final class Movie implements MovieMeta, Parce...
23.761905
93
0.626754
f14d62abf900b99a19bb18e6852961b16c8f1dab
463
package com.satispay.protocore.models.generic; public class LocationV1 extends Model { private float lat; private float lon; public LocationV1() { } public LocationV1(float lat, float lon) { this.lat = lat; this.lon = lon; } public float getLat() { return lat; } public ...
20.130435
53
0.62851
5d3bb8c419f03234de779adc4cb8a6b840af507c
4,540
package io.github.rreeggkk.jari.common.util; /* * Class for most of your events to be registered in. * Remember that there are two different registries for Events. This one will not work for everything. */ import io.github.rreeggkk.jari.JARI; import io.github.rreeggkk.jari.common.crafting.metal.MetalHalving; impor...
27.185629
108
0.693833
36700d5211622be4b3f5c016962fdc24b2bef3eb
5,331
/* * 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...
45.564103
196
0.684299
317b24ecdaa25763312c19f2c10a58fafb03f826
506
/* * 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 proyectofinal; /** * * @author david */ public class Main { /** * @param args the command line arguments */ ...
21.083333
79
0.642292
e4a76635eab61f9cc6beeef143b58f25147de944
2,996
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.mycompany.model; import com.mycompany.conexao.EntidadeBase; import java.io.Serializable; import java.util.Date; ...
25.827586
103
0.621162
afcf0116528eaa77186bb34612ef139369a001ea
2,099
package com.tom.cpl.gui.elements; import java.util.List; import com.tom.cpl.gui.IGui; import com.tom.cpl.gui.MouseEvent; import com.tom.cpl.math.Box; import com.tom.cpl.math.MathHelper; import com.tom.cpl.math.Vec2i; public class ListElement2d<T> extends ListElement<T> { private int preferredWidth; public ListEle...
29.152778
118
0.656027
66086d212783c70d1cd862b3a7cf87ce33b2dbef
1,196
package com.taboola.spark.sql.score; import java.util.function.BiConsumer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.spark.sql.catalyst.trees.TreeNode; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMa...
37.375
145
0.701505
ea881e990b934f33faafd0b5d91f8f4ce7e8c8d2
1,895
/* * 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 ...
35.092593
75
0.755145
31c2726e0ae40e2abe7dd9d676ccec6ee2a586a8
7,722
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
45.423529
100
0.67366
97545d67c16ffbe2df9744882de05f2b2bc5006b
4,997
package com.android305.lights.util.sqlite; import com.android305.lights.util.Log; import com.android305.lights.util.sqlite.table.Group; import com.android305.lights.util.sqlite.table.Lamp; import com.android305.lights.util.sqlite.table.Timer; import java.io.File; import java.sql.Connection; import java.sql.DriverMana...
32.660131
144
0.58335
f401079856473330456b9bc52cabcb6652fdc87c
2,936
package org.junithelper.core.util; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junithelper.core.meta.ArgTypeMeta; import org.junithelper.core.meta.MethodMeta; public class ObjectUtilTest { @Test public void deepCopy_A$...
28.784314
65
0.603542
fca7f7cf1c1f6649a6f1cf0d7a5918d8cce839de
1,131
package com.age.base; import com.age.App; import com.age.util.config.Constant; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.test.autoconfigure.jdbc.AutoConfigureTestDatabase; import org.springframework.boot.test.context.SpringBootTest; import...
29
82
0.803714
88709c19aaae213bc9043740618e1bf8f68dc94b
13,326
/* * 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 ...
34.793734
97
0.526264
52bdb58699ba33d1e5bff04888fa39036ee5763e
5,695
package org.ovirt.engine.api.restapi.resource; import javax.ws.rs.core.Response; import org.ovirt.engine.api.model.Action; import org.ovirt.engine.api.model.Template; import org.ovirt.engine.api.model.Templates; import org.ovirt.engine.api.resource.ActionResource; import org.ovirt.engine.api.resource.StorageDomainCon...
39.006849
119
0.658999
121159d7755f85403668a6f162112efb92569149
6,972
package Cipher; import javax.crypto.Cipher; import javax.crypto.Mac; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.SecretKeySpec; import java.io.BufferedReader; import java.io.IOException; import java.io.PrintWrit...
40.77193
136
0.645295
dbfd16f8a54de07acb7ca4bf9e82c6f60e36a8c0
2,595
package com.jtj.web.controller; import com.jtj.web.common.PageDto; import com.jtj.web.common.ResultDto; import com.jtj.web.common.exception.AssetException; import com.jtj.web.dto.AssetAndStockTakeNameDto; import com.jtj.web.dto.AssetDto; import com.jtj.web.entity.Asset; import com.jtj.web.entity.AssetOperationRecord; ...
33.269231
122
0.745665
d8fb10028b76434cdb6b6517fc84d82114e78e8d
1,869
package org.openforis.idm.db; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import org.openforis.idm.metamodel.EntityDefinition; import org.openforis.idm.metamodel.NodeDefinition; import org.openforis.idm.metamodel.Sche...
28.753846
88
0.736758
9c79f57a64143a1add1d949bf2595d1f7aa12ce8
17,223
// Copyright 2018 The Chromium 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 org.chromium.components.browser_ui.modaldialog; import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; import static android.view.ViewGr...
49.634006
100
0.681879
64c5096c236e24f2c339fdfdfe7481a4b1f2a929
292
package com.example.service; import com.example.model.UserProfile; import reactor.core.publisher.Mono; public interface UserProfileService { Mono<UserProfile> findById(Long id); Mono<UserProfile> create(String firstName, String lastName); Mono<UserProfile> findByRandom(); }
20.857143
64
0.770548
a51dbecfc9b00d77ac7ef7436815349b21c9a05c
2,048
package heap; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.util.TreeMap; /** * * @author exponential-e * 백준 7662번: 이중 우선순위 큐 * * @see https://www.acmicpc.net/problem/7662/ * */ public class Boj7662 { private static final String NEW_LINE = "\...
30.567164
98
0.498047
41afbf2405c5e5f3902f5dbd402fcd6f098a229c
2,803
/** * 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 m...
50.963636
120
0.754905
6f0a47988f14d6308eec93ff573e83d68bbce1cd
953
package ru.job4j.inputoutput; import java.util.ArrayList; import java.util.List; /** * @author Roman Korolchuk (rom.kor@yandex.ru) * @version $Id$ * @since 0.1 */ public class Args { private String[] args; private static String keyDir = "-d"; private static String keyExt = "-e"; private static...
20.276596
56
0.556139
beb51e5bafb39efde321743e3acbbbb0f5989067
6,749
/* * 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...
39.011561
149
0.655801
8f1734edb326e4f195ae718b31d5e36e31cbc863
2,411
package com.s2d.spirit; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; import javax.net.ServerSocketFactory; import javax.net.SocketFactory; import javax.net.ssl.SSLServerSocketFactory; import javax.net.ssl.SSLSocketFactory; import com.s2d.spirit.except...
28.034884
117
0.708005
306d26993b307d62d42822d49a604f69f0f74728
8,596
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.vertx.kafka.v3_6; import static io.opentelemetry.api.common.AttributeKey.longKey; import static io.opentelemetry.instrumentation.testing.util.TelemetryDataUtil.orderByRootSpanKind; i...
48.564972
98
0.593997
de0d47c8b0f326d9b83930b11e6b7191502831e3
882
package alb.util.linker; import alb.util.linker.associationclass.AssociationClassLinker; import alb.util.linker.associationclass.IdToManyBranch; import alb.util.linker.associationclass.IdToOneBranch; import alb.util.linker.manytomany.ManyToManyLinker; import alb.util.linker.onetomany.OneToManyLinker; import alb.util.l...
24.5
63
0.792517
42b5540150d1463c5bcbae4454702ac03885e9a3
28,003
package cn.zhg.laucher; import java.io.*; import java.lang.reflect.*; import java.util.*; import android.annotation.SuppressLint; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent...
22.564867
158
0.632147
600a162d45fd9001047e825c8a09ba953576b66f
1,036
package nlink; /** * Signals a failure in the COM method invocation. * * <p> * Calling a wrapped COM method throws this exception when the underlying COM * method returns a failure HRESULT code. * * @author Kohsuke Kawaguchi (kk@kohsuke.org) */ public class NLinkException extends RuntimeException { private...
20.72
77
0.701737
5219684ccc6324553ee124cd7d93cb9a27853362
4,075
package edu.explorer.mundo; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; import edu.explorer.mundo.Archivo; import junit.framework.TestCase; /** * Esta es la clase usada para verificar que los mátodos de la clase Archivo están correctamente implementados */ publ...
37.045455
174
0.580613
24e167ad4d4d3b396730fedc0d14d1739f15e15e
3,580
/** * Copyright 2020 Alibaba Group Holding Limited. * * <p>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 * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applic...
34.095238
99
0.609777
b64ffab01b811e79d968daaacafcc584fc97284a
769
package org.treeops.types; import java.util.ArrayList; import java.util.List; import java.util.Optional; public abstract class Type { private String name; private List<List<String>> paths = new ArrayList<>(); public Type(String name) { super(); this.name = name; } @Override public String...
17.883721
75
0.647594
676f7a865e70f0576ad818afab9dfad173e2586a
1,519
package net.quickwrite.cansteingottesdienst.commands; import net.quickwrite.cansteingottesdienst.CansteinGottesdienst; import net.quickwrite.cansteingottesdienst.items.Items; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity....
35.325581
117
0.674128
51ce5fdf91dedf233b26b03d2f9c82d02a0a7aa6
2,236
package com.snobot.simulator.simulator_components; import com.ctre.phoenix.motorcontrol.ControlMode; import com.ctre.phoenix.motorcontrol.can.TalonSRX; import com.revrobotics.CANSparkMax; import com.revrobotics.CANSparkMaxLowLevel; import com.snobot.simulator.simulator_components.ctre.CtreTalonSrxSpeedControllerSim; i...
44.72
148
0.779964
a5ea253ec4d32cd105ee5c7684189b0bf35bd539
2,371
package dev.lazurite.fpvracing.mixin; import dev.lazurite.fpvracing.server.entity.FlyableEntity; import dev.lazurite.fpvracing.server.item.GogglesItem; import dev.lazurite.fpvracing.server.item.QuadcopterItem; import dev.lazurite.fpvracing.server.item.TransmitterItem; import net.minecraft.entity.player.PlayerEntity; i...
40.87931
104
0.692957
421eb4d85fc71f9a9de1692c0b35d8b613ca91d3
430
package test.commandline; import org.testng.annotations.Test; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class Issue987TestSample { public static Map<Long, String> maps = new ConcurrentHashMap<>(); @Test public void method1() { maps.put(Thread.currentThread().getId(), "met...
20.47619
67
0.711628
e5c7ac760dac24f97e0ffe6fb4b9a52e613ba4c7
6,759
/** * This class is generated by jOOQ */ package org.openforis.collect.persistence.jooq.tables.pojos; import java.io.Serializable; import javax.annotation.Generated; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.6.2" }, comments = "This class is g...
20.796923
66
0.732209
f38233ffa93d4b6f6a1b5f273391faa4ec4252e5
1,283
package noeFavier; import javax.imageio.ImageIO; import java.net.URL; import java.util.ArrayList; public class ImgLoader implements Runnable{ private ArrayList<String> urls; public static boolean exec = true; public ImgLoader(ArrayList<String> us){ this.urls = us; } private int CAP = 40; ...
28.511111
97
0.495713
b0e451d6fa9c1fbb0d532ea0421fea99c54d6522
1,205
package com.example.algog.homalia.ORM; /** * Created by algog on 29/05/2017. */ public class CategoriaProducto { // ATRIBUTOS private Integer id; private String nombre; private String imagen; // CONSTRUCTORES // Constructor vacio public CategoriaProducto() { this.id = allocateP...
19.754098
82
0.590871
11355b2f546be2b0e078b68bf7a70527c741fc00
8,034
/* * bbdservice.com Inc. * Copyright (c) 2017 All Rights Reserved. */ package com.bbd.bdsso.common.dal.ibatis; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; import com.bbd.bdsso.common.dal.daointerface.SsoRoleAuthDAO; // auto generated imports import com.bbd.bdsso.common.dal.dat...
32.26506
155
0.646129
d7e32aa29bff318c2c834aee8c295da96f30d696
877
package com.zizohanto.noteapp.notes; import android.app.Application; import android.arch.lifecycle.AndroidViewModel; import android.arch.lifecycle.LiveData; import android.util.Log; import com.zizohanto.noteapp.data.AppDatabase; import com.zizohanto.noteapp.data.NoteEntry; import java.util.List; public class MainVi...
28.290323
78
0.742303
0d88abb73f222b42731d7ed2d4005c057f41c2ea
2,618
package io.sentry.event.helper; import io.sentry.SentryClient; import io.sentry.connection.Connection; import io.sentry.context.Context; import io.sentry.context.ContextManager; import io.sentry.context.SingletonContextManager; import io.sentry.event.*; import io.sentry.event.interfaces.UserInterface; import mockit.In...
36.361111
122
0.695569
6abe3b55b495de06a61abb1880cb48aa101fc642
7,812
package com.webapp.service.database.dao.impl; import com.webapp.model.Comment; import com.webapp.service.database.dao.CommentDao; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.test.util.ReflectionTestUtils; import java.ut...
51.394737
118
0.655402
1533420ffebdddea2b35e2ccf29dccab16a151a9
3,469
package controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import aos.framework.core.id.AOSId; import aos.framework.core.utils.AOSUtils; import aos.framework....
26.082707
88
0.739118
df5f107549f613e9f4ff5a2ac5834e233b09e5c4
1,138
package com.ceiba.conductor.servicio; import com.ceiba.conductor.modelo.dto.DtoConductor; import com.ceiba.conductor.modelo.entidad.Conductor; import com.ceiba.conductor.puerto.dao.DaoConductor; import com.ceiba.conductor.puerto.repositorio.RepositorioConductor; import com.ceiba.dominio.excepcion.ExcepcionDuplicidad; ...
33.470588
111
0.77768
7c97a3c5ba8002c8991c49bd88019b2932f06d6b
2,876
/** * Copyright 2010 Newcastle University * * http://research.ncl.ac.uk/smart/ * * Author : Yang Hong * * 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 ...
37.350649
112
0.681502
9a428a5702a18b2e7b934bd4ea62aa5713d552ae
438
package com.hzqing.admin.common.result; import lombok.Data; import java.io.Serializable; /** * @author hzqing * @date 2020-01-15 14:52 */ @Data public abstract class BaseRestResult implements Serializable { /** * 请求响应码 */ private String code; /** * 响应吗对应的提示信息 */ private String...
15.642857
62
0.614155
6571e0ee77bfedee60c28aeac3ae862429ebbf6a
2,174
package MyClasses; import java.util.Map.*; import java.util.Map; import java.util.HashMap; import java.util.Iterator; public class PrettyPrintingMap<K, V> { private Map<K, V> map; private int tabsNum = 1; public PrettyPrintingMap(Map<K, V> map) { this.map = map; } public PrettyPrintingMa...
39.527273
164
0.546458
199a23cdedd0face58eb576801c6583bc7d68eaa
4,403
package uk.gov.hmcts.reform.divorce.orchestration.workflows; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.tuple.ImmutablePair; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import uk.gov.hmcts.reform.divorce.orchestration.domain.mod...
43.166667
131
0.792187
e8a2343250ab02817a5bb2592d3efa974ef0ff75
2,466
package com.tigrisdata.db.client; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.io.JsonEOFException; import com.fasterxml.jackson.databind.ObjectMapper; import com.tigrisdata.db.client.config.TigrisConfiguration; import org.junit.Assert; import org.junit.Test; public cla...
33.324324
100
0.667072
b76f322fbaa306b5874250a05be6db53b911c278
12,657
/* * Copyright 2007 The Kuali 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/ecl2.php * * Unless required by appl...
47.227612
234
0.724737
6d2a31a15776f991ef8f8b18f195cabba3c90f53
366
package com.nraboy.minesweeper; import android.app.Activity; import android.os.Bundle; public class GameActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(new GameView(this)); // Set the view to display c...
24.4
109
0.743169
34629735a444ec08367278ab9b48d1dd3b897443
4,118
/* * 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 ...
38.485981
95
0.704711
13e9a34dfec1f4a2b7d7b8284baad54f7c686ff1
537
package com.secure.secure_back_end.repositories; import com.secure.secure_back_end.domain.History; import com.secure.secure_back_end.domain.Ticket; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository;...
29.833333
71
0.83054
98ac043a4b562da5fe85765fb6eadd4636f81edc
898
package demo; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; /** * @author miaoshuo * @date 2020-10-05 22:45 */ public class Main { public static void main(String...
26.411765
81
0.60245
ef53fa4527f64026cfa1d2686009ba2f4b1720ab
4,044
package org.squiddev.plethora.api.module; import com.google.common.base.Preconditions; import net.minecraft.util.ResourceLocation; import org.squiddev.plethora.api.method.BasicObjectMethod; import org.squiddev.plethora.api.method.IContext; import org.squiddev.plethora.api.method.IMethod; import org.squiddev.plethora.a...
29.735294
125
0.718843
0d02bd340cf5a943f358420a4d41fd0ed289a9c8
9,206
/* * 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 ...
44.907317
106
0.732348
d75a08a6694a6166423c961ea0435bf7c8694b60
4,162
/** * Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.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 requ...
41.207921
82
0.73258
aca9530bee93ed80d9cbfcf0892bf2263e874e78
19,778
// ============================================================================ // // 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...
36.558226
134
0.580544
735920213041aa26cb274170122a51f96e997bd3
3,754
/*- * #%L * OfficeCompiler * %% * Copyright (C) 2005 - 2020 Daniel Sagenschneider * %% * 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...
35.415094
99
0.716569
ac265b3454527019b990da04c2fd7761003d5b51
7,681
package simccs.dataStore; import java.util.HashMap; import java.util.HashSet; /** * * @author yaw adopted to read txt files for paths to create shapefile */ public class NetworkData { // Opened sources. private HashMap<Source, Double> sourceCaptureAmounts; // MTCO2/yr private HashMap<Source, Double> ...
29.88716
87
0.643536
6948be2b010e087b710427bb8d8bf2a0a7b73a03
359
package com.example.hr.application; import java.util.Optional; import com.example.hr.domain.Employee; import com.example.hr.domain.TcKimlikNo; public interface HrApplication { default Optional<Employee> hireEmployee(Employee employee){ return Optional.empty();} default Optional<Employee> fireEmployee(TcKimlikNo ...
23.933333
87
0.802228
ca18160485629d4e0a079d63a66fb91c1c9836aa
1,834
package zhushen.com.shejimoshi.leetcode; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Created by Zhushen on 2018/8/14. */ public class shortestPalindrome { public static void main(String[] args){ String result = shortestPalindrome("aacecaaa"); int x = 0...
20.840909
64
0.517993
13ab949402d66cf2bceb4af258ca4f6f085c373a
4,555
/* * Copyright 2015 Adaptris Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
25.165746
100
0.627223
0e2948b13683558fdf507a4b284419d199737d20
7,601
package com.ideal.audit.common.util; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import java.util.*; import java.util.concurrent.LinkedBlockingQueue; /** * 对zTreeJS控件数据对象封装。 * @author Gene.zhang * @date 2012-4-24 */ public class ZTreeNode { private Integer id; private String ...
20.108466
90
0.650572
2309b85cc29bf74b9186f687a39876fdce0205e6
3,044
package cz.ackee.androidskeleton.utils; import android.content.Context; import android.content.SharedPreferences; import cz.ackee.androidskeleton.App; /** * Class that handles storing persistent small data Created by David Bilik[david.bilik@ackee.cz] on * {16. 2. 2015} */ public class Storage { publ...
29.269231
100
0.681997
82d9ca279cccdcf348bd437db059e67bb9710b44
2,823
package com.foxinmy.weixin4j.mp.model; import java.io.Serializable; import java.util.Date; import com.alibaba.fastjson.annotation.JSONField; import com.foxinmy.weixin4j.mp.type.KfInviteStatus; /** * 多客服账号信息 * * @className KfAccount * @author jinyu(foxinmy@gmail.com) * @date 2014年11月16日 * @since JDK 1.6 * @se...
19.468966
71
0.690755
e778f2cde873ecdb1a5d39b35e3907c462376a16
3,892
/* Copyright (c) 2014,2015,2016 Ahome' Innovation Technologies. 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 ...
43.730337
152
0.731757
317021b586ba759be60a4e6a2a2b43df56b63cb3
627
package org.jboss.security.examples.customer; import java.util.Set; import java.util.HashSet; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("/") public class MyRESTApplication extends Application { private Set<Object> singletons = new HashSet<Object>(); private Se...
24.115385
59
0.679426
6cda9354dde08e573cd35bef3779b1b81ef7b4f3
1,644
package mod.syconn.stf.items; import mod.syconn.stf.StarMain; import mod.syconn.stf.init.FItems; import mod.syconn.stf.items.lightsaber.customize.LType; import net.fabricmc.fabric.api.item.v1.FabricItemSettings; import net.minecraft.client.item.TooltipContext; import net.minecraft.item.Item; import net.minecraft.item....
36.533333
119
0.722628
39246fe3c080015eb8d6275792522fd8c311a9a3
728
package com.services; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import com.utils.Scheduler; /** * used to start proccesses on server start up * */ @WebListener public class MyListener implements ServletContextLi...
21.411765
60
0.733516
42d2bf2c542d48c259a6a1efe56160d5622cb71b
14,681
package org.apache.helix.monitoring.mbeans; /* * 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 ...
40.221918
116
0.770247
78d74e53f1ff41ff3353328ff8cf3b35998b8b43
11,098
/* * Copyright 2013 University of Glasgow. * * 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...
44.215139
129
0.612363
8d12182fe51307b3a6aea95f293595fe42df105b
9,543
package com.geditor.transformation.point; import org.apache.log4j.Logger; import java.awt.*; import java.awt.image.BufferedImage; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; public class PointTransformations { private static final Logg...
40.096639
127
0.559258
3dc5e7023462d889523efb0f813c196b8aadf558
4,783
package ru.lanbilling.webservice.wsdl; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <...
29.708075
116
0.583107
4cdd04d52dc22543e8416a59055f81835e592ab7
7,583
package sistema.dao; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.Date; import java.util.LinkedList; import java.util...
37.171569
158
0.576948
c955463d418bec5baa4915cc56eff316040b3ad4
4,377
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
20.453271
99
0.681517
1e90bdaeb4133e9574de893b4c8a357c672c8b67
13,965
package io.github.s5uishida.iot.rainy.device.opcua; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ExecutionEx...
36.085271
131
0.721017
b51409a23409abdaef8e7d2639e783c3ba663b91
1,650
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
31.132075
80
0.604848
9d094822e4bfeeaa9a08819002e3c4c92c1d0bd5
1,773
package io.metadew.iesi.server.rest.pagination; import io.metadew.iesi.metadata.definition.environment.Environment; import org.springframework.stereotype.Repository; import java.util.List; import static java.util.stream.Collectors.toList; @Repository public class EnvironmentPagination { public List<Environment> s...
40.295455
114
0.747885