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
9a84ae0f6cd3d51e8d403f5c7563fbc03fb555b4
630
// Copyright 2020 by PostFinance Ltd - all rights reserved package ch.postfinance.devops.fusion.demo.apptest.runner.validation; public class ValidationException extends Exception { private final String field; private final Object expected; private final Object actual; public ValidationException(Strin...
30
103
0.679365
abc9d5a085242cff36395d90e835602302064d2f
3,698
/* * Created on 2012/02/20 * Copyright (c) 2010-2012, Wei-ju Wu. * 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 above copyright notice, ...
40.637363
111
0.693889
79566ffe073aeac67b5cd356337f7df0ad7c143c
1,069
// Generated automatically from android.view.ContentInfo for testing purposes package android.view; import android.content.ClipData; import android.net.Uri; import android.os.Bundle; import android.os.Parcel; import android.os.Parcelable; public class ContentInfo implements Parcelable { protected ContentInfo() {...
34.483871
77
0.735267
af1ce0bafc1c6e687fd55649f1effc2466b68a59
2,264
package com.github.sakaguchi3.jbatch002.vavr; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.List; import java.util.function.BiConsumer; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.junit.ju...
21.980583
85
0.580389
e32ac4ffca9d37d9de6857f20494b93c31e138d9
5,616
package com.cloudinary.android.sample.app; import android.app.Activity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.database.Cursor; import android.graphics.Bitmap; import android.graphics.BitmapFactory; imp...
40.402878
186
0.665954
b68867b7959be57ab1a4ced063320b0254c475d9
1,471
package java.lang; import com.dragome.commons.javascript.ScriptHelper; import com.dragome.utils.NamingUtils; /** * This is the common base class of all Java language enumeration types. */ public abstract class Enum<E> { private String desc; private int ordinal; /** * Sole constructor. */ protected Enum(Str...
21.955224
133
0.694086
55855f8efedd380ab161b358a8f8749e9c0b380e
6,588
/* * Copyright 2009 Hannes Wallnoefer <hannes@helma.at> * * 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 b...
41.433962
109
0.657256
de6d3691d77e6afc3c7ba56d0513473006b28651
78
/** * Created by pczhangyu on 2017/9/5. */ package com.poseidon.web.service;
19.5
36
0.692308
5bf57dc9f20f1feafabf4e7fd8ea64eaaeb1ee2b
295
package com.showka.repository.i; import org.springframework.data.jpa.repository.JpaRepository; import com.showka.entity.TShohinIdoMeisai; import com.showka.entity.TShohinIdoMeisaiPK; public interface TShohinIdoMeisaiRepository extends JpaRepository<TShohinIdoMeisai, TShohinIdoMeisaiPK> { }
26.818182
105
0.854237
4c5d9c170167aba37808096b1d56a27d3ead67fa
2,129
/** * Licensed to Inspektr under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Inspektr licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except...
31.776119
200
0.726163
953b51bf98ebb9250c7aa0fa51b07129a8b63537
2,243
package com.jagex; public class Class199_Sub10 extends Class199 { int anInt9919; String aString9920; int anInt9921; int anInt9922; public void method2859() { Class645.aClass207Array8445[this.anInt9919 * 1974328251].method2913((byte)76).method10780(this.aString9920, this.anInt9921 * -1294...
45.77551
190
0.714668
1c158f1fc14a120165ded59a1116c0333b0396fa
516
// http://codeforces.com/problemset/problem/488/A import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner read = new Scanner(System.in); int a = read.nextInt(); int temp = a; int b = 0; while (b == 0) { boolean isLucky = String.valueOf(temp).contains("8...
17.793103
56
0.602713
883fb7555dceaa238c1254b58cd249527038a0b7
654
package be.tarsos.dsp.util.fft; /** * @author joren * See https://mgasior.web.cern.ch/mgasior/pap/FFT_resol_note.pdf */ public class BlackmanHarrisNuttall extends WindowFunction { float c0 = 0.355768f; float c1 = 0.487396f; float c2 = 0.144232f; float c3 = 0.012604f; @Override protected float value(int len...
24.222222
66
0.614679
5d3b069c6d9da560cc426557e276fc4135b9dada
2,670
package com.example.helloHotSpot; import java.lang.reflect.Method; import com.example.hellowifi.R; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.View; ...
31.785714
87
0.773408
b6b67f2bd607bd63cfd3fd0f22f4612b99718ac9
172
package de.uni_bonn.cs.tnn.core; public interface Input { double getWeightedValue(); double getUnweightedOutput(); void updateWeight(double weightChange); }
17.2
43
0.738372
73e787bf17c356c9781852ce0fe5f30650845062
1,023
package com.jslsolucoes.nginx.admin.agent.model.response; import java.math.BigDecimal; public class NginxServerInfoResponse implements NginxResponse { private String version; private String address; private Integer pid; private BigDecimal uptime; public NginxServerInfoResponse() { } public N...
18.6
98
0.690127
361b1bcbecccd2eb5545ecec973bb68bbb521fd0
2,777
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. * ===================================================================...
42.075758
142
0.652503
ba2327d499e740942d50deaf7f66653d763b700b
15,721
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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...
43.913408
140
0.715921
5eb914e4792659e020ab61a9c39d35ff06a7855a
3,810
package tk.wlemuel.cotable.cache; import android.content.Context; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.InvalidClassException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serial...
28.432836
79
0.55748
6aec6e41e3d2bb0f3703940c4faf1fb14b6d588e
1,834
/* * Copyright (C) 2016 Simon Vig Therkildsen * * 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 ...
32.75
96
0.766085
a016b3ea3c654d17323bc6816ef13253df3dfa3a
9,806
/* * Copyright (C) 2019 Nafundi * * 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...
42.820961
154
0.714257
dbcc6a55008458adb5737372a14dd8bdded5a8ac
901
package com.jjh.bookshop.main; import org.springframework.boot.actuate.endpoint.annotation.ReadOperation; import org.springframework.boot.actuate.endpoint.web.WebEndpointResponse; import org.springframework.boot.actuate.endpoint.web.annotation.EndpointWebExtension; import org.springframework.boot.actuate.info.InfoEndp...
30.033333
85
0.760266
45f85b0efb96cc6cf1084a2034320118454dbc94
331
package com.example.boot.mapper.role; import com.example.boot.model.role.Permissions; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.Set; @Repository public interface PermissionsMapper { Set<Permissions> getPermissionsByRole(@Param("roleId")Integer ...
25.461538
74
0.812689
6519bbd440ba59e75024ed304717b72dafc3183a
825
package com.github.ontio.account; import com.github.ontio.common.ErrorCode; import com.github.ontio.sdk.exception.SDKException; import org.spongycastle.util.Arrays; import java.security.spec.AlgorithmParameterSpec; /** * Parameter spec for SM2 ID parameter */ public class SM2ParameterSpec implements Algorithm...
20.625
65
0.635152
fe02a33753c42ab75f0602e24204703aaa1997f4
361
package icbm.classic.api.data; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.EnumHand; /** * Created by Dark(DarkGuardsman, Robert) on 1/7/19. */ @FunctionalInterface public interface EntityInteractionFunction { boolean onInteraction(Entity entity...
24.066667
77
0.792244
88a7958306b72c15f44573dbfe85a8dfddcd8708
4,817
package mono.com.microsoft.appcenter.channel; public class Channel_ListenerImplementor extends java.lang.Object implements mono.android.IGCUserPeer, com.microsoft.appcenter.channel.Channel.Listener { /** @hide */ public static final String __md_methods; static { __md_methods = "n_onClear:(Ljava/lang/Str...
39.809917
291
0.802367
0b82311f6ebd7b9ac74d9b9a5adaa12f0bd1851b
2,434
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
25.354167
78
0.73295
8c9be6835d98e8c22c418d53e083b4581265c4f4
1,826
package comp5216.sydney.edu.au.findmygym.model; import android.annotation.SuppressLint; import java.io.Serializable; import comp5216.sydney.edu.au.findmygym.R; /** * A class that records a personal trainer reservation. */ public class Reservation implements Serializable { private String rsvId; // null if...
22
94
0.55586
af0f2d07e6b480d737dc8e99fab1c6e90f58a262
8,803
/* * Copyright (c) Facebook, Inc. and 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 applic...
36.226337
100
0.704646
38b47e41f3776d3ed2440af32671a0e9c812db91
536
package greedyalgorithm; import java.util.Arrays; public class MarcCakeWalk { private static long marcsCakewalk(int[] calorie) { Arrays.sort(calorie); long min = 0; int i=0; for (int j = calorie.length -1; j >= 0; j--) { min = (long) (min + (Math.pow(2,i) * calorie[j]...
23.304348
63
0.537313
8cefd25bbed08d31d485a83ce84272162079da44
1,911
/******************************************************************************* * Copyright (C) 2009-2020 Human Media Interaction, University of Twente, the Netherlands * * This file is part of the Articulated Social Agents Platform BML realizer (ASAPRealizer). * * ASAPRealizer is free software: you can redistrib...
32.389831
91
0.609628
1426cab8fdfd37e1a478f63ea4b45acd3b4df38d
5,935
package org.apache.archiva.metadata.repository; /* * 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 Apa...
26.495536
119
0.66588
36a2dbc65f42d8dfb99387f189e3502c4e08951c
235
package com.shangame.fiction.ui.my.account.coin; /** * Create by Speedy on 2019/1/3 */ public class CoinState { public static final int VALID = 0; public static final int USED = 1; public static final int EXPIRE = 2; }
19.583333
48
0.680851
828984bab045dc054fa4d19ec9b0b5650cef024f
4,182
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Copyright 2021 Adobe ~ ~ 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/li...
26.301887
80
0.654232
0b1fb4e355e5d366404e9937001d39e515ac475d
1,348
package com.ruverq.mauris.compatibility; import com.ruverq.mauris.items.ItemsLoader; import com.ruverq.mauris.items.MaurisItem; import io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitItemStack; import io.lumine.xikage.mythicmobs.api.bukkit.events.MythicDropLoadEvent; import io.lumine.xikage.mythicmobs.drops.droppabl...
36.432432
98
0.697329
4e4f2345a6afccd2a782867221e41115d9e88b99
22,664
package br.com.gplab.analysis.mappings; import org.json.JSONObject; public class PepAnalysisConsts { private String splitChar = "\\t"; public String getSplitChar() { return splitChar; } public void setSplitChar(String splitChar) { this.splitChar = splitChar; } private int rawFile_ndx = -1; //...
38.675768
147
0.748544
3ec4c74f331ac7ae7aed352a508aa9e1bb6b8294
996
package com.ansar.jeticketprinter.model.dto; import com.ansar.jeticketprinter.model.pojo.IntervalProduct; import org.junit.Test; import java.math.BigDecimal; import java.util.HashSet; import java.util.Set; public class TestIntervalProduct { @Test public void testInsertIntervalProducts(){ Set<Interv...
31.125
103
0.694779
886ed6e3846af8a594fa7aa80107b8c1106a71c3
591
/** * @Title: Content.java * @Package com.zgq.design._12strategypattern.example * @Description: TODO * @author Zhenggq * @date 2018年5月17日 * @version V1.0 */ package com.zhengq.designpattern._12strategypattern.example; /** * 锦囊(封装角色) * * @ClassName: Content * @Description: 它也叫做上下文角色,起承上启下封装作用,屏蔽...
17.909091
65
0.685279
3e58e63812a7c9f2df685d976fa2290f3a0e0285
7,249
/* * 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.35545
114
0.711546
e4a0a42fc25d083e8d1dddcd491c59e8d2ab3a9d
1,078
/* * Copyright (c) 2018. University of Applied Sciences and Arts Northwestern Switzerland FHNW. * All rights reserved. */ package ch.fhnw.digibp.examples.echo.dto; import java.io.Serializable; public class EchoData implements Serializable{ private String variableA; private String variableB; private St...
22.458333
93
0.687384
f8b1ca4094eeb112b60f1d973c6b3a182eb6e811
11,558
package com.oubowu.ipanda.ui; import android.arch.lifecycle.ViewModelProvider; import android.arch.lifecycle.ViewModelProviders; import android.content.Context; import android.databinding.DataBindingUtil; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.os.Bundle; import android....
37.163987
201
0.646219
4a48bf5666d4297bb2daa14d3abd9376c787f870
3,539
/** * The MIT License (MIT) * * Copyright (c) 2009-2015 FoundationDB, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
33.704762
82
0.684092
90858f608a22223479538ba9dc98c1e0f9462d59
2,884
package io.github.processthis.springserver.controller; import static org.hamcrest.Matchers.hasSize; import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.get; import static org.springframework.restdocs.mockmvc.RestDocumentationRequestBuilders.post; import static org.springframework.test.w...
41.797101
123
0.775312
b06d985ba4c26c1487d325d9e213ffa7e71c2700
2,615
package condensation.document; import java.util.Iterator; class Notifier implements Runnable { public final Document document; // State int count = 0; Notifier(Document document) { this.document = document; } @Override public void run() { new Run(); } class Run { final Item[] items; final int[] s...
20.429688
149
0.63327
89c22a2033d2b73b2a8ecf37008ace7b3094dbc4
711
package org.appsec.securityRAT.repository; import org.appsec.securityRAT.domain.TrainingCategoryNode; import org.appsec.securityRAT.domain.TrainingTreeNode; import org.springframework.data.jpa.repository.*; import org.springframework.data.repository.query.Param; import java.util.List; /** * Spring Data JPA reposito...
37.421053
137
0.835443
d95690ead1e4dcced3f246efd088928f47dffde1
22,892
package jhi.germinate.server.util.importer; import jhi.germinate.server.Database; import jhi.germinate.server.database.codegen.enums.AttributesDatatype; import jhi.germinate.server.database.codegen.tables.records.*; import jhi.germinate.server.database.pojo.*; import jhi.germinate.server.util.StringUtils; import org.d...
32.287729
179
0.659488
51704c099465e2569a6a66074b7b7e4fd4dd56f3
13,492
// Copyright (c) 2020, Steiner Pascal, Strässle Nikolai, Radinger Martin // All rights reserved. // Licensed under LICENSE, see LICENSE file package ch.mse.quiz; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.os.CountDownTimer; import android.os.Handler; import...
35.319372
215
0.603098
6691ae8ec6c5dff5f6457928e4bb04f1a6c696f7
3,133
/* Copyright (c) IBM Corporation 2016. All Rights Reserved. * Project name: Object Generator * This project is licensed under the Apache License 2.0, see LICENSE. */ package com.ibm.og.util.io; import static com.google.common.base.Preconditions.checkNotNull; import java.io.InputStream; import java.io.OutputStream...
31.646465
100
0.711778
9fcc4cfa2d5817ae0bd5f9df753014d1302d14e4
216
package net.mybluemix.asmilk.data; public enum WechatStatus { NEW, JSLOGINED, LOGINED, REDIRECTED, INITIALIZED, NOTIFIED, CHECKED, SYNCHRONIZED, READED, DO_DICT, DO_FOREX, FAILED; }
11.368421
35
0.671296
70e3cfc25cf38c8832853d1271f8e28fd41b9068
574
/* * Copyright (c) 2012. Adam Wells. */ package com.megaport.api.dto; public enum UsageAlgorithm { BYTES_TRANSFERRED, TIME_AT_RATE, RATE_PLAN, POST_PAID_FIXED, // post paid, but regardless of hours or speed - ports (not a product yet) POST_PAID_HOURLY, // new VXC pricing, mrc plus rate based charging POST_PAID...
28.7
92
0.785714
18737d3e833e77185d4fbae9b0fa7479d9eb463c
1,206
package org.code4everything.demo.algorithm.leetcode.contest.before; import org.code4everything.demo.algorithm.common.annotation.LeetCode; import org.code4everything.demo.algorithm.common.enums.Difficulty; /** * @author pantao * @since 2019-01-27 */ public class Contest984 { @LeetCode(id = 984, difficulty = Di...
29.414634
84
0.456053
97591ad190a9a408be0dd7df224d304222a6d469
383
package de.feli490.feliutils.search.query.expressions.logic.factories; import de.feli490.feliutils.search.query.expressions.Expression; import de.feli490.feliutils.search.query.expressions.ExpressionFactory; public abstract class AbstractLogicExpressionFactory implements ExpressionFactory<Expression> { @Override...
29.461538
95
0.798956
607dd98f87ef6d8b00a7895d03e01bf01be82c3c
1,473
package com.acn.submenu.popup.actions; import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import java.awt.datatransfer.StringSelection; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import ...
33.477273
113
0.765105
d8dc90b45957b510bfbac0e001da9f19627bcf0a
1,935
package cardgame.Cards.ImplementedCards; import cardgame.Cards.AbstractCardEffect; import cardgame.Cards.Card; import cardgame.Cards.Effect; import cardgame.Cards.Targettable; import cardgame.Game.Phases; import cardgame.Game.Player; import cardgame.Game.SkipPhase; import cardgame.Utils; /** * Created by Fabio on 29...
22.764706
122
0.58708
73be2d4efc20df261fd7063e294d4a1f540b50d0
402
package com.medusa.gruul.account.api.enums; import lombok.AllArgsConstructor; import lombok.Getter; /** * @author whh * @date 2019/12/03 */ @Getter @AllArgsConstructor public enum BlacklistEnum { /** * 禁用类型 */ REJECT_COMMENT(2, "限制评论"), REJECT_ORDER(1, "限制下单"); /** * 授权类型 */ ...
12.967742
43
0.584577
b1da2261ac01bcfa6048f142bc1b23f0d55686ed
2,096
package com.test.demo.controller; import com.google.gson.Gson; import com.test.demo.po.Business; import com.test.demo.po.Product; import com.test.demo.service.ProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web....
33.806452
85
0.692271
9a9cbefe17664db8f8b26cd3a2185585cfb41631
1,569
// https://practice.geeksforgeeks.org/problems/frequency-count/1/?track=Java-Collections-HashMap&batchId=318 //Initial Template for Java /*package whatever //do not write package name here */ import java.io.*; import java.util.*; class GFG { public static void main (String[] args) { //taking input using ...
23.772727
108
0.612492
647a0bdd4d1b200ad8709b48856a05cfc65ba846
3,234
package jenkins.plugins.git; import hudson.FilePath; import hudson.Functions; import hudson.model.Queue; import org.apache.commons.io.FileUtils; import org.jenkinsci.plugins.workflow.job.WorkflowJob; import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject; import org.junit.After; import org.junit....
35.152174
137
0.631107
0dfdf91da80d0c48c05f0d112a9a7d201e35fcaa
443
package lg.com.thirdlibstraining.activity_pic; import android.widget.BaseAdapter; import lg.com.thirdlibstraining.activity_cache.BaseCacheActivity; import lg.com.thirdlibstraining.adapter.NewsGlideAdapter; import lg.com.thirdlibstraining.adapter.NewsPicassoAdapter; public class GlideAty extends BaseCacheActivity { ...
29.533333
65
0.808126
ceab33f9c3a4d3023c99b2dbeed6379269928672
995
package com.github.willwbowen.customerservice.models; public class Salon { String salonId; String name; String contactName; String contactEmail; String contactPhone; public String getSalonId() { return salonId; } public void setSalonId(String salonId) { this.salonId = ...
19.9
54
0.638191
99d0141bcf779abdda5e159b61e1644e391f700c
908
package com.example.vmac.chatbotmaster; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.widget.ImageView; public class Stats extends AppCompatActivi...
25.942857
68
0.722467
7aaa5e153963c6f37f77f595d1f6ea513478b811
1,151
package org.md.api.auth.service; import javax.xml.bind.DatatypeConverter; import org.md.api.auth.model.Token; import org.md.api.auth.model.TokenDetails; import org.md.api.auth.model.exception.InvalidTokenException; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringBootCo...
32.885714
86
0.718506
83e14784b0bcab71d5fa0f78cb74bf0ad9a5b2a2
1,582
package play.learn.java.design.balking; import java.util.concurrent.TimeUnit; // https://java-design-patterns.com/patterns/balking/ // balk : hesitate or be unwilling to accept an idea or undertaking. public class WashingMachine { private final DelayProvider delayProvider; private WashingMachineState washingMachi...
29.296296
121
0.719343
dd434b6220b0e2aa788e10252d599b69aa823551
7,732
package zyh.ml.regression; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; import zyh.ml.data.IndexedS...
25.022654
102
0.700078
e017cd9511b42bc3d22e0ff9c19bc8450f51a528
4,158
package mage.abilities.keyword; import java.util.ArrayList; import java.util.List; import java.util.UUID; import mage.MageObject; import mage.ObjectColor; import mage.abilities.StaticAbility; import mage.cards.Card; import mage.constants.Zone; import mage.filter.Filter; import mage.filter.FilterCard; import mage.filt...
31.029851
122
0.659692
0cd4dde304d11e38da658c2720170d142c14ed83
7,566
package com.game.client; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.URL; import java.security.PublicKey; import java.util.Random; import javax.imageio.ImageIO; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.c...
25.304348
111
0.695348
1d96fd2fe263b72e7dcd837fd2830dd9a75078be
15,400
package experiments; import core.algo.vertical.*; import core.config.DataConfig; import db.schema.BenchmarkTables; import db.schema.entity.Table; import java.util.HashSet; import java.util.Set; import static core.algo.vertical.AbstractAlgorithm.Algo.*; /** * Class for running the algorithms on different tables for...
33.261339
158
0.653312
d5cb1619f7d0285ec066fa4d6e7a99064757f1d0
1,194
package ar.com.bbva.got.model; import java.util.Date; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import javax.xml.bind.annotation.XmlRootElement; import com.fasterxml.jackson...
27.767442
101
0.746231
b8ab1b5e223251c3933f58d02451290d7b9f4795
4,957
package com.amazonaws.wafv2.rulegroup; import com.amazonaws.wafv2.commons.CommonVariables; import com.amazonaws.wafv2.commons.CustomerAPIClientBuilder; import com.amazonaws.wafv2.commons.ExceptionTranslationWrapper; import lombok.RequiredArgsConstructor; import software.amazon.awssdk.services.wafv2.Wafv2Client; import...
47.209524
113
0.66633
2e9b8ff07e96ccb2ca54cade9dab0ea75594bb73
932
package SimulationTest.one.exam6; class MyClass7 { MyClass7() { System.out.println(101); } } class MySubClass extends MyClass7 { //Constructors cannot use final, abstract or static modifiers. As no-argument constructor of MySubClass uses final modifier, therefore it causes compilation error. ...
23.3
167
0.68133
ac666cf4cde5a946cfd71c0686171b8dc6f98d57
3,051
package com.example.wojciech.fibaro_hc2_control.fragments; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TableLayout; import android.widget.TableRow; i...
32.115789
85
0.615536
09512cdb441484eb00e7fbc9de006351fd09efce
1,343
package com.someguyssoftware.dungeonsengine.model; import java.util.List; import com.someguyssoftware.dungeonsengine.config.DungeonConfig; import com.someguyssoftware.dungeonsengine.style.Theme; /** * * @author Mark Gottschling on Sep 28, 2018 * */ public interface IDungeon { /** * @return the levels */ ...
14.287234
64
0.664185
3e184f9146b397229008efc068cdc3bf304d4197
1,529
/* * Copyright 2014 Alexey Andreev. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
27.303571
91
0.691956
d38bbc5fa575799710834459e5b435f8cb487109
1,493
package com.example.android.sunshine.sync; import com.google.android.gms.wearable.DataEvent; import com.google.android.gms.wearable.DataEventBuffer; import com.google.android.gms.wearable.DataItem; import com.google.android.gms.wearable.DataMap; import com.google.android.gms.wearable.DataMapItem; import com.google.and...
33.177778
94
0.574682
57aa4ec54d75f4f2c4a0453bb832daac62005dad
27,350
package com.example.valarmorghulis.firebaseauth; import android.app.AlertDialog; import android.app.ProgressDialog; import android.app.TimePickerDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.ann...
41.439394
243
0.594771
600458ab13320f28017ffc20aa1f7ff98f2fed6f
1,168
package com.panly.urm.manager.right.vo; import com.panly.urm.page.core.DataTablePageBase; public class OperLogParamsVo extends DataTablePageBase{ private String userName; private String url; /* 访问地址 */ private String operType; /* 和 menu 中模块对应 */ private String startCreateTime; private String endCreate...
21.62963
57
0.737158
d72dc8e544097274a44b882a26c22fb060c65990
731
/* * Copyright (c) 2018-2020, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com> * Distributed under the terms of the MIT License */ package com.github.tonivade.purefun.control; import com.github.tonivade.purefun.Function1; public abstract class Stateful<R, S, E> extends StateMarker implements Handler<R, E...
29.24
116
0.679891
702bf9ebf6cccfbc34d1835c829fa9c333fee030
28,069
package org.afplib.samples; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.Char...
32.524913
140
0.663437
9da6ff45475357744d479139663179595f670d96
4,408
import java.lang.Math; import java.util.Arrays; import java.util.List; import java.util.ArrayList; public class Queens { private static final int GRID_SIZE = 12; private static class BoardState { int size; int columns[]; public BoardState(int size, int columns[]) { this.size = size; this.columns =...
25.627907
137
0.614338
1a306791a7ae89db288e2f860dfd3bddb1f86af7
814
package poweraqua.core.plugin; public abstract class OntoDatabasePlugin implements OntologyPlugin { private String name; private String subType; private String serverURL; private String repositoryName; public void setUrlID(String url) { this.serverURL = url; } public String getUrlID() { ...
15.653846
54
0.675676
099ab3b45311aba6e3bea9aa2bc27a394d2334fc
778
package mekanism.common.capabilities.basic; import javax.annotation.Nonnull; import mekanism.api.IAlloyInteraction; import mekanism.api.tier.AlloyTier; import mekanism.common.capabilities.basic.DefaultStorageHelper.NullStorage; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.ItemStack; impor...
37.047619
120
0.811054
0c56045d3b5d3a99f08f56648ca73dc3e2339551
489
package io.github.juanmuscaria.blockheads; import io.github.juanmuscaria.blockheads.network.ENetServer; public class BHServer { private ENetServer eNetServer; protected volatile boolean isRunning = true; public BHServer(){ eNetServer = new ENetServer(null,15152); } public void runServerL...
21.26087
60
0.664622
47edc7de0a350bc814a4f663f57b2b9df744a04e
795
package leetcode.easy.string_all.morse_unqiue_code; import java.util.HashSet; /** * Created by qindongliang on 2018/12/9. */ public class UniqueMorseCode { String[] morseCodes = {".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",...
23.382353
188
0.466667
a610780e133fec7a4a411ffb6ef2207a966edcda
277
package com.baiyi.opscloud.mapper.opscloud; import com.baiyi.opscloud.domain.generator.opscloud.DatasourceInstanceAssetRelation; import tk.mybatis.mapper.common.Mapper; public interface DatasourceInstanceAssetRelationMapper extends Mapper<DatasourceInstanceAssetRelation> { }
39.571429
104
0.873646
e2f889b7af53630fb020ace609489446ec290869
1,461
package webtesting.helper; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class WindowHelper { private static WindowHelper windowHelper; private static WebDriver wdDriver; private WebElement ele...
24.762712
77
0.729637
089c5f157129409466c5b4c47bbca0dc5c2187d9
9,329
/* * 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 ...
44.850962
137
0.674456
227431c6f89846409054b7e6f2327dec2de1d19d
2,996
/* * Copyright 2019 NAVER Corp. * * 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...
39.421053
157
0.712951
630f18ad9e53804605ab4f5b3c322ce58846bbe7
176
package com.example.weatherapi; import org.springframework.data.repository.CrudRepository; public interface ImageRepository extends CrudRepository<ImageModel, Integer>{ }
29.333333
77
0.835227
d56c23bc0fda481a8a11efa7c9bfc07956b07b9f
14,770
/* * Copyright 2011 Stefan C. Mueller. * * 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 ag...
39.281915
80
0.633378
49c84c829e67a57057024263f5faca75ba89ef96
962
package cz.polankam.pcrf.trafficgenerator.scenario.actions.impl.call; import cz.polankam.pcrf.trafficgenerator.scenario.ScenarioContext; import cz.polankam.pcrf.trafficgenerator.scenario.actions.ScenarioAction; import cz.polankam.pcrf.trafficgenerator.scenario.actions.impl.factory.RxRequestsFactory; import cz.polankam...
40.083333
115
0.806653
4c01c1dda7890250c2d314911d0f11eb32b0e323
577
/* Programa: Subclasse de Clinete Objetivo: Adiciona os atributos "nome" e "cpf" Entrada: N/A Saída: N/A Autor: Artur Uhli Frohlich Data: 08/03/2022 */ package classes; public class ClientePF extends classes.Cliente { // Atributos private String nome; private String cpf; // Cpnstrutor public Cli...
19.896552
67
0.641248
3db27b64292c5029ac827ef29ba131b912800d12
5,494
/* * Copyright 2018 Paul Schaub. * * 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...
40.10219
120
0.682381
bce19c6384d9e1ae45ef23b9cb6553fbfa334b8c
2,170
package group144.goldov; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.Random; import java.util.stream.Collectors; import java.util.stream.Stream; public final class SecondPartTasks { private SecondPartTasks() {} // Найти строки из переданных файлов, в которых вс...
42.54902
124
0.682488
ea1e45f7dec8caf4c89398afa36703088a157dce
1,386
package org.springframework.samples.petclinic.web; import java.time.LocalDate; import org.springframework.samples.petclinic.model.Booking; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.Validator; @Component public class BookingVal...
30.130435
106
0.735209
7d7c63e4af7f18fc6edbf8172bac9acb09a0396c
3,612
// Agenda | Dynamic Programming // Climb Stairs With Variable Jumps // Min Cost In Maze Traversal import java.io.*; import java.util.*; public class Main { public static int solve(int[] a, int src, int dest) { if (src == dest) return 1; int count = 0; for (int jump = 1; jump ...
30.610169
80
0.396456
029cfbe16e28247c0507e79065f65480b26d195e
997
package com.example.demo.cache.route.aspect; import org.springframework.context.expression.MethodBasedEvaluationContext; import org.springframework.core.ParameterNameDiscoverer; import org.springframework.expression.EvaluationException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Lis...
31.15625
113
0.74323
fb8f274c517581e7500d5a4d473bf262a7798df8
1,882
/* * Copyright 2002-2007 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 require...
30.354839
81
0.700319
7fb02738d4357b88f69ecc202f13a4d6b26fc5c6
5,332
package block_party.client.skybox; import block_party.BlockParty; import block_party.client.ShrineLocation; import block_party.custom.CustomParticles; import block_party.custom.CustomTags; import block_party.db.BlockPartyDB; import com.mojang.blaze3d.platform.GlStateManager; import com.mojang.blaze3d.systems.RenderSys...
44.066116
205
0.634846
18afe0f86e6379155fe808881bbbe2ae21b8fd62
8,559
/* * 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 ...
40.372642
263
0.650426
1c394531d4a4ef0b34caeadb5796b73c9a7976d8
4,445
//package uk.ac.ebi.atlas.experimentimport.admin; // //import com.google.common.base.Joiner; //import com.google.common.collect.ImmutableList; //import com.google.gson.Gson; //import com.google.gson.JsonArray; //import com.google.gson.JsonObject; //import org.junit.After; //import org.junit.Ignore; //import org.junit.T...
35.56
115
0.628346