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
6554e0d6fbb5d8e1e441dfbbd9e433e07cc6591c
240
package io.vproxy.base.dns; import io.vproxy.base.util.callback.Callback; import io.vproxy.vfd.IPPort; import java.util.List; public interface DnsServerListGetter { void get(boolean firstRun, Callback<List<IPPort>, Throwable> cb); }
21.818182
69
0.775
040de63a9b3bfe8c7208e34381018265502c2c9e
1,001
/* * Copyright 2017 ThdLee * * 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.75
75
0.646354
99dcc550e400402172e072d3583de77b9dc1c4a2
2,825
package fi.csc.notebooks.osbuilder.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotatio...
39.236111
107
0.80354
c6f51732b30582e490eb73ed2bd66afbb98fd545
903
package com.chrisdoyle.validation.tests; import com.chrisdoyle.validation.Main; import org.apache.commons.io.FileUtils; import org.junit.Assert; import org.junit.Test; import java.io.File; /** * Issue 22, pom overrides * Created by alex on 9/2/16. */ public class Test_Issue22 { @Test public void testPom...
23.763158
115
0.562569
19695c8b46f89e559f9123a7ff3ec6ca7a00fd80
96
package org.datanucleus.samples.metadata.dtd; public class DTDFile3 { String name; }
13.714286
46
0.708333
e5e4dbd5ef08a3789b470d720e230f1f7f3fdd78
880
package com.example.android.clothespredicting.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.android.clothespred...
27.5
103
0.742045
d5cb340a6a932a7ccf63e4b8594844b36afe23f3
2,427
package org.wrkr.clb.statistics.services.project; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.wrkr.clb.common.jms.message.statistics.BaseStatisticsMessage...
39.786885
89
0.755253
a7dbf17148f3aa31593323ad7f53ea1858038027
500
package minhfx03283.funix.prm391_asm_1.models; import java.util.Set; /** * This question type is for multiple choice option (checkboxes will be displayed in UI). * mOptionsList is a set of multiple choice questions for users to pick. */ public class QuizType2 extends Quiz { private Set<String> mOptionList; ...
23.809524
89
0.714
8e96e51f10573be21963f0ef1ce3d5a093d81aa1
4,349
/* (C) Copyright IBM Corp. 2021 SPDX-License-Identifier: Apache-2.0 */ package org.alvearie.keycloak.config; import javax.ws.rs.BadRequestException; import org.alvearie.keycloak.config.util.KeycloakConfig; import org.alvearie.keycloak.config.util.PropertyGroup; import org.alvearie.keycloak.config.util.PropertyGroup....
36.855932
157
0.680846
f7b22a0e66d1c9533c5903c420dd94e3b64ba067
1,230
package com.reritel.aquatic; import com.reritel.aquatic.registry.ModBlocks; import com.reritel.aquatic.registry.ModItems; import com.reritel.aquatic.registry.ModOres; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder; import net.minecraft.item.ItemGroup; im...
30.75
76
0.731707
d7196c45998ff06b8a1117e17bf27654710f0467
713
package info.smart_tools.smartactors.statistics.sensors.scheduled_query_sensor; import info.smart_tools.smartactors.scheduler.interfaces.ISchedulerEntry; import info.smart_tools.smartactors.statistics.sensors.interfaces.ISensorHandle; import org.junit.Test; import static org.mockito.Mockito.mock; import static org.mo...
27.423077
80
0.754558
230398812e7f279f023659a6c8b9725841144f5b
12,108
package com.guinong.lib_utils; import android.Manifest; import android.app.Activity; import android.content.Context; import android.content.pm.PackageManager; import android.support.v4.app.ActivityCompat; /** * 动态全新申请 * @author ymb * Create at 2017/5/12 10:38 */ public class PermissionUtil { private static fi...
48.432
229
0.675752
83549c5bb10c8fdde7a876a15006e12844c59314
983
package chudanic.petr.homesecuritymobile; import java.util.Objects; /** * Created by Petr on 16.12.2017. */ public class SecurityImage { private String name; private Long timestamp; private String downloadUrl; public String getName() { return name; } public Long getTimestamp() { ...
18.54717
64
0.612411
d87164e660043021aeea1a45103ca6749e4e7984
1,603
package com.dyz.gameserver.msg.processor.login; import com.context.ErrorCode; import com.dyz.gameserver.Avatar; import com.dyz.gameserver.commons.message.ClientRequest; import com.dyz.gameserver.commons.session.GameSession; import com.dyz.gameserver.logic.RoomLogic; import com.dyz.gameserver.manager.RoomManager...
32.06
88
0.733624
263ba8408e68fdea3c9ae003b33e6b2b65a3981f
1,085
package com.SpringCore.DependencyInjection.SetterInjection.Reference; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class Test { public static void main(String[] args) { ApplicationContext context = new ClassPathX...
31.911765
145
0.705991
ebd51ab1ee63ad7840e7d63b99ad47ccd69e1338
2,969
/******************************************************************************* * Copyright (c) 2006, 2019 Mountainminds GmbH & Co. KG and Contributors * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org...
31.924731
88
0.733244
300128e9a5db0195e5d2639a18c6daf97eada98d
8,594
package com.yuyh.library.imgsel.ui; import android.Manifest; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.database.Cursor; import android.graphics.Bitmap; import android....
41.119617
159
0.650919
199b83e93c80d8961b1fc3c9ce6e0d0713c5b33d
1,110
package dk.jonaslindstrom.math.util; public class StringUtils { public static String superscript(String str) { str = str.replaceAll("0", "⁰"); str = str.replaceAll("1", "¹"); str = str.replaceAll("2", "²"); str = str.replaceAll("3", "³"); str = str.replaceAll("4", "⁴"); str = str.replaceAll(...
26.428571
48
0.546847
c05c28e8f9380ca6ae35167b86532dc52832d451
1,806
package streamapi.listofaddresses; import org.junit.Test; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Class for getting unique and sorted clients' addresses from profiles. * * @author ...
36.12
83
0.647841
3513dba1c3a6ffed7ba8570164e88a0a4aeae219
299
package com.getresponse.sdk.models; import com.fasterxml.jackson.annotation.JsonProperty; import com.github.kubatatami.judonetworking.controllers.json.JsonDefaultEnum; public enum Status { @JsonProperty("enabled") ENABLED, @JsonDefaultEnum @JsonProperty("disabled") DISABLED }
23
77
0.772575
4058cd0399616bb548e835f99c4254b8aad69084
1,123
/* Desafio - Rubens quer calcular e mostrar a quantidade de litros de combustível gastos em uma viagem de carro, sendo que seu carro faz 12 KM/L. Como ele não sabe fazer um programa que o auxilie nessa missão, ele te pede ajuda. Para efetuar o cálculo, deve-se fornecer o tempo gasto em horas na viagem e a velo...
25.522727
84
0.725735
3f3c38cc0faa6a8b762242a03542d62def449602
3,099
package com.sdsmdg.game.GameWorld; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory...
34.433333
118
0.679897
80c90bdd730a1e8c8aa4d91c7d9aee01120cc9ef
1,670
package grondag.xblocks.init; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import grondag.xblocks.Xb; import grondag.xblocks.block.ShapedBlockRegistrator; import grondag.xblocks.block.SpeciesBlock; import grondag.xblocks.data.BlockNames; import grondag.xblocks.data.ShapedBlockNames; import gro...
33.4
115
0.782635
ac201c3c548e5e1bf3cd458674a73da310ef3c4e
1,171
package com.huobi.model.wallet; import java.math.BigDecimal; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; @Data @Builder @AllArgsConstructor @NoArgsConstructor @ToString public class DepositWithdraw { /** * 充币或者提币订单id,翻页查询时...
15.613333
74
0.633646
64ca4c05e36c109831ef7847033a8b19b64c5f77
3,229
/* * Copyright (c) 2019, Oracle and/or its affiliates. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this ...
42.486842
139
0.754103
f8870b5b37c05f7419b1efefcc5a2c755692fc16
2,177
/** * 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 under ...
41.075472
118
0.741387
febc378b5fb27e714717e33bfa43cc1bedcae0fd
4,477
package de.ipvs.fachstudie.graphpartitioning.partitioner.memory.limitedMemoryAgingData; import java.util.ArrayList; import java.util.Collections; import java.util.Set; import java.util.concurrent.ConcurrentSkipListMap; import java.util.function.Consumer; /** * * @author Christian Mayer * @author Heiko ...
31.751773
101
0.66004
14c00368c7372f59c0b5ac1110215ee962f0e3fc
3,894
package org.randoom.setlx.functions; import org.apache.commons.math3.distribution.NormalDistribution; import org.randoom.setlx.exceptions.SetlException; import org.randoom.setlx.parameters.ParameterDefinition; import org.randoom.setlx.plot.types.Canvas; import org.randoom.setlx.plot.utilities.ConnectJFreeChart; import...
51.236842
243
0.731638
c366eb60fd6df9e2d0a5bc1771ab0420295201fc
639
package org.mediacloud.cliff.people; import java.util.List; import org.mediacloud.cliff.extractor.PersonOccurrence; import org.mediacloud.cliff.people.disambiguation.KindaDumbDisambiguationStrategy; import org.mediacloud.cliff.people.disambiguation.PersonDisambiguationStrategy; public class PersonResolver { pri...
29.045455
82
0.788732
c1d5c1a478dfb4d3e7bd9190ee918d3f8421e404
13,736
package fi.aalto.cs.apluscourses.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertSame; import fi.aalto.cs.apluscourses.utils.BuildInfo; import fi.aalto.cs.apluscourses.utils.Version; import java.io.StringReader; import java.net.MalformedURLException; import java.net.URL; impor...
46.721088
99
0.682295
d243f99b1114b83d3c34698a8ce7c02dd05d38dc
2,017
package team.zmn.repository.pojo; import java.io.Serializable; public class ProductMessage implements Serializable { private String pId; private String pName; private String pType; private Float pBalance1; private Float pStockPrice; private Float pDeliveryPrice; private String reposi...
21.231579
84
0.638572
ff8a3c262c34cc87c8de6ee1ab1034be675143a4
2,519
/* Copyright 2017, 2018 Masao Tomono Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
28.303371
102
0.614927
985d204df3c1f46cf576ae8990ac0c6800fd46db
1,084
package me.xwang.sif.entity; public class KLBImage { public String tag; public long size; public long pathlen; public String path; public int vertexLen; public int indexLen; public int width; public int height; public int centerX; public int centerY; public KLBVertice[] vertices; public byte[] indeces; ...
26.439024
55
0.607934
4a8d82433488d4253e7b617edcc1744928c16831
4,216
/* * 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 under t...
25.707317
182
0.681214
1a31998f358b1eb2d32c128cc0c6c9aca06d1ad4
2,188
/** * 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...
34.1875
79
0.738117
b75f9d30866d122480bb4e93088c2a32c99db20c
517
package com.slemjet.questions.other; import org.junit.jupiter.api.Test; import java.util.ArrayList; import java.util.List; class ProducerConsumerTest { @Test void test() { List sharedQueue = new ArrayList(); int size = 4; Thread consThread = new Thread(new ProducerConsumer.Consumer(sh...
27.210526
101
0.680851
322df1efa4150c97257b4b63b4a5a41d4db9e9a4
2,233
package com.tml.server.system; import cn.hutool.core.codec.Base64; import com.tml.api.system.entity.GatewayRouteLimitRule; import com.tml.api.system.entity.SysApi; import com.tml.common.core.utils.JacksonUtil; import com.tml.server.system.service.IGatewayRouteLimitRuleService; import com.tml.server.system.service.ISy...
32.362319
111
0.71339
94130db11a3ff528f87757161f8e18767136adea
1,112
/* * Copyright 2019 FJOBI Labs Softwareentwicklung - Felix Jordan * * 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 req...
30.054054
77
0.694245
fbe314031954a970cf1b5ae53ff3e2ef8edad721
1,934
/* * Copyright 2019 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
34.535714
117
0.699586
e77a23636b92049e0592d8b4e1ab6f34f9266d92
373
package com.sachin.algos.puzzles.primeandcomposites; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class MinPerimeterRectangleTest { @Test void testSampleInput() { assertEquals(22, new MinPerimeterRectangle().solution(30)); assertEquals(32, n...
24.866667
68
0.705094
47c4a1fd1219a756aa18d8c4126330e34dd3ede1
1,714
package jp.webpay.android.token.sample; import android.os.Bundle; import android.view.View; import android.widget.TextView; import java.util.List; import jp.webpay.android.token.model.CardType; import jp.webpay.android.token.model.Token; import jp.webpay.android.token.ui.CardDialogFragment; import jp.webpay.android....
34.979592
102
0.744457
c2bd94ffae7cadd28ddefd94778887e2990e3314
3,227
/** * $URL$ * <p/> * $LastChangedBy$ - $LastChangedDate$ */ package com.gpac.Osmo4.extra; import android.Manifest; import android.app.Activity; import android.app.AlertDialog; import android.app.FragmentManager; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.os.Bun...
33.268041
128
0.653238
1c9ac36b2852f5e14e9bbb568063cddfe0db2001
5,363
package org.violetime.autopers.session.objects; import java.lang.reflect.Field; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.List; import java.util.Map; import org.violetime.autopers.mapping.IAutopersMappingField; import java.util.logging.Level; import java.util.logging.Logger; imp...
45.837607
157
0.511467
ce6ab712c0748a0a9047e10af5eada08579f13a3
1,093
package br.com.mercadoLivre.model.dto.request; import br.com.mercadoLivre.model.Categoria; import br.com.mercadoLivre.validations.annotations.UniqueValue; import org.springframework.lang.Nullable; import org.springframework.util.Assert; import javax.persistence.*; public class CategoriaRequest { @UniqueValue(do...
27.325
85
0.698079
518afa0e081825239adf5a710cc4a80a387d464e
11,146
/* * NonprojectiveCylinder.java * * Created on March 30, 2005, 3:09 PM */ package org.lcsim.geometry.segmentation; import static java.lang.Math.atan; import static java.lang.Math.cos; import static java.lang.Math.sin; import static java.lang.Math.sqrt; import static java.lang.Math.floor; import static java.lang.Ma...
31.754986
152
0.583617
ee2d7f6678aad81d027842e9e1df62939a96eaf8
582
/** * SPDX-FileCopyrightText: 2018-2021 SAP SE or an SAP affiliate company and Cloud Security Client Java contributors * <p> * SPDX-License-Identifier: Apache-2.0 */ package com.sap.cloud.security.client; import com.sap.cloud.security.config.ClientIdentity; import org.apache.http.impl.client.CloseableHttpClient; i...
30.631579
115
0.809278
ca8bcb97c507558e8b2bfd627380d2aca7467c17
1,616
package org.yeastrc.xlink.www.objects; import java.util.List; /** * * Result object from ReportedPeptides_For_AllProteins_Service for All Proteins page */ public class GetNoLinkInfoReportedPeptidesServiceResult { private List<SearchPeptideNoLinkInfoWebserviceResult> searchPeptideNoLinkInfoList; private Lis...
32.979592
97
0.867574
3824dbed74ad7fa64df25717cdb409196864bb82
608
package com.jumbo.javacore.Lclassesabstratas.classes; public class Vendedor extends Funcionario{ private double totalVendas; public Vendedor() { } public Vendedor(String nome, String clt, double salario,double totalVendas){ super(nome,clt,salario); this.totalVendas = totalVendas; ...
21.714286
80
0.664474
3f839f243849b5c4f5aa531387c5aa800d660b29
1,088
package com.enation.pangu.api.view; import com.enation.pangu.model.ConfigProject; import com.enation.pangu.service.ConfigProjectManager; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.b...
23.652174
71
0.699449
f476f8f2111ca7a60ecf56d0a9fd3625482536ed
5,994
package controllerfx; import dao.PacienteDAO; import java.net.URL; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.List; import java.util.ResourceBundle; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.I...
29.97
146
0.634468
65301e574177181e771d589952139d8a77a0f95c
2,734
package com.xlongwei.light4j.util; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import lombok.extern.slf4j.Slf4j; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPubSub; /** * redis pubsub * @author x...
25.792453
85
0.706657
76d8dee31a26c269ff5577c325f915140c5ae356
9,416
/* * This file was automatically generated by EvoSuite * Sat Feb 29 19:22:41 GMT 2020 */ package com.alibaba.fastjson.util; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import com.alibaba.fastjs...
48.287179
176
0.749681
4cf5ac05849358b03e06ceea8867fa5e138ae70d
3,765
/* * 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.857143
91
0.665073
a28b34b2386c44583d6242ff1e84b848869f67f5
8,984
package edu.rit.soundtest; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.os.AsyncTask; import android.os.Binder; import android.os.Handler; import android....
30.046823
122
0.568344
931e2df1e080965252fdfddd6b827c16830fc781
2,744
package com.vuece.controller.ui; import com.vuece.controller.R; import com.vuece.controller.core.ControllerApplication; import com.vuece.controller.service.ControllerService; import com.vuece.controller.service.NotificationReceiver; import android.app.Notification; import android.app.NotificationManager; imp...
41.575758
127
0.689504
e4b02cdedfa9a8d8c121d874b4e775c60bf057e2
758
package net.tofweb.starlite; public class CellInfo { private double g; private double rhs; private double cost; public CellInfo() { this.cost = 1.0; } public double getG() { return this.g; } public void setG(final double g) { this.g = g; } ...
18.047619
91
0.515831
9a7b00a89e4731a2e9d841794d8d28ec987d9ef5
4,488
package io.drakon.talon.test; import java.util.Set; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatCode; import io.drakon.talon.Talon; import io.drakon.talon.test.transformers.HasSeenAnyTransformer; import io.drakon.talon.test.transformers.StringRepl...
38.033898
99
0.700535
aca5d3a9e4563742894de6fa39c0ff844d372156
5,062
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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 * * ...
35.398601
96
0.747728
4ee11f39736f4861f01e1304fcdd1a1c0fd46bc4
261
package com.mumu.cake.ec.main.cart; /** * @ClassName: ShopCartFields * @Description: * @Author: 范琳琳 * @CreateDate: 2019/3/22 11:19 * @Version: 1.0 */ public enum ShopCartFields { TITLE, DESC, COUNT, PRICE, IS_SELECTED, POSITION }
14.5
35
0.624521
74be809f3622f1de5a2f7988c67fe4040b8c4066
4,673
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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...
29.955128
125
0.632784
23d7c840e42d961b7e961e2420372ea315e355ef
3,059
// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com package gost.controller; import gost.occasion.Statuses; import gost.signature.SignatureParameters; import org.apache.logging.log4j.LogManager; import org.apache...
36.416667
243
0.579928
85c8a465c05015251074eb2d0f56d37965cf9d99
3,453
/* * 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")...
43.1625
102
0.739067
6f6116fa117980dda5cf85388104a1555a09dbc6
1,950
package com.dtstack.jlogstash.metrics.base.reporter; import com.dtstack.jlogstash.metrics.base.Metric; import com.dtstack.jlogstash.metrics.base.MetricConfig; import com.dtstack.jlogstash.metrics.base.MetricGroup; /** * copy from https://github.com/apache/flink * * Reporters are used to export {@link Metric Metri...
35.454545
105
0.638974
0eddd458b69ac4969a3c5f2f6b890632ad586a0f
29,056
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: packimports(3) // Source File Name: MOSJSONStructure.java package com.ibm.tivoli.maximo.rest; import com.ibm.json.java.JSONArray; import com.ibm.json.java.OrderedJSONObjec...
39.264865
202
0.579777
28c360484c5d420567237f016965d533de480099
2,253
/* * 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 ...
37.55
144
0.708833
6dd826a6613bc622e7b5d82d45ee74c9e61b9515
23,864
// 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...
51.991285
204
0.560803
d8f9d32f73f87452081329091e88a12ece737cf2
2,441
/** * */ package org.apereo.openlrs.storage.inmemory; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.apereo.openl...
28.383721
100
0.704629
dc57e01e6e4d82e27b1f127a6cfd20168635c278
848
package gov.cms.mat.fhir.rest.dto; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.ArrayList; import java.util.List; import java.util.Map; @Data @AllArgsConstructor @NoArgsConstructor public class LibraryConversionResults { String matLibraryId; String f...
25.69697
96
0.758255
1b21ea59aa4c9c4c82a0f6a992be09abf62c1527
565
package com.android.supervolley; import com.android.volley.Response; import com.android.volley.VolleyError; abstract class ResponseListener implements Response.Listener<String>, Response.ErrorListener { @Override public void onResponse(String response) { onSuccess(new HttpResponse.Builder().r...
23.541667
68
0.734513
1d4a25f195998e3dc04d09949129127dafd2b6d6
2,637
package com.lenss.yzeng.utils; import android.app.Activity; import android.content.pm.PackageManager; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.util.Log; import java.io.File; import java.io.FileOutputStream; import java.io.FileWriter; import java.io....
33.379747
109
0.609025
e67fb64c933845fbbc20fe86f4b1bd07eb76fb0c
150
package cn.cerc.db.core; @Deprecated public class Record extends DataRow { private static final long serialVersionUID = 4041128206428436571L; }
18.75
70
0.786667
0ec04178997f467d8463b5dd138ed7ce628fdb7b
845
package com.apina.sso.core; import com.apina.sso.core.config.CoreConfigurationManager; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication...
26.40625
68
0.711243
6dd794e26402e302c194ee12e8f710774c3e1dcc
4,389
package i5.las2peer.services.uatMusic; import java.util.*; import org.json.simple.*; import org.json.simple.parser.ParseException; public class classes { class image { public image() {} private String imageName; public void setimageName(String setValue) { this.imageName = setValue; ...
23.222222
86
0.618592
f88289d04b1952407ce950890bc650bae3e1baf4
6,557
/* * Copyright 2017 The Error Prone 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
39.263473
100
0.73494
53c6729a6031f776dd8fa18b7dbd3c3a7e4d0e26
1,491
/** * Copyright 2017 ZTE Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
22.253731
76
0.651241
3122456bd4306511ec6d8808acb425e6b0b0083c
8,149
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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 ...
16.630612
810
0.781446
ff012174adbb1ed165b2d8373fbd1fd1c6b44e15
137
package com.mercury.platform.shared.config.configration; public interface HasDefault<T> { T getDefault(); void toDefault(); }
15.222222
56
0.722628
31a1629b8157205d71cc1a7e5d1c266184afd682
2,422
package com.codeforces.commons.pair; import com.codeforces.commons.text.StringUtil; import org.jetbrains.annotations.Contract; import javax.annotation.Nonnull; import javax.annotation.Nullable; /** * @author Maxim Shipko (sladethe@gmail.com) * Date: 13.05.2016 */ public class ShortPair impleme...
25.494737
105
0.610652
c6abeffbc6c09429a2379d9a91cd2ce175f30bef
2,328
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the repository root. package com.microsoft.tfs.client.common.ui.framework.helper; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.eclipse.jface.viewers.CheckStateChangedEven...
29.846154
80
0.646048
f61fb5bc0078012182c03451df23f23ad570cc64
2,023
package ru.stqa.course.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.course.addressbook.model.ContactData; import ru.stqa.course.addressbook.model.Contacts; import java.io.File; import static org.hamcrest.CoreMatchers.equalTo; import static org.ham...
35.491228
126
0.687593
3214b03f756f647bc682f0ba775ed1d3a708ecb2
2,166
package org.zstack.sdk; public class AccessControlListEntryInventory { public java.lang.String uuid; public void setUuid(java.lang.String uuid) { this.uuid = uuid; } public java.lang.String getUuid() { return this.uuid; } public java.lang.String aclUuid; public void set...
24.613636
62
0.641274
2a9a69b7283bd898025160865f51d59fcbe77f9d
157
package br.com.cabralrodrigo.mc.fluidania.common.lib; public final class LibFluidNames { public static final String LIQUID_MANA = "liquid_mana"; }
26.166667
60
0.757962
b0c4146e9af7b8a7aa5497381f8bd4256bad691e
5,579
package de.javagl.flow.gui; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing...
34.438272
79
0.599391
d6af6ae633ccc93813ef5f6c7c8d2d05593b535e
3,305
package princess.tenergistics.modifiers; import net.minecraft.block.BlockState; import net.minecraft.block.IBucketPickupHandler; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.fluid.Fluid; import net.minecraft.fluid.FluidState; import net.minecraft.fluid.Fluids; import net.minecraft.util.ActionR...
37.134831
136
0.751286
fcecea1b183b348b7edeb2226e7687effee97b6e
900
package top.bluesword.web.laboratory.rocket.delayed.sender; import org.apache.commons.lang3.time.DateFormatUtils; import org.apache.rocketmq.client.producer.SendResult; import org.apache.rocketmq.spring.core.RocketMQTemplate; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.mes...
32.142857
122
0.744444
779dfdacafd8a892fb2a1bead1b2352fa371d87c
5,699
package org.gentar.audit.diff; import org.gentar.biology.location.Location; import org.gentar.biology.mutation.Mutation; import org.gentar.biology.mutation.sequence.MutationSequence; import org.gentar.biology.sequence.Sequence; import org.gentar.biology.sequence_location.SequenceLocation; import org.junit.jupiter.api....
35.842767
99
0.687314
b7f3391685a32bfd26a9c2c27ee59ed73ec4355b
202
package org.marsik.bugautomation.bugzilla; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class AuthorizationCallback { String name; String password; }
16.833333
42
0.79703
517df60e7971803e3cdf50d995f7f03dbdd319e3
4,657
package tool.testForApks; import java.io.IOException; import java.util.Collections; import org.xmlpull.v1.XmlPullParserException; import soot.PackManager; import soot.Scene; import soot.SootClass; import soot.SootMethod; import soot.jimple.infoflow.android.SetupApplication; import soot.jimple.infoflow.so...
56.792683
111
0.7449
8a1b30f126935f0f40bf9795fcafab7f629df143
943
package com.grady.server.dto; /** * @Author Grady * @Date 2020/7/15 20:18 * @Version 1.0 */ public class SortDto { private String id; private int oldSort; private int newSort; public String getId() { return id; } public void setId(String id) { this.id = id; } pub...
19.645833
62
0.558855
f292a086ea94d9adc7f341435096ee4fe944073b
3,959
package jetbrains.mps.lang.smodel.typesystem; /*Generated by MPS */ import jetbrains.mps.lang.typesystem.runtime.AbstractInferenceRule_Runtime; import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeCheckingContex...
65.983333
395
0.824198
3845c6d12079bf3eb68b81208671c61b25949423
457
package exercicio02; public class Calculos { private Operacoes O; public void setO(Operacoes o) { O = o; } public double calculos(double x, double y){ return O.calc(x,y); } //1. fazer o functional interface //2. ter como atributo o parametro a referencia para a functional interface (linha 3) //3. ...
19.041667
88
0.706783
bd64cebabf35767c79964a0969270813dd00f7b3
36,920
/******************************************************************************* * Copyright (c) 1999-2005 The Institute for Genomic Research (TIGR). * Copyright (c) 2005-2008, the Dana-Farber Cancer Institute (DFCI), * J. Craig Venter Institute (JCVI) and the University of Washington. * All rights reserved. ...
38.659686
306
0.5776
31346d4383205ecfe4fda33257d2ee7f5cacbaa9
1,349
/*** * Copyright (C) 2019 Verizon. 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 applicable law or ...
44.966667
118
0.804299
c8f5ea9bbea10a33546f387e949c0ef7a0f1d3ed
2,799
package com.dynamsoft.demo.dynamsoftbarcodereaderdemo; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.text.method.ScrollingMovementMethod; import android.widget.TextView; public class ResultActivity e...
45.145161
101
0.596284
7ef8a28b403ad5d4d721424c89bf89ffe74bd7e8
3,569
package com.floreerin.doit_android_sample_ui; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import android.content.DialogInterface; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.os.Message; import android.vie...
33.669811
152
0.660409
eb55c471fadb6a5334b0f25ec6e7a36d93bfe5c1
4,937
/* * Copyright (c) Fundacion Jala. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ package org.fundacionjala.sevenwonders.core; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.EnumMap; import ...
34.524476
122
0.713591
d4766ff98b48ee2cab4f7307afd62403fc626a07
3,561
// ======================================================================== // Copyright 2010 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
32.972222
98
0.682112
c06ee247d6e8d476ed47973b8683b3dd7e083e87
4,760
/* * Copyright 2006-2018 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
39.016393
143
0.54979
6ac9c427ba6f42de46fdf19eb621511db8358d97
1,342
package debug; import android.app.Application; import com.billy.cc.core.component.CC; import com.molmc.ginkgo.basic.data.NetDataSource; import com.molmc.ginkgo.basic.utils.CrashUtils; import com.molmc.ginkgo.basic.utils.DirAndFileUtils; import com.molmc.ginkgo.basic.utils.LogUtils; import com.molmc.ginkgo.scanner.Bui...
25.807692
90
0.673621
225ac7b7d45731e4f3e9dacca5eb4224bfe4ca47
520
package org.microshed.testing.health; import java.util.ArrayList; import java.util.List; public class Health { public Status status; public List<Check> checks = new ArrayList<>(); public Check getCheck(String name) { return checks.stream() .filter(c -> c.name.equalsIgnoreCase(nam...
20
59
0.605769