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
a9eb5a89bb7e7e3a78fd05bd213d35a335f2ca5a
6,033
package team.unstudio.udpl.item; import com.google.common.collect.Lists; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemFlag; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.*; import java.util.*; public class ItemWrapper { ...
24.035857
120
0.704127
4e928423030a59912886aacdb244c32e9970326d
10,763
package com.kovacs.swashbuckler; import java.awt.BasicStroke; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.GradientPaint; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.AffineTransform; import java.awt.image.BufferStrategy; import java.util.Linke...
27.597436
104
0.679829
830e652729b653046d948017f1189d31926cc139
22,527
package org.firstinspires.ftc.teamcode; import android.app.Activity; import android.view.View; import com.qualcomm.hardware.modernrobotics.ModernRoboticsAnalogOpticalDistanceSensor; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2cColorSensor; import com.qualcomm.hardware.modernrobotics.ModernRoboticsI2c...
38.181356
100
0.616194
8ef447e28d9cab407a62ccfb6a10fcff10298845
921
package de.bitnoise.sonferenz.web.pages.proposal; import org.apache.wicket.model.Model; import org.apache.wicket.request.mapper.parameter.PageParameters; import org.apache.wicket.spring.injection.annot.SpringBean; import com.visural.wicket.aturl.At; import de.bitnoise.sonferenz.facade.UiFacade; import de.bitnoise.so...
29.709677
74
0.781759
c3a3f91821f74ba5cb05b9fd15b9fea200df6a6b
860
/* Gemma: An RPG Copyright (C) 2013-2014 Eric Ahnell Any questions should be directed to the author via email at: support@puttysoftware.com */ package com.puttysoftware.gemma.support.map.generic; public interface TypeConstants { public static final int TYPE_GROUND = 0; public static final int TYPE_FIELD =...
37.391304
87
0.740698
74b859c6b3c070561ef1ffe9bc0dd160a31f995c
2,425
package com.insightfullogic.lambdabehave.generators; import com.insightfullogic.lambdabehave.specifications.Column; import com.insightfullogic.lambdabehave.specifications.ThreeColumns; import com.insightfullogic.lambdabehave.specifications.TwoColumns; /** * A fluent builder interface for describing how test cases ge...
37.890625
103
0.689072
04331daf00d26d50b9fa522183c66f494ad17efb
161,339
package com.sentaroh.android.SMBSync2; /* The MIT License (MIT) Copyright (c) 2011 Sentaroh 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 r...
56.789511
174
0.533504
e32d6d15c540cb85acdb6443bc7ead5dfe294d63
15,461
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2010, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
37.987715
116
0.713602
258c70673adfd8a6b487ea374ac4eb8bd385a744
652
package fi.riista.feature.permit.invoice.payment; import fi.riista.feature.common.repository.BaseRepository; import fi.riista.feature.permit.invoice.Invoice; import fi.riista.util.jpa.JpaGroupingUtils; import java.util.Collection; import java.util.List; import java.util.Map; public interface InvoicePaymentLineReposi...
34.315789
111
0.812883
675deae58eddb7bdceebde65f71575e4288e344f
844
package net.sf.robocode.ui.dialog; import javax.swing.JSlider; public final class DoubleJSlider extends JSlider { private final int scale; public DoubleJSlider(int min, int max, double scaledValue, int scale) { super(scaleValue(min, scale), scaleValue(max, scale), limit(scaleValue(min, scale), scaleValue(scaledV...
24.823529
143
0.703791
e3050aecd9900aafe68fd3c502ef6a0cf4325850
1,409
package org.somespc.webservices.rest.dto; import javax.xml.bind.annotation.*; @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class ComandoDTO { @XmlElement(name = "nome_job") private String nomeJob; @XmlElement(name = "grupo_job") private String grupoJob; @XmlElement(...
18.786667
61
0.648687
75a5f58ce8fd3a2fae2e2626210ce9db1abb82a5
1,410
package com.ruoyi.system.service; import java.util.List; import com.ruoyi.system.domain.HrmsSalaryStandard; /** * 薪酬标准Service接口 * * @author ruoyi * @date 2022-01-03 */ public interface IHrmsSalaryStandardService { /** * 查询薪酬标准 * * @param ID 薪酬标准主键 * @return 薪酬标准 */ public Hrms...
20.735294
104
0.653191
f658dde9ee26f30732ef7b3b2627ca002e84a656
443
import de.eskalon.commons.screen.ManagedScreen; public class BlankScreen extends ManagedScreen { @Override protected void create() { // do nothing } @Override public void hide() { // do nothing } @Override public void render(float delta) { // do nothing except having the screen cleared } @Override ...
14.290323
48
0.688488
43c4dffadc1d6499af4c2dcf6a21f09fbb5ef791
4,371
package io.leopard.web.session; import java.util.Enumeration; import java.util.LinkedHashMap; import java.util.Map; import javax.servlet.ServletContext; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionContext; import io.leopard.json.Json; @SuppressWarnings("deprecation") pub...
23.755435
85
0.681995
d2f952472ca94401b0a14183cfd073c7521330b8
7,001
package com.infi.lyrical; import android.app.Application; import android.content.Context; import android.content.res.Configuration; import android.os.AsyncTask; import android.os.Handler; import com.infi.lyrical.helper.FileLog; import com.infi.lyrical.helper.RetrofitHelper; import com.infi.lyrical.helper.RetrofitInte...
43.484472
145
0.585916
60a090eb7319d6fdfc63a999162c12315892293e
1,052
package org.lzjay.weixin.domain.event; import javax.xml.bind.annotation.XmlElement; import org.lzjay.weixin.domain.InMessage; import com.fasterxml.jackson.annotation.JsonProperty; public class EventInMessage extends InMessage{ private static final long serialVersionUID = 1L; @XmlElement(name = "Event"...
23.909091
110
0.673004
751448988fa70dc2847cd54db72a301942555b5b
459
package com.amyliascarlet.jsontest.bvt; import com.amyliascarlet.lib.json.JSON; import com.amyliascarlet.lib.json.JSONException; import org.junit.Test; import static org.junit.Assert.fail; public class Bug89 { @Test public void testBug89() { try { String s = "{\"a\":з」∠)_,\"}"; ...
21.857143
48
0.590414
2c181a09d7b19e0265afde7158b133ba8e87d630
1,384
package org.nwnx.nwnx2.jvm.constants; /** * This class contains all unique constants beginning with "SPELL_MAGIC". * Non-distinct keys are filtered; only the LAST appearing was * kept. */ public final class SpellMagic { private SpellMagic() {} public final static int CIRCLE_AGAINST_CHAOS = 103; public final ...
34.6
73
0.699422
968a234430bf7175aca5af3d2d95851ae5935dad
1,470
package tech.blueglacier.storage; import tech.blueglacier.codec.CodecUtil; import org.apache.james.mime4j.storage.Storage; import org.apache.james.mime4j.storage.StorageOutputStream; import org.apache.james.mime4j.storage.StorageProvider; import java.io.IOException; import java.io.InputStream; public abstract class ...
31.276596
86
0.704082
abb2953bcec8990214b73645cb1f41e71be1fdcf
97
import net.runelite.mapping.ObfuscatedName; @ObfuscatedName("hm") public interface class225 { }
16.166667
43
0.793814
0835724009df49881f65abc42aec31d1cca27260
4,920
package com.sunzn.rock.library; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.os.Handler; import android.util.AttributeSet; import android.util.Log; /** * Created by sunzn on 2017/12/25. */ public class RockViewH...
28.439306
108
0.614024
2fb07075a06d81653fe3f95affc01e300d645823
11,029
package org.broadinstitute.ddp.route; import static io.restassured.RestAssured.given; import static org.broadinstitute.ddp.constants.RouteConstants.Header.DDP_CONTENT_STYLE; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.isEmptyOrNul...
45.20082
138
0.665337
7e0a16d30422cfb828242eda4911e70581af930f
2,910
package com.zq.preparedStatement.crud; import com.zq.bean.Customer; import com.zq.util.JDBCUtils; import org.junit.Test; import java.lang.reflect.Field; import java.sql.*; /** * @author zhangqi * 针对Customers表的查询操作 */ public class CustomerForQuery { @Test public void testQueryCustomers() { String ...
28.811881
80
0.526117
0a69d0f7a21aa48f734f2e716ba11ef0ed0068f3
1,882
package lmu.hradio.hradioshowcase.view.adapter; import android.content.Context; import androidx.annotation.NonNull; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentStatePagerAdapter; import lmu.hradio.hradioshowcase.R; import lmu.hradio.hradio...
32.448276
136
0.732731
26cc8236646749f67d9d1e4353c1590233d8865d
352
package com.seamlesspay.exception; public class InvalidRequestException extends SPException { private static final long serialVersionUID = 2L; public InvalidRequestException( String message, String requestId, Integer code, Integer statusCode, Throwable e) { super(message, request...
23.466667
58
0.71875
f0d947e991c2425ec0ea2fdc2af1f032219d2663
4,217
package com.mbenabda.grafana.client; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode; impor...
37.651786
98
0.641926
394365ac979df27b28c292578e1cd0ea6b0a531d
26,501
package edu.cmu.cs.sb.stem; import edu.cmu.cs.sb.chromviewer.*; import edu.cmu.cs.sb.core.*; import edu.umd.cs.piccolo.PCanvas; import edu.umd.cs.piccolo.PNode; import edu.umd.cs.piccolo.event.PZoomEventHandler; import edu.umd.cs.piccolo.event.PBasicInputEventHandler; import edu.umd.cs.piccolo.event.PInputEvent; impor...
37.697013
136
0.589638
50daf1cc658799acdf97d6f27ecd90210260d5bd
945
/* * 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 com.threatconnect.sdk.server.response.service.association; import com.threatconnect.sdk.server.response.service.ApiServiceRes...
28.636364
85
0.703704
71a2dcd10089ad60cf711898101e81b5a18cbb39
23,371
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.security.hibernate; import java.util.Date; import java.util.List; import java.util.Set; import org.hibernate.Query; import org.hibernate.Session; imp...
34.168129
140
0.692439
fdbc51d8b60718c20536ec775f9ce73d5c9f87cb
18,641
/* * ============================================================================= * * Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
37.059642
132
0.604689
b71f955d226a41ab91c19cc542d2a630234f9693
1,339
package io.mangoo.i18n; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import java.util.Locale; import org.junit.Test; import io.mangoo.core.Application; import io.mangoo.enums.Validation; /** * * @author svenkubiak * */ public class MessagesTest { @...
23.086207
115
0.613891
1369a4ad53e9b1641382d3f419902a79f68d5310
696
package de.dkweb.crillionic.utils; import de.dkweb.crillionic.model.GameWorld; /** * Created by dirkweber */ public class PhysicsUpdater { private final static float PHYSICS_UPDATE_RATE_PER_SECOND = 1/60f; private float elapsedRenderTime; private GameWorld gameWorld; public PhysicsUpdater(GameWorld...
27.84
83
0.711207
63b5423a576d3f6b452899c0cdebb547a2c4a3e1
8,015
/** * 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...
38.166667
119
0.669744
a56755588847dc3d11be3d5be55a68350699838e
3,420
package example.plugins; import example.vo.Page; import org.apache.ibatis.executor.parameter.ParameterHandler; import org.apache.ibatis.executor.statement.StatementHandler; import org.apache.ibatis.mapping.BoundSql; import org.apache.ibatis.plugin.*; import org.apache.ibatis.reflection.DefaultReflectorFactory; import ...
37.582418
114
0.682164
9cf7a4bacc2d3ad17c64a7fad073eeaa5150b3c8
681
// // Decompiled by Procyon v0.5.36 // package org.mudebug.prapr.reloc.commons.httpclient; public class Header extends NameValuePair { public Header() { this(null, null); } public Header(final String name, final String value) { super(name, value); } public String toExte...
23.482759
133
0.58884
8b1d70977973831233bc28947214a7bee94e60df
3,145
/* * * Copyright (C) 2020 iQIYI (www.iqiyi.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 required by applicable law ...
32.42268
103
0.498569
94e22928792ebaecfe38a5129d8737267487bf3e
487
package com.voxelwind.server.network.mcpe.packets; import com.voxelwind.nbt.util.Varints; import com.voxelwind.server.network.NetworkPackage; import io.netty.buffer.ByteBuf; import lombok.Data; @Data public class McpeSetPlayerGameType implements NetworkPackage { private int gamemode; @Override public void decode ...
19.48
60
0.780287
a43551cad802a31e6f0e506560c1eb7812a5add2
13,347
/* * Copyright (c) 2002 World Wide Web Consortium, * (Massachusetts Institute of Technology, Institut National de * Recherche en Informatique et en Automatique, Keio University). All * Rights Reserved. This program is distributed under the W3C's Software * Intellectual Property License. This program is distributed...
62.07907
145
0.717614
0ad1e7e60a1a3ee5e23ea2dd149fc9687a03ea4b
682
package epicsquid.roots.spell.modules; import net.minecraft.item.ItemStack; import net.minecraft.util.text.TextFormatting; import java.util.function.Supplier; public class SpellModule { private Supplier<ItemStack> ingredient; private String name; private TextFormatting colour; public SpellModu...
21.3125
91
0.699413
bc2a26137fb9a64e13e389c3afd05f16acd6d890
3,734
/* * Copyright (c) 2016. Guaidaodl * * 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 agree...
28.503817
107
0.693358
23a4f56e7d4d9990fa5cfd02ccefa38661929351
3,225
/* * Copyright (c) 2005 - 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
45.422535
152
0.684651
3231f834b8842ce2d231c5466d5a1a78c5661628
843
package org.webpieces.webserver.tokens; import javax.inject.Singleton; import org.webpieces.router.api.controller.actions.Action; import org.webpieces.router.api.controller.actions.Actions; @Singleton public class TokenController { public Action requiredNotExist() { return Actions.renderThis(); } public Act...
23.416667
115
0.73191
ab6453d798d99d0d002e84e1763d9c450032d302
1,308
package cn.dreampie.common.util.scan; import cn.dreampie.common.util.Lister; import cn.dreampie.log.Logger; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.util.Collections; import java.util.Enumeration; /** * Created by Dreampie on 16/9/7. */ public class FileScaner ex...
22.551724
77
0.646789
12acb892d4ed00bc9e324527e94fea32911dfda0
3,041
package com.cloudbees.groovy.cps.impl; import com.cloudbees.groovy.cps.Block; import com.cloudbees.groovy.cps.Continuation; import com.cloudbees.groovy.cps.Env; import com.cloudbees.groovy.cps.LValue; import com.cloudbees.groovy.cps.LValueBlock; import com.cloudbees.groovy.cps.Next; /** * "++x", "--x", "x++", or "x-...
30.717172
114
0.630714
0d24898fc0fadc2581d0c2bf68ae88329eff988f
226
package ir.pint.soltoon.services.soltoonServices; public interface SandboxService { String getServiceName(); JobInfo startJob(JobOptions options); boolean jobExists(String id); JobInfo getJob(String id); }
18.833333
49
0.747788
64318edfdabdb6a68cfeef77c5e23a5c3ac175c1
1,804
package asw.database.entities; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; @Entity @Table(name = "UserType") public class Type implements Serializable{ ...
19.608696
67
0.661863
8a000fd758ff39ba58229abd03ad33d1fbceb3e3
22,687
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution License("CD...
50.081678
148
0.679861
eaf1246de30f5157e1a39f751b51b5d40c86a28b
24,876
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: dump/v1/dump.proto package io.opencensus.proto.dump; /** * <pre> * Used to dump spans for later store&amp;process * </pre> * * Protobuf type {@code opencensus.proto.dump.v1.DumpSpans} */ public final class DumpSpans extends com.google.protobu...
31.409091
201
0.662767
f4f823d814e7da9ca381a6c792e2afc872bb5946
4,200
package com.blacknebula.testcherry.codeinsight; import com.blacknebula.testcherry.model.TestCherrySettings; import com.blacknebula.testcherry.testframework.SupportedFrameworks; import com.intellij.openapi.options.BaseConfigurable; import com.intellij.openapi.options.ConfigurationException; import com.intellij.op...
29.370629
112
0.64119
d196338240b424ccf5e77d1cadb829080d4ab4b3
733
package uff.dew.avp.localqueryprocessor.localquerytask; /** * * @author Alex */ public class LQT_Msg_IntervalFinished extends LQT_Message { private int a_intervalBeginning; private int a_intervalEnd; /** Creates a new instance of LQT_Msg_IntervalFinished */ public LQT_Msg_IntervalFinished...
23.645161
93
0.675307
bb923409b54498579f33eef30b14ee75122c4cde
8,093
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
34.438298
148
0.651798
1778539f2b2107e4b9a6e32e7700e1be5f2758e7
3,059
/* * The MIT License (MIT) * * Copyright (c) 2020-2021 tools4j.org (Marco Terzer, Anton Anufriev) * * 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 witho...
41.337838
110
0.619483
e61abb53e7fd35d85d89aff75e2dc722f6b53bd7
4,745
package io.turntabl.dataaccess; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.type.CollectionType; import com.fasterxml.jackson.databind.type.TypeFactory; import com.fasterxml.jackson.databind.ObjectMapper; import...
37.65873
110
0.633087
310f6499e40581ac968c9da708c3d97f0ec4d798
1,520
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.UserTaskView; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.merchant.weike.settle.query response. * ...
20.540541
77
0.690789
c97d1d0db6eafaa6a52a17d4ae2f4a22469f3eb5
37,584
package com.alibaba.datax.plugin.writer.hdfswriter; import com.alibaba.datax.common.element.Column; import com.alibaba.datax.common.element.Record; import com.alibaba.datax.common.exception.DataXException; import com.alibaba.datax.common.plugin.RecordReceiver; import com.alibaba.datax.common.plugin.TaskPluginCollector...
45.391304
189
0.561249
2af37c3537bce0904eea84060da7bb5e245f6ebb
1,322
package com.discordbot.Listener; import com.discordbot.Discord.DiscordClient; import com.discordbot.Discord.Sender; import com.discordbot.Discord.UniqueIDHandler; import com.discordbot.Embeds.FailureLogEmbed; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.entities.User; import net.dv8tion.jda.api....
42.645161
109
0.744327
232ab5717c9aa50f4e75e52c6b097d10911ab20e
2,330
package com.pj.servlet; import java.io.BufferedInputStream; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import j...
32.361111
123
0.704292
5a9a2396d1f913a8b4682881e8ee166a21f0d11e
5,259
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.Calendar; import javax.net.ServerSocketFactory; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.Document; import org.w3c.d...
32.263804
154
0.563415
9cc3e3c7be2f4ac03b86ec946bab90babe85ef13
197
package br.com.transmetais.dao; import br.com.transmetais.bean.ContaCliente; import br.com.transmetais.dao.commons.CrudDAO; public interface ContaClienteDAO extends CrudDAO<ContaCliente>{ }
17.909091
63
0.807107
8baeeadaa8a1796fbeda7cb53c14586f7cbd0a94
354
package com.beanu.l3_post.adapter.add_post; import com.beanu.l3_post.model.bean.PostContent; import com.yanzhenjie.album.AlbumFile; /** * @author lizhi * @date 2017/11/14. */ public interface PictureActionCallback { void onAddPictureBtnClick(PostContent postContent); void onPicturePreview(PostContent pos...
22.125
72
0.779661
12f674f3686ba4182f6757e5f1d8d00a448cc263
2,016
/* Nominal Application User */ package common.auth; import common.NominalObject; import common.company.Company; import java.util.HashSet; public class User extends NominalObject { //Atributtes private int id; private HashSet<Company> companies; private Privilege privilege; private final Stri...
21.677419
104
0.61756
1633198a6b4e3643502d63dca8fa644d962f0e8e
7,919
package com.jt.updatedownload.quanyan; import android.animation.AnimatorSet; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.T...
34.580786
121
0.554489
c158688ef7a6094fc714705aa25d352a3046c437
42,805
/* LanguageTool, a natural language style checker * Copyright (C) 2016 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
52.392901
320
0.692069
8db26c044c9ac2b5b907b99a9ca6073ac3e4379c
1,609
package cn.wz.algorithm.algs4; /************************************************************************* * Compilation: javac DirectedEdge.java * Execution: java DirectedEdge * * Immutable weighted directed edge. * *************************************************************************/ import cn.wz.al...
24.378788
105
0.530143
afecfff147675c632414a45e52813b785b7257f3
514
package io.undertow.servlet.test.wrapper; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponseWrapper; /** * @author Stuart Douglas */ public class StandardResponseWrapper extends HttpServletResponseWrapper { /** * Constructs a response adaptor wrapping the given re...
24.47619
73
0.745136
180b6fc6b25d6b215d1e605430d9eca610e48262
320
package org.bandofhawk.ntier.sample.service.model; public class HelloWorldServiceResponseEntity { private String welcomeMessage; public String getWelcomeMessage() { return welcomeMessage; } public void setWelcomeMessage(String welcomeMessage) { this.welcomeMessage = welcomeMessage; } }
18.823529
56
0.75
6631224fe6b3b6974087be72ace7adc6e1ade0e5
250
//skip compare content //CONF: lombok.Getter.flagUsage = WARNING //CONF: lombok.experimental.flagUsage = ERROR public class FlagUsages { @lombok.Getter String x; @lombok.experimental.Wither String z; public FlagUsages(String x, String y) { } }
20.833333
45
0.748
86fff527584caaae22183e53522f47348f6d1680
372
package com.open9527.annotation.layout; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author open_9527 * Create at 2021/2/4 **/ @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) ...
19.578947
44
0.768817
0bda793c06d8f9fafe333112d5939080d827c13a
521
package cn.test10.cc; import java.util.Scanner; public class J1048 { public static void main(String[] args) { Scanner cn = new Scanner(System.in); int M = cn.nextInt(); while(M--!=0){ int a = cn.nextInt(); int b = cn.nextInt(); int sa=0; int sb=0; for(int i=1;i<a;i++){ if(a%i==0){ sa+=i...
15.323529
41
0.504798
b1e828e708aff83e16ea76d66790e0a49419b4ef
4,801
/* * Copyright (c) 2013-2016, EMC Corporation. * 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, * this list of conditions and the followi...
48.01
118
0.687149
8ee491ee09dc854b1b2d2268e51ef123d793104a
209
package com.njackson.utils.time; import java.util.Date; /** * Created by njackson on 17/01/15. */ public interface ITime { public Date getCurrentDate(); public long getCurrentTimeMilliseconds(); }
17.416667
45
0.717703
b5105ef81ef97d6fe444ea2d4b4e053918472502
2,700
package org.deeplearning4j.hadoop.nlp.text; import org.apache.commons.io.IOUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.deeplearning4j.text.sentenceiterator.SentenceIterator; import org.d...
26.732673
104
0.663704
24c7130c4eca998ae378325916d9afc6104522cf
5,264
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2019 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
32.097561
119
0.672302
8742f164e77a1096d6bc08b9db32f8af4f057a30
506
package ie.dit; import processing.core.PApplet; public class class_work extends PApplet { public void settings() { size(500, 500); } public void setup() { } public void draw() { background(255,0,0); noStroke(); fill(255,255,51); ellipse(250,290,400,400); fi...
15.8125
40
0.545455
507537bfd78bc58526d0f7144e2654b533c4d021
11,235
package us.ihmc.humanoidBehaviors.behaviors.examples; import java.util.Random; import javax.vecmath.Point3d; import javax.vecmath.Quat4d; import us.ihmc.communication.packets.TextToSpeechPacket; import us.ihmc.humanoidBehaviors.behaviors.complexBehaviors.ResetRobotBehavior; import us.ihmc.humanoidBehaviors.behaviors...
48.426724
185
0.737873
2723564e016eed0ae2f18d8f15bc558c132b587e
2,119
/* * Copyright 2015 Zack Hoffmann <zachary.hoffmann@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 * * Unles...
30.710145
76
0.654082
eeebc4cd7b797bb5738178d9cc001d65a1d8cb1a
3,329
package com.spring.boot.microservice; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.NotEmpty; import javax.validation.co...
25.806202
125
0.704115
1e1db3bef3992feec21438a8f36eaa4fcc2ae515
157
package org.dreamwalker.sensorfinder; /** * Created by JAICHANGPARK on 10/6/17. */ public interface StepListener { public void step(long timeNs); }
14.272727
38
0.713376
d6965ba516988212f007e5cace64469372fda030
1,672
package com.gallerywithdirectory.library.adapter; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import com.gallerywithdirectory.library.R; ...
24.231884
102
0.758971
a09d065c9a178b603f7b26491f6bb9bae490ed8d
8,426
package uk.ac.ebi.quickgo.rest.search.query; import com.google.common.base.Preconditions; import java.util.*; /** * Contains all of the information necessary to put in a search request to a searchable data source. */ public class QueryRequest { private final QuickGOQuery query; private final Page page; ...
34.532787
117
0.604676
7988a0d73afd980f5cad0e03b157012a224db2a0
123
/** * */ /** * 用户组 * @author: 肖学进 * @date: 2018年7月17日 下午5:43:22 */ package com.jinlong.system.dao.usergroup;
13.666667
41
0.552846
f13a038bddbaa74887dff92371c1547a55cb36bd
485
package io.github.bigbio.pgatk.io.clustering; import io.github.bigbio.pgatk.io.common.cluster.ClusteringFileSpectrumReference; import java.util.Comparator; /** * Created by jg on 05.01.15. */ @Deprecated public class PeakMzComparator implements Comparator<ClusteringFileSpectrumReference.Peak> { @Override p...
28.529412
106
0.773196
e21fcf4f2f418fd6b94423b8f3d8bee1fbbf7c26
1,237
package com.ceiba.reserva.adaptador.dao; import com.ceiba.infraestructura.jdbc.MapperResult; import com.ceiba.reserva.modelo.dto.DtoReserva; import org.springframework.jdbc.core.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; import java.time.LocalDateTime; public class MapeoReserva implements Ro...
44.178571
151
0.780922
bc95e343e32716afaee9ba9fee25a182a6eb821d
362
package cn.iocoder.yudao.coreservice.modules.system.service.user; import cn.iocoder.yudao.coreservice.modules.system.dal.dataobject.user.SysUserDO; /** * 后台用户 Service Core 接口 * * @author 芋道源码 */ public interface SysUserCoreService { /** * 通过用户 ID 查询用户 * * @param id 用户ID * @return 用户对象信息 ...
17.238095
81
0.665746
436ee40f25e4046ef1fd326e746f6d361f754c18
511
package nl.buildforce.sequoia.jpa.processor.core.testmodel; import jakarta.persistence.AttributeConverter; import jakarta.persistence.Converter; //This converter has to be mentioned at all columns it is applicable @Converter() public class StringConverter implements AttributeConverter<String, String> { @Override ...
25.55
76
0.796477
f8792cf791dafe0904ad0017458960bfa9b6a739
265
package com.husd.postman.domain.request; public class PostmanBodyOptionsRaw { private String language; public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } }
17.666667
46
0.675472
e8c52c681df9936e158b98d96d066362b5427a00
1,250
package au.org.aurin.wif.repo.reports.allocation; import java.util.List; import au.org.aurin.wif.model.reports.allocation.AllocationAnalysisReport; /** * The Interface AllocationAnalysisReportDao. */ public interface AllocationAnalysisReportDao { /** * Persist allocation analysis report. * * @param al...
25.510204
80
0.72
dac9bf18409aac463db5d04183f658db52e6688c
407
package org.geogit.osm.map.internal; import org.opengis.feature.Feature; public class MappedFeature { private Feature feature; private String path; public MappedFeature(String path, Feature feature) { this.path = path; this.feature = feature; } public Feature getFeature() { ...
16.958333
56
0.638821
b341689bf8152a8c5bc0026721bc5ad38186c5d0
758
package com.gfacloud.did; import static org.junit.Assert.assertEquals; import org.junit.Test; public class KeyTest { @Test public void keyTest() { String keyID = "keys-1"; String privateKeyHex = "a889f4da49ff8dd6b03d4334723fe3e5ff55ae6a2483de1627bec873b0b73e1e86eabd6abce2f96553251de61def0265...
34.454545
162
0.744063
dd32b3188ff1f5656443131d639fb4f23ce80903
2,050
/** * Copyright © 2015 - 2017 EntDIY JavaEE Development Framework * * Site: https://www.entdiy.com, E-Mail: xautlx@hotmail.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 * * htt...
43.617021
118
0.779024
06389f42f89a4459355d230e670d904b9acdd6da
1,869
// =============================================================================== // Authors: AFRL/RQQD // Organization: Air Force Research Laboratory, Aerospace Systems Directorate, Power and Control Division // // Copyright (c) 2017 Government of the United State of America, as represented by // the Secretary of th...
35.942308
105
0.645265
73d33ecea0f73f773bce3fd030fe6e25db71ff04
1,090
package goalstrategies; import java.util.Spliterator; import java.util.Spliterators; import java.util.stream.StreamSupport; import gameobject.component.type.ComponentTypes; /** * Boss Strategy * @author Yanbo Fang * */ public class BossStrategy extends AbstractGoalStrategy { private boolean isBossDead; publi...
20.961538
105
0.712844
ec276a275fe71be6ab1ec9a9029b0a89cbd52e0f
6,026
package com.example.a1117p.osam.user; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes.OvalShape; import android.o...
38.382166
143
0.55775
81b50a6581cb5c0259f15868775c0a0415d786e3
2,922
package solace.io; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import solace.game.WeaponProficiency; import solace.util.Log; import java.io.IOException; import java.nio.file.Files; import java.util.Arrays; import java.util.Hashtable; /** * Utility class for loading and refe...
34.376471
103
0.662902
768884b97f7a2aa757084b2b533387af0b234206
6,060
// This is a library to be used to represent a Graph and various measurments for a Graph // and to perform optimization using Particle Swarm Optimization (PSO) // Copyright (C) 2008, 2015 Patrick Olekas // // This program is free software: you can redistribute it and/or modify // it under the terms of th...
25.787234
135
0.634323
a7cf2325fe4546d2df389864b7f4e2f6b9874eb3
802
package software.amazon.jsii.tests.calculator.lib; /** * The general contract for a concrete number. */ @javax.annotation.Generated(value = "jsii-pacmak") public interface IDoublable extends software.amazon.jsii.JsiiSerializable { java.lang.Number getDoubleValue(); /** * A proxy class which represents ...
33.416667
139
0.700748
1aa8ff6b8f2ef2bc103c34f72bb93b088acfaa31
24,007
package q.rorbin.verticaltablayout; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.database.DataSetObserver; import android.graphics.Canvas; import android...
36.596037
128
0.569167
96f42656dd1a3f0e446b74de0a8f4b6d21eb351a
650
package com.powerapi.dao; import com.powerapi.utils.CommonUtils; import java.io.IOException; public class GitDao { private static final GitDao INSTANCE = new GitDao(); private GitDao(){ } public static GitDao getInstance(){ return INSTANCE; } public String getCommitName(){ ...
21.666667
66
0.590769
ec3dd2a912d892edead2a7a80f484c423c7fa21d
357
package com.codingame.game.action; import com.codingame.game.gameEntities.Robot; public class Attack extends Action{ public Attack(Robot executor, Robot target){ super(executor,1); this.target = target; } private final Robot target; @Override public void performAction(){ g...
21
48
0.67507
015b6acfd285b4af95dbf66e32f2bc717f2c55fc
13,039
package com.genexus.cryptography.asymmetric; import java.io.UnsupportedEncodingException; import org.bouncycastle.crypto.AsymmetricBlockCipher; import org.bouncycastle.crypto.BufferedAsymmetricBlockCipher; import org.bouncycastle.crypto.Digest; import org.bouncycastle.crypto.InvalidCipherTextException; import org.bou...
35.432065
150
0.745456