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 |
|---|---|---|---|---|---|
0287f77e3fb47403e4f2110b8d40b6af2af40f0b | 2,808 | package nl.tudelft.fa.core.lobby.actor;
import akka.actor.AbstractActor;
import akka.actor.ActorRef;
import akka.actor.Props;
import akka.japi.pf.ReceiveBuilder;
import nl.tudelft.fa.core.lobby.message.Join;
import nl.tudelft.fa.core.lobby.message.JoinException;
import nl.tudelft.fa.core.lobby.message.JoinSuccess;
imp... | 31.2 | 97 | 0.658832 |
50cc0506497f51324cc87e005c6c26d7c6001a05 | 1,071 | package com.devepos.adt.saat.internal.search;
import java.util.Arrays;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.fieldassist.IContentProposal;
import org.eclipse.swt.graphics.Image;
import com.devepos.adt.saat.internal.search.contentassist.SearchParameterProposal;... | 32.454545 | 100 | 0.774977 |
b14a262ee8bb0158d6d3d47866ec29287de90c0e | 2,976 | /***********************************************************************************************************************
*
* Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance... | 27.302752 | 120 | 0.641465 |
490b63563c03a7f438d486127040494889e4c512 | 3,415 | /*******************************************************************************
* Copyright 2011-2014 Sergey Tarasevich
*
* 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.... | 31.330275 | 129 | 0.691947 |
e54621f94b7a8fbb147e320121e820f76a8d3f00 | 316 | package idawi.ui.cmd;
import java.io.Serializable;
import java.util.function.Consumer;
import idawi.Component;
import j4u.CommandLine;
public abstract class CommandBackend implements Serializable {
public CommandLine cmdline;
abstract void runOnServer(Component thing, Consumer<Object> out) throws Throwable;
} | 24.307692 | 83 | 0.81962 |
5ea236f862bbf97ba211d95097e1bca08f37d233 | 4,613 | package ts.eclipse.ide.json.ui;
import org.eclipse.core.databinding.DataBindingContext;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.text.IDocument;
import org.eclipse.json.jsonpath.IJSONPath;
import org.ec... | 32.716312 | 108 | 0.718405 |
102be3db6dad1d0c4cab6dd30e2918e1ca0d67b0 | 9,312 | package messaging;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.async... | 39.457627 | 122 | 0.724656 |
c95ae75a1b493abd643369b515f2886a23256f35 | 982 | package unicss;
/**
*
* @author wb-wy698919
* @version $Id: MyExecutor.java, v 0.1 2020/5/22 10:59 wb-698919.wyi Exp $
*/
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class MyExecutor extends Thread {
private int index;
public MyExecutor(int i) {
thi... | 25.842105 | 75 | 0.565173 |
7b95edc34a6fef7547f3539c05c07fd8b94bfdb9 | 1,591 | /*
* Copyright 2011,2012 Metamarkets Group 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 l... | 31.82 | 114 | 0.720302 |
7e62a3b83f4c62f20fcdafaea0d51f2ba88daf9e | 2,613 | /*
* ModeShape (http://www.modeshape.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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 35.794521 | 164 | 0.613854 |
4099cca02775bf895854153c93828b135866b7f3 | 1,300 | package com.mobgen.halo.android.content.models;
import android.os.Parcel;
import android.support.annotation.Keep;
/**
* Represents the parenthesis opened or closed.
*/
@Keep
public class Parenthesis implements SearchExpression {
/**
* Opened or closed.
*/
private boolean mOpened;
public stat... | 22.033898 | 83 | 0.615385 |
f00767f2f206120d5f3e9c93a4a979bf959c2995 | 2,059 | package com.ctrip.xpipe.redis.core.protocal.cmd;
import com.ctrip.xpipe.api.command.CommandFuture;
import com.ctrip.xpipe.api.command.CommandFutureListener;
import com.ctrip.xpipe.api.server.Server.SERVER_ROLE;
import com.ctrip.xpipe.netty.ByteBufUtils;
import com.ctrip.xpipe.redis.core.AbstractRedisTest;
import com.c... | 32.68254 | 117 | 0.756192 |
f16a11dea4315c7bdca60178ebd8beb0d5b1dbcc | 365 | package com.zto.testcase.model;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
public class BasePO implements Serializable {
private static final long serialVersionUID = 1L;
private Date createTime;
private Date updateTime;
private String createUser;
private Str... | 15.869565 | 52 | 0.745205 |
d646266f7807e9f45adb1d636cf274cfb12136d5 | 610 | package com.blamejared.crafttweaker.api.zencode;
import com.blamejared.crafttweaker.api.CraftTweakerAPI;
import com.blamejared.crafttweaker.api.annotation.ZenRegister;
import org.openzen.zencode.java.ZenCodeGlobals;
import org.openzen.zencode.java.ZenCodeType;
@ZenRegister
@ZenCodeType.Name("crafttweaker.api.Globals... | 24.4 | 62 | 0.72623 |
905dbb45f8cb2b2c0454edc79d2020d8316a5b26 | 3,504 | /*******************************************************************************
* Copyright 2014 Univocity Software Pty Ltd
*
* 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://... | 29.445378 | 138 | 0.635274 |
b4c1f39205d03b1d7bab05636c8a54d0fb3a0a92 | 1,317 | package com.rosendo.ejercicioentregable4;
import java.util.ArrayList;
public class GestorSeries {
public ArrayList<Serie> getSeries() {
ArrayList<Serie> series=new ArrayList<Serie>();
series.add(new Serie("Pocoyó", "La historia de Pocoyó",2005,4,"https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_700... | 69.315789 | 236 | 0.766135 |
cc654ba51d5454e73a507003b03289cb34c136e6 | 9,159 | package com.thomsonreuters.upa.codec;
import com.thomsonreuters.upa.codec.Qos;
/**
* UPA {@link RequestMsg} is used by an OMM consumer to express interest in a
* particular information stream. The request's msgKey members help identify the
* stream and priority information can be used to indicate the streams
* im... | 28.095092 | 95 | 0.600066 |
f7819061a2ca0b9462308f72a2b4b03d25ff7f78 | 17,541 | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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... | 39.066815 | 120 | 0.685993 |
2b2729254b388572741d934d69a96a87f338f143 | 1,837 | package io.github.Leonardo0013YT.UltraCTW.menus;
import io.github.Leonardo0013YT.UltraCTW.UltraCTW;
import io.github.Leonardo0013YT.UltraCTW.game.GameFlag;
import io.github.Leonardo0013YT.UltraCTW.game.GamePlayer;
import io.github.Leonardo0013YT.UltraCTW.shop.Shop;
import io.github.Leonardo0013YT.UltraCTW.shop.ShopIte... | 37.489796 | 105 | 0.693522 |
a935cda6aacb8d9b865841bfa3f57a5ce5fa56fb | 1,367 | package com.techreturners.exercise001;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class Exercise001 {
// In this Kata, you will be given an array of numbers in which two numbers occur once and the rest occur only twice.
// Your task will ... | 29.717391 | 122 | 0.556693 |
0c0d04b87bc7eb39447c786cde1bd64cf22ed2e2 | 72,850 |
package org.drip.product.creator;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2017 Lakshmi Krishnamurthy
* Copyright (C) 2016 Lakshmi Krishnamurthy
* Copyright (C) 2015 Lakshmi Krishnamurthy
* Copyright (C) 2014 Lakshmi Krishnamurthy
* Copyright (C) 2... | 24.275242 | 112 | 0.688881 |
97972e8f606688b29d664185beadd43092c3f344 | 3,360 | /*
* Copyright 2014-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 33.6 | 110 | 0.675595 |
54b4acefe871fccb506cc148052ac456e4ad742a | 868 | /*
* Copyright (c) 2015 EMC Corporation
* All Rights Reserved
*/
package com.emc.sa.service.vipr.block.tasks;
import java.net.URI;
import java.util.List;
import com.emc.sa.service.vipr.tasks.ViPRExecutionTask;
import com.emc.storageos.model.RelatedResourceRep;
public class GetUnmanagedCGsForProtectionSystem exten... | 28.933333 | 101 | 0.763825 |
06b668597f83a5ebae97aa70cfcd0643dc63d57b | 1,508 | package com.slimgears.rxrepo.query;
import com.slimgears.rxrepo.expressions.Aggregator;
import com.slimgears.rxrepo.expressions.PropertyExpression;
import com.slimgears.rxrepo.expressions.UnaryOperationExpression;
import io.reactivex.Observable;
import io.reactivex.functions.IntFunction;
import java.util.Arrays;
impo... | 34.272727 | 140 | 0.730106 |
69f0958c384c83f12c87c254dfaef1ddffb3ec68 | 3,448 | package ru.rabotyaga.baranov;
import android.app.Activity;
import android.app.LoaderManager;
import android.content.Loader;
import android.os.Bundle;
import android.app.Fragment;
import android.util.Log;
import java.util.List;
public class LoaderRetainFragment extends Fragment implements LoaderManager.LoaderCallback... | 28.97479 | 107 | 0.651972 |
4633d4c9da5d860a6543e7f15cbc697bbc177df4 | 3,736 | package com.ctosb.study.mongodb;
import com.mongodb.MongoClient;
import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.model.Filters;
import com.mongodb.client.result.DeleteResult;
import com.mongodb.client.result.UpdateRes... | 33.963636 | 136 | 0.571467 |
0c8f8ae2fb2ffd071516cdad3aaf4f0d9bc2edf0 | 1,533 | package db.entities;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
@DatabaseTable(tableName = "national_grade")
public class NationalGrade {
@DatabaseField(generatedId = true, useGetSet = true)
private int id;
@DatabaseField(canBeNull = false, useGetSet = true... | 24.333333 | 91 | 0.671885 |
8933defd03300969d45cc4272f0bf8b54fa09c1d | 10,201 | /*
* MIT License
*
* Copyright (c) 2018 dkzwm
*
* 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... | 39.692607 | 97 | 0.603764 |
b47672511a701a2d2e195c9ce45b1af97ce0cbc7 | 1,243 | package com.example.dowy.foodapp.model;
import java.io.Serializable;
public class ItemProduto implements Serializable {
private String idProduto;
private String nomeProduto;
private String urlImagem;
private long valor;
private long preco;
private int quantidade;
public ItemProduto() {
... | 19.123077 | 52 | 0.629123 |
619eb1f27af369f09f63305fb25923f3c9ee5ed7 | 2,015 | package com.itkjb.exercise.juc;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.TimeUnit;
/**
* Copyright (C), 2021-2099
*
* @Author: lix
* @Date: 2021/6/7 3:54 下午
* @Description: 阻塞队列 示例
* @Version: V1.0.0
*/
public class BlockingQueueDemo... | 34.741379 | 77 | 0.642184 |
b56ef390a37c606e0bd0aadd048d8d751722b39c | 2,204 | /*
# Copyright © 2021 Argela Technologies
#
# 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 ... | 22.721649 | 84 | 0.626588 |
b5ceb2c821e1e92dd36c0db438313ebe76c67add | 4,257 | package net.ibizsys.paas.appmodel;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.ibizsys.paas.controller.IViewController;
import net.ibizsys.paas.core.IApplication;
import net.ibizsys.paas.ctrlhandler.ICtrlHandler;
import net.ibizsys.paas.ctrlhandler.ICtrlRend... | 18.836283 | 205 | 0.717407 |
1864cec05d9644584163d20663d37624641c9a59 | 3,374 | /*
* Copyright 2017 Dagmar Prokopova <xproko26@stud.fit.vutbr.cz>.
*
* 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 req... | 33.405941 | 84 | 0.627742 |
e1318ee251fa9dfa7c6883e95b4007ae13e85e42 | 11,713 | package com.sudoplay.mc.pwcustom.modules.portals.world;
import net.minecraft.block.Block;
import net.minecraft.block.BlockPortal;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.init.Blocks;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.Bloc... | 31.486559 | 123 | 0.504397 |
582758090d1a868b81b5eb413720cb851cc0b22b | 3,782 | /*
* Copyright 2019 Amazon.com, 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | 42.977273 | 119 | 0.683236 |
4f2d97f1877b95bac9c0f83649c35b6b7afd418f | 4,095 | /*
* Copyright 2019-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 26.940789 | 116 | 0.648352 |
678f28bf6d8cb60482f290827b72cc08e1fb5f05 | 27,729 | package me.ele.uetool;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
import android.support.annota... | 37.624152 | 116 | 0.538462 |
8385295a5e1bdd66d5c3c096566f6276488dea41 | 1,987 | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
package com.facebook.ads.injkit.crashshield.safe_components;
import android.annotation.SuppressLint;
import android.content.Context;
import... | 24.8375 | 91 | 0.72924 |
933ee43060e44c929b2d8d99d27aa23003db83b2 | 5,648 | /**
* Copyright 2015-2018 Tobias Gierke <tobias.gierke@code-sourcery.de>
*
* 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 req... | 32.274286 | 119 | 0.51682 |
1eefa9e29351c342b406295dc8a4b2d691cf1584 | 440 | package com.github.mengweijin.quickboot.sample.system.service;
import com.github.mengweijin.quickboot.jpa.service.BaseService;
import com.github.mengweijin.quickboot.sample.system.entity.Address;
import com.github.mengweijin.quickboot.sample.system.repository.AddressRepository;
/**
* @author Meng Wei Jin
* @date Cr... | 31.428571 | 87 | 0.806818 |
1d643e1d59270f91f190724833e367e48121ec2a | 2,304 | package edu.fiuba.algo3.vista;
import javafx.event.EventHandler;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyEvent;
import javafx.scene.text.Font;
import java.awt.*;
public abstract class Panel extends Component {
protected Label ejercitos = new Label()... | 28.444444 | 91 | 0.650608 |
ff15b75fa489958a9a4747d46e4856d176d70667 | 232 | package com.ftme.common.model;
import com.ftme.common.model.base.BaseItems;
/**
* Generated by JFinal.
*/
@SuppressWarnings("serial")
public class Items extends BaseItems<Items> {
public static final Items dao = new Items();
}
| 19.333333 | 45 | 0.737069 |
135fe4b3df64e1391faf1b83ac94c3af00a0a0f8 | 1,900 | package br.com.zupacademy.malkon.proposta.form;
import java.util.ArrayList;
import java.util.Base64;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import br.com.zupacademy.malkon.propos... | 29.230769 | 98 | 0.735789 |
06c7001e1324b9ec4325b6fe9b134c928987b47f | 1,664 | package linkedin;
import utils.TreeNode;
import java.util.ArrayList;
import java.util.List;
public class FindLeavesOfBinaryTree {
public static void main(String [] args) {
TreeNode node1 = new TreeNode(1);
TreeNode node2 = new TreeNode(2);
TreeNode node3 = new TreeNode(3);
TreeNo... | 27.733333 | 73 | 0.55649 |
55f4fe850eea98237dee8a5b7cb67eeccec7b91c | 1,730 | package com.lichkin.activiti.services.impl;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.activiti.engine.task.Task;
import org.springframework.stereotype.Service;
import com.lichkin.activiti.beans.LKActivitiTaskInfo;
import com.lichkin.activiti.beans.i... | 36.041667 | 129 | 0.79711 |
bbffafd3e266ef8d17e8758c0f17168dcfacacc4 | 5,731 | package com.ttech.jpe.metric.prometheus.observe;
import com.ttech.jpe.metric.prometheus.type.*;
import io.prometheus.client.*;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util... | 37.953642 | 137 | 0.593265 |
6b33b088c799d2e117ae954f18254c56762677bf | 4,790 | package com.ebay.dss.zds.magic;
import com.ebay.dss.zds.dao.ZetaNotebookRepository;
import com.ebay.dss.zds.interpreter.interpreters.Interpreter;
import com.ebay.dss.zds.magic.exception.ZetaMagicHandleException;
import com.ebay.dss.zds.magic.exception.ZetaVariableInjectionException;
import com.ebay.dss.zds.magic.patte... | 42.767857 | 144 | 0.722756 |
6df28b8d049b427dce4a56f448f0b6ca71ded4ca | 334 | package online.pizzacrust.autoverify.trello.api;
import com.google.common.collect.BiMap;
import online.pizzacrust.roblox.api.Robloxian;
public interface Database {
BiMap<Robloxian, String> getRegistrationEntries();
void refresh() throws Exception;
void register(Robloxian entry, String discord) throws ... | 20.875 | 68 | 0.778443 |
cdf7625dff931ef40bbabd1ae6f5801d79032ab4 | 1,958 | package cn.navigational.impl;
import cn.navigational.base.BaseVerticle;
import cn.navigational.enums.EventBusDataType;
import cn.navigational.utils.ExceptionUtils;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.RoutingContext;
import org.apache.logging.log4j.LogManager;
i... | 30.59375 | 102 | 0.670582 |
49a81a22239ae2fdd4a7dae95a5d9b7d2fc6e05b | 191 | package com.jmelzer.myttr.model;
/**
* Created by cicgfp on 04.03.2018.
*/
public enum LigaPosType {
AUFSTEIGER,
AUF_RELEGATION,
NOTHING,
AB_RELEGATION,
ABSTEIGER;
}
| 12.733333 | 35 | 0.659686 |
333ea8a93d78009fd0ba9ba780baa39bc2587366 | 2,668 | package com.nbware.push.model;
import java.util.Date;
public class ReservedSendRequest {
private int msgMngId;
private String content;
private String receiverId;
private int result;
private Date requestDateTime;
private String title;
private Date showDate;
private char receiverType;
private String imgUrl;
p... | 18.921986 | 55 | 0.718141 |
c47ab59904657c43a554d24fa29599a92e6a4ab0 | 1,468 | package datamodel.ignitiondelay;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import com.google.common.base.CharMatcher;
import com.google.c... | 23.677419 | 80 | 0.698229 |
4d6060c5e4e81d3d0f9d233c25c332a530915bc4 | 6,002 | package com.example.subastaya;
import retrofit.Callback;
import retrofit.RetrofitError;
import retrofit.client.Response;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import andr... | 27.916279 | 130 | 0.695268 |
ae39d1c4b95c78c15cb135fa71caa43154001948 | 482 | package proxy.ch02;
import proxy.ch01.TargetObjectService;
public class TimeProxy implements TargetObjectService {
TargetObjectService targetObjectService;
public TimeProxy(TargetObjectService targetObjectService) {
this.targetObjectService = targetObjectService;
}
@Override
public void query(String... | 22.952381 | 61 | 0.707469 |
dae8abe4125fcc287e775ea4419102257df54c0e | 428 | package com.hongliangjie.fugue.topicmodeling;
import com.hongliangjie.fugue.Message;
/**
* Created by liangjie on 10/29/14.
*/
public abstract class TopicModel {
public abstract void train(int start, int end);
public abstract void test(int start, int end);
public abstract void train();
public abstra... | 26.75 | 51 | 0.728972 |
f667e524ccfa39b8aafff027822f52ed6e684cc1 | 6,090 | package frc.robot.commands;
import frc.robot.Constants;
import frc.robot.subsystems.ClimbAngle;
import frc.robot.subsystems.ClimbHook;
import frc.robot.subsystems.ClimbLift;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj2.command.CommandBase;
import com.ctre.phoenix.motorcontrol.NeutralMode;
import c... | 26.025641 | 142 | 0.625123 |
7628d7030f2224eaea74c2a5abc6171358a2e104 | 4,210 | /* FeatureIDE - A Framework for Feature-Oriented Software Development
* Copyright (C) 2005-2013 FeatureIDE team, University of Magdeburg, Germany
*
* This file is part of FeatureIDE.
*
* FeatureIDE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Lice... | 32.635659 | 78 | 0.743943 |
994b61e71cec4d4b6805c9ada7b0dac1ae5978c6 | 152 | package com.backbase.flow.example.interaction.dto;
import lombok.Data;
@Data
public class PersonSearchCriteriaDTO {
private String idNumber;
}
| 12.666667 | 50 | 0.776316 |
479eb3835f021d2ec0190d17afc336fc4847bfe4 | 276 | package top.auzqy.design.pattern.behavioral.visitor.example1.eg1_1;
public class WordFile extends ResourceFile {
public WordFile(String filePath) {
super(filePath);
}
@Override
public void extract2txt() {
//...
System.out.println("Extract WORD.");
}
}
| 19.714286 | 67 | 0.699275 |
8ffaaa9328229d28e0df6301162bb27c929f3c84 | 1,101 | package com.brainmatics.trainingjee201801.springboot.aplikasispringboot.entity;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
im... | 27.525 | 79 | 0.760218 |
67f234a245fba6a8dac1fb7f1330e6ec0caaeb9b | 731 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.search.documents.test.environment.models;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Author {
@JsonProperty(value = "FirstName")
private String firstName;
@JsonPropert... | 22.84375 | 60 | 0.673051 |
362d2fcd1441cf55128dde71ba1245c80a2bd4a3 | 2,153 | package kr.dogfoot.hwplib.writer.bodytext.paragraph;
import java.io.IOException;
import kr.dogfoot.hwplib.object.bodytext.paragraph.header.ParaHeader;
import kr.dogfoot.hwplib.object.etc.HWPTag;
import kr.dogfoot.hwplib.object.fileheader.FileVersion;
import kr.dogfoot.hwplib.util.compoundFile.writer.StreamWrit... | 23.659341 | 79 | 0.623316 |
f5bf65670fe8078868ecf66b3b19757b92341b45 | 4,915 | package com.solucionesdigitales.vote.entity.partner;
import java.time.LocalDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;
... | 21.557018 | 111 | 0.646592 |
6908be4cb8ac6982eba2840ad30bd618536c0406 | 4,003 | package ca.marklauman.tools.preferences;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Build;
import android.preference.PreferenceManager;
import android.util.AttributeSet;
import android.widget.LinearLayout;
/** Generic structure for ... | 35.741071 | 99 | 0.666 |
85d1781b187b31425a26a994b652d3299d0be1e0 | 1,856 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.eclipse.birt.chart.model.data;
import java.math.BigDecimal;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Big Number Data Element</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Element BigNUmberDataE... | 27.294118 | 125 | 0.655172 |
078a43214a4e5ccb631f6b78b879be65ba175a42 | 4,435 | package phoenix.kmeans;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class Kmeans<T extends IItem> {
/**
* 所有数据列表
*/
private List<T> items ;
/**
* 数据类别
... | 28.986928 | 102 | 0.471251 |
81d1ae98ee377e34ca8e82f6a47ba43fed0188af | 935 | package com.goldenapple.marble.block;
import com.goldenapple.marble.Marble;
import com.goldenapple.marble.reference.Reference;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.render... | 29.21875 | 87 | 0.722995 |
c73f4272c750050f77786fc57d00976661c328e9 | 493 | package Basic.TestModifier;
import Basic.JavaModifier;
//测试修饰符protected
public class JavaModifierTest2 extends JavaModifier {
public static void main(String[] args) {
//受保护的protected方法在不同的包中的子类(JavaModifierTest2)是能访问的
JavaModifierTest2 O = new JavaModifierTest2();
O.setpd(123);
Sy... | 24.65 | 58 | 0.659229 |
9d9eee889090ac16cde358cab440aae50eabd9e8 | 189 | package test.targets.java.library;
public class Point {
public static String getCoordinates(String test) {
return "Real library returns the actual request parameter";
}
}
| 21 | 64 | 0.719577 |
d875a74f49f39092a07e3dc2ea442caa59fe33f1 | 893 | /*
* NumberLiteralTokenFactory.java
*
* Created on 15 September 2003, 23:45
*/
package org.tigris.lazer.cj.java;
//import java.util.regex.Matcher;
//import java.util.regex.Pattern;
/**
*
* @author Bob Tarling
*/
public class NumberLiteralTokenFactory // extends AbstractTokenFactory
{
// private static Patt... | 22.897436 | 89 | 0.683091 |
a95ad866f73f49db7c6b98f837e5de70b5755c1a | 5,380 | package com.example.ewallet;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatDelegate;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.text.Editable;
import android.text... | 36.351351 | 115 | 0.685688 |
1fe2988d20bc6ae723a65574a3757d02fd77b7e9 | 2,763 | /*
* Copyright (c) 2017 Spotify AB.
*
* 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,... | 34.111111 | 96 | 0.672096 |
73e7579a263850bf3b419673771b97a82d2bc519 | 8,458 | package winterwell.jtwitter;
import java.net.HttpURLConnection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* Connect to the streaming API.
* <p>
* Duplicate messages may be delivered when reconnecting to the Streaming API.
*
* @aut... | 28.38255 | 110 | 0.666115 |
4202cea9fa252160962e34aa834db1049a7eae86 | 360 | package br.com.podrao.auth.infra.mappers;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import br.com.podrao.auth.core.models.UsuarioDto;
import br.com.podrao.auth.infra.entities.UsuarioEntity;
@Mapper
public interface InfraUsuarioMapper {
@Mapping(target = "email", source = "source.username")
Usuari... | 24 | 55 | 0.794444 |
8fac2372cada6f6f2675a47d819f5ccb7e2864d6 | 1,005 | package com.github.combinedmq.rabbitmq;
import com.github.combinedmq.configuration.Configuration;
import lombok.Data;
/**
* @author xiaoyu
*/
@Data
public class RabbitMqConfiguration implements Configuration {
private String host;
private Integer port;
private String username;
private String passwo... | 25.769231 | 61 | 0.716418 |
22d628ec10e9fd1d08c4b2c6cfa3d15c0e2d9431 | 1,611 | /**
* Copyright 2016 ZTE Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 32.877551 | 78 | 0.671012 |
dcd870539c74dcaa6f95193bb739ef6a534a8373 | 6,324 | /*
* Copyright 2019-2020 The Polypheny Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | 42.72973 | 222 | 0.687065 |
999c257d1f71a64af37ca4b4445f264c470ce36d | 2,027 | package uk.gov.dft.bluebadge.webapp.citizen.service;
import java.util.UUID;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;
import uk.gov.dft.bluebadge.webapp.citizen.client.messagese... | 41.367347 | 103 | 0.770597 |
9a38fcf8f0ca061d837535579633aec7a8ca7a35 | 2,355 | package com.sj.spending.transaction.controller;
import com.sj.spending.logic.data.ImportedTransaction;
import com.sj.spending.transaction.data.entity.ImportedTransactionEntity;
import com.sj.spending.transaction.data.repo.ImportedTransactionRepository;
import com.sj.spending.transaction.data.dto.ImportedTransactionDto... | 44.433962 | 134 | 0.789809 |
b24c8f033b70998b3eb69495fb4e04093342c738 | 81 | package net.moonlightflower.wc3libs.dataTypes.app;
public class TileIdList {
}
| 13.5 | 50 | 0.802469 |
67ca985e78310bd353be8770b3ed718f1792b0b7 | 2,710 | package ch.unisg.roster.roster;
import ch.unisg.roster.roster.application.port.in.AddRosterItemPort;
import ch.unisg.roster.roster.domain.Roster;
import ch.unisg.roster.roster.domain.Task;
import ch.unisg.roster.roster.domain.valueobject.ExecutorType;
import org.json.JSONObject;
import org.json.JSONException;
import ... | 33.04878 | 109 | 0.70738 |
2835fe89774946d6182faa31809d9ad9a61f9f0e | 93 | package biz.iteksolutions.escpos.parser;
public class EscposCommand extends Command {
}
| 18.6 | 45 | 0.784946 |
0a88ef1804d29266ce198d043aaa0a40dacdf97c | 7,193 | /* Copyright IBM Corp. 2018
*
* 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 wr... | 34.581731 | 125 | 0.713471 |
81f97248fd66c3998251537f605ed7be35efcccc | 3,306 | package me.ehp246.aufjms.util;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.List;
import java.util.function.Consumer;
import org.assertj.core.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.databind.DeserializationFeature;
im... | 32.732673 | 115 | 0.533273 |
3507de2be11f87d06d8c4d65f658730d6507be1e | 198 | package io.github.service.impl;
import org.springframework.stereotype.Service;
import io.github.service.UserTestService;
@Service
public class UserTestServiceImpl implements UserTestService {
}
| 18 | 61 | 0.833333 |
4c70f6d283636f2200f9b3f9ba20514b41493cb6 | 7,038 | /*
* Copyright 2008-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 34.841584 | 102 | 0.54632 |
0ced20bc2546a168a7d63bcdb228d2113c0b3cf8 | 3,914 | package com.experts.core.biller.statemachine.api.rovo.awsxray.domain;
import com.experts.core.biller.statemachine.api.rovo.awsxray.domain.entities.mongo.BaseEntity;
import com.experts.core.biller.statemachine.api.rovo.awsxray.domain.entities.mongo.SaltHash;
import com.experts.core.biller.statemachine.api.rovo.awsxray.... | 30.578125 | 121 | 0.633112 |
06cae3928c4652f40cba989be2481d9d439460ed | 10,159 | /* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.util.math.base;
import java.math.BigDecimal;
import java.math.BigInteger;
import net.sf.mmm.util.math.api.NumberConversionException;
import net.sf.mmm.util.math.api.Numbe... | 26.18299 | 119 | 0.669849 |
6c8c690239cfd36b18c7a8046a2225fb24374136 | 2,067 | package br.com.oole.config;
import java.text.ParseException;
import java.util.Arrays;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
i... | 41.34 | 240 | 0.742622 |
1c278ad13c180989ea0479adfbc226eede083267 | 359 | package com.example.Weathers.services;
public class WeathersServicesException extends Exception {
public WeathersServicesException(String message, Throwable cause) {
super(message, cause);
// TODO Auto-generated constructor stub
}
public WeathersServicesException(String message) {
super(message);
// TODO ... | 21.117647 | 68 | 0.779944 |
c019556ea007b67edcfbe1945d62351e9209bd77 | 651 | package com.psc.vote.vote.domain;
public class Vote {
String userName;
String optionValueId;
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getOptionValueId() {
return optionVa... | 20.34375 | 60 | 0.56682 |
9df08b91ad87975a51f88f1973982a045c0c0f5d | 285 | /**
* The accounting package handles all transfers of various assets including 1) cash, 2) properties 3) houses
* and 4) free bail cards. If we ever had to, we could set up auditting here to make sure no cash or properties
* were ever "lost".
*/
package org.monsim.api.accounting; | 47.5 | 112 | 0.736842 |
a01b6e427f702f1eb7fc9fbe6e16e0fc75336580 | 2,304 | /*
* Copyright (C) 2018 Seoul National University
*
* 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 applic... | 31.135135 | 94 | 0.746528 |
e24dbb872253782ed7d41f0107bf758750ee554a | 2,297 | package com.example.TelikiEdvHCI;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import androidx.fragment.app.Fragment;
public class MainFragmentChoise extends Fragment implements View.OnClickListener {
Button... | 30.626667 | 150 | 0.681323 |
1bfb477300899cec90321d2964ef094fafebe4c8 | 268 | package pd;
import pd.modules.IModule;
import testexec.IVariableReplacer;
public interface IVar {
public abstract String getValue(IVariableReplacer variableReplacer);
public abstract IModule getModule();
public abstract String getName();
} | 20.615385 | 73 | 0.742537 |
78769c33a936e1457eb4565b5afb674364d0532d | 1,243 | package org.folio.search.configuration;
import static java.util.Collections.singletonList;
import static org.folio.spring.integration.XOkapiHeaders.TENANT;
import static org.folio.spring.integration.XOkapiHeaders.TOKEN;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import feign.Req... | 34.527778 | 70 | 0.815768 |
4ba7fe9ade5a2dbc6ec1e4e56c6c78432dd8c87b | 1,272 | package org.mycat.web.service;
import org.hx.rainbow.common.context.RainbowContext;
import org.hx.rainbow.common.core.service.BaseService;
import org.mycat.web.util.DataSourceUtils;
import org.mycat.web.util.DataSourceUtils.MycatPortType;
import org.springframework.context.annotation.Lazy;
import org.springframework.s... | 28.909091 | 103 | 0.759434 |
e875f8d200421c6ddf34fb981ef8eedbc7f8be01 | 252 | package org.tdar.core.bean;
/**
* not yet used, version of tDAR
*
* @author abrin
*
*/
public enum TdarVersion {
AZIMUTH,
BALK,
CADASTER,
DEBITAGE,
EOLIAN,
FLUVIAL,
GRID,
HARRIS,
INSITU,
JAR,
KNAP;
}
| 11.454545 | 32 | 0.555556 |
f7b3d8e4b736cabdd0920964a12a832f1f2b5fca | 5,742 | package ua.com.fielden.platform.sample.domain.crit_gen;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Stream;
import ua.com.fielden.platform.dao.QueryExecutionModel;
import ua.com.fielden.platform.entity.fetch.IFetchProvider;
import ua.com.... | 28.854271 | 159 | 0.674504 |
16cc3f5e30e94b2e709faaf201296d56e246783f | 1,988 | package pl.pkk82.filehierarchygenerator.util;
import static org.assertj.core.api.BDDAssertions.then;
import java.util.List;
import com.google.common.collect.Lists;
import org.assertj.core.api.ListAssert;
import org.junit.Test;
public class ListUtilTest {
private List<String> list;
@Test
public void shouldNot... | 21.376344 | 61 | 0.695171 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.