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 |
|---|---|---|---|---|---|
a538ce1e6225591299a6a0016051d89224a5fa5f | 803 | package net.netty.plugins.encoder.marshalling;
import org.jboss.marshalling.MarshallerFactory;
import org.jboss.marshalling.Marshalling;
import org.jboss.marshalling.MarshallingConfiguration;
import io.netty.handler.codec.marshalling.DefaultMarshallerProvider;
import io.netty.handler.codec.marshalling.MarshallerProvi... | 36.5 | 87 | 0.835616 |
be354c46da8a053805d4f21d8b83e2ab72ffcb81 | 2,671 | /* Copyright (c) 2017 Boundless and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/edl-v10.html
*
* Contribut... | 32.573171 | 99 | 0.653313 |
26f99103ba920cddf15fc3a08c713402d0a652f2 | 2,180 | package net.langball.lastsmith.blade.others;
import mods.flammpfeil.slashblade.RecipeAwakeBlade;
import mods.flammpfeil.slashblade.SlashBlade;
import mods.flammpfeil.slashblade.item.ItemSlashBlade;
import mods.flammpfeil.slashblade.named.event.LoadEvent.InitEvent;
import net.langball.lastsmith.Last_worker;
import net.... | 54.5 | 296 | 0.774771 |
907550e22e62872b425ca2fd5daba97893aab674 | 1,623 | package choonster.testmod3.command;
import choonster.testmod3.init.ModCommands;
import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
import net.minecraft.server.MinecraftServer;
import net.minecraftforge.server.command.CommandTreeBase;
import java.util.Collections;
import java.util.List... | 23.521739 | 109 | 0.738139 |
6d3b06abbbe166a5823cadb2228bc485809266c2 | 6,215 | /*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* Lic... | 33.777174 | 127 | 0.697184 |
3ef6b7c0b10f51c445c7c6ab567e89ae0c282672 | 293 | package fr.vernoux.rentabike.domain.journey;
import fr.vernoux.rentabike.domain.bike.BikeId;
import java.util.List;
public interface JourneyRepository {
void save(Journey journey);
List<Journey> findAll();
List<Journey> findAllByBike(BikeId bikeId);
void deleteAll();
}
| 17.235294 | 47 | 0.740614 |
8db5c0e90de0ba39979e9c05b4bfe33055196fa1 | 852 | /*
* Copyright © 2020 LambdAurora <aurora42lambda@gmail.com>
*
* This file is part of SpruceUI.
*
* Licensed under the MIT license. For more information,
* see the LICENSE file.
*/
package dev.lambdaurora.spruceui.background;
import dev.lambdaurora.spruceui.widget.SpruceWidget;
import net.minecraft.client.util... | 23.027027 | 117 | 0.713615 |
de3b60419c325b27d291e998c89057e3f38b7cf4 | 3,770 | package nl.hsac.fitnesse.fixture.slim;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import sta... | 38.469388 | 115 | 0.675597 |
cbd1200123c4fe73cd235bf898bb27f8bd776707 | 3,923 | /**
* <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... | 38.460784 | 134 | 0.763446 |
b64a9e8e3f8b0ddb730e02888447bfee990c1e8d | 455 | import java.io.IOException;
import java.util.*;
public class URIBlobs {
public static void main(String[] args) throws IOException {
Scanner leitor = new Scanner(System.in);
int quantidade = leitor.nextInt();
for(int i = 0; i < quantidade; i++) {
double numero = leitor.nextDouble();
int qtde ... | 20.681818 | 60 | 0.582418 |
4f794000c15555e696f5a65716d98a11227d1886 | 759 | package aoj;
import java.io.PrintWriter;
import java.util.Scanner;
public class P1315 {
static Scanner cin = new Scanner(System.in);
static PrintWriter cout = new PrintWriter(System.out);
public static void main(String[] args) {
for (int n = cin.nextInt(); n-- > 0; ) {
char cs[] = cin... | 24.483871 | 58 | 0.434783 |
72edb43e2a132becfe07f8fa5415118c12e77975 | 309 | package com.ruoyi.integrator.mapper;
import java.util.List;
import com.ruoyi.integrator.domain.InAppAccess;
/**
* 接入应用Mapper接口
*
* @author zhangxiulin
* @date 2021-02-01
*/
public interface InAppAccessMapper extends InAppAccessMapperAuto
{
InAppAccess selectInAppAccessByAppKey(String appKey);
}
| 17.166667 | 64 | 0.773463 |
2c61a1be65de913f6e1700cf76a1c4c6bb2b8eb0 | 8,787 | package com.tibco.bw.studio.maven.wizard;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.Se... | 33.666667 | 194 | 0.767611 |
661281075c5d47bd680bfd980ecd2de11e08666a | 11,173 | package ruolan.com.livestreaming.logic;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import android.util.Log;
import com.tencent.TIMCallBack;
import com.tencent.TIMFriendGenderType;
import com.tencent.TIMFriendshipManager;
import com.tencent.TIMUserProfile;
import com.tencent.TIMValueCall... | 31.473239 | 145 | 0.534145 |
24a40aa5b693c05f316facbfa94c052e255bafad | 5,237 | /*
* 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 n... | 28.774725 | 111 | 0.656483 |
0bbdbef602a84cab4de43d33633cbe8a6d6d0769 | 247 | package net.sf.esfinge.metadata.locate.conventions.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@SuffixConvention("Suffix")
@Retention(RetentionPolicy.RUNTIME)
public @interface HasSuffix {
}
| 22.454545 | 63 | 0.825911 |
278756f3566960febc957db3955d516068b141b3 | 2,482 | package com.hujiang.project.zhgd.dustEmissionThresholdValue.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 项目扬尘设备阈值表 dust_emission_threshold_value
*
* @author hujiang
* @date 2019-07-08
*/
public class DustEmissionThreshol... | 18.946565 | 72 | 0.616438 |
137cbaba9e4156e41fe62bd2742fa9b0d1408a8f | 4,140 | package com.teamacronymcoders.base.materialsystem.compat.base;
import com.teamacronymcoders.base.Base;
import com.teamacronymcoders.base.materialsystem.MaterialException;
import com.teamacronymcoders.base.materialsystem.MaterialSystem;
import com.teamacronymcoders.base.materialsystem.compat.IMaterialCompat;
import com... | 39.807692 | 106 | 0.672947 |
71ddaa2a36c2786832029e0a54e2e97be87e09f4 | 3,541 | package com.project.wanderlust.Activities;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import an... | 31.061404 | 99 | 0.594747 |
8929caf283999b47e026ca67373d0ba955791a9c | 900 | package com.mfinance.everjoy.app.bo;
public class LiquidationRecord {
public ContractObj contract;
public String sExeDate;
public String sExeTime;
public double dAmount;
public double dCommission;
public double dPL;
public double aPL;
public double pldiff;
public double dInterest;
public double dFloatInteres... | 20 | 75 | 0.736667 |
5f7847cee37f4234765378a1be46f1ca4008a662 | 2,318 | package com.example.engdesoftware;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import c... | 30.906667 | 107 | 0.666954 |
286123b96e512a5fd2329a0fa4dcb3a03369bb2a | 1,335 | /*
* Copyright 2020 Xiaomi
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 27.244898 | 78 | 0.68839 |
f76f6419bc392a436a72aef61bcf33877273a64d | 4,757 | package com.github.automain.vo;
import com.github.fastjdbc.BaseBean;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
public class SysUserAddVO implements BaseBean<SysUserAddVO> {
// 用户GID
private String gid;
// 创建时间
private Integer createTime;
... | 23.785 | 77 | 0.565903 |
9a4e7edbf9922bd5e0d404e79e82e2f0092e9dcd | 2,839 | /*
*
* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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.o... | 36.87013 | 88 | 0.680169 |
4d2e83d0309cb563463f5992f806777b99fba13f | 1,597 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Business.Role;
import Business.EcoSystem;
import Business.Enterprise.Enterprise;
import Business.Network.Network;
import Business.Organization.Organization;
import Business.UserAccount.UserAccount;
import javax.... | 28.017544 | 162 | 0.64809 |
2df15d42dfdcf7353c1d52d61ee7b212089b3a05 | 102 | package cn.gyw.thirdpart.poi.model;
public interface ExeclColRnderer {
String view(Object o);
}
| 14.571429 | 35 | 0.745098 |
b3e24c437c87e3d40b25b0f1676b16ce7235ebf7 | 1,239 | package org.github.rwynn.wellington.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import javax.validation.constraints.NotNull;
@ConfigurationProperties(value = "info.app")
@Component("appProps")
public class ApplicationPropert... | 20.65 | 75 | 0.668281 |
075b3db979960c241c85813b7359004877081e41 | 867 | package com.anguo.app.db.domain;
/**
* 验证对象
* @author Andrew
*
*/
public class Sign {
public Sign(String uuid) {
super();
this.uuid = uuid;
this.timestamp=String.valueOf(System.currentTimeMillis());
}
public Sign() {
super();
}
@Override
public String toString() {
return "Sign [sign=" + sign ... | 14.213115 | 70 | 0.618224 |
c0ccfc6390579dcc4b9366ac1c93192c06eeba69 | 800 | package classes.managers;
import classes.CollisionListener;
import com.badlogic.gdx.physics.box2d.Box2D;
import com.badlogic.gdx.physics.box2d.ContactListener;
import com.badlogic.gdx.physics.box2d.World;
import static classes.Constants.GRAVITY;
public class WorldManager
{
public World world;
// Shape helpe... | 20 | 76 | 0.645 |
743cd4022f3c902c9fd5a4af6306fa474ba91161 | 280 | package generic;
public class GiftBox<T> implements Comparable<T>{
private T gift;
public void wrap(T gift) {
this.gift = gift;
}
public T unwrap() {
return this.gift;
}
@Override
public int compareTo(T o) {
// TODO Auto-generated method stub
return 0;
}
}
| 12.173913 | 49 | 0.664286 |
71f632ea4478bf7e1cc75e8deef9f949cc48d68e | 1,015 | import java.util.Arrays;
import java.util.Deque;
import java.util.HashSet;
import java.util.LinkedList;
public class simplifyPath {
private simplifyPath() {
};
public String simplifyPath(String path) {
// use stack to store the abcde
Deque<String> stack = new LinkedList<>();
// cre... | 33.833333 | 76 | 0.550739 |
52ae7108237a152b1e228ca2dcefa2d8d4fea8cd | 4,618 | /*
* copyright (c) 2015ff IST GmbH Dresden, Germany - https://www.ist-software.com
*
* This software may be modified and distributed under the terms of the MIT license.
*/
package com.composum.pages.commons.filter;
import com.composum.pages.commons.AssetsConfiguration;
import com.composum.pages.commons.PagesConfig... | 32.293706 | 101 | 0.585751 |
d17a2c18e32e77b5b6e7374b55baee5ba9b91fe5 | 666 | package com.hq.android.hserver.sdk.nano;
public enum Status {
SWITCH_PROTOCOL(101, "Switching Protocols"),
OK(200, "OK"),
REDIRECT(301, "Moved Permanently"),
BAD_REQUEST(400, "Bad Request"),
INTERNAL_ERROR(500, "Internal Server Error");
private final int requestStatus;
private final String... | 25.615385 | 64 | 0.665165 |
2942eb9e471cbcf273190ac85c5486c4e7a831c3 | 1,014 | package ru.didim99.tstu.core.knowledge.rulebase;
import android.content.Context;
import com.google.gson.Gson;
import java.io.IOException;
import ru.didim99.tstu.core.CallbackTask;
import ru.didim99.tstu.utils.MyLog;
import ru.didim99.tstu.utils.Utils;
/**
* Created by didim99 on 09.03.19.
*/
public class RuleBaseLo... | 28.166667 | 79 | 0.703156 |
ae53b0c9798eba7f37c325db0a180502e070a809 | 26 | //expression
(Object) null | 13 | 13 | 0.769231 |
54fbb7ad50cfa28e7bddd8bda1388efe432bc49d | 332 | package org.tiankafei.collection.param;
import java.io.Serializable;
import lombok.Data;
/**
* 正则表达式对象
*
* @author tiankafei
* @since 1.0
*/
@Data
public class RegularExpressionVo implements Serializable {
/**
* 表达式
*/
private String expression;
/**
* 提示信息
*/
private String ... | 12.769231 | 58 | 0.629518 |
3c4d78d19efb819cf3b9b09e026965137b042d8f | 638 | package de.plushnikov.intellij.plugin.action.delombok;
import com.intellij.openapi.application.ApplicationManager;
import de.plushnikov.intellij.plugin.processor.clazz.SetterProcessor;
import de.plushnikov.intellij.plugin.processor.field.SetterFieldProcessor;
import org.jetbrains.annotations.NotNull;
public class Del... | 37.529412 | 82 | 0.827586 |
10f8cfff8209b6e8909667800efc4622ce8eeb61 | 5,554 | /*
* This file is generated by jOOQ.
*/
package com.sourceclear.agile.piplanning.service.jooq.tables.records;
import com.sourceclear.agile.piplanning.service.jooq.tables.Solutions;
import org.jooq.Field;
import org.jooq.Record1;
import org.jooq.Record5;
import org.jooq.Row5;
import org.jooq.impl.UpdatableRecordImp... | 21.695313 | 127 | 0.533489 |
0d0d3902c9c775067d16b36468e6d017f9e7108b | 3,868 | package sparkengine.delta.sharing.utils;
import com.google.common.hash.Hashing;
import io.delta.standalone.internal.date20210612.PartitionFilterUtils;
import lombok.AllArgsConstructor;
import lombok.SneakyThrows;
import org.apache.hadoop.fs.Path;
import org.apache.spark.sql.delta.DeltaLog;
import scala.Tuple2;
import ... | 37.921569 | 167 | 0.624354 |
e3622b9fa4e8846c04a840cb4d19cab9fe5b9eb7 | 1,816 | package com.chuansen.modules.system.mapper;
import com.chuansen.modules.system.entity.Job;
import com.chuansen.modules.system.entity.dto.JobSmallDTO;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import org.springframework.stereotype.Component;
@Generated(
value = "org.maps... | 24.540541 | 104 | 0.598568 |
fffc9296763e9724a07bcb11b782bb59bdddd9cb | 2,731 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.formatting.fileSet;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.ProjectManager;
import com.intellij.openapi.util.Pair;
i... | 28.747368 | 140 | 0.715855 |
31eca26628a057176bcf770d844cb7735d209c94 | 401 |
package javaTraining;
import java.util.Scanner;
public class SumOfAllDigitNum {
public static void main(String[] args) {
int num,sum = 0, rem ;
System.out.println("Enter a Number");
Scanner ref = new Scanner(System.in);
num = ref.nextInt();
while (num > 0) {
rem = num % 10;
sum = sum +... | 16.708333 | 41 | 0.591022 |
0490b62efccd7c7bc3dda75d12b5e307d80317e2 | 5,868 | /*
* 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 ... | 37.615385 | 96 | 0.69683 |
6f64f9f90d4bcbdfe22fa700f40f6153bcdfe14c | 1,766 | package com.ray3k.skincomposer.dialog.scenecomposer.undoables;
import com.ray3k.skincomposer.data.DrawableData;
import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposer;
import com.ray3k.skincomposer.dialog.scenecomposer.DialogSceneComposerModel;
public class ContainerBackgroundUndoable implements Scene... | 32.703704 | 104 | 0.668743 |
86dd368945bad70c02b020a5d0a8ff7be6f6e7df | 5,168 | /*
* 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.708861 | 85 | 0.692337 |
7e3266cd4d6d580fcfe1229af7ced657b9655461 | 753 | package de.webis.trec_ndd.spark;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import org.junit.Assert;
import org.junit.Test;
public class DocumentGroupTest {
@Test
public void checkThatUnusedDocumentGroupIsDectedAsUnused() {
HashSet<String> usedDocIDs = new HashSet<>();
Docum... | 25.965517 | 65 | 0.737052 |
3ebf3a2d2366aec1cbfff86b1931dca89c4cc8a8 | 2,505 | package br.com.zupacademy.eliasnepo.ecommerce.product;
import java.util.Set;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bi... | 37.954545 | 132 | 0.819561 |
ab537be37a7ce9058a0fb0cdd7792671edb35e6e | 2,989 | /*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | 25.547009 | 75 | 0.697892 |
4736730210adf01ed0354611085c142dea99f19e | 11,748 | package uncentralized.unet.uncentralized.Handlers;
import org.json.JSONArray;
import org.json.JSONObject;
import uncentralized.unet.uncentralized.Main;
import java.io.*;
import java.net.Socket;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import static... | 39.16 | 139 | 0.478805 |
9f8fbc318a82a6e21b7bf6efc30f0c532b9c77a5 | 711 | package net.teamfruit.signpic.manager;
import org.bukkit.configuration.file.FileConfiguration;
public class I18n {
private final FileConfiguration lang;
public I18n(final FileConfiguration langConfig) {
this.lang = langConfig;
}
public String format(final String key) {
final String str = this.... | 22.21875 | 64 | 0.697609 |
59f7d77a581e0bb56242328467d83d11e6dcb733 | 1,052 |
package lee.codetest.code_234__Palindrome_Linked_List;
import org.junit.Test;
/**
testcase:[1,2]
*/
public class CodeTest
{
@Test
public void testSolution() throws Exception
{
//new Solution()
lee.code.code_234__Palindrome_Linked_List.C234_MainClass.main(null);;
}
}
/**
*
*
* 234.Palindro... | 26.974359 | 79 | 0.727186 |
d2389a1ba41dc3ca020c77dcc1f5ffa1beeb88c6 | 1,387 | /*
* Copyright © 2015 Cask Data, 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 24.333333 | 80 | 0.690699 |
c4c9082d7514e98b9c78e4c542f732f0defddd4e | 3,193 | package com.qa.ims.controller;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.qa.ims.exceptions.OrderNotFoundException;
import com.qa.ims.persistence.dao.ItemDAO;
import com.qa.ims.persistence.dao.OrderDAO;
import com.qa.ims.persistence.dao.Order... | 26.608333 | 95 | 0.719699 |
ee3025af50b9207481de14a78e62e5a541e33db5 | 1,879 | package de.blau.android.util;
import org.acra.ACRA;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import de.blau.android.App;
import de.blau.android.osm.StorageDelegator;
/**
*
* A couple of helper methods for ACRA
*
* @author Simon Poole
*
*/
public c... | 37.58 | 157 | 0.641299 |
30802ce886a98aae7121d20bb84272487cc8538f | 281 | package com.orznewbie.service;
import com.orznewbie.entity.Video;
import java.util.List;
public interface VideoService {
int insert(Video video);
int delete(Integer id);
int update(Video video);
List<Video> queryAll();
List<Video> query(Integer chid);
}
| 15.611111 | 36 | 0.704626 |
46b242f1686705c1f789f55eb5bb8f059a330146 | 1,978 | /**
* TLS-Attacker - Anonymous submission
*
* Licensed under Apache License 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package anonymous.modifiablevariable.filter;
import anonymous.tlsattacker.modifiablevariable.filter.ModificationFilterFactory;
import anonymous.tlsattacker.modifiablevariable.Modificatio... | 29.088235 | 95 | 0.772497 |
7c494be6e3a0da5b936bfa31d586cd4192d71439 | 13,335 | package com.hbm.entity.mob;
import java.util.List;
import com.hbm.entity.effect.EntityNukeCloudSmall;
import com.hbm.entity.logic.EntityNukeExplosionMK4;
import com.hbm.entity.mob.ai.EntityAINuclearCreeperSwell;
import com.hbm.explosion.ExplosionParticle;
import com.hbm.explosion.ExplosionParticleB;
import com.hbm.it... | 30.445205 | 225 | 0.719385 |
3c6cab35f257d447e301b13446e0c4acd422a7a3 | 808 | package com.mdbank.model.dto;
public class Result<E> {
private E load;
private ResultStatus status;
private String message;
public Result(E load, ResultStatus status, String message) {
this.load = load;
this.status = status;
this.message = message;
}
public E getLoad()... | 18.363636 | 64 | 0.581683 |
522df44bb4700399bd78dc16d303a5ace50e8792 | 3,342 | package com.planet_ink.coffee_mud.Abilities.Ranger;
import com.planet_ink.coffee_mud.Abilities.StdAbility;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
impo... | 27.619835 | 87 | 0.732496 |
0b7af8137e9ec60b52ba10ed07de9f2d20a2bc0f | 3,254 | package com.google.android.gms.internal.ads;
import android.text.TextUtils;
import com.google.android.gms.ads.internal.zzbv;
import com.mopub.common.AdType;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
impor... | 36.561798 | 159 | 0.538107 |
6910016bc33ed80136422dd18dc179ef87651f99 | 10,439 | /* ********************************************************************
Licensed to Jasig under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Jasig licenses this file to you under the Apache License,
... | 27.911765 | 83 | 0.67928 |
9fb5ea735cad3ce986dc2e663ce336966238e7af | 5,321 | /**
* Copyright (c) 2012-2017, jcabi.com
* 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) Redistributions of source code must retain the above
* copyright notice, this list of condition... | 32.445122 | 79 | 0.620748 |
dc33b9d1b7c55eaf53e5aa43c930e53c9a14afe3 | 8,210 | /**
* Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved.
*
* 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 fil... | 43.670213 | 143 | 0.559683 |
5fe0d1c4ae127a8d2357f63f57e3b4d72d18c4f6 | 1,027 | package org.proteored.miapeapi.xml.ge;
import org.proteored.miapeapi.interfaces.ge.ImageAcquisitionEquipment;
import org.proteored.miapeapi.xml.ge.autogenerated.GEImageAcquisitionEquipmentType;
import org.proteored.miapeapi.xml.ge.util.GEControlVocabularyXmlFactory;
public class ImageAcquisitionEquipmentImpl extends ... | 31.121212 | 103 | 0.844206 |
1b0aff9c31c81192896afa3ced728f31ca1fe7b3 | 863 | package com.sebuilder.interpreter.script.seleniumide;
import com.sebuilder.interpreter.Locator;
import com.sebuilder.interpreter.StepBuilder;
import org.json.JSONException;
public abstract class AbstractLocatorStepConverter extends AbstractStepConverter {
@Override
protected StepBuilder getBuilder(SeleniumID... | 34.52 | 119 | 0.71263 |
719b33ff72464c470ee28762c47dbabba76c232d | 894 | package ru.jollydroid.dagger2demo;
import javax.inject.Singleton;
import dagger.Component;
// Компонент — это структура, которая связывает модули — поставщики объектов и классы — потребители этих объектов.
// На языке программирования компонент описывается как интерфейс. Реализация этого интерфейса будет создана авт... | 49.666667 | 150 | 0.821029 |
a233b69d80c38b11b66cef09799954dfc5ab21f7 | 8,319 | package com.android.mm.webrtc;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;... | 38.873832 | 92 | 0.687823 |
6d724193dbcfd702ba13455d474a888f6f869a80 | 6,591 | /*
The MIT License (MIT)
Copyright (c) 2015 Thomas "Peardian" Hernandez
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, ... | 30.513889 | 83 | 0.521165 |
016e4c68caa75aad28ba56e463d120409a483d12 | 1,271 | /*
* Copyright (c) 2021 REPLACE_CUSTOMER_NAME. All rights reserved.
*
* This file is part of myhr-web-app-service.
*
* myhr-web-app-service project and associated code cannot be copied
* and/or distributed without a written permission of REPLACE_CUSTOMER_NAME,
* and/or its subsidiaries.
*/
package com.myhr.erro... | 32.589744 | 133 | 0.745083 |
988a27218375fe2da331131d483541020898dac2 | 3,197 | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.
*/
package com.huawei.bigdata.oozie;
import com.huawei.bigdata.utils.Helper;
import com.huawei.bigdata.utils.PropertiesCache;
import org.apache.oozie.client.OozieClient;
import org.apache.oozie.client.OozieClientException;
import org.s... | 28.292035 | 97 | 0.625274 |
2f57156635591886740cab623e4ca4d936829b70 | 1,242 | package de.hdm_stuttgart.huber.itprojekt.shared;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import de.hdm_stuttgart.huber.itprojekt.shared.domainobjects.UserInfo;
import java.util.Vector;
/**
* Wird zur Anmeldung mit dem Google AccountEditVi... | 29.571429 | 101 | 0.727053 |
60892bbbed34ba4764a3fbbe7e06d44e168494d4 | 3,100 | package ru.stqa;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.Select;
import static org.openqa.selenium.support.ui.ExpectedConditions.tit... | 44.927536 | 150 | 0.658387 |
07472488967c9f6255fddcedb8714906f372dc8d | 3,545 | package com.example.manuelrixen.abbtestapp.Barcode;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import android.widget.Toast;
import com.example.manuelrixen.abbtestapp.R;
import com.google.zxing.integration.android.IntentIntegrator;
... | 36.927083 | 125 | 0.5622 |
4313f7e0a024fb6f25edad70daded9353f52d582 | 2,679 | package ru.stqa.project1.mantis.tests;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
import ru.lanwen.verbalregex.VerbalExpression;
import ru.stqa.project1.mantis.model.MailMessage;
import ru.stqa.pro... | 39.985075 | 107 | 0.691676 |
ed0823788bf3e0b8a9c936c006a5e4230140e05b | 2,546 | package net.sf.l2j.gameserver.network.clientpackets;
import net.sf.l2j.Config;
import net.sf.l2j.gameserver.data.xml.AdminData;
import net.sf.l2j.gameserver.instancemanager.PetitionManager;
import net.sf.l2j.gameserver.model.actor.instance.Player;
import net.sf.l2j.gameserver.network.SystemMessageId;
import net.sf.l2j... | 34.405405 | 196 | 0.79458 |
a066bbeb196a0f22337818c84a322f5a805210ff | 4,147 | /*
* Project: OSMP
* FileName: GlobalUtils.java
* version: V1.0
*/
package com.osmp.utils.base;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.slf4j.Logger;
import org... | 24.684524 | 103 | 0.651314 |
03f1a6e1346793383c6cf983b028afa06a3b8c8c | 3,970 | /*
* Copyright (c) 2016-2021 VMware Inc. or its affiliates, 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... | 24.8125 | 82 | 0.712594 |
485a3d92f995982fa054a9e55b786ab435c06299 | 455 | package edu.fiuba.algo3.modelo;
import edu.fiuba.algo3.modelo.objetos.Objeto;
import org.junit.jupiter.api.Test;
import java.io.FileNotFoundException;
public class ObjetoTest {
@Test
public void seLeenAlgunosObjetos() throws FileNotFoundException {
}
@Test
public void sePuedeCargaUnObjeto() th... | 16.851852 | 76 | 0.738462 |
1a0de818270643dbd474e8f0ff3c10b20946144c | 14,091 | /*
* Copyright 2015 Google 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 46.813953 | 100 | 0.740118 |
f1c822155ebae9f4f2dad34e162262135a56aee5 | 1,662 | package com.scalar.ist.contract;
import static com.scalar.ist.common.Constants.DISALLOWED_CONTRACT_EXECUTION_ORDER;
import static com.scalar.ist.common.Constants.ORGANIZATION_IDS_ARGUMENT;
import static com.scalar.ist.common.Constants.ORGANIZATION_IDS_REQUIRED;
import static com.scalar.ist.common.Constants.PERMISSION_... | 33.24 | 97 | 0.777978 |
d8c5aef58608dc8188c2e3f0db6395dc6c39ae74 | 9,862 | /*
* Copyright 2015 Jesús Adolfo García Pasquel
*
* 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... | 37.498099 | 89 | 0.686068 |
a49bf471fca4f5f37209358082d9683c01850d1a | 1,572 | package com.intelligt.modbus.jlibmodbus.serial;
import com.google.android.things.AndroidThings;
import com.google.android.things.pio.PeripheralManager;
import java.util.List;
/*
* Copyright (C) 2017 Vladislav Y. Kochedykov
*
* [http://jlibmodbus.sourceforge.net]
*
* This file is part of JLibModbus.
*
* Licens... | 28.581818 | 75 | 0.708015 |
ee9cc043f326107e9f141cf2c43af5a9d7cdbb0b | 2,935 | package hyperml.base;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Stream;
/**
* Utils.
*
* @author krizz
*/
public class Util {
private Util() {
}
/... | 23.48 | 92 | 0.555026 |
73e6a2ae43522a64681ad80cbe9eb84bb33eda41 | 591 | /*
* Copyright (c) 2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.provisioning.ucf.api;
import com.evolveum.midpoint.xml.ns._public.common.common_3.ConnectorHostType;
/*... | 24.625 | 78 | 0.730964 |
afdf62d222c394c6dbdd901c50c2f268e658fde2 | 628 | package genericparadigm;
/**
*
* @program: daydayup
* @description: 显示声明泛型形参
* @version: v1.0.0
* @author: gaorunding
* @date: 2021-06-04 10:37
* <p>
* Modification History: Date Author Version Description
* ------------------------------------------------------------ 2021-06-04 gaorunding v1.0.0 修改原因
*/
pub... | 22.428571 | 97 | 0.52707 |
773d15183ad7b160ef5ea32ac097d55240b19ea0 | 1,369 | package com.github.elrol.run4lessplugin;
import net.runelite.client.ui.overlay.Overlay;
import net.runelite.client.ui.overlay.OverlayPosition;
import net.runelite.client.ui.overlay.OverlayPriority;
import net.runelite.client.ui.overlay.components.PanelComponent;
import net.runelite.client.ui.overlay.components.TitleCo... | 35.102564 | 141 | 0.718042 |
e641f6072b10d7bef0b37b10af2deb76a63040df | 768 | /**
* @author Lolipop
* @lastUpdate 2019/12/7
*/
public class TestPerson {
public static void main(String[] args) {
Person testPerson = new Person("XiaoMing", "Male", 20);
testPerson.display();
System.out.println("-----------------");
testPerson.setName("XiaoHong");
testP... | 28.444444 | 112 | 0.528646 |
5503cba106f3c59372c831b97c5d81ed1af4eadb | 159 | package com.revature.poly;
public class Mammal {
public String s ="Popsicle";
public void eat() {
System.out.println("I'm a mammal who is eating");
}
}
| 15.9 | 51 | 0.685535 |
5216f9bdf0ca80f290fd1c838c5b6be49e0008ab | 8,452 | /*
* JBoss, Home of Professional Open Source.
*
* Copyright 2017 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Li... | 44.719577 | 139 | 0.6938 |
b676d15ee51328fe04156432e26340f6425a141b | 10,792 | package com.oreumio.james.rest.filter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.authentication.*;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.core.conte... | 40.724528 | 140 | 0.693291 |
497a78793818994e8ef919958628cd77aa2a34c5 | 215 | package com.example.providerservice.uitls;
import org.springframework.stereotype.Component;
import org.springframework.web.filter.FormContentFilter;
@Component
public class PutFilter extends FormContentFilter {
}
| 23.888889 | 56 | 0.851163 |
79eb76b6e017e8badc65174b09005d0b8eede8f8 | 878 | package com.vmware.spring.workshop.dao.impl.hibernate;
import java.util.Collections;
import java.util.List;
import org.hibernate.transform.ResultTransformer;
/**
* @author Lyor G.
* @since Oct 4, 2011 9:17:07 AM
*/
public class CountEntitiesResultTransformer implements ResultTransformer {
private static final... | 27.4375 | 103 | 0.725513 |
812025a56997aaada60495a13b4b01f0019bfae8 | 623 | package no.nav.veilarbvedtaksstotte.config;
import no.nav.veilarbvedtaksstotte.controller.*;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
@Configuration
@Import({
BeslutterController.class,
BeslutteroversiktController.class,
... | 29.666667 | 60 | 0.752809 |
d847685ddd7d8d3d76f690526d872ae526494f3e | 2,895 | package com.aqryuz.zstore.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.... | 35.304878 | 102 | 0.756477 |
4f68562f848d4bd816a44fec679223d6ebb7c3f6 | 5,389 | /*
* _ _____ _ _ _ _
* | | | __ \ | | | \ | | | |
* | | | |__) | __ _ | | __ | \| | ___ | |_
* _ | | | _ / / _` | | |/ / | . ` | / _ \ | __|
* | |__| | | | \ \ | (_| | | < | |\ | | __/ | |_
* \____/ |_| \_\ \__,_| |_|... | 39.918519 | 106 | 0.702728 |
593cfbf5523a82369f2d004991cc254bc2403435 | 2,942 | package org.craft.sound;
import java.net.*;
import java.util.*;
import com.google.common.collect.*;
import org.craft.*;
import org.craft.resources.*;
import org.craft.utils.*;
public class AudioRegistry
{
public static HashMap<String, List<AudioInfo>> audioFiles = Maps.newHashMap();
public static void ini... | 27.240741 | 149 | 0.580897 |
5a98c8d929b69eedf148ce3a7e5b021782b73d90 | 1,180 | package io.markdom.model;
import io.markdom.common.MarkdomBlockType;
import io.markdom.common.MarkdomListBlockType;
import io.markdom.model.selection.MarkdomBlockSelection;
import io.markdom.model.selection.MarkdomListBlockSelection;
public interface MarkdomOrderedListBlock extends MarkdomListBlock {
@Override
pub... | 26.818182 | 85 | 0.826271 |
49479e9bb13a9892eb28cc81d1c62cbe53e2279e | 958 | package com.luo.provider.controller;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;
impo... | 34.214286 | 118 | 0.746347 |
a890d51aa866a0f2e4e105de7caa7e5ebd4a32e1 | 863 | package com.in28minutes.learnspringframework;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import com.in28minutes.learnspringframework.game.GameRunner;
@SpringBootApplication
... | 28.766667 | 83 | 0.800695 |
943014aca7e7cf7502c682ae0e3b66670f9134aa | 4,319 |
// P A C K A G E ///////////////////////////////////////////////////////////////////////////////////
package co.popapp.swing;
// I M P O R T /////////////////////////////////////////////////////////////////////////////////////
import static java.awt.Font.TRUETYPE_FONT;
import static java.awt.Font.createFont;
import s... | 34.007874 | 100 | 0.564251 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.