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
2c03f0ed84393f1d5665b551731c54c0bd30aee2
180
package com.original; public class Generic<T>{ private T key; public Generic(T key) { this.key = key; } public T getKey(){ return key; } }
13.846154
27
0.538889
4e6e462f26eab5d67e6233257d73d892a1e46b28
2,051
// Connection.java - Implementation of URLConnection for gcjlib // protocol. /* Copyright (C) 2003 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details. */ package gnu.java.n...
24.416667
73
0.676255
769f630902d4655d69f4000f14191ec45c6060b0
1,791
/** * */ package org.ibase4j.core.support.cache.shiro; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.shiro.cache.Cache; import org.apache.shiro.cache.CacheException; imp...
25.956522
95
0.648241
97e6c9184499a16c5b8c00048d0685e3674f8ffc
2,099
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
34.983333
108
0.756551
373754e2cfd9f08c8c439643fc8453321c18c922
664
package com.kehua.energy.monitor.app.business.local.setting.workPattern; import com.kehua.energy.monitor.app.model.APPModel; import javax.inject.Inject; import io.reactivex.functions.Consumer; import me.walten.fastgo.di.scope.ActivityScope; @ActivityScope public class WorkPatternPresenter extends WorkPatternContrac...
20.75
73
0.715361
c4535b23a4e91412348bfb2d2a889ffc95eddfe3
2,407
/* * Copyright 2012-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
32.093333
105
0.746157
34c36c5e27611546c73942de9daf0ad6c7378c44
6,718
/* * Copyright 2016, gRPC Authors 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 appli...
35.357895
100
0.718369
63b1c645a374e7e3fe65bfbaf4dc606cbe2d66a4
1,239
package nise_eispc; // This version uses doubles for the BP values public class BiPoint { private double a; private double zc; private double z1; private double z2; BiPoint (double aIn, double[] input) { if (aIn < 0 || aIn > 1) { System.out.println("ERROR!!!!"); } a = aIn; zc = input[0]; z1 = input...
19.983871
46
0.595642
a814ff3a4911f8c39de681684ac5ba7e1bbf934d
2,117
// Copyright 2000-2020 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.openapi.editor.markup; import com.intellij.openapi.vfs.VirtualFile; import java.awt.*; import java.awt.datatransfer.DataFlavor; import java.awt.dnd.DragSour...
34.145161
140
0.719887
ca15c4ef1d194d5967b7c4e6848d0826b21bd6a8
2,921
package org.har01d.crawler.service; import java.io.IOException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; import org.har01d.crawler.MyThreadFactory; im...
29.505051
97
0.571037
5ada8ec54d667d46afc719432a59189347b360db
3,023
/* * Copyright 2020 Hazelcast Inc. * * Licensed under the Hazelcast Community License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://hazelcast.com/hazelcast-community-license * * Unless required by applicable law or agree...
34.747126
105
0.745286
26ec323ce559c37d7609ff70f3a31efc90ee8f62
649
//,temp,sample_2375.java,2,16,temp,sample_5407.java,2,16 //,3 public class xxx { private void connect(Operator<?> o, AtomicInteger index, Stack<Operator<?>> nodes, Map<Operator<?>, Integer> indexes, Map<Operator<?>, Integer> lowLinks, Set<Set<Operator<?>>> components) { indexes.put(o, index.get()); lowLinks.put(o, inde...
32.45
189
0.733436
6d371d8179aeedd65292afa460a503e6269013d0
131
package programme; public class BClass { public String value; public BClass(){ value="V"; } }
10.076923
25
0.519084
30aff92ae354540d888d83665e45f0d7e164faf9
8,045
package com.example.projectphase1; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.room.Room; import android.content.Entity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.Gravity; import android.view.Vie...
46.235632
237
0.484897
4666eac0e50b66850dfa7d9b90a2efff6be49872
8,972
/* * 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.requirement.test.logic; import co.edu.uniandes.csw.requirement.ejb.AprobacionLogic; import co.edu....
36.032129
94
0.607
7c20229604309d1e7bf853e4a9356285cb373089
3,377
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * 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...
37.94382
154
0.63814
e03622b591986cc55ae008d2b03a9e1a3503b9cc
15,372
package io.swagger.codegen.languages; import java.text.SimpleDateFormat; import java.util.Date; import com.fasterxml.jackson.core.JsonProcessingException; import io.swagger.codegen.CodegenConfig; import io.swagger.codegen.CodegenType; import io.swagger.codegen.DefaultCodegen; import io.swagger.codegen.SupportingFile;...
46.441088
170
0.67044
8cd8bf5ae3aeac1824603197c9b6e4b34b90a3d7
1,618
package com.park.controller.param; /** * {"data":"正确后的数据","errorcode":"当errorno=0的时候 区分错误类别 例如:0: 用户不存在 1:用户余额不足 ","errormsg":"错误信息","errorno":"错误代码 0:正确 1:有错误"} * @author jingxiaohu * */ public class ReturnDataNew implements ReturnDataBase{ private String errorno=""; private String errormsg=""; privat...
16.680412
127
0.662546
31fafc67fe9c4fb277902227e5232a56c55c6b9a
9,653
package ga.discoveryandlost.discoveryandlost.activity; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.annotation.NonNull; import android.support.v4.content.ContextCompat; import android.view.LayoutInflater; import android.view.View;...
33.286207
124
0.611416
414f499a4446171e46d3e1cd4b1c03053e10a2f8
1,038
package psidev.psi.mi.jami.xml.io.writer.elements.impl.xml25; import psidev.psi.mi.jami.model.Feature; import psidev.psi.mi.jami.xml.cache.PsiXmlObjectCache; import psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlFeatureWriter; import javax.xml.stream.XMLStreamWriter; /** * XML 2.5 writer ...
31.454545
95
0.714836
22b42a0d013e30df093fc3a2402eeaadd6de4c71
246
package cyclops.typeclasses.functor; import com.oath.cyclops.hkt.Higher; import java.util.function.Function; public interface ContravariantFunctor<W>{ <T, R> Higher<W,R> contramap(Function<? super R, ? extends T> fn, Higher<W,T> ds); }
18.923077
86
0.731707
0f7d1372d0881f6b5c37cb2df035babca5c6d984
20,136
package uk.ac.shef.dcs.sti.TODO.evaluation; import java.io.IOException; /** * Created with IntelliJ IDEA. * User: zqz * Date: 01/04/14 * Time: 15:22 * To change this template use File | Settings | File Templates. */ public class Evaluator_AllInOne_Limaye { public static void main(String[] args) throws IOExc...
60.833837
120
0.590683
9fd1abe481719488f5d0ed83e3844c54674140f6
448
package bsoelch.concat; import java.io.InputStream; import java.io.PrintStream; /** * Context for running the program */ @SuppressWarnings("ClassCanBeRecord") final class IOContext { final InputStream stdIn; final PrintStream stdOut; final PrintStream stdErr; IOContext(InputStream stdIn, PrintStrea...
21.333333
74
0.700893
4d643313600413597d5ca8bf24537154e0035fa8
3,957
/* * (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
24.425926
75
0.672985
6e0d400c2ae00294c662910fafbfbc10bf0c1778
2,460
package com.rbittencourt.aws.cost.miner.domain.miner; import com.rbittencourt.aws.cost.miner.application.report.Report; import com.rbittencourt.aws.cost.miner.domain.billing.BillingInfos; import com.rbittencourt.aws.cost.miner.domain.metric.Metric; import com.rbittencourt.aws.cost.miner.domain.metric.MetricResult; imp...
36.716418
108
0.719106
43a720fb5947d1819daee9409cc27e631716c917
592
package org.j4guanatos.spring.boot.mapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /************************************************************************** * Mapper.java watchtower project * * @author Software Quality Engineering Team NBCUniversal Technology - Digital * Products & Inte...
26.909091
78
0.552365
473c53cfa1f73c97e80668a9240dbcbc1495321d
3,251
package br.com.fiap.RecognitionApp.service; import java.net.URI; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.StringEntity; import org.apache.http.client.utils.URIBuilder; ...
37.802326
95
0.663488
2f896409bf382d25c49a7fb6eba031e384798797
3,211
package fi.essentia.somacms.tree; import fi.essentia.somacms.models.DatabaseDocument; import fi.essentia.somacms.models.Document; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert....
34.902174
106
0.688571
db42271b1ec085c01bc9ee8373b0a3c237355c28
1,383
package com.focasoft.focaworld.server; import com.focasoft.focaworld.entity.entities.EntityPlayer; import com.focasoft.focaworld.net.Packet; import com.focasoft.focaworld.net.PacketProcessor; import com.focasoft.focaworld.net.packets.PacketPlayerMove; import com.focasoft.focaworld.net.packets.PacketPlayerQuit; import ...
26.09434
88
0.754881
b40d2c0ad362621a0b4b9e352389bb5eace2aa14
2,925
package io.github.alkyaly.orehalving.gui; import io.github.alkyaly.orehalving.OreHalving; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.Inventory; import net.minecraft.inventory.SimpleInventory; import net.minecraft.item.ItemStack; i...
35.240964
143
0.652991
071069bd2e9654d8f56ba8b93e1cc5b365c005fb
18,080
/* Class519 - Decompiled by JODE * Visit http://jode.sourceforge.net/ */ package com.jagex; public class Class519 { public static Class472 aClass472_7058; public static Class53_Sub5 aClass53_Sub5_7059; Class519() throws Throwable { throw new Error(); } static int method8634(int i, int i_0_) { if (i_0_ == ...
24.733242
117
0.510509
1fffb1daf40558cb4aa9ede21b84e2f49c21bf60
3,826
/* * 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.145631
117
0.749608
79a32460a18f0ed1f3886e9a55182812dbdd2279
883
public class Node { /** * Node class will be a used to create * Doubly Linked list * @author Garvit Joshi */ Node prev; int data; Node next; Node(int d) { prev=null; data=d; next=null; } public static void printList(Node head) { /** ...
21.536585
48
0.463194
a54ead801c94ed78c191844240092c049021b495
4,763
/** * Copyright (c) 2015-2018, CJ Hare All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of conditions * a...
33.542254
103
0.7827
831bbe3f3434d0e45801ee4efb15c21904e1e00f
1,020
package de.cardmarket4j.entity.enumeration; public enum UserType { PRIVATE(0, "private"), COMMERCIAL(1, "commercial"), POWERSELLER(2, "powerseller"); private final String displayValue; private final int id; UserType(int id, String displayValue) { this.id = id; this.displayValue = displayValue; } ...
22.666667
94
0.648039
5e8aa4fcb2fcd181d5be11ba0e432069be19792e
642
// 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.ide.util.treeView; public class BgLoadingSyncUpdate extends TreeUiTestCase { public BgLoadingSyncUpdate() { super(false, true); } @Override prot...
22.137931
140
0.721184
89ae5c34550a058cc71666b2309a414eb13b5f26
320
package org.pmiops.workbench.google; import javax.annotation.Nullable; import java.io.IOException; public interface GoogleAnalyticsService { int trackEventToGoogleAnalytics(@Nullable String cid, String category, String action, String label, String page) throws IOException; }
26.666667
89
0.721875
380b4346c7fd9aff57910be996f182c1077db9b6
1,098
package com.github.aiosign.module.request; import com.fasterxml.jackson.annotation.JsonIgnore; import com.github.aiosign.base.AbstractSignRequest; import com.github.aiosign.base.RequestInfo; import com.github.aiosign.enums.ContentType; import com.github.aiosign.enums.HttpMethod; import com.github.aiosign.module.respon...
26.142857
89
0.797814
f3606272632c0ef03d77063c8c20b881c3eddd8f
3,050
//////////////////////////////////////////////////////////////////////////////// // // Created by MJesser on 10.10.2017. // // Copyright (c) 2006 - 2017 FORCAM GmbH. All rights reserved. //////////////////////////////////////////////////////////////////////////////// package com.forcam.na.ffwebservices.client.integrati...
37.195122
128
0.590492
8f1e356a2dcfdbaa8dee42b6a0c37704cff707dd
403
package com.sqma.auditmodel.util.exceptions; public class ScriptExcecutionException extends Exception { private static final long serialVersionUID = 1L; public ScriptExcecutionException() { super(); } public ScriptExcecutionException(String message) { super(message); } public ScriptExcecuti...
20.15
69
0.736973
73ad5454fb00093b57f39103f5b058aa41745fa7
24,810
package cn.threefishes.cloudrepository.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; public class ThemeGoodsExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public ThemeGoodsExample() { oredCrite...
32.644737
102
0.590568
0f7ce9412aeb8913cf0a7ce37fb1000193d7d4e0
1,385
/* * Copyright 2020 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
25.181818
75
0.722744
a2f2fc71e76c647b1bc7c9d6ca9593850977f2ee
3,877
package datadog.trace.instrumentation.mongo; import com.mongodb.connection.ClusterId; import com.mongodb.connection.ConnectionDescription; import com.mongodb.connection.ConnectionId; import com.mongodb.connection.ServerId; import com.mongodb.event.CommandStartedEvent; import datadog.trace.bootstrap.ContextStore; impor...
32.041322
97
0.732009
2f598347018be0fb46c65dbdb7b410c3e64720a4
2,286
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.shaking.ifrule.verticalclassmerging; import static org.junit.Assert.assertEq...
32.657143
100
0.745844
08accef63fd1cbe8b477bdf656c1c8f3a41f0bc4
6,277
/* * Copyright (c) [2021] Huawei Technologies Co.,Ltd.All rights reserved. * * OpenArkCompiler is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, W...
29.331776
91
0.566831
6a3f546b46907bfa6c61f9e49da6571e97ace5b7
1,550
package uk.co.omegaprime.mdbi; import javax.annotation.ParametersAreNonnullByDefault; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Map; import java.util.function.Supplier; @ParametersAreNonnullByDefault class MapBatchRead<K, V, MapT extends Map<K, V>> implements BatchRead<MapT> { priv...
33.695652
126
0.645806
e7fe7eb89a9b3da55e552c971fe15018172bb14c
374
package com.dimples.sys.service; import com.baomidou.mybatisplus.extension.service.IService; import com.dimples.sys.po.RoleUser; /** * @author zhongyj <1126834403@qq.com><br/> * @date 2020/1/6 */ public interface RoleUserService extends IService<RoleUser> { void deleteUserRolesByRoleId(String[] roleIds); ...
19.684211
61
0.751337
23b1699d54aef55f20f9977fbbd8f59102fe10fb
2,776
package br.com.db1globalsoftaware.kafka; import br.com.db1globalsoftaware.domain.Message; import br.com.db1globalsoftaware.infrastructure.properties.KafkaProperties; import org.springframework.kafka.support.serializer.JsonDeserializer; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.co...
44.774194
123
0.792147
26ea728ec14e9ed43aac3647292572f5cc5c2343
772
package com.crowdin.cli.commands.picocli; import org.junit.jupiter.api.Test; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.Mockito.verify; public class UploadSourcesCommandTest extends PicocliTestUtils { @Test public void tes...
29.692308
90
0.69171
6342f83d1f72df9fc676a0a2cab601efed262a71
620
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cuestionarios_cambioModelo; /** * * @author mjfortiz */ public class PruebaTestCM { public static void main(String[] args) { // el modelo: CuestionarioCM modelo =new CuestionarioCM(); model...
17.714286
73
0.717742
0bea61d5d2697f42f977d2679c2d7c0527661e75
1,095
package com.android.chengshijian.searchplus.util; import com.android.chengshijian.searchplus.listener.OnPrepareQueryListener; import com.android.chengshijian.searchplus.model.Constant; import java.util.Calendar; /** * * 查询工具类 * * Created by ChengShiJian on 2018/1/12. * */ public class QueryUtil { //准备查询 ...
28.076923
114
0.663014
31f39de506b6f2601353c7a14abd0091e5c92c65
1,244
/* * Copyright 2015 the original author or phly. * 未经正式书面同意,其他任何个人、团体不得使用、复制、修改或发布本软件. */ package com.phly.common.interceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servl...
25.387755
69
0.777331
f4904cb48c06c959e030b59d064826680edeedef
3,453
package dp.api.dataset; import dp.api.AuthUtils; import dp.api.dataset.models.DownloadsList; import dp.api.dataset.models.Metadata; import dp.api.dataset.models.Version; import dp.exceptions.FilterAPIException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.anno...
38.366667
110
0.78106
5fc0afd64a96c5f702d17983943895f4ac1275cf
17,020
/* * 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 dao; import config.MySQL; import dao.sql.BoletimSQL; import java.sql.Connection; import java.sql.PreparedStatement; import jav...
36.602151
195
0.536957
a0daf1dffb7dfbc36193035bb1519a13d209a2b2
2,103
/* * Copyright 2017-2019 lxb. * * 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 i...
30.926471
75
0.674275
2a6b71a324aa962986e634922c23a3f0e19901ef
4,972
package com.jcodes.nio.simulateQQ; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.IOException; import javax.swing.DefaultListModel; import javax.swing.JButton; import javax.swing.JFrame; im...
31.468354
100
0.497989
b0cf1e3304641c1776c350047f5fd4d1a837e534
258
package ch8.part9; public class prog1 { public static void main(String args[]) { LinkedList li = new LinkedList(); for(int i=0; i<10; i++) { li.add(i); } System.out.println(li); li.cyclicRightShift(3); System.out.println(li); } }
14.333333
41
0.616279
6bec9290f5cde168ef91e489ef6f0d568c4efe15
357
package msf.mfcfc.services.nodeosupgrade.scenario.upgrade; import msf.mfcfc.core.scenario.AbstractAsyncRunner; /** * Abstract class to implement the common process of the asynchronous runner for * the node OS upgrade function main process. * * @author NTT * */ public abstract class AbstractNodeOsUpgradeRunnerB...
22.3125
83
0.789916
d56355ba4405b7aab795368588707710a9d48500
730
package fr.zwendo.amongus.windowcontroler; import fr.zwendo.amongus.Updatable; import fr.zwendo.wrappers.window.BlankWindow; import fr.zwendo.wrappers.window.WindowPosition; /** * Represents the controller that modify a window behavior. */ public interface WindowController extends Updatable { /** * Actions to ...
21.470588
59
0.693151
5d25a468321c9e62b644fbd967fbfeebe811152b
11,473
package com.iflytek.voicedemo; import android.annotation.SuppressLint; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.View; import android....
29.493573
117
0.605247
3f90cbd2c982417098f6ec9ee2c43e900f306c37
1,390
/** * * @author Michelle * * This class helps the XMLReader class protect itself against faulty user input (empty/incorrect values). * If no simulation is returned, exception is set to null and the error message is called in the XMLReader class. * Otherwise, the simulation is set by the XMLReader class and t...
24.385965
114
0.706475
e17a7fd63bca0c3365290f7e80aea697d1bee7ec
3,147
/* ### * IP: GHIDRA * * 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 writin...
30.553398
90
0.756276
ffd6e922b6453708a89e992cdc3320a621ef3043
376
package com.emu.apps.qcm.domain.model.account; import java.security.Principal; import java.util.Map; public interface AccountRepository { Map <String, String> principal(Principal principal); Account getAccountByEmail(String email); Account updateAccount(Account account); Account createAccount(Accou...
22.117647
56
0.765957
1a117c8f2c4672b7a727e723ab645c609534afc3
414
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. Licensed under a commercial license. * You may not use this file except in compliance with the commercial license. */ package io.flowing.retail.payment.engine.dto; import lombok.Getter;...
29.571429
89
0.782609
fcd17c4d943b60da945555b671f46a967f138fce
1,786
package com.something.liberty.location; import android.app.Service; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.IBinder; import android.util.Log; import com.something.lib...
24.465753
121
0.646137
27a7e9dcfdde3233adb20f51df18ab2f018f064b
264
package com.aidriveall.cms.face.dto; public class FaceSimilar { float score = 0.0F; public FaceSimilar() { } public float getScore() { return this.score; } public void setScore(float score) { this.score = score; } }
15.529412
39
0.598485
1ecd5aed908a89935275967c2eabb30543290e13
1,535
// This file is auto-generated, don't edit it. Thanks. package com.antgroup.antchain.openapi.tdm.models; import com.aliyun.tea.*; public class RecognizeCpfAuthResponse extends TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 @NameInMap("req_msg_id") public String reqMsgId; // 结果码,一般OK表示调用成功 @NameInMap("result_co...
25.163934
97
0.670358
84583cfb74a19f1671d8e8ed73fd29c9275c4abd
252
package com.len.service; import com.len.base.BaseService; import com.len.entity.ArticleTag; /** * @author zhuxiaomeng * @date 2018/11/19. * @email 154040976@qq.com */ public interface ArticleTagService extends BaseService<ArticleTag, String> { }
19.384615
76
0.75
9aa2e4a605470774d5c481d8620d2f01189ffa9e
7,252
package g44422.diamond.model; import java.util.ArrayList; import java.util.List; import static g44422.diamond.model.State.EXPLORING; import static g44422.diamond.model.State.LEAVING; /** * Creates a game. * * @author 44422 * @version 0.1 */ public class Game implements Model { private List<Explorer> explor...
30.091286
263
0.599421
ccd1b4640de4a2bdfd9de5b93154cca820ab2019
1,176
package br.com.biot.integracaopagarmeapi.modulos.integracao.dto.cartao; import br.com.biot.integracaopagarmeapi.modulos.cartao.dto.CartaoRequest; import br.com.biot.integracaopagarmeapi.modulos.util.JsonUtil; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder;...
27.348837
74
0.77466
1c1d50a70bf05202cf249e6ec3a09925710c549f
1,633
package com.gusfot.service; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import com.gusfot.pray.model.Group; import com.gusfot.pray.model.Pray; import com.gusfot.pray.model.User; im...
17.945055
62
0.701776
4e09f6fd13fcd903fe0a94bc8b7cd9088ebdbc18
442
package ai.backend.client; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class ClientConfigTest { @Test void config() { } @Test void getAccessKey() { } @Test void getSecretKey() { } @Test void getEndPoint() { } @Test v...
12.277778
49
0.567873
6c6bffbb44f77c8b0a676cf69b2d51a7c13564b8
2,950
package io.isaki.kryojvmtest; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Locale; import org.objenesis.strategy.StdInsta...
33.522727
101
0.665085
8d6673af8f67d1fb63a4f3dda7911fe2da726a24
2,555
/* * Copyright 2014-2018 Rudy De Busscher * * 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 ...
37.573529
80
0.713503
2a8ae6a21652f6d099b5d367337ad2dc6771d8c3
805
package web.listeners; import java.util.List; import javax.servlet.annotation.WebListener; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionEvent; import javax.servlet.http.HttpSessionListener; import bean.ItemOrder; import model.StocksHandler; @WebListener public class ClientSessionListe...
21.756757
72
0.741615
654cb0537cd0244b6d183461d75a4dfa56ae2d91
7,992
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.integration.regression; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; ...
31.840637
115
0.657533
c780436adf97c7869d7a597f2fb61cb76848ca29
1,836
package eu.bcvsolutions.idm.core.model.repository.filter; import static org.junit.Assert.assertEquals; import java.util.List; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import eu.bcvsolutions.idm.core.api.dto...
35.307692
88
0.787582
9847ec51ca8697747cf98e8763ff06cf8bb73afd
938
package com.onebuilder.backend.handlers; import com.onebuilder.backend.exception.CartNotFoundException; import com.onebuilder.backend.exception.StockNotEnoughException; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annot...
34.740741
68
0.808102
a9ff88b3789cdf905df840fc1749a457ff5cf09e
6,104
package me.tomassetti.turin.parser.ast; import me.tomassetti.turin.compiler.errorhandling.ErrorCollector; import me.tomassetti.turin.resolvers.ResolverRegistry; import me.tomassetti.turin.resolvers.SymbolResolver; import me.tomassetti.turin.parser.ast.expressions.InvokableExpr; import me.tomassetti.turin.parser.ast.st...
27.372197
113
0.601737
813dbede9fb0cb0d2026d228700dc04c75eb532b
446
package com.liangxiaoqiao.leetcode.day.medium; /* * English * id: 602 * title: Friend Requests II: Who Has the Most Friends * href: https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends * desc: * <p> * 中文 * 序号: 602 * 标题: 好友申请 II :谁有最多的好友 * 链接: https://leetcode-cn.com/problems/friend-requ...
18.583333
83
0.672646
46f935d7a80c507b210b4fdb470d6cf772f7b401
194,971
package artech.com.semi.utility; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.BufferedWriter; import ...
40.308249
224
0.528848
e3b088d4a66648e5b4fea9a1c81f2886e425eca1
399
package genericity; import java.util.Date; public class Manager extends Staff { private String office; public Manager(String name, int age, String gender, String office) { super(name, age, gender); this.office = office; } public String getOffice() { return office; } ...
17.347826
72
0.629073
23b7b7aa561ccf090421c4a7feab7ec1bdb7fa1e
454
package com.dtstack.taier.develop.service.template.postgresql; import com.dtstack.taier.develop.service.template.PluginName; import com.dtstack.taier.develop.service.template.rdbms.RDBWriter; /** * @author daojin * @program: dt-centet-datasync * @description: PostgreSQL * @date 2021-11-05 10:39:58 */ public clas...
25.222222
66
0.746696
b06677e44a553aad3ec7ca424f8f70f26ce62eff
1,644
package at.or.vogt.oe1downloader.rules; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Test for {@link RuleIndexCounter}. */ public class RuleIndexCounterTest { /** Logger. */ private final Logger logger = LoggerFac...
34.25
86
0.635036
509357bb781aa2a947abc862e80dc00515277032
1,416
/** * Copyright 2016, RadiantBlue Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
20.521739
75
0.712571
c7b499f295da3dc19e4da693f32166887be1bc73
7,505
package com.github.pdgs.MyPengAPI.suggestion.controller; import com.github.pdgs.MyPengAPI.account.entity.User; import com.github.pdgs.MyPengAPI.account.repository.UserJpaRepo; import com.github.pdgs.MyPengAPI.account.response.CommonResult; import com.github.pdgs.MyPengAPI.account.service.posts.ResponseService; import ...
40.13369
113
0.673817
cb80e3b9a83ecd9f093a9bd8106ab4f01ce93836
265
package com.pagatech.collect.request; import lombok.Data; import lombok.NoArgsConstructor; import lombok.NonNull; import lombok.experimental.SuperBuilder; @Data @SuperBuilder @NoArgsConstructor class Request { @NonNull private String referenceNumber; }
15.588235
40
0.8
cf9a3fdb13b1a46bd4717715d0275902b75cf926
17,645
/** * ClienteERP.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package br.com.correios.bsb.sigep.master.bean.cliente; public class ClienteERP implements java.io.Serializable { private java.lang.String cnpj; private br.com.corr...
33.932692
133
0.621196
1493f8c08ca32a5afbcdcea9f9c7b3ae3fc70454
2,668
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
39.820896
121
0.727511
37e02f32510cb837d320b83af02098829838c83f
4,020
package com.webcheckers.model; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; /** * Unit test suite for Move class. * * @author Luis Gutierrez * @author Matthew Bollinger */ @Tag("Model-tier") public ...
25.283019
77
0.636816
76475d9800fe21144f50ae87a83133b5478a50fb
454
package com.snowflake.test; import com.snowflake.producer.OneGTableProducer; import com.snowflake.producer.Producer; import com.snowflake.schema.OneGTable; public class OneGTableSuite extends AvroTestSuite<OneGTable> { @Override protected Producer<OneGTable> getProducer() { return new OneGTableProducer(); ...
21.619048
65
0.786344
79e49a32708e29e88cef6e640332a78e2e8140cb
244
package org.jp.illg.dstar.routing.model; import lombok.Getter; import lombok.Setter; public class RepeaterRoutingInfo extends RoutingInfo { @Getter @Setter private String repeaterCallsign; public RepeaterRoutingInfo() { super(); } }
15.25
54
0.770492
f8009128a820e02446d2705ee25867f43b77bc3b
108
package com.slyang.im.socketio.message.msgcontent; public class TextMessage extends AbsMessage<String> { }
21.6
53
0.814815
e6e8a94e9e00d17b05eca9bd3705537cc5426a43
4,626
package net.minecraft.util; import java.util.Random; import net.minecraft.inventory.IInventory; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntityDispenser; public class WeightedRandomChestContent extends WeightedRandom.Item { /** The Item/Block ID to g...
41.303571
197
0.662776
7d4f7893e5422f2f2e873149bd2479bbf16775d7
2,240
package stevekung.mods.moreplanets.blocks.decoration; import java.util.Random; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import...
24.888889
123
0.6625
46cbfd85cd6e43adceec94faf9b1d3fe3950e7b8
608
package com.danan.swp.kerberos.web.security; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.context.ApplicationListener; import org.springframework.security.authentication.event.AuthenticationSuccessEvent; public class AuthenticationSuccessHandler imple...
33.777778
102
0.833882
08d216a443dae3bd1f074b12ecc3cc509d913a67
1,719
import java.util.ArrayList; import org.junit.*; import static org.junit.Assert.*; public class DefinitionTest { @Rule public ClearRule clearRule = new ClearRule(); @Test public void Definition_instantiatesCorrectly_true() { Definition testDefinition = new Definition("Bird"); assertEquals(true, testD...
30.696429
78
0.750436
2db20bdf8ef731179695088d69f5ac4016a1d896
16,006
/* * HitZPlane2_Test.java * * Created on July 24, 2007, 11:03 PM * * $Id: HitZPlane2_Test.java,v 1.1.1.1 2010/04/08 20:38:00 jeremy Exp $ */ package org.lcsim.recon.tracking.trfzp; import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import org.lcsim.recon.tracking.trfbase.ETrack;...
47.922156
183
0.581907
dcd21cdd9f0ae5aa0666618bef3ea7b2abfa1a3d
4,218
/* * Copyright 2017 Robert Winkler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
33.47619
130
0.646515
d80f1a6e12184b1f6f088b68c98402ff3f989406
4,600
package edu.cmu.hcii.whyline.source; import java.util.*; import edu.cmu.hcii.whyline.bytecode.Instruction; import edu.cmu.hcii.whyline.bytecode.MethodInfo; /** * * @author Andrew J. Ko * */ public final class Line implements Comparable<Line> { private final LineNumber lineNumber; private final FileInterface...
22.660099
108
0.677391