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 |
|---|---|---|---|---|---|
4c8ee013b77aed3ff23cf3d13c06f7b56ed944b5 | 8,717 | /**
* Copyright 2000-2013 Geometria Contributors
* http://geocentral.net/geometria
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License
* http://www.gnu.org/licenses
*/
package net.geocentral.geometria.converter;
import java.util.ArrayL... | 50.387283 | 118 | 0.617988 |
bf0743af0f60a7313b8fdfb574bc1435c51af00d | 2,045 | /*
* 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")... | 46.477273 | 141 | 0.764303 |
4e0c3cb2d4f61f365665ca94febf3d3193f49295 | 10,400 | package fi.metropolia.yellow_spaceship.androidadvproject.providers;
import android.content.ContentProvider;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Context;
import android.content.UriMatcher;
import android.database.Cursor... | 35.616438 | 105 | 0.589135 |
d23f242e93b41c0af068beeb3777a9ce14d6c745 | 54 | package org.trganda.remote;
public class Message {
} | 10.8 | 27 | 0.759259 |
d19ffc91bd316d8b37024fa13923ae2f27bb199b | 5,536 | package com.pydio.cells.utils;
import com.google.gson.Gson;
import com.pydio.cells.api.SdkNames;
import com.pydio.cells.api.ui.FileNode;
import com.pydio.cells.client.model.FileNodeImpl;
import com.pydio.cells.openapi.model.TreeNode;
import com.pydio.cells.openapi.model.TreeNodeType;
import org.json.JSONArray;
import... | 39.542857 | 105 | 0.61922 |
82f27ade01f956447e5365cb95f34c7c32e3c83a | 1,438 | package pokecube.adventures.events;
import net.minecraftforge.eventbus.api.Cancelable;
import net.minecraftforge.eventbus.api.Event;
import pokecube.adventures.blocks.genetics.cloner.ClonerTile;
import pokecube.adventures.blocks.genetics.helper.BaseGeneticsTile;
import pokecube.core.database.PokedexEntry;
import pokec... | 22.825397 | 68 | 0.627955 |
f3f8014aec4ba8b7e9a3a889fe342a9a45b56813 | 2,607 | /*
* This file is part of VoxelSniper, licensed under the MIT License (MIT).
*
* Copyright (c) The VoxelBox <http://thevoxelbox.com>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | 36.208333 | 92 | 0.726122 |
2a358ad0a3c7bc164d6080a013d2d41c2ac5e3fc | 20,585 | /*-
* #%L
* Activity
* %%
* 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.0
... | 40.362745 | 117 | 0.739422 |
557a6281059f336f3b9df4147d5c619a712f5bab | 914 | package com.github.i49.hibiscus.problems;
import java.math.BigDecimal;
import java.util.Locale;
import com.github.i49.hibiscus.common.Bound;
/**
* Problem that a numeric value is greater than the upper bound of the valid range
* specified in the schema. The value of the upper bound is included in the vali... | 30.466667 | 97 | 0.727571 |
e6730e5140db58c44c99b2991b06d7b0bb18d9c4 | 467 | package allow.simulator.knowledge;
import allow.simulator.entity.Entity;
import allow.simulator.entity.Person;
import allow.simulator.entity.Bus;
/**
*
*
* @author Andi
*
*/
public class HPersonAndBus extends ExchangeHandler {
@Override
public boolean exchange(Entity entity1, Entity entity2) {
if ((ent... | 19.458333 | 66 | 0.715203 |
64e14f73dc642cded05c82d73ac8044e4c9a3e31 | 1,795 | package ode.vertex.impl.helper;
import ode.vertex.impl.helper.backward.AugmentedDynamics;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.indexing.NDArrayIndex;
import org.nd4j.linalg.primitives.Pair;
import java.util.ArrayList;
import java.util.List;
/**
* {@link GraphInputOutput} which does no... | 30.423729 | 117 | 0.647911 |
6657bbd29fcffcefe1a3022e581cd7c5a2aa04f0 | 2,323 | import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("lp")
@Implements("ClanMate")
public class ClanMate extends Buddy {
@ObfuscatedName("u")
@ObfuscatedSignature(
descriptor = "Loe;"... | 23.23 | 131 | 0.688334 |
f9bc266d8872fc9ce1a87ae75511076cb9427672 | 7,977 | /*
* Copyright 2017 Crown Copyright
*
* 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... | 42.206349 | 126 | 0.682713 |
6778fa93c5d6553c8831bee717d681c8d095cc84 | 1,535 | package com.eternalcode.core.command.implementations;
import com.eternalcode.core.configuration.implementations.MessagesConfiguration;
import com.eternalcode.core.configuration.implementations.PluginConfiguration;
import com.eternalcode.core.utils.ChatUtils;
import dev.rollczi.litecommands.annotations.Execute;
import ... | 38.375 | 177 | 0.771987 |
f82901c753729f23736325727ad92e071adbfd04 | 4,463 | /**
* Copyright (c) 2017 Dell Inc., or its subsidiaries. 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
*/
pac... | 38.145299 | 115 | 0.688774 |
35fac3e3d751b58c6f05f207f6318a51f2d5126a | 2,995 | package com.example.tapp2;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Toast;
import com.r0adkll.slidr.Slidr;
import com.r0adkll.slidr.model... | 30.252525 | 86 | 0.516528 |
924658c00639adad33a2bd0622f76ead6f2b527d | 2,122 | /**
*
*/
package com.google_melange.Dataset;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
/**
* @author Rahul Sharnagat
*
*/
public class Question {
List<QuestionInstance> questionList = new ArrayList<Questi... | 19.831776 | 73 | 0.681433 |
b12d2ee64193f7f41a87d86bef3c1970acb9972c | 3,133 | /*
* Copyright [2020-2030] [https://www.stylefeng.cn]
*
* 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... | 20.477124 | 75 | 0.640281 |
c05ae4d895e64a9f4b9f2b1d2ad765606635ad4b | 1,724 | package ua.lvil.lunp.app.db.util;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DBManager {
private static DBManager instance... | 23.616438 | 135 | 0.707657 |
171beebbdebbdcec218db4e56e58b6071981a73c | 1,281 | package com.apl.ticket.been;
import java.util.List;
/**
* Created by Administrator on 2017/4/3 0003.
*/
public class FoundReadTabBeen {
/**
* tags : [{"name":"新鲜报","id":"14"},{"name":"老时光","id":"13"},{"name":"定格秀","id":"9"},{"name":"说到位","id":"8"}]
* retcode : 200
* retdesc : 操作成功
*/
... | 17.791667 | 113 | 0.505074 |
08c320faa8e9d9f021b95a8b5ae1d3c3ccad3ab6 | 1,472 | package net.jsign.bouncycastle.asn1.x509;
import java.io.IOException;
import net.jsign.bouncycastle.asn1.ASN1ObjectIdentifier;
import net.jsign.bouncycastle.asn1.ASN1Primitive;
import net.jsign.bouncycastle.asn1.DERGeneralizedTime;
import net.jsign.bouncycastle.asn1.DERIA5String;
import net.jsign.bouncycastle.asn1.DER... | 40.888889 | 232 | 0.653533 |
c99491049c918f940c8853ee52bd8d846e95ff90 | 6,154 | /*
* MIT License
*
* Copyright (c) 2020 Azercoco & Technici4n
*
* 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, ... | 33.813187 | 140 | 0.695645 |
e4e258812fa09a4feb5f1b3db6460d1c00e7ab35 | 4,935 | /*
* Copyright 2011 JRimum 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 agreed to in ... | 26.532258 | 107 | 0.678419 |
bf188c491e12a63b09aadab520e402de2e7c6d84 | 2,114 | /**
* Copyright (C) 2016 Luan Gustavo Orlandi
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* @see https://github.com/luanorlandi/Text-Compressor for further details
*/
package textcompressor;
import java.io.FileInputStream;
impor... | 28.567568 | 80 | 0.672658 |
3788c9beade567b21dde8f08a4011b6964da6a15 | 16,550 | package edu.yangtzeu.lmis.gui;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Date;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax... | 33.77551 | 108 | 0.739819 |
d249c9e23a036faf6e61361eb9a333b45a6a50a2 | 124,278 | package org.amfoss.paneeer.opencamera.Camera;
import android.Manifest;
import android.animation.ArgbEvaluator;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlertDi... | 41.002309 | 229 | 0.646872 |
925cf96b820dba8d1bc2a7d92a9b9bea49be0c69 | 2,675 | /*
* Copyright 1999-2020 Alibaba Group Holding 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 29.395604 | 97 | 0.645981 |
da7993d309f8325702c259425fb8f30e8cb7fac4 | 6,426 | package fr.eolya.simplepipeline;
import fr.eolya.simplepipeline.config.PipelineConfig;
import fr.eolya.simplepipeline.connector.Connector;
import fr.eolya.simplepipeline.connector.ConnectorFactory;
import fr.eolya.utils.Logger;
import fr.eolya.utils.Utils;
import gnu.getopt.Getopt;
import java.io.BufferedWriter;
imp... | 26.016194 | 115 | 0.632431 |
57f7c7160d04136281962fbc024cee557158b267 | 8,396 | package net.minecraft.world.entity.animal;
import java.util.Objects;
import java.util.function.Predicate;
import net.minecraft.core.BlockPosition;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.syncher.DataWatcher;
import net.minecraft.network.syncher.DataWatcherObject;
import net.minecraft.netw... | 35.880342 | 204 | 0.6808 |
6b510a1643be9d04790645eecf5f7dd5f83ce540 | 565 | package com.ryoma.coolwanandroid.di.component.fragment;
import com.ryoma.coolwanandroid.di.module.fragment.ProjectFragmentModule;
import com.ryoma.coolwanandroid.di.scope.PerFragment;
import com.ryoma.coolwanandroid.view.project.ProjectFragment;
import dagger.Subcomponent;
/**
* @author eco-ryoma
* @date 2019/7/29... | 26.904762 | 73 | 0.79292 |
4ad73ba5317a5eb48ea7832a55f28717c920efde | 7,136 | package org.asciidoc.intellij.actions.asciidoc;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.editor.CaretModel;
import com.intellij.openapi.editor.Document;
import com.i... | 44.049383 | 153 | 0.714686 |
ccf6fe415da0afc518f643b21c58c19daa2c187d | 5,759 | /*******************************************************************************
* Copyright 2017 Capital One Services, LLC and Bitwise, 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... | 32.721591 | 90 | 0.71436 |
6b9bc67e99ffee5150d5ea4bd201056114959762 | 9,678 |
package shiver.me.timbers.aws.pinpoint;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOr... | 40.835443 | 228 | 0.746642 |
3f946a1474b7e99592e82d36257af21cd85695a0 | 3,350 | package fakekube.io.model;
import io.swagger.annotations.ApiModel;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.ApiModelProperty;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAcc... | 34.895833 | 176 | 0.74209 |
35f66d64d56235d167a93b31febce5a55ccf7777 | 3,191 | package net.minecraft.data.models.blockstates;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.util.List;
import java.util.function.Supplier;
import net.minecraft... | 31.594059 | 91 | 0.708242 |
9f33177e39e0b3ea7652d10ce679799b9aa68dca | 24,571 | package org.intermine.metadata;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.htm... | 50.766529 | 150 | 0.688372 |
4d37dd3cce9f227c7ce39491a871db3830a900c6 | 1,250 | package com.m2team.library.utils;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.util.DisplayMetrics;
import java.util.Locale;
public class LocaleUtils {
public static void setAppLocale(Context context, final String languageCode) {... | 36.764706 | 147 | 0.7584 |
e608a7ffd2e729f7861aa0bb786ff389dd2b23db | 3,203 | package com.gempukku.swccgo.logic.modifiers;
import com.gempukku.swccgo.common.Filterable;
import com.gempukku.swccgo.filters.Filter;
import com.gempukku.swccgo.filters.Filters;
import com.gempukku.swccgo.game.PhysicalCard;
import com.gempukku.swccgo.game.SwccgBuiltInCardBlueprint;
import com.gempukku.swccgo.game.stat... | 46.42029 | 138 | 0.767406 |
f1cdddec2b4c2ce6ef96111a103cba37eb912334 | 2,177 | package masterthesis.master.de.vehicledeviceclient;
import android.location.Location;
import android.os.AsyncTask;
import android.util.Log;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.Htt... | 35.112903 | 119 | 0.680753 |
ed00d3d2a12deef3a6bac168a3fba22d6cea8571 | 4,620 | package net.minecraft.block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlig... | 31.643836 | 184 | 0.656277 |
3697afd2165fad65be7ffc5ae6d6919ea886c885 | 6,514 | package emissary.test.core;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import emissary.admin.PlaceStarter;
import emissary.command.ServerCommand;
import emissary.config.ConfigUtil;
import emissary.core.Namespace;
import emissary.direct... | 34.648936 | 143 | 0.616211 |
acc3198d87326226b60760a12c4736df097d251e | 791 | package com.question.admin.domain.vo.student.paper;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.question.admin.domain.entity.BaseEntity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("bt_task_exam_c... | 27.275862 | 104 | 0.788875 |
180aaa89c1e9287a25bea1dbb305d65c552d39e4 | 1,528 | package com.sigmundgranaas.forgero.core.material.material.simple;
import com.sigmundgranaas.forgero.core.material.material.MaterialType;
import com.sigmundgranaas.forgero.core.property.PropertyPOJO;
import java.util.List;
public class SimpleMaterialPOJO {
public String name;
public int rarity;
public Mat... | 27.781818 | 70 | 0.669503 |
3354c5001df827056da0cc75cd3a39bfc26b3ef2 | 701 | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.aigestudio.android;
public final class R {
public static final class attr {
}
public static final class id {
... | 28.04 | 61 | 0.699001 |
2946cd7d5859cbb4483bf8f58faa1f17b99fa365 | 13,302 | /*
* (C) Copyright 2006-2016 Nuxeo SA (http://nuxeo.com/) and others.
*
* 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 re... | 32.925743 | 120 | 0.617576 |
e38631186ae8019c5e8d0cd3bfd89bbd392d25af | 3,579 | package com.spectralogic.dsbrowser.gui.services.settings;
import com.fasterxml.jackson.annotation.JsonProperty;
import javafx.beans.property.*;
import java.nio.file.Paths;
public class LogSettings {
public static final LogSettings DEFAULT = createDefault();
@JsonProperty("logLocation")
private final Str... | 30.589744 | 151 | 0.694887 |
e6843d1987e37f84b2fa612a6c790dc5a38809ce | 1,753 | /*
* Copyright (c) 2017 Scaleborn UG, www.scaleborn.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 appl... | 26.560606 | 93 | 0.731318 |
9ba803a4c06826a387367c954e88dac76ea5f560 | 619 | package kr.co.antoon.vote.application;
import kr.co.antoon.vote.domain.Vote;
import kr.co.antoon.vote.infrastructure.VoteRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@Service
@RequiredArgsConstructor
... | 30.95 | 87 | 0.786753 |
1cfe24b14e701f884ee14250f08428945b4b4ae7 | 620 | package com.alex.realm.service;
import com.alex.realm.persist.entity.RealmUserEntity;
import java.util.List;
/**
* Created by yang_gao on 2017/4/27.
*/
public interface RealmUserService {
public List<RealmUserEntity> getUsers() throws Exception;
public RealmUserEntity getUser(Integer id) throws ... | 34.444444 | 77 | 0.767742 |
3d40ca2022f94e493511972ce14103d340691d67 | 11,496 | package com.ververica.flink.training.exercises;
import org.apache.flink.api.common.functions.AggregateFunction;
import org.apache.flink.api.common.functions.RichFlatMapFunction;
import org.apache.flink.api.common.functions.RichMapFunction;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.api.java... | 37.446254 | 98 | 0.758438 |
b12a273f48f19452b26ebc00f1f402af75a9fec6 | 726 | package shape;
import java.awt.*;
/**
* @author Yangzhe Xie
* @date 18/9/19
*/
public class Circle implements IShape {
private final int type = 3;
private Point center;
private int radius;
private Color color;
private int size;
public Circle(Point center, int radius, Color color, int size... | 22.6875 | 72 | 0.608815 |
00801a6ba939c3b95d6d2423803fcb4ee1c828d4 | 1,672 | /*
* Copyright (c) 2015-2021, www.dibo.ltd (service@dibo.ltd).
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless ... | 34.122449 | 117 | 0.758971 |
3b3113387f2136ddee8b0af616f1e7ee57c36ddd | 105 | package com.dalim.esprit.api;
public enum EsStream {
file, preview, thumbnail, preflightReport
}
| 17.5 | 44 | 0.733333 |
0a50941ee11c03c785aa545b20c58be01b1a6e99 | 537 | package app.mamac.albadiya;
import android.app.Application;
import android.content.Context;
import com.danikula.videocache.HttpProxyCacheServer;
public class App extends Application {
private HttpProxyCacheServer proxy;
public static HttpProxyCacheServer getProxy(Context context) {
App app = (App) ... | 26.85 | 76 | 0.729981 |
d58d854513d2594c281d3590a1f5b48594871911 | 2,070 | package betterwithmods.client.tesr;
import betterwithmods.BWMod;
import betterwithmods.client.model.ModelWaterwheel;
import betterwithmods.client.model.render.RenderUtils;
import betterwithmods.common.blocks.mechanical.tile.TileEntityWaterwheel;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft... | 42.244898 | 130 | 0.711594 |
22276acb7b2310433d023671a131c4457adb9574 | 3,609 | package com.jfeat.am.module.statistics.services.gen.persistence.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybati... | 20.622857 | 70 | 0.581047 |
80693db2306289c5ac24aa4b16ebae627baf1e7a | 1,876 | package org.hsweb.concureent.cache;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.CachingConfigurerSupport;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cach... | 39.914894 | 87 | 0.810768 |
e977f294371018d6346a928a37848920b8a16ea0 | 3,860 | package com.itcast.cloudstorage.bean;
import com.itcast.cloudstorage.download.DownloadManager;
import com.itcast.cloudstorage.utils.Logger;
import com.vdisk.net.VDiskAPI.Entry;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* ==... | 25.733333 | 102 | 0.68342 |
8e2a6805da477c7a91efd6e3f5b374a5add8668e | 1,121 | /*
* Copyright 2009-2017. DigitalGlobe, 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 ... | 26.690476 | 101 | 0.764496 |
d30a5a1ac106756d3552b22c44caf6360d89587b | 1,378 | package org.discogs.ws.search;
import java.net.MalformedURLException;
import org.discogs.ws.Discogs;
import org.w3c.dom.Element;
public class ReleaseSearchResult extends SearchResult {
public ReleaseSearchResult(Element element, Discogs client) {
super(element, client);
}
/**
* Gets the id of the rel... | 25.518519 | 75 | 0.655298 |
4f65a8eaac437743017989e1bd511374afb928d6 | 7,601 | /*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
* ********************************************************************************************
*
* Licensed under the Apache License, V... | 39.38342 | 153 | 0.750954 |
3f4d012bbe309abf48b103a9288eb66440f54275 | 2,659 | package xyz.mathroze.alchemycraft.plugins.jei.rituals;
import mezz.jei.api.IGuiHelper;
import mezz.jei.api.gui.IDrawable;
import mezz.jei.api.gui.IDrawableAnimated;
import mezz.jei.api.gui.IDrawableStatic;
import mezz.jei.api.gui.IRecipeLayout;
import mezz.jei.api.ingredients.IIngredients;
import mezz.jei.api.recipe.B... | 35.932432 | 136 | 0.711546 |
08236171930e9d717a1ee455656c94fb73d40c3a | 3,973 | package us.tlatoani.kosmos.chunk;
import ch.njol.skript.lang.ExpressionType;
import us.tlatoani.mundocore.registration.Registration;
import org.bukkit.Chunk;
import org.bukkit.World;
import org.bukkit.block.Block;
/**
* Created by Tlatoani on 8/8/17.
*/
public class ChunkMundo {
public static void load() {... | 70.946429 | 175 | 0.618424 |
1335dafd3dbb90dbce68f761acd156fcd45b017e | 2,821 | package ru.job4j.iterator;
import org.junit.Test;
import java.util.NoSuchElementException;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* test for IteratorTwoDimensionalArray.
*
* @author Ayuzyak
* @since 14.05.2017
* @version 1.0
*/
public class IteratorTwoDimensoina... | 30.333333 | 96 | 0.585253 |
2698e151c82c30acb9956b63ad04177981225cc5 | 103 | package com.nacid.bl.nomenclatures;
public interface OriginalSpeciality extends FlatNomenclature {
}
| 17.166667 | 62 | 0.834951 |
a5e744a668b54b423784d66db3de58d5ff330dba | 215 | package seedu.address.model.quiz;
/**
* This documents the types of filter to filter the quiz results by.
*/
public enum FilterType {
NONE,
SUBJECT,
DIFFICULTY,
CORRECT,
INCORRECT,
DATE
}
| 15.357143 | 68 | 0.660465 |
7c2ee51898cbfe1643989bcb3e9ae9c6d2fa2b4c | 1,319 | package brobot.pokemon;
public class PokemonInfo {
private final String pokedexNumber;
private final String name;
private final int hp;
private final int attack;
private final int defense;
private final int specialAttack;
private final int specialDefense;
private final int speed;
p... | 23.140351 | 120 | 0.622441 |
2c4eb0802cc7f2340edc96c1130eb4ed4f0416dc | 24,502 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: axelar/permission/v1beta1/types.proto
package axelar.permission.v1beta1;
public final class Types {
private Types() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static v... | 36.900602 | 124 | 0.67068 |
d80a2ce1b944af831d2f9780d4653323da0f9faa | 2,563 | package com.sequenceiq.it.cloudbreak.testcase.mock;
import java.util.stream.IntStream;
import javax.inject.Inject;
import org.testng.ITestContext;
import org.testng.annotations.Test;
import com.sequenceiq.it.cloudbreak.assertion.audit.DatahubAuditGrpcServiceAssertion;
import com.sequenceiq.it.cloudbreak.client.Dist... | 41.33871 | 137 | 0.710496 |
2389ccfc3e2fc76bc9505050451bf5e993cd184d | 18,215 | package io.brangpd.ui.midipiano;
import androidx.lifecycle.ViewModelProvider;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragm... | 38.266807 | 136 | 0.586769 |
7c2fe707ec6d107560c9651c875d6e9db26fd498 | 1,043 | package com.gps.engine.listener;
import com.alibaba.fastjson.JSONObject;
import com.gps.common.Constants;
import com.gps.engine.TrackerServer;
import lombok.extern.slf4j.Slf4j;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfram... | 30.676471 | 105 | 0.70278 |
54080182242dba10c480995a8201b4fd40e5ad44 | 70 | package com.coolweather.app.model;
public class ChinaCityReturn {
}
| 11.666667 | 34 | 0.785714 |
408dbb07abf6706d9a1b892c23ed2359a1882354 | 7,603 | /*
* Copyright (C) 2015 The Casser 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 app... | 27.348921 | 119 | 0.726818 |
03a1b84f0208376fe178ab17e8fc7f5ab1a0fdaa | 4,484 | /*
* Copyright 2018 The Exonum Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 38.655172 | 100 | 0.717663 |
9d37ab05603b1bb81c36cd51472079bffad661c1 | 432 | package com.itheima.consumer.client.fallback;
import com.itheima.consumer.client.UserClient;
import com.itheima.consumer.pojo.User;
import org.springframework.stereotype.Component;
@Component
public class UserClientFallback implements UserClient {
@Override
public User queryById(Long id) {
U... | 25.411765 | 56 | 0.685185 |
71b2857310b98605ce473e84d84bd3bbaba69e1a | 3,797 | /**
* 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... | 34.207207 | 122 | 0.72689 |
4cc61deaf8d8536fd178badd0cb130c156774ecb | 8,799 | package uk.gov.pay.connector.it.resources;
import com.google.common.collect.ImmutableMap;
import org.junit.Test;
import org.junit.runner.RunWith;
import uk.gov.service.payments.commons.model.ErrorIdentifier;
import uk.gov.pay.connector.app.ConnectorApp;
import uk.gov.pay.connector.it.dao.DatabaseFixtures;
import uk.go... | 50.28 | 162 | 0.697466 |
da9c0751166431790c477e45cd01bc03887c6b50 | 2,757 | /*
* Copyright 2017 Yi-Kun Yang.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 29.329787 | 81 | 0.71926 |
83802a1f9de0dc05204c2ddc7df179d1a8a627fb | 407 | package com.sinolease.base.exception;
import com.sinolease.base.entity.ErrorCode;
/**
* Created by AlbertLy on 2016/11/21.
*/
public class UploadException extends Exception {
public UploadException(String msg) {
super(ErrorCode.INTERNAL_ERROR + "-" + msg);
}
public UploadException(String msg, ... | 22.611111 | 59 | 0.685504 |
16595633c64d44de60eb6b96008fa93124f91d75 | 69 |
/**
* This is docs
* @author Me
*/
public class MiniJavaDoc {
}
| 7.666667 | 26 | 0.57971 |
fa3d1481b510f30c38c365b2ae5c818a7b94a8d2 | 1,306 | /* Copyright (C) 2010 Alexandre Riazanov (Alexander Ryazanov)
*
* The copyright owner 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/licen... | 29.681818 | 78 | 0.711332 |
e2afb0e9e47442df812544ce04a4ea01b31876b1 | 650 | package models;
import com.mongodb.BasicDBObjectBuilder;
import com.mongodb.DBObject;
/**
* Created by niharika on 29-Jun-17.
*/
public class CurrentPrice {
public double value;
public String currency_code;
public CurrentPrice() {
}
public CurrentPrice(double value, String currency_code) {
... | 23.214286 | 71 | 0.683077 |
52cdcb5b7d0d3a10432a6a355d9004655d937783 | 2,927 | /*
* 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 writing, software
* distributed u... | 33.643678 | 110 | 0.716775 |
881b09f912e5378f66654f61d6bc6e99f68af3af | 2,333 | package by.dragonsurvivalteam.dragonsurvival.client.gui.components;
import by.dragonsurvivalteam.dragonsurvival.client.gui.dragon_editor.DragonEditorScreen;
import by.dragonsurvivalteam.dragonsurvival.client.gui.widgets.buttons.ColorPickerButton;
import by.dragonsurvivalteam.dragonsurvival.client.gui.widgets.buttons.d... | 37.629032 | 157 | 0.770253 |
1ea13b599088ef13ee908b7304f83603db1713a5 | 13,437 | /*
* Copyright 2016-2021 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 "licen... | 41.217791 | 123 | 0.650071 |
10d4e21f121bfd9ddd73c38db40d036ec4583afa | 3,753 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | 43.639535 | 146 | 0.706635 |
7468546741d185f52167ad7973222a347fb07e97 | 313 | package com.multipleton.spring.repository;
import com.multipleton.spring.model.Author;
import java.util.List;
import java.util.Optional;
public interface AuthorRepository {
List<Author> findAll();
Optional<Author> findById(Long id);
Author save(Author author);
void deleteById(Long id);
}
| 16.473684 | 43 | 0.741214 |
90887c8136e2d75a6a85178708679e890896fdc1 | 13,670 | /*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 47.137931 | 108 | 0.666057 |
9b59a4c525e682046899d630fa01d0381108ef16 | 2,661 | package server.core.util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
public class DateTimeUtil {
public static final String DEFAULT_PATTERN = "yyyy-MM-dd HH:mm:ss";
public static Date parse(String str, Strin... | 28.612903 | 82 | 0.66366 |
b9740df45a730b7af4a1b8dcdc30a61d4bc51bb5 | 1,769 | package com.uddernetworks.mspaint.util;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
public class ExtractUtils {
/*
* Copyright (c) ... | 36.102041 | 101 | 0.565291 |
fe58a5b1d5db0260e5447b64365e61e3651dd482 | 8,881 | // Copyright 2018 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
package com.mopub.mobileads;
import android.content.Context;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import ... | 34.422481 | 99 | 0.676613 |
d61bac680fd189ac60555d1fe6edd8e9ea86f3ad | 1,496 | /*
* 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 ... | 26.714286 | 63 | 0.677139 |
9dfc10b52d610dc649aa1e49b3fae0985836eefb | 138 | /**
* 单例模式构造方法如何带参数
* 推荐 Singleton3
* 从全局变量或配置文件中读取
*/
package com.xtransformers.designpattern.design.singleton.constractorwithparams; | 23 | 79 | 0.797101 |
2ea71aaa5e576c5ce2f537caf883654212ff5a7c | 2,373 | /*
* Copyright (c) 2020 Vincenzo Fortunato.
*
* 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,... | 31.64 | 88 | 0.62874 |
7c38b91e79692d92b6af4b9a467ba0eb4548a1d4 | 6,739 | package ai.verta.modeldb.versioning.blob.visitors;
import static org.junit.Assert.fail;
import ai.verta.modeldb.ModelDBException;
import ai.verta.modeldb.versioning.Blob;
import ai.verta.modeldb.versioning.CodeBlob;
import ai.verta.modeldb.versioning.ConfigBlob;
import ai.verta.modeldb.versioning.ContinuousHyperparam... | 28.799145 | 95 | 0.628135 |
f27b7417a89614d1b3f3ce40827b224627d30c00 | 2,882 | package com.okhttp3.activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.Toast;
import com.okhttp3.R;
import com.okhttp3.util.LogUtil;
import com.sir.library.okhttp.HttpInfo;
import com.sir.library.okhttp.OkHttpUtil;
imp... | 32.382022 | 121 | 0.625607 |
3c23b4a5502ecf5df1e8bcd79ad90002e4d7fe08 | 4,296 | package artifact.soap.client;
import java.math.BigInteger;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
import org.springframework.ws.client.core.support.... | 32.059701 | 136 | 0.790736 |
0261a3a6ebcd0de780ec9b5ddb9b26e066dc1716 | 1,193 | package com.oz_heng.apps.android.booklisting;
import android.graphics.Bitmap;
/**
* Book data.
*/
public class Book {
private String mTitle;
private String mAuthors;
private String mPublishedDate;
private String mDescription;
private String mUrl;
private Bitmap mThumbnail;
public Book(S... | 20.568966 | 78 | 0.595977 |
e36b0527a05fe0454a05223c193a5c6bd3ccf981 | 3,279 | /**
* @filename:UserController 2019年4月9日
* @project wallet-manage V1.0
* Copyright(c) 2018 BianPeng Co. Ltd.
* All right reserved.
*/
package com.github.mybatis.fl.test;
import java.sql.SQLException;
import java.util.Date;
import com.github.flying.cattle.mdg.entity.BasisInfo;
import com.github.flyin... | 39.035714 | 189 | 0.716072 |
71a3755169603562eedd5eb9d7b4a698706b3563 | 2,716 | package com.alekseytyan.logiweb.controller.rest;
import com.alekseytyan.logiweb.dto.*;
import com.alekseytyan.logiweb.service.api.DriverService;
import com.alekseytyan.logiweb.service.api.LorryService;
import com.alekseytyan.logiweb.service.api.OrderService;
import lombok.RequiredArgsConstructor;
import org.springfram... | 33.95 | 100 | 0.604566 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.