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
59b097f51f4d170018a184b7cc515437c424fc50
3,009
package com.poseidon.user.dao.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.PrePersist; import javax.persistence.PreUpdate; import javax.persistence.Tab...
21.041958
67
0.640412
15695a61c82dc6cc2c7a6e9bb849904aa2d73ac9
2,993
package swim.core.network.misc; import java.util.LinkedList; import java.util.List; import java.util.Map; public abstract class Matrix<T> { /** * Number of columns */ protected final int M; /** * Number of rows */ protected final int N; /**Initialize the matrix dimensions * @par...
20.641379
75
0.567324
458ebc68aa6453e9f33aa1ce806d51b926b205cb
4,262
package org.atdl4j.data.validation; import org.apache.log4j.Logger; import org.atdl4j.data.ValidationRule; import org.atdl4j.data.exception.ValidationException; import org.atdl4j.fixatdl.validation.OperatorT; import org.atdl4j.ui.Atdl4jWidget; import org.joda.time.DateTime; import org.joda.time.DateTimeZone; /** * B...
30.442857
161
0.613796
a8a2284090085bde3fff1847ee4b5e1e89a8671f
12,071
package info.exascale.statix; import java.text.ParseException; import java.nio.file.Files; import java.nio.file.Paths; import java.io.IOException; import java.io.File; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; im...
58.882927
731
0.686604
090bc4e50d50d64cdef3daea60a19ae3892ebd6e
815
package br.jus.tst.esocial.dominio.enums; public enum TpAcConv { /** * Acordo Coletivo de Trabalho * */ A, /** * Legislação federal, estadual, municipal ou distrital * */ B, /** * Convenção Coletiva de Trabalho * */ C, /** * Sentença normativa - Dissídio * */ D, /** * Conver...
12.734375
81
0.617178
97b6502ab0ccf3b23a6e09fcc471fa10dad73473
2,060
package cn.evergrand.it.bluetooth.search.le; import android.annotation.TargetApi; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.os.Build; import cn.evergrand.it.bluetooth.search.BluetoothSearcher; import cn.evergrand.it.bluetooth.search.SearchResult; import cn.ev...
28.611111
104
0.794175
33283e2a6f7b9746b8bddb0aeab0e71914ef70c8
1,767
/* * 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 * distrib...
23.878378
115
0.723826
c0cc29a99a432a3d0e9adc1bd1f5bc526bad0802
5,515
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (...
37.773973
106
0.658205
56187a6310692911c9ce02464cef18a26a5f06d8
9,240
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.commodity.multicurvecommodity.derivative; import com.opengamma.analytics.financial.commodity.definition.SettlementType; import com.opengamm...
30
148
0.683009
e6ac13b7bb83b0fcedca683418072e1bf7dd70d2
4,929
package com.roubsite.smarty4j.expression; import static org.objectweb.asm.Opcodes.*; import java.util.ArrayList; import java.util.List; import org.objectweb.asm.Label; import com.roubsite.smarty4j.MethodVisitorProxy; import com.roubsite.smarty4j.Node; import com.roubsite.smarty4j.VariableManager; /** * 对象表达式节点, 向...
21.713656
92
0.621221
a3a4b9bfe28fc54c249b1623634f4c0d3a67dfec
14,868
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.cognitiveservices.search.entitysearch.samples; import com.microsoft.azure.cognitiveservices.search.entitysearch.BingEntity...
51.268966
193
0.504237
88efc534a043254bd04b224e704d3b8d6dbabd8c
370
package com.langdashu.flexible.uid.zookeeper.hook; /** * 回调结果 * * <p>更多内容参看<a href="https://langdashu.com"><b>浪大叔</b></a> * @author 浪大叔 */ public class Result { private Throwable throwable; public Throwable getThrowable() { return throwable; } public void setThrowable(Throwable throwabl...
16.818182
58
0.640541
b5ac67f7b3b55f477649c82e4a772176b545fbc5
2,305
package cz.johnyapps.jecnakvkapse.Receivers; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * Slouží k rozpoznání připojení k internetu */ public class NetworkState { /** * ...
29.177215
114
0.645553
2f8313b65f1aa1e20b5c2d14ffe166f66d2ecc8b
1,480
package org.sirix.cache; import com.github.benmanes.caffeine.cache.Caffeine; import org.sirix.page.interfaces.Page; import javax.annotation.Nonnull; import java.util.Map; import java.util.concurrent.TimeUnit; public final class UnorderedKeyValuePageCache implements Cache<IndexLogKey, Page> { private final com.g...
24.262295
88
0.656757
5b2a56d0ea8fcf534355df8f13f056da4021bc97
5,097
package com.aayaffe.sailingracecoursemanager.adapters; import android.app.Activity; import androidx.annotation.NonNull; import android.view.View; import android.widget.ImageButton; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.aayaffe.sailingracecourse...
41.778689
161
0.660585
0101f2c68f6ded9a90a1456f337070e3aff63aa0
1,089
package org.d11.boot.camel.processor; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.d11.boot.download.WebPage; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; /** * Processes a WebPage JMS message by setting downloadFileName properties in the Camel exchan...
33
109
0.668503
f789bcdf670fa44211f8c15a6597f0e8fb1f0007
6,663
/* * 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 ...
41.90566
175
0.681075
f8873418c2b2aa25b99339f62264de95ca011ed9
2,798
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
35.417722
130
0.72659
576db0af549646291f70a53d2a945ec8feccffa2
945
// package com.example.food_delivery.config; // import org.springframework.context.annotation.Bean; // import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; // import org.springframework.security.config.annotation.web.builders.HttpSecurity; // import org.springfram...
35
110
0.798942
c867aa38f576c3747d8e44e095047fa944c93635
395
package com.scoproject.carmudi.model; import com.scoproject.carmudi.CarmudiApp; import com.scoproject.carmudi.data.db.DaoSession; import com.scoproject.carmudi.di.component.AppComponent; /** * Created by ibnumuzzakkir on 6/2/17. */ public class BaseModel { protected final DaoSession mDaoSession; public Ba...
21.944444
56
0.75443
6cb7b4fe217584af02ae3baa9c99bcf29ada9732
357
package com.so.affinitas.profilematcher.repository; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import com.so.affinitas.profilematcher.entity.Profile; public interface ProfileRepository extends JpaRepository<Profile, Long>, Jp...
32.454545
108
0.854342
431887805e82e74769da362a7df03fe634617731
668
package ru.fizteh.fivt.students.Kudriavtsev_Dmitry.fileMap; import java.util.HashMap; /** * Created by Дмитрий on 04.10.14. */ public class Remove extends Command { public Remove() { name = "remove"; argLen = 1; } @Override public boolean exec(HashMap<String, String> dBase, String[]...
23.034483
75
0.562874
e2453e4eb6e417bc71a4defa20f373e82d3c735a
293
package io.coin.ccbc.infra.exchange.config.properties; import lombok.Getter; import lombok.Setter; /** * @author Bomi * @date 2021/08/07 */ @Getter @Setter public class KorbitProperties { public static final String PROPERTIES_PREFIX = "app.exchange.korbit"; private String host; }
15.421053
71
0.740614
55281e7d2fda9f378441afedf219636ce32164f0
6,817
package com.popularmovies.android.repository; import android.support.annotation.NonNull; import com.popularmovies.android.model.DetailMovie; import com.popularmovies.android.model.GetMoviesCallback; import com.popularmovies.android.model.MoviesResponse; import com.popularmovies.android.model.ReviewsResponse; import c...
40.1
124
0.495966
fce0c0069088eb6aec4abbf8d79de89b7787b1e5
3,118
/* * Copyright 2014 Google 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 by applicable law...
30.871287
100
0.716164
f87206db503049251661046cbb5ade7f4192de31
1,349
/* * * * All Application code is Copyright 2016, The Department of Homeland Security (DHS), U.S. Customs and Border Protection (CBP). * * * * Please see LICENSE.txt for details. * */ package gov.gtas.config; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annot...
28.104167
130
0.75315
90597b885777333ed8dac177d13d91413343791c
3,456
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.com) * * * * 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/...
36
120
0.741609
5bfae5efce35fdb791292a1c198b9fcb7fcea231
2,482
package com.bop.zz.refresh.core.ui.adapter; import java.util.ArrayList; import java.util.List; import com.bop.zz.R; import com.bop.zz.refresh.core.Global; import com.squareup.picasso.Picasso; import android.content.Context; import android.graphics.Bitmap; import android.view.View; import android.view.ViewGroup; impo...
33.093333
123
0.66116
405cbe4c478a002419ee247b4c5743fb26c36e75
6,649
package kernitus.plugin.OldCombatMechanics.module; import com.google.common.base.Functions; import com.google.common.collect.ImmutableMap; import kernitus.plugin.OldCombatMechanics.OCMMain; import kernitus.plugin.OldCombatMechanics.utilities.reflection.MemoizingFeatureBranch; import kernitus.plugin.OldCombatMechanics....
38.433526
119
0.659648
f882e3cbedf2282945a9092c6dfa9c9e184acda3
1,859
/* * Copyright 2016 Elizabeth Harper * * 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...
25.465753
77
0.745562
5834ba9b360827b5b3bfe7c5ce5a9f6b9d822973
4,758
package cloud.celldata.membrane.mapper; import cloud.celldata.membrane.pojo.vo.CertificationBean; import cloud.celldata.membrane.pojo.vo.FunctionBean; import cloud.celldata.membrane.pojo.vo.ModuleBean; import cloud.celldata.membrane.pojo.bo.PrivilegeRoleDTO; import cloud.celldata.membrane.pojo.entity.ApiEntity; import...
25.718919
126
0.606978
fbba6ccd0ac8a24172ec4a8e13e7b6ddd52a7886
1,554
package com.reincarnation.cache.impl; import com.reincarnation.cache.ThreadLocalCacheAdapter; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Callable; import javax.inject.Singleton; /** * <p> * Description: ThreadLocalCacheAdapterImpl * </p> * <p> * Copyright: 2017 * </p> * * @a...
23.19403
95
0.565637
de65af005c752b5dfe27b2f5478ccd906e9e2104
1,907
package alainvanhout.json; import java.lang.reflect.Type; import java.util.List; import java.util.Map; /** * Interface for converting to and from JSON, with a number of convenience methods */ public interface JsonConverter { /** * Converts an object to the equivalent JSON representation. * @param obje...
36.673077
93
0.674882
382b191ada36ca60256ed0e32f53aea775ac4f6c
3,686
/* Copyright 2008 Ben Gunter * * 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 w...
36.49505
117
0.658166
c087191d18350699cd293e56a70104b1991ef593
589
package com.eldermoraes.ch10.async.websocket; import java.util.Date; import javax.ejb.Stateless; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.container.AsyncResponse; import javax.ws.rs.container.Suspended; /** * * @author eldermoraes */ @Stateless @Path("asyncService") public class AsyncSe...
21.814815
67
0.697793
90001276bc3cac2bc27e32306db2f85187e650f9
192
package org.apdoer.condition.quot.service; /** * 行情模块初始化 * @author apdoer */ public interface QuotInitService { /** * 整体初始化 */ void init(); /** * 刷新渠道 */ void flush(); }
9.142857
42
0.578125
146213457c1533ef76ce683a360b99be33a87cb1
14,514
/* * Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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...
56.474708
120
0.66143
1149839e474f68541e2023ef269bade264345a63
2,679
/* * DISCLAIMER * * Copyright 2016 ArangoDB GmbH, Cologne, Germany * * 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 * *...
28.5
107
0.686077
1900cdcb575895266d7bdda19e63c12d9baf0675
355
/* * Copyright (c) 2014. Josh Lospinoso. All rights reserved */ package net.lospi.juno.elements; public class SimpleState implements State { private final Network network; public SimpleState(Network network) { this.network = network; } @Override public Network getNetwork(String aspect)...
18.684211
58
0.673239
ccb08889943132d210c65132197402b971137297
2,803
package com.lin.web.util; public class LinMobileVariablesProduction { public static final String REDIRECT_URL= "http://linmobile-backend.appspot.com"; public static final String CUSTOM_REDIRECT_URL= "http://analytics.linone.com"; public static final String CALLBACK_URL = REDIRECT_URL+"/oauth2callback"; publi...
54.960784
129
0.836604
aa71d1965000e11d0aef20927c749a8141b6405c
2,180
/* * Copyright (C) 2015 Square, 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 agre...
33.030303
88
0.712385
d6a572a9c564c2e8b99734d359c51fdec4161eef
14,380
/* * An XML document type. * Localname: a * Namespace: xhtml:NPfIT:PresentationText * Java type: uk.nhs.connect.npfit.presentationtext.ADocument * * Automatically generated - do not modify. */ package uk.nhs.connect.npfit.presentationtext.impl; /** * A document containing one a(@xhtml:NPfIT:PresentationText) el...
31.26087
152
0.48943
b5e39fb1104521ac58084f63cb62056b0fb6c455
870
package com.test.processor.bean; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.core.PriorityOrdered; import org.springframework.stereotype.Component; /* * Created by wlx on 2020/2/5 */ @Component public class TestBeanPo...
25.588235
100
0.77931
190facc7553db5333eebcd4708e985114be65eed
8,405
package net.buycraft.plugin.bungeecord; import com.bugsnag.Client; import lombok.Getter; import lombok.Setter; import net.buycraft.plugin.IBuycraftPlatform; import net.buycraft.plugin.bungeecord.command.*; import net.buycraft.plugin.bungeecord.logging.BugsnagGlobalLoggingHandler; import net.buycraft.plugin.bungeecord....
42.449495
148
0.665675
19019b2785473c316dca77e3547b553ae1468e31
423
package de.fhg.fokus.ims.core; import javax.ims.core.Message; import javax.ims.core.ServiceMethod; public interface ServiceMethod2 extends ServiceMethod { void setRemoteUserId(String value); Message getNextResponse(); String getFromTag(); String getToTag(); boolean sendNextRequest(String recipientAddress, ...
21.15
77
0.808511
5f307a99fb046e4f6ee06eb5939b46d9eb286f9b
10,501
package br.system; import br.dao.AlunoDAO; import br.model.Aluno; import java.util.List; import java.util.Scanner; public class Program { public static final String RESET = "\u001B[0m"; public static final String WHITE = "\u001B[30m"; public static final String RED = "\u001B[31m"; public static fina...
37.106007
109
0.48024
4e3942de37165f146201806798b8ef2840138991
1,464
package madgik.exareme.master.db; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.util.List; public class FinalUnionExecutor implements Runnable { private ResultBuffer resultBuffer; private PreparedStatement st; private int noOfUnions; private int results; ...
22.875
103
0.653005
884f637c8f3968c4256689d5dbbfe153a9947e6a
1,384
package com.gitee.linzl.advanced; //package com.nick.advanced; // //import org.springframework.kafka.annotation.KafkaListener; //import org.springframework.kafka.annotation.PartitionOffset; //import org.springframework.kafka.annotation.TopicPartition; //import org.springframework.kafka.support.KafkaHeaders; //import or...
49.428571
227
0.776012
4ed2c0c46c3d89894f97dd5a70d56697aa81c834
969
package top.itning.server.shwnotice.service.impl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Example; import org.springframework.stereotype.Service; import reactor.core.publisher.Flux; import top.itning.server.shwnotice.entity.Notice; import top.itning.server....
29.363636
67
0.768834
e3644c70e63d932c42699a4940c33a0012b52e0f
4,444
/* * * 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"); y...
38.310345
123
0.691944
c021636e3594f2c770c9d141efafa4d33a8a9b35
3,149
package org.sa.rainbow.probes.test; import java.io.File; import java.io.IOException; import java.util.UUID; import org.junit.After; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.sa.rainbow.core.error.BadLifecycleStepException; import org.sa.rainbow.translator.prob...
31.178218
89
0.627501
cf033d36e5e2489e8ea702f341a2fd7bb2e50c44
463
package com.jbaysolutions.framework.websockets.response; /** * (c) JBay Solutions 2010-2012 All rights reserved. * <p> * User: RuiP * Date: 24-01-2020 * Time: 19:30 */ public class TrainingStartedMessage extends WSBaseResponse { public String uuid; public TrainingStartedMessage() { this.type = ...
20.130435
60
0.673866
47c80fbf72f6514bd863bcdf27b42249a5d1e3a3
344
package org.wickedsource.budgeteer.imports.api; public class InvalidFileFormatException extends Exception { private String fileName; public InvalidFileFormatException(String message, String fileName){ super(message); this.fileName = fileName; } public String getFileName(){ r...
20.235294
71
0.706395
e10611b225026bd89abacacb991d7c39974d30e3
598
package cn.az.replica.mall.service; import cn.az.replica.mall.controller.vo.ShopCartVo; import cn.az.replica.mall.entity.ShopCart; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** * The interface Shopping cart item service. * * @author az */ public interface IShopCartService...
19.290323
62
0.658863
72c68be5fff8fbeee14289594d52c8f606af5921
2,681
// 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; import javax.swing.RootPaneContainer; import PursellJaques.FalconFXSwerveDrive; import Pur...
34.371795
145
0.759418
587379affcd71084c594c267d879c1bc2587c48c
1,187
package jcache.web.rest; import java.net.URI; import java.util.List; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.DELETE; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.POST; import javax.w...
22.826923
76
0.671441
1baa5bf27307b9dbab42df5355a6f9c7826e1063
1,834
package se.cygni.snake.arena; import com.google.common.eventbus.EventBus; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springfr...
30.065574
91
0.7012
3a05c6665d20de42ff52728b7e1f262058474097
3,280
package co.lq.modules.shop.rest; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.springframework.data.domain.Pageable; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.security.access.prepost.PreAuthorize; imp...
35.268817
104
0.746951
5308e087a725daf07c10bab3d687ea27cc3de85b
8,658
/** * Copyright 2017 Alessandro Simi * * 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...
34.357143
156
0.653615
f182495c551399526f45a613adc433482086e121
3,791
package com.safie.rtsp.action; import io.netty.buffer.Unpooled; import io.netty.handler.codec.http.DefaultFullHttpResponse; import io.netty.handler.codec.http.DefaultHttpResponse; import io.netty.handler.codec.http.HttpHeaders; import io.netty.handler.codec.http.HttpRequest; import io.netty.handler.codec.http.HttpResp...
34.779817
109
0.723556
a0aacb3374f01aeb060b4f87af0cd815353b239a
6,496
package com.team2.controller.admin; import com.github.pagehelper.PageInfo; import com.team2.pojo.base.CountInfo; import com.team2.pojo.cmt.Category; import com.team2.pojo.cmt.Information; import com.team2.pojo.cmt.Report; import com.team2.pojo.sys.User; import com.team2.service.cmt.CategoryService; import com...
40.347826
98
0.636392
bee2891e22d314af30a160d45398fba54d02f005
1,090
package com.github.white.at.framework.message; import java.io.IOException; import javax.websocket.OnClose; import javax.websocket.OnError; import javax.websocket.OnMessage; import javax.websocket.OnOpen; import javax.websocket.Session; import javax.websocket.server.PathParam; import javax.websocket.server.ServerEndpo...
21.8
69
0.702752
7983652cb4db51193f9daa780db1f05c61acc502
1,182
package com.yaamani.satellitesimulation.SatellitesOrrbits; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; /** * Created by Yamani on 3/25/18. */ public abstract class Orbit { private Satellite satellite; protected double orbitalPeriod; private long startTime; private double currentTime; ...
22.730769
63
0.680203
528d7d83e7de2e4f617ef930590e8cc81d359c47
647
package service; import service.jerarquia.AnimalService; import service.jerarquia.GatoService; import service.jerarquia.PerroService; public class ServiceFactory { public static Service getService(String service){ Service result = null; switch(service){ case "Casa": result = new CasaService(); break; ...
19.029412
50
0.68779
8aef19bc662b3216630c392fffa768682a53ecc6
3,536
package io.polyglotted.elastic.admin; import io.polyglotted.common.model.MapResult; import io.polyglotted.common.util.MapBuilder; import io.polyglotted.common.util.TokenUtil; import lombok.SneakyThrows; import org.elasticsearch.action.admin.indices.alias.Alias; import org.elasticsearch.action.admin.indices.create.Crea...
56.126984
148
0.786199
be0dc8014d9befbea775c8287fd77a3871afd9c1
1,528
/****************************************************************************** ** Copyright (c) 2014-2015 Basis Technology Corporation. ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License ...
37.268293
100
0.67212
8f729cc5ac9da9f6f21f10041cec0714523ae9d1
1,397
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED * * 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://mindorks.com/license/apache-v2 * * Unless required by a...
32.488372
120
0.709377
cc6f3df13eecd273cea8930188d9b1620c5ad99f
2,974
package de.demmer.dennis.autopost.controller; import de.demmer.dennis.autopost.entities.user.Facebookuser; import de.demmer.dennis.autopost.services.BugReportService; import de.demmer.dennis.autopost.services.facebook.FacebookService; import de.demmer.dennis.autopost.services.userhandling.SessionService; import lombok...
33.044444
100
0.697377
aab37b4cab8b729ad1346e26b5515e6304cf56d3
520
package co.airy.core.api.admin; import co.airy.avro.communication.Channel; import co.airy.payload.response.ChannelPayload; public class Mapper { public static ChannelPayload fromChannel(Channel channel) { return ChannelPayload.builder() .name(channel.getName()) .id(channel....
30.588235
63
0.619231
bd225f809bf9482959513beb10ad9b0357b73cf7
2,696
package com.github.joschi.nosqlunit.elasticsearch2; import org.junit.rules.ExternalResource; public class ManagedElasticsearch extends ExternalResource { private ManagedElasticsearch() { super(); } protected ManagedElasticsearchLifecycleManager managedElasticsearchLifecycleManager; public s...
34.126582
114
0.702893
fa51271e1af83d451204e159e93beffb75ec3360
2,490
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
32.763158
104
0.710442
a3938a34a3e318873f069beedd4ae95670cbc0a5
1,199
package net.brutus5000.deltaforge.client.api; import org.mapstruct.BeforeMapping; import org.mapstruct.Context; import org.mapstruct.MappingTarget; import org.mapstruct.TargetType; import org.springframework.stereotype.Component; import java.util.IdentityHashMap; import java.util.Map; /** * A type to be used as {@l...
30.74359
124
0.743953
b48545d8756802b223e6175ea839c7bc0d886edd
15,945
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.operator.cluster.operator.assembly; import io.fabric8.kubernetes.api.model.Service; import io.fabric8.kubernetes.client.KubernetesClient; import io.strimzi.api.k...
51.270096
189
0.647476
dcce86821119096a75f9eee08a0c218963190be4
11,585
package com.seckill.dis.gateway.seckill; import com.alibaba.csp.sentinel.annotation.SentinelResource; import com.seckill.dis.common.api.cache.RedisServiceApi; import com.seckill.dis.common.api.cache.vo.GoodsKeyPrefix; import com.seckill.dis.common.api.cache.vo.OrderKeyPrefix; import com.seckill.dis.common.api.cache.vo...
34.174041
129
0.63798
a144adb903b310b1a2b53f5156cd411771be2a86
14,247
/**************************************************************************************** * GeoAtomOutputStream.java * * Created: Jul 16, 2010 * * @author DRAND * * (C) Copyright MITRE Corporation 2010 * * The program is provided "as is" without any warranty express or implied, including * the warranty ...
28.665996
121
0.677476
9cc0b2a443f186f0014398351451055447d82664
1,449
package org.infinispan.server.configuration.security; import org.infinispan.commons.configuration.attributes.AttributeDefinition; import org.infinispan.commons.configuration.attributes.AttributeSerializer; import org.infinispan.commons.configuration.attributes.AttributeSet; import org.infinispan.commons.configuration....
41.4
146
0.799862
8ff3a911aecbe46becc4a922cd9b1720805f6584
764
package com.me.data.xml; public class Point { private int x; private int y; public Point() { } public Point(int x, int y){ setX(x); setY(y); } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; }...
20.105263
79
0.490838
bdd875a5f34a03526fdafb5c9f7017b3224c264f
543
package org.mozartoz.truffle.nodes.literal; import org.mozartoz.truffle.nodes.DerefNode; import org.mozartoz.truffle.nodes.OzGuards; import org.mozartoz.truffle.nodes.OzNode; import com.oracle.truffle.api.frame.VirtualFrame; public class EnsureOzLiteralNode extends OzNode { @Child OzNode child; public EnsureOzLi...
21.72
49
0.780847
3c4594c3ccca4a9a37b737dd6c7de53ec9c13ab8
1,811
/* * Dog - Core * * Copyright (c) 2013 Dario Bonino and Luigi De Russis * Copyright (c) 2012 Dmytro Pishchukhin * * 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 * * h...
36.959184
120
0.727775
ab4626a5f1ec6372a72f2db2c4a359308adfdcf5
3,301
package car.ccut.com.vehicle.fragment; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; im...
30.284404
104
0.6186
24bbbbee9a8d8a36329bffdfbb1f0545096afc77
381
package sweng; /** * Cache implementation that does nothing */ public class UselessCache<K, V> implements Cache<K, V> { @Override public boolean contains(K key) { return false; } @Override public void put(K key, V value) { } @Override public V get(K key) { return n...
13.607143
56
0.572178
d389166312d29f5e057dd384cdaf1eb5687fa393
3,903
package com.dalimao.library; import android.graphics.Point; import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.WindowManager; import android.view.animation.Animation; import android.view.animation.ScaleAnimation; import android.widget.FrameLayout; import com.dali...
25.677632
104
0.647963
913f54c5f29b9c7d9c235e98d4e644689b352227
2,244
/* ****************************************************************************** * MIT License * * Copyright (c) (2021 - Present) Viral Lalakia * ****************************************************************************...
35.0625
110
0.536542
a3e2816ebaa4198351f4eef65d7e294392ac0402
10,503
/* Copyright (C) 2017 Red Hat, Inc. This file is part of IcedTea. IcedTea is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. IcedTea is distributed in the hope that it will be useful, but WITHOU...
45.665217
155
0.609159
ff10f7b76ca45fed3702f27468b76cb5322d21cc
3,239
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.eventhubs.jproxy; import com.azure.core.util.logging.ClientLogger; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.AsynchronousServerSocketChannel; impor...
33.739583
114
0.686014
ff144992eb39f0f1015a8a58a210e8b019a153f4
2,500
package ie.adapt.tcd.nlp.text; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import java.util.regex.Pattern; import ie.adapt.tcd.iostream.DocsReader; /** * * @author Mostafa Bayomi * This class is to hold the document that is being...
27.472527
129
0.6992
19109a07475eba6753075d643d45ddf5ae06dfc5
803
package com.df.aizhuan.trade.api.params; public class AuditBuyingOrderParam { private String buyingOrderNo; private String auditor; private Boolean pass; private String remark; public String getBuyingOrderNo() { return buyingOrderNo; } public void setBuyingOrderNo(String buyingOr...
19.119048
56
0.630137
cfca2bb970061bc964e60ecea47f5708cef3dc64
397
package com.template.config; import org.springframework.beans.factory.annotation.*; import org.springframework.context.annotation.*; import org.springframework.core.env.Environment; import springfox.documentation.swagger2.annotations.*; @EnableSwagger2 @Configuration @Profile("PREPRODUCTION") public class Preproducti...
26.466667
54
0.831234
7626ca9b3796ff9ff56f453da802282b49ababfc
1,012
import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.PriorityQueue; public class SortIncDec { /* 11.2 */ public static List<Integer> sort(List<Integer> list) { List<PriorityQueue<Integer>> priorityQueueList = new ArrayList<>(); if (list.siz...
28.914286
88
0.596838
6d8b5d069bea157914b9e995e577c245a8e25777
970
package com.heanbian.block.zabbix.api; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; public class ZabbixHostGroupGetRequest { private Map<String, Object> params = new HashMap<>(); public Map<String, Object> getParams() { return params; } public ZabbixHostGrou...
22.045455
81
0.735052
7bc383adf3a12fa4a4b0d17d94de3edcd2d3da4f
1,421
package info.fingo.urlopia.history; import info.fingo.urlopia.config.persistance.BaseRepository; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.s...
35.525
107
0.719212
36948c9ee08f8a3ea7651812fffea7fb59979e05
390
package com.lennon.tom; /** * Hello world! */ public class App { public static void main(String[] args) { String sourceFile = args[0]; String sourceColumn = args[1]; String compareFile = args[2]; String compareColumn = args[3]; OnOff status = OnOff.ON; new Excel...
20.526316
78
0.617949
adaee212bde2254c02e0f9e406924f71da7d6cdf
1,217
package tw.com.mitake; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import tw.com.mitake.response.GetTimelineEventsResponse; import tw.com.mitake.response.GetTimelineEventsResponse.GetTimelineEventsResponseResponse.GetTimelineEventsResponseData.GetTimelineEventsResponseEvent; import tw.com....
33.805556
151
0.727198
fe00aa9c616ec01f6e97567ed2dde83c0cb75165
277
package sexy.fairly.smartwatch.game2048; public class Cell { public int x; public int y; public Cell(int x, int y) { this.x = x; this.y = y; } @Override public String toString() { return "cell; x: " + x + ", y: " + y; } }
16.294118
45
0.512635
5b93a9aa7133d1feed1b141d41ff4bc31507f70f
490
package com.oberasoftware.home.zwave.api; import com.oberasoftware.base.event.EventHandler; import com.oberasoftware.home.zwave.api.actions.ZWaveAction; import com.oberasoftware.home.zwave.exceptions.HomeAutomationException; /** * @author renarj */ public interface Controller { void initializeNetwork(); in...
23.333333
71
0.781633
268098bb45f5d50cb4bb98585fff83c02b94dd8d
4,347
package com.latex.generator.views.TeacherInformation; import com.latex.generator.backend.Database; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; import com.vaadin.flow.component.*; import com.vaadin.flow.component.button.Button; import com.vaa...
34.5
144
0.699333
28455c3d03204461296d41441afe8be80a93680d
743
package seedu.stock.logic.commands; import static seedu.stock.logic.commands.CommandTestUtil.assertCommandSuccess; import static seedu.stock.logic.commands.ExitCommand.MESSAGE_EXIT_ACKNOWLEDGEMENT; import org.junit.jupiter.api.Test; import seedu.stock.model.Model; import seedu.stock.model.ModelManager; public clas...
32.304348
86
0.761777
93d6a70ae757725d8fa6f3da59d241fed281277b
8,589
package de.konfidas.ttc.messages.systemlogs; import de.konfidas.ttc.exceptions.BadFormatForLogMessageException; import de.konfidas.ttc.messages.SystemLogMessage; import de.konfidas.ttc.utilities.DLTaggedObjectConverter; import org.bouncycastle.asn1.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ja...
46.177419
219
0.673652
db17fd61fa88511b7359e50df6c69827b1ed4cdb
7,745
/* * Copyright 2017-2018 floragunn GmbH * * 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 ...
31.229839
119
0.749645
7113b83ab2b7aeda84f8d166c5a134bdb02cb116
2,674
package com.tp.challenge.restapi.familym; import java.util.List; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PathVariable; impor...
33.012346
117
0.786836