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
33785512416d4208adc0152aae4f5d120eefdf01
16,637
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Coltrol_Base; import Coltrol_Base.exceptions.IllegalOrphanException; import Coltrol_Base.exceptions.NonexistentEntityE...
49.811377
224
0.605037
46fb9e38d85df9397977cd135e8fa986e97ea99b
3,886
/* * 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 u...
65.864407
189
0.818065
fab1bd51c2bc972f2dfbb88db1a5e47f949d6d5f
1,790
package lesson.eventlistener.panel; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; public class GameWindow extends JFrame implements KeyListener { private static GamePanel gamePanel; /** * */ private static final long serialVersionUID = 3706026480807280471L; ...
25.942029
82
0.705587
c6f69e9f6c0073c1cd5ecada4f1941bbbca6f5f0
567
package application; import com.google.common.collect.ImmutableSet; import java.util.Set; import static application.Stage.LOCAL; public class Config { public static Stage stage = LOCAL; public static final float MIN_NET_WORTH = 25000; public static final float MAX_INFLUENCED_BUY = 3000; public s...
25.772727
103
0.758377
8a4736b65ab15d8659834e59d37c520130d7e533
7,784
package seedu.deliverymans.model.database; import static java.util.Objects.requireNonNull; import static seedu.deliverymans.model.deliveryman.deliverymanstatus.UniqueStatusList.DELIVERING_STATUS; import java.util.List; import javafx.collections.ObservableList; import seedu.deliverymans.model.Name; import seedu.deliv...
38.534653
120
0.682939
49f7ab9e76ac0f582af65de0d6c6f014a0ffbdf4
3,220
/* * Copyright (c) 2014, Cloudera, Inc. All Rights Reserved. * * Cloudera, 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/licenses/LICE...
27.058824
110
0.626087
1ed65b5a5ccf6d0a556eaedc88f4b61d6e414c84
6,175
package ca.corefacility.bioinformatics.irida.security.permissions.metadata; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.Authentic...
45.404412
143
0.804211
c22bb7ce767e3a7d16abeba14cbd4846e4b452ad
1,886
/* By: facug91 From: http://coj.uci.cu/24h/problem.xhtml?abb=1136 Name: Prime Generator Number: 1136 Date: 05/10/2013 */ import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner stdin = new Scanner(System.in); int t = stdin.nextInt();...
21.191011
89
0.532874
d6d39dbab650f5b65d6f1947aa778142e9a558b2
732
package com.github.lesach.client.engine.json; import com.github.lesach.client.DOrderTime; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.deser.std.StdDeserialize...
33.272727
77
0.788251
69a2ebadc67e4d686f6e25fb5cf3984e9dbccd4b
875
package com.eu.habbo.messages.incoming.rooms; import com.eu.habbo.Emulator; import com.eu.habbo.habbohotel.achievements.AchievementManager; import com.eu.habbo.habbohotel.rooms.Room; import com.eu.habbo.messages.incoming.MessageHandler; import com.eu.habbo.messages.outgoing.rooms.RoomFilterWordsComposer; public class...
36.458333
170
0.752
500a1ecd631a652b8736639854149025ed0a6f34
6,392
package net.minecraft.block.state; import com.google.common.collect.Lists; import java.util.List; import net.minecraft.block.Block; import net.minecraft.block.BlockPistonBase; import net.minecraft.block.material.Material; import net.minecraft.init.Blocks; import net.minecraft.util.BlockPos; import net.minecraft.util.E...
37.822485
209
0.615144
e00f3eb56b53129b52b4e484300c3fdf2ce744e8
516
package Example1; /** * Created by User on 26/05/2017. */ public class Test { public static void main(String[] args) { Triangle triangle = new Triangle(7, 4, 5, "yellow", true); System.out.println(triangle.getArea()); System.out.println(); System.out.println(triangle.g...
25.8
67
0.593023
5d5f7e4bc81dec5f927a82f705b8cfdc01908b31
420
/* https://binarysearch.com/problems/High-Frequency */ import java.util.*; class Solution { public int solve(int[] nums) { Map<Integer, Integer> map = new HashMap<>(); int maxFreq = 0; for (int i = 0; i < nums.length; i++) { map.put(nums[i], map.getOrDefault(nums[i], 0) + 1); ...
26.25
63
0.542857
2f8fcb8fe05c053a51fe65f417325dbc05476b66
2,302
package com.challenge.demo.service; import com.challenge.demo.bean.*; import com.challenge.demo.dto.QuestionDTO; import com.challenge.demo.dto.ResultDTO; import com.challenge.demo.repo.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframewo...
33.852941
108
0.726759
5081b0303ba6d30f9fffcaab1a347b999a690787
286
package com.lenis0012.bukkit.npc; public enum EquipmentSlot { HELMET(4), CHESTPLATE(3), LEGGINGS(2), BOOTS(1), HAND(0); private final int id; private EquipmentSlot(int id) { this.id = id; } public int getId() { return id; } }
14.3
35
0.562937
77f95fb8fb1e454828bbe58c7e51c1fdf009bb01
1,658
package io.dockstore.webservice.core; import java.util.Collections; import java.util.List; import org.junit.Assert; import org.junit.Test; public class Sha256ConverterTest { @Test public void convertToDatabaseColumn() { final Sha256Converter sha256Converter = new Sha256Converter(); final Stri...
43.631579
102
0.724367
0e62021feadd90bb2b97795e760dc317614381cf
9,224
/* * Copyright 2018 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
42.506912
159
0.725282
efa79a9b360e4c677afa302166a05c1fdb41f197
6,374
package com.gentics.mesh.core.schema; import static com.gentics.mesh.test.TestDataProvider.PROJECT_NAME; import static com.gentics.mesh.test.TestSize.FULL; import java.util.Arrays; import org.junit.Test; import com.gentics.mesh.core.rest.micronode.MicronodeResponse; import com.gentics.mesh.core.rest.microschema.imp...
42.211921
95
0.770944
472e8712c8d75d64f8d039dfb55a733eaa9bff19
1,051
package dauroi.photoeditor.task; import dauroi.photoeditor.listener.ApplyFilterListener; import dauroi.photoeditor.ui.activity.ImageProcessingActivity; import android.graphics.Bitmap; import android.os.AsyncTask; public class ApplyFilterTask extends AsyncTask<Void, Void, Bitmap> { private ImageProcessingActivity mAc...
24.44186
68
0.775452
2c1710f2913b173a7faa3fb478b78654f93939d7
149
package org.futuristic.petclinic.service; import org.futuristic.petclinic.model.Pet; public interface PetService extends CrudService<Pet, Long>{ }
21.285714
59
0.818792
89f37e80a02b2cd1246c6a26f3661b5c7ebc75ad
20,332
/* Copyright (c) 2018 by ScaleOut Software, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
40.501992
180
0.614893
b0f60de45fd248ee761f28d7a6ea2e6a1f636ce0
4,741
package io.configrd.core.util; import java.net.URI; import org.junit.Assert; import org.junit.Test; import io.configrd.core.util.URIBuilder; public class TestURIBuilder { @Test public void testExtendPathAtBuild() { URIBuilder builder = URIBuilder.create("classpath:root/first/second/third/file.properties"); ...
43.898148
111
0.696056
fb007b0ca318179f2ab98da7b02aee567b4db779
54,142
/* * Fatture in Cloud API v2 - API Reference * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * * The ...
38.562678
263
0.667356
1543f95aa97dc618711d458559dddf2106c31f90
330
package de.thaso.fum.web.ra.api; import javax.resource.ResourceException; import javax.resource.cci.Connection; public interface FumConnection extends Connection{ FumWebLoginUser findLoginUser(final String loginName); Long storeLoginUser(final FumWebLoginUser loginUser); void close() throws ResourceExc...
23.571429
58
0.80303
a85665e9b1d7895bb6b406efd0f036c639705135
4,450
package net.sf.l2j.gameserver.data.manager; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import net.sf.l2j.commons.logging.CLogger; import net.sf.l2j.L2DatabaseFactory; import...
27.469136
113
0.706517
b390a4a368dc2ac21251ab7a6d5c3cf5b6ff4b26
2,798
package com.moeee.streambenchmark; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.OptionalInt; import java.util.Random; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjd...
25.907407
86
0.63867
e0873e7508422fb2cf891613591ba8da9676e786
3,294
package biz.t0ugh.neusoup2.service.impl; import biz.t0ugh.neusoup2.Neusoup2ApplicationTests; import biz.t0ugh.neusoup2.pojo.Article; import biz.t0ugh.neusoup2.service.ArticleService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.transaction.annotation.Transactio...
32.613861
120
0.697328
b29244ac8d2361c8f9f41f619476737d92033a44
522
//,temp,WordpressServicePostsAdapter.java,66,72,temp,WordpressServicePagesAdapter.java,67,72 //,3 public class xxx { @Override public Post retrieve(Integer postId, Context context, String password) { LOGGER.debug("Calling retrievePosts: postId {}; postContext: {}", postId, context); checkArgume...
43.5
92
0.701149
80c1b2fbe42f2ed983a5f59a8d33e6244769f051
902
package com.github.vvinston.functional; import javax.annotation.Nonnull; import java.util.List; import java.util.function.BiConsumer; import java.util.function.BiPredicate; public final class ConditionalBiConsumerBuilderStepTwo<INPUT1, INPUT2> { private final List<Tuple<BiPredicate<INPUT1, INPUT2>, BiConsumer<INP...
39.217391
132
0.768293
0272e51eb10ec35adb1547ae6aef8d05809a912b
2,162
package com.unbright.query.extension.handler; import com.unbright.query.extension.annotation.OrStatement; import com.unbright.query.extension.annotation.QueryColumn; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.reflect.FieldUtils; import java.lang.refl...
34.870968
94
0.666975
88fd80743e2e716ee2ccf1670780c4e863fa2820
1,153
package top.huzhurong.fuck.spring.bean; import org.springframework.beans.factory.FactoryBean; import org.springframework.beans.factory.InitializingBean; import java.io.Serializable; /** * @author chenshun00@gmail.com * @since 2018/12/2 */ public class PortBean implements FactoryBean<ProtocolPort>, InitializingBea...
20.589286
91
0.666088
9e75b837c62c6e6a4754c22a3d48d648e94ef10f
2,070
package com.reactive.demo.dvdrental.data.mapper; import com.reactive.demo.dvdrental.api.model.*; import com.reactive.demo.dvdrental.api.request.ActorRequest; import com.reactive.demo.dvdrental.api.request.AddressRequest; import com.reactive.demo.dvdrental.api.request.FilmRequest; import com.reactive.demo.dvdrental.dat...
31.363636
86
0.765217
9f0eef77a4f241f46d1aa58ac8a49913dcdb4269
737
package com.nirajaky.lifecycle; public class Samosa { private double price; public double getPrice() { return price; } public void setPrice(double price) { System.out.println("setting price of Samosa"); this.price = price; } public Samosa() { su...
20.472222
59
0.518318
7e2499943e22d3932acd02782c364dd6d3233ced
3,263
package com.robin.core.compress.util; import com.robin.core.base.util.Const; import com.robin.core.base.util.FileUtils; import org.anarres.lzo.*; import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream; import org.tukaani.xz.LZMA2Options; import org.tukaani.xz.LZMAOutputStream; import org.xer...
38.845238
116
0.692614
e49be80c85afaac267cc51a50dd6df293f6eb27d
9,681
/* * #%L * mosaic-drivers-stubs-amqp * %% * Copyright (C) 2010 - 2013 Institute e-Austria Timisoara (Romania) * %% * 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...
47.22439
183
0.762421
a707433f6877f0bb61cbbafd0edc5c301fa00a99
4,360
/* * 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...
31.142857
89
0.713073
cd9854748d5e49c94df128d0bc77b4f11948e5ad
105
package net.distortsm.api.element; public enum ActivationAnimationStyle { MODELSWAP, KEYFRAME }
15
38
0.761905
789800d2575abfd6eb51d5b4a1b54c23dd44e834
2,210
package iftorrent.daos.daoCategoria; /** * * * A classe <b>Categoria</b> serve para representar uma linha da tabela * categoria do banco de dados. * * @author Eduardo Toffolo * * */ public class Categoria { /** * Um inteiro que representa a chave primária única do objeto.<br> ...
20.654206
85
0.538914
6db911f835f47e9f76dcea86e23c350b3a005a6e
6,367
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
27.32618
100
0.637349
f4df5f2e7cbbc7b3b5b04f37e0ac3be2275d09fa
3,427
package org.deeplearning4j.rl4j.policy; import org.deeplearning4j.gym.StepReply; import org.deeplearning4j.rl4j.learning.HistoryProcessor; import org.deeplearning4j.rl4j.learning.IHistoryProcessor; import org.deeplearning4j.rl4j.learning.Learning; import org.deeplearning4j.rl4j.learning.sync.Transition; import org.dee...
33.930693
108
0.590896
32491a1272abbbd2a0b4a2fbdf87f82f4b7ed9cd
348
package com.example.wang.learncontext; import android.app.Application; /** * Created by wang on 2015/8/12. */ public class App extends Application { private String textData="default"; public void setTextData(String textData) { this.textData = textData; } public String getTextData() { ...
18.315789
46
0.672414
ea7e5a43c96653bc052e5e00bee34355aab1e439
1,206
package com.example.takahirom.sandboxapp; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class LeakActivity extends AppCompatActivity { private static LeakActivity leakActivity; @Override protected void onCreate(B...
29.414634
80
0.688226
4cb247a6085ef4b729c2bf8d2c2dcf942d13938b
3,872
package org.d2rq.values; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.regex.Pattern; import org.d2rq.db.ResultRow; import org.d2rq.db.expr.Expression; import org.d2rq.db.op.OrderOp.OrderSpec; import org.d2rq.db.op.ProjectionSpec; import org.d2rq.db.op.DatabaseOp; import org...
27.267606
105
0.71875
3bfbbd4bcc83e4e3bf13bb048e12ed3c3d99488c
1,203
package com.mixiaoxiao.android.util; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class MxxNetworkUtil { /** * 检测网络是否可用 * * @param context * 上下文 * @return true 表示有网络连接 false表示没有可用网络连接 */ public static boolean isNetworkAvaila...
23.134615
66
0.686617
2fbe2eb31a70c78e33597c10f022ba4a39a0a5df
364
package ooga.model.actions; import ooga.model.EntityModel; public class SetBoundedRight extends Action { private boolean boundedRight; public SetBoundedRight(String parameter) { super(parameter); boundedRight = Boolean.parseBoolean(param); } @Override public void execute(EntityModel entity) { ...
20.222222
47
0.755495
f76fa58f1885a74bbe049f1f05ea07c9dc2755b9
11,319
package com.hdyg.common.util.pay; import android.content.Context; import com.google.gson.Gson; import com.hdyg.common.bean.WxOpenBean; import com.hdyg.common.bean.WxPayBean; import com.hdyg.common.bean.WxShareBean; import com.hdyg.common.httpUtil.okhttp.CallBackUtil; import com.hdyg.common.httpUtil.okhttp.OkhttpUtil;...
35.59434
158
0.559767
0cf7cc10c5acb0bf7b3e5a6e4c235117529d16a4
14,745
/* * 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 ...
33.435374
154
0.620278
96689baa50008f23917a1c3ff6018848aa7c69d4
7,491
package edu.angelo.midtermprojectgupton; import java.util.Random; /** * Tracker for a Minesweeper game. * @author Nickolas Gupton */ public class MinesweeperTracker { /** * int: ROW_COUNT | The number of rows in the current game of Minesweeper. */ public final int ROW_COUNT; /** * int: ...
29.492126
135
0.495928
6d605b981ae9a6dfdf5f2ce9d8afabb7baf873fa
352
package com.hankcs.hanlp.dependency.perceptron.parser; import junit.framework.TestCase; import java.io.IOException; public class KBeamArcEagerDependencyParserTest extends TestCase { public void testLoad() throws IOException, ClassNotFoundException { KBeamArcEagerDependencyParser parser = new KBeamArc...
27.076923
83
0.798295
def572283fc8ff6b30848817a9a2b43c47d27dba
2,888
package com.github.eugenelesnov; import lombok.NonNull; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.function.Function; import static com.github.eugenelesnov.Util.normalize; import static com.github.eugenelesnov.Util.orderByAscValue; /**...
27.769231
118
0.541898
ace131f9b899553b053297d792dccfa4affc3414
1,726
/////////////////////////////////////////////////////////// // // Description : Importing Matrix Module To Accept Matrix And Check Whether The Matrix Is Sparse Matrix Or Not // Input : Int // Output : Int // Author : Prasad Dangare // Date : 4 June 2021 // /////////////////...
21.575
114
0.409038
670a35dc13dbe9235b676292dbbc7934a87f9530
7,217
package com.jd.living.screen.settings; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.Preference; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import com.jd.living.R; import com.jd.living.Search; import com.jd.living.database...
41.716763
129
0.705833
5667937e1f45220714cb09f64f64ab2b37e7d5da
2,424
/******************************************************************************* * Copyright 2016 Intuit * <p> * 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 * <p> * http://www.apache.o...
35.130435
95
0.642327
1632539ab5cab1f6c727a4d36f95621ee76bc7e5
761
/* Copyright (c) 2014 Boundless and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/org/documents/edl-v10.html * * Contribut...
30.44
78
0.78318
85359b6b3f2702d9eb1cc426b3abb7e82d714d53
121
package com.hatchetstudios.sound; public class Music extends Audio { public Music(String name) { super(name); } }
12.1
34
0.719008
b3969fa2c234cba07f89e1b5fbd9f7e2673ae7c0
12,182
/* * Copyright 2017 Bartosz Lipinski * * 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...
32.14248
110
0.661796
562393532c091be2f743055859ca241e810f7d14
2,467
package com.believeyourself.leetcode.mergeTwoSortedLists; import com.believeyourself.leetcode.domain.ListNode; /** * 21. Merge Two Sorted Lists * Merge two sorted linked lists and return it as a new list. F * <p> * Example: * <p> * Input: 1->2->4, 1->3->4 * Output: 1->1->2->3->4->4 */ public class MergeTwoSor...
25.968421
90
0.520876
836a0d6bafd2459636a23b3b75f883014c3cd9e0
1,573
package com.github.scribejava.apis.fitbit; import com.github.scribejava.core.model.OAuth2AccessTokenErrorResponse; import com.github.scribejava.core.model.Response; import com.github.scribejava.core.oauth2.OAuth2Error; import java.io.IOException; import org.junit.Test; import static org.junit.Assert.assertThrows; im...
40.333333
107
0.713287
6d85f6c0e737e1d25af32af1f2806b2caf1fb07e
3,655
package org.hl7.fhir.r4.model.codesystems; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the ab...
42.011494
90
0.725581
617f761b55f5ab2bced47c1bc93dc018e470f902
17,986
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.data.tables; import com.azure.core.http.HttpClient; import com.azure.core.http.policy.ExponentialBackoff; import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.policy.HttpLogOpt...
39.356674
119
0.6857
33559de9f36259d73f22896107ad41770a89f187
710
package com.anggrayudi.materialpreference.sample.billing; public final class DonationItem { public String sku; public String title; public String price; private DonationItem(String sku, String title, String price) { this.sku = sku; this.title = title; this.price = price; }...
30.869565
76
0.594366
965c52a5edf69006cf215c3e6d702533fc9f9930
7,513
package com.kirbybanman.travelclaimer; /* * Copyright 2015 Kirby Banman * * 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 * *...
30.052
90
0.740583
d1201ec6b00602ab910d9bab1dc7fe7f991f5f99
380
package com.superfarmland; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @FeignClient("manage-user") public interface UserFeignTest { @RequestMapping("/manage-user/HelloWordContro...
27.142857
73
0.821053
3cc3b434cb76d9539683b82380a7b684c34c072b
805
package puzzles; /** * People standing in a circle pass a sword and start killing the next one to * them. Who will be the one left at the end. * * @author shivam.maharshi */ public class CircularSwordKilling { /* * If number is power of 2, the one who started sword passing is the one who * will...
23
78
0.63354
8938b495d83d62301d2186b83e0ac73cf3c3c4a0
930
package org.deeplearning4j.optimize; import java.io.Serializable; /** * * Training evaluator, used for determining early stop * * @author Adam Gibson */ public interface TrainingEvaluator extends Serializable { /** * Whether to terminate or not * @param epoch the current epoch * @return whet...
18.6
75
0.64086
af9b97ce2a475cdcebae846f2e4088e49a762d5a
692
package com.appointment.appointment.client; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; @Service public clas...
30.086957
98
0.745665
ff26489610435c9084b1622dce738fb94a6ae077
3,893
package com.gitee.swsk33.winfileselector; import java.awt.Color; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Font; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.a...
34.149123
287
0.675572
92153ff632c3542bd7bbf5375a5383658cd58953
3,856
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
37.076923
101
0.651971
412729938c71ddcc380529c1247aedeb2f7f4a31
499
package edu.asu.qstore4s.repository; import org.springframework.data.neo4j.repository.GraphRepository; import org.springframework.transaction.annotation.Transactional; import edu.asu.qstore4s.domain.events.impl.RelationEvent; public interface RelationEventRepository extends GraphRepository<RelationEvent>{ R...
24.95
81
0.765531
871f12eaf0d084f242f19efdb3e54273be5eca53
5,597
/* * Copyright (C) 2013 salesforce.com, 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 ...
40.266187
116
0.619618
9757abb71f8c4fce35ccd1a5e8a7cf708afc9925
2,202
package com.egglibrary.spring; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; impo...
36.098361
107
0.637148
13b1c18c1546d1fd3be85976ae3c952d17d87fc6
1,996
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
34.413793
117
0.748497
52374e87f93e5dabf3225911ebce603095e3b9ee
5,010
package com.nbs.iais.ms.meta.referential.db.service.agent; import com.nbs.iais.ms.common.db.domains.interfaces.gsim.group.base.Agent; import com.nbs.iais.ms.common.db.service.tests.ServiceTest; import com.nbs.iais.ms.common.enums.AgentType; import com.nbs.iais.ms.common.enums.Language; import com.nbs.iais.ms.meta.refe...
42.820513
237
0.733733
873c262e87f77e0836f7bc601770b2ea5f282e5f
180
package com.jpeony.sunflower.server.service; /** * @author yihonglei */ public interface ServiceTest { /** * @author yihonglei */ void test(String content); }
15
44
0.638889
13d876033bade41989e981e93157bdfbe55218fa
31,819
/* * PropCylXY_Test.java * * Created on July 24, 2007, 10:53 PM * * $Id: PropCylXY_Test.java,v 1.1.1.1 2010/04/08 20:38:00 jeremy Exp $ */ package org.lcsim.recon.tracking.trfcylplane; import junit.framework.TestCase; import org.lcsim.recon.tracking.spacegeom.SpacePath; import org.lcsim.recon.tracking.spacegeom...
38.198079
111
0.519941
3d92a9840832c0115e150368b020cc88db367bc7
8,460
package com.example.littlethoughts; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.view.Menu; import android.view.MenuItem; import android.view.inputmethod.InputMethodManager; import android.widget.Toast; i...
36.153846
110
0.584515
cce893ea5e61220290bb8aa24a5ce0772ace3f92
310
package com.Feelfree2code.STA.subStructure; import com.Feelfree2code.STA.model.domain.CustomerDTO; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface ICustomerRepository extends JpaRepository<CustomerDTO, Integer> { }
31
82
0.854839
b6a8d1803fad9d31ca392713308a0f4d37147b2d
1,318
package org.apache.spark.deploy; class ApplicationDescription implements scala.Product, scala.Serializable { public java.lang.String name () { throw new RuntimeException(); } public scala.Option<java.lang.Object> maxCores () { throw new RuntimeException(); } public int memoryPerExecutorMB () { throw new Runt...
82.375
383
0.754932
7611b489bb7970d067e0192cc565ea2af190a849
34,637
/* * 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 ...
32.707271
118
0.56304
e4a1410d07b1dd3c21eb5bfd853caea3a796bbbd
1,636
package selfbot.commands.fun; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import selfbot.utils.Command; import java.io.IOException; /* * @file AsciiCommand.java * @author Blue * @version 0.1 * @brief Write the give...
32.078431
110
0.634474
80cdb6836ed2cd9173c2a4a184b33a740928925b
6,393
package com.taobao.zeus.web.platform.client.module.jobmanager; import java.util.Iterator; import java.util.List; import com.google.gwt.user.client.History; import com.google.gwt.user.client.ui.HasWidgets; import com.taobao.zeus.web.platform.client.app.PlacePath; import com.taobao.zeus.web.platform.client.app.PlacePat...
37.385965
135
0.686532
3de150b070eac84895900f76d7427f1736694213
6,745
/** * 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...
43.798701
107
0.752557
741f2eb5370db8b27615244f61b2752fedf3b628
843
/******************************************************************************* * Copyright (C) 2019 Vulcalien * This code or part of it is licensed under MIT License by Vulcalien ******************************************************************************/ package vulc.ld44.level.tile; import vulc.ld44.gfx.Atla...
27.193548
80
0.576512
f74684ee7842106ff3b5fabc690b2eb3a51bf48c
8,823
/* * Copyright 2011 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 applica...
36.7625
106
0.591749
90510c28ab76ad19f27f442b9e0d279b3fdb117c
20,584
/* * Copyright (C) 2015 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 app...
48.206089
100
0.680917
a4413290e408122c0b85e525e2d7868c27aae3cc
6,398
/** * generated by Xtext 2.22.0 */ package org.sodalite.dsl.rM.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; imp...
23.608856
139
0.618318
c99523972915fbc1cb3c0b61a1284b9684bde5c2
3,117
package com.example.laboratorio1; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toa...
38.481481
95
0.659609
8d620f310a89201b79b90329948ff8521ab5a972
860
package com.diancan.respositorys.mongo.doc; import com.diancan.domain.resto.mongo.Doc; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.DeleteQuery; import org.springframework.data.mongodb.repository.MongoRepository; import...
33.076923
76
0.738372
061048d703a68f91d3b692fc1018b68fd2a4d441
2,607
package org.bitbucket.ioplus.clblas; /** * Created by przemek on 24/08/15. */ public class Level2 { /** * Matrix-vector product with a general rectangular matrix and float elements. * Matrix-vector products: * \( y \leftarrow \alpha A x + \beta y \) * \( y \leftarrow \alpha A^T x + \beta ...
34.76
96
0.508631
0fcdd4d493ada51969a461c6f3bed9b9e09fb4cd
206
package me.santong.watermark.framework; /** * Created by santong. * At 16/5/20 18:14 */ public interface BaseView { void showProgress(); void hideProgress(); void showToast(String msg); }
14.714286
39
0.669903
b55591b91d27fb87cb41844d929f6a1440ca4aab
1,401
package com.akh.algorithms.sorting.practice; import static org.junit.Assert.assertArrayEquals; import java.util.Arrays; import org.junit.Test; public class SelectionSort extends AbstractSorter implements Sorter { @Override public int[] sortArray(int[] a) { for (int i = 0; i < a.length; i++) { ...
27.470588
78
0.528908
c71d805eb3ea71501978b7ee32e60c33eb2352fd
1,008
package org.motech.provider.repository.dao; import java.io.IOException; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.ObjectCodec; import org.codehaus.jackson.map.DeserializationContext; import org.codehau...
36
91
0.777778
5988d2a2fac77c9585c94c4fcb935c5e3683f05f
1,559
import java.util.Set; import java.util.LinkedHashSet; import java.util.Deque; import java.util.ArrayDeque; public class DepthFirstSearch{ public static void main(final String ... args){ final DepthFirstSearch bfs = new DepthFirstSearch(); final Node nodeA = bfs.new Node("A"); final N...
25.145161
60
0.676074
18dacc3eea5cf93e31bd0f452e0c0e72a9866873
1,721
/* * ****************************************************************************** * Copyright 2016-2017 Spectra Logic Corporation. 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. A copy of the Licens...
37.413043
110
0.638582
a2e135e5f92afe59adfab5c50de9aea399deb2d2
34,198
package com.ca.apim.gateway.cagatewayexport.util.policy; import com.ca.apim.gateway.cagatewayconfig.beans.*; import com.ca.apim.gateway.cagatewayconfig.util.IdGenerator; import com.ca.apim.gateway.cagatewayconfig.util.injection.InjectionRegistry; import com.ca.apim.gateway.cagatewayconfig.util.policy.PolicyXMLElements...
47.497222
408
0.635797
3d9de158c15ae822e979e9b2c611399f909e469b
591
package com.android.AshenAndroid.server; import org.json.JSONObject; import java.nio.charset.Charset; import java.util.Map; public interface HTTPResponse { HTTPResponse setStatus(int status); HTTPResponse setContentType(String mimeType); HTTPResponse setContent(byte[] data); HTTPResponse setCont...
18.46875
56
0.751269
15d7fa0dac54a991a6a6473c6e0b1c12612fe860
210
package br.com.estacionamento.model; import br.com.estacionamento.commons.RepositoryBaseImpl; public class CartaoCreditoRepositoryImpl extends RepositoryBaseImpl implements CartaoCreditoRepositoryCustom { }
26.25
110
0.871429
515f1bf000dce8421f2015e4ccdd53142f31f14d
14,908
package com.leo.font.lib.compiler; import com.leo.font.lib.annotations.AutoScale; import com.leo.font.lib.compiler.NameStore; import com.leo.font.lib.compiler.ProcessingUtils; import com.mindorks.lib.annotations.BindView; import com.leo.font.lib.annotations.IgnoreScale; import com.leo.font.lib.annotations.Keep; import...
48.402597
120
0.562114
7a8488025a6719b40fdf39d6a669f15b6f9f6ccb
1,616
package comicdoor.comicdoor.adapter; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; import comicdoor.comicdoor.R; import comicdoor.comicdoor.bean.PluginBean; /** * Cre...
29.381818
100
0.717822
36731fc05ecebff1a2eb0122ab3e67bd638f9eca
5,483
package edu.calpoly.isstracker; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.OnMapReadyCallback; import com.google.android.gms.maps.SupportMapFragment; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import co...
38.076389
147
0.602772