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 |
|---|---|---|---|---|---|
c4f143e92bdd69751747810b67d8b55b6aabaf25 | 885 | package me.limeglass.khoryl.elements.conditions;
import org.bukkit.entity.LivingEntity;
import ch.njol.skript.Skript;
import ch.njol.skript.conditions.base.PropertyCondition;
import ch.njol.skript.doc.Description;
import ch.njol.skript.doc.Examples;
import ch.njol.skript.doc.Name;
import ch.njol.skript.doc.Since;
imp... | 25.285714 | 95 | 0.764972 |
40ba295a9d8a7ccc28f9eddb2fb8e616e1c2d1c2 | 351 | package cn.ac.iie.cassandra;
/**
* 不存在该keyspace异常
*
* @author Xiang
* @date 2016-09-20 18:54
*/
public class NoSuchKeyspaceException extends Exception {
public NoSuchKeyspaceException(String message){
super(message);
}
public NoSuchKeyspaceException(String message, Throwable cause){
... | 18.473684 | 68 | 0.68661 |
b4d168c8da673673cc0dac7fa17ba007c3be0d8a | 991 | package org.aries.ui.convert;
import java.io.Serializable;
import javax.faces.application.FacesMessage;
import javax.faces.application.FacesMessage.Severity;
import javax.faces.validator.ValidatorException;
import org.aries.runtime.BeanContext;
import org.aries.ui.Display;
@SuppressWarnings("serial")
public abstra... | 28.314286 | 82 | 0.793138 |
b6682c840064301b116e218a6e170cac116566ec | 1,923 | /**
* This file is Copyright © 2008 Software Craftsmen Limited. All Rights Reserved.
*/
package com.softwarecraftsmen.dns.messaging;
import com.softwarecraftsmen.unsignedIntegers.Unsigned4BitInteger;
import com.softwarecraftsmen.unsignedIntegers.Unsigned16BitInteger;
import static com.softwarecraftsmen.unsignedInteg... | 31.52459 | 104 | 0.817993 |
3c2d550e4dde0e8b1974d21f9107a3baef985338 | 929 | package org.torrent.bEncode;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import org.torrent.bEncode.vlaue.BEncode;
import org.torrent.bEncode.vlaue.BList;
import org.torrent.bEncode.vlaue.BLong;
import org.torrent.bEncode.vlaue.BMap;
import org.torrent.bEncode.vlaue.BS... | 25.108108 | 76 | 0.698601 |
a6c7b9221ad92ebff9eee59f2f4a8a5a12db2f5d | 1,876 | package fred.angel.com.mgank.presenter;
import org.json.JSONArray;
import org.json.JSONException;
import fred.angel.com.mgank.component.Utils.Utils;
import fred.angel.com.mgank.model.DateGankModel;
import fred.angel.com.mgank.model.IDateGankModel;
import fred.angel.com.mgank.model.INetCallback;
import fred.angel.com.... | 27.588235 | 66 | 0.643923 |
7bbf66d56925fa1fa73c7680a3e670c516ab3c50 | 1,943 | package com.home.commonGame.scene.unit;
import com.home.commonBase.data.scene.unit.identity.CharacterIdentityData;
import com.home.commonBase.scene.base.Unit;
import com.home.commonBase.scene.unit.UnitIdentityLogic;
import com.home.commonGame.part.player.Player;
import com.home.commonGame.part.player.part.System... | 19.237624 | 75 | 0.67473 |
60a110005b4a406cea42fd11aa61f28d1670aa80 | 4,695 | /*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://duracloud.org/license/
*/
package org.duracloud.account.app.controller;
import javax.validation.Valid;
import org.duracloud.a... | 42.681818 | 109 | 0.659425 |
0c7f33365ea3ea87d65892cf85968a8cd5b028a3 | 9,899 | /*!
* Copyright 2010 - 2015 Pentaho Corporation. 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 requi... | 41.944915 | 144 | 0.709668 |
03188cbe138130cb5e10d7f84fc55ebda3da4c64 | 844 | package divisio.dl4jwine;
import java.io.File;
import java.io.IOException;
public interface Trainer {
/**
* @return a tag to be used in creating the name of the folder with the training result. This is necessary so we
* can later compare different training results.
*/
String getTag();
/**... | 20.585366 | 116 | 0.618483 |
d95cddf569c6b6bf76b2007e762af02c9665c803 | 285 | package org.zalando.zmon.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class NoOpEventLog {
private final Logger LOG = LoggerFactory.getLogger(NoOpEventLog.class);
public void log(Object ... objects){
LOG.info("EventLog: {}", objects);
}
}
| 17.8125 | 72 | 0.736842 |
23dad7bea8bb2470b75ec06ea3d45664f66cfa61 | 973 | package org.locationtech.geowave.datastore.foundationdb.util;
import com.apple.foundationdb.async.AsyncIterator;
import org.locationtech.geowave.core.store.base.dataidx.DataIndexUtils;
import org.locationtech.geowave.core.store.entities.GeoWaveRow;
import com.apple.foundationdb.KeyValue;
public class FoundationDBData... | 34.75 | 96 | 0.787256 |
d6992f825258d9da9c403ab49a07b27499e47af3 | 9,029 | /**
* pims-tools org.pimslims.command.port FromOracleTest.java
*
* @author cm65
* @date 9 Mar 2011
*
* Protein Information Management System
* @version: 3.2
*
* Copyright (c) 2011 cm65 The copyright holder has licenced the STFC to redistribute this software
*/
package org.pimslim... | 39.08658 | 128 | 0.681139 |
b515504b0b8920a3a3485da15d190422f0d981e3 | 1,072 | package architecture.community.web.spring.controller.advice;
import org.springframework.security.core.Authentication;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ModelAttribute;
import architecture.community.security.spring.userdetails.CommuintyUserD... | 31.529412 | 109 | 0.777985 |
01cabb830db0243c09bb0685199908cec9dce0bc | 601 | package com.shenjinxiang.swing.win;
import javax.swing.*;
/**
* @Author: ShenJinXiang
* @Date: 2020/7/10 9:56
*/
public class LayoutWindow {
protected JFrame jFrame;
public LayoutWindow(String title, int width, int height) {
this.jFrame = new JFrame(title);
this.jFrame.setBounds(20, 20, w... | 21.464286 | 67 | 0.650582 |
d01435a86237e520bfd796be070d76c2ec8e723c | 188 | package com.github.lindenhoney;
import org.junit.jupiter.api.Test;
public class ApplicationTest extends AbstractIntegrationTest {
@Test
public void loadContextTest() {
}
}
| 15.666667 | 62 | 0.744681 |
04898c23e191ecef653b18f109e98597e667d865 | 22,664 | /*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | 51.39229 | 170 | 0.694096 |
153045c254f2362988b505fde7f7aacd55c8963f | 88 | /**
* Experimental database package.
*/
package eu.trentorise.opendata.traceprov.db;
| 17.6 | 44 | 0.738636 |
8271743a30569a2d0a9bc971057c055296404314 | 161 | package cn.ideabuffer.process.core.processors;
/**
* @author sangjian.sj
* @date 2020/05/02
*/
public interface DoWhileProcessor extends WhileProcessor {
}
| 16.1 | 58 | 0.745342 |
9d981d0532224078b19a3fc994859077c41ee105 | 1,106 | package com.vwo.mobile.mock;
import android.app.ActivityManager;
import android.content.Context;
import android.support.annotation.Nullable;
import com.vwo.mobile.logging.LogUtils;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/**
* Created by aman on Wed 14/02/18 ... | 20.867925 | 80 | 0.701627 |
b8637dd09fe3aa31634c6e75933294092b070e6f | 320 | package com.google.android.gms.internal.ads;
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
public final class zzbzw implements zzeoy<zzbzt> {
public static zzbzw zzakt() {
return zzbzv.zzfwj;
}
public final /* synthetic */ Object get() {
return new zzbzt();
}
}
| 24.615385 | 69 | 0.653125 |
2b08ccdd147d0a94466b0961cf564460f652b49a | 3,178 | /*
* Copyright (c) 2011-2020 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | 30.557692 | 121 | 0.642857 |
c162bd96e8dedc178fff7d45d5d37a3d9f6ab619 | 274 | package com.minerarcana.naming.spell;
import net.minecraft.entity.Entity;
import java.util.List;
import java.util.function.Predicate;
public interface ISpellTargeting {
List<Entity> getTargeted(Entity caster, Predicate<Entity> matcher);
boolean needsClient();
}
| 21.076923 | 71 | 0.781022 |
d12ff435bc87b9004b54f9a2d2f5d0791781cef2 | 493 | package com.easycodebox.jdbc;
import com.easycodebox.common.idgenerator.IdGeneratorType;
/**
* @author WangXiaoJin
*
*/
public class PkColumn extends Column {
private IdGeneratorType idGeneratorType;
public PkColumn() {
}
public PkColumn(String columnName) {
super(columnName);
}
public IdGenerator... | 16.433333 | 66 | 0.758621 |
e27eb611f5a1b48584e68f6b999aab98a78b0b9b | 2,509 | package de.halirutan.keypromoterx.tips;
import java.awt.*;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import com.intellij.ide.util.TipUIUtil;
import com.intellij.ui.JBColor;
import com.intellij.ui.ScrollPaneFactory;
import com.intellij.ui.SimpleTextAttributes;
import com.in... | 34.369863 | 96 | 0.766441 |
3a147595882f667792c6abb7658a8efdd0d4943c | 3,125 | /*
* Copyright 2020 赖柄沣 bingfengdev@aliyun.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 ... | 30.339806 | 124 | 0.71712 |
4a96d084c4e1e2d38421016449a3bcf7ad8c69fe | 8,796 | import static org.junit.jupiter.api.Assertions.*;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import org.junit.jupiter.api.Test;
class PlaylistTest {
@Test
void testFileConstructor() throws IOException {
String info0 = "Fake Plastic Trees; Radiohead; 4:52";
String inf... | 35.043825 | 75 | 0.704638 |
aca67ab323ab540f1be42326d35b4fe5206a171f | 342 | package com.trigyn.jws.gridutils.dao;
import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;
import org.springframework.stereotype.Repository;
import com.trigyn.jws.gridutils.entities.GridDetails;
@Repository
public interface GridDetailsRepository extends JpaRepositoryImplementation<Grid... | 28.5 | 97 | 0.856725 |
16034d7561171e1ae13f6693571439143f5b6f90 | 10,660 | package com.rbkmoney.threeds.server.storage.handler;
import com.rbkmoney.damsel.threeds.server.storage.Action;
import com.rbkmoney.damsel.threeds.server.storage.Add;
import com.rbkmoney.damsel.threeds.server.storage.CardRange;
import com.rbkmoney.damsel.threeds.server.storage.CardRangesStorageSrv;
import com.rbkmoney.... | 41.158301 | 116 | 0.717073 |
7028303e2c3b6ec22239558aeb047302b2aa6ba8 | 252 | package it.sorint.welearnbe.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import it.sorint.welearnbe.repository.entity.ProgressBE;
public interface ProgressRepository extends MongoRepository<ProgressBE, String> {
}
| 28 | 81 | 0.849206 |
afb2aec00f385761c7233e891cbe619edec9217f | 841 | /*
* Copyright 2016 West Coast Informatics, LLC
*/
package com.wci.umls.server.jpa.helpers.content;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.wci.umls.server.helpers.AbstractResultList;
import com.wci.umls.server.helpers.content.... | 27.129032 | 80 | 0.775268 |
4c764fd253b699261861eddfd89c3775f3606535 | 9,641 | package com.rbkmoney.orgmanager.controller;
import com.rbkmoney.orgmanager.service.*;
import com.rbkmoney.orgmanager.service.dto.ResourceDto;
import com.rbkmoney.swag.organizations.api.OrgsApi;
import com.rbkmoney.swag.organizations.model.*;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
impo... | 41.556034 | 116 | 0.615081 |
c32ef813b1e8a8c5cda396df833ecfe0d9325c99 | 6,492 | /*
* Copyright (c) 2015 EXILANT Technologies Private Limited (www.exilant.com)
* Copyright (c) 2016 simplity.org
*
* 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, i... | 28.226087 | 87 | 0.687307 |
88f2a13fa4f038b690403bfc79b0909a1bff4cc5 | 4,661 | /*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* terms ... | 45.252427 | 124 | 0.745119 |
6016ba52d30baf4a4b05cdcb55eccc5104760d8d | 768 | package com.lambdajavablockchain.model;
import org.hyperledger.fabric.sdk.Enrollment;
import java.security.PrivateKey;
/**
* FabricEnrollment class holding the private key and certificate of a Fabric User
*/
public class FabricEnrollment implements Enrollment {
private PrivateKey key;
private String cert;... | 18.731707 | 82 | 0.647135 |
d437ba46783cfe47dafc32ce2d97c74bc466a1b6 | 5,626 | package xreliquary.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelMortar extends ModelBase {
// fields
ModelRenderer backAngle;
ModelRenderer bottom;
ModelRenderer back;
ModelRenderer... | 36.771242 | 109 | 0.594205 |
2fb7e776747ff7b49310373ccd78b12759331c26 | 9,429 | // Copyright 2020-2021 Herald Project Contributors
// SPDX-License-Identifier: Apache-2.0
//
package io.heraldprox.herald.sensor.payload.simple;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.heraldprox.herald.sensor.data.ConcreteSensorLogger;
import io.heraldprox.herald.sensor.... | 42.282511 | 163 | 0.678333 |
5237c7063accc29e231a595171bc2b248f1fb042 | 7,034 | // Copyright 2021 The Bazel Authors. 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 appl... | 38.437158 | 100 | 0.697043 |
89b9064d3a557e5e79d7ad5c33a68719b572ce6f | 3,221 | /*
* Copyright 2021 berni3.
*
* 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 ... | 40.772152 | 111 | 0.67774 |
d3f05efd7bdf257b7515a1b8c7cf4c886fd6deb6 | 4,919 | package domain;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class SetItems {
private List<SetItem> setItems;
private static final SetItems instance = new SetItems();
private SetItems() {
init();
}
private void init() {
... | 35.135714 | 93 | 0.657654 |
b9230a0f5bb4c0ced712bf28d0de6632835c92d9 | 2,994 | package b_trees_visualizer.graphic_interface.utility;
import b_trees_visualizer.data_structure.BTree;
import b_trees_visualizer.data_structure.BTreeNode;
import java.util.ArrayList;
public class Tools {
/**
** @param tree1, tree2 : BTree<Integer>
** @return true if tree1 == tree2
**/
public static boolean... | 23.761905 | 99 | 0.599198 |
c1737ff43c88ef250b4662ac376edc6327074491 | 895 | package lanse505.aced.utils;
import lanse505.aced.AccidentalCircumstancialEventsDevolved;
import lanse505.aced.common.CommonProxy;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import org.apache.logging.log4j.Logger;
public class ACEDConstants {
public static final Str... | 34.423077 | 82 | 0.763128 |
0965e43d7f536f1a26d378bfda9782530834d1fe | 7,912 | /**
* Licensed to the Sakai Foundation (SF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use t... | 47.095238 | 162 | 0.709681 |
f83d6aa3c1a8993dc74ca86346b1cef3838caac7 | 1,918 | package hr.fer.oop.streams;
import java.text.Collator;
import java.util.Comparator;
import java.util.Locale;
public class Student implements Comparable<Student> {
private String lastName;
private String firstName;
private String studentID;
private int points;
public Student(String lastName, String firstName,... | 27.4 | 115 | 0.741397 |
1a4bd7d989429a19bb172f45067b54ac14781b61 | 1,299 | package org.testrelay;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import ... | 35.108108 | 100 | 0.803695 |
b5315ca42edbb37abd8bf79add7129dddd688e7c | 2,104 | package com.dexesttp.hkxpack.hkx.types.handlers;
import com.dexesttp.hkxpack.data.members.HKXDirectMember;
import com.dexesttp.hkxpack.data.members.HKXMember;
import com.dexesttp.hkxpack.descriptor.enums.HKXType;
import com.dexesttp.hkxpack.resources.byteutils.ByteUtils;
/**
* Handles normal (32) members
*/
final c... | 23.640449 | 96 | 0.698669 |
1f284e36fd3057ce2129b30129cbd014d085c53d | 5,435 | /*
* MIT License
*
* Copyright (c) 2021 Solid
*
* 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, me... | 44.54918 | 103 | 0.692548 |
cd91c87868f387cfee70fae8f141ae9b57219484 | 4,438 | package ro.pub.cs.systems.eim.PracticalTest01Var01;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import andro... | 31.928058 | 162 | 0.635196 |
1fc80fe28593e948bda5491fc13fa59a1ab764c6 | 382 | package de.dytanic.cloudnet.common.annotation;
import java.lang.annotation.*;
/**
* Indicates that a class, its methods, and members can change for each version.
* The methods and fields are mostly for internal use only and can influence other elements if they change
*/
@Documented
@Target(ElementType.TYPE)
@Reten... | 29.384615 | 106 | 0.782723 |
d8ab2ad3ac730b4ceeb256bd66820c4b598f79dc | 5,129 | // Copyright Eagle Legacy Modernization LLC, 2010-date
// Original author: Steven A. O'Hara, Sep 25, 2011
package com.eagle.programmar.RPG;
import com.eagle.parsers.EagleOverrideManager;
import com.eagle.programmar.EagleLanguage;
import com.eagle.programmar.RPG.Directives.RPG_Copy_Directive;
import com.eagle.programm... | 43.10084 | 118 | 0.847534 |
b02c70c5a486e83a7e703214b327ce4bbb8f629f | 1,626 | /*
* Copyright (c) 2016-2019 VMware, Inc. All Rights Reserved.
*
* This product is licensed to you under the Apache License, Version 2.0 (the "License").
* You may not use this product except in compliance with the License.
*
* This product may include a number of subcomponents with separate copyright notic... | 28.526316 | 90 | 0.613776 |
745b7f743251c14368780d7f49314640236816f8 | 2,222 | package CH4rl3y.elementalelaboration.tileEntities.burnGenerator;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class BGContainerGUI extends Container... | 31.742857 | 101 | 0.577858 |
bd1dcb5ae9a12927390f6388ebe99398107a971b | 409 | package com.macroyao.gmall.member.fegin;
import com.macroyao.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
@FeignClient("gmall-coupon") //告诉Springcloud去哪个服务调用,服务名
public interface CouponFeginService {
/*
1 url 必须是完全路径
2 ... | 24.058824 | 58 | 0.745721 |
f851e16bf15ce7f39e5e9d39bee79cd3379577f6 | 5,642 | package com.thonecardoso.bookstoremanager.publishers.controler;
import com.thonecardoso.bookstoremanager.publishers.builder.PublisherDTOBuilder;
import com.thonecardoso.bookstoremanager.publishers.controller.PublisherController;
import com.thonecardoso.bookstoremanager.publishers.dto.PublisherDTO;
import com.thonecard... | 44.777778 | 115 | 0.739631 |
a777365a890d9d816f58b105d5af924586c4b9b0 | 7,421 | /*
* Copyright (C) 2013-2014 The JBromo Authors.
*
* 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, m... | 29.923387 | 80 | 0.724835 |
2209ec73a320e0f247d72718e941a560e37ceaa3 | 2,236 | package ralphofficial.crusade.mod.entities;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.projectile... | 30.630137 | 132 | 0.732111 |
90303c3f08692c1eca80183c449a7ec4d3455177 | 1,446 | package com.majruszs_difficulty.events.when_damaged;
import com.majruszs_difficulty.GameState;
import com.majruszs_difficulty.items.EndSwordItem;
import com.mlib.TimeConverter;
import net.minecraft.entity.LivingEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Effects;
import net.minecraft.util.... | 38.052632 | 154 | 0.795297 |
e1e098bdc7433dff4ccb8e7b9a760586bb27d968 | 239 | package ru.spbau.mit.bittorrent.client.message;
public class Unchoke implements Message {
@Override
public int getMessageLength() {
return 1;
}
@Override
public byte getMessageId() {
return 1;
}
}
| 17.071429 | 47 | 0.635983 |
9490248737f0180be96293fabe20150611481e53 | 96 | package zh.codegym.task.task13.task1328;
public interface CanAttack {
BodyPart attack();
}
| 16 | 40 | 0.75 |
5d5d9d3e8f92776694391b311c288ab4808df1de | 5,781 | /*
* Copyright (c) 2020 Uber Technologies, 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 ... | 40.145833 | 118 | 0.678429 |
5d34d6c751297f06c233a7ad37d678f27ee04271 | 1,097 | package com.ziroom.ziroomcustomer.sublet.model;
import java.io.Serializable;
public class LeaseSubletReserveEntity
implements Serializable
{
private String prompt_text;
private String prompt_title;
private String text;
private String type;
public String getPrompt_text()
{
return this.prompt_text;... | 18.913793 | 146 | 0.69371 |
bf11aaf13855d115c47d258c117881b6d91de16b | 17,950 | /*
* Copyright 2018 Jochen Wiedmann
*
* 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... | 38.191489 | 140 | 0.635822 |
fa8da9431016d53cfd8724c5293550fc35140d8a | 9,697 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.browser;
import android.content.ComponentName;
import android.content.Context;
import android.content.pm.ApplicationInfo;
im... | 42.16087 | 100 | 0.697329 |
b01e688f402ec59b1832987e96c5b80b1a065858 | 5,891 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.convention.frequency;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.ut... | 38.006452 | 113 | 0.674588 |
8b8ef8c99c3295d8c6c9ffd48ee54389aa98a8d1 | 709 | package com.kotcrab.vis.usl.lang;
/** Represents style identifier of USL lang */
public class StyleIdentifier extends GroupIdentifier {
public boolean metaStyle;
public StyleIdentifier () {
}
public StyleIdentifier (StyleIdentifier other) {
super(other);
this.metaStyle = other.metaStyle;
}
@Override
publ... | 20.852941 | 60 | 0.688293 |
c57d48c1a9b0831dd852657f5d722c1e2206ad30 | 55,711 | package com.bazl.dna.lims.core.controller.center;
import static com.bazl.dna.lims.core.utils.DateUtils.addDays;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.servlet.http.HttpServl... | 52.261726 | 164 | 0.594712 |
90429edd3987371d71ed57c8335608d22509d3e0 | 2,060 | package com.jeremierodriguez.mainpack;
import com.jeremierodriguez.services.Algs;
import com.jeremierodriguez.services.CommandLineActions;
import org.apache.commons.cli.*;
import java.awt.*;
import java.util.Arrays;
/**
* @author Jeremie Rodriguez
*/
public class AppCmd {
public static void main(String[] arg... | 32.1875 | 111 | 0.58932 |
ad34470893da31931932cd94b856f700c32dff21 | 190 | /**
*
* Package che contiene le interfacce per lavorare con le varie tabelle del database
*
* @author emanuelefrisi&domenicolaporta00
*
*/
package it.univpm.CovidForecast.repository; | 23.75 | 84 | 0.752632 |
5e25667a1ea8c238f7ceebd0e397a50ce20791ed | 1,081 | package com.shumeng.application.zhcx.dao;
import java.io.Serializable;
import java.util.List;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.s... | 26.365854 | 98 | 0.763182 |
f249b69fd6046069af6351680bf293a08610b51f | 1,565 | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2008 Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 ... | 38.170732 | 89 | 0.64345 |
64078aac02ed742ead9c84fdf09016ca5cb67353 | 4,776 | /*
* Copyright 2009 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 i... | 30.812903 | 92 | 0.690536 |
3df3d9345cd3478302743cbd14861fe5728c7d02 | 1,494 | package ru.v1as.tg.cat.commands;
import static com.google.common.collect.ImmutableList.of;
import static java.util.Collections.emptyList;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.when;
import static ru.v1as.tg.cat.commands.TgCommandRequest.parse;
import org.junit.Test;
import org... | 32.478261 | 96 | 0.685408 |
7f15573f918b44f6657118887942ea15650f0aa8 | 13,027 | /*
Copyright (c) 2005-2021, Carlos Amengual.
SPDX-License-Identifier: BSD-3-Clause
Licensed under a BSD-style License. You can find the license here:
https://css4j.github.io/LICENSE.txt
*/
package io.sf.carte.doc.style.css.property;
import java.io.IOException;
import org.w3c.dom.DOMException;
import io.sf.... | 30.08545 | 114 | 0.68834 |
fe5a3bec5bbf43e0f6f8964e6da9519878300696 | 2,882 | package com.geroimzx.ranobe.controller;
import com.geroimzx.ranobe.model.Message;
import com.geroimzx.ranobe.model.RanobePage;
import com.geroimzx.ranobe.repo.CommentRepo;
import com.geroimzx.ranobe.repo.MessageRepo;
import com.geroimzx.ranobe.repo.RanobePageRepo;
import com.geroimzx.ranobe.repo.RanobeVolumeRepo;
impo... | 29.111111 | 89 | 0.673144 |
2ceffae25adc00cf2424928501c89911d0f549eb | 376 | package com.baiyi.opscloud.workorder.constants;
import lombok.Getter;
/**
* @Author baiyi
* @Date 2022/1/18 10:35 AM
* @Version 1.0
*/
public enum SubscribeStatusConstants {
CREATE("创建人"),
AUDIT("审批人"),
CARBON_COPY("抄送");
SubscribeStatusConstants(String comment) {
this.comment = comment;... | 16.347826 | 47 | 0.654255 |
6bc9ec744c24f03de0aa15d855b37599ee9e021d | 4,658 | /*
* Copyright (c) 2010-2013 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.schema;
import static org.testng.AssertJUnit.assertNotNull;
import static com.evolveum.midpoint.pr... | 46.58 | 152 | 0.774796 |
05f9dd69d6a4046535c432a9c192082f1320ca77 | 1,646 | package de.generator.fileAccess;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
import javax.swing.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.io.File;
import java.io.IOException;
public class... | 27.898305 | 68 | 0.611786 |
df594bf5d22b6041a83ce545144eb7a24ce1626d | 568 | package com.example.dltqjm;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
public class activity {
public static List<Activity> activities = new ArrayList<Activity>();
public static void addactivity(Activity activity){
activities.add(activity);
}
public st... | 21.037037 | 69 | 0.676056 |
1bcf016732ffbaddb521226b6df1c183ca7a530e | 11,833 | /*
* 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 home;
import Controller.DB;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import j... | 43.186131 | 360 | 0.649455 |
5b7e8badf8fa849751224b18d2cf428f3349d206 | 344 | package com.sedmelluq.discord.lavaplayer.player.event;
import com.sedmelluq.discord.lavaplayer.player.AudioPlayer;
/**
* Event that is fired when a player is resumed.
*/
public class PlayerResumeEvent extends AudioEvent {
/**
* @param player Audio player
*/
public PlayerResumeEvent(AudioPlayer player) {
... | 21.5 | 59 | 0.735465 |
6e1f46282a3940df7b1b3894691c89f88caec564 | 437 | package org.infinispan.cdi.logging;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.annotations.MessageLogger;
/**
* The JBoss Logging interface which defined the logging methods for the CDI integration. The id range for the CDI
* integration is 17001-18000
*
* @author Kevin Pollet <kevin.pollet@se... | 27.3125 | 114 | 0.773455 |
1487b8e9396c6e8fb19ff0362eff093847ac5d9b | 2,072 | /*
* Copyright 2015-present Open Networking Laboratory
*
* 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 appli... | 27.263158 | 89 | 0.646718 |
b66bad9dd2acae22101fced37684897afe38afaf | 424 | package com.taoswork.tallycheck.datasolution.service;
import com.taoswork.tallycheck.dataservice.PersistableResult;
import com.taoswork.tallycheck.dataservice.exception.ServiceException;
/**
* Created by Gao Yuan on 2015/9/28.
*/
public interface EntityValidationService {
public final static String COMPONENT_NA... | 30.285714 | 74 | 0.813679 |
13285eca3293572fa7b8118813800df5e93d6f05 | 53 | public class MyClass {
/** comment My<caret> */
} | 13.25 | 27 | 0.603774 |
a1ac8894d405ed9db643b78dd460a3a75a6c3fa7 | 579 | package com.jeecg.p3.vote.dao;
import java.util.List;
import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.persistence.GenericDao;
import com.jeecg.p3.vote.entity.WxActVoteRecord;
/**
* 描述:</b>投票记录表<br>
* @author:junfeng.zhou
* @since:2019年08月24日 13时48分10秒 星期六
* @ve... | 24.125 | 101 | 0.784111 |
7d7851c394f682ddba3b3be5c62feb0c199089d5 | 3,208 | package zjut.com.laowuguanli.widget;
/**
* 作者 @ScienceHistory
* 时间 @2016年07月09日 19:06
* 待测试
*/
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v4.app.FragmentActivity;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.ViewGroup;
im... | 29.431193 | 96 | 0.605362 |
46b84951d0b20af15831e0406f13aa048524257b | 143 | package io.spinor.ig.api.rest.dto.history.getActivityHistoryV3;
/*
Deal direction
*/
public enum Direction {
/*
Buy
*/
BUY,
/*
Sell
*/
SELL
}
| 8.9375 | 63 | 0.699301 |
746b4b6951072b4840b6e4b11d55c88b6f8ca04b | 2,071 | package com.shc.gwtopentype;
import com.google.gwt.core.client.JavaScriptObject;
/**
* @author Sri Harsha Chilakapati
*/
public class Command extends JavaScriptObject
{
protected Command()
{
}
public final native String getType() /*-{
return this.type;
}-*/;
public static class Mov... | 19 | 51 | 0.47465 |
fc540b681d99426a6cc80c159adbc1a3f62c5307 | 2,877 | // Copyright 2000-2019 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.internal.statistic.collectors.fus.fileTypes;
import com.intellij.internal.statistic.eventLog.FeatureUsageData;
import com.intellij.internal.statistic.service... | 40.521127 | 140 | 0.750782 |
b2275eabd6c88c89fd0623bef47f23d238dfbd1c | 13,869 | package org.tensorflow.yolo.view;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.provider.MediaStore;
import android.text.Editable;
imp... | 35.744845 | 111 | 0.570553 |
c9b4ba6a5d2dfbf99bb2365a71015898be767554 | 26,388 | /*
* Copyright (c) 2020 OpenFTC Team
*
* 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, merge, publis... | 46.621908 | 429 | 0.653782 |
32bb66df49ba8a768d8651130d4d270f83093fd8 | 3,317 | /*
* 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.569767 | 124 | 0.65722 |
9e5dc5bb06ebd1cf038e0ae28f3a0f4dc4e001c7 | 3,143 | package com.example.mymusicplayer;
import android.media.MediaPlayer;
import android.text.TextUtils;
import android.util.Log;
import android.widget.TextView;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import static android.content.ContentValues.TAG;
/**
* Cre... | 31.118812 | 87 | 0.623608 |
823d6aab4b5933f6a5f11d2d43622add168bf886 | 3,881 | /*
* Copyright (c) 2002-2008 LWJGL Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this... | 30.559055 | 78 | 0.689513 |
7d3491114e138b9e9bd504a08b41abb5b653004d | 7,885 | /*
* 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.018779 | 81 | 0.717819 |
9d6f9f21dfa3c84dee909eec8a389e2781848cba | 357 | package pl.uw.mim.jnp.rock.paper.money.persistence.redis.repo;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import pl.uw.mim.jnp.rock.paper.money.persistence.redis.entries.LoggedUserEntry;
@Repository
public interface LoggedUserRepository extends CrudRep... | 39.666667 | 89 | 0.845938 |
097271ad3813c429461b4d2d98d7574ce1241a3e | 1,422 | package pl.mf.vertx;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.bridge.PermittedOptions;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.handler.sockjs.BridgeOptions;
import io.vertx.ext.web.... | 39.5 | 156 | 0.729255 |
3ce3683b9b9f865d86fc25229b3018c2f165e86a | 1,127 | package org.yaml.snakeyaml.tokens;
import org.yaml.snakeyaml.error.YAMLException;
import org.yaml.snakeyaml.error.Mark;
import java.util.List;
public final class DirectiveToken<T> extends Token
{
private final String name;
private final List<T> value;
public DirectiveToken(final String a1, final List... | 26.833333 | 115 | 0.568767 |
ab5a79d628e3fafa9f12a6dcc884edce00dcfe05 | 813 | package com.example.demo.util;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* 配置文件中以com.test开头的配置对应的实体类
* Created by zitao.li on 2018/7/17.
*/
@Component
@ConfigurationProperties(prefix = "com.test")
public class PropertyUtils {
... | 19.829268 | 75 | 0.660517 |
bf991870b1bfd640e7b79f970de30f60c00d5d3c | 9,014 | package gov.cms.dpc.api.resources.v1;
import com.codahale.metrics.annotation.ExceptionMetered;
import com.codahale.metrics.annotation.Timed;
import gov.cms.dpc.api.auth.OrganizationPrincipal;
import gov.cms.dpc.api.auth.annotations.Authorizer;
import gov.cms.dpc.api.auth.jwt.PublicKeyHandler;
import gov.cms.dpc.api.e... | 40.972727 | 217 | 0.683936 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.