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
24ca0b573a94d7d0ae362408144f68a7aa8c7376
9,899
/******************************************************************************* * Copyright (C) 2018, OpenRefine contributors * 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. Redis...
39.438247
114
0.523487
87600075bb303b21543deef76f5f1dfa59d6f5a6
4,008
/* ======================================================= Copyright 2020 - ePortfolium - Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.osedu.org/licenses/ECL-2.0 ...
37.457944
126
0.795908
4d51dd5d9eb49359cba8cc6cf1b5848c1bcb7973
1,518
package server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.ServerSocket; import server.tcp.ListenerThread; import util.Config; /** * Server application that creates a TCP socket and waits for messages send by * client. */ public class Server implem...
22.656716
78
0.702899
52235ae24cab59d4a66eff8658692034c4f2a68a
24,338
/* * Constellation - An open source and standard compliant SDI * http://www.constellation-sdi.org * * Copyright 2014 Geomatys. * * 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 *...
41.250847
149
0.555674
44afd34cfa67ce7950554270c8c4cb85ffe18eeb
1,138
package game; import java.applet.AudioClip; import javafx.scene.canvas.GraphicsContext; import javafx.scene.paint.Color; import settings.Configuracoes; public class Bullet extends GameObj { private int framesAlive; private Configuracoes c; public Bullet(double[] front, double[] shipSpeed, double angle, Configurac...
23.22449
83
0.637961
6a88684fc2af5ce6c360a7b16799b77d0b6adbad
8,609
package com.feeyo.net.nio.ssl; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; import javax.net.ssl.SSLEngineResult; import javax.net.ssl.SSLEngineResult.HandshakeStatus; import javax.net.ssl.SSLEngineResu...
25.698507
110
0.664189
61f8859a222ddaddb358e7ddd3ed3043942bbd22
5,093
package com.ljmu.andre.snaptools.Networking; import com.android.volley.AuthFailureError; import com.android.volley.NetworkError; import com.android.volley.ServerError; import com.android.volley.TimeoutError; import com.android.volley.VolleyError; import com.google.common.base.MoreObjects; import com.ljmu.andre.snaptoo...
30.866667
100
0.624583
f02e2694adcf84e5cd0d899cbc9f6d0bf3c6db61
1,810
package net.eduard.curso.eventos; import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.inventory.CraftItemEvent; import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.inventory.InventoryCloseEvent; import org.bukkit.event.in...
21.807229
61
0.816022
d90a276f772c4732388d0ae27ae4e4dbddae5a27
3,530
/* * To the extent possible under law, the ImageJ developers have waived * all copyright and related or neighboring rights to this tutorial code. * * See the CC0 1.0 Universal license for details: * http://creativecommons.org/publicdomain/zero/1.0/ */ import net.imagej.Dataset; import net.imagej.measure.Stat...
28.699187
77
0.783569
fdaaf38af328db1484f1d99bec23b1932f6eb428
656
package GetMail.controller.persistence; import java.util.Base64; public class Encoder { private static final Base64.Encoder enc = Base64.getEncoder(); private static final Base64.Decoder dec = Base64.getDecoder(); public String encode(String text){ try{ return enc.encodeToString(text...
24.296296
66
0.591463
2f8cf781769ff6dc92916f45f529bc968ef5bf1f
1,578
package de.mide.wear.glossar_app; import android.content.Intent; import android.os.Bundle; import android.support.wearable.activity.WearableActivity; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView;...
30.941176
90
0.714829
8ecc62c5074c7c12c010068078d9e2e6dabab8e7
172
package View.topology; import java.util.EventListener; public interface NodeMovedEventListener extends EventListener { void onNodeMoved(NodeMovedEvent evt); }
21.5
64
0.784884
079058fefc91f2d67d60fdc02fe94a0aa2448470
807
package org.fleet.modules.demo.test.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Select; import org.fleet.modules.demo.test.entity.FleetOrderTicket; import java.util.List; /** * @Description: 订单机票 * @Author: fleet-...
26.9
78
0.732342
655be1d78cc42191516f3723ad41f65b34a0bd67
6,649
/* Copyright [2016] [Taqdir Ali] 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 distr...
34.097436
201
0.737254
543bce5e361e7a18de3339d341dbd52a5f0307ba
645
package gov.hhs.cms.bluebutton.data.codebook.data; import org.junit.Assert; import org.junit.Test; /** * Unit tests for {@link CcwCodebookVariable}. */ public final class CcwCodebookVariableTest { /** * Verifies that {@link CcwCodebookVariable} was generated as expected. */ @Test public void constants() { ...
23.035714
78
0.727132
cfe64e5737ef16daccd125232f6641afe3df9b7e
1,988
/******************************************************************************* * Copyright 2017 UIA * * 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. ...
25.818182
81
0.615191
cf5cce8b5807a0f4fc1dc2e738d5ce127f9e625c
5,485
package com.salab.project.kakikana.viewmodel; import android.app.Application; import android.graphics.Bitmap; import androidx.annotation.NonNull; import androidx.lifecycle.AndroidViewModel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.Observer; import com.s...
33.042169
101
0.660893
14a89ddb07402a9af2caec543edb3e1eff305427
1,288
/* * $Id: NewProjectAction.java,v 1.2 2005/09/05 09:08:29 tcurley Exp $ * * Copyright (C) 2002, Cladonia Ltd. All rights reserved. * * This software is the proprietary information of Cladonia Ltd. * Use is subject to license terms. */ package com.cladonia.xngreditor.project.actions; import java.awt....
24.301887
70
0.668478
901942769a3a25c928ea99f38041db9161423fa1
7,927
/******************************************************************************* * © 2012 Global Retail Information Ltd. ******************************************************************************/ package com.becoblohm.cr.net.models; import java.io.Serializable; import java.util.Date; /** */ public class Clien...
17.12095
111
0.65258
7b675baf6915322586ba5f60488cbb48cc995a2c
187
package com.concretepage.service; import org.springframework.stereotype.Service; @Service public class MyService1 { public String getMessage() { return "Hello World!"; } }
17
46
0.727273
08dca2ad08442cdb9208b7404c960735fd878175
7,864
package com.actionbarsherlock.internal.view.menu; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; impo...
26.748299
205
0.666455
c0fd35a4220da4c7fc2de0d0c12d87165dd2504c
5,927
package com.metalbeetle.koboldpit; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; public class Display { final GameWorld w; final int width; final int height; int prevMilestone = 50; Display(GameWorld w, int width, int height) { this.w = w; this.width = width; this.height = heigh...
37.27673
151
0.595242
29772271adfa52b7a672445d2848dff6a0693fdd
622
/* * blackduck-common-api * * Copyright (c) 2022 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.blackduck.api.manual.view; import com.synopsys.integration.blackduck....
25.916667
142
0.747588
29dc81341d10d684fb9e9a348110d9e6ccfb3581
1,465
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.vmwarecloudsimple.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; ...
41.857143
118
0.780205
0d2e15be138ebf5420436c3c21a612b3ca740ec9
2,195
//---------------------------------------------------- // The following code was generated by CUP v0.11b 20160615 (GIT 4ac7450) //---------------------------------------------------- package MonaParser; /** CUP generated class containing symbol constants. */ public class sym { /* terminals */ public static final...
24.662921
72
0.629157
f3c5440322499ce43c35d5ad0ce5790aee80f08e
5,987
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
26.258772
78
0.675129
de2fd096c3d9c9c4a69eff847f82c088e06141e5
1,168
package net.thucydides.core.util; import java.util.List; import java.util.Properties; /** * Return system environment variable values. */ public interface EnvironmentVariables { String getValue(final String name); String getValue(final Enum<?> property); String getValue(final String name, final Strin...
25.955556
85
0.75
b336e999d553abbb0cfab9d28a9cd6e6ce9e4884
3,773
/* * Copyright 2021 Stefan9110 * * 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...
42.875
143
0.730188
c2f09c735e15d3aaf554c74ba097dfef403f7e74
128
package com.baeldung.components; import org.springframework.stereotype.Component; @Component public class AccountService { }
14.222222
48
0.820313
6ba35d038cec781a3ab064bc4ec0bc7f6ff6b163
1,848
package havis.util.core.common.rmi; import havis.util.core.rmi.LogRemote; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; import java.util.Enumeration; import java.util.LinkedHashMap; import java.util.Map; import java.u...
26.4
93
0.722403
f5ee5e6735f5eaeb8e2cbe451436018badea1d45
6,499
/** * Copyright (C) 2002-2014 Fabrizio Giustina, the Displaytag team * * 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 ...
26.744856
118
0.60517
522843b35d99aecbf1251426b1b77bb2fcb07447
1,425
/* * Copyright (C) 2020 Alibaba Group Holding Limited */ package com.alibaba.sdk.android.vod.upload.exception; /** * CVS定义的错误代码。 */ public class VODErrorCode { /** * 参数格式错误。 */ public static final String INVALID_ARGUMENT = "InvalidArgument"; /** * 缺少必须参数。 */ public static fina...
20.955882
79
0.621754
ad1beae528b72dc338c39ad365a6180458e06a9e
325
package com.kucoin.sdk.websocket.event; import lombok.Data; import lombok.EqualsAndHashCode; import java.math.BigDecimal; @EqualsAndHashCode(callSuper = true) @Data public class StopOrderEvent extends AdvancedOrderEvent { private String stop; private BigDecimal stopPrice; private Boolean triggerSucces...
18.055556
56
0.790769
f1463c28cbcd8148f61519665e24b74024a8a0b8
506
package com.ws.ogre.v2.utils; import com.beust.jcommander.IParameterValidator; import com.beust.jcommander.ParameterException; public class FromToValidator implements IParameterValidator { public void validate(String theName, String theValue) throws ParameterException { if (!theValue.matches("[0-9]{4}-[0...
38.923077
132
0.681818
dcaea612824ee599f4459bac9d2109a9238abbc8
3,748
package com.esri.soap; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * &lt;p&gt;Java class for TableEditResult complex type. * * &lt;p&gt;The following schema fragment s...
26.964029
122
0.620331
a596616e611caa6d07bce81d1f578efc5fb0ec40
3,652
/* * Copyright © 2013-2020, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.seed.core.inter...
41.5
120
0.675246
e96a8f04655ac1fab8cf79eb5065c167f997f0fb
1,017
package com.fr.swift.cube.nio.write; import com.fr.swift.cube.nio.NIOConstant; import java.io.File; import java.nio.LongBuffer; public class LongNIOWriter extends AbstractNIOWriter<Long> { private LongBuffer longBuffer; public LongNIOWriter(File cacheFile) { super(cacheFile); } public LongN...
22.108696
81
0.641101
23b07044357f18aa4a3f9f32231c0b24656d335c
10,109
/** * <ul> * Android Tutorial, An <strong>Android2EE</strong>'s project.</br> * Produced by <strong>Dr. Mathias SEGUY</strong> with the smart contribution of <strong>Julien PAPUT</strong>.</br> * Delivered by <strong>http://android2ee.com/</strong></br> * Belongs to <strong>Mathias Seguy</strong></br> * *********...
34.619863
126
0.579879
ccd97f82e9b4b9cd875b6cbc226fd56ca2081680
3,308
/* * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
37.168539
110
0.6974
baf0065dc48e65344fd48bd390559c492c3e2031
3,314
package fr.philippedeoliveira.dao.impl; import java.util.ArrayList; import java.util.List; import org.springframework.stereotype.Repository; import fr.philippedeoliveira.beans.Bet; import fr.philippedeoliveira.beans.NbBettersByGame; import fr.philippedeoliveira.beans.NbExactScoreByGame; import fr.philippedeoliveira....
34.520833
123
0.694327
8ec19d94866da08127a187c85a799596577cd1d8
2,285
/* SPDX-FileCopyrightText: (C)2021 SAP SE or an affiliate company and aas-transformation-library contributors. All rights reserved. SPDX-License-Identifier: Apache-2.0 */ package com.sap.dsc.aas.lib.mapping.model; import io.adminshell.aas.v3.model.KeyElements; import io.adminshell.aas.v3.model.KeyType; import c...
25.10989
130
0.745295
845e463a84f4d7d4affb59e65a0f36029cdc7e32
3,033
package com.trickl.flux.publishers; import java.time.Duration; import java.time.Instant; import java.util.Optional; import java.util.concurrent.TimeUnit; import java.util.function.Function; import java.util.function.Supplier; import lombok.Builder; import reactor.core.publisher.Mono; import reactor.core.scheduler.Sche...
29.446602
77
0.688757
2f675528033a159736789955765f8febc721181d
396
package us.chotchki.kanbanr; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.web.bind.annotation.RestController; @RestController @EnableAutoConfiguration public class Main { public static void main(String[] args) ...
28.285714
70
0.80303
67ae43589ae8ced791a8f6620f71e1148a33e40f
613
package zh.maven.SQuartz.task; import org.quartz.DisallowConcurrentExecution; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.springframework.scheduling.quartz.QuartzJobBean; import zh.maven.SQuartz.service.FirstService; @DisallowConcurrentExecution public class FirstTask e...
25.541667
91
0.835237
a521f3ed3e5aad05a2c01999bcf9956f18dd5638
13,786
package com.Ultra_Nerd.CodeLyokoLegacy; import com.Ultra_Nerd.CodeLyokoLegacy.Entity.MegaTankEntity; import com.Ultra_Nerd.CodeLyokoLegacy.Util.CardinalData; import com.Ultra_Nerd.CodeLyokoLegacy.Util.ConstantUtil; import com.Ultra_Nerd.CodeLyokoLegacy.Util.MethodUtil; import com.Ultra_Nerd.CodeLyokoLegacy.Util.handl...
46.891156
210
0.72755
1ab61ad8d9a587234eb1fafe2c090583114e7767
1,571
package org.iartisan.admin.template.controller.support.rest; import org.iartisan.admin.template.service.entity.LogEntity; import org.iartisan.admin.template.service.query.LogQueryService; import org.iartisan.runtime.bean.PageWrapper; import org.iartisan.runtime.bean.Pagination; import org.iartisan.runtime.web.WebR; im...
29.641509
100
0.760662
ef1f7837a09368b8fbac55dca9bb108c69d6cb5e
20,289
package com.vmware.avi.vro.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.vmware.o11n.plugin.sdk.a...
34.041946
138
0.716102
9d0a7c74eae1d2771da4a8b425ad782ca3f74953
3,360
package ar.edu.itba.paw.persistence.relation; import java.time.LocalDate; import java.util.List; import java.util.Optional; import javax.persistence.EntityManager; import javax.persistence.NoResultException; import javax.persistence.PersistenceContext; import org.springframework.stereotype.Repository; import ar.edu...
28.235294
113
0.690476
d2624b2573f3b51b8ed613d74810900d5eee6205
14,394
package de.spricom.dessert.classfile; /*- * #%L * Dessert Dependency Assertion Library for Java * %% * Copyright (C) 2017 - 2022 Hans Jörg Heßmann * %% * 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...
36.256927
133
0.621787
6a8a8083bcbfd2e5c98a3bce41bd78b89a4e03d7
2,354
package com.mobiussoftware.iotbroker.mqtt.net; import java.net.InetSocketAddress; import java.net.URI; import com.mobius.software.mqtt.parser.header.api.MQMessage; import com.mobiussoftware.iotbroker.network.ConnectionListener; import com.mobiussoftware.iotbroker.network.ExceptionHandler; import com.mobiussoftware.io...
33.15493
174
0.776126
eeedd485406f0691da67d6a3d1926bcde905c664
3,019
package edu.upf.model.config; import java.util.Properties; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.dao.annotation.PersistenceExceptionTranslationPostProc...
39.723684
119
0.771447
4c4310ac0af26856b787958aefc7186fb3e12f75
1,769
package com.rent.management.app.Model.Role; import com.rent.management.app.Model.Property.*; import com.rent.management.app.Model.Util.Name; public class Landlord implements Person{ private Name name; //landlord name from Person private String email; //email from Person /** * default constructor ...
21.059524
68
0.590164
100775c5fdb2f99a8978f184e299060ec070e41f
20,716
package com.krishagni.catissueplus.core.common.service.impl; import java.io.File; import java.io.UnsupportedEncodingException; import java.net.URL; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Enumerat...
31.105105
155
0.728471
4f73931e8aac8f19c084f279f531ce6299a596e1
139
package com.lvonce.hera; public class Test implements IFoo { public String hello(String name) { return "Test implement " + name; } }
17.375
35
0.71223
59caa3dbda3c08ce92fb5412a8a0724796b55f7b
2,350
package com.promyze.themis.jenkins.action; import com.promyze.themis.jenkins.ThemisGlobalConfiguration; import com.promyze.themis.jenkins.ThemisGlobalConfiguration.ThemisInstance; import hudson.FilePath; import hudson.model.Run; import hudson.model.TaskListener; import jenkins.model.GlobalConfiguration; import org.jun...
28.313253
94
0.706809
5833fdf5f17a02f2ec882872505ce0968126042a
1,821
/* * The JASDB software and code is Copyright protected 2012 and owned by Renze de Vries * * All the code and design principals in the codebase are also Copyright 2012 * protected and owned Renze de Vries. Any unauthorized usage of the code or the * design and principals as in this code is prohibited. */ packa...
30.35
86
0.69687
e5d2db8e6a6951f0f78d860bb154e7282f28cbf6
11,452
package org.openstreetmap.atlas.utilities.identifiers; import org.junit.Assert; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.openstreetmap.atlas.exception.CoreException; import org.openstreetmap.atlas.geography.Location; import org.openstreetmap.atlas.geography.Pol...
48.320675
179
0.681278
b1a1928a2f1fbcecf368d97dfddc7517225b26a2
161
package floobits.common.protocol; import java.io.Serializable; public interface Base extends Serializable { String name = null; Integer req_id = 0; }
16.1
44
0.73913
6a38fc19b44cea3d03ba9e3f44382b3849e8cfb2
2,843
package eu.bcvsolutions.idm.core.bulk.action.impl.notification; import java.util.List; import java.util.UUID; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Description; import org.springframework.stereotype.Component; ...
37.906667
143
0.821667
f6a9a77f51e414a093fe9f03e5c7d3778f4479cf
395
package com.example.harrymuzart.myapplication14oct2017; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity1a7b extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
23.235294
61
0.746835
b385e98d8f459e1488b2641ec6bc35eee1e13600
3,466
package de.tub.dima.babelfish.benchmark.string.queries; import de.tub.dima.babelfish.conf.RuntimeConfiguration; import de.tub.dima.babelfish.ir.lqp.LogicalOperator; import de.tub.dima.babelfish.ir.lqp.Scan; import de.tub.dima.babelfish.ir.lqp.Sink; import de.tub.dima.babelfish.ir.lqp.relational.Projection; import de.t...
38.94382
130
0.672822
b927a0c6777205467d4a752fbb7b7763439a37f1
351
package top.naccl.constant; /** * 上传文件相关常量 * * @author: Naccl * @date: 2022-01-23 */ public class UploadConstants { /** * 评论中QQ头像存储方式-本地 */ public static final String LOCAL = "local"; /** * 评论中QQ头像存储方式-GitHub */ public static final String GITHUB = "github"; /** * 图片ContentType */ public static f...
15.26087
46
0.638177
2f0f5fbae2e48591c1a8d0d230f86af79a84c8a2
488
package com.fangsf.easyjoke.hookactivity; import android.content.Context; /** * Created by fangsf on 2018/8/15. * Useful: */ public class PluginManager { public static void install(Context context, String apkPath) { // 把apk中的class 加载到 applicationClassLoader中 FixBugManager fixBugManager = ne...
20.333333
66
0.641393
f722a5964a4506233bd8de832b4775276d709cec
695
package me.etki.grac.infrastructure; import me.etki.grac.transport.Transport; import me.etki.grac.transport.TransportRegistry; import java.util.Arrays; import java.util.Collections; import java.util.List; /** * @author Etki {@literal <etki@etki.name>} * @version %I%, %G% * @since 0.1.0 */ public class TransportR...
23.965517
68
0.713669
80ca7f4c1d88095f50a729338c41ce0ebdc4c55a
3,238
/** * Copyright 2018 The Feign 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 or agreed to ...
33.729167
100
0.699197
e2d77173455dded18d4e387882f6d49f08918e76
180
package com.yoti.api.client.aml; public interface AmlProfile { String getGivenNames(); String getFamilyName(); String getSsn(); AmlAddress getAmlAddress(); }
12.857143
32
0.688889
73fe714d7c83ef24fbb451f746205523dc231438
3,545
/** * Copyright (C) 2017-2018 Credifix */ package com.byoskill.datafaker; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.Validate; import com.byoskill.datafaker.annotations.Faker; import com.byoskill.datafaker....
35.09901
121
0.739633
94be6c1eaa31b7766982f554e5024993e2dbe394
1,677
/* * ScoringSchemeService.java * * Created on 07 July 2007, 00:20 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package org.pimslims.business.crystallization.service; import java.util.Collection; import org.pimslims.business.BaseService; impor...
27.95
98
0.683363
dc765ee29048e5445ce0f010db07cb2f35859d6f
1,531
/* * Copyright (c) 2018 OCLC, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the MIT/X11 license. The text of the license can be * found at http://www.opensource.org/licenses/mit-license.php. */ package org.oclc.circill.toolkit.service.iso18626; import org....
36.452381
137
0.724363
7047e7882e69032f087b11900e8a0c9ce6ebb447
941
/* * alert-common * * Copyright (c) 2022 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.alert.common.rest.api; import org.springframework.web.bind.annotation.GetMapp...
36.192308
142
0.766206
6e24726fe2af7aaaff12363e185e2080483462a1
563
private static String getScore(String str, int k) { StringBuilder s = new StringBuilder(); int val = str.length() - k; if (val % 2 == 1) { for (int i = k; i < str.length(); i++) { s.append(str.charAt(i)); } for (int i = k - 1; i >= 0; i--) { s.append(str.charA...
28.15
51
0.428064
1569c0762dd2ceac4e53dae422e53c4569a89c58
3,544
/* * Copyright (C) 2013 The Minium 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 or agr...
28.352
92
0.69921
e9ce72e27db5260ca47e1b34fe95d5e1db46f102
1,366
package com.sequenceiq.cloudbreak.converter; import java.util.HashMap; import java.util.Map; import org.springframework.stereotype.Component; import com.sequenceiq.cloudbreak.controller.json.CredentialResponse; import com.sequenceiq.cloudbreak.controller.validation.AWSCredentialParam; import com.sequenceiq.cloudbrea...
44.064516
126
0.775256
fa5782d502b09c280938ac2770ff93d30f840f91
1,954
package deepDriver.dl.aml.cnn; import deepDriver.dl.aml.ann.IActivationFunction; public class CNNBP4MaxPooling extends CNNBP { public CNNBP4MaxPooling(CNNConfigurator cfg) { super(cfg); this.fv = new CNNFV4MaxPooling(); fv.bp = this; } public void bpSampling(SubSamplingKernal ck, IFeatureMap ffm, IFeatu...
28.735294
106
0.561924
d3bace2d92fa36fe4e189178789b25908b79c55e
865
import java.util.Scanner; public class task1 { public static void main (String[] args) { System.out.println("Welcome to my first lab task in Java!"); System.out.println("--------------------------------------"); System.out.println("To find the distance I will need you to ente...
50.882353
100
0.546821
bbd0af44bac3faac70787f43c54947966d14c8ef
5,353
package br.com.tiagohs.popmovies.dragger.modules; import br.com.tiagohs.popmovies.ui.contracts.GenresContract; import br.com.tiagohs.popmovies.ui.contracts.ListMoviesDefaultContract; import br.com.tiagohs.popmovies.ui.contracts.ListPersonsDefaultContract; import br.com.tiagohs.popmovies.ui.contracts.LoginContract; imp...
50.980952
174
0.819727
7a49f5b1206991b57cbc4826e00e4dcb6b917378
5,676
package at.vintagestory.modelcreator.gui; import javax.swing.Icon; import javax.swing.ImageIcon; public class Icons { public static Icon add; public static Icon add_rollover; public static Icon bin; public static Icon bin_open; public static Icon remove_rollover; public static Icon new_; public static Icon imp...
39.971831
85
0.761452
32dcd8b4e50923fc94e255e329262178239245aa
399
package L19StringAndText; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Ex01ReverseString { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); System.o...
30.692308
86
0.756892
5775c03387c7bb22448b6a4bb6c37023cb3fbc79
4,025
package com.congitive.test; /******************************************************************************* * Copyright (c) 2018 seanmuir. * 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 distributio...
36.590909
113
0.759752
978de568b655bb31d447b6476f51a3c2785faeee
8,086
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.digitaltwins.core; import com.azure.core.credential.TokenCredential; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.rest...
56.152778
196
0.662379
62e082f67ac638621d60a985b6d3ce662a45c047
587
package com.marklogic.appdeployer.cli; import com.marklogic.appdeployer.command.Command; import java.util.ArrayList; import java.util.List; import java.util.Map; public class DeployCommand implements CommandArray { private Map<String, List<Command>> commandMap; public DeployCommand(Map<String, List<Command>> com...
22.576923
62
0.739353
1c060b8f2d20f457007428789da7a2293e486c0f
3,773
/* * Testerra * * (C) 2020, Peter Lehmann, T-Systems Multimedia Solutions GmbH, Deutsche Telekom AG * * Deutsche Telekom AG and all other contributors / * copyright owners license this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except in compliance w...
35.261682
245
0.625497
769093d1775954c87d82ab2a0f4d03ffe97217a6
1,089
package it.polito.dp2.WF.sol1; import it.polito.dp2.WF.ActionReader; import it.polito.dp2.WF.ProcessReader; import it.polito.dp2.WF.WorkflowReader; import java.util.LinkedHashSet; import java.util.Set; public class WorkflowReaderImpl implements WorkflowReader { private String name; private Set<ActionReader> ...
23.673913
59
0.650138
51af4c8205ced8c4e80b9d0feedb6e528c767db3
10,446
/* * This file is part of dConomy. * * Copyright © 2011-2015 Visual Illusions Entertainment * 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 ...
43.890756
183
0.551886
3173685250011f2f573b9a984d83f9074826782a
32,774
package at.fhtw.mcs.controller; import static at.fhtw.mcs.util.NullSafety.emptyListIfNull; import static java.util.Comparator.comparing; import java.awt.Desktop; import java.awt.Desktop.Action; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.lang.ref.WeakReference; i...
32.005859
114
0.734546
43124eb6c320dbc04cf34c7ee105d6f8883083a1
3,110
package com.vk.api.sdk.queries.notes; import com.vk.api.sdk.client.AbstractQueryBuilder; import com.vk.api.sdk.client.VkApiClient; import com.vk.api.sdk.client.actors.UserActor; import java.util.Arrays; import java.util.List; /** * Query for Notes.add method */ public class NotesAddQuery extends AbstractQueryBuilde...
31.1
108
0.654662
e60a8d906e222234a853d301ed470604fb5417c7
1,421
package org.oobench.io; import org.oobench.common.*; public abstract class IOBenchmark extends AbstractBenchmark { public int getMajorNumber() { return 4; } public abstract void write(int count); public abstract void read(int count); public abstract void writeAndRead(int count); pub...
26.811321
68
0.503167
cecd09925c18ec8d65b3c575d7b57ad0eacf222c
1,078
package org.billing.accountingpoints.service.implementation; import java.time.Instant; import java.util.Collections; import java.util.Set; import java.util.UUID; import java.util.concurrent.CompletableFuture; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.billing.accountingpoints.d...
38.5
97
0.852505
f79b326e0ca792a451e729588a23e30e1ea9ab8f
1,818
package com.blamejared.crafttweaker.api.mods; import com.blamejared.crafttweaker.api.annotations.ZenRegister; import com.blamejared.crafttweaker_annotations.annotations.Document; import net.minecraftforge.fml.ModList; import org.openzen.zencode.java.*; import java.util.List; import java.util.stream.Collectors; /** ...
27.134328
222
0.647965
3f2cda5a004205ab5353689280af943042a4feb9
2,027
package de.metas.requisition.callout; import org.adempiere.ad.callout.annotations.Callout; import org.adempiere.ad.callout.annotations.CalloutMethod; import org.compiere.model.I_C_DocType; import org.compiere.model.I_M_Requisition; import de.metas.document.DocTypeId; import de.metas.document.IDocTypeDAO; import de.me...
32.693548
86
0.76961
39df82f5875e945e216585e9b7741577d35b2d70
2,268
package com.gigamole.sample.adapters; import android.content.Context; import android.support.v4.view.PagerAdapter; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.gigamole.sample.R; import com.gigamole.sample.utils.Utils; import static com.gigamole.sample.utils...
27.325301
97
0.606261
f8a58d538a68db1f210ebee9440d2798086307a3
1,174
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. package com.microsoft.gctoolkit.io; import java.nio.file.Path; /** * A DataSource rooted in a file system. * @param <T> The type of data returned from the DataSource */ public abstract class FileDataSource<T> implements DataSource<T> { ...
23.959184
66
0.626917
ddb1c9bba3efb8622a43343714cb00d20f66645c
1,854
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28.090909
91
0.713592
4c85c7a0713a672f0175e1652cf2045c4428c72e
10,362
/* * Copyright 2011 Goldman Sachs. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
37.543478
159
0.660008
be971f85eb086b47712c2c513542ab5966aaa49c
509
package org.gourd.hu.notice.sms.listener; import com.alibaba.alicloud.sms.SmsReportMessageListener; import com.aliyun.mns.model.Message; /** * 如果需要监听短信是否被对方成功接收,只需实现这个接口并初始化一个 Spring Bean 即可。 * @author gourd.hu */ //@Component public class GourdSmsReportMessageListener implements SmsReportMessageListener { @Over...
24.238095
80
0.750491
c885564d273199b1162c2b3913f3f964e929e528
380
package com.clstephenson.homeinfo.api.service; import com.clstephenson.homeinfo.model.User; import java.util.List; import java.util.Optional; public interface UserService { List<User> getAll(); Optional<User> findById(long id); Optional<User> findByEmail(String email); User save(User user); v...
19
46
0.728947
34ad46b9f2e8af6ee205433f734c8a653f3b1172
6,412
package com.netsuite.webservices.lists.employees; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; import com.netsuite.webservices....
25.145098
128
0.582813
a63c533ae242c424151f93f7fc76f9903e19e957
8,107
/* * Copyright 2012 Aleksejs Okolovskis <oko@aloko.de>. * * 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...
26.151613
147
0.591588
d4c855afa9bd274420c3841281784a6aee811256
711
package com.wxdlong.jersey; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class HelpMeException implements ExceptionMapper<Exception> { private...
28.44
88
0.720113
2cb87398308d7121da8fbabed613575a0ce125f2
1,122
package com.dsi.parallax.optimization.stochastic.anneal; import com.dsi.parallax.ml.util.MLUtils; import com.dsi.parallax.optimization.Gradient; /** * see Adaptive Subgradient Methods for Online Learning and Stochastic * Optimization, Duchi et al. * * @author jattenberg * */ public class AdaGradAnnealingSched...
22
74
0.692513