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 |
|---|---|---|---|---|---|
449303aa1be1fe45ce6268438059d7e3db4f1cca | 6,938 | package com.bx.erp.model;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import com.bx.erp.action.BaseAction;
import com.bx.erp.util.DatetimeUtil;
import com.bx.erp.util.FieldFormat;
... | 29.274262 | 213 | 0.744595 |
30e6c176fa0be3314cc22dbec5a49123198bab98 | 339 | package org.gradle.profiler.heapdump;
import joptsimple.OptionSet;
import org.gradle.profiler.Profiler;
import org.gradle.profiler.ProfilerFactory;
public class HeapDumpProfilerFactory extends ProfilerFactory {
@Override
public Profiler createFromOptions(OptionSet parsedOptions) {
return new HeapDumpP... | 26.076923 | 64 | 0.79056 |
9b9b8d6d51d0f11adcab2395ccb54ac742b0ca25 | 1,292 | /**
* Copyright (c) 2014 SQUARESPACE, 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 agr... | 21.898305 | 75 | 0.676471 |
c90b184a5b3fee332315fefae0c1230896fe6a34 | 362 | package com.yorosoft.enoticeboard.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import java.util.List;
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class BoardDTO extends BaseDTO {
private String title;
... | 18.1 | 40 | 0.812155 |
56e444c5e379a8cffdf2a06692561c479b978cd6 | 2,635 | package cz.sd.main;
import cz.sd.api.config.Configuration;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.Properties;
import org.glassfish.grizzly.http.server.HttpServer;
import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFact... | 30.639535 | 143 | 0.640607 |
51e971a9d7af48aefb215bd1a40bc8dc1c4bc369 | 17,965 | /*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest.security.oauth;
import io.strimzi.api.kafka.model.CertSecretSourceBuilder;
import io.strimzi.api.kafka.model.KafkaBridgeResources;
import io.strimzi.a... | 52.9941 | 184 | 0.62349 |
40b7125230a9d6616a884d18cca09cc0a60dee9c | 288 | package com.github.hal4j.spring;
import com.github.hal4j.uritemplate.URIBuilder;
import java.lang.reflect.Method;
public interface MappingDiscoverer {
URIBuilder applyMapping(Class<?> clazz, URIBuilder builder);
URIBuilder applyMapping(Method method, URIBuilder builder);
}
| 20.571429 | 64 | 0.788194 |
a63118857e542208b3fc1788955c710d3185c7b5 | 1,071 | package me.zhengjie.yuangan.service;
import me.zhengjie.yuangan.bean.GroupManager;
import me.zhengjie.yuangan.bean.QuestionBank;
import me.zhengjie.yuangan.service.dto.QuestionAnswerQueryCriteria;
import me.zhengjie.yuangan.service.dto.QuestionQueryCriteria;
import org.springframework.web.bind.annotation.RequestParam;... | 34.548387 | 100 | 0.708683 |
9b4e074c6861f0af7afaedc0f2ac4ca3a9efe21a | 5,217 | package pro.kots.hikerswatch;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import... | 39.225564 | 133 | 0.654016 |
19a29c649fd4a0175efa09a920354b24afe378cd | 3,119 | package com.android.belmontresearch.soundintensityon3dplane;
/**
* Created by sebastianalegre on 6/12/17.
*/
public class BiQuad {
static double a0, a1, a2, b0, b1, b2;
public BiQuad() {
}
public static float[] filtercoeffs(float f0, float Fs, float Q) {
// f0 = center freq of filter
// ... | 28.099099 | 137 | 0.495672 |
82651d24408fe2b4ddd7127283253cd0cd2d0f4a | 5,233 | /*
* 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 proyectointegrador_ricardoromero;
/**
*
* @author ricky
*/
public class Rey extends Piezas {
String tipoR;
public... | 39.643939 | 106 | 0.360405 |
f2dec7462f975270f448729157d1c4b66fc2b81c | 1,298 | package org.truenewx.tnxjee.webmvc.view.pager;
import java.io.IOException;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.C... | 30.904762 | 89 | 0.694145 |
074a21092d3af1d54ea2053b359043b06f4d5994 | 2,948 | package com.hzq.dragonshopping.service;
import com.hzq.dragonshopping.controller.IndexController;
import com.hzq.dragonshopping.entity.ProduceEntity;
import com.hzq.dragonshopping.mapper.ProduceMapper;
import com.hzq.dragonshopping.mapper.UserMapper;
import com.hzq.dragonshopping.entity.UserEntity;
import org.slf4j.Lo... | 38.285714 | 141 | 0.663161 |
14c3adfb5dffecfffe86f8539c3a6ad89acff753 | 46,342 | package net.hudup.temp;
import static net.hudup.regression.AbstractRM.extractNumber;
import static net.hudup.regression.AbstractRM.extractVariable;
import static net.hudup.regression.AbstractRM.extractVariableValue;
import static net.hudup.regression.AbstractRM.findIndex;
import static net.hudup.regression.AbstractRM.... | 27.967411 | 164 | 0.669134 |
5e788a580a3b21c5db312fe0d4eadce23606c188 | 8,810 | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | 38.640351 | 97 | 0.62168 |
df21590c6b80a4e4377a283607df7d273365d833 | 576 | package com.appian.intellij.k.debugger;
import javax.swing.JComponent;
import javax.swing.JPanel;
import org.jetbrains.annotations.NotNull;
import com.intellij.openapi.options.ConfigurationException;
import com.intellij.openapi.options.SettingsEditor;
public class QSettingsEditor extends SettingsEditor {
@Overrid... | 20.571429 | 81 | 0.779514 |
e9ee17297b47fa3552ee355398f2294885dc8280 | 7,941 | package com.marklogic.envision.dataServices;
// IMPORTANT: Do not edit. This file is generated.
import com.marklogic.client.io.Format;
import com.marklogic.client.io.marker.AbstractWriteHandle;
import com.marklogic.client.DatabaseClient;
import com.marklogic.client.impl.BaseProxy;
/**
* Provides a set of operati... | 32.679012 | 106 | 0.586072 |
0b9f53281dba1542e75079af1a7710fa8ab238d2 | 825 | package com.buuz135.industrial.utils;
import com.buuz135.industrial.api.straw.StrawHandler;
import com.buuz135.industrial.registry.IFRegistries;
import com.google.common.collect.Lists;
import net.minecraftforge.fluids.FluidStack;
import javax.annotation.Nonnull;
import java.util.Comparator;
import java.util.List;
imp... | 31.730769 | 93 | 0.739394 |
0f6c6a20dffea412591e01170d3880d8d9006864 | 1,187 | /* ###
* IP: GHIDRA
*
* 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 writin... | 30.435897 | 81 | 0.727043 |
f732235db9949238ebbb093f214e1d1ba4db7076 | 373 | package ch.so.agi.ilivalidator.asyncwebservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class IlivalidatorAsyncWebServiceApplication {
public static void main(String[] args) {
SpringApplication.run(Ilival... | 26.642857 | 76 | 0.844504 |
f4974fe1a157ed802f0502a2cf30057d3319e565 | 2,204 | package com.lailaps.download;
import com.gargoylesoftware.htmlunit.CookieManager;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import com.lailaps.crawler.CourseCrawler;
import com.lailaps.crawler.Term;
import org.apache.log4j.Logger;
import java.util.*;
import java.util.concurrent.BlockingQueue;
import java.ut... | 33.393939 | 142 | 0.688294 |
b67ea53208db134ecbe536c33cbfa03caa72e00c | 2,685 | // Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.nextenso.http.agent;
import static com.nextenso.proxylet.admin.http.HttpBearer.REQUEST_CHAIN;
import static com.nextenso.proxylet.admin.http.HttpBearer.RESPONSE_CHAIN;
import static com.nexte... | 32.743902 | 86 | 0.7527 |
865944100bf9b97466a3fb0a58cdbb8cdfdd4cc3 | 6,073 | package com.xqbase.bn.transport.apool.util;
import java.util.Collection;
import java.util.Iterator;
import java.util.NoSuchElementException;
/**
* This class provides the ability to remove the arbitrary interior element (
* neither head nor tail) from the queue in O(1) time.
*
* Adding to and removing from head o... | 24.195219 | 93 | 0.522971 |
12b4436330d04e5c616145835e1fc7339dede7b5 | 634 | package by.htp.home01.main;
/*
* 19. Дана сторона равностороннего треугольника.
* Найти площадь этого треугольника, его высоту,
* радиусы вписанной и описанной окружностей.
* */
public class Task19 {
public static void main(String[] args) {
double a = 5;
double h = (Math.sqrt(3) / 2) * a;
... | 24.384615 | 61 | 0.624606 |
3114c211b55328608a7f2837baff1433f0f472cd | 4,665 | /**
* Copyright (C) 2010-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | 35.340909 | 114 | 0.664952 |
9c1b50f9f05cc65f907b6625170603a56771f53f | 4,847 | /*
* The contents of this file are subject to the terms of the Common Development
* and Distribution License (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at http://www.netbeans.org/cddl.html
* or http://www.netbeans.org/cddl.txt.
*
* ... | 40.391667 | 94 | 0.675057 |
668ceb452847ea8af8cdaf8c5418f39d525231d3 | 1,256 | package net.namekdev.quakemonkey.diff.messages;
import net.namekdev.quakemonkey.diff.utils.Pool;
/**
* This message is used to send the byte-level difference of two messages to the
* client.
*
* @author Ben Ruijl
*/
public class DiffMessage {
public static final Pool<DiffMessage> Pool = new Pool<DiffMessage>(n... | 18.202899 | 108 | 0.665605 |
97225de0608b7a3dd3683137231db41f9b27b792 | 583 | package org.kyojo.schemaOrg.m3n3.doma.pending.container;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaOrg.m3n3.pending.impl.DOWN_PAYMENT;
import org.kyojo.schemaOrg.m3n3.pending.Container.DownPayment;
@ExternalDomain
public class DownPaymentConvert... | 25.347826 | 83 | 0.814751 |
1874cef97370dc4b30b7fb3cdd8b9a30ed715f95 | 9,528 |
package com.codepath.apps.mysimpletweets.models.direct_messages;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeTo... | 25.751351 | 159 | 0.615659 |
2c400d8c489295283a8c67076a4218e037096b9a | 8,594 | package inc.wastedmynd.keylesstorage.ui;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;
import android.view.WindowManager;
import com.google.android.things.contrib.driver.button.Button;
import java.io.IOException;
import inc... | 35.077551 | 133 | 0.656388 |
0ab46c2fd788b4f2ec7cd16f2fd3e757eb16366e | 4,564 | package neu.lab.conflict;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.apache.commons.csv.CSVFormat;
import org.apache... | 32.6 | 89 | 0.713628 |
bdff8ea57f848b2c5748927c513d6c6e38f0915f | 2,045 | package com.dcits.ensemble.om.model.dbmodel;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.io.Serializable;
/**
* Created by jiajt on 2018/12/3.
*/
@Entity
@Table(name = "mb_attr_value")
@IdClass(MbAttrValueKeysClass.class)
@Getter
@Setter
public class MbAttrValue implements S... | 29.637681 | 188 | 0.599511 |
de567f63cacaa8b3a65aa520d05fb30ff861fef2 | 569 | package city.smartb.iris.jwt.parser;
import city.smartb.iris.jwt.IrisJwt;
import city.smartb.iris.jwt.exception.InvalidJwtException;
import com.nimbusds.jwt.SignedJWT;
import java.text.ParseException;
public class IrisJwtParser {
public static IrisJwt parse(String value) throws InvalidJwtException {
try... | 28.45 | 74 | 0.70123 |
827786961562d8ec3a339b862895de33add48623 | 5,862 | /*
* Copyright (c) 2018 ACINO Consortium
*
* 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 a... | 29.31 | 175 | 0.636813 |
707489bd983745cd3c7ec0b0d8623fa1f525697d | 567 | package com.gos.steam_works.commands;
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import com.gos.steam_works.subsystems.Agitator;
import com.gos.steam_works.subsystems.Loader;
import com.gos.steam_works.subsystems.Shooter;
/**
*
*/
public class CombinedShoot extends SequentialCommandGroup {
p... | 31.5 | 89 | 0.781305 |
3e41c9b8ece33e889e53bc15623a29b42f1bccac | 1,174 | package algs.model.tree;
import algs.model.IBinaryTreeNode;
/**
* Perform a post traversal of the tree.
*
* Left - Right - Self
*
* @param <T>
* @author George Heineman
* @version 1.0, 6/15/08
* @since 1.0
*/
@SuppressWarnings("unchecked")
public class PostorderTraversal<T extends IBinaryTreeNode> extends ... | 19.245902 | 92 | 0.690801 |
c22da569614ba428497f1a8599764013f6719e66 | 981 | /*
Copyright 2017 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 32.7 | 77 | 0.783894 |
16ab2fcb7c0c4c17483d0b0b7b6f68ed862c789d | 2,153 | package net.hyper_pigeon.Gizmos.mixin;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.hyper_pigeon.Gizmos.entities.EyeOfEnderArrowEntity;
import net.hyper_pigeon.Gizmos.registry.GizmoEntities;
import net.minecraft.client.network.ClientPlayNetworkHandler;
import net.minecraft.cl... | 38.446429 | 87 | 0.681375 |
e20bf18cbd4a49dd5cae2d0b0d18c0e17b1be4c9 | 1,552 | package nxt.http;
import nxt.Account;
import nxt.Asset;
import nxt.Attachment;
import nxt.Constants;
import nxt.NxtException;
import nxt.util.Convert;
import org.json.simple.JSONStreamAware;
import javax.servlet.http.HttpServletRequest;
import static nxt.http.JSONResponses.INCORRECT_ASSET_TRANSFER_COMMENT;
import st... | 31.673469 | 110 | 0.731959 |
a08cdce714910da518e349d7cad84e685d6f1b7f | 11,108 | package net.minecraft.entity.passive;
import com.google.common.collect.Sets;
import java.util.Set;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIFollowParent;
i... | 32.57478 | 137 | 0.631977 |
619a3e4882023f05c17561d31396a366f4389e2e | 4,328 | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | 43.28 | 207 | 0.795518 |
dff5750b208142d5e1fe15609ea2647ecf04a8d5 | 587 | package com.lichkin.application.services.impl.quartz;
import org.joda.time.DateTime;
import org.springframework.beans.factory.annotation.Autowired;
import com.lichkin.application.services.impl.SysCalendarService;
import com.lichkin.framework.springboot.services.LKBaseDBJobService;
/**
* 初始化日历信息表
* @author SuZhou L... | 23.48 | 77 | 0.807496 |
f3324eb5e33db1d8053e39ecd1296929a862d08f | 847 | package sorting;
public class QuickSort {
public static void sort(int[] arr) {
quickSort(arr, 0, arr.length - 1);
}
private static void quickSort(int[] arr, int lo, int hi) {
if(lo < hi) {
int p = partition(arr, lo, hi);
quickSort(arr, lo, p);
quickSort... | 21.175 | 62 | 0.435655 |
276ff6a154feba1bb00c9daec7e93c29f3371c09 | 2,332 | package com.xiangju.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.xiangju.domain.CommentTopic;
import com.xiangju.domain.User;
import com.xiangju.mapper.CommentTopicMapper;
import com.xiangju.mapper.UserMapper;
import com.xiangju.service.CommentTopicService;
import org.springframework.beans.factory.... | 35.333333 | 97 | 0.667238 |
9b74016788a5a2fb42bb914040641a9093fda1ba | 2,123 | package org.thingsboard.server.common.data;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.thingsboard.server.common.data.id.*;
public class Role extends SearchTextBasedWithAdditionalInfo<RoleId> implements HasName, HasTenantId, HasCustomerId{
private TenantId tenantId;
private CustomerId cus... | 22.585106 | 115 | 0.615638 |
dcab14943856eaa2199e76aa9feb56b19a36784b | 588 | /*
* This code is licensed under "The MIT License"
* Copyright (c) 2015 by Stan Svec
*
* Please see the included 'LICENSE.txt' file for the full text of the license.
*/
package com.stansvec.dropwizard.auth.exp;
import static com.google.common.base.Preconditions.checkNotNull;
/**
* Expression variable.
*
* @au... | 21.777778 | 79 | 0.704082 |
3ec9b616cc899e48716de9f1f1f4ad2afacddc18 | 1,485 | package me.shedaniel.clothconfig2.gui.entries;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.gui.AbstractParentElement;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.text.Text;
import java.util.Optional;
import java.util.function.Supplier;
... | 30.306122 | 169 | 0.697643 |
7a1186e037b58e891a8842180bea8d83327e6950 | 26,229 | package com.petsvalley.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class ClaimExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
private Integer limit;
private Long offset;
public ClaimE... | 32.261993 | 102 | 0.590568 |
390f318c1c0a0b980f835a94caeeb8b3578e56c7 | 425 | package com.imran.prac.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import com.imran.prac.dto.Categories;
@RepositoryRestResource(collectionResourceRel = "categories", path = "categories")
public interface Cate... | 32.692308 | 83 | 0.809412 |
bae1d310a20de4b8365a76b0d2e2db34a6e1262e | 342 | package com.baeldung.sleuth.traceid;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SleuthCurrentTraceIdApp {
public static void main(String[] args) {
SpringApplication.run(SleuthCurrentTraceIdApp.... | 28.5 | 68 | 0.804094 |
a96fbb99e25ff7781033a7a67cebb7aa7aaebb76 | 1,033 | package be.kdg.repaircafe.backend.config;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.... | 36.892857 | 79 | 0.74637 |
41dad06dd1e857f9304f9c38cea2eb8c0b49f735 | 6,569 | package org.titanium.config;
import com.relevantcodes.extentreports.ExtentReports;
import com.relevantcodes.extentreports.LogStatus;
import org.apache.log4j.PropertyConfigurator;
import org.testng.ITestResult;
import org.testng.annotations.*;
import org.titanium.properties.ExtentRep;
import org.titanium.properties.Gen... | 38.869822 | 119 | 0.688537 |
cec31e859c4e450dc0e72747f19aeacca88fb0e9 | 3,103 | package org.justcards.android.fragments;
import android.app.Dialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.fragment.app.Dialo... | 31.989691 | 131 | 0.719948 |
edcd9e955d548f6987ba0f4059d322c79700c786 | 1,639 | package com.project.onthego.model;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
@Entity
@IdClass(BusRouteid.class)
public class BusRoutes {
@Id
private int Bus_Route_Id;
@Id
private int Stop_Seqnce_Id;
private int Bus_Stop_Id;
private... | 21.853333 | 56 | 0.768761 |
c03274eca0bf42019d540d2242811b52b8e22e3d | 9,601 | package ch.cyberduck.core.irods;
/*
* Copyright (c) 2002-2015 David Kocher. All rights reserved.
* http://cyberduck.ch/
*
* 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 ... | 40.004167 | 131 | 0.64587 |
c767b320d1b8d5a408bc7cb03dd28ad9d4e66355 | 917 | package net.leomixer17.askaddon.conditions;
import ch.njol.skript.lang.Condition;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptParser.ParseResult;
import ch.njol.util.Kleenean;
import org.bukkit.event.Event;
import org.eclipse.jdt.annotation.Nullable;
import java.io.File;
public class Cond... | 25.472222 | 113 | 0.68157 |
512d4ea42664ec93dc7aa075706f092a6f7a26b0 | 2,188 | package com.github.tianmu19.tphotoviewer;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;
import com.alexvasilkov.gestures.transition.ViewsTransitionAnimator;
import ... | 34.1875 | 107 | 0.712523 |
158d48af9a6a8045f6a56f8d354d1e53065cd78b | 1,932 | package com.juaby.labs.raft.protocols;
import com.juaby.labs.rpc.util.Endpoint;
/**
* @author Bela Ban
* @since 0.1
*/
public class InstallSnapshotRequest extends RaftHeader {
protected Endpoint leader;
protected int last_included_index;
protected int last_included_term;
protected byte[] data;
... | 22.206897 | 111 | 0.64234 |
fd1ba0ed0d516bba30711965ff4ff9ec1defeeb7 | 15,575 | package com.liquidlabs.log.space;
import com.liquidlabs.common.NetworkUtils;
import com.liquidlabs.common.PIDGetter;
import com.liquidlabs.common.concurrent.ExecutorService;
import com.liquidlabs.common.concurrent.NamingThreadFactory;
import com.liquidlabs.common.jmx.JmxHtmlServerImpl;
import com.liquidlabs.log.LogPro... | 42.208672 | 195 | 0.653547 |
8c6575e4d1980e80ed87d0b7638309a089302464 | 3,184 | package com.xiaoshabao.base.component;
import java.io.File;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.convert... | 43.616438 | 129 | 0.794284 |
84b922e7060f1396e780d3fd8bf5f14874162c2c | 1,851 | /*
* Copyright 2017-2019 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... | 23.43038 | 81 | 0.649919 |
854306f21002eab66a015fa32ea477e300481b63 | 13,244 | /*
* Copyright 2022 Creek Contributors (https://github.com/creek-service)
*
* 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
*
* Unles... | 33.785714 | 110 | 0.598837 |
dd97d00eb3c81ddda02a3a18a659f51d7c7af28d | 569 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.ifto.aula4.criandoclasses;
/**
*
* @author Giovane
*/
public class CriandoConstrutores {
private String nome;
private double altura;
//Construtor 1
public Cria... | 19.62069 | 60 | 0.585237 |
d670d9d5d1e52e0555593d4a6210d9438d95b576 | 2,104 | package com.anly.githubapp.data.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.anly.githubapp.data.net.response.Content;
import java.util.ArrayList;
/**
* Created by mingjun on 16/7/29.
*/
public class RepoDetail implements Parcelable {
private Repo baseRepo;
private Content re... | 24.183908 | 103 | 0.651141 |
3d49e5e30f0c25e00237b42b7a01cb686681ee3b | 6,083 | /**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... | 39.5 | 135 | 0.646556 |
db42250765c3aca1d38f6c020244d995382f2ed2 | 1,332 | /*
* Copyright (C) filoghost
*
* SPDX-License-Identifier: MIT
*/
package me.filoghost.fcommons.reflection;
import java.lang.reflect.Method;
public interface ReflectMethod<T> extends ReflectElement {
static <T> ReflectMethod<T> lookup(ClassToken<T> expectedReturnClassToken,
... | 35.052632 | 96 | 0.578829 |
2a843c8a1f6b1b0707bf5c240d0496c73552376a | 2,893 | package com.ymsmile.exam.modules.paper.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
i... | 30.452632 | 120 | 0.694781 |
cf126b09bca2c5f10641975d16d8f67690989c2a | 141 | package com.siiconcatel.taskling.core.fluent.settings;
public interface ObjectBlockSettings<T> extends BlockSettings {
T getObject();
}
| 23.5 | 63 | 0.794326 |
41a28dcad1c19113b4f6c0ebf120163119d79f2e | 326 | package com.ngdesk.repositories;
import java.util.List;
import java.util.Optional;
import com.ngdesk.company.module.dao.Module;
public interface CustomModuleRepository {
public Optional<List<Module>> findAllModules(String collectionName);
public Optional<Module> findModuleByName(String name, String collectionName... | 23.285714 | 78 | 0.815951 |
e20211c2221c07415ab5a47b76bf1ff20e358f87 | 1,332 | /**
* copyright © Nusino Technologies Inc, 2021, All rights reserved.
* dhuang05@gmail.com
*/
package com.nusino.microservices.service.buscalendar.translator.english;
import com.nusino.microservices.service.buscalendar.expr.model.standard.ValueExpr;
import com.nusino.microservices.service.buscalendar.translator.Tra... | 33.3 | 109 | 0.679429 |
d46f153db1fd88dcdd87c3909f02f08be62533c3 | 602 | package com.atguigu.gulimall.product.dao;
import com.atguigu.gulimall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 品牌分类关联
*
* @author chengchaoqun
* @email chengch... | 28.666667 | 91 | 0.780731 |
5ff0df294156341b45a9942819880a1e7db3f26b | 194 | package org.bitcoin.authenticator.Backup.Exceptions;
public class CannotRestoreBackupFileException extends Exception {
public CannotRestoreBackupFileException(String msg) {
super(msg);
}
}
| 24.25 | 65 | 0.824742 |
31f80eac3be5e4f545a1ddeb07805bd6868c3e05 | 26,427 | /*
* Copyright 2018 Key Bridge.
*
* 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... | 28.600649 | 320 | 0.694403 |
c594be5af6521751794e1208a07c6ec41edd31f3 | 5,452 | package visualization;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.scene.Scene;
import javafx.scene.layout.ColumnConstraints;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.RowConstraints;
import javafx.stage.Stage;
import javafx.stage.Window;
import javafx.util.D... | 39.507246 | 123 | 0.708547 |
6c4d4d09cc5479386107fe8c10711559881bef34 | 15,590 | package gov.usgs.wma.wqp.dao.count;
import com.github.springtestdbunit.annotation.DatabaseSetup;
import com.github.springtestdbunit.annotation.DbUnitConfiguration;
import gov.usgs.wma.wqp.CsvDataSetLoader;
import gov.usgs.wma.wqp.dao.CountDao;
import gov.usgs.wma.wqp.dao.NameSpace;
import gov.usgs.wma.wqp.mapping.Coun... | 38.117359 | 192 | 0.76254 |
ba8d6bcd0e024ade87d49d7fd1a7f129d2a32115 | 3,869 | package net.md_5.bungee.jni.cipher;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import java.security.GeneralSecurityException;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.ShortBufferException;
import javax.crypto.spec.IvParameterSpec;
// Wateredog... | 28.659259 | 115 | 0.644094 |
29a67a4dc71fc6ee61a8ee16e811281641eb83d6 | 2,052 | package com.sap.hcp.cf.logging.common.converter;
import java.io.PrintWriter;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.jr.ob.JSON;
import com.fasterxml.jackson.jr.ob.JSONComposer;
import com.fasterxml.jackson.jr.ob.comp.ArrayComposer;
public class D... | 33.096774 | 98 | 0.583333 |
5211e1e8321ece8f8db996f38b6114dce6cb0028 | 1,369 | package org.finos.symphony.toolkit.spring.api.endpoints;
import org.finos.symphony.toolkit.spring.api.SymphonyApiAutowireConfig;
import org.finos.symphony.toolkit.spring.api.SymphonyApiConfig;
import org.finos.symphony.toolkit.spring.api.builders.JerseyApiBuilderConfig;
import org.junit.jupiter.api.Test;
import org.ju... | 34.225 | 139 | 0.815194 |
ada285cb0f98978df81ffda22299d22490473fec | 1,274 | /*
* Laboring.java
*
* $Id: Laboring.java 1825 2013-05-20 04:23:17Z escott8 $
*/
package sim.app.geo.riftland.household;
import sim.app.geo.riftland.Parameters;
import sim.engine.SimState;
/** Represents part of a Household working in a city that sends money back
*
* May become deprecated.
*
*/
public class... | 19.014925 | 97 | 0.622449 |
a02dfa318bc83d909910473361e4ed29996e4488 | 174 | import java.util.*;
class ExtractFieldCompilationFailureTest {
private ArrayList aelements = new ArrayList();
public void test() {
aelements.it<caret>erator();
}
} | 21.75 | 48 | 0.724138 |
aed8da933f8e0b3f0c1431d7c5956101f362df0e | 323 | package com.lunchteam.lunchrestapi.api.repository;
import com.lunchteam.lunchrestapi.api.entity.MenuTypeEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface MenuTypeRepository extends JpaRepository<MenuTypeEntity, Long> {
... | 29.363636 | 81 | 0.854489 |
d377af78843a997f52ffbbf73003ed9defe40230 | 188 | package us.pinguo.svideoDemo.record;
import us.pinguo.svideoDemo.mvp.ViewController;
/**
* Created by huangwei on 2016/7/15.
*/
public interface IRecordView extends ViewController {
}
| 18.8 | 53 | 0.771277 |
c7a010392880f2ce4e6133a965e0554d00ecfaf7 | 6,794 | package SFTLsw;
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* CaesarCipher.java
*
* Created on May 22, 2013, 4:47:25 PM
*/
/**
*
* @author NISH
*/
public class CaesarCipher extends javax.swing.JFrame {
/** Creates new form CaesarCipher */
publ... | 43 | 160 | 0.629379 |
3670bcb8a2fd1cd3db0558365028460254560ded | 4,262 | /*
* Copyright (C) 2019 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... | 48.431818 | 142 | 0.762318 |
5183ba68334fa2fe8cbdbcd22731a7091f65cf1e | 13,389 | package org.iplantc.service.io.resources;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.http.HttpResponse;
import org.iplantc.service.common.auth.JWTClient;
import org.iplantc.service.common.dao.TenantDao;
import org.iplantc.service.common.excepti... | 36.186486 | 131 | 0.704011 |
ec5cee64f0fedf836865206e546b6d116ac3ed17 | 705 | package org.usfirst.frc.team2537.robot.auto;
import edu.wpi.first.wpilibj.command.Command;
public class DefaultAutoCommand extends Command{
/**
* Prints stuff during init and end/interrupt
*/
public DefaultAutoCommand(){
}
@Override
protected void initialize() {
System.out.println("[De... | 17.625 | 55 | 0.659574 |
54e0ce83962babfb344d7913a6d587b338a1ff9e | 533 | /**
* An example of a state machine used to implement a protocol. The
* MessageExchanger sends UDP Datagrams to other MessageExchanger instances. It
* operates in two modes: as a listener or as a sender. The listener responds to
* three messages and terminates. The sender uses the MXStateMachine to
* implement a t... | 48.454545 | 80 | 0.752345 |
075c9e42272b688d96e21086806616d4fb3e4822 | 834 | package edu.fiuba.algo3.interfaz.vistas;
import edu.fiuba.algo3.modelo.AlgoThief;
import edu.fiuba.algo3.modelo.CalculadoraDia;
import edu.fiuba.algo3.interfaz.Observador;
import javafx.scene.control.Label;
public class VistaReloj implements Observador {
private Label reloj;
private AlgoThief juego;
public Vista... | 26.903226 | 74 | 0.760192 |
8cc4ba3d10237aafe9d0566a4f09e66d80496e56 | 173 | package com.ltse.gui.panels;
/* Panel with a label "Filter" and with a button
* called "Load File"
*/
public class FilterPanel extends Panel {
public FilterPanel() {}
}
| 19.222222 | 48 | 0.710983 |
621eed244b40249a781ab5bf59eb5afdc3810276 | 1,041 | package visitor.concrete;
import visitor.abstracts.Visitor;
import elements.abstracts.Tool;
import elements.abstracts.characters.Character;
import elements.abstracts.weapons.Weapon;
import engine.helpers.Logger;
public abstract class EnemyVisitor extends Character {
public EnemyVisitor(Weapon weapon, int healthPoin... | 23.133333 | 65 | 0.730067 |
ed1b296da9938adc88a47df18889fb72abc1ffc3 | 5,657 | /*
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
/*
* This code is copied from the original library from the `cern.jet.random` package.
* Changes:
* - package name
* - missing Javadoc param tags
* - reformat
*/
/*
Copyright � ... | 35.35625 | 207 | 0.674562 |
fb64a3831705adb7bf39fc7f197e38ce8503ae09 | 3,873 | /* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* Esri 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... | 30.738095 | 82 | 0.650142 |
9537728774fb64e7b6ee6b58f6550475fd7eb96c | 1,473 | /*******************************************************************************
* Copyright SemanticBits, Northwestern University and Akaza Research
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caaers/LICENSE.txt for details.
******************************************... | 33.477273 | 83 | 0.682281 |
e93700610c3967d9253020fa9106f00932cf5943 | 12,000 | package netbit.develop.food;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.widget.LinearLayoutManager;
import android.suppor... | 39.735099 | 183 | 0.665167 |
afefe4f8d3f4a1cee552ba9a5d12d32ca161be36 | 1,070 | package dev.ruivieira.ccfd.routes.messages.v0;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;
public class PredictionRe... | 28.918919 | 97 | 0.742991 |
0cd17ef9ce1c26d3cebfa016213086eb2f8d2b59 | 3,136 | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Flipkart Internet Pvt. Ltd.
*
* 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 t... | 38.716049 | 108 | 0.717793 |
48586734b18c171f347afad4311900606460202f | 1,162 | package uk.gov.hmcts.reform.divorce.orchestration.workflows;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.reform.divorce.orchestration.framework.workflow.DefaultWorkflow;
import uk.gov.hmcts.reform.divorce.orchestration.framework.workflow.WorkflowException... | 37.483871 | 91 | 0.782272 |
dc7d53f2b519208e0fcb89bc303e8d320fcf3e81 | 3,141 | /**
* Chapter 10 Programming Challenges 4.
* @author Shung-Hsi Yu <syu07@nyit.edu> ID#0906172
* @version Apr 25, 2014
*/
/*
UML
-------------------------------------------------------------------------
| Essay |
------... | 32.71875 | 80 | 0.446991 |
5cc94e2f2529fac349d4f244e83f5a9d8e91bf96 | 23,869 | package cz.sd.api.alvao.database.dao.impl;
import cz.sd.api.ServiceDeskMessage;
import cz.sd.api.alvao.database.dao.AlvaoAbstractDao;
import cz.sd.api.alvao.database.dao.IAlvaoDbTicketDao;
import cz.sd.api.alvao.ticket.AlvaoTicketCreateData;
import cz.sd.api.alvao.convertor.AlvaoPriorityConvertor;
import cz.sd.api.alv... | 40.115966 | 189 | 0.504588 |
0400a72481efe6f6bf4ffa36dbd79d37c7d16df2 | 3,281 | // SPDX-License-Identifier: Apache-2.0
// YAPI
// Copyright (C) 2019,2020 yoyosource
package yapi.math.calculator.scientific;
import yapi.math.calculator.scientific.function.InfixFunction;
import yapi.math.calculator.scientific.implementedFunctions.Power;
import yapi.math.calculator.scientific.operator.Operator;
imp... | 31.247619 | 145 | 0.617495 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.