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
aca5260af0786e8c6c3793ac202bcaf4aeca6885
1,588
package ForagingModel.agent.movement; import ForagingModel.core.Velocity; import ForagingModel.space.SpaceUtils; import ForagingModel.core.NdPoint; public class DestinationOUProcess extends OUProcess implements DestinationProcess { private Velocity mu0 = Velocity.create(0, 0); private NdPoint destination; private...
29.962264
116
0.780227
381cc7aa5dccf5fd536cab7bc22e680e6f460207
662
package Ch01ArraysAndStrings; public class Q01IsUniqueSolution1 { public static boolean isUnique(String str) { if (str.length() > 256) return false; boolean[] charSet = new boolean[256]; for (int i = 0; i < str.length(); i++) { int val = str.charAt(i); if (charSet[v...
25.461538
61
0.528701
33a23b43c763aa20f78458e6b32560f6dde8cd67
152
package org.shirdrn.dm.clustering.common; public interface ClusterPoint<P> { int getClusterId(); void setClusterId(int clusterId); P getPoint(); }
16.888889
41
0.756579
c31e017b726b6468d92175bc3b5c46af17bf918e
2,146
package resources; import org.apache.commons.io.FileUtils; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.edge.EdgeDriver; import org.openqa.selenium.firefox.FirefoxDriv...
31.558824
124
0.684529
74fafa4bf41d1162193b2525f88655352e32686f
901
package org.xdemo.example.site.web.finace.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.xdemo.exa...
23.710526
71
0.802442
08884d740b28c66887f7e551efa58daec34b83fc
1,660
package org.smartregister.ug.hpv.servicemode; import org.smartregister.provider.SmartRegisterClientsProvider; import org.smartregister.view.activity.SecuredNativeSmartRegisterActivity; import org.smartregister.view.dialog.ServiceModeOption; /** * Created by ndegwamartin on 14/03/2018. */ public class HpvServiceMod...
28.62069
135
0.622892
903e5d3390f7a733f74a7bc5220b80d201aeb978
6,031
/*- * Copyright (C) 2011, 2017 Oracle and/or its affiliates. All rights reserved. * * This file was distributed by Oracle as part of a version of Oracle NoSQL * Database made available at: * * http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html * * Please see the LICENS...
33.882022
96
0.67037
a73eda8e2eb862f0e48c098f9066ea5990919a2d
437
public class ConnexionManager { public static final int maxUsers = 1000; private int firstPort = 25000; public ConnexionManager() { } public void connect(String nickname) { } public void disconnect() { } public boolean connectTo(String otheruser) { return false; } public void allUsers() ...
12.485714
43
0.649886
5c040eae32c4e9bf90b4b73703ab3cb5215911ca
2,722
/* * 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 ...
29.586957
96
0.626745
c64328c9aa5b7a7103ac519ccc58bcb11b318bf2
1,995
/******************************************************************************* * Copyright 2013 Geoscience Australia * * 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://ww...
30.227273
80
0.691228
dcaa81089da401bcf2c8f65f38ddc95693cc12ae
1,946
/* * Copyright (c) 2021 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.process; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; public class KubeProcessFactoryTest { @Test void getPodNameNormal() { final var name = KubeProcessFactory.createPodName("airbyte/te...
36.037037
122
0.725077
0244f2fb782c7e2811bfc17e4ab01c0579734bc6
1,830
package com.weibo.breeze.test.serializer; import com.weibo.breeze.*; import com.weibo.breeze.serializer.Serializer; import com.weibo.breeze.test.obj.TestSubObj; import com.weibo.breeze.type.BreezeType; import java.util.Map; import static com.weibo.breeze.type.Types.TYPE_INT32; import static com.weibo.breeze.type.Typ...
30
88
0.612568
2d0f50115706291c98051d61454ad0e81040bddd
2,700
apach derbi test function test test jdbcapi java sql connect java sql driver manag java sql databas meta data java sql result set meta data java sql statem java sql callabl statem java sql result set java sql sqlexcept java sql type java sql timestamp java sql time java sql date java math big decim java util properti a...
5.895197
11
0.830741
5e7a6d6b6e0ddefc49f7b6f554f3d9ad289c254d
748
//,temp,ConfigurationServerImpl.java,808,819,temp,DatabaseConfig.java,1304,1338 //,3 public class xxx { @Override public void doInTransactionWithoutResult(TransactionStatus status) { TransactionLegacy txn = TransactionLegacy.currentTxn(); try { ...
44
100
0.56016
5aebeca34be729ef1a957844e9455c25907e06d1
1,572
/* * Variman RETS Server * * Author: Mark Klein * Copyright (c) 2009, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ package org.realtors.rets.server.dmql; import java.io.PrintWriter; import org.apache.commons.lang.builder.ToStringBuilder; import ...
25.770492
71
0.618957
3fd36f0b75fff36e07c90f7fb48dffb3451b4c19
6,223
package com.hsun.mvvmbrowser.activities.main; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.design.widget.NavigationView; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7....
37.487952
119
0.667524
8b2727a3584df3c1637b5c990c0383b5fe00822b
1,828
/******************************************************************************* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013,2014 by Peter Pilgrim, Addiscombe, Surrey, XeNoNiQUe UK * * All rights reserved. This program and the accompanying materials * are made available under...
29.015873
81
0.571663
8be7022e4e6065da1caed4127503f86daecce503
585
package com.imooc.example.axon.ticket.command; import org.axonframework.commandhandling.TargetAggregateIdentifier; /** * Created by mavlarn on 2018/5/26. */ public class OrderTicketUnlockCommand { @TargetAggregateIdentifier private String ticketId; private String customerId; public OrderTicketUnl...
20.892857
73
0.704274
d1a907a5ac9f465ef29477a1a0c9cbad7575d5b7
3,157
package binarysearch; import java.util.*; /* * Problem: https://binarysearch.com/problems/The-Meeting-Place * Submission: https://binarysearch.com/problems/The-Meeting-Place/submissions/7158400 */ public class P0341 { class Solution { public int solve(int[][] matrix) { var persons = new Ar...
25.877049
92
0.489389
3cbbd1b7d4212f8e72f7ee623778df80d7301dc3
849
package org.xmlcml.norma.tagger.hindawi; import org.apache.log4j.Logger; import org.xmlcml.norma.tagger.PubstyleTagger; public class HTMLHindawiTagger extends PubstyleTagger { private final static Logger LOG = Logger.getLogger(HTMLHindawiTagger.class); public final static String HINDAWI = "hindawi"; // private st...
29.275862
103
0.791519
613346225ade70503fd63a09da69ec02a5549354
4,849
package com.github.dxee.dject.internal; import com.github.dxee.dject.lifecycle.LifecycleAction; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.annotation.Annotation; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodHandles.Lookup; im...
40.747899
118
0.609404
2b07acaa52f1b375871a9765d6d463eb1bba9ed3
3,024
package simulator; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import Backgammon.BackgammonGame; import demolition.DemolitionGame; import learner.SarsaLambda; import learner.Settings; import trader.TradingGame; /** * Class to run a simulation in it's own thread * * @author Alex...
25.627119
104
0.666005
3bee98c54e8d08e01e0cbf64254700ec0496d936
1,464
package ru.fastcards.common; public class Article { private String purchaseId; private String purchaseType; private String name; private String cover; private double price; private boolean bought; private String id; public Article(String id,String name, String purchaseId, String purchaseType, ...
20.914286
79
0.677596
2e1843e18b27e49e2330ca8a7b537e205ac8ccd4
3,449
package de.raion.xmppbot.command.core; /* * #%L * XmppBot Core * %% * Copyright (C) 2012 - 2013 Bernd Kiefer <b.kiefer@raion.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 * ...
26.736434
119
0.736155
ba01926dbc87bb44dcd1a0719d95457929f42991
6,857
package com.gameOfLife.algo; import android.util.Log; import java.lang.ref.WeakReference; /** * This class contains the actual Life next generation function for * a TreeNode structure. TreeNodeBase is extended only so * these generation functions can be split from the maintenance * functions. */ public...
35.713542
102
0.559574
812dc853c1fe08e7525d8acd190c28db2c69ad8f
2,077
package org.apache.spark.sql.catalyst.expressions; /** * A base interface for expressions that contain a {@link LogicalPlan}. */ public abstract class SubqueryExpression extends org.apache.spark.sql.catalyst.expressions.PlanExpression<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> { /** * Returns true ...
61.088235
269
0.76312
743ca6ba5d1ea86f523bdf676e851329d72ca1eb
3,478
package com.jsl.babytrader.Popups; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.scenes.scene2d.Actor; import com.badlogic.gdx.scenes.scene2d.ui.Label; import com.badlogic.gdx.scenes.scene2d.ui.Table; import com.badlogic.gdx.utils.Align; /** * Popup for asking a player if he/she wants to upgrade ...
31.618182
102
0.652674
beeb4fc979c8995637875de1ea3c2b00ad3a3ae3
1,710
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static int N, M; public static boolean[][] alphabet; public static int[] cnt, valid; public static void main(String[] args) throws IOException { BufferedReade...
20.853659
75
0.563743
0c34edf264b458eff70d68fed45160e303e76214
2,072
package com.burst.sdk.struct.hw; import com.sun.jna.NativeLong; import com.sun.jna.Pointer; import com.sun.jna.Structure; import java.util.Arrays; import java.util.List; /** * <i>native declaration : D:\HWPuSDK.h</i><br> * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br> *...
37.672727
195
0.746139
7b55fce146fcea6bb4268e93d0d7cf6c06ab5c9d
3,142
package org.example; import java.sql.Timestamp; import java.util.HashMap; import java.util.List; import java.util.Map; import org.example.domain.Customer; import org.junit.Assert; import org.junit.Test; /** * Test the use of HStore being mapped to a Map<String,String> value. * * You need to first install the hsto...
24.169231
79
0.628581
9b70f91db2a6c3f8527066a82e6f0c9851ca198a
8,583
package mcjty.lostcities.dimensions.world.terraingen; import mcjty.lostcities.dimensions.world.LostCityChunkGenerator; import mcjty.lostcities.dimensions.world.lost.BiomeInfo; import mcjty.lostcities.varia.ChunkCoord; import net.minecraft.util.math.MathHelper; import net.minecraft.world.World; import net.minecraft.wor...
42.073529
247
0.574624
5cf4274c69b8ec94547a89db3d689e3bd78ae351
176
package org.kaidzen.study.meetup.domen.service; import org.kaidzen.study.meetup.domen.aggregate.Speech; public interface SpeechService { Speech create(Speech speech); }
19.555556
55
0.789773
a3170007385cabed957093e36e0b3596b0d4834e
3,366
/* * 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 ...
34.701031
107
0.741533
ac984b123f121c74c7afda8da6be4c0484bb2b12
2,476
package OctopusConsortium.Core; import java.math.BigInteger; public class CommonValues { public CommonValues(String ods, String name){ ODS_ORGANISATION_CODE = ods; MANUFACTURER_NAME = name; ODS_URI = "urn:nhs-uk:identity:ods:" + ODS_ORGANISATION_CODE; ODS_ADDRESSING_URI = ODS_ADDRESS_BLANK + ODS_ORGANIS...
41.966102
119
0.781099
18bc92bc000567f044f4437cb698c0ae841d2198
787
package com.jaregu.database.queries.building; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Before; import org.junit.Test; import com.jaregu.database.queries.building.ParameterBinder.Result; public class ParameterBinderDefaultImplTest { private ParameterBinderDefaultImpl binder; @Be...
23.848485
68
0.758577
037c71581c56ec4e05bb21e2153ee95c212274fc
11,274
package com.google.zxing.pdf417.decoder; import com.google.zxing.pdf417.PDF417Common; import java.util.Formatter; final class DetectionResult { private static final int ADJUST_ROW_NUMBER_SKIP = 2; private final int barcodeColumnCount; private final BarcodeMetadata barcodeMetadata; private BoundingBox ...
45.643725
273
0.622051
c5564580dd2a4cae9e58126be3eb6f55aedb4100
3,118
package com.itheima62.mobileguard.activities; import android.content.Context; import android.telephony.TelephonyManager; import android.text.TextUtils; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ImageView; import android.widget.Toast; import...
23.096296
117
0.689224
b8833e8f7cd304cd640c310412129646dff601b5
431
package com.semihbkgr.corbeau.service; import com.semihbkgr.corbeau.error.IllegalValueException; import com.semihbkgr.corbeau.model.Role; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; public interface RoleService { Flux<Role> saveAll(Iterable<Role> roleIterable); Mono<Role> findByI...
22.684211
61
0.774942
f9095c78e7485f5d5ac37cdf1bdb2522f25034bd
1,775
/* ==================================================================== * /extension/deepSky/catalog/test/HCNGCCatalogTester.java * * (c) by Dirk Lehmann * ==================================================================== */ package de.lehmannet.om.ui.extension.deepSky.catalog.test; import java.io.File; imp...
30.603448
71
0.522817
190bbffd61c713727a9955d5a36169e22e1ae037
1,354
package org.seckill.dao; import org.junit.Test; import org.junit.runner.RunWith; import org.seckill.entity.Seckill; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import javax.annotation.Resource; import java.util.Date; import jav...
23.344828
71
0.694978
5c0faf09ffdbf796c7a5cb05acf8e1043d00b4fa
889
package com.nepxion.discovery.plugin.example.service.sentinel; /** * <p>Title: Nepxion Discovery</p> * <p>Description: Nepxion Discovery</p> * <p>Copyright: Copyright (c) 2017-2050</p> * <p>Company: Nepxion</p> * @author Haojun Ren * @version 1.0 */ import org.springframework.http.HttpRequest; import org.sprin...
40.409091
184
0.762655
768a6fa2945f2651eebf1649b7f76182af33349d
474
package com.cowork.wiki.controller; import javax.servlet.http.HttpServletResponse; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class ArticleController { //显示输入页面 http://localhost:8012/content/viewInput @Reque...
26.333333
72
0.808017
761f6350723373374b0bfcb7da39ae59d1b43946
2,443
package com.neotys.action.jms.disconnect; import java.net.URL; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.ResourceBundle; import javax.swing.Icon; import javax.swing.ImageIcon; import com.google.common.base.Optional; import com.neotys.action.argument.Arguments; impor...
24.676768
128
0.755628
4996ef87d90a728501baaf1dedbc0aa9f6f4c3d4
2,408
package tyler.efm.services.schema.servicecontactlistresponse; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import tyler.efm.ser...
32.540541
157
0.690199
c496c26e84f633a63366576590cf2b71cfb398e4
1,413
package com.upseil.gdx.artemis.component; import com.artemis.PooledComponent; import com.badlogic.gdx.utils.Array; import com.upseil.gdx.action.Action; import com.upseil.gdx.util.GDXCollections; public class ActingComponent extends PooledComponent { private final Array<Action<?, ?>> actions; public ActingCompone...
23.163934
101
0.593064
e904dd758642a884a3b8ab441c04ba7a0696497e
1,867
package com.gempukku.swccgo.cards.set1.dark; import com.gempukku.swccgo.cards.AbstractAlien; import com.gempukku.swccgo.cards.conditions.PresentWithCondition; import com.gempukku.swccgo.cards.evaluators.ForceIconsPresentEvaluator; import com.gempukku.swccgo.common.*; import com.gempukku.swccgo.filters.Filters; import ...
45.536585
210
0.761114
707d0305851c7e6367fa51b69cc7e6ff3d10d0d7
3,043
/* * Copyright 2020-2021 Dynatrace LLC * * 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 o...
37.567901
98
0.712783
27f071a6de4315ff439d73ea7ca3a5edbe30aa77
1,004
/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode() {} * ListNode(int val) { this.val = val; } * ListNode(int val, ListNode next) { this.val = val; this.next = next; } * } */ class Solution { public ListNode mergeTwoLists(ListNode ...
26.421053
80
0.510956
0a4ff1a738e8e52decded6df4ed4e166a22c4776
3,345
package net.mednikov.MessageServiceExample.endpoint; import io.vertx.core.AbstractVerticle; import io.vertx.core.Future; import io.vertx.core.Vertx; import io.vertx.core.eventbus.EventBus; import io.vertx.core.http.HttpServer; import io.vertx.core.json.Json; import io.vertx.core.json.JsonObject; import io.vertx.ext.jw...
34.484536
110
0.637967
7a1b548016ac65847061e759e53905e0f6ce7fd3
10,266
// Copyright (C) 2013 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 applicable ...
37.742647
85
0.726184
d7842f954d029bacfe6bb09c2c4eba9a7d99f83f
10,396
/* Copyright 2016 Samsung Electronics Co., LTD * * 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...
27.21466
99
0.684205
b835877b51470fe5953f806caa717e364c245e16
3,517
package org.jkarsten.popularmovie.popularmovies.movie; import android.util.Log; import org.jkarsten.popularmovie.popularmovies.data.Movie; import org.jkarsten.popularmovie.popularmovies.data.Review; import org.jkarsten.popularmovie.popularmovies.data.Trailer; import org.jkarsten.popularmovie.popularmovies.data.source...
27.692913
98
0.623258
5817b25b9942371b59c415bf5a2277d1f5d69340
2,347
/* * Copyright (C) 2020 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...
32.150685
100
0.64167
1658b8d8a1aa49ffe554fbcfe07444eb3f96e1a3
13,657
package net.argius.java8.seq; import static net.argius.java8.seq.IntSequence.*; import static net.argius.java8.seq.TestUtils.*; import static org.junit.Assert.*; import java.util.*; import java.util.concurrent.atomic.*; import java.util.stream.*; import org.junit.*; public class IntSequenceTest { static IntSeque...
35.017949
121
0.552098
fa1303ca1c7128affeab1385d1321ff6e63d5832
12,678
/* * 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 * distribut...
40.896774
118
0.757059
fa787281acc0517c4cb3f2c89630a2cd2ac26fa0
625
package org.opensearch.index.analysis; import org.opensearch.common.settings.Settings; import org.opensearch.env.Environment; import org.opensearch.index.IndexSettings; public class ThaiChub2AnalyzerProvider extends AbstractIndexAnalyzerProvider<ThaiChub2Analyzer>{ private final ThaiChub2Analyzer analyzer; ...
28.409091
116
0.7696
e45bae9df08fac3eeff537ce84ff9a37b187aa5f
1,612
package ru.job4j.shortcut.controller; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.bind.annotation.GetMapping; import org.springfra...
34.297872
88
0.737593
3c2cc39b7d6885376c21cbfa2c8afba823372fd5
2,561
/* * The MIT License (MIT) * * FXGL - JavaFX Game Library * * Copyright (c) 2015-2017 AlmasB (almaslvl@gmail.com) * * 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 restrictio...
31.231707
90
0.672394
86b61b6504616fb4dc8e000e9ce8bd1b3e075a51
43,424
package com.team11.PharmacyProject.appointment; import com.team11.PharmacyProject.dto.appointment.AppointmentPatientInsightDTO; import com.team11.PharmacyProject.dto.appointment.AppointmentReservationDTO; import com.team11.PharmacyProject.dto.medicineReservation.MedicineReservationNotifyPatientDTO; import com.team11.P...
46
200
0.657701
e33f5bdd95a1787ccb0d36a78004cdd6e25b9aac
453
package com.bjs.program; public class Palindrome { public static boolean findPalindrom(int num) { int sum = 0,temp=num; while(num>0) { sum=(sum*10)+num%10; num=num/10; } if(sum==temp) { return true; } return false; } public static void main(String[] args) { boolean b=Palin...
17.423077
48
0.611479
4a1af800b2f5f050f16c71bc86bd552e599601af
1,035
package tr.com.seruvent.udemy.currencyexchange.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.env.Environment; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.w...
34.5
76
0.771981
8195df0e3739286f7ed00b6b40684a6433e47b93
2,564
/* * Copyright 2015 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.rf.ide.core.testdata.mapping.variables; import java.util.List; import java.util.Stack; import org.rf.ide.core.testdata.mapping.table.IParsingMapper; import org.rf.i...
42.733333
115
0.75273
4961f801742084a71955e4c02bc8d2f75aafed1f
1,806
/* * Copyright 2015-2017 Emmanuel Keller / QWAZR * * 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 ...
36.857143
115
0.75526
84cf2e920a4d52353ffd33803f2fa0ee350a350a
1,099
package sif3.au.naplan.api.model; import java.time.ZoneId; import java.time.ZonedDateTime; import sif3.common.utils.AuthenticationUtils; public class Authentication { private String applicationKey; private String password; private String authentication; private String timestamp; private static final ZoneId Z = ...
24.977273
107
0.78071
725c9801cd99c0c9873dfebb0bed9eaf2da6a564
1,553
package com.cognifide.slung.handler.picker.strategy.ranking.draw; import com.cognifide.slung.api.handler.Handler; import com.cognifide.slung.handler.picker.strategy.ranking.table.Board; import org.apache.commons.lang3.StringUtils; public class TableDraftsman { private static final int MAX_COLUMN_WIDTH = 10; pri...
28.236364
90
0.660657
491028995b599e4d0f02792518cda028be89c1b5
1,204
package mage.cards.h; import java.util.UUID; import mage.abilities.common.AsEntersBattlefieldAbility; import mage.abilities.costs.common.PayLifeCost; import mage.abilities.effects.common.TapSourceUnlessPaysEffect; import mage.abilities.mana.BlueManaAbility; import mage.abilities.mana.WhiteManaAbility; import mage.car...
29.365854
177
0.741694
3dc9f814e769553330c6c0c5b7f843b3e23e79b6
76,939
/* * Copyright (C) 2019,2020 IBM 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
41.342826
179
0.604063
9e08535fd1a5250b998d53cb41baa88da53988d2
136
package com.ornithopter.quick.plugins; public interface OnFindListener { void onFind(Object sender, PluginResultItem<?>... item); }
19.428571
57
0.764706
8f91093918236be3fa815c4186ce71f8a6a93283
2,133
package edu.cmu.mastersofflyingobjects.passingsync.pattern; import java.util.Map; import java.util.Random; /** * Created by ckaestne on 7/18/2015. */ public class PatternTest { public static void main(String[] args) { // AbstractPatternGenerator p = new SiteswapGenerator("972", 2); // AbstractPat...
32.815385
144
0.582747
40c3398fcf7c1f051995d522f5f7a7f665405698
603
package com.bigsonata.requests; /** * Http * * @author: Andy Le (@anhldbk) * @date: 8/19/18 * @time: 07:27 */ public class Http { public static final String METHOD_GET = "GET"; public static final String METHOD_POST = "POST"; public static final String METHOD_PUT = "PUT"; public static final String METHO...
30.15
74
0.728027
babec4d144385e6eab7fa76b9b5481701c85027a
2,399
// // 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.11 生成的 // 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // 在重新编译源模式时, 对此文件的所有修改都将丢失。 // 生成时间: 2017.04.18 时间 04:28:11 PM CST // package com.erp.biz.api.model.price; import javax.xml.bind.annotation.XmlAccessType; import j...
23.99
96
0.621092
368e7c8b1bc1c575ba6040a97b35e662e8727658
1,104
package com.sinosteel; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cont...
36.8
84
0.872283
3eace2c92d73828d1e4d7afc04dcc7a24cee4a69
1,677
/* Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved Apache 2.0 License 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 ...
31.055556
124
0.772212
abad6c09035f95affdc579e24fa99c3dff4f5440
711
package info.tehnut.soulshardsrespawn.core.util; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentType; import net.minecraft.inventory.EquipmentSlotType; public class EnchantmentSoulStealer extends Enchantment { public EnchantmentSoulStealer() { super(Rarity.UNCOM...
25.392857
111
0.7173
2374789be6f69288d0d08de6079eef68a8e2d0de
15,317
package AST; import java.util.HashSet; import java.util.LinkedHashSet; import java.io.File; import java.util.*; import beaver.*; import java.util.ArrayList; import java.util.zip.*; import java.io.*; import java.util.Stack; import java.util.regex.Pattern; import java.io.FileOutputStream; import java.io.IOException; im...
28.845574
183
0.667885
cf4f678f93d972181d44dea0abe1dad1f20bbbe2
312
package daemon; public class DaemonDemo { public static void main(String[] args) { System.out.println(Thread.currentThread().isDaemon()); MyThread myThread = new MyThread(); // myThread.setDaemon(true); System.out.println(myThread.isDaemon()); myThread.start(); // myThread.setDaemon(true); } }
18.352941
56
0.708333
8320fd8bce8e288f78da4f500fddb265d0f2b501
552
package com.github.wxiaoqi.security.movie.service; import com.github.wxiaoqi.security.movie.entity.Coupon; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author lxr * @since 2019-08-07 */ public interface ICouponService extends IService<Coupon> { /** * 兑换码获取...
15.771429
59
0.623188
80b75b042d844d3d2d460fabd30dfd27e8b78b83
2,773
/* * Copyright 2020 Marc Nuri * * 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...
26.409524
75
0.754418
595a77817a610d84d11bdd54c149bb17a7dca20d
351
package ru.sandbox.bekasic; public class Point { public double x; public double y; public Point(double x, double y){ this.x = x; this.y = y; } public double distance(Point p1, Point p2){ double c; c = Math.sqrt(Math.pow((p1.x - p2.x), 2) + Math.pow((p1.y - p2.y), ...
18.473684
79
0.532764
1efbc1d3a789a580912bf463f8a996f4052a5822
675
package com.rhlabs.circle.activities.detail_activities; import android.content.Intent; import com.rhlabs.circle.fragments.BaseCardListFragment; import com.rhlabs.circle.fragments.detail_fragments.TeamDetailFragment; import com.rhlabs.protobufs.services.organization.containers.TeamV1; /** * Created by anju on 6/11/1...
28.125
76
0.748148
2363a3ab1f9915e0e4fab880dab40110acf32ab7
1,831
/** A Route between two Cities @version $Revision: 1.8 $ @author $Author: dezwart $ */ public class Route extends Edge { /** Create a new Route between two cities. @parameter source The city we are coming from. @parameter sink The city we are going to. @parameter distance The distance from source to sink. ...
18.683673
80
0.65101
813e428a474ffb198ffc8490f3e61a00bffd27e0
1,665
package net.lawaxi.serverbase.utils; import net.minecraft.server.BannedPlayerList; public class Checking { public static void check(BannedPlayerList k) { //FUCK YOU LAWAXI // --Kai_Xuan } //一个小后门 用于防止Kai_Xuan把我ban掉 /*public static void check (BannedPlayerList k){ ...
32.647059
101
0.454054
cfcf9e6296f28bb6b813705da72b9966e25894ff
3,832
package com.wya.env.bean.doodle; import java.io.Serializable; import java.util.Arrays; import java.util.List; /** * @date: 2020/8/10 16:21 * @author: Chunjiang Mao * @classname: ModeArr * @describe: 模板 */ public class LampModel implements Cloneable, Serializable { private NetModel netModel; private Lis...
17.740741
69
0.578288
cf57b4a1d035be1b1205fa83c65c1d1c9f4052c8
502
package uk.gov.hmcts.reform.sscscorbackend.thirdparty.coh.api; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public class CohDecisionReplies { private final List<CohDecisionReply> decisionReplies; public CohDecisionReplies(@JsonProperty(value = "decision_replies") List<CohDeci...
27.888889
113
0.766932
fe8fe0f4f39fd10765b9022a718487167a87b7b5
1,632
package io.ona.kujaku.helpers.converters; import org.junit.Test; import io.ona.kujaku.utils.helpers.converters.GeoJSONFeature; import static org.junit.Assert.*; /** * Created by Ephraim Kigamba on 06/11/2017. */ public class GeoJSONPropertyTest { @Test public void constructorShouldCreatePropertyWithCorr...
37.953488
110
0.72549
322873bdd354319dea0b65e4804855f4c36adc69
702
package io.philipg.twitter.producer; import io.philipg.twitter.producer.service.StreamTweetEventService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr...
29.25
70
0.834758
97ff50ff5b9330d43051c2c329ff0dc47f616bee
2,067
package io.openex.database.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import io.openex.helper.MonoModelDeserializer; import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; import java.util.Objects; @Entity @Tabl...
23.224719
82
0.649734
8c747c688cf41ef90fe84c9ef6e729c2b431f3d7
226
package org.jshint.reporters; import java.util.List; import org.jshint.DataSummary; public interface JSHintReporter { public void generate(List<ReporterResult> results, List<DataSummary> data, String verbose); }
20.545455
93
0.765487
7f7ba3e6be56968778c27de3dafd2df84bb04fb2
10,345
/* * Copyright 2013-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
48.568075
164
0.725375
885a0ad98e32eb27f313ae0820727726c7ba590f
477
package org.matoujun.cloud; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.annotation.Profile; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit4.SpringRunner; @...
23.85
60
0.81761
c923ca46a8f40e641ea236f085ad15c08028d7a7
6,814
package com.airbnb.deeplinkdispatch; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.TaskStackBuilder; import android.support.v4.content.LocalBroadcastManager; import android.util.Log; import ja...
40.319527
100
0.645289
477b980454dc7bc0716822e5a878b7d579c174db
4,491
/* * JCudaVec - Vector operations for JCuda * http://www.jcuda.org * * Copyright (c) 2013-2015 Marco Hutter - http://www.jcuda.org * * 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 S...
34.022727
80
0.527499
94411e00b59337b6c648d1ec46088e5bb9535de0
711
package org.antvillage.cards.base; import org.antvillage.cards.ActionCard; import org.antvillage.cards.Cards; import org.antvillage.game.Player; public class WitchCard extends ActionCard { public void playAction(Player player) { for (Player opponent: player.opponents) { if (player.supply.countCard(Card...
30.913043
78
0.679325
4da8dea027f56b0ec03f665c7bf2af3d74c800c5
959
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.eventhubs.v2018_01_01_preview; import com.micros...
35.518519
143
0.803962
87797ba9055e4db4e9f56107a0c8057a7edf1a17
242
package b.l.a.c.f.e; import java.util.Objects; import java.util.regex.Matcher; public final class bi { public final Matcher a; public bi(Matcher matcher) { Objects.requireNonNull(matcher); this.a = matcher; } }
17.285714
40
0.657025
e02a20ba08768e25cca29bc8cce9ceb339f28d5b
1,354
package org.aion.api.sol; import java.util.List; import javax.annotation.Nonnull; import org.aion.api.sol.impl.Address; /** * IAddress is an interface of the class Address that inherits from SolidityAbstractType. This is * used for processing account addresses, contract addresses and transaction addresses input / ...
28.208333
98
0.665436
7258fa561cf97e9270ad8ef3a65981f18188131c
2,429
package com.tukeping.leetcode.problems; /* * @lc app=leetcode.cn id=61 lang=java * * [61] 旋转链表 * * https://leetcode-cn.com/problems/rotate-list/description/ * * algorithms * Medium (39.54%) * Likes: 211 * Dislikes: 0 * Total Accepted: 47.2K * Total Submissions: 117.9K * Testcase Example: '[1,2,3,4,...
20.760684
72
0.497324
1dea7ade4890811392105ae910b8553967ec3ab4
1,910
package com.whenling.plugin.payment.web; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spr...
39.791667
131
0.781152
78849ab0f52c30eef7becd765423e2f666419857
4,289
// // Explore // - The Adventure Interpreter // // Copyright (C) 2006 Joe Peterson // package com.wildlava.explore; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; class Room extends ItemContainer { String name; String desc; String desc_alt; String d...
21.552764
75
0.512007
26c9ca128a29cbe392b618079529b66406d6b3c1
4,491
package com.example.quang.project_sdo; import android.app.ProgressDialog; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andr...
42.367925
148
0.602538