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 |
|---|---|---|---|---|---|
bb124d1190ba6b1fddc45d4d2617b5699105c755 | 480 | package com.mediscreen.common.restclient;
import java.io.IOException;
import java.io.Reader;
import java.io.Writer;
import java.util.List;
/**
* A serializer to perform REST body serialization and deserialization in JSON.
*/
public interface RestSerializer {
void serialize(Writer dst, Object value) throws IOExc... | 26.666667 | 79 | 0.75625 |
924cbaa3e90e643c64266e1450073ba9c46a0c19 | 6,627 | package com.andres.multiwork.pc.connection;
import com.andres.multiwork.pc.GlobalValues;
import jvisa.JVisa;
import jvisa.JVisaException;
import jvisa.JVisaReturnString;
import visatype.VisatypeLibrary;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
@SuppressWarnings("FieldCanBe... | 38.982353 | 143 | 0.661234 |
7c5ae113e47340a036d076b6151bfac827dc8adb | 1,109 | package com.mishin870.exforbidden.thaumcraftcomp;
import com.mishin870.exforbidden.Main;
import net.minecraft.block.Block;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.Material;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
/**
* База для всех б... | 29.972973 | 154 | 0.779982 |
71942cfc9d0babc7f52660470d9922cd1d9ddc50 | 744 | package com.milo.ms.services.inventory;
import com.milo.ms.bootstrap.BeerLoader;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;... | 24.8 | 88 | 0.751344 |
c2acba3327ecd2cfa5469e88a0138ed8b383d04a | 210 | package com.stnetix.cloudraid.api.exception;
/**
* Exception on some action with CloudRaidAPI
*
* @author Cloudraid Dev Team (cloudraid.stnetix.com)
*/
public class CloudApiException extends Exception {
}
| 21 | 53 | 0.761905 |
b9ed5c5b440324e40b17a65e069bdb528127f451 | 2,084 | package dfa.framework;
import java.util.Map;
import java.util.Set;
import soot.Unit;
import soot.toolkits.graph.Block;
/**
* A {@code CompositeDataFlowAnalysis} combines a {@code Join}, a {@code Transition} and an {@code Initializer} into a
* {@code DataFlowAnalysis}.
*
* @param <E>
* the type of {@code ... | 28.944444 | 118 | 0.636756 |
4f2e3230c7cdb003e2392ae5e0d1f499e8a06e65 | 319 | package lanse505.renaissance.utils.inventory;
import net.minecraft.item.ItemStack;
public interface IUpdatingInventory {
/**
* Method called when a slot is updated
*
* @param slot Slot being updated
* @param stack stack being updated
*/
void updateSlot(int slot, ItemStack stack);
}
| 22.785714 | 47 | 0.69279 |
eb2bfca28791d390b74ace77bb355d7f0e825807 | 754 | package com.is.smartlight.utility;
import com.is.smartlight.models.DefaultPresetsData;
import com.is.smartlight.services.DefaultPresetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import o... | 32.782609 | 66 | 0.816976 |
290bafaebf9bf85de99cf8f169140011475f362c | 1,058 | package com.noobanidus.brazier.util;
import net.minecraft.item.ItemStack;
import net.minecraftforge.items.IItemHandler;
import javax.annotation.Nonnull;
public class ItemStackWrapper implements IItemHandler {
private int index;
private IItemHandler handler;
public ItemStackWrapper (int index, IItemHandler handle... | 21.591837 | 85 | 0.746692 |
592beac525ed9e10a74a22efd9507b82f37afb69 | 1,185 | package com.zhongweixian.excel.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author caoliang1918@aliyun.com
* @Date 2017/11/4:22:32
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(El... | 19.42623 | 53 | 0.688608 |
58d8bf02802bdf131a8b72602a97b8ed66d18a24 | 5,501 | package at.tuwien.ifs.somtoolbox.visualization;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.util.logging.Logger;
import at.tuwien.ifs.somtoolbox.layers.LayerAccessException;
import at.tuwien.ifs.somtoolbox.layers.Unit;
import at.tuwien... | 37.937931 | 112 | 0.574805 |
91da78f185c41129c52d4b47f70f9e880b747ff4 | 1,367 | package org.healtex.batch.writer;
import org.healtex.model.AnnotatedDocument;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemWriter;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.util.List;
public class DeidentifiedDocu... | 32.547619 | 97 | 0.684711 |
a2fe749dbed69375932d8ceb0df5ddadfd0fec37 | 1,118 | package fr.thesmyler.terramap.gui.screens;
import fr.thesmyler.smylibgui.screen.Screen;
import fr.thesmyler.smylibgui.widgets.buttons.TextButtonWidget;
import fr.thesmyler.smylibgui.widgets.text.TextAlignment;
import fr.thesmyler.smylibgui.widgets.text.TextWidget;
import net.minecraft.client.resources.I18n;
import net... | 43 | 211 | 0.749553 |
96f34afd06a64c02ac8c0b2d5568ca4d777ef12f | 3,180 | /*
* Copyright 2013 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 30.285714 | 94 | 0.701572 |
2262c81afaee11a2cda04d6b38f017854d0ffee0 | 287 | package com.bounce.atlas.pojo;
import java.util.List;
import java.util.Map;
public class FencePojo {
public List<PointPojo> points;
public String color = "red";
public String fillColor = "#f03";
public double fillOpacity = 0.5;
public Map<String, Object> data;
}
| 19.133333 | 37 | 0.69338 |
aa55eb5a1a497d2f2a50b9e7969f81eb90d384f9 | 61,978 | package com.springboot.environment.serviceImpl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.springboot.environment.bean.*;
import com.springboot.environment.dao.*;
import com.springboot.environment.request.ComprehensiveQueryRequest;
import com.springboot.environment.reques... | 47.896445 | 351 | 0.5091 |
bf04385714cd6135e683140344c4542f6b52a1bf | 1,243 | package ch.jalu.configme.configurationdata.samples;
import ch.jalu.configme.SettingsHolder;
import ch.jalu.configme.configurationdata.CommentsConfiguration;
/**
* Contains SettingsHolder classes with wrong constructors.
*/
public final class IllegalSettingsHolderConstructorClasses {
private IllegalSettingsHold... | 24.86 | 82 | 0.670957 |
5d009782fcc65433ec3daf185a445e23a24fe6a9 | 7,082 | /*
* (C) Copyright IBM Corp. 2014
*
* 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.62406 | 79 | 0.683846 |
7d2e64084631cd8b801c43612bfdff16a9a261b6 | 2,777 | package com.example.android.bakingapp.Widget;
import android.content.Context;
import android.content.Intent;
import android.widget.RemoteViews;
import android.widget.RemoteViewsService;
import com.example.android.bakingapp.R;
import java.util.List;
import static com.example.android.bakingapp.Widget.BakingAppWidget.... | 28.336735 | 107 | 0.666907 |
8a88041cbbcbc0bd034ba5f8eb784dec270ff78d | 2,010 | package net.dean.jraw.models.internal;
import com.google.auto.value.AutoValue;
import com.squareup.moshi.Json;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
import net.dean.jraw.ApiException;
import net.dean.jraw.http.NetworkException;
import org.jetbrains.annotations.Nullable;
import java.u... | 27.916667 | 114 | 0.683085 |
98b78458b13c56ccbe3075ba6f8545105530034b | 818 | package edu.mum.cs544.aop1.log;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;
@Aspect
@Component
public clas... | 37.181818 | 150 | 0.720049 |
3a8bc15bac0266acd68d77a8ff88af36bb28088a | 2,901 | package com.spade.ja.datalayer.local;
import com.spade.ja.datalayer.pojo.response.DataResponse;
import com.spade.ja.datalayer.pojo.response.allevents.AllEventsResponse;
import com.spade.ja.datalayer.pojo.response.allnearby.AllNearByResponse;
import com.spade.ja.datalayer.pojo.response.allvenues.AllVenuesResponse;
impo... | 26.372727 | 72 | 0.779386 |
1c3d0bc78bf44fd35e2f6a1bf4e08d53a47d93a0 | 1,377 | package zlc.season.rxjava2demo.demo;
import android.content.Context;
import android.util.Log;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.functions.Consumer;
import io.reactivex.schedulers.Schedulers;
import okhttp3.ResponseBody;
import retrofit2.Response;
import zlc.season... | 33.585366 | 91 | 0.602033 |
2d15525bdc3b90b1d6b8e9e871fc37b118eeb1d7 | 802 | package ca.neilwhite.cloudfunctionlambda.models;
import java.io.Serializable;
public class Response implements Serializable {
private String uppercaseMessage;
private Integer characterCount;
public Response() {
}
public Response(String uppercaseMessage, Integer characterCount) {
this.upp... | 24.30303 | 70 | 0.715711 |
c7cbccea1cc6ee144475aea7f5b4b9f26f8dbaf3 | 1,402 | /**
*/
package gluemodel.COSEM.COSEMObjects;
import gluemodel.COSEM.InterfaceClasses.Auto_answer;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Auto Answer Object</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link gl... | 27.490196 | 117 | 0.656205 |
8f00b3193621b6d4fd6ec00b0d3e036c2def6934 | 3,262 | /**
* 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... | 33.285714 | 122 | 0.613427 |
34aa42af684eb99e0919775061bdcc153f6358c1 | 1,052 | package learning.webapps;
import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class CookieController extends HttpServlet {
@O... | 37.571429 | 114 | 0.740494 |
de1144e4c3b95fb50ccff0160d246b20f946c37f | 11,733 | package jetbrains.mps.lang.typesystem.typesystem;
/*Generated by MPS */
import jetbrains.mps.lang.typesystem.runtime.BaseHelginsDescriptor;
import jetbrains.mps.lang.typesystem.runtime.InferenceRule_Runtime;
import jetbrains.mps.lang.typesystem.runtime.NonTypesystemRule_Runtime;
import jetbrains.mps.lang.typesystem.r... | 40.181507 | 121 | 0.763232 |
87c5fd624ada5fa352fef51f48e8c5d2c92b7295 | 372 | package br.com.zupacademy.joao.mercadolivre.controller.utility.email;
import org.springframework.stereotype.Component;
@Component
public class EnviarEmail implements Disparador {
@Override
public void enviar(String caminho, String mensagem) {
System.out.println("Email enviado para: "+caminho);
... | 28.615385 | 69 | 0.741935 |
02316e678c2c4c9257fe49e8324ba73dc80e5127 | 377 | package poc.debnathsupriyo.avengersportal.repository;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import poc.debnathsupriyo.avengersportal.entity.Agent;
@Repository
public interface AgentRepository extends MongoRepository<Agent, String... | 29 | 74 | 0.822281 |
d65c798087b05142b26e8e529b249e67463e7a07 | 8,161 | /*
* (C) Copyright 2017 David Jennings
*
* 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... | 35.329004 | 139 | 0.541355 |
5ecd75ef7c489769d18a598613926a97acff1ad7 | 3,959 | /*
* Created on Nov 28, 2005
*/
package b01.foc.db.lock;
import java.awt.GridBagConstraints;
import java.awt.event.ActionEvent;
import java.util.Iterator;
import javax.swing.AbstractAction;
import b01.foc.db.SQLFilter;
import b01.foc.desc.FocDesc;
import b01.foc.desc.FocObject;
import b01.foc.desc.field.FField;
im... | 28.89781 | 123 | 0.680222 |
fab1d14e0922326b387cebdde351e7ea07e49fb3 | 7,412 | /**
* Copyright (C) 2014 OpenTravel Alliance (info@opentravel.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 38.010256 | 116 | 0.66082 |
3374e2673194d11a250c39653f7b69939a598fb1 | 245 | package com.victor.player.library.data;
public class FmtStreamMap {
public String fallbackHost;
public String s;
public String itag;
public String type;
public String quality;
public String url;
public String sig;
}
| 20.416667 | 39 | 0.710204 |
17e3a07c7b568789114425e91cc68ddfe61978e8 | 10,171 | package com.meizhuang.controller;
import com.meizhuang.entity.Article;
import com.meizhuang.entity.ArticleQuery;
import com.meizhuang.result.data.BaseResultInfo;
import com.meizhuang.result.data.SuccessResult;
import com.meizhuang.services.article.ArticleServiceImpl;
import com.meizhuang.utils.PrintUtil;
import org.sp... | 38.236842 | 176 | 0.626389 |
1a037161ff9bb8ee8373b0fb0c6fe96b54a5cd28 | 1,761 | package org.apache.spark.sql.execution;
/**
* :: DeveloperApi ::
* Performs an inner hash join of two child relations by first shuffling the data using the join
* keys.
*/
public class ShuffledHashJoin extends org.apache.spark.sql.execution.SparkPlan implements org.apache.spark.sql.execution.BinaryNode, org.apache... | 92.684211 | 380 | 0.785917 |
f2981932429db4096447815944446b36bfac8b97 | 2,157 | package fi.csc.chipster.sessionworker;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress... | 31.26087 | 131 | 0.686138 |
211026392675f47b4c0c223b313dd0c961088cb8 | 449 | package org.perscholas.recipies.services;
import java.util.List;
import org.perscholas.recipies.daos.CategoryRepository;
import org.perscholas.recipies.model.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class Categor... | 23.631579 | 63 | 0.781737 |
a60560fef74db3d50d84f38c0bbb80bfd647a562 | 995 | package com.zgrjb.utils;
import java.util.List;
import org.litepal.crud.DataSupport;
import com.zgrjb.model.LastMsgRecord;
import com.zgrjb.model.LocalUserInfo;
public class LastMsgRecordDBUtil {
private static final LastMsgRecordDBUtil instance= new LastMsgRecordDBUtil();
public static LastMsgRecordDBUtil getIns... | 22.613636 | 78 | 0.691457 |
6eaf8a7784e9018fa564dfe3ebcd2189c13c287d | 1,150 | import java.io.PrintStream;
import java.util.Scanner;
/**
* @author Georgiy Korneev (kgeorgiy@kgeorgiy.info)
*/
public class Ideal_gk {
private static Scanner in;
private static PrintStream out;
private static class Solution {
void run() {
int n = in.nextInt();
... | 29.487179 | 123 | 0.46 |
fbcc77b1bf17792de3eea00e45ccc3917668d324 | 10,224 | package com.liwy.study.spring.spring4.controller;
import com.fasterxml.jackson.annotation.JsonView;
import com.liwy.study.spring.spring4.bean.User;
import org.springframework.beans.propertyeditors.CustomDateEditor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.format.datetime.... | 31.361963 | 137 | 0.653756 |
8d10f76dd69fddcb12fc38448a5c79aa11938942 | 2,257 | /*
* Copyright (C) 2018 The ontology Authors
* This file is part of The ontology library.
* The ontology is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | 27.52439 | 78 | 0.708019 |
529e3eb615b587599cf04a9d26e0c73db9ba54c3 | 4,224 | package ru.ok.technopolis.firedemoapp;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.support.annotation.ColorInt;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
impo... | 29.957447 | 90 | 0.533854 |
e4d5fd58cc1f7546fc88c722226a1382dec1a667 | 1,519 | package org.gooru.nucleus.handlers.courses.processors.repositories.activejdbc.dbhelpers;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.gooru.nucleus.handlers.courses.app.components.DataSourceRegistry;
import org.javalite.activejdbc.Base;
import org.slf... | 30.38 | 99 | 0.714944 |
d30e52f0fee3701638cd53b8f93eb2319e7722d3 | 2,944 | package com.vailsys.freeclimb.webhooks.percl;
import com.vailsys.freeclimb.api.call.CallStatus;
import com.vailsys.freeclimb.api.call.Direction;
import com.vailsys.freeclimb.webhooks.RequestType;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import static org.hamcrest.core.IsNull.nullValue;
imp... | 62.638298 | 464 | 0.733356 |
72bd64d0c9d35a4f9355c4e14f52b50d1424ff91 | 1,721 | package com.github.wz2cool.dynamic.mybatis.mapper.provider.factory;
import com.github.wz2cool.dynamic.mybatis.db.model.entity.table.User;
import com.github.wz2cool.dynamic.mybatis.db.model.entity.view.ProductView;
import org.junit.Before;
import org.junit.Test;
public class DynamicCreateSqlFactoryTest {
DynamicC... | 30.732143 | 141 | 0.728065 |
291f6660765ed53482208b46e6b6f2f37f0164e7 | 204 | package com.newness.efficient.attendance.clockin.bo;
import lombok.Data;
@Data
public class ClockInGridBo {
private Integer pageSize;
private Integer pageNum;
private Integer analyzed;
}
| 14.571429 | 52 | 0.754902 |
ff0920c7718b48804cf8521971c37f3ec7acd190 | 4,722 | /*
* Copyright 2011 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 28.792683 | 114 | 0.70288 |
5cb75feb99d72d4e66894afddf18fbd5d5baea64 | 34,817 | package com.glitchcam.vepromei.edit;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.SeekBar;
import android.widget.TextVi... | 36.3814 | 174 | 0.631243 |
cffc9d09eef9575adfae90947b1e29d29df254fb | 612 | package ericminio.javaoracle.domain;
import ericminio.javaoracle.domain.PlaceholderList;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
public class PlaceholderListTest {
@Test
public void emptyStringWhenEmpty() {
assert... | 23.538462 | 70 | 0.650327 |
064bf2a2b5de012d2e01f4c00ea7f2b62abb5fb8 | 3,039 | package org.haobtc.onekey.utils;
import android.app.Activity;
import android.graphics.Rect;
import android.view.View;
import android.view.ViewTreeObserver;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import java.security.InvalidParameterException;
... | 27.627273 | 106 | 0.645278 |
18a4acd01193b85f0b4f474072740da3f5205713 | 2,586 | /**
* Copyright (C) 2006-2016 INRIA and contributors
* Spoon - http://spoon.gforge.inria.fr/
*
* This software is governed by the CeCILL-C License under French law and
* abiding by the rules of distribution of free software. You can use, modify
* and/or redistribute the software under the terms of the CeCILL-C li... | 29.724138 | 86 | 0.716164 |
d3ce1a046bede41f642aadbfabf8f84ba2ebfc76 | 144 | package fruit;
public class Apple extends Fruit {
@Override
public String howToEat() {
return "Apple could be slided";
}
}
| 16 | 39 | 0.638889 |
7e1fbeba28f610c4404893fcbcc84e78c6d26f0b | 5,143 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use t... | 28.258242 | 230 | 0.678009 |
ac1f1c2ca26d37520762efa4caf039ebed070aec | 1,396 | package be.ac.ulb.infof307.g01.client.model.map;
import be.ac.ulb.infof307.g01.client.model.app.ClientConfiguration;
import be.ac.ulb.infof307.g01.common.model.PokemonSendableModel;
/**
* Represents a Pokemon.
* A pokemon is the generic pokemon entity, such as "Pikachu". A pokemon
* spotted on the map is represen... | 31.022222 | 80 | 0.646848 |
a09beb7e9c0e7d1c5e699d5092313d6f9821427c | 11,258 | package eu.verdelhan.ansluta;
import com.pi4j.io.gpio.*;
import com.pi4j.io.spi.SpiChannel;
import com.pi4j.io.spi.SpiDevice;
import com.pi4j.io.spi.SpiFactory;
import com.pi4j.io.spi.SpiMode;
import java.io.IOException;
/**
* An Ikea Ansluta remote.
*
* CC2500 : http://www.ti.com/lit/ds/swrs040c/swrs040c.pdf
*... | 40.351254 | 197 | 0.593622 |
b5e4207c7d0f0dd0adffce533d8d12f42fdcc415 | 12,373 | /*
*
* Copyright 2005 Sun Microsystems, 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 la... | 55.236607 | 100 | 0.680029 |
767674c158d8be3a45495ec8c5097fec55d132ab | 11,307 | /*
* This software is distributed under following license based on modified BSD
* style license.
* ----------------------------------------------------------------------
*
* Copyright 2003 The Nimbus Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*... | 37.69 | 269 | 0.541788 |
eeab3f22cf16b4a22f1091f8aa9382785a22fc24 | 3,924 | package com.example.macromanager.constraintdialoguefragment;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.CheckBox;
import androidx.annotation.NonNull;
import androidx.annotation.Nullabl... | 32.97479 | 108 | 0.595056 |
b4c07b6333ec878e920a8f2ed375d815b55d847b | 43,379 | /*******************************************************************************
* Copyright (c) 2008 SAP AG.
* 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, and is available at
* ... | 32.348248 | 121 | 0.495885 |
11d9cb032a099b561c262c442d7391f57f3031d7 | 243 | package com.v7lin.android.env.widget;
import android.graphics.drawable.Drawable;
/**
*
*
* @author v7lin Email:v7lin@qq.com
*/
public interface XAbsSeekBarCall extends XProgressBarCall {
public void scheduleThumb(Drawable thumb);
}
| 17.357143 | 59 | 0.753086 |
f85fa1b26d1789d0c1fc3237e90c64f5daaa6bab | 3,044 | package me.melijn.jda.commands.music;
import me.melijn.jda.Helpers;
import me.melijn.jda.blub.Category;
import me.melijn.jda.blub.Command;
import me.melijn.jda.blub.CommandEvent;
import me.melijn.jda.blub.Need;
import me.melijn.jda.music.MusicManager;
import me.melijn.jda.music.MusicPlayer;
import me.melijn.jda.utils.... | 46.121212 | 140 | 0.503285 |
dcf8a22bdcb041deb34f919406108ab1fe121bb9 | 5,654 | /*
* RED5 Open Source Media Server - https://github.com/Red5/ Copyright 2006-2016 by respective authors (see below). 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://ww... | 28.700508 | 178 | 0.542978 |
44fa918cfe7cef742ada39b3c9c73f1ef294baca | 1,447 | package no.ks.eslite.esjc;
import com.github.msemys.esjc.CatchUpSubscription;
import com.github.msemys.esjc.CatchUpSubscriptionListener;
import com.github.msemys.esjc.CatchUpSubscriptionSettings;
import com.github.msemys.esjc.EventStore;
import org.junit.jupiter.api.Test;
import java.util.UUID;
import java.util.concu... | 40.194444 | 154 | 0.76434 |
383092b39cb1d74dcdf1b7e25b8a57a96a272374 | 7,205 | /**
* pwlf: Piecewise Linearization of Arbitrary First Order Loss Functions
*
* MIT License
*
* Copyright (c) 2020 Roberto Rossi
*
* 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... | 39.80663 | 162 | 0.764885 |
75e1355c42067df50b8fcb657f32ce65b8f91752 | 449 | package com.homies.app.web.rest.errors.Task;
import com.homies.app.web.rest.errors.BadRequestAlertException;
import com.homies.app.web.rest.errors.ErrorConstants;
public class TaskWasNotSpecifyIdTask extends BadRequestAlertException {
private static final long serialVersionUID = 1L;
public TaskWasNotSpecify... | 32.071429 | 109 | 0.783964 |
d109e56d0a35cf3916f423942f179b8aeb5486e5 | 789 | package net.ugolok.providers;
import java.util.Iterator;
import net.ugolok.dto.BarrierState;
import net.ugolok.generation.providers.api.AbstractRandomProvider;
import net.ugolok.generation.providers.api.Provider;
public class BarrierStateProvider extends AbstractRandomProvider<BarrierState> implements Provider<Barri... | 26.3 | 114 | 0.647655 |
87935b40139477cc08829bc3875900a3c0531b42 | 162 | package Exceptions;
public class InvalidGameMovement extends Exception {
public InvalidGameMovement(String message) {
super(message);
}
}
| 20.25 | 53 | 0.697531 |
7fb70ad4a3ed051ccc10cb004297555b47ec7bfb | 1,514 | package restx.description;
import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.Lists;
import java.util.List;
/**
* User: xavierhanin
* Date: 2/7/13
* Time: 10:53 AM
*/
public class ResourceDescription {
public String path;
public String stdP... | 31.541667 | 85 | 0.679657 |
f074f65c1dd950c4ab7f1ca15419478e57d25faf | 813 | package com.udb.dsm.helpets;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import com.google.firebase.auth.FirebaseAuth;
import java.util.Timer;
import java.util.TimerTask;
public class SplashScreen extends AppCompatActivity {
@Override
protected ... | 26.225806 | 83 | 0.653137 |
9057cecf869d5f05e7dfc932bb508c5148a33380 | 5,898 | /*
* Fabric3
* Copyright (c) 2009-2015 Metaform Systems
*
* 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... | 37.807692 | 156 | 0.610207 |
9050adde2a73352948deffa697c40907b3d3217c | 1,217 | package org.edx.mobile.core;
import com.google.gson.FieldNamingPolicy;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.jakewharton.retrofit.Ok3Client;
import org.edx.mobile.discussion.RetroHttpExceptionHandler;
import org.... | 28.97619 | 84 | 0.695974 |
31d4dccf5d3e6ba708c9600a6f81293dfd3a58aa | 27,753 | /*
* 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
* distribut... | 44.122417 | 161 | 0.632076 |
c028342994f035ac760f7c679b59be5cdd30c909 | 4,633 | package org.batfish.minesweeper.question;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.service.AutoService;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.batfish.common.Answerer;
import org.batfish.common.plugin.IBatfish;
import org.batfish.commo... | 28.776398 | 82 | 0.67343 |
5f6286583d4ac9b8a06e19e845ed362619481eb7 | 444 | package com.binlee.design.command;
import com.binlee.util.Logger;
/**
* @author binli sleticalboy@gmail.com
* created by IDEA 2020/11/16
*/
public final class AudioPlayer {
private final Logger logger = Logger.get(AudioPlayer.class);
public void play() {
logger.i("play() ...");
}
public ... | 17.76 | 64 | 0.59009 |
b1f454d67f8f26fe775121d6104c4d4939510f40 | 29,760 | package vv3ird.populatecard.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.ev... | 37.959184 | 153 | 0.697009 |
d885c891e5f66f4dc0eeb47e31544444d85e7c76 | 133 | package com.book.vero.c3_6_boundservice2;
/**
* Created by vero on 2016/3/11.
*/
interface IService{
MyService getService();
} | 16.625 | 41 | 0.706767 |
a8092e5a4b904b94bb022c83791ebca56d6b14b8 | 3,618 | package main;
import javax.swing.*;
import java.awt.*;
/**
* Contains post-game info about one car and how has it placed in the race.
*/
public class ScorePanel extends JPanel {
/**
* Displays how has the player placed in the race.
*/
private JLabel place;
/**
* Displays the name of the ... | 35.821782 | 111 | 0.641791 |
b3dd5e6182cdbd6df5af121cba721babae0faf1e | 552 | package shell;
import ibm.wjx.osserver.shell.ShellCommandResult;
import ibm.wjx.osserver.shell.oc.AdminLoginCommand;
import org.junit.Assert;
import org.junit.Test;
/**
* Create Date: 12/20/17
* Author: <a href="mailto:wu812730157@gmail.com">Wujunxian</a>
* Description:
*/
public class AdminLoginCommandTest {
... | 27.6 | 79 | 0.711957 |
7205754cb957a83f4b3787c710eac5621d12d06b | 41,069 | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 39.413628 | 102 | 0.68794 |
6d689288aa4c063f1839f73f97fdc5eb9470692d | 1,580 | /*
* 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 cafe.tool;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextFiel... | 32.244898 | 144 | 0.696835 |
1c386202632fb3504faa4546eeaa88ba6168f0dc | 3,488 | package gov.usds.case_issues.controllers;
import java.util.Optional;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.access.prepost.PreAuthoriz... | 44.717949 | 141 | 0.830275 |
1f8330a56a96dec230fc25d693d6c629399b70e7 | 2,780 | /**
* Copyright 2012 52°North Initiative for Geospatial Open Source Software GmbH
*
* 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... | 25.740741 | 103 | 0.656475 |
a19dd4bbb22eeee4ac8be850c4e0facae24d7514 | 63 | package com.gm.chatie.common;
public interface Constents {
}
| 10.5 | 29 | 0.761905 |
bef97424b1c961b2ed97d42dd0cc389531ae305c | 1,005 | package fr.takebook.library.infrastructure.in.transport.wrapper;
import fr.takebook.library.domain.model.Library;
import fr.takebook.library.infrastructure.in.transport.object.LibraryDTO;
import fr.takebook.library.infrastructure.out.persistence.entity.LibraryEntity;
import org.springframework.stereotype.Component;
i... | 29.558824 | 79 | 0.695522 |
868fed48c73e7314d358bb1e207fd7845dfd0e47 | 919 | package com.zhixiao.wanandroid.app;
import java.io.File;
/**
* @ClassName: Constants
* @Description:
* @Author: zhixiao
* @CreateDate: 2019/9/4
*/
public class Constants {
/**
* 数据库名
*/
public static final String DATABASE_NAME = "zhixiao_wanandroid.db";
/**
* 数据缓存文件夹路径
*/
publ... | 22.414634 | 103 | 0.624592 |
12243734160f25040849c35222890ce947653b08 | 1,805 | package spreadsheet.mapper.w2o.process;
import spreadsheet.mapper.model.core.Sheet;
import spreadsheet.mapper.model.core.Workbook;
import spreadsheet.mapper.model.meta.SheetMeta;
import spreadsheet.mapper.model.meta.WorkbookMeta;
import java.util.ArrayList;
import java.util.List;
/**
* Created by hanwen on 2017/1/4... | 32.818182 | 157 | 0.73241 |
8163b93b53fd6693011e3b77eb24a7922703386c | 823 | package com.acme.example.archunit.lang.archrule.area;
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.methods;
import com.tngtech.archunit.core.importer.ImportOption;
import com.tngtech.archunit.junit.AnalyzeClasses;
import com.tngtech.archunit.junit.ArchTest;
import com.tngtech.archunit.lang.ArchRu... | 35.782609 | 101 | 0.811665 |
aa1e4e80d32324d2ef172b7ba271cf2d01d4bceb | 9,319 | package s3fx;
import com.amazonaws.services.s3.model.Bucket;
import com.amazonaws.services.s3.model.S3ObjectSummary;
import javafx.beans.binding.Bindings;
import javafx.beans.binding.BooleanBinding;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.concurrent.Service;
imp... | 38.192623 | 100 | 0.645992 |
0b3718573c3b33d5d14f5ef1b1eb6af143846fdf | 1,391 | package com.github.ros.roxanne_sa.platform.rosbridge;
import com.fasterxml.jackson.databind.JsonNode;
import it.cnr.istc.pst.platinum.control.acting.GoalOrientedActingAgent;
import it.cnr.istc.pst.platinum.control.lang.AgentTaskDescription;
import it.cnr.istc.pst.platinum.control.lang.ex.PlatformCommunicationExceptio... | 23.183333 | 103 | 0.734723 |
3c4deb525bfcbf3dc892e8f3ab1f58337b700cf9 | 1,256 | package org.societies.comm.xmpp.xc.impl;
import java.util.AbstractMap.SimpleEntry;
import java.util.ArrayList;
import java.util.List;
import org.dom4j.Element;
import org.societies.api.comm.xmpp.datatypes.XMPPInfo;
import org.societies.api.comm.xmpp.datatypes.XMPPNode;
public class ParsingUtils {
public static Si... | 29.904762 | 84 | 0.70621 |
807daef88d42f430b762cdc2147f003d2e503af0 | 19,484 | /*
* 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 ... | 37.32567 | 99 | 0.626976 |
31c815cc6163e89bb4f3b2969cf8a0a2a9aa3bc1 | 7,548 | package org.librairy.service.nlp.service;
import com.google.common.base.CharMatcher;
import com.google.common.base.Strings;
import com.google.common.io.Files;
import eus.ixa.ixa.pipe.pos.Annotate;
import eus.ixa.ixa.pipe.pos.CLI;
import ixa.kaflib.KAFDocument;
import ixa.kaflib.Term;
import ixa.kaflib.WF;
import org.a... | 39.108808 | 174 | 0.612083 |
b0bee48ee92449dadefdeb5e6e12b3029c4885ab | 283 | package com.example.backend.services.interfaces.openapi;
import java.util.concurrent.ExecutionException;
public interface OpenApiConnectable extends JsonDataAccessible {
int INTERVAL = 1_000;
void updateByOpenApiData() throws ExecutionException, InterruptedException;
}
| 23.583333 | 79 | 0.819788 |
6c9eaa758b2a9c4033d458f6a3156b53154f3a12 | 23,347 | package com.bullhornsdk.data.model.entity.customfields;
import java.math.BigDecimal;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Common custom fields for Placement and PlacementChangeRequest:
*
* custom... | 26.897465 | 91 | 0.723305 |
1e0420e5f0e9906d0c798de92b1d6460cd38e518 | 3,634 | package datawave.query.tables;
import com.google.common.hash.BloomFilter;
import com.google.common.hash.Funnel;
import com.google.common.hash.PrimitiveSink;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map.Entry;
import org.apache.accumulo.core.data.ArrayByteSequen... | 30.79661 | 126 | 0.577876 |
10ffe6cbf89a4803795ae16f38f70cd8d8429085 | 2,461 | package io.graversen.minecraft.rcon.commands.title;
import io.graversen.minecraft.rcon.commands.base.ICommandBuilder;
import io.graversen.minecraft.rcon.commands.base.ITargetingCommandBuilder;
import io.graversen.minecraft.rcon.util.Colors;
import io.graversen.minecraft.rcon.util.Selectors;
import io.graversen.minecra... | 28.287356 | 122 | 0.679399 |
853fde4097935b57fb8c78e135913e3f7aaa4da6 | 1,079 | import java.util.*;
public class JavaGregorianCalendarDemo {
public static void main(String args[]) {
String months[] = {
"Jan", "Feb", "Mar", "Apr",
"May", "Jun", "Jul", "Aug",
"Sep", "Oct", "Nov", "Dec"
};
int year;
// 初始化 Gregorian日历
/... | 32.69697 | 64 | 0.55051 |
c331e6cc0054087214f5698906fdf3ee1f4dda16 | 3,365 | /*
* Copyright (c) 2017 Michael Krotscheck
*
* 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... | 19.450867 | 78 | 0.567608 |
08b0fe9404624ffc0500eba964743841567cf7e8 | 18,583 | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.yahoo.document.datatypes.FieldValue;
import com.yahoo.document.ser... | 35.062264 | 144 | 0.606791 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.