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
04607a73e5999774646e3819fdd143524803241f
267
package xdean.deannotation.checker.checkType; import java.util.List; import xdean.deannotation.checker.CheckType; import xdean.deannotation.checker.CheckType.Type; @CheckType(value = { List.class, int[].class }, type = Type.EQUAL) public @interface BadDefine2 { }
24.272727
66
0.782772
f643145a6744991e500047f7dd8c4bd565b7b148
55
package com.company.cdac.cop1; public class Hello { }
11
30
0.745455
b693b346c6d6174081d7c27297c4ab99accb812e
1,081
/* ProgressingGame.java Copyright 2021 @CedN 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 writin...
24.568182
72
0.748381
e4f2c689709a4677033699097408a1f343b1568b
3,685
/* *@file ClassifyAdapter.java * * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ package com....
30.454545
112
0.628765
1adceeb34d9cb4b0fbb0370ebf3446279025ee84
2,564
package org.museautomation.core.tests; import org.junit.jupiter.api.*; import org.museautomation.core.*; import org.museautomation.core.project.*; import org.museautomation.core.resource.*; import org.museautomation.core.resource.storage.*; import org.museautomation.core.tests.mocks.*; import org.museautomation.core.v...
35.611111
148
0.75351
2221dd2ea852f0521bf1702aa0de37ca957343f4
6,039
/** * Copyright (c) André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ package com.github.anba.es6draft.runtime.objects.intl; import static com.github.anba.es6draft.runtime.AbstractOperations.CreateDataProperty; import static ...
40.26
118
0.653751
2bee31348d3958f7b40e5cd18e20cd93a7a9d34b
12,503
package inseadTesting; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebDriverWait; import org.test...
44.180212
185
0.700472
37d8a4597572a04d7a5e067d526b928460ae3ec4
1,064
package com.github.epiicthundercat.tameablemobs; /* * * Thanks to @TheRealP455w0rd for his help on taming code! * */ import com.github.epiicthundercat.tameablemobs.proxy.CommonProxy; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml....
26.6
86
0.798872
3e85c818c03d87b2e02563d06d4be27f81471203
212
package com.zyw.myleesite.database.mapper; import com.zyw.myleesite.database.pojo.IimMailBox; import com.zyw.myleesite.database.utils.MyMapper; public interface IimMailBoxMapper extends MyMapper<IimMailBox> { }
30.285714
64
0.834906
968a593ca2bc925b9a37420e26a1aee10de03835
2,220
package com.onevgo.bitwise; public class Tips { public static void main(String[] args) { // 1. 获取int型最大值 System.out.println((1 << 31) - 1); // 2147483647 System.out.println(~(1 << 31)); // 2. 获取int型最小值 System.out.println(1 << 31); // -2147483648 System.out.println(1...
25.227273
61
0.462162
b8d841a42e38d24b72702dbd16c9b8121f91331d
1,839
package jetbrains.mps.editorTest; /*Generated by MPS */ import jetbrains.mps.MPSLaunch; import jetbrains.mps.lang.test.runtime.BaseTransformationTest; import org.junit.ClassRule; import jetbrains.mps.lang.test.runtime.TestParametersCache; import org.junit.Test; import jetbrains.mps.lang.test.runtime.BaseEditorTestBod...
37.530612
219
0.777053
222ca72183101b58cb83898b9ef302d24dc8258d
3,003
package com.clawsoftware.agentsimulator.agents; /** * This class provides the functionality to access the classifier set, to move * the agents and to calculate the reward * * @author Clemens Lode, clemens at lode.de, University Karlsruhe (TH) */ import com.clawsoftware.agentsimulator.agent.Configuration; import ...
34.125
91
0.666667
c9f618ee11ee22d81870cabfaca6d54cabbf664c
4,356
/* * * Copyright 2020 github.com/ReflxctionDev * * 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 la...
39.6
169
0.667355
e95688a441caaeb7fc70716a3b1bff9f303705d2
259
package coffeShop; public class Cashier { int createOrder() { // Creates a new order, returns its ID new CafeOrder(1); return 1; } Cashier() { System.out.println("I'm a cashier working at JavaCafe."); } }
17.266667
65
0.563707
6be23578a960c1eb3ae1846fb11f14b62dafd7d5
14,090
/* * 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 eticket; import javax.swing.JOptionPane; /** * * @author Jonis */ public class cadMercadorias extends javax.swing.JFrame...
51.99262
195
0.652165
70545ed6942345e91f204399fe41865f4314cff9
7,901
package seedu.address.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_GROUP; import static seedu.address.logic.parser.CliSyntax.PREFIX_ID; import static seedu.address.logic.parser.CliSyntax.PREFIX_NAME; import java.util.ArrayList; import java.u...
34.960177
114
0.650044
3c6c950d475871b825f5e7120e2724e892953795
412
package org.samarthya.collect.android.utilities; import android.content.Context; import static org.samarthya.collect.strings.LocalizedApplicationKt.getLocalizedString; public class TranslationHandler { private TranslationHandler() { } public static String getString(Context context, int stringId, Object...
25.75
89
0.771845
fb8cd6add53ca698755d50fe99647cc9173107be
309
package abstractC; abstract class Bike { abstract void run(); } class Honda extends Bike { void run() { System.out.println("running safely..."); } } public class AbstractTest1 { public static void main(String[] args) { Bike obj = new Honda(); obj.run(); } }
11.884615
43
0.582524
c7cfadbe7de36cab4cbd1a81fc2cdaebcadffc0c
678
package zwf.mymall.product.fegin; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import zwf.mymall.common.to.SkuReductionTo; import zwf.mymall.common.to.SpuBoundsTo; import zwf.mymall.common...
30.818182
68
0.792035
624251db4124f99614061fecc93ad13a5d27b739
3,496
package kata.banking.domain; import kata.banking.service.TimeProvider; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.ArgumentCaptor; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import java.time.LocalDate; i...
33.941748
103
0.708238
8a07437b94750e448fb0b647a560497bcd85a743
311
package com.precognox.publishertracker.beans; import lombok.Data; import org.hibernate.validator.constraints.NotBlank; @Data public class CreateAccountRequest { private String email; private String password; @NotBlank(message = "Role must not be empty") private String role; }
18.294118
52
0.726688
a7c4a99d2abecc006aad8fb03c322960d4e04698
2,002
package pt.ulisboa.tecnico.socialsoftware.events.config; import com.google.common.eventbus.EventBus; import com.google.common.eventbus.Subscribe; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.config.BeanPostProce...
42.595745
158
0.692807
c22ee930cf7dfdfc9e5d1636bbf698ca34ba6107
2,773
/* Copyright 2014-2016 Intel 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 agreed to in writing, s...
20.094203
72
0.554995
8e3c5305f6be2f1ef9ad5844dd6343dea24d08ee
1,597
package at.ac.uibk.igwee.lucene.api.searching; import com.fasterxml.jackson.annotation.JsonAutoDetect; import java.util.Arrays; import java.util.List; /** * Models a field to be shown in the search result * @author Joseph * */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibili...
20.474359
73
0.678773
a8dcfc56e98af63cf63c90762d23cc0eb752ccc5
372
package com.feetao.web.wx.vo; public class Voice { private String mediaId; public String getMediaId() { return mediaId; } public void setMediaId(String mediaId) { this.mediaId = mediaId; } public void toXML(StringBuilder sb) { sb.append("<Voice>"); sb.append("<MediaId><![CDATA[").append(mediaId).app...
17.714286
74
0.663978
f141fd989f39ab749aa97c1e0e9323030cd33b3e
698
package lk1905.gielinorcraft.init; import lk1905.gielinorcraft.Gielinorcraft; import lk1905.gielinorcraft.item.crafting.AlloyRecipe; import net.minecraft.world.item.crafting.RecipeSerializer; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecra...
41.058824
161
0.840974
5420679a9b2a724f67563edc76b1d5e5a921434c
11,202
package com.gisquest.webgis.modules.sys.web.controller; import java.io.File; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
43.418605
100
0.506874
0107e7a8b7445b7c4e0ee2d91fdb2a2a61f4def8
12,814
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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...
14.413948
811
0.807008
296e1a8c116b1c7db453140b93e5f971862b2cdc
5,091
package com.eldereach.eldereach.main; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import com.eldereac...
43.144068
157
0.549204
09f79a7ad5dacbdac5230905287d7e6f087f3e37
4,520
//package ghost.framework.module.module.bak; // //import ghost.framework.beans.annotation.module.annotation.ModuleConfigurationProperties; //import ghost.framework.context.app.IApplication; //import ghost.framework.module.context.IModuleEnv; //import ghost.framework.core.module.environment.IModuleEnvironment; //import ...
34.503817
131
0.495354
0f9f0c439484f71a1d4abcacac52d58a28d2bd65
563
package it.unibo.radarSystem22.sprint1.usecases; import it.unibo.radarSystem22.domain.utils.ColorsOut; import it.unibo.radarSystem22.sprint1.RadarSystemConfig; import it.unibo.radarSystem22.domain.interfaces.*; public class LedAlarmUsecase { public static void doUseCase(ILed led, IDistance d) { try { //Color...
31.277778
82
0.719361
a6d02d363faf0215302c323792042508fc04df22
854
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.management.counter.perf; import sun.management.counter.*; /** * A snapshot of the perf counter...
15.527273
73
0.614754
718cf55a503f8110ea34579499e355c903ccafa2
1,145
package com.ilad.pageobjecttopq; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.ui.Select; public class NewTaskModule extends AbstractPageObject{ @FindBy(xpath="//form[@id='newTaskForm']//following::span/in...
29.358974
85
0.801747
d398f3d068e0c62b5b82362a85a752228a236682
1,821
package com.jlkj.project.ws.intelligence.controller; import com.jlkj.framework.web.controller.BaseController; import com.jlkj.framework.web.domain.AjaxResult; import com.jlkj.framework.web.page.TableDataInfo; import com.jlkj.project.ws.intelligence.domain.WsBlackBox; import com.jlkj.project.ws.intelligence.service.IWs...
30.35
133
0.75508
e574fefee772888f6d306d9711ee907c3eadcfa1
3,379
// MIT License // // Copyright (c) 2019 fren_gor // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use,...
26.606299
130
0.663806
aa828f37ab18537131991b3420f89e5601e25dba
1,606
package org.youngmonkeys.freetank.app.controller; import com.tvd12.ezyfox.bean.annotation.EzyAutoBind; import com.tvd12.ezyfox.bean.annotation.EzySingleton; import com.tvd12.ezyfox.core.annotation.EzyEventHandler; import com.tvd12.ezyfoxserver.context.EzyAppContext; import com.tvd12.ezyfoxserver.controller.EzyAbstract...
30.884615
73
0.800747
7f946b012c7851de93ce09b7284fae0016ea0b4e
1,076
/*- * #%L * jasmine-maven-plugin * %% * Copyright (C) 2010 - 2017 Justin Searls * %% * 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...
30.742857
119
0.702602
7f3c247f775961a6c657417305e21713f5707f77
2,611
package com.spring5.projects.springrecipeproject.controllers; import com.spring5.projects.springrecipeproject.commands.RecipeCommand; import com.spring5.projects.springrecipeproject.services.ImageService; import com.spring5.projects.springrecipeproject.services.RecipeService; import org.apache.tomcat.util.http.fileupl...
42.112903
92
0.735733
611ccc46d128739cdf7670d8d79a7cc55cecbdf8
7,088
/* * ***** BEGIN LICENSE BLOCK ***** * * Zimbra Collaboration Suite Server * Copyright (C) 2015, 2016 Synacor, Inc. * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software Foundation, * version 2 of the Lic...
38.73224
136
0.696953
2032f2e7f6a21482ba931b1ad6daa9ae99d66beb
2,997
/* * Copyright (c) 2019-2020 VMware, Inc. * SPDX-License-Identifier: BSD-2-Clause */ package com.rad2.sb.instrumentation; import akka.actor.AbstractActor; import akka.actor.DeadLetter; import kamon.Kamon; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lan...
30.896907
88
0.688689
cd3baa99363f3c62a86b54a36c3d34ca8a5cbe71
4,092
package com.erhu1999.shopordertest.version001; import com.erhu1999.shopordertest.common.AbstractTest; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import java.io.File; import java.util.Map; import static com.erhu1999.shopordertest.comm...
40.117647
125
0.634653
1eda191e3c93dd07e88241d6a87899b33147e32d
2,828
package co.edu.utp.misiontic2022.c2; public class Nota { //1) Atributos (antes variables que estaban sueltas) private int escala100; private double escala5; //private double atributoPruebaFirma;//Análisis de choque de firmas private String cualitativa; private String nombre;//Evaluación, tall...
24.17094
79
0.583451
5b4fc7da35dae301cf5a0696fb853c5c5b5f8159
9,312
package com.oncecloud.message; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.List; import javax.annotation.Resource; import org.codehaus.jackson.JsonParseException; import org.codehaus.jackson.map.JsonMapping...
28.390244
98
0.665378
95d8c5e4798e43b2faf5f047677967a9185b11a8
684
// you can also use imports, for example: import java.util.*; class Solution { public int solution(int[] H) { int blocks = 1; Stack<Integer> st = new Stack<Integer>(); st.push(H[0]); for(int i = 1; i < H.length; i++) { if(H[i] == st.peek()) continue; ...
22.064516
54
0.385965
7a87ccbbf04c35afe85fc26881ebf5b64b0000f5
4,105
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/cvss.proto package io.grafeas.v1; public final class Cvss { private Cvss() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( ...
51.3125
239
0.725213
67955b845bfe3d302c116645d39e7de6193bd274
1,483
package com.zbiljic.switchz; /** * Radix tree utility functions. */ public final class TreeNodeUtil { private TreeNodeUtil() { /* No instance methods */ } static short countParams(final String path) { if (path == null) { throw new NullPointerException(); } int n = 0; for (char c : path.to...
26.017544
79
0.582603
8eaa57acb4495bff803e57dede6b7f2f82ea396f
459
package io.renren.modules.product.service; import com.baomidou.mybatisplus.service.IService; import io.renren.common.utils.PageUtils; import io.renren.modules.product.entity.ProductLeaveStorageEntity; import java.util.Map; /** * * * @author wsy * @email 389091912@qq.com * @date 2019-01-25 23:35:04 */ public i...
21.857143
89
0.77342
b096f30217ec70922b15719fb08825bb7d062c1a
2,063
package com.wixpress.petri.experiments.domain; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author: talyag * @since: 6/3/14 */ public class ScopeDefinition { private final String name; private final boolean onlyForLoggedInUsers; /**...
29.056338
135
0.64033
4d316027c83d06f549ccbc961a480eed75901d3e
991
package ru.kvisaz.wotolenemer.dagger; import javax.inject.Singleton; import dagger.Component; import ru.kvisaz.wotolenemer.MainActivity; import ru.kvisaz.wotolenemer.db.DatabaseWorker; import ru.kvisaz.wotolenemer.view.DetailBoxView; import ru.kvisaz.wotolenemer.view.InputView; import ru.kvisaz.wotolenemer.view.Outpu...
38.115385
77
0.826438
210c3e86053606388d6a503fadd562c9b43a3920
678
package de.andrew.demoZITF.myDataModels; /** * Created by Andrew on 4/11/16. */ public class PlaceServices { private String serviceName; private double servicePrice; public PlaceServices(){ } public PlaceServices(String name, double price){ serviceName =name; servicePrice =price...
21.1875
54
0.659292
0065dbe9308de1d3da6fd10bc7e131aebb92277e
409
package com.oracle.cloud.caching.example; import com.google.gson.Gson; import spark.ResponseTransformer; public class JsonUtil { public static String toJson(Object object) { return new Gson().toJson(object); } public static <T> T fromJson(String json, Class<T> classOfT) { return new Gson().fromJson(json, cl...
20.45
64
0.738386
022ea420de9bb65721bbdcbb57f56c1dedec204a
1,184
package be.ugent.vopro1.scheduling.comparators; import be.ugent.vopro1.model.Task; import be.ugent.vopro1.scheduling.FirstFitScheduler; import java.util.Comparator; /** * A comparator for Tasks, sorts them on highest priority first and on * highest workload first if the priorities are equal. * This allows them to...
32
105
0.682432
026d26c59f836a128aa065caf965915206fc0666
3,721
/* * Copyright 2008-2009 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...
43.267442
126
0.628863
106ad69ba65ce7772e654d40e57e258311c1470e
597
package com.mxt.anitrend.model.entity.container.attribute; import java.util.List; import java.util.Map; public class GraphError { private String message; private int status; private List<Map<String, Integer>> locations; public String getMessage() { return message; } public int getSt...
20.586207
96
0.626466
0af4e369a275501a5a7abc11d8ad408dc5e3119b
364
package com.itgorillaz.lnk2pwn.view.utils; import java.awt.Color; public class ColorUtils { public static Color hex2Rgb(String hex) { return new Color( Integer.valueOf( hex.substring( 1, 3 ), 16 ), Integer.valueOf( hex.substring( 3, 5 ), 16 ), Integer.value...
24.266667
63
0.582418
4c21ffb2175b2b9a00ac857aa84d35b571949325
1,964
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
40.081633
139
0.727088
ac95668f742e9cd45124c6311af019adfb41f4f2
3,694
package com.winteree.core.filter; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.winteree.core.service.AccountService; import com.winteree.core.service.TenantService; import net.renfei.sdk.utils.StringUtils; import org.springframework.beans.f...
44.506024
134
0.727125
f1061433dcc0ba096cc4447c5518a85d7cf322f0
2,928
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
33.655172
115
0.765369
369d618323debb4ef3719423e4b826fd66a1ea33
6,527
package com.quinn.hunter.plugin.debug.bytecode; import com.android.build.gradle.internal.LoggerWrapper; import com.quinn.hunter.plugin.debug.Constants; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.commons.LocalVariablesSorter; impor...
42.940789
127
0.61192
6c1a4abe9477e82c979115640640f9cb98ea4a54
110
package org.grafana.api.templates.Dashboard; /** * * @author jh */ public class TimeTpl { }
9.166667
45
0.581818
e39e00808dcfc46f0803cc1ffae5e31b67a182e5
363
package com.marchnetworks.device_ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "" ) @XmlRootElement( name = "GetCo...
25.928571
49
0.804408
b972e7a622cc2e5a10de62ce44f4e5d26b623639
1,039
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.comscore.analytics; // Referenced classes of package com.comscore.analytics: // Core class ah implements Runnable { ah(Core core, Strin...
23.088889
63
0.516843
5bf5ec0ce690a19100d404ba52613c640be0abb2
746
import java.util.Scanner; public class problem { public static int birthdayCakeCandles(int n,int candles[]) { int max=-101,count=0; for(int i=0;i<n;i++) { if(max<candles[i]) max=candles[i]; } for(int i=0;i<n;i++) { ...
20.162162
62
0.44504
e7eca0ddf5020ce4b74c5bf1386d94ba7a793832
614
package com.boyarsky.apiservice.service; import com.boyarsky.apiservice.dto.measurement.MeasurementDto; import com.boyarsky.apiservice.entity.measurement.MeasurementType; import com.boyarsky.apiservice.entity.user.User; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.List; import java.uti...
32.315789
112
0.814332
f2faa54e8c62101803f8ac85be8f779f7506c666
1,661
package com.tom.defense.tileentity.inventory; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import com.tom.api.tileentity.IConfigurable.IConfigura...
34.604167
99
0.79711
6886f8e0606381de97d9c1440efaff52978d8b66
2,509
package io.github.marcelbraghetto.jokemachine; import android.os.Bundle; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.InterstitialAd; /** * Created by Marcel Braghetto on 19/01/16. * * The free version of the home activity includes th...
34.847222
99
0.676764
16db4fd463a580f347c08d593386da5698cb076e
329
package softuni.aggregator.config; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; import java.util.TimeZone; @Configuration public class TimeZoneConfig { @PostConstruct private void setTimeZone() { TimeZone.setDefault(TimeZone.getTimeZone("UTC"));...
20.5625
60
0.768997
b03398ae62e53fb8c9758117b3b429f809bac2e6
2,948
/* * Copyright (C) 2009-2016 Lightbend Inc. <https://www.lightbend.com> */ package play.test; import akka.actor.ActorSystem; import akka.actor.Terminated; import akka.stream.ActorMaterializer; import akka.stream.ActorMaterializerSettings; import java.io.IOException; import org.asynchttpclient.AsyncHttpClientConfig...
37.316456
113
0.639417
a397f7add4d7a736aa00a6deab124e7ff6a7cf32
1,572
/* * Copyright (c) 2013-2015 Josef Hardi <josef.hardi@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
29.660377
81
0.707379
78f5c86d6f7713c661d254238958b8422deea1f8
603
package com.kshitijpatil.tazabazar.apiv2.dto; import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.annotation.JsonNaming; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.math.BigDecimal; import java.time.Instant; @Dat...
26.217391
63
0.824212
9b851a387d16035403031a26ffb4a059ae5b8af1
610
package io.tarek360.gcforum.ui.speakers.repository; import io.tarek360.gcforum.domain.model.Speaker; import java.util.List; /** * Created by tarek on 4/9/16. */ public interface SpeakersRepository { /** * invoke this method to load products from the implemented repository. * * @return false if the repos...
22.592593
93
0.734426
6224905eb06bd44addc3a268227faa5c9b070d62
10,288
/* * 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 ...
28.41989
103
0.494848
48a5f61482e07fd7a05fe9d79aee1960047a861c
515
package com.zoctan.api.service; import com.zoctan.api.core.service.Service; import com.zoctan.api.entity.ExecuteplanParams; import tk.mybatis.mapper.entity.Condition; import java.util.List; import java.util.Map; /** * @author SeasonFan * @date 2021/12/19 */ public interface ExecuteplanParamsService extends Service<E...
23.409091
82
0.790291
047e65e5e4f12793310eb551a8e8e6d0c4879eff
388
public class class337 { static final int[] field4046 = new int[2048]; static final int[] field4047 = new int[2048]; static { double d_0 = 0.0030679615757712823D; for (int i_2 = 0; i_2 < 2048; i_2++) { field4046[i_2] = (int)(65536.0D * Math.sin((double)i_2 * d_0)); field4047[i_2...
22.823529
72
0.574742
bcb443b4f0c13558b5878613c8f1e93d12cb430b
11,138
/* * 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 ...
39.35689
193
0.589424
a9ee8cac5549f9f5e9dbb93b06531f602b4b8020
67
package org.myrobotlab.sensor; public interface Encoder { }
11.166667
31
0.716418
19049875a8e14bef7398af66d9b95b8570858575
1,610
package com.expidevapps.android.measurements.support.v4.content; import static com.expidevapps.android.measurements.Constants.EXTRA_CHURCH_IDS; import android.content.Context; import android.support.annotation.NonNull; import com.expidevapps.android.measurements.db.GmaDao; import com.expidevapps.android.measurements...
35.777778
101
0.757143
230db14ce9f301a68cede6a9670da585c4fe8368
697
package org.bschlangaul.db.normalisation; import static org.junit.Assert.assertEquals; import java.util.Set; import org.junit.Test; public class AbhaengigkeitTest { @Test public void staticMethodeExtractAttributs() { Set<Abhaengigkeit> fds = Abhaengigkeit.getSet("a -> b; b -> c; a, b -> c; c, b-> a;"); ...
27.88
90
0.695839
98feb61ae6ccb9ce69fe5748bcba3dd44646e215
3,931
package com.sanctionco.thunder.dao.dynamodb; import com.sanctionco.thunder.TestResources; import com.sanctionco.thunder.dao.UsersDaoFactory; import java.util.concurrent.CompletableFuture; import org.junit.jupiter.api.Test; import software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient; import software.amazon.a...
36.398148
96
0.783261
2cf2ecfd48d9e7407f64a1f945e270a77bf1e317
17,795
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
51.135057
198
0.732172
296193bd540d357883fbd09e5a3a12f5f6b392ea
2,296
package com.sixdee.wfm.filters; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.couchbase.CouchbaseProperties.Env; /** * @author Arjun Kumbakkara[2019@sixdee|WFM|v1.0.0] */ import org.springframework.boot.context.properties.ConfigurationProperties; import or...
44.153846
156
0.789634
3b733aee4aeeb5be5ff9e869d071f6b591b3789b
2,011
package factorio.window; import java.awt.BasicStroke; import java.awt.Color; import java.awt.FontMetrics; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.font.GlyphVector; import javax.swing.Icon; import javax.swing.JLabel; /*...
25.455696
122
0.701641
d9248bf48d1ff345a49b35d6455281d3295a4b06
5,077
/* * Copyright ConsenSys Software Inc., 2022 * * 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...
34.073826
118
0.699232
f40d86b31268e96f5a63d917a92bade720c3941b
2,104
package restAPI; import java.util.List; import javax.ejb.EJB; import javax.ejb.Stateless; import javax.ws.rs.Consumes; import javax.ws.rs.FormParam; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import beans.UserManagmentLoca...
26.632911
101
0.729563
42a449508360301ca3fa5aeea7ab4a0028080742
748
package at.mount.matize.jsf; import javax.faces.context.FacesContext; import javax.faces.event.PhaseEvent; import javax.faces.event.PhaseId; import javax.faces.event.PhaseListener; public class PostInvokeActionListener implements PhaseListener { private static final long serialVersionUID = -374093987063079687L; ...
26.714286
107
0.737968
a4960f78183c64df1e481b1e2b477ba75d47f9a9
42,476
/* * 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 winexpert; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import ja...
42.603811
221
0.476622
c7269a47eec1fb4a88b7f409bccbd9b1ee143ed4
5,739
/* * Copyright 2000-2009 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...
37.756579
147
0.741244
80dfaeb3637adb1481948839fba96b249441223c
836
package com.biopark.serveracad.rest; import com.biopark.serveracad.dao.AlunoDao; import com.biopark.serveracad.model.Aluno; import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.r...
20.9
52
0.703349
467ea7d2cd2706ae438e1db19faa6a054fd4914d
4,044
/********************************************************************* * Copyright (c) 2017, Institute of Cancer Research * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * (1) Redistri...
38.150943
78
0.715628
10c6f0093a730c625e1677881275350eb0a2ab55
2,138
package pokecube.core.client.gui.watch; import java.io.IOException; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.resources.I18n; import pokecube.core.client.gui.watch.progress.GlobalProgress; import pokecube.core.client.gui.watch.progress.PerMobProgress; import pokecube.core.client.g...
32.892308
116
0.617867
5ee8fbc6a3763a0c3d1995d1af30d92854c30ca1
12,723
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.cyzapps.mathrecog; import com.cyzapps.mathrecog.UnitPrototypeMgr.UnitProtoType; import java.io.InputStream; import java.util.LinkedList; import org.w3c.dom.*; import javax.xml.parsers.DocumentBuilder; import...
53.457983
146
0.528256
e539dbae5244347b6061eb133eb43356c465511f
3,139
package de.metas.dunning.api.impl; /* * #%L * de.metas.dunning * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * Licen...
23.601504
193
0.729532
b141a83751a87f5065c448d96ba03e6c079cbe72
260
package com.baking.account_cmd.api.command; import com.banking.cqrs_core.commands.BaseCommand; import lombok.Data; @Data public class CloseAccountCommand extends BaseCommand { public CloseAccountCommand(String id) { super(id); } }
21.666667
55
0.726923
08f060e77bc76cee062f07b31b507290d9e52c00
130
public class Person extends Taxpayer { public double accept(FlexyIRS irs) { return irs.visitPerson(this); } }
21.666667
40
0.653846
2f342a3163a176048c4700c8ef88013b4890a904
1,727
package uk.ac.cam.cl.mlrd.utils; import java.nio.file.Path; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; public class...
35.979167
74
0.706427
4d80ce99ec59a724402c9364634d083f96480804
1,543
package com.example.demo.Entity; import java.util.Date; /** * Created by senasanioglu on 4/18/18. */ public class EventDetail { private int eventId; private Date timeStampofBet; private String team1; private String team2; private double rate; private int resultType; public EventDetail(...
20.038961
115
0.615036
14d052027825bb2715811a8bfcd45f0ad5c88d97
8,772
package gin; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import gin.edit.Edit; import gin.test.InternalTestRunner; import gin.test.UnitTestResul...
35.370968
117
0.619015
095241660ca5620deb8de3894f6cdf07dd6a708a
2,727
/* * 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.855422
86
0.726439
f8f786db35cde11b4604a8b8b3793916327ea642
222
package ru.job4j.homeworks.regex; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Tester { public static void main(String[] args) { System.out.println("OK!"); } }
18.5
45
0.653153
6ce89f2692f4ca691e3a9ce00923f7369709d029
1,460
import org.checkerframework.checker.i18n.qual.Localized; public class LocalizedMessage { @Localized String localize(String s) { throw new RuntimeException(); } void localized(@Localized String s) {} void any(String s) {} void stringLiteral() { // :: error: (argument.type.incompatible) localize...
24.333333
95
0.610959