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
227ae732fcc5be4a6336b00bac30a136d0f8333f
1,077
package com.company.Kursy_YauheniEkuntsevich.Lesson5_Methods.Zadaniya; public class method_12 { public static void main(String[] args) { int meth_1 = meth_1(); int meth_2 = meth_2(); int meth_3 = meth_3(); int meth_4 = meth_4(); int meth_5 = meth_5(); int meth_6 = me...
21.979592
70
0.545961
aab34ebf5e2a32bc84ffbb348beb77d8cfab6930
6,111
package org.jbei.ice.lib.models; import java.util.Set; import javax.persistence.*; import javax.xml.bind.annotation.XmlTransient; import org.jbei.ice.lib.dao.IDataModel; import org.jbei.ice.lib.dto.entry.SequenceInfo; import org.jbei.ice.lib.entry.model.Entry; import org.jbei.ice.lib.entry.model.EntryBooleanPropertie...
27.777273
119
0.661921
b0cf91576ce181e70d9889af6944f023f31740e4
9,433
package quests; import l2f.gameserver.model.instances.NpcInstance; import l2f.gameserver.model.quest.Quest; import l2f.gameserver.model.quest.QuestState; import l2f.gameserver.scripts.ScriptFile; public class _404_PathToWizard extends Quest implements ScriptFile { //npc public final int PARINA = 30391; public fina...
32.527586
204
0.700095
ba3fd13ba3e8ffbf0d261da672e85164e94241aa
17,678
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/* * 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....
14.007924
602
0.80818
f2e4041afabfc537e34a9bd9f7b0ddfcd2a0a1fa
1,655
package iiit.speech.dialog; import iiit.speech.domain.HealthDomain; import iiit.speech.itra.VaidyaActivity; import iiit.speech.nlu.NLU; /** * Created by danda on 7/13/16. */ public class DiseaseEnquiry extends DialogState { private VaidyaActivity app; private NLU nlu; public DiseaseEnquiry(VaidyaActiv...
29.553571
99
0.583686
c4504f6b36cfc81608913c5b0787925e3db3fe02
5,924
//@@author A0147984L package seedu.address.model.task; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import seedu...
44.541353
110
0.680115
417de7886774ef270814b21cfddc5a9845b7832a
4,404
/* * 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 ...
38.631579
103
0.659855
048780b2c7eaa0f6630b1ecdd5b9b8d2ce78df32
1,128
package edyene; public class Pessoa { String nome, sexo; int idade, altura, peso; public Pessoa(String nome, int idade, String sexo, int altura, int peso) { this.nome = nome; this.idade = idade; this.sexo = sexo; this.altura = altura; this.peso = peso; } public String getNome() { return nome; } p...
16.347826
113
0.611702
683218f46fbf1a08f3a83991df303ab7a20d28d2
2,532
/* * Copyright (C) 2009-2012 Felix Bechstein * * This file is part of WebSMS. * * 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 3 of the License, or (at your option) any ...
24.823529
80
0.647314
bfeba0e2f1fae4cf2276f086a23c08a3c9617911
5,523
class b { } class SzJeAOImIGFLp { public void[] bt () { return null[ !true.QkPOTId3K_0PB()]; if ( -P0X()[ !--null.j]) return; KV0gFB6 hiizA5P; !!x6ZI2Ojs5()[ -!new os2mKfqfSXA()[ !-!new void[ uQeTLNoOc()[ !5878.wZnwhF0TLjZLJ]][ new boolean[ 968123.dseI3pGxdQMDs].E9ifFP]]]; ...
36.82
179
0.47782
e1617ca45e3e2188984c974560ba3eeec4fda83e
7,896
/* * Copyright (C) 2017-2018 Dremio 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 l...
40.911917
159
0.715552
371da692e3942d840aa68d315c7fca65545f9611
577
package xyz.zelamkin.MFAN.pojo; public class Storage { private Integer id; private Integer product_id; private Integer product_count; public Integer getProduct_id() { return product_id; } public void setProduct_id(Integer product_id) { this.product_id = product_id; } public Integer getProd...
16.970588
54
0.691508
ed3ca2427b73ed8add42974b05b281bc13890739
807
package de.slackspace.smartnightstand.behavior; import java.awt.Color; import de.slackspace.smartnightstand.device.api.LedStrip; public abstract class AbstractLedBehavior { protected LedStrip ledStrip; protected short red; protected short green; protected short blue; public AbstractLedBehavior...
26.9
99
0.710037
55a779136efe804955e2c4dca4370266971c0d14
2,010
package com.toutiao.day; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; /** * 组合括号 * 中等 * 字节跳动算法题 */ public class 冲刺算法面试每日一题5_3字节跳动括号生成 { public static void main(String[] args) { System.out.println(generateParenthesisOne(3)); // System.out.println(generateParen...
23.928571
94
0.497015
8fd99552b8390d8e4ab35aa3ad51d2d7b5a3d541
1,013
package cgeo.geocaching.settings; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.gcvote.GCVote; import org.apache.commons.lang3.tuple.ImmutablePair; import org.eclipse.jdt.annotation.NonNull; import rx.Observable; import android.content.Context; import android.graphics.drawable.Drawable; imp...
28.138889
114
0.762093
524ceeec1e3372ba8a53955eced833af76a282dc
10,637
package com.orange.poi.util; import com.orange.poi.PoiUnitTool; import com.sun.imageio.plugins.jpeg.JPEG; import com.sun.imageio.plugins.jpeg.JPEGImageReader; import com.sun.imageio.plugins.jpeg.JPEGMetadata; import com.sun.imageio.plugins.png.PNGMetadata; import org.w3c.dom.Node; import javax.imageio.IIOIma...
34.312903
117
0.590674
48747d578afcfc02b13238e85fcffdfc3407e65d
2,678
package novamachina.exnihilosequentia.api.crafting.crucible; import java.util.Arrays; import java.util.List; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipeType; import net.minecraft.item.crafting.Ingredient; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fluids.F...
30.781609
127
0.732263
4de7553b36c996600d3de2e06e946ba9b6f4fd57
6,226
package japicmp.test; import japicmp.cmp.JarArchiveComparator; import japicmp.cmp.JarArchiveComparatorOptions; import japicmp.model.JApiChangeStatus; import japicmp.model.JApiClass; import japicmp.model.JApiField; import japicmp.model.JApiMethod; import org.junit.BeforeClass; import org.junit.Test; import java.io.Ser...
54.13913
212
0.821234
e5478ab3f10b5f0920198b96e08f6dff2f144987
3,000
package com.dhc.android.testdemoforwzw; import android.content.Context; import android.support.annotation.Nullable; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.widget.Scroller; public class DragView extends View { private int mLastX; private int...
38.961039
136
0.573
7d0df2c28e049365fffa6a3612a20443531f0caf
310
package com.lgy.demo.statemachine.state; import com.lgy.demo.statemachine.OrderContext; /** * 订单完成状态 */ public class OrderCompleteState extends AbstractOrderState{ OrderContext orderContext; public OrderCompleteState(OrderContext orderContext) { this.orderContext = orderContext; } }
19.375
59
0.754839
521bb115675b25250c749ee5e0c6190c20fa6b67
6,703
package study.yang.definedivideritemview; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.View; public class DefineDividerItem...
33.515
145
0.602864
dc1a52ee4313b5c98fbfce3678d267242f9651c4
280
package pl.coderslab.spring01hibernate.repository.examples; import org.springframework.data.jpa.repository.JpaRepository; import pl.coderslab.spring01hibernate.entity.examples.Nauczyciel; public interface NauczycielRepository extends JpaRepository<Nauczyciel, Long> { }
31.111111
65
0.835714
395248541181fb6ec69e04c47af236cab4f06a1c
4,606
package com.bbva.kyof.vega.autodiscovery.publisher; import com.bbva.kyof.vega.autodiscovery.model.AutoDiscDaemonClientInfo; import com.bbva.kyof.vega.config.general.AutoDiscoveryConfig; import com.bbva.kyof.vega.msg.MsgType; import io.aeron.Aeron; import io.aeron.Publication; import lombok.extern.slf4j.Slf4j; import ...
39.706897
184
0.713634
a2022f99ffbf135cff6c722c28723a51e51ab9d2
992
package com.atguigu.gmall.pms.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.atguig...
34.206897
121
0.777218
a775602fd1b381030c22e11f966e4c3a1d636ddf
2,302
package com.codi.superman.base.dao.impl; import com.codi.base.dao.BaseDAOImpl; import com.codi.superman.base.common.Const; import com.codi.superman.base.dao.SysRolePrivDao; import com.codi.superman.base.domain.SysRolePriv; import org.springframework.stereotype.Repository; import java.util.Date; import java.util.HashM...
29.896104
92
0.693745
36fc32aeb666c4301ddada6abaa4a579e70adf05
6,651
package edu.dartmouth.cs.battleroyalego; import android.Manifest; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.location.Location; import android.os.Build; import android.os.Looper; import android.support....
41.055556
122
0.630432
22ec3531616e7033224f2e8d30fc653cb54e1932
2,947
package seedu.address.logic.commands; import static junit.framework.TestCase.fail; import static seedu.address.logic.commands.CommandTestUtil.assertCommandFailure; import java.io.File; import java.util.ArrayList; import java.util.List; import org.junit.Test; import seedu.address.commons.core.Messages; import seedu....
42.710145
112
0.715304
9827b81b265c327cb8d904b782145f7f43ab7ea6
1,410
// Generated by dagger.internal.codegen.ComponentProcessor (https://google.github.io/dagger). package com.battlelancer.seriesguide.modules; import com.uwetrottmann.trakt5.TraktV2; import com.uwetrottmann.trakt5.services.Recommendations; import dagger.internal.Factory; import dagger.internal.Preconditions; import javax...
35.25
98
0.78227
dfe018b781ea9ea26bb717a6e5918a7b19cd08a2
2,317
package li.cil.circuity.common.init; import li.cil.circuity.ModCircuity; import li.cil.circuity.common.Constants; import li.cil.circuity.common.Globals; import li.cil.circuity.common.item.ItemConfigurator; import li.cil.circuity.common.item.ItemEEPROM; import li.cil.circuity.common.item.ItemFloppyDisk; import net.mine...
37.983607
89
0.729391
ac57b9d135ece9c4639fd472c48632a3b4424ab9
956
package ch.ethz.semdwhsearch.prototyp1.pages.elements.impl; import ch.ethz.semdwhsearch.prototyp1.actions.Params; import ch.ethz.semdwhsearch.prototyp1.localization.Dictionary; import ch.ethz.semdwhsearch.prototyp1.pages.elements.Element; /** * Query element. * * @author Ana Sima * */ public class SPARQLQueryE...
24.512821
121
0.682008
829dc6002e7823be3b494954fc12b3c97d422138
973
package com.sai.io; import java.io.FileDescriptor; import java.io.FileInputStream; import java.io.FileOutputStream; public class Example33 { public static void main(String[] args) { FileDescriptor fd = null; byte[] b = { 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58 }; try { File...
32.433333
70
0.536485
9f8505ba49a31ae62200ee002ce6ee80f42c8aff
551
package org.slf4j.impl; import org.slf4j.ILoggerFactory; import org.slf4j.Logger; import org.slf4j.helpers.NOPLogger; /** * Default NoOp logger binder implementation to satisfy minimum requirements. * * @author patrick.reinhart */ public enum StaticLoggerBinder implements ILoggerFactory { INSTANCE; public stat...
19.678571
77
0.774955
1b63eb80cc5aab4446b2e7be0867f43c35103d99
1,441
package models; import java.util.Comparator; public class VersionComparator implements Comparator<String> { private VersionComparator(){}; private static VersionComparator INSTANCE = new VersionComparator(); public static VersionComparator getInstance(){ return INSTANCE; } private stat...
26.2
84
0.547536
7f0d1ee64e5d2b19268319f7b0cf3f11603ebec7
23,245
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
32.374652
161
0.684147
4b251923f2b1ac9764f208630bfe51cd18222469
421
package com.beautifulsoup.chengfeng.controller.vo; import com.fasterxml.jackson.annotation.JsonInclude; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor @AllArgsConstructor @JsonInclude(JsonInclude.Include.NON_NULL) publi...
20.047619
52
0.812352
92202574760da9ea16d23265328e62ab76d6ccd9
1,364
package com.baomidou.springmvc.common; import com.baomidou.springmvc.listener.MyApplicationListener; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; public class MyBeanPostProcessor implements BeanPostProcessor { @Override public Object postP...
42.625
103
0.697214
e1b99b4bf709cefe3b94f294453c8309438df73a
1,750
/* * Copyright 2012 Daniel Rendall * 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 ...
35
118
0.718857
53ca188c545b233020c82094e6e6e26ae95267b4
1,370
package com.yangzg.crud.controller; import org.springframework.http.MediaType; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ResponseBody; import java.util.HashMap; import...
29.148936
86
0.631387
d004a4c2a7dac97c375ca94fb70b166ec8eea018
3,680
package tw.bill.java101.domain; import tw.bill.java101.domain.security.Role; import javax.persistence.*; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Set; /** * Created by bill33 on 2016/2/14. */ @Entity public class User extends AbstractDomainClass{ @Column(uniqu...
20.674157
92
0.606522
ca14d57ebf3dda1eb649d578ed9471cd0e2f092b
1,343
/** * Copyright (c) 2017. Lorem ipsum dolor sit amet, consectetur adipiscing elit. * Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. * Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. * Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sag...
25.339623
97
0.676098
383bc8edbc772988ed3ca9506a86677ee5960b0b
1,293
package service.external; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import javax.ejb.EJB; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import com.azure.ai.textanalytics.models.DocumentSentimen...
28.108696
92
0.811292
9a047ad3506664745fd5f117b441a45162aaad16
132
package com.ne0fhyklabs.freeflight.drone; public interface DroneProxyConfigChangedReceiverDelegate { void onConfigChanged(); }
18.857143
56
0.825758
c2cb6a805ecce16b56854b094ea173d36a9125fe
1,404
package gnova.config.reader.xml; import gnova.core.annotation.NotNull; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.DocumentHelper; import org.dom4j.Element; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class DomHelper { ...
29.87234
74
0.56339
a849618056d3e8600918a2ee994141641853f164
276
package com.dp.others.dependencyinjection; public class MyLegacyApplication { private EmailService email = new EmailService(); public void processMessages(String msg, String rec) { // do some msg validation, manipulation logic etc this.email.sendEmail(msg, rec); } }
25.090909
54
0.768116
57323ea9947c5f5d655538a13eefd1aae149d8de
1,474
package com.kgregorczyk.bank.controllers.dto; import com.google.common.collect.ImmutableList; import java.util.List; import java.util.UUID; import lombok.Builder; import lombok.Getter; import spark.route.HttpMethod; /** Represents a link for HATEOAS responses. */ @Getter @Builder public class Link { private static...
28.901961
90
0.639756
4eb24527b06864330c125c2988a0092bead02a9a
12,128
/* * 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 not u...
44.101818
135
0.655425
f625952ecf822bb7c7245c81d20f4056cd7ad637
24,456
package com.avaje.ebeaninternal.server.deploy.meta; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.LinkedHashSet; import java.util...
27.447811
128
0.655626
f2944a980d4721c3fc2115f152befd21a99e8ccd
5,421
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
39.569343
106
0.61889
9d9775389e8c2b2146c1587faeca5cfe3cc2d647
667
package uk.gov.dvsa.motr.web.analytics; public enum DataLayerMessageId { TRADE_API_CLIENT_EXCEPTION, VRM_VALIDATION_ERROR, CHANNEL_SELECTION_VALIDATION_ERROR, EMAIL_VALIDATION_ERROR, PHONE_NUMBER_VALIDATION_ERROR, CODE_ALREADY_RESENT, CODE_INCORRECT_3_TIMES, INVALID_CONFIRMATION_CODE_ME...
27.791667
43
0.806597
945b2b6449b46ee797bd4c07811a79c09d729e7c
1,903
/******************************************************************************* * Copyright (c) 2009, 2019 Mountainminds GmbH & Co. KG and Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
26.430556
81
0.603783
147f6864b18cb1718a8a6587346698c294a45a5d
332
package messages; import java.io.Serializable; public class MessageExample extends Message implements Serializable { private String data = null; public MessageExample() { super(MSG_TYPE.MSG_EXAMPLE); } public String getData() { return data; } public void setData(String data) { this.data =...
16.6
69
0.701807
197b0e006d079b5f4c3ff5a2c6c99473d6dbd4b9
1,326
package com.larksuite.oapi.core.card.mode; public class Header { public static final String X_LARK_REQUEST_TIMESTAMP = "X-Lark-Request-Timestamp"; public static final String X_LARK_REQUEST_NONCE = "X-Lark-Request-Nonce"; public static final String X_LARK_SIGNATURE = "X-Lark-Signature"; public static fi...
28.212766
90
0.607843
8a6f0d7a1c2c93e7c30d03957eff4a11165ba471
572
package org.abigballofmud.datax.plugin.writer.hdfspluswriter.constants; /** * <p>description</p> * * @author abigballofmud 2019-9-25 14:01:31 */ public final class Constant { private Constant() { throw new IllegalStateException("constant class!"); } public static final String DEFAULT_ENCODING...
27.238095
71
0.695804
bf63fa41a45eb3131649c544cfdd1effd3385b08
1,554
package resnyx.methods.message; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import resnyx.Answer; import resnyx.ReplyMethod; import resnyx.Types;...
26.793103
96
0.71879
669d254df63f5e55661f88c45f449b0b4184c9b6
128
package com.iamcodder.otelrezervasyon.Interface; public interface RoomTypeInterface { void buttonNumber(int position); }
16
48
0.796875
e9c772e71099c0a821b8fba4903a1b19fae7b868
1,297
package uk.ac.ebi.pride.toolsuite.gui.action.impl; import uk.ac.ebi.pride.toolsuite.gui.PrideInspector; import uk.ac.ebi.pride.toolsuite.gui.PrideInspectorContext; import uk.ac.ebi.pride.toolsuite.gui.action.PrideAction; import javax.help.CSH; import javax.swing.*; import java.awt.event.ActionEvent; import j...
30.162791
113
0.70239
93b2311cf610067f333a9197cdedcab1e1696831
811
package fr.imie.training.cdi13.dav.thread.exo1; import java.util.ArrayList; import java.util.List; public class Exo1 { public static void main(String[] args) { List<Counter> terminateList = new ArrayList<>(); Thread t1 = new Counter("Compteur 1", 20, terminateList); Thread t2 = new Counter("Comp...
23.171429
60
0.633785
149a904edc21783012b78ad23a1d5646fb8d208e
557
package com.epi; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; public class SimpleWebServer { // @include public static class SingleThreadWebServer { public static final int PORT = 8080; public static void main(String[] args) throws IOException { ServerSocket serv...
23.208333
63
0.658887
7030a1d4debeb8fa410b9474bbfe106d7a798d31
1,267
package stark.android.appbase.base; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.widget.RelativeLayout; /** * Created by jihongwen on 15/12/11. */ public abstract class BaseRelativeLayout<T> extends RelativeLayout { protected Context mContext; ...
23.036364
86
0.670087
af9ffc25986655b50ac745f7616fe34f2e3caae3
1,468
package org.abimon.mods.minecraft.minegate.reactor; import org.abimon.mods.minecraft.minegate.MineGate; import org.abimon.mods.minecraft.minegate.tileentity.TileEntityNaquadahReactor; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; public class NaquadahFuelCell extends NaquadahReacto...
24.065574
257
0.739101
10956648c9d7f27b270e06adcb5fc5f563acdc0b
2,364
import complex.*; public class TestComplex { public TestComplex() { Complex z1,z2,z3,z4,z5; z1=new Complex(1.0,1.0); z2=new Complex(2.0,-3.0); z3=new Complex(); z4=new Complex(-5.3); z5=new Complex(0.0,3.6); System.out.println("z1="+z1+" modulus(z1)="+z1.modulus()+ "...
45.461538
68
0.494924
3073546afac9076b06a3c9368939887fa3368714
3,044
package com.gzlk.android.isp.holder.archive; import android.graphics.Color; import android.view.View; import com.gzlk.android.isp.R; import com.gzlk.android.isp.fragment.base.BaseFragment; import com.gzlk.android.isp.fragment.archive.ArchiveDetailsFragment; import com.gzlk.android.isp.helper.ClipboardHelper; import c...
40.052632
136
0.671156
4544d3cb91991ad060c1a8d0c368078feae0d963
1,237
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class P01PermutationsWithoutRepetitionSwap { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] values...
26.891304
85
0.560226
34a98c15119212bc9c9062433773ed5b5da1f999
5,520
/* * Copyright (c) 2008, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
34.285714
79
0.565036
dbc93b6064e4d824fa0a3ae7e262c7a40185ba33
453
package net.unit8.waitt.mojo.component; import org.apache.maven.artifact.Artifact; import org.apache.maven.execution.MavenSession; import org.apache.maven.project.MavenProject; import org.codehaus.plexus.classworlds.realm.ClassRealm; /** * * @author kawasima */ public interface ArtifactResolver { ClassRealm re...
26.647059
61
0.790287
856f65ab1d5330b684cfb2fee2128c35edccf220
5,285
package bugger.dataAccessInterface.SQLDataAccess.dao; import bugger.dataAccessInterface.DataProxy; import bugger.dataAccessInterface.SQLDataAccess.SQL_Connector; import bugger.dataAccessInterface.SQLDataAccess.SQL_DataAccess; import bugger.dataAccessInterface.dao.IpermissionAccess; import bugger.dataModel.serverModel....
28.722826
144
0.714853
a78ad1355442cfe19c35a550e509e4331b17deea
258
package dev.sgora.mesheditor.ui; import javafx.scene.control.Label; public class CopyableLabel extends Label { public CopyableLabel() { } public CopyableLabel(CopyableLabel label) { setFont(label.getFont()); setTextFill(label.getTextFill()); } }
17.2
44
0.751938
3da9e49bc66f068f74442ba100ad87ca0d3735ee
999
package com.airxiechao.clusterkeeper.service; import com.airxiechao.clusterkeeper.repository.DataStore; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 节点内运行的应用程序相关方法 */ @Service public class...
18.163636
83
0.618619
ef7124df12d22f758f0dfc5d80ab0dfdc5a1c94d
3,762
package sonar.logistics.network.packets; import io.netty.buffer.ByteBuf; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraftforge.common.util.Constants; import net.minecraftforge.fml.common.network.ByteBufUtils; import net.minecraftforge.fml.common.network.simpleimpl.IMes...
34.833333
106
0.729931
944bba02360603a7390762b7c457ca579c719544
17,208
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.storage.queue; import com.azure.core.credentials.TokenCredential; import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; import com....
46.258065
145
0.71705
9167894dc86cb5f7d38d5a3599e251906059dceb
349
package com.vvnc.movies; class RemovedItemsInfo { private int startPosition; private int count; RemovedItemsInfo(int startIndex, int count) { this.startPosition = startIndex; this.count = count; } int getStartPosition() { return startPosition; } int getCount() { ...
17.45
49
0.621777
0c2c03d40590e31d6069b532044a79673f17ebe2
900
package commands; import java.util.ArrayList; import java.util.LinkedList; import model.Data; public class SetPalette extends Command{ public static final String ARG_TYPE = "Constant"; public SetPalette(Data data) { super(data); myArgs = new ArrayList<String>(); myArgTypes = new LinkedList<String>(); myAr...
23.684211
86
0.688889
b707cb4c5d0b0190b3f1d6a70124dd006627fd3c
1,021
package com.nag.android.stm; import java.util.Arrays; import java.util.Comparator; import android.content.Context; import android.graphics.Point; import android.os.AsyncTask; import android.widget.ArrayAdapter; public class ASyncThumbnailUpdater extends AsyncTask<Context,ThumbnailInfo,Void>{ private ArrayAdapter<Th...
24.309524
81
0.746327
9563508047449ac2dc46dfc9b877ebaa55c5a106
360
//,temp,sample_4035.java,2,8,temp,sample_4095.java,2,11 //,3 public class xxx { private void printDocumentsReport(Set<File> docs, Set<File> duplicate, Set<File> missing) { getLog().info("================================================================================"); getLog().info(""); getLog().info(""); for (File f...
24
98
0.511111
15369637a57e6e89a3673d546322082672f1f983
1,665
package wt; import edu.mines.jtk.util.*; import edu.mines.jtk.awt.ColorMap; import edu.mines.jtk.dsp.Sampling; import edu.mines.jtk.dsp.SincInterp; import edu.mines.jtk.dsp.SincInterp.Extrapolation; import static edu.mines.jtk.util.ArrayMath.*; /** * Computes a linear extrapolation of a 1D curve in a least squares s...
21.346154
75
0.627628
7ec6ef06c9da3a9e167c60ab37a0383592cdbe82
333
package harshwinds.noisemaker; import java.util.List; /** * Represents a player of sounds with an indicator of the index of the * order the sounds are being played in relation to other sounds being * played * * @author harshwinds */ @FunctionalInterface interface Player { void play(final int index, List<Sound...
20.8125
70
0.744745
b3f4b4a16ea7a473965c734fb4cda93590566ee8
718
package uk.gov.ida.rp.testrp.builders; import uk.gov.ida.rp.testrp.contract.Cycle3DatasetDto; import java.util.HashMap; import java.util.Map; public class Cycle3DatasetDtoBuilder { private Map<String, String> attributes = new HashMap<>(); public static Cycle3DatasetDtoBuilder aCycle3DatasetDto() { ...
23.933333
77
0.685237
60b17b10877cff31f998bd28d2d806504803316c
34,067
/* * Copyright (c) 2007-2018 Siemens AG * * 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, copy, modify, merg...
35.822292
90
0.738192
f6e386c039bd8f8426ac93f72c31c0a3bc226aea
18,015
/** * <copyright> * </copyright> * * */ package de.darwinspl.preferences.resource.dwprofile.ui; import java.io.IOException; import java.io.StringReader; import java.util.Iterator; import org.eclipse.core.runtime.Assert; import org.eclipse.core.runtime.ListenerList; import org.eclipse.jface.action.ToolBarManager;...
28.370079
169
0.705579
4c664ed1049d48c52d16ab5ee88ff1737f004e97
141
package nl.buildforce.sequoia.jpa.metadata.core.edm.mapper.api; public interface JPAJavaFunction extends JPAFunction, JPAJavaOperation { }
23.5
72
0.829787
59c063bd757fdd92aa025e30cc1ad09a462af31e
3,385
package com.gamecodeschool.notetoself; import android.os.Bundle; import com.google.android.material.floatingactionbutton.FloatingActionButton; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.recyclerview.widget.DefaultItemAnimator; import androidx.recyclervie...
32.548077
102
0.69099
ab574a9574132c5d49c5ad2c5f526c93b9f4d473
3,187
/* * Copyright 2019 Confluent Inc. * * Licensed under the Confluent Community License (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.confluent.io/confluent-community-license * * Unless required by applicable law or a...
32.85567
92
0.713524
1c0a1aec3d6b02a629d2ac505c214ba22d1221f7
3,457
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorflowlite; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflowlite.global.tensorflowlite.*; // A structure representing an instance of a node....
50.838235
128
0.764536
9c92be02d31f300d9ba1dbccce37c2966e289041
1,028
package com.github.jumpt57.configuration.modules; import com.github.jumpt57.filters.HeaderCORSFilter; import com.github.jumpt57.filters.LogFilter; import com.github.jumpt57.filters.MyPersistFilter; import com.google.api.server.spi.config.Api; import com.google.api.server.spi.guice.EndpointsModule; import com.google.in...
30.235294
79
0.747082
72f57fa779899f68efb1a94a8e8253361825b356
479
package nl.vu.cs.ajira.examples.aurora.examples; import nl.vu.cs.ajira.examples.aurora.api.ExecutionPath; import nl.vu.cs.ajira.examples.aurora.api.JobGenerator; import nl.vu.cs.ajira.submissions.Job; public abstract class AuroraExample { public final Job generateExample() { ExecutionPath path = ExecutionPath....
26.611111
59
0.780793
e0369cf86172ba31fa612314ff576d0b0794ee14
1,942
package ru.itmo.wp.servlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.*; import java.nio.file.Files; public class StaticServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest reque...
28.144928
103
0.548919
4621bf2d58f1f659cf6ec1a3238e1e8d7322807c
11,416
package com.sp.member; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframewor...
30.361702
134
0.649439
cd18acb6059f720cd4a3c1d41d78d1f32b27a8e6
585
package com.example; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; /** * Created by happyyangyuan at 2017/11/20 ...
27.857143
67
0.779487
57da36bcc9dc0c40963c273a1fa2a184ace0bf4a
2,423
/** * 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.batch.protocol.models; import com.fasterxml.jackson.annotat...
40.383333
324
0.700784
f40ad64367cce4fec957724b78d3fe2550629f16
3,363
package adj.felix.hadoop.mr.join; import java.io.IOException; import java.util.Iterator; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.i...
34.316327
120
0.746655
82fceba8ba41f2200457dedd9123abe0c4c71c2d
2,229
package com.ruoyi.app.common.page; import java.io.Serializable; import java.util.List; /** * 表格分页数据对象 */ public class ResultData implements Serializable { // private static final long serialVersionUID = -2652773809295318093L; /** 消息状态码 */ private int code; private String ...
16.152174
71
0.493495
7c09ed44808e6854e74a4a8a80f56573546abeda
973
package helvidios.cp.ch3.completesearch; import java.util.Scanner; public class _1260_Sales { public static void main(String... args){ String data = "2\r\n" + "5\r\n" + "38 111 102 111 177\r\n" + "8\r\n" + "276 284 103 439 452 276 452 398\r\n" + ""; Scanner scanner = new Scanner(data); ...
21.622222
62
0.577595
d2afbc9cef40a9fef4fa5cb03ea844f890ad999b
1,320
package com.genius.backend.infrastructure.security.social.provider; import com.genius.backend.application.ProviderType; import com.genius.backend.domain.model.auth.Role; import com.genius.backend.domain.model.user.User; import org.springframework.social.connect.Connection; import java.util.Set; public interface Soci...
33.846154
134
0.777273
43aed4e4ab5379be823b118712af4e50c3df0e67
892
package com.sequenceiq.cloudbreak.controller.mapper; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.DataIntegrityViolationException; import com.sequenceiq.cloudbreak.log...
34.307692
112
0.793722
8be42bc9a3a547392bb939aae781592bd7793c37
2,480
/* * Copyright (C) 2009 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...
29.52381
75
0.679839
7a137f8e4df50fefc65c2abdd507cce17eedb81a
1,378
package org.damcode.damecom; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import java.security.spec.InvalidKeySpecException; import java.util.Random; import java.util.logging.Level; import java.util.logging.Logger; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBE...
29.319149
83
0.640784
3506b388fef154d667294f5e8362463703f431b6
3,603
/** * 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.recoveryservices.siterecovery.v2018_01_10; impor...
29.292683
103
0.680266
f446965dc73c2bc2a4d45f7dadd1e1e7e46ba25f
4,104
/* * Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 ...
36.972973
235
0.751949
32ff3918d4b1fbafbdf40efc1da7a79049933083
981
import java.util.Arrays; public class RemoveDuplicatesFromSortedArray { public int removeDuplicates(int[] nums) { // if only less than 2 items in the array, do nothing if(nums != null && nums.length < 2) return nums.length; int uniqueLength = 0; /* start at second index, go through the array * the...
28.852941
79
0.681957
0dc11703c83235730880817b0da89669c08326d7
444
package br.com.neolog.welcomekit; public class CustomerLocal { private static final ThreadLocal<Integer> threadLocal = new ThreadLocal<>(); public static int getCurrentCustomerId() { return threadLocal.get(); } public static void setCurrentCustomerId( final int id ) { ...
18.5
80
0.644144