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 |
|---|---|---|---|---|---|
4c0a332ac6a6260c4ed09a23ccb5977f406d84e4 | 1,882 | package org.codingeasy.shiroplus.loader.admin.server.controller;
import org.codingeasy.shiroplus.loader.admin.server.models.Action;
import org.codingeasy.shiroplus.loader.admin.server.models.entity.RoleEntity;
import org.codingeasy.shiroplus.loader.admin.server.service.PermissionService;
import org.codingeasy.shiroplu... | 27.676471 | 102 | 0.774708 |
997561c22119222d142f8ffa6babcf30d50b8a33 | 2,501 | //@@author nusjzx
package seedu.address.logic.commands;
import static org.junit.Assert.fail;
import static seedu.address.logic.commands.CommandTestUtil.assertCommandSuccess;
import static seedu.address.logic.commands.CommandTestUtil.showFirstTaskOnly;
import static seedu.address.testutil.TypicalIndexes.INDEX_FIRST_PER... | 38.476923 | 117 | 0.752099 |
4ab0665a6b824231fcf7134ff98d1bf71bf8f33e | 1,852 | /*
* Copyright (C) 2010 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... | 28.492308 | 75 | 0.63013 |
84091029516743f58f8a3c162ce2b442332d15d6 | 2,507 | package com.forum.controllers;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.... | 27.25 | 92 | 0.763861 |
097e2dc3f77b9b37bb68164876418d4a6d01448c | 949 | package geekforgeek;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.Buffer;
import java.util.Arrays;
public class MZeroes {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamR... | 24.973684 | 103 | 0.523709 |
039040f054561036eca0b7dad0f75e5a23617bd6 | 3,931 | package com.tianci.weather.ui;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.widget.TextView;
import com.tianci.weather.Debugger;
import com.tianci.weather.R;
import com.tianci.weather.WeatherApplication;
import com.tianci.we... | 26.206667 | 74 | 0.685067 |
1a36c7e27ff4a233d2d7310366b2a78cb6aa642f | 4,914 | /*
* Copyright 2008-2013 Hippo B.V. (http://www.onehippo.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 ... | 32.328947 | 106 | 0.665649 |
0ac165976dc5fcf48b710d7d80c4efdaafdb8798 | 16,154 | /*
* Copyright (c) 2004-2021, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | 42.848806 | 117 | 0.721617 |
95cfcd2926614866081fd558ceaaa2e568fabe4a | 3,269 | /*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 33.357143 | 88 | 0.71245 |
c40c7e5ef675187126205fa6d3ce04c3856f81be | 441 | package som.interpreter.nodes.literals;
import som.vm.constants.Nil;
import com.oracle.truffle.api.frame.VirtualFrame;
import com.oracle.truffle.api.source.SourceSection;
public final class NilLiteralNode extends LiteralNode {
public NilLiteralNode(final SourceSection source) {
super(source);
assert sour... | 20.045455 | 58 | 0.761905 |
9171550f6bfd3ac0a0d37906ca3845de8c81e20a | 998 | package com.backbase.billpay.fiserv.payeessummary.model;
import com.backbase.billpay.fiserv.common.model.AbstractResponse;
import com.backbase.billpay.fiserv.common.model.ResultType;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xm... | 27.722222 | 72 | 0.793587 |
4b42e98f6192c689e383447c74f86b3da96619cd | 917 | package com.google.refine.model.metadata.validator.checks;
import org.json.JSONObject;
import com.google.refine.model.Cell;
import com.google.refine.model.Project;
import io.frictionlessdata.tableschema.Field;
public class MinimumLengthConstraint extends AbstractValidator {
private int minLength;
publi... | 26.2 | 88 | 0.657579 |
fc99435db585330e857145096417a4612ccb12ac | 5,568 | package frc.robot.subsystems;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.Constants;
import com.ctre.phoenix.motorcontrol.ControlMode;
import com.ctre.phoenix.motorcontrol.FeedbackDevice;
import com.ctre.phoenix.motorcontrol.NeutralMode;
import co... | 29.935484 | 145 | 0.699174 |
15ce02d02d8857462dabbe55de3299be6497169d | 442 | package org.mini2Dx.invaders.desktop;
import org.mini2Dx.desktop.DesktopMini2DxConfig;
import com.badlogic.gdx.backends.lwjgl.DesktopMini2DxGame;
import org.mini2Dx.invaders.InvadersGame;
public class DesktopLauncher {
public static void main (String[] arg) {
DesktopMini2DxConfig config = new DesktopMini2DxConfi... | 27.625 | 87 | 0.807692 |
b5c4be41001fab1fb4b595931a424323da98edc6 | 33,527 | /*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... | 48.873178 | 191 | 0.661258 |
f82372a29b6bf3d9c71623b613c6102f3249fbcd | 696 | package net.canarymod.util;
import net.canarymod.api.nbt.BaseTag;
import net.canarymod.api.nbt.CanaryBaseTag;
import net.minecraft.nbt.JsonToNBT;
import net.minecraft.nbt.NBTException;
/**
* JSON NBT Utility implementation
*
* @author Jason Jones (darkdiplomat)
*/
public class CanaryJsonNBTUtility implements Json... | 23.2 | 61 | 0.679598 |
241272befce1f9ad4663d6a36e4806be9c74cd48 | 1,138 | package pacote.tutorial.orientacao.oo.java;
public class PassagemParametros {
// Variável da classe
static int classeVar = 0;
public static void main(String[] args) {
// Variáveis para teste
int a = 1;
int b = 2;
int[] vet = new int[2];
vet[0] = 1;
vet[1] = 2;
System.out.println("Print FORA d... | 22.76 | 82 | 0.56239 |
343019256773296579c5f864c06e967135c148bd | 1,861 | package org.jdc.template.prefs.base;
import android.content.SharedPreferences;
@SuppressWarnings("unused")
public abstract class PrefsBase {
public abstract SharedPreferences getPreferences();
public void saveString(String key, String value) {
SharedPreferences.Editor editor = getPreferences().edit()... | 31.016667 | 103 | 0.676518 |
9045f3655d80e4f2983f7549fa4e7150583a4a79 | 5,055 | /*
* 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 ... | 50.55 | 123 | 0.79822 |
cdc8d35c7279a6ea61d44c8e90727cb7ea9d8e6c | 8,378 | package ECDuelist.Characters;
import ECDuelist.Cards.Card;
import ECDuelist.ModStartup;
import ECDuelist.Utils.Constants;
import ECDuelist.Utils.Path;
import basemod.abstracts.CustomPlayer;
import basemod.animations.SpriterAnimation;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.BitmapFo... | 30.028674 | 118 | 0.757699 |
d11c5a32d22e271b85c33ca5495f29814da4cf88 | 179 | package com.hzh.webx.services;
import com.hzh.webx.model.Order;
/**
* Created by huangzehai on 2017/3/31.
*/
public interface OrderService {
void saveOrder(Order order);
} | 17.9 | 38 | 0.72067 |
29df4806cc2fc6394add04c1dcff8843e4948efb | 808 | package top.codecrab.gulimall.auth.client;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import top.codecrab.common.response.R;
import top.codecrab.gulimall.auth.vo.LoginVo;
import top.code... | 29.925926 | 59 | 0.779703 |
a3973b3f4de4828b409080438c95613fdc6642cd | 5,161 | package com.bookmarkanator.util;
import java.util.*;
import org.apache.logging.log4j.*;
/**
* This class associates words with id's, enabling the ability to look up an item by word, or Id.
* <p>
* For example you could have a set of UUID's that that are associated with strings that represent tags.
* You could get... | 26.603093 | 118 | 0.557838 |
6885a4420beee8b1a5984b8b76439dbff4767037 | 1,687 | package org.jamocha.sample.im;
import java.io.Serializable;
import org.jamocha.rete.BoundParam;
import org.jamocha.rete.Constants;
import org.jamocha.rete.DefaultReturnVector;
import org.jamocha.rete.Function;
import org.jamocha.rete.Parameter;
import org.jamocha.rete.Rete;
import org.jamocha.rete.ReturnVector;
/**
... | 24.808824 | 77 | 0.719028 |
c40a2a48e2d8bfe1eb713006847efa4d22ad8a2b | 2,502 | package ru.liner.wallpapertheming.views;
import android.content.Context;
import android.content.res.Resources;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import androidx.annotation.LayoutRes;
import androidx.annotation.Nullab... | 28.11236 | 94 | 0.667866 |
42eaaeefe1058df0260006be9974bae0369b2e87 | 94 | package com.lovemesomecoding.pizzaria.entity.product.deal;
public interface DealService {
}
| 15.666667 | 58 | 0.819149 |
a46956b3f4545a4392613f99133206dccddc54eb | 15,865 | /* Copyright 2004-2019 Jim Voris
*
* 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... | 60.323194 | 180 | 0.64179 |
c4467f3c6d3096141f52282c06c379a68a6f16b1 | 2,413 | package com.skycaster.hellobase.bean;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
/**
* Created by 廖华凯 on 2017/10/10.
*/
public class UserBean implements Parcelable {
private String userName;
private String password;
private String host;
private String dataB... | 23.201923 | 115 | 0.625363 |
64bd74c260e1bba5225bf9d79d805e84adf40beb | 8,740 | /////////////////////////////////////////////////////////////
// QuoteServiceImpl.java
// gooru-api
// Created by Gooru on 2014
// Copyright (c) 2014 Gooru. All rights reserved.
// http://www.goorulearning.org/
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and assoc... | 37.835498 | 197 | 0.756293 |
d84e0af8e86c477c062a7749ca44192fc3cd83e6 | 2,314 | package ksu.cs5000.spring17;
import java.util.Scanner;
public class Feb27_LoopExamples {
public static int readAndSum(Scanner in)
{
int sum=0;
int input;
do {
System.out.println("Please enter a number (0 to stop)");
input=in.nextInt();
sum+=input;
... | 20.846847 | 68 | 0.44987 |
e52b700ecdac9d209c88ab0adea097e5d3ceb837 | 1,232 | import java.util.List;
//too many iterations but works
public class DirReduction {
public static String[] dirReduc(String[] arr) {
List<String> stringList = new java.util.ArrayList<>(List.of(arr));
while (isThereAWasteOfDirections(stringList)) {
for (int i = 0; i < stringList.size() - 1... | 37.333333 | 134 | 0.573864 |
1e277dfb0a992e3aa92c746848d06f8ff5030147 | 1,064 |
package mage.cards.c;
import java.util.UUID;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.discard.DiscardControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
/**
... | 29.555556 | 80 | 0.728383 |
35119f046bb8e0c31f8694e4a4369e5cba90837a | 4,577 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 38.788136 | 116 | 0.71619 |
d2551935eeb28140f4d3c63fa8f126ff1ab462a2 | 3,215 | package com.uber.jenkins.phabricator.tasks;
import com.uber.jenkins.phabricator.conduit.ConduitAPIException;
import com.uber.jenkins.phabricator.conduit.DifferentialClient;
import com.uber.jenkins.phabricator.lint.LintResults;
import com.uber.jenkins.phabricator.unit.UnitResults;
import com.uber.jenkins.phabricator.ut... | 29.768519 | 132 | 0.637947 |
c0de9777f6a7c08ab6b1de86e79ba58da1014dea | 801 | package net.sf.cram.encoding.factory;
import net.sf.cram.encoding.BitCodec;
import net.sf.cram.encoding.Encoding;
public class DefaultBitCodecFactory implements BitCodecFactory{
@Override
public BitCodec<Long> buildLongCodec(Encoding encoding) {
// TODO Auto-generated method stub
return null;
}
@Override
p... | 20.538462 | 67 | 0.762797 |
630b8da640036be339ae8adc2c7df48c1ff68ae9 | 370 | package dc.longshot.parts;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import dc.longshot.models.Alliance;
@XmlRootElement
public final class AlliancePart {
@XmlElement
private Alliance alliance;
public AlliancePart() {
}
public final Allian... | 16.818182 | 49 | 0.727027 |
08ee13b246cb29f6ab55659812c7a9aaa1a4cd7a | 2,022 | package com.in28minutes.microservices.currencyconversionservice.resource;
import java.math.BigDecimal;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.con... | 40.44 | 125 | 0.830861 |
79747d3e22f65db5176f04a107c1bd069a2f7db1 | 1,564 | package com.cruzj6.mha.models;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.List;
/**
* Created by Joey on 7/11/16.
*
*/
public class TimesPerDayManagerItem implements Com... | 26.965517 | 82 | 0.603581 |
e6a4e7760e24ed466b8389e2813cc3136c5cbb49 | 133 | package an.samples.bridge;
import java.util.List;
public interface TypeScriptCompiler {
List<String> compile(String filePath);
}
| 14.777778 | 39 | 0.781955 |
ef28b741d284dc8621fbe2f10ebab0ea770aef07 | 6,874 | package ua.gov.dp.econtact.view;
import android.graphics.Rect;
import android.support.annotation.NonNull;
import android.text.Layout;
import android.text.StaticLayout;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.Vi... | 36.759358 | 145 | 0.62831 |
6649425e9d54aa30e6e2b3d64965b15b0e18241c | 1,832 | /* Copyright 2009-2013 SpringSource.
*
* 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... | 35.230769 | 98 | 0.775655 |
bf96e06c1ae10a31825e00b4224fd8669aca329d | 914 | package com.github.skjolber.packing.test.generator.egy;
import java.math.BigDecimal;
import org.apache.commons.math3.random.RandomDataGenerator;
public enum Category {
K1(new BigDecimal("2.72"), new BigDecimal("12.04")),
K2(new BigDecimal("12.05"), new BigDecimal("20.23")),
K3(new BigDecimal("20.28"), new BigDec... | 25.388889 | 92 | 0.715536 |
300cc96501df61aaa796df4ea95255c6d39c10f1 | 37,531 | /*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | 33.872744 | 163 | 0.707282 |
fae9605caa07baab78883c63b06025c9dbdae5a9 | 1,503 | package com.tecky.awsimageupload.profile;
import java.util.Objects;
import java.util.Optional;
import java.util.UUID;
public class UserProfile {
private UUID userProfileId;
private String username;
private String userProfileImageLink; //S3 Key
public UserProfile(UUID userProfileId, String username, String u... | 25.05 | 87 | 0.756487 |
c3872e73e5ecaa5704123368d4bcc112abfe4940 | 58 | package com.project.android;
public class ExampleMock {
} | 14.5 | 28 | 0.793103 |
20a24a52f67b81d3e2c1ccff6f6217d3ef79cee8 | 2,250 | package com.goaleaf.entities;
import javax.persistence.*;
@Entity
@Table(name = "members")
public class Member {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer id;
private Integer userID;
private Integer habitID;
private String userLogin;
@Lob
private String i... | 19.067797 | 65 | 0.597333 |
7620d4edc841ddc53bac35a43e3b2fec30474244 | 1,444 | package de.idos.updates.install;
import de.idos.updates.Version;
import de.idos.updates.store.Installation;
import de.idos.updates.store.ProgressReport;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.File;
import static org.mockito.Mockit... | 29.469388 | 83 | 0.729224 |
d9534a002e90f904a47a3d135fd04eb9a4f56852 | 1,273 | package ch.uzh.ifi.hase.soprafs22.game.units;
import ch.uzh.ifi.hase.soprafs22.game.units.interfaces.IUnitBuilder;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.Map;
public class UnitDirector {
private final IUnitBuilder unitBuilder;
public UnitDirector(IUnitBuilder unitB... | 42.433333 | 87 | 0.721131 |
7f6c3686bffb50d87c21605f7a21cf008586b932 | 747 | package com.uc4.ara.feature.discovery;
import com.automic.actions.discovery.DiscoveryManager;
import com.uc4.ara.feature.discovery.goals.HomeDirectory;
import com.uc4.ara.feature.discovery.goals.HostAndPortGoal;
import com.uc4.ara.feature.discovery.goals.ManagerConnection;
public class Jboss7DiscoveryManager {
pr... | 24.9 | 61 | 0.773762 |
8a3062c8b66ac14e5613ca1303cb5800ebfa9243 | 856 | package org.interledger.connector.routing;
import org.interledger.core.InterledgerAddressPrefix;
import org.zalando.problem.Status;
import java.net.URI;
import java.util.Objects;
/**
* Thrown when a data inconsistency prevents processing (for example, when the prefix in the url doesn't match the
* prefix of the s... | 31.703704 | 114 | 0.740654 |
abe18b20edbc69d8a24af478ae54924217045d69 | 722 | package com.lara;
import java.util.Arrays;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;
public class Manager4 {
public static void main(String args[])
{
Session ... | 26.740741 | 93 | 0.713296 |
12c679fb48a64f5a83809c1e34d7f3f8a3091c2f | 2,454 | package com.codetaylor.mc.artisanworktables.modules.tools.material;
import com.codetaylor.mc.artisanworktables.api.tool.ICustomToolMaterial;
public class CustomMaterialValidator {
public void validate(ICustomToolMaterial data) throws CustomMaterialValidationException {
if (data.getName() == null || data.getNa... | 41.59322 | 139 | 0.657702 |
8ed008831077b36bd873c76589d29c2ccfb61ca3 | 2,864 | package com.terraforged.cereal.value;
import com.terraforged.cereal.serial.DataWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
public class DataList extends DataValue implements Iterable<DataValue> {
public static fi... | 23.096774 | 90 | 0.564944 |
273a93922d046dc8ee791df807b8bea9104fdf7a | 3,111 | /**
* alert-common
*
* Copyright (c) 2020 Synopsys, Inc.
*
* 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 unde... | 43.208333 | 149 | 0.77242 |
6d9cbddfdb5f560d9a9ec562f8e1b86c63444834 | 76,226 | package rusting.content;
import arc.graphics.Color;
import arc.graphics.g2d.Draw;
import arc.struct.*;
import mindustry.content.*;
import mindustry.ctype.ContentList;
import mindustry.entities.Effect;
import mindustry.entities.bullet.BulletType;
import mindustry.gen.Sounds;
import mindustry.graphics.CacheLayer;
import... | 37.923383 | 206 | 0.56158 |
d9a5d92e20628bb9b2d99ff89e3fe4dda83aa9cb | 243 | package io.meeting.dao;
import io.meeting.entity.ConferenceUserEntity;
/**
*
*
* @author neckhyg
* @email 497273569@qq.com
* @date 2017-03-02 09:56:17
*/
public interface ConferenceUserDao extends BaseDao<ConferenceUserEntity> {
}
| 16.2 | 74 | 0.72428 |
0e53ab88260c111618809bab84a66d27fb01e41b | 4,429 | /*
* Copyright 2019 Netflix, 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 a... | 36.303279 | 115 | 0.69361 |
654e89853b8620b643f4465636d1b049098ff253 | 1,007 | package top.ljming.javaindepth.designpatterns.geeklesson.observer;
import java.util.ArrayList;
import java.util.List;
/**
* 描述类的功能.
*
* @author ljming
*/
public class UserRegController {
private List<RegObserver> regObserverList = new ArrayList<>();
public void setRegObserverList(List<RegObserver> regOb... | 25.175 | 71 | 0.672294 |
f019e6023d0447e1e0fe92454fb736659c631f5e | 1,806 | package com.plus.mevanspn.BBCSoundEditor;
import com.plus.mevanspn.BBCSoundEditor.WaveFile.*;
import com.plus.mevanspn.BBCSoundEditor.WaveFile.Exceptions.InvalidPCMSampleException;
import com.plus.mevanspn.BBCSoundEditor.WaveFile.Exceptions.InvalidPCMSampleSizeException;
import com.plus.mevanspn.BBCSoundEditor.Wa... | 44.04878 | 114 | 0.608527 |
25168d75e74b198363bf20feab030a8d16925c2f | 3,355 | package example;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;... | 28.432203 | 82 | 0.687928 |
1a15e4afe51e0e66ffa31fc0438810b9a96a875c | 1,235 | package kotlin.sequences;
import java.util.Iterator;
import kotlin.jvm.internal.markers.KMappedMarker;
import org.jetbrains.annotations.NotNull;
public final class MergingSequence$iterator$1 implements Iterator<V>, KMappedMarker {
@NotNull
private final Iterator<T1> iterator1;
@NotNull
priva... | 29.404762 | 104 | 0.671255 |
dd1fe8ffcba49ffcf9f9b9415c124cb35c43e0d7 | 3,675 | /****************************************************************
* 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... | 59.274194 | 134 | 0.687891 |
ee9ba6e62101c82dc2bde985fa26bb3729c20ecf | 1,753 | /*
* Copyright © 2014 - 2018 Leipzig University (Database Research Group)
*
* 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.075472 | 84 | 0.758699 |
fb715bd3c89245fa3e7a61df64a6d1db434d2c20 | 2,094 | package crc6406d57bc67a4dd4fc;
public class CameraPreview_DetectorProcessor
extends java.lang.Object
implements
mono.android.IGCUserPeer,
com.google.android.gms.vision.Detector.Processor
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_receiveDetections:(Lcom/google/and... | 32.215385 | 251 | 0.775549 |
af0351f9d192e34dcbe6f5b2813eac910f94c27e | 2,347 | package com.lcj.mutichannel.Netty;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.Unpooled;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import lombok.extern.slf4j.Slf4j;
/**
*... | 31.716216 | 110 | 0.567959 |
f4a4a9bf96d70a8a42c6fa4723ee4b1fc28ce7f0 | 872 | package senntyou.webmonitor.mbg.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import senntyou.webmonitor.mbg.model.JsError;
import senntyou.webmonitor.mbg.model.JsErrorExample;
public interface JsErrorMapper {
long countByExample(JsErrorExample example);
int deleteByExample(JsErr... | 29.066667 | 108 | 0.779817 |
87ff21b2cac5c813ea367898e1dc520b3df040c9 | 2,892 | /*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* 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... | 31.096774 | 116 | 0.624481 |
2f797e361a2713b8142154658294203c12e1591b | 20,096 | /*
* Copyright (C) 2010, Christian Halstrick <christian.halstrick@sap.com>,
* Copyright (C) 2010, Philipp Thun <philipp.thun@sap.com>
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution... | 30.26506 | 94 | 0.767466 |
ff2ae71b8c6bbf84c5b082366dc89184a9344e24 | 446 | package org.ethereum.net.submit;
import org.ethereum.core.Transaction;
/**
* @author Roman Mandeleil
* Created on: 23/05/2014 18:41
*/
public class WalletTransaction {
private Transaction tx;
int approved = 0; // each time the tx got from the wire this value increased
public WalletTransaction(Transaction tx) ... | 17.153846 | 77 | 0.70852 |
ee52e64d76c6ca39af974c8ac654e492d53ed138 | 966 | package mekanism.client.render.entity;
import mekanism.client.model.ModelRobit;
import mekanism.common.entity.Robit;
import mekanism.common.util.MekanismUtils;
import mekanism.common.util.MekanismUtils.ResourceType;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import ne... | 26.108108 | 103 | 0.753623 |
b6d4ddf0f2b0a4ea1ee513b7f304d168a74033c7 | 1,210 | import tfc.lang.Executor;
import tfc.lang.LangClass;
public class Benchmarking {
public static void main(String[] args) {
{
long avgTime = 0;
for (int i = 0; i < 25600; i++) {
long timens = System.nanoTime();
method();
avgTime += System.nanoTime() - timens;
avgTime /= 2;
}
System.out.pri... | 21.22807 | 80 | 0.572727 |
a857dc6675abb6f19176b564afeadd11ba3527fd | 1,149 | package com.ociweb.iot.examples;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ociweb.gl.api.PubSubService;
import com.ociweb.iot.maker.AnalogListener;
import com.ociweb.iot.maker.FogRuntime;
import com.ociweb.iot.maker.Port;
public class ModeSelector implements AnalogListener {
private final... | 31.054054 | 116 | 0.770235 |
4f747327781f9a1fb9e09fe9e26575375cbe6ba3 | 883 | package com.solvd.shop24.gui.common.pages.purchase;
import com.solvd.shop24.gui.common.components.MenuItem;
import com.solvd.shop24.gui.common.components.purchase.BasketItemBase;
import com.solvd.shop24.gui.common.pages.HomePageBase;
import com.solvd.shop24.gui.common.components.purchase.BasketItem;
import org.openqa.... | 30.448276 | 84 | 0.741789 |
6ff87911a10ecd1c70dc7ad09696621533586d9e | 5,487 | //
// RemoteLoggerRecord.java
// Open XAL
//
// Created by Pelaia II, Tom on 9/28/12
// Copyright 2012 Oak Ridge National Lab. All rights reserved.
//
package xal.app.pvlogger;
import java.util.concurrent.Callable;
import java.util.*;
import xal.tools.UpdateListener;
import xal.extension.service.*;
import xal.tools.... | 26.635922 | 195 | 0.728996 |
e7bd3a3ea4abc4e214a4be8b5146b49cfd208a10 | 665 | // VeriBlock Blockchain Project
// Copyright 2017-2018 VeriBlock, Inc
// Copyright 2018-2020 Xenios SEZC
// All rights reserved.
// https://www.veriblock.org
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
package veriblock.model... | 23.75 | 70 | 0.699248 |
30e73ab221420e03ae388913c1828b3a3ab25418 | 156 | package com.example;
/**
* Created by Pooholah on 2017/6/28.
*/
public class Son extends Parent {
public Son(String a) {
super(a);
}
}
| 12 | 36 | 0.589744 |
525293eba4780147b931a4e479fdedafafc2effb | 233 | import java.util.ArrayList;
public class ErasedTypeEquivalence {
public static void main(String args[]){
Class a=new ArrayList<String>().getClass();
Class b=new ArrayList<Integer>().getClass();
System.out.println(a==b);
}
}
| 23.3 | 46 | 0.72103 |
314140dfdd8d9b4269c29b16454a73aa41a8f279 | 159 | package hr.from.ivantoplak.petclinic.services;
import hr.from.ivantoplak.petclinic.model.Vet;
public interface VetService extends CrudService<Vet, Long> {
}
| 22.714286 | 60 | 0.811321 |
d36f9fc3cd9544f53135461ea84e82cbe3637078 | 3,377 | package com.i2r.utils;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.dataformat.xml.XmlMapper;
import com.i2r.object.Dialogue;
import com.i2r.object.Turn;
import lombok.extern.slf4j.Slf4j;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.uti... | 38.816092 | 114 | 0.558188 |
b3149871ad60cd0cc70322fade2bf44be3682468 | 572 | package com.nettooe;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
//@Configuration
public class CampanhaApiApplication {
public static void main(String[] args) {
SpringApplication.run(CampanhaApiApplication.class, ar... | 27.238095 | 93 | 0.798951 |
64b891afabc716c84c17426d92a4647ea405814d | 32,708 | package org.folio.rest.impl.integrationsuite;
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.put;
import static com.github.tomakehurst.wiremock.client.WireMock.pu... | 50.32 | 129 | 0.79424 |
1b56963ea28a3ac5ce394822ca11134803d7b158 | 1,323 | package net.mednikov.MessageServiceExample.auth;
import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.User;
import io.vertx.ext.auth.jwt.JWTAuth;
import io.vertx.ext.jwt.JWTOptions;
import java.util.UUID;
public cl... | 28.148936 | 103 | 0.70068 |
04f3af57bb15e5348e64c7602f725100a76e4a70 | 23,537 | /*
* Copyright 2010 Vrije Universiteit
*
* 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 ag... | 37.719551 | 83 | 0.638229 |
2c50390f06e97d8ee33e3e6d30708a243ec4bfe8 | 2,053 | package net.jxta.impl.endpoint.netty.http;
import java.util.concurrent.Executors;
import net.jxta.impl.endpoint.netty.NettyTransport;
import org.jboss.netty.channel.socket.ClientSocketChannelFactory;
import org.jboss.netty.channel.socket.ServerSocketChannelFactory;
import org.jboss.netty.channel.socket.httptunnel.Ht... | 33.112903 | 151 | 0.774476 |
0942955f50bd66dfeef2efd00bd4191de47db9c1 | 196 | package com.simibubi.create.foundation.tileEntity.behaviour;
import com.simibubi.create.foundation.tileEntity.TileEntityBehaviour;
public class BehaviourType<T extends TileEntityBehaviour> {
}
| 24.5 | 69 | 0.846939 |
6fdcfe15c5d9b9d97260fdcc51d876e525c8b905 | 3,339 | package amazon;
import java.util.*;
/*
Given a map Map<String, List<String>> userMap, where the key is a username and the value is a list of user's songs.
Also given a map Map<String, List<String>> genreMap, where the key is a genre and the value is a list of songs belonging to this genre.
The task is to return a map... | 31.205607 | 137 | 0.634921 |
2b20a2afa301e4603196074c96aeb2856541b4b4 | 16,500 | /*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 40.441176 | 131 | 0.627515 |
7a903cd26e0277583b4bda5e06812ee5d7c89c07 | 3,354 | /*
* 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 ... | 30.216216 | 86 | 0.634168 |
19705ae772426606940ca012a5c3b592f52e1f02 | 405 | package com.dute7liang.pay.tool.ali.core.common;
import com.dute7liang.pay.tool.ali.bean.AliTransferTrade;
import java.util.Map;
/**
* 支付宝转账业务参数封装
* @Auther: yangyuan
* @Date: 2019/1/15 13:52
*/
public interface AliTransferBizOptions extends AliBizOptions{
/**
* 构造转账业务参数
* @param aliTransferTrade
... | 20.25 | 74 | 0.720988 |
0dc9ab6cc290548f41e45a554d0465d45221cca6 | 2,968 | package gov.wa.wsdot.android.wsdot.ui.myroute.newroute;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment;
import gov.wa.wsdot.android.wsd... | 34.511628 | 97 | 0.684636 |
0c3618e0b9841d09853d33491278133d1cf77df3 | 565 | package qwe.qweqwe.texteditor.w0.c;
import java.util.List;
/* compiled from: lambda */
public final /* synthetic */ class a implements Runnable {
/* renamed from: b reason: collision with root package name */
private final /* synthetic */ f f9794b;
/* renamed from: c reason: collision with root packag... | 24.565217 | 67 | 0.630088 |
1c5c57998dc764fe120875fbae836242ac9135a7 | 1,882 | package org.firstinspires.ftc.teamcode.Vision;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.openftc.easyopencv.OpenCvCamera;
import org.openftc.easyopencv.OpenCvCameraFactory;
import org.openftc.easyopencv.OpenCvCameraRotation;
impo... | 34.851852 | 156 | 0.712009 |
04638127005b5d6ade42e809cc0932dbbd6f2a76 | 3,220 | package net.mchs_u.mc.aiwolf.common.starter.component;
import java.awt.GridLayout;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.swing.JFrame;
import org.aiwolf.common.data.Agent;
import org.aiwolf.common.net.GameInfo;
import org.aiwolf.common.net.GameSetting;
import net.mchs... | 25.15625 | 115 | 0.740062 |
b41cf79f6c8eb980c8ab0dff6d14b9e79cdc660e | 814 | package de.atennert.homectrl.registration;
import java.util.Set;
public interface IHostAddressBook
{
/**
* Returns the host information belonging to an deviceId.
*
* @param deviceId
* @return
*/
DataDescription getHostInformation( int deviceId );
/**
* Get the devices of a h... | 29.071429 | 90 | 0.652334 |
fb71f02daaf7c9df025704ac9aa59fec1f1b0562 | 531 | package com.christophecvb.elitedangerous.events.combat;
import com.christophecvb.elitedangerous.events.Event;
public class BountySkimmerEvent extends BountyEvent {
public String faction;
public Long reward;
public interface Listener extends Event.Listener {
@Override
default <T extends Ev... | 29.5 | 82 | 0.743879 |
c4c7852d3f5068ee3587f36d1f1f15bb2b657b74 | 11,569 | package com.drive.admin.repository.impl;
import cn.afterturn.easypoi.excel.entity.ExportParams;
import cn.hutool.core.util.StrUtil;
import cn.hutool.crypto.SecureUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplu... | 43.007435 | 143 | 0.67992 |
c858f055c6f43fb89890eb4fe99d69a55799d214 | 211 | package com.example.asteroids;
import javafx.application.Application;
import javafx.stage.Stage;
public class Main extends Application{
public void start(Stage stage){
new MainMenu(stage);
}
}
| 19.181818 | 38 | 0.739336 |
4bfdc90c7224840ab68b532356066a6da289d1ff | 3,459 | package com.gentics.mesh.core.data.root.impl;
import static com.gentics.mesh.core.data.perm.InternalPermission.READ_PERM;
import static com.gentics.mesh.core.data.relationship.GraphRelationships.HAS_ROLE;
import static com.gentics.mesh.core.rest.error.Errors.error;
import static com.gentics.mesh.madl.index.EdgeIndexDe... | 32.327103 | 154 | 0.766117 |
bc81e078525b9df2220a1990ba66e1d1ac15f14e | 304 | package pl.sdacademy.zdjavapol33.java.zaawansowana.programowanie.funkcyjne.interfejs;
/**
* @author : Jakub Olszewski [http://github.com/jakub-olszewski]
* @project : ZDJAVApol33
* @since : 19.09.2020
**/
public class InterfejsFunkcyjnyMain {
public static void main(String[] args) {
}
}
| 20.266667 | 85 | 0.713816 |
59bbeaa74d821b32b17497a74773edc3cad2ecdc | 23,105 | //
// ========================================================================
// Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... | 35.546154 | 130 | 0.629561 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.