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
6d5e02a8b404a77acf702ad67e5950a1fc54e970
2,114
/* * Copyright 2002-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 ap...
37.75
127
0.751183
50fea802e9d1f6f272989a05b767f73e70b20fa3
6,542
package ca.uhn.fhir.context; import ca.uhn.fhir.model.api.annotation.Block; import ca.uhn.fhir.model.api.annotation.Child; import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Extension; import ca.uhn.fhir.util.ElementUtil; import org.hl7.fhir.dstu3.model.*; @Block public class...
40.134969
251
0.766738
957a535b574ea1e2cd575131ad664572931fdcfc
3,640
package com.redhat.developer.database.elastic; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.datab...
35.686275
101
0.577747
534d388be9cd2ccb6ff1fa6e9ea00caedb807aae
1,367
/* * Copyright (c) Nmote Ltd. 2015. All rights reserved. * See LICENSE doc in a root of project folder for additional information. */ package com.nmote.oembed; import static org.junit.Assert.*; import java.io.IOException; import org.junit.Ignore; import org.junit.Test; public class DefaultOEmbedProviderTest { ...
37.972222
131
0.692026
40d803f692215d4779d4f1f81549dc23fc3e251a
2,515
package com.taskagile.domain.model.user; import com.taskagile.domain.common.model.AbstractBaseEntity; import javax.persistence.*; import java.util.Date; import java.util.Objects; @Entity @Table(name = "user") public class User extends AbstractBaseEntity { private static final long serialVersionUID = 5312932891874...
22.863636
100
0.66004
2458e4749882f9af0cb36afd8aeb03162ec7c2a7
3,930
package ca.concordia.jdeodorant.clone.parsers; import java.io.File; import java.util.Comparator; import java.util.Set; import java.util.TreeSet; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.JavaModelException; import ca.concordi...
33.87931
180
0.730534
bf6785601b2ab1fa236726cbbc1bf06a170b3376
1,756
/** * */ package com.businessdecision.rest.service; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.springframework.stereotype.Service; import com.businessdecision.rest.domain.Todo; /** * A hardcoded service to return all todos. * * @author bernard.adanlessossi * */ @Se...
19.511111
95
0.635535
2b8bc92bb78f0d6340878b4aa5a151ea4135d209
1,669
package com.zrzhen.huozhiwang.controller.vo; import com.zrzhen.huozhiwang.entity.GoodsCategory; import java.util.List; /** * @author: 慧燕 * @date: 2020/7/31 16:58 * @copyright yanlongyun2020 */ public class SearchPageCategoryVO { private String firstLevelCategoryName; private String secondLevelCategoryNam...
27.816667
87
0.749551
46f011d998cf09c56c23c8306b4c849d2c164a8b
337
package de.digitalcollections.cudami.server.business.api.service.identifiable.resource; import de.digitalcollections.model.identifiable.resource.LinkedDataFileResource; /** Service for LinkedDataFileResource handling. */ public interface LinkedDataFileResourceService extends FileResourceMetadataService<LinkedData...
42.125
87
0.860534
b9e670e4a0dee687766e85c5342dd969b470b1d0
3,241
package com.mwqi.ui.fragment; import android.graphics.Color; import android.view.View; import android.widget.TextView; import com.mwqi.R; import com.mwqi.http.protocol.RecommendProtocol; import com.mwqi.ui.widget.LoadingPage.LoadResult; import com.mwqi.ui.widget.randomLayout.ShakeListener; import com.mwqi.ui.widget.ra...
26.349593
99
0.70904
f43a475ffc3c6b36e1638e2ac7306e9959b29392
1,073
package no.nav.bidrag.beregn.forskudd.rest; import no.nav.bidrag.beregn.forskudd.core.ForskuddCore; import no.nav.bidrag.beregn.forskudd.rest.consumer.SjablonConsumer; import no.nav.bidrag.commons.ExceptionLogger; import no.nav.bidrag.commons.web.CorrelationIdFilter; import org.springframework.beans.factory.annotation...
29.805556
117
0.800559
7e43aa74125d1d823b252124a5d6a4a4bc0b668d
2,656
package com.github.h01d.eshop.ui.cart; import android.app.Application; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import com.github.h01d.eshop.data.database.DatabaseManager; import com.github.h01d.eshop.data.database.dao.CartDao; import com.git...
28.55914
121
0.694654
99cc2052100ab2ecd3d1c2632703999125395b7f
2,046
package com.BusiWave.BinarySearchTrees; /** * @author Gal Levinshtein BusiWave.com Twitter: @GKodKod * * This package demonstrates using BinarySearchTrees algorithms * * Determines if binary tree is height balanced */ class BalancedBinaryTree { static Node<Integer> root; /* Returns true if bina...
25.575
81
0.656891
6cba9d1c17d7e9eca93a19aba02b0d151306a0e9
8,348
/* * 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 n...
56.789116
115
0.712266
104ae819a4d2d2c8234be3cb678b8e299dc9a199
6,421
/* * Copyright (C) 2020-2022 Huawei Technologies Co., Ltd. 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.28022
118
0.735711
db189075ec3a85dfc74e6a491fb449b3d5dded8a
299
package eu.inloop.hammer.inject; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface InjectDependencies { }
24.916667
44
0.832776
229456d3a6bfc57308bf79120a1c6318f71de401
37,033
/* **************************************************************** Copyright (C) 2004 Burr Settles, University of Wisconsin-Madison, Dept. of Computer Sciences and Dept. of Biostatistics and Medical Informatics. This file is part of the "ABNER (A Biomedical Named Entity Recognizer)" system. It requires ...
29.961974
132
0.558232
eecd1658e2325ed0e4b840b510cf72698e208911
635
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.ctc.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.mo...
26.458333
108
0.759055
0ca41615cbc517c8808dc1d76ede2414684bcb02
1,553
package org.camunda.bpm.scenario.impl.waitstate; import org.camunda.bpm.engine.history.HistoricActivityInstance; import org.camunda.bpm.engine.runtime.ProcessInstance; import org.camunda.bpm.scenario.ProcessScenario; import org.camunda.bpm.scenario.act.Action; import org.camunda.bpm.scenario.delegate.ProcessInstanceDe...
35.295455
140
0.778493
acc650d33a707a718195c9a29d7946a28515d24b
4,604
package com.samton.erp.api.warehouse.controller; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Resource; import net.sf.json.JSONArray; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springfr...
31.972222
102
0.789314
f7588da18a64562de193a82a82a605c34798de69
2,133
package org.infinispan.test.integration.security.embedded; import org.infinispan.test.integration.security.utils.Deployments; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.OperateOnDeployment; import org.jboss.arquillian.container.test.api.TargetsContainer; i...
31.367647
95
0.783872
246f6691b60d18b42dcdaf00d2efe5f7cc1e711a
12,872
/* * Copyright 2016 Bridje Framework. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
35.955307
146
0.611249
69a856c31b52d78cb75f4d1e960810fe5858e223
3,384
package org.oxtrust.qa.pages.users; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui.Select; import org.oxtrust.qa.pages.AbstractPage; public class UserUpdatePage extends AbstractPage { ...
32.538462
105
0.750296
8aa08eea94b613f4bb1bb3a34d3ddf4e0cdc9390
2,068
package com.sourcegraph.javagraph; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; /** * Base class for so...
30.411765
94
0.676983
443669ae5527f3d2ad0c8642a21803c390834b07
2,802
/* * Copyright (c) 2020. 衷于栖 All rights reserved. * * 版权所有 衷于栖 并保留所有权利 2020。 * ============================================================================ * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和 * 使用。不允许对程序代码以任何形式任何目的的再发布。如果项目发布携带作者 * 认可的特殊 LICENSE 则按照 LICENSE 执行,废除上面内容。请保留原作者信息。 * =======================...
33.759036
93
0.655246
329abc403da7878947f0ca525d014f450780cb84
2,866
package com.ibm.livraria.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.sprin...
39.805556
94
0.781228
f8da2cc14318e48d42dc6d831f8dc683e2a32783
893
package it.blackhat.symposium.actions.stats; import it.blackhat.symposium.actions.Action; import it.blackhat.symposium.actions.ActionFactory; import it.blackhat.symposium.helpers.InvalidActionException; import javax.sql.DataSource; /** * Create actions for family stats classes * @author didacus */ public class Sta...
24.135135
79
0.725644
97d6cd49bc6a9810cd2d2b78cdb7f08f75560e56
571
package com.github.oncizl.demo.rx; public class Student { private String name; private Course[] courses; public Course[] getCourses() { return courses; } public void setCourses(Course[] courses) { this.courses = courses; } public String getName() { return name; } public void setName(String name) { ...
14.275
43
0.663748
002b4f5c45ecaec21d1e9537062ed04be66ef556
1,447
/* * Copyright 2014-2016 Gianluca Cacace * 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 agr...
28.94
96
0.648238
84fa5451a07a99370650131853a7d96977d64e60
6,626
/* * Copyright (c) 2008-2014 akquinet tech@spree GmbH * * This file is part of Hibersap. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this software except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
39.915663
119
0.706912
093061e6728a2d904a1c18fc9c237640557ec9cf
1,013
package ru.stqa.pft.mantis.model; import com.google.common.collect.ForwardingSet; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.Set; public class Users extends ForwardingSet<UserData> { private Set<UserData> delegate; public Users(Users users) { t...
25.325
62
0.623889
6ec844262a8fd335ef9b2514cbb481c920a902ab
7,437
package com.example.videomonitor; import org.json.JSONException; import com.example.videomonitor.R; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageView; import android.widget.TextView; import android.app.ActionBar; ...
23.913183
72
0.716418
b3ab0dcfd7963132a8652009759743bf9e726ea4
5,624
package com.plaid.client.request; import com.google.gson.annotations.JsonAdapter; import com.plaid.client.internal.gson.Optional; import com.plaid.client.internal.gson.OptionalDateTypeAdapterFactory; import com.plaid.client.request.common.BaseClientRequest; import java.util.Date; import java.util.List; import java.uti...
28.12
96
0.732397
3a3818c5a93dc4ccc7c7ee6222db5652f3c696e7
311
package berlin.yuna.survey.helper; import berlin.yuna.survey.model.Condition; public class CustomCondition extends Condition<String> { public CustomCondition() { super("If equals 1"); } @Override public boolean apply(final String answer) { return answer.equals("1"); } }
19.4375
56
0.675241
5d8d3fe4db070ebcf90358b2d905ac7e5647a34c
419
package au.gov.ga.geodesy.domain.model.equipment; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; @Entity(name = "geodesy.GnssReceiver") @DiscriminatorValue("gnss receiver") public class GnssReceiver extends Equipment { private GnssReceiver() { super(null, null); } ...
23.277778
59
0.73031
dcc201bbf389b8df0c9535059cab88ad5bd8747a
14,340
/** 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 not use this ...
29.689441
150
0.713668
6ecf7dd6579340971859900bcb513e3fc2ed5977
10,167
package com.logicmaster63.tdgalaxy.desktop; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application; import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.graph...
26.685039
128
0.702567
b079dbc9fe31943cf901dd1081502418fc72ff46
13,143
/* * Copyright (C) 2009 Jayway AB * Copyright (C) 2007-2008 JVending Masa * * 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 * * Unl...
37.444444
147
0.509701
98e47f36045ace050e81523d3546d75d59a7b4e6
1,252
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.data.cosmos.internal.changefeed; import reactor.core.publisher.Mono; import java.time.Duration; /** * Represents the lease store container to deal with initialization/cleanup of leases * for particula...
29.809524
113
0.697284
092c483f5235ef057958771f83066611240c202c
1,640
package io.mantisrx.common; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.List; import org.junit.Test; public class WorkerPortsTest { /** * Uses legacy constructor {@link WorkerPorts#WorkerPorts(List)} which expects * at least 5 ports: metrics, debug, console, ...
31.538462
91
0.67378
57dc8c9265e5ace4d53116a2307510106b26a579
3,952
package com.mcal.disassembler; import android.annotation.SuppressLint; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.os.Handler; import android.os.Message; import android.view.View; import android.widget.Toast; import androidx.appcompat....
32.933333
157
0.661943
1439827a41c4bdbcf17a6fa1dd42ed8541ddd9fa
4,790
package com.yxst.epic.yixin.data.rest; import org.androidannotations.annotations.rest.Accept; import org.androidannotations.annotations.rest.Get; import org.androidannotations.annotations.rest.Post; import org.androidannotations.annotations.rest.Rest; import org.androidannotations.api.rest.MediaType; import org.androi...
32.585034
213
0.780376
fbfbbf9bc66dd46b951f795dd476eb4320ba7017
1,565
package cz.cvut.fit.niam1.rest; import cz.cvut.fit.niam1.rest.data.Tour; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController ...
27.946429
76
0.697764
c2a8f023ed305e87075e5d80e8c19d546b9a8e65
4,069
package org.judal.file; import java.io.File; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import javax.jdo.JDOException; import javax.jdo.JDOUnsupportedOptionException; import javax.jdo.datastore.JDOConnection; import javax.jdo.datastore.Sequence; import javax.transaction.Transac...
29.273381
98
0.715901
bc3b40cca7397084b095f0aacb953e8c835bad06
1,558
package neko.land.dontlook.nicotine; import neko.land.dontlook.nicotine.command.CommandManager; import neko.land.dontlook.nicotine.mod.ModManager; import net.minecraft.client.MinecraftClient; import net.minecraft.network.MessageType; import net.minecraft.text.LiteralText; import net.minecraft.text.Style; import net.mi...
29.961538
176
0.734275
d93b299f5556c88f95ffa1c732f6a8b0a244efa4
2,624
package vn.edu.vtc.dal; import org.junit.Assert; import org.junit.Test; import vn.edu.vtc.bl.ProductBL; import vn.edu.vtc.persistance.Product; public class ProductDALTest { ProductBL productBL=new ProductBL(); @Test public void getProductById(){ //corrrect id Product product=productBL.getB...
31.238095
114
0.644055
b28be61812955b5e4e0d8ee7ea019394f1a5bdce
134
package br.edu.ifce.matheus.usecase.ports.driver; public interface ConfirmANewUser { String execute(String confirmationToken); }
22.333333
49
0.798507
f26430e0582cb4d0631c9daa98b71af5c9965a06
871
package ch.unibas.dmi.dbis.cs108pet.common; /** * Raised whenever an entity is missing. * * @author loris.sauter */ public class MissingEntityException extends Exception { private final NamedEntity entity; private final String missing; public MissingEntityException(NamedEntity entity, String missing) {...
22.333333
102
0.700344
bbeede1f2f4d596f544bd3535bfe990f7af498dd
4,492
package fr.formiko.usuel.media.audio; import fr.formiko.formiko.Main; import fr.formiko.usuel.erreur; import fr.formiko.usuel.structures.listes.GString; import fr.formiko.usuel.maths.allea; import java.io.File; import java.io.IOException; /** *{@summary to listen music.}<br> *It use audioPlayer &#38; make sur than o...
27.224242
88
0.595948
dde49df8c2ee5bda72f0b1fbd333b279223a26cf
2,917
/* * LensKit, an open-source toolkit for recommender systems. * Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md) * Copyright 2010-2014 Regents of the University of Minnesota * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentati...
41.084507
111
0.691121
26ab2338a2d439c3bc0f10088933c25118c6c2fa
1,833
package NeuralNetwork.Neuron; import Jama.Matrix; /** * Represents the networks input "Neurons", as such * does not contain synapse weights and does not * provide most of a standard neurons functionality. * @author Nicolas Dutly */ public class InputNeuron extends Neuron { /** * Create a new input neuro...
23.5
63
0.615385
33d7c70d09426cc6e5b3a6994e3f158836369e8d
557
package whileCicleLab; import java.util.Scanner; public class MinNumber { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int minNumber = Integer.MAX_VALUE; String input = scanner.nextLine(); while (!input.equals("Stop")){ ...
23.208333
50
0.543986
8c1080d8df7e9bb429cd7ae3e357e27bacb7a299
2,335
package com.inscriptive.common.grpc.server; import com.google.common.base.Preconditions; import com.inscriptive.common.Logger; import com.inscriptive.common.lifecycle.Lifecycle; import com.inscriptive.common.net.Port; import io.grpc.Server; import java.io.IOException; import java.util.Collection; import java.util.con...
31.554054
98
0.715203
2ac5dabb719359aa4fcca49d58415acf92baab3a
275
package com.lzh.game.scene.common.connect.server; /** * 因为使用的时候需要双工通信,市面上的rpc都是单向的,所以重写了一套简单的双工请求通信 */ public interface ConnectServer<T extends ServerConfig> extends Bootstrap<T> { int port(); RequestHandler requestHandler(); InvokeManage invokeManage(); }
19.642857
77
0.749091
7af8203291bea8d3891e2aff76752c7443ffe0cc
2,839
/* * Copyright (C) 2016-2017 Fabrice Bouyé * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ package com.bouye.gw2.sab.scene.account; import com.bouye.gw2.sab.SAB; import com.bouye.gw2.sab.scene.SABFXMLUtils; impo...
29.268041
131
0.695667
a4dd10470dc651b6ace0ce503a416e4b1943999a
7,325
/* * The MIT License * * Copyright 2019 WildBees Labs, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
43.088235
179
0.702116
4aa88cdb7851f87ef3a0739d310c0b2d8ec3c6f3
775
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.search.documents.test.environment.models; /** * The address model class to test circular dependencies. */ public class AddressCircularDependencies { private HotelCircularDependencies hotel; /*...
23.484848
82
0.669677
e5a0a0e989ec8b226fa94946f5bc3eb91bf0da3f
370
package com.bryce.book.core.theSecondChapter.two_two.synBlockString2; /** * @author huff * @date 2020/3/17 17:30 */ public class ThreadB extends Thread { private Service service; public ThreadB(Service service) { super(); this.service = service; } @Override public void run() { ...
17.619048
69
0.608108
9f622eec624f04e001b9b15c13c0b3443db2aed5
7,653
package uk.gov.companieshouse.ocr.api.image.extracttext; import com.sun.jna.Pointer; import net.sourceforge.tess4j.ITessAPI; import net.sourceforge.tess4j.ITessAPI.TessBaseAPI; import net.sourceforge.tess4j.ITessAPI.TessPageIteratorLevel; import net.sourceforge.tess4j.TessAPI; import net.sourceforge.tess4j.util.ImageI...
42.994382
149
0.684568
b57268ae10604f49da4a5d058c52b46b817c996e
1,391
/* * Copyright 2014 Miklos Juhasz (mjuhasz) * * 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...
28.979167
75
0.709561
361c09f82a85e6e3da1bbd71c488d2e79068f381
4,545
package com.qaprosoft.carina.myfp.android; import com.qaprosoft.carina.core.foundation.commons.SpecialKeywords; import com.qaprosoft.carina.core.foundation.crypto.CryptoTool; import com.qaprosoft.carina.core.foundation.utils.R; import com.qaprosoft.carina.core.foundation.utils.factory.DeviceType; import com.qaprosoft....
30.3
118
0.733553
f259b891ad157077f42fa999997fe404d1ae8c44
1,070
/* * Created on 17.05.2019 */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * @author Wolfgang Weck */ public class C01Easy { public static void main(String[] args) { try (BufferedReader r = new BufferedReader(new InputStreamReader(System.in))) { ...
26.097561
82
0.55514
e673323c98efefa0d87e8683e18e50aa614e25d4
4,032
package models.colonies; import factories.FamilyFactory; import models.colonists.Colonist; import models.families.Family; import java.util.*; import java.util.stream.Collectors; public class Colony { private int maxFamilyCount; private int maxFamilyCapacity; private Map<String, Family> famili...
35.681416
110
0.578621
8a0dfff2dab485a5f82e1496aefd6ff883272034
834
package com.icthh.xm.tmf.ms.customer.repository; import com.icthh.xm.tmf.ms.customer.domain.CustomerCharacteristicEntity; import java.util.Collection; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import...
41.7
117
0.851319
c98fa712be56828d7f8e53e11b0d9ed6ed185d86
3,510
package com.nerdwin15.stash.webhook; import static org.mockito.Matchers.anyString; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.Before; import org.junit.Test; import com.atlassian.stas...
30.521739
76
0.734188
e4d6f6233215441fce3a9cf69d553792913bf769
33,205
/* * Copyright (c) 2010 The Broad Institute * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, mer...
36.289617
214
0.584611
94137129e6017d988ce87f97466a5ad04982d7dc
6,026
/* * ---------------------------------------- * Jenkins Test Tracker Connection * ---------------------------------------- * Produced by Dan Grew * 2017 * ---------------------------------------- */ package uk.dangrew.jtt.connection.api.connections; import javafx.util.Pair; import o...
40.716216
106
0.690342
a810f43d616a43de5c8c7a855eee0550f2d1862e
5,596
package com.arckenver.nations.listener; import org.spongepowered.api.entity.living.player.Player; import org.spongepowered.api.entity.living.player.User; import org.spongepowered.api.event.Listener; import org.spongepowered.api.event.Order; import org.spongepowered.api.event.block.ChangeBlockEvent; import org.spongepo...
33.508982
140
0.710329
ff426b8888542f0d815b7b7af0d03f944e329326
94
package com.alt.domain; import lombok.Data; @Data public class Sadf { private int asdf; }
9.4
23
0.723404
ec0304947826745259bc80b9d0ed86cda38afc15
2,397
/* * Copyright 2018 Anton Tananaev (anton@traccar.org) * Copyright 2018 Andrey Kunitsyn (andrey@traccar.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....
21.212389
75
0.652482
10a91ce2caf30490ee79dd744289898372321275
3,737
package me.jessyan.peach.shop.widget; import android.content.Context; import android.support.annotation.Nullable; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.ViewConfiguration; /** * author: Created by HuiRan on 2017/11/22 10:0...
36.637255
99
0.583623
09c283fcddbc0d14f191876881891a9fd4211ff6
1,079
package io.github.heldev.verso.preprocessors.reader.presentatition; import com.squareup.javapoet.TypeName; import java.util.Optional; @SuppressWarnings("OptionalUsedAsFieldOrParameterType") public class ThriftBasicType implements ThriftTypeView { private final ThriftBasic thriftBasic; private final Optional<Conve...
20.75
67
0.746061
2efa8ed86650517fbd7cab5916624050783845a0
1,462
package common; import error.OTMErrorLog; import error.OTMException; import packet.PacketLaneGroup; import java.util.Set; public interface InterfaceLaneGroup { void validate(OTMErrorLog errorLog); void allocate_state(); Double get_upstream_vehicle_position(); double get_max_vehicles(); void up...
37.487179
110
0.766074
70219c5de8f62f11c651be0ec7ef0c82415dc2eb
3,069
package me.libraryaddict.Hungergames.Listeners; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.inventory.ItemStack; import me.libraryaddict.Hungergames.Configs.TranslationConfig; import m...
47.215385
123
0.611274
7b2dbaa442d9a29636d7f516d51879d60bf40fe3
5,301
/******************************************************************************* * Copyright (c) 2007, 2015 Innoopract Informationssysteme GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
35.10596
92
0.613846
e1a91afa26166b2878ddefd859393886aa4456be
3,132
package com.apoem.mmxx.eventtracking.interfaces.facade; import com.apoem.mmxx.eventtracking.DateUtils; import com.apoem.mmxx.eventtracking.domain.analysis.model.vo.BaseStatsVo; import com.apoem.mmxx.eventtracking.domain.analysis.model.vo.OverviewStatsVo; import com.apoem.mmxx.eventtracking.infrastructure.common.MsRest...
46.058824
159
0.773627
a3422e6b7a346923b7af540c9a7205253064951a
374
package com.baiyi.opscloud.facade.datasource; import com.baiyi.opscloud.domain.vo.datasource.DsAssetVO; import java.util.List; /** * @Author baiyi * @Date 2021/7/5 11:00 上午 * @Version 1.0 */ public interface DsInstanceAssetFacade { /** * 查询用户密钥 * @param username * @return */ List<Ds...
17
61
0.673797
834ea51b73862c5673c1379729a77d738aabe903
30,996
/** * 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...
45.649485
139
0.649342
588ae5cd2da71a941b9bba600e1c5563e6869117
391
package com.boyarsky.apiservice.service; import lombok.SneakyThrows; import org.springframework.core.io.Resource; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.multipart.MultipartFile; public interface ExportImportService { Resource exportAllMeasurements(Long use...
27.928571
64
0.83376
3c824b764951c5b29a8b406ea96c6fd49fdb5071
2,183
package org.gbif.datacite.rest.client.retrofit; import com.github.jasminb.jsonapi.JSONAPIDocument; import org.gbif.datacite.model.json.Datacite42Schema; import org.gbif.datacite.rest.client.model.DoiSimplifiedModel; import retrofit2.Call; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http....
26.950617
123
0.644984
0de18156a58d26623d11054c6ba8dd7226ab6b3c
3,182
package stonering.stage.renderer; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Vector3; import stonering.util.geometry.Position; import java.util.Has...
31.50495
127
0.665619
70769fb9465e7b225fe367ed58fd024d009cebf3
22,765
package com.jack.image.decoder; import android.backport.webp.WebPFactory; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Movie; import android.graphics.Paint; import android.graphics.PorterDuff; import andro...
33.676036
128
0.52629
98250c6a24ae48e2abf9e85f3c0601328c267804
478
package com.eeeffff.hasentinel.influxdb.util; import org.junit.Test; import com.eeeffff.hasentinel.influxdb.util.sqlparser.SqlMeta; import com.eeeffff.hasentinel.influxdb.util.sqlparser.SqlParserUtil; public class SqlParserUtilTest { @Test public void testParse() { String sql = "SELECT sum(\"successQps\") FROM \...
29.875
157
0.736402
9f370fc21db93f1be8dc0fe48158320b0376bf21
3,749
package water; import static org.junit.Assert.*; import org.junit.*; import java.util.concurrent.ExecutionException; import jsr166y.CountedCompleter; import water.fvec.Chunk; import water.fvec.FileVec; import water.fvec.Vec; public class MRThrow extends TestUtil { @BeforeClass static public void setup() { stall_ti...
37.49
102
0.608429
1a7d7e77de585a6da83028cf287c78bb2945b104
572
package com.rensource.rental.common.exceptions; import java.util.Date; public class ExceptionResponse { private Date timeStamp; private String message; private String details; public ExceptionResponse(Date timeStamp, String message, String details) { this.timeStamp = timeStamp; this.m...
20.428571
78
0.653846
15ebe8d6dbf4128e9ee8b59f2e2b03cddd47673f
846
package noogel.xyz.algorithm; import java.util.*; public class LRUCache_146_Mid2 extends LinkedHashMap<Integer, Integer> { private int capacity; public static void main(String[] args) { LRUCache_146_Mid2 ss = new LRUCache_146_Mid2(2); ss.put(2,1); ss.put(1,1); ss.put(2,3); ...
24.171429
76
0.608747
ef2c28f972a3ad7e37eed1af74fef9ba5eb3d467
1,470
package com.xlaser4j.hystrix.command; import java.util.Random; import com.netflix.hystrix.HystrixCommand; import org.springframework.web.client.RestTemplate; /** * @package: com.xlaser4j.hystrix.annotation * @author: Elijah.D * @time: 2020/3/25 12:34 * @description: 请求使用hystrix * @modified: Elijah.D */ public ...
26.25
132
0.656463
e7c9cc21357bd37687470aee85732b0b19cba2e2
2,332
/** * Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/caintegrator/LICENSE.txt for details. */ package gov.nih.nci.caintegrator.application.study; import gov.nih.nci.caintegrator.domain.AbstractCaIntegrator2Object; impor...
28.096386
104
0.615352
a943410f08b9ada3c7b754f84498d404f10eeade
79
package org.nauin.android.dkvdua.gameobject; public class LevelGenerator { }
13.166667
44
0.797468
1e183689476678ddf5d845b5d9253fcc1db5b5d4
1,405
/* * ==================================================================== * 【个人网站】:http://www.2b2b92b.com * 【网站源码】:http://git.oschina.net/zhoubang85/zb * 【技术论坛】:http://www.2b2b92b.cn * 【开源中国】:https://gitee.com/zhoubang85 * * 【支付-微信_支付宝_银联】技术QQ群:470414533 * 【联系QQ】:842324724 * 【联系Email】:842324724@qq.com * =====...
28.673469
118
0.568683
5b193aecfa86b2d4b07886c37b57806b6331518a
1,230
package com.philips.research.regression.logging; import dk.alexandra.fresco.framework.DRes; import dk.alexandra.fresco.framework.builder.Computation; import dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric; import dk.alexandra.fresco.lib.real.SReal; import java.util.Vector; import static com.phil...
39.677419
107
0.74878
146873b41ceda74223c51dad253180af670cc8fd
3,945
/* Copyright (C) GridGain Systems. 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...
27.78169
103
0.616223
9e3bd505012db5a476e3ed94a33d77d9ca6bcc98
7,548
package ai.sangmado.gbprotocol.jt808db22jibiao.protocol.message.extension; import ai.sangmado.gbprotocol.jt808.protocol.enums.JT808MessageId; import ai.sangmado.gbprotocol.jt808.protocol.message.content.JT808MessageContentRegistration; import ai.sangmado.gbprotocol.jt808.protocol.message.content.JT808_Message_Content_...
82.945055
230
0.878378
5904f260ea1d8e6487fc6ec9dd013fc6c1191ca7
2,817
/* * Copyright (C) 2015 Pedro Vicente Gomez Sanchez. * * 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 ...
29.652632
99
0.730919
c055ed6a87fe37add07a370b3525d5a151418214
12,268
package View; import java.util.Scanner; import Controller.*; import Controller.Database.Database; import Model.*; public class UnikutMain { public static void main(String[] args) { // Design Pattern: Singleton Here Database database = Database.getInstance(null); try (Scanner r...
50.904564
121
0.305021
04e06f5e5cb75cac75781a4b921c39b585a53260
1,684
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. package frc.robot.commands.DemoModes; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import edu.wpi.first....
32.384615
120
0.739905
de5564f7f4023adfd6bf5703fbd2d351e3aa35ae
1,831
/* * 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")...
26.536232
108
0.65101
297c21533571213bb05dd3f593e9a3a80cb927b4
738
package org.mage.test.cards.cost.variable; import mage.constants.PhaseStep; import mage.constants.Zone; import org.junit.Test; import org.mage.test.serverside.base.CardTestPlayerBase; /** * * @author noxx */ public class MikaeusTheLunarchTest extends CardTestPlayerBase { /** * Tests that Mikaeus, the Lun...
23.0625
80
0.680217
0a5e8b72b4cd476f1452484d25ef95aee14d1333
2,428
package frc.robot.autonomous.routines.BlueAllience; import java.util.List; import edu.wpi.first.math.geometry.Pose2d; import edu.wpi.first.math.geometry.Rotation2d; import edu.wpi.first.math.geometry.Translation2d; import edu.wpi.first.math.trajectory.Trajectory; import edu.wpi.first.wpilibj2.command.InstantCommand; ...
40.466667
196
0.789539
bd8be134e665e194fb202638ed2c32e73ff18b69
1,867
// Copyright © 2011-2012, Esko Luontola <www.orfjackal.net> // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 package fi.jumi.actors; import org.hamcrest.*; public class Matchers { public static Matcher<String> containsLineWithWords(f...
32.754386
113
0.522764