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 |
|---|---|---|---|---|---|
d4f2c6d0c52dbba79208054d28fb6831292b98d3 | 681 | package foundation.omni.rpc;
import com.fasterxml.jackson.annotation.JsonProperty;
import foundation.omni.OmniValue;
import org.bitcoinj.core.Address;
import java.math.BigDecimal;
/**
* Balance entry for an Address
*/
public class AddressBalanceEntry extends BalanceEntry {
private final Address address;
... | 26.192308 | 78 | 0.668135 |
f7ad126d88f6afe7d90072bf0b9070eac9e859e3 | 1,174 | package com.larkmidtable.executor.service.jobhandler;
import cn.hutool.core.io.FileUtil;
import com.larkmidtable.core.biz.model.ReturnT;
import com.larkmidtable.core.biz.model.TriggerParam;
import com.larkmidtable.core.handler.IJobHandler;
import com.larkmidtable.core.handler.annotation.JobHandler;
import com.larkmid... | 29.35 | 65 | 0.70954 |
70a9515e5db788750bfb75106cc617c716751577 | 4,393 | /*
* 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 ifeed.mining.arm;
import ifeed.architecture.AbstractArchitecture;
import ifeed.local.params.BaseParams;
import ifeed.mining.Ab... | 36.608333 | 172 | 0.593444 |
4a5370b4dffbf94dc9784999906a684d4b0c998c | 8,044 | package net.lecousin.framework.application.libraries.classloader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
import java.ut... | 32.047809 | 131 | 0.696917 |
5a0313aa5ce2e0cabfd50cca79a63a48aef8ff1b | 938 | package com.yj.springbootdemo.servlet;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* @Author 76355
* @Date 2018/9... | 30.258065 | 114 | 0.744136 |
80ceca5ac1c820cc70be379d3f6b79ef1caa0c1b | 4,836 | package com.surfilter.act.thumbnailator.util.exif;
import java.awt.image.BufferedImage;
import java.io.File;
import javax.imageio.ImageIO;
import org.junit.Test;
import com.surfilter.act.thumbnailator.filters.ImageFilter;
import com.surfilter.act.thumbnailator.test.BufferedImageAssert;
import com.surfilter.act.thum... | 23.475728 | 85 | 0.685897 |
78420eb51883cd17f93b0069d612b76be33aebbf | 9,989 | /*
* Copyright 2018 JDCLOUD.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 or agreed to in... | 21.029474 | 97 | 0.596556 |
8484c37f910b19c9fac4296cd2768d93a0ae4999 | 361 | package org.stellasql.stella.gui.util;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.widgets.Display;
public class StellaClipBoard
{
private static Clipboard cb = null;
public static void init(Display display)
{
cb = new Clipboard(display);
}
public static Clipboard getCli... | 17.190476 | 43 | 0.68144 |
db848c2bd104fd0e244e5ad390c012445b9292ca | 1,031 | package com.example.tuanpd.myapplication;
public class LocationUser {
private double latitude;
private double longitude;
private String username;
private long updatedTime;
private String phoneNumber;
public double getLatitude() {
return latitude;
}
public void setLatitude(doub... | 20.62 | 52 | 0.646945 |
016ee3498d911afd468ed17ad371e105c63ff057 | 237 | package com.github.baloise.rocketchatrestclient.util;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class Misc {
public static final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'");
}
| 26.333333 | 94 | 0.78481 |
86435d9f263acf30743c5abbf20caa21ffaea1e3 | 3,546 | package com.adus.contentscheduler.contentpersonalization;
import com.adus.contentscheduler.dao.Rating;
import com.adus.contentscheduler.dao.entity.Content;
import com.adus.contentscheduler.dao.entity.ContentAttributes;
import com.adus.contentscheduler.dao.entity.StaticContent;
import java.util.List;
import java.util.... | 34.096154 | 118 | 0.707276 |
dbe5d46f01da39e3cbafb8d92fb213d6e9bd3af5 | 11,032 | import org.junit.Test;
import org.junit.Before;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
/**
* This is a basic set of uni... | 30.059946 | 78 | 0.569525 |
f23260435d72c3b59200bdf78415e8e9f9487a6c | 1,000 | package cfalcione.cs303.lab02;
import cfalcione.cs303.shared.SortingAlgorithm;
public class InsertionSort <T extends Comparable<T>> extends SortingAlgorithm<T> {
public String name() { return "Insertion Sort"; }
public void sort(T[] array, int start, int end) {
if (end - start < 2) return;
f... | 28.571429 | 82 | 0.533 |
74cc086185cc104f0f061e44be9a1283fe843c9e | 899 | package fr.kayrnt.tindplayer.api.friends;
import android.os.AsyncTask;
import fr.kayrnt.tindplayer.client.TinderAPI;
import fr.kayrnt.tindplayer.activity.FriendListActivity;
/**
* Created by Kayrnt on 07/12/14.
*/
public class FriendListUpdateTask extends AsyncTask<Void, Void, Void> {
private TinderAPI tinde... | 23.051282 | 83 | 0.689655 |
bb20013abffb837930648793d840c0894f7c89fc | 542 | package li.cil.scannable.client.scanning.filter;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.EntityType;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import java.util.Objects;
import java.util.function.Predicate;
@OnlyIn(Dist.CLIENT)
... | 30.111111 | 91 | 0.785978 |
9b3d74bc0ed9bfaf389c31c82f3d7c98a1b45d60 | 724 | package com.care.temperature_monitor;
public class TemperatureConfig {
private Long patientId;
private TemperatureState minState;
private TemperatureState maxState;
public TemperatureConfig() {
}
public Long getPatientId() {
return patientId;
}
public void setPatientId(Long p... | 20.685714 | 56 | 0.668508 |
fb3423e9813687c1264b597a0847d71e03922d05 | 6,008 | package com.batt.data;
import android.Manifest;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.text.TextUtils;
import android.view.View;
import android... | 43.223022 | 166 | 0.603862 |
6eaf70d1f96e5c278a854f3b4483baebedc554f3 | 326 | package org.samovich.cop2800.chapter2;
/**
* Filename CharDemo.java
* Created by Valery Samovich
* Written on 5/16/16
*/
public class CharDemo {
public static void main(String[] args) {
char initial = 'A';
System.out.println(initial);
System.out.print("\t\"abc\\def\\bghi\n\njkl");
... | 18.111111 | 54 | 0.625767 |
5bbe7de971d88b74c38dafa4618bd4b36edf3f75 | 1,325 | package io.khasang.gahelp.service.impl;
import io.khasang.gahelp.dao.EmployeeDao;
import io.khasang.gahelp.dto.EmployeeDto;
import io.khasang.gahelp.entity.Employee;
import io.khasang.gahelp.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Se... | 25.480769 | 67 | 0.722264 |
107a59c703b880397fe1cb36798bd65e991740a1 | 1,196 | package com.enjin.sdk.model.service.identities;
import com.enjin.sdk.model.service.PaginationRequest;
import com.enjin.sdk.service.identities.IdentitiesService;
/**
* A builder for getting identities from the Trusted platform.
*
* @author Evan Lindsay
* @see IdentitiesService
*/
public class GetIdentities extend... | 23.45098 | 69 | 0.646321 |
28ccc35577b6785b1cc2b0261119649e7d9c6236 | 7,388 | /*
* #%L
* de.metas.ui.web.base
* %%
* Copyright (C) 2022 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) any late... | 31.982684 | 143 | 0.781673 |
4ac6aa71422ff0a5744aa228323edcec9901ae23 | 916 | package com.automic.azure.constants;
/**
* Enum that defines constants which are placeholder for actions. When an implementation of {@link AbstractAction} is
* created we also create a constant in this enum. Mapping is defined in {@link ActionFactory}
*/
public enum Action {
VERSION, GET_SUBSCRIPTION_INFO, VM_... | 36.64 | 117 | 0.69214 |
845cb61d1e3dbefe3ec8fd6429b601e0d7376e3a | 937 | package linc.com.amplituda;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
final class FileManager {
synchronized static String readFile(final String path) {
StringBuilder output = new StringBuilder();
... | 26.027778 | 63 | 0.584845 |
2870e841184d477b26e7b73bccf468ad2a007a0f | 1,638 | package me.jddev0.items;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
imp... | 30.333333 | 98 | 0.716728 |
d3d85cb7ab6d19bad7a5364a16e5cd6b4adab2fd | 827 | package org.openforis.collect.earth.planet;
public class Feature {
FeatureProperties properties;
String id;
public FeatureProperties getProperties() {
return properties;
}
public void setProperties(FeatureProperties properties) {
this.properties = properties;
}
public String getId() {
return id;
}
... | 25.060606 | 139 | 0.698912 |
14338108bf5c0eb7bc3b5ec8406c7b19bb3245f8 | 253 | package com.designpattern.cases.structure.decorator.drinks;
public class Mocha extends CondimentDecorator {
public Mocha(Drink drink) {
super(drink);
}
@Override
public double cost() {
return 1 + drink.cost();
}
}
| 18.071429 | 59 | 0.648221 |
b827a5cb80d225aaf9e51b30be365ce0f79518a4 | 8,304 | /******************************************************************
*
* Copyright 2017 Samsung Electronics 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
*
* ... | 45.626374 | 100 | 0.800458 |
1ce602d1f7dee3fe38e144962e8789acb18c8609 | 1,380 | package com.bkahlert.nebula.utils;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.eclipse.core.runtime.Assert;
/**
* This {@link Future} wraps a given {@link Future} and applies a
* {... | 23 | 72 | 0.738406 |
7303de80eb28a097d384ab5811223c98001ad92b | 2,518 | import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.Queue;
import javax.jms.Session;
import javax.jms.Topic;
import javax.naming.Context;
import javax.naming.InitialContext;
import java.util.Prope... | 41.278689 | 118 | 0.727959 |
d503c5fcf008c2e3c4ae50f4ff6b9ed61ad4d3b8 | 1,425 | /*
* Copyright 2020 OPPO ESA Stack 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... | 37.5 | 82 | 0.756491 |
8a8b914c5a7e782599e212e40daf7ebc9197df42 | 639 | package cn.wilton.rocket.mapper;
import cn.wilton.rocket.common.entity.system.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author Ranger
* @date: 2021/3/6 17:00
* @email: wilton.icp@gmail.com
*/
@Repository
public in... | 19.96875 | 55 | 0.665102 |
89b5e7d2695a6d897a177acc0f07b21e48077cd4 | 9,748 | /*
* Copyright (c) 2016. See AUTHORS file.
*
* 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... | 37.492308 | 119 | 0.620332 |
af07dc6f146999bc493477d74092a62f83c755fe | 2,128 | package mapping.get;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMappe... | 23.644444 | 69 | 0.68985 |
8f12745d14d9e8a752f5ea8a2f14670f8f910cf0 | 9,815 | /**
* 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 m... | 43.622222 | 105 | 0.703413 |
d23061ddc92cc74fbbf6c2c4615a2d0e17f8a593 | 17,052 | package com.box.l10n.mojito.service.asset;
import com.box.l10n.mojito.entity.Asset;
import com.box.l10n.mojito.entity.AssetExtraction;
import com.box.l10n.mojito.entity.Branch;
import com.box.l10n.mojito.entity.Repository;
import com.box.l10n.mojito.service.assetExtraction.AssetExtractionRepository;
import com.box.l10... | 47.235457 | 188 | 0.724724 |
46c7fcf5f9b3c3df68df9d5fd3c16aa3c1317d72 | 310 | package com.mapswithme.maps.ads;
import androidx.annotation.NonNull;
import android.view.View;
import com.mopub.nativeads.BaseNativeAd;
public interface AdRegistrator
{
void registerView(@NonNull BaseNativeAd ad, @NonNull View view);
void unregisterView(@NonNull BaseNativeAd ad, @NonNull View view);
}
| 23.846154 | 68 | 0.8 |
4a5cd54e70b768a72a5ac915cb18aab2f10f71c2 | 3,168 | package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* BQFunctionalSpecificationRetrieveOutputModelFunctionalSpecif... | 39.111111 | 230 | 0.825758 |
6b4d8909b20dbaf8b0cdfb5d16856a7461ebbddd | 2,612 | /*
* Copyright 2002-2022 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 a... | 31.095238 | 101 | 0.733538 |
0551e41992e18b237130fcd0a0fa4c4fb167b369 | 3,017 | package de.uni_hildesheim.sse.system.fallback;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadMXBean;
import de.uni_hildesheim.sse.system.IThreadDataGatherer;
/**
* Implements a thread data gatherer for the Java platform (using JMX
* functionality). Be careful as JMX for... | 28.196262 | 79 | 0.57176 |
55ec297ae1e303798b02758a785fe8f84eede261 | 381 | package com.coracle.dms.service;
import com.coracle.dms.po.DmsOrderProductEvaluation;
import com.coracle.dms.vo.DmsOrderEvaluationVo;
import com.coracle.dms.vo.DmsOrderProductEvaluationVo;
import java.util.List;
public interface DmsOrderEvaluationService {
void create(DmsOrderEvaluationVo evaluationVo);
Dm... | 27.214286 | 65 | 0.834646 |
0efed652744d570c7134c974d3423afaa5e00bea | 101 | package br.com.zup.proposta.cartao.bloqueio;
public enum ResultadoBloqueio {
BLOQUEADO, FALHA
}
| 16.833333 | 44 | 0.772277 |
1a4867b33e96c81e601837e6a3eaa4cf30ff7e58 | 6,253 | /*
* 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 controlador.datos;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import javax.swing... | 43.727273 | 224 | 0.646889 |
2b03f6a8cb96dc721e3638c04bc7a8f3248abcbb | 446 | package org.projects.randomchan.repository;
import org.projects.randomchan.model.entity.BoardEntity;
import org.projects.randomchan.model.entity.TagEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interfa... | 26.235294 | 71 | 0.816143 |
7cfb745802c00b7168bd9fe693cbd42a63ae22d3 | 885 | package com.dwarfeng.capacitychecker.impl.handler.pusher;
import com.dwarfeng.capacitychecker.impl.handler.Pusher;
import java.util.Objects;
/**
* 抽象推送器。
*
* <p>
* 推送器的抽象实现。
*
* @author DwArFeng
* @since 1.0.0
*/
public abstract class AbstractPusher implements Pusher {
protected String pusherType;
... | 18.829787 | 57 | 0.624859 |
fc8e5a5e49b9f4a3ea9106ae5f6b5ac8cd783b88 | 4,068 | /**
* Copyright 2013 Comcast Cable Communications Management, LLC
*
* 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 b... | 26.076923 | 99 | 0.600049 |
64624a28c5da235233bac0d7a52b0c07f00de0b7 | 3,566 | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 37.93617 | 96 | 0.6447 |
221ad73dddf06dd151e7456911374d91ba97b84a | 327 | package Shape;
public class Rect extends Shape{
private int width;
private int height;
@Override
public int getArea() {
return width * height;
}
public void setWidth(int width) {
this.width = width;
}
public void setHeight(int height) {
this.height = height;
... | 16.35 | 39 | 0.59633 |
6d1fc093cb1f410eacc6e6b8e574e0c93ea0be8f | 587 | package com.pearadmin.pro.modules.sys.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pearadmin.pro.modules.sys.domain.SysDict;
import com.pearadmin.pro.modules.sys.param.SysDictRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java... | 25.521739 | 71 | 0.739353 |
f7519db55bb43600288f442b5fe86f1969b5c125 | 349 | package com.google.gson;
import java.lang.reflect.Field;
/* 'enum' access flag removed */
/* renamed from: com.google.gson.d */
/* compiled from: FieldNamingPolicy */
class C10173d extends C10178i {
C10173d(String str, int i) {
super(str, i, null);
}
public String translateName(Field f) {
... | 20.529412 | 42 | 0.644699 |
d97cb093ac5d352544db253caa5f272649396d26 | 181 | package com.factly.dega.service;
import com.factly.dega.domain.claimsearch.ClaimSearch;
public interface ClaimSearchService {
public ClaimSearch claimSearch(String query);
}
| 20.111111 | 54 | 0.80663 |
fc313c9fbca131cad930f5761c0e722dde347a74 | 2,101 | /*
* Copyright (C) 2012 - 2014 Brandon Tate, bossturbo
*
* 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... | 30.897059 | 107 | 0.674917 |
1f00975c2b5f6c6f0774f3bfbe3cff7dcd059519 | 526 | package net.theopalgames.polywindow.libgdx;
import net.theopalgames.polywindow.IDrawer;
import net.theopalgames.polywindow.IUpdater;
import net.theopalgames.polywindow.Window;
import net.theopalgames.polywindow.WindowManager;
public interface PlatformHandler {
void quit();
boolean canQuit();
Window newWi... | 30.941176 | 146 | 0.781369 |
dd7648bdeca54475cee5d14148d7940009d534b6 | 3,828 | /*******************************************************************************
* Copyright (c) 2009, 2014 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... | 27.539568 | 135 | 0.701672 |
1faedf6516bb51a614d85a31b8673be7016857c9 | 1,350 | package com.lzc.timepick;
import java.util.Calendar;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Toast;
import com.lzc.timepick.widget.TimePicker;
import com.lzc.timepick.widget.TimePicker.OnTimeChangedListener;
import com.lzc.timepick.widget.TimePickerDialog;
public cla... | 27 | 150 | 0.71037 |
83defba689f12d9a984a110fc17b5ca2ccf5c495 | 470 | package com.bjoernkw.sleuthzipkinexample.customerservice.customer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
@Service
public class CustomerService {
private static final Logger LOGGER = LoggerFactory.getLogger(CustomerService.class);
public Custo... | 26.111111 | 88 | 0.770213 |
6c65c082480f3cdbf31196fd87c1d086b5559a22 | 3,112 | package org.icann.rdapconformance.validator.workflow.profile.rdap_response;
import org.icann.rdapconformance.validator.workflow.profile.RegistrarEntityPublicIdsValidation;
import org.icann.rdapconformance.validator.workflow.rdap.RDAPDatasetService;
import org.icann.rdapconformance.validator.workflow.rdap.RDAPQueryType... | 38.419753 | 99 | 0.712082 |
69136fe0b05eaec9847222aabb493171f28e9c05 | 2,056 | package com.blazebit.storage.server.bucket;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.inject.Inject;
import com.blazebit.storage.rest.client.BlazeStorage;
import com.... | 25.073171 | 89 | 0.734436 |
855aaeac8e9215e3f23a3aa0c809eb09a8c2e693 | 2,028 | /*
* Copyright (C) 2019-Present Pivotal Software, Inc. All rights reserved.
*
* This program and the accompanying materials are made available under
* the terms of the 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 ... | 36.872727 | 82 | 0.760848 |
601823e1a19795e3f1d9c0480b77308541feccf1 | 1,104 | package com.shoory.framework.starter.wechatmp;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import cn.binarywang... | 29.052632 | 95 | 0.793478 |
0a3ab1fb840a235978c8f74a0a10bc1c1d47e45a | 422 | package de.rmi.springrmiloadbalancer.server.adapter;
/**
* HelloWorld service interface
*/
public interface HelloWorld {
/**
* Prints "Hello World from Server"
* @return String
*/
public String helloWorldFromServer ();
/**
* Sums up to parameters a and b and returns their sum
*... | 19.181818 | 58 | 0.613744 |
0e00715528f5abc908afabcde31182b07b06ef8d | 3,914 | /*
* 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 ... | 44.477273 | 117 | 0.768523 |
afbc8a60989051c38ef3903950c3c2b43cedac06 | 13,474 | // Copyright 2017 JanusGraph 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 applicable law or agree... | 47.443662 | 140 | 0.671961 |
ad0d45b255855478d4b3b2e68c7302f93410bc47 | 31,875 | /*
* This file is part of FastClasspathScanner.
*
* Author: Luke Hutchison
*
* Hosted at: https://github.com/lukehutch/fast-classpath-scanner
*
* --
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Luke Hutchison
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this softw... | 60.369318 | 120 | 0.574149 |
6538837fafd134c739c971ffe4635b8f0f444e0e | 8,367 | /*-
* #%L
* HTTP Server
* %%
* Copyright (C) 2005 - 2020 Daniel Sagenschneider
* %%
* 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.... | 22.312 | 117 | 0.638102 |
d620cffbee12067f4079714f01cd9e15f064b809 | 648 | //
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.bstek.urule.model.flow.ins;
import com.bstek.urule.runtime.response.FlowExecutionResponse;
import com.bstek.urule.runtime.rete.Context;
import java.util.List;
import java.util.Map;
public interface Fl... | 23.142857 | 62 | 0.757716 |
6dc7036eaaa77f0255ed52244a2da513e1db93e5 | 29,760 | /**
*
* Copyright 2016 Xiaofei
*
* 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 w... | 43.00578 | 110 | 0.43666 |
80856391a7110f41856302e245e5d00c879a514f | 2,616 | /*
* Copyright 2010 JBoss 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... | 26.693878 | 79 | 0.531728 |
98389c39793c99ca43c6e7298b5877d52df9e5b2 | 1,011 | package StSShapeShifter.powers;
import basemod.interfaces.CloneablePowerInterface;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.megacrit.cardcrawl.core.Settings;
import com.megacrit.cardcrawl.powers.AbstractPower;
public abstract class AbstractFormPower extends ... | 38.884615 | 185 | 0.664688 |
6601da76fc997b863d33b8bbde048456ce0453b2 | 10,920 | /*******************************************************************************
* Copyright (c) 2018-07-03 @author <a href="mailto:iffiff1@gmail.com">Tyler Chen</a>.
* All rights reserved.
*
* Contributors:
* <a href="mailto:iffiff1@gmail.com">Tyler Chen</a> - initial API and implementation.
* Auto Generate ... | 37.655172 | 114 | 0.564652 |
f0033223415e8643a465f2638cf25d0bce25ceba | 3,417 | package com.dengdeng123.blowupplane.module.game;
import android.content.Intent;
import android.view.KeyEvent;
import android.view.View;
import android.widget.TextView;
import com.dengdeng123.blowupplane.R;
import com.dengdeng123.blowupplane.base.BaseActivity;
import com.dengdeng123.blowupplane.base.BeginApplication;
... | 29.205128 | 77 | 0.789582 |
9d34ccb0e326e2d69d29868c10e85f94dae7a544 | 1,967 | package cz.salmelu.contests.model;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* A factory taking care of object ids, being the only way to assign a new id to objects.<br>
* Class is package private, therefore it cannot be modified and used outside the model objects.<br>
* Regi... | 26.581081 | 100 | 0.686324 |
a461697dfe4990f832df814a7a880d90d72281c9 | 2,424 | /*
* (c) Copyright 2018 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 37.875 | 117 | 0.735149 |
427707024e761cf24107ca65d2ce5f6dba0aa408 | 570 | package com.zerobase.fastlms.member.controller;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestControlle... | 31.666667 | 64 | 0.819298 |
2545afa0f4033b40fbd307fb157f5629ab0221f6 | 3,565 | package io.github.richardstartin.multimatcher.core;
import org.junit.jupiter.api.Test;
import java.util.HashMap;
import java.util.Map;
import java.util.function.ToIntFunction;
import java.util.stream.IntStream;
import static java.util.stream.Collectors.toList;
import static org.junit.jupiter.api.Assertions.assertEqu... | 44.012346 | 109 | 0.514727 |
42f3a53106ec65aba6d1329f71bd2ad48b93c713 | 570 | package model;
public class ItemDoPedido {
int quantidade;
Produto produto;
public ItemDoPedido() {
}
public ItemDoPedido(int quantidade, Produto produto) {
this.quantidade = quantidade;
this.produto = produto;
}
public int getQuantidade() {
return quantidade;
... | 17.272727 | 58 | 0.619298 |
7910c5f85ba86573b7bff21954a98f4ab567fd96 | 867 | /*----------------------------------------------------------------------------------------------------------------------
Yalnızca bir karakteri ekrana yazan metot ve dizi veri yapısı kullanarak int türden bir sayıyı ekrana bastıran
metodun recursive olmayan versiyonu
--------------------------------------------... | 29.896552 | 120 | 0.438293 |
f4635a9f53c08bb92799ef17be1103ac823a594f | 4,031 | package com.googlecode.jmapper.operations.complex;
import static com.googlecode.jmapper.util.GeneralUtility.newLine;
import com.googlecode.jmapper.bean.ComplexClass;
import com.googlecode.jmapper.operations.AOperation;
import java.lang.reflect.Field;
import java.util.HashMap;
import com.googlecode.jmapper.enums.Conv... | 27.236486 | 79 | 0.662863 |
97ce05134471faaa946c24f9761f320398d626d2 | 306 | package jp.dodododo.dao;
import java.util.List;
public abstract class Each<T> implements IterationCallback<T> {
@Override
public final List<T> getResult() {
return null;
}
@Override
public final void iterate(T x) {
each(x);
}
/**
* @param it it
*/
protected void each(T it) {
}
}
| 12.75 | 63 | 0.650327 |
e4ab72ec18c6f8c3bce19acd6b1905871b06490e | 525 | // Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package com.google.android.exoplayer2.upstream.cache;
public interface ContentMetadata
{
public abstract boolean contains(String s);
public abstract ... | 25 | 67 | 0.76 |
a21ea6df6aa95693e7f2d4f83ebac869a78cca26 | 1,912 | package com.walkline.autohome.dao;
import java.util.Vector;
import com.walkline.autohome.AutohomeException;
import com.walkline.autohome.AutohomeSDK;
import com.walkline.autohome.inf.Topic;
import com.walkline.autohome.inf.TopicList;
import com.walkline.util.Function;
import com.walkline.util.json.JSONArray;
import c... | 27.710145 | 95 | 0.728556 |
2d1a4b5a43bd46b9a119f861e50cd649c4d70bfa | 455 | package com.wthfeng.dubboserver.service;
import com.alibaba.dubbo.config.annotation.Service;
import com.wthfeng.dubboapi.service.HelloService;
/**
* @author wangtonghe
* @since 2018/9/5 17:46
*/
@Service(timeout = 5000, version = "1.0", group = "demo-dubbo")
public class HelloServiceImpl implements HelloService {
... | 22.75 | 63 | 0.685714 |
aa64a4f9dea6b5458b0f387913cc4d977a74ad93 | 6,049 | package ro.rasel.collections;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.NavigableSet;
import java.util.Set;
import java.util.TreeSet;
import java.... | 44.477941 | 119 | 0.61101 |
a4567d8829384382cdf89d4d1ea5d1a860b003c2 | 16,312 | package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.ElapsedTime;
import static java.lang.Math.abs;
/**
* Created by User on 10/7/2017.
*... | 35.46087 | 133 | 0.501287 |
a1c9e844a6c767cee883f929e0f47d3b42909ddd | 2,338 | package com.app.controllersWebAdmin;
import com.app.dto.CompanySearchDTO;
import com.app.service.FileService;
import com.app.service.ProductService;
import com.app.validators.CompanySearchDtoValidator;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springfra... | 38.966667 | 139 | 0.71343 |
faec6c3767ce3b972a540332bab29248135d6edb | 1,223 | package org.ayo.fringe.ui.adapter;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import com.facebook.drawee.view.SimpleDraweeView;
import org.ayo.fresco.Flesco;
import org.ayo.fringe.R;
import org.ayo.fringe.widget.NineGridLayout;
/**
* Created by Administrator on 2016/... | 23.075472 | 90 | 0.683565 |
1199b04e8d6c595bda9fec87bcb25f2bfe7cdf20 | 3,858 | /*
*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http:/... | 38.58 | 98 | 0.713323 |
a6580820d7c0951911bce900aac6d21f529b7744 | 7,060 | /*
* 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 utils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util... | 26.946565 | 97 | 0.589518 |
873ade0daea3aa49cd71fd54ac25318e8a6acafc | 3,690 | package sher.argon.core.window.panels;
import sher.argon.core.window.WindowUtil;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import java.awt.*;
import java.awt.event.*;
public abstract class ValueInputField<T> extends JTextField {
T value;
boolean ... | 30.245902 | 98 | 0.538482 |
54b1d3cb1d9c8c8b4663cd4f6615ab9acf1d363f | 633 | package edu.greenblitz.bigRodika.commands;
import edu.greenblitz.bigRodika.subsystems.Chassis;
import edu.greenblitz.gblib.command.GBCommand;
import edu.greenblitz.gblib.hid.SmartJoystick;
public class ArcadeDrive extends GBCommand {
SmartJoystick joystick;
public ArcadeDrive(SmartJoystick joystick) {
... | 27.521739 | 93 | 0.703002 |
39efcd2a28f88d25c9b68fcaf4baed9da3f4082f | 2,630 | package worms.model;
import worms.model.behaviors.Aimeable;
import worms.model.behaviors.Healthy;
import worms.model.behaviors.Measurable;
import worms.model.behaviors.Movable;
import worms.model.behaviors.Powerable;
import worms.model.behaviors.Shooter;
import worms.model.units.Aim;
import worms.model.units.Health;
i... | 21.557377 | 94 | 0.634981 |
eb2ea406b26a670f8c3de48e2724a517339a6db5 | 5,108 | package finance.clientes;
import java.sql.SQLException;
import db.JDBCConnection;
import java.sql.ResultSet;
import java.time.LocalDate;
import java.util.ArrayList;
/**
*
* @author user
*/
public class RegisterModelCliente
{
private int tipoCliente;
private int numeroDocumento;
pri... | 30.586826 | 123 | 0.588684 |
8159df5f833eda50debff1b502b0914823c5054c | 821 | package br.edu.ifpb.dac.scenario_one.domain;
import br.edu.ifpb.dac.scenario_one.domain.Actor;
import br.edu.ifpb.dac.scenario_one.domain.Film;
import javax.annotation.Generated;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="EclipseLink-2.5... | 41.05 | 79 | 0.800244 |
727c3a3d3f1dfd38f26a9b1ec5653c64aa1c18f2 | 8,221 | /*
* Copyright (C) 2019 The Turms Project
* https://github.com/turms-im/turms
*
* 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
*
*... | 41.943878 | 118 | 0.655151 |
00fd5d66baf877b3caaad6d461a0388b8e52a8f4 | 6,276 | // ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... | 46.835821 | 141 | 0.721957 |
2c08cf9f8b44a02b1f5a044db057d91fa8fbfb22 | 7,261 | package com.ste.arch.ui.viewpager;
import android.arch.lifecycle.Observer;
import android.os.Bundle;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import... | 36.305 | 141 | 0.656934 |
fbd18834ba6302ace46bd2f70df255dc7b36ecb1 | 2,867 | package de.tum.in.www1.artemis.domain.exam;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Gen... | 24.092437 | 66 | 0.675619 |
eb42b41d23afd92d216a54ae4363570df85082f2 | 3,133 | package demoPanels;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.geom.Ellipse2D;
import java.util.ArrayList;
import javax.swing.SwingUtilities;
import util.AnimationPanel;
import util.GameMath;
import util.GraphicalObject;
public class DotSimulator exte... | 26.550847 | 103 | 0.598468 |
84497231e7ec6cd5afa8f20ba041f8a004c49aa1 | 1,870 | /*
* (C) Copyright 2020 Radix DLT Ltd
*
* Radix DLT Ltd 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.org/licenses/LICENSE-2.0
*
* Unless re... | 27.101449 | 83 | 0.748663 |
6f80115f45f251665ca0d4414dbce7984d51ccc3 | 1,883 | /* Copyright (c) 2016, Isode Limited, London, England.
* All rights reserved.
*
* Acquisition and use of this software and related materials for any
* purpose requires a written license agreement from Isode Limited,
* or a written license from an organisation licensed by Isode Limited
* to grant such a lice... | 35.528302 | 97 | 0.6718 |
41ff8c886ed54334313b6c2058648e693b52c8e6 | 1,076 | /* */ package classes.lrg.insider.plugins.filters.memoria.classes;
/* */
/* */ import lrg.common.abstractions.entities.AbstractEntityInterface;
/* */ import lrg.common.abstractions.plugins.Descriptor;
/* */ import lrg.common.abstractions.plugins.filters.FilteringRule;
/* */
/* */ public class IsI... | 44.833333 | 191 | 0.636617 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.