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 |
|---|---|---|---|---|---|
e42e26f36a6ffc7c5141f165b2fc52c015fca865 | 2,216 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: language-agent/TraceSegmentService.proto
package org.apache.skywalking.apm.network.language.agent;
public interface TraceSegmentReferenceOrBuilder extends
// @@protoc_insertion_point(interface_extends:TraceSegmentReference)
com.google.prot... | 24.086957 | 104 | 0.671029 |
b0b2aa2ec3b9fbca6bc76eb45225823850db10b6 | 5,562 | /*
* Copyright 2016-present David Karnok
*
* 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.743316 | 113 | 0.545487 |
ce4581dfce4527fc9afcde8f31edfc8e84ad83dc | 2,159 | package sample;
import javafx.beans.property.SimpleStringProperty;
public class person {
private SimpleStringProperty userID;
private SimpleStringProperty firstName;
private SimpleStringProperty lastName;
private SimpleStringProperty userAddress;
private SimpleStringProperty phoneNumber;
... | 23.467391 | 122 | 0.660028 |
74fee17f8ccbe990f5ebea12c4a52b2ecce98f42 | 1,355 | /** Se define una sublcase llamada Estudiante, que hereda de Socio
*/
public class Estudiante extends Socio {
private String carrera;
public Estudiante (int pDNI, String pNombre, String pCarrera) {
super(pDNI, pNombre, 20);
this.setCarrera(pCarrera);
}
/** Establece el valor del parametro carre... | 23.77193 | 79 | 0.639852 |
b76d83c9f8ea77bed320f9126f0751b86a245559 | 495 | package com.Hsia.sharding.multi.service;
import com.Hsia.sharding.multi.model.User;
/**
* @Auther: yumazhe
* @Date: 2019/4/2 12:05
* @Description:
*/
public interface IUserService {
Integer query4batch(long id);
void save(User user, int num);
User query(long id, int num);
void update(long id,... | 18.333333 | 58 | 0.682828 |
62c193d8a53f06aefa45a83f7cbdf9f3b89635d4 | 7,996 | package com.kikt.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import java.util.ArrayList;
import java.util.List;
/**
* Created ... | 27.572414 | 84 | 0.585293 |
14217e51de061dcc060ea0784a450e51585c2032 | 2,155 | package playwell.message.domainid;
import com.google.common.collect.ImmutableMap;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import playwell.common.EasyMap;
import playwell.common.Result;
/**
* 基于内存的MessageDomainIDStrategyManager, 从配置文件初始化,并可以从内存动态添加/删除新的策略
*
* @author chihongz... | 30.785714 | 95 | 0.755916 |
42be36e6d3a39861928cfc0fc92a7129dba51b68 | 9,764 | /* */ package org.apache.commons.collections.collection;
/* */
/* */ import java.lang.reflect.Array;
/* */ import java.util.ArrayList;
/* */ import java.util.Arrays;
/* */ import java.util.Collection;
/* */ import java.util.Iterator;
/* */ import org.apache.commons.collections.iterators... | 24.168317 | 145 | 0.389082 |
399c99ad9483284d8a2dfb25672e3a286d78fc28 | 13,698 | package com.bitdubai.fermat_cbp_plugin.layer.user_level_business_transaction.customer_broker_purchase.developer.bitdubai.version_1.database;
import com.bitdubai.fermat_api.layer.all_definition.exceptions.InvalidParameterException;
import com.bitdubai.fermat_api.layer.osa_android.database_system.Database;
import com.bi... | 62.834862 | 243 | 0.798438 |
c98446b7ec889f82e12e4d6362cf5aa834ca93ff | 13,050 | /*
* Copyright (C) 2017-2018 Dremio Corporation
*
* 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 l... | 40.402477 | 146 | 0.765364 |
2925580db500fd96d40204a1914a66d8f40e1fa0 | 6,006 | package com.communote.plugins.api.rest.v30.resource.user.follow;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.core.Request;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo;
import com.communote.plugins.api.rest.v30.exception.ExtensionNotSupportedException;
import com.commun... | 40.857143 | 100 | 0.672494 |
8255097b80c5dfe1fe868b774dcb09ddf8f09b3f | 476 | /**
* @author HTI students, Spring 2013
*
*/
package org.thermostatapp.util;
public class InvalidInputValueException extends Exception {
public InvalidInputValueException() {
super();
}
public InvalidInputValueException(String msg) {
super(msg);
}
public InvalidInputValueExcep... | 19.833333 | 68 | 0.665966 |
9437cd889cd9bac0faa17ec6d7b31ded45aec63c | 2,508 | package org.orienteer.core.module;
import com.orientechnologies.orient.core.db.ODatabaseSession;
import com.orientechnologies.orient.core.record.impl.ODocument;
import org.orienteer.core.OrienteerWebApplication;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/*... | 25.08 | 107 | 0.773923 |
65f68a943e08422015517fed87502d247a2d9610 | 17,611 | /*
* Copyright (C) 2011 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... | 45.50646 | 99 | 0.722162 |
bcf81a7847ec7f32587bda576da8b8a68da7f266 | 6,161 | package cn.hutool.dfa;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.lang.Filter;
import cn.hutool.core.thread.ThreadUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* ... | 24.644 | 113 | 0.691771 |
0772a18e9e72a7bbd42bdb07be31bb5b663be64e | 2,758 | package ru.yandex;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.su... | 28.142857 | 115 | 0.643945 |
58ac26ed03f0a86da50d725dac527ddce672da26 | 79 | package org.rags.bookmyshow.service;
public class ScreenMovieSchedular {
}
| 11.285714 | 36 | 0.78481 |
c07b8e2a5bea9531978f98592373bb973c121c12 | 151 | package cms.rendner.hexviewer.view.ui.actions;
import javax.swing.*;
/**
* @author rendner
*/
public interface IHexViewerAction extends Action
{
}
| 13.727273 | 48 | 0.741722 |
655ccfae95bb5741facd2ca8f1feb5bc90840b5d | 676 | package org.frankframework.frankdoc.testtarget.examples.making.mandatory.reintroduces;
public class Parent implements IInterface {
/**
* This attribute is not mandatory here.
* @param value
*/
public void setMyAttribute(String value) {
}
/**
* @ff.mandatory
* @param value
*/
public void setMandatoryA... | 17.333333 | 86 | 0.692308 |
b4796423c099540ab89fe172a31162cf3027ec47 | 303 | package com.tvd12.ezydata.hazelcast.testing.service;
import com.tvd12.ezydata.hazelcast.annotation.EzyMapServiceAutoImpl;
import com.tvd12.ezydata.hazelcast.service.EzyHazelcastMapService;
@EzyMapServiceAutoImpl("monkey")
interface MonkeyMapService1 extends EzyHazelcastMapService<String, Monkey> {
}
| 33.666667 | 76 | 0.854785 |
2a7180e2e391443438467a08894f5cad8e85917a | 191 | package jav_king;
public class Ch4_007 {
public static void main(String[] args) {
int x=15;
int y=34;
System.out.println("15<34= "+(x>y));
}
}
| 17.363636 | 45 | 0.507853 |
60cf2eadc9fff2bc61acce3e4310074e3eaaa4d6 | 950 | package com.stormpath.spring.boot.samza;
import org.apache.samza.checkpoint.CheckpointManager;
import org.apache.samza.checkpoint.CheckpointManagerFactory;
import org.apache.samza.config.Config;
import org.apache.samza.metrics.MetricsRegistry;
import org.springframework.util.Assert;
public class ConfigTimeCheckpointM... | 35.185185 | 93 | 0.795789 |
bcb66b68331957a2932b4d5057acc70ea7d2b901 | 1,198 | package game.config;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import pers.jc.util.JCFileTool;
import java.io.File;
public class ConfigReader {
static JCFileTool fileTool = new JCFileTool();
publ... | 32.378378 | 103 | 0.704508 |
904c993676f089215ddfb0e8b35f2d387e749693 | 1,999 | package pl.zankowski.fixparser.messages;
import com.google.common.collect.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.zankowski.fixparser.messages.api.FixMessageTO;
import pl.zankowski.fixparser.messages.api.FixParserRequestTO;
import p... | 39.98 | 93 | 0.727864 |
3018344ad1503d720f964dcc763e4a294adcc147 | 3,368 | /*
* 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.346535 | 106 | 0.665083 |
6aef890fe559d65a1406e91fba002506e8bde819 | 2,397 | /*
* Copyright 2016 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | 22.401869 | 76 | 0.680017 |
7c7f960f605781335ca2e7a0e8d50d853cd75383 | 2,845 | package com.hanrui.android.criminallntent;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.TokenWatcher;
import android.s... | 33.869048 | 95 | 0.653076 |
f994a8936b4e1e719720f960561d7ceea9679c03 | 703 | public class Builder {
private String producent;
private String model;
private SamochodRok rok;
public Builder producent(String producent) {
this.producent = producent;
return this;
}
public Builder model(String model) {
this.model = model;
return this;
}
... | 19 | 59 | 0.593172 |
ca6f097325a92b7e0beed2680f204c91952e05b4 | 406 | package org.infinispan.search.mapper.mapping;
import org.hibernate.search.mapper.pojo.mapping.definition.programmatic.ProgrammaticMappingConfigurationContext;
public interface MappingConfigurationContext {
/**
* Start the definition of a programmatic mapping.
* @return A context to define the programmatic... | 29 | 112 | 0.800493 |
b51028380b1131a19de4d3cdfb4717d40b08d557 | 4,824 | /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of this s... | 46.384615 | 142 | 0.755597 |
ea58e35c403d279f4fbd3e5276dbc773ead2113c | 3,817 | package com.dharma.patterns.gof.behavioral.interpreter;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;
public class DemoBeforeInterpreter {
static boolean precedence(char a, char b) {
String high = "*/", low = "+-";
if (a == '(') {
return false;
}
... | 32.347458 | 89 | 0.430705 |
eda62116b2cbd1d687a1f82f0dab7e035135214e | 409 | package com.vikram.openidconnect.login.core;
import org.apache.http.HttpException;
import org.json.simple.JSONObject;
import com.vikram.openidconnect.login.core.providers.OAuthProvider;
public interface IIdentityFetcher {
TokenResponse getTokenResponse(String authCode,OAuthProvider provider);
JSONObject getPro... | 29.214286 | 104 | 0.845966 |
f85c8d70c26504cfe4a772ec02f583fe18116d3f | 4,197 | package cc.mallet.util;
import java.io.File;
import java.io.FileReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.logging.Logger;
import com.google.errorprone.annotations.Var;
import cc.mallet.pipe.NGramPreprocessor;
import cc.mallet.pipe.Pipe;
import cc.mall... | 35.871795 | 137 | 0.70193 |
c12ea5366d17a7d2a8fb9edc52f8114bfbda6119 | 253 | /**
* <h2>处理程序拓展.</h2>
* 该包下的工具均为 {@link fybug.nulll.pdfw.watch.SendLoop} 和 {@link fybug.nulll.pdfw.watch.DepthLoop} 的拓展
* 使用在链式回调的头插入过滤函数实现监控特定的路径
*
* @author fybug
* @version 0.0.1
* @since PDFileWatch 0.0.1
*/
package fybug.nulll.pdfw.loopex; | 25.3 | 98 | 0.695652 |
601ac30508160bce8edb1ef2607444606b353a70 | 5,116 | /*
* MIT License
*
* Copyright (c) 2018 Julien Pierret
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | 37.896296 | 89 | 0.603206 |
5971ea5142c473d7db74076a7ed14df9ad5b6474 | 3,167 | package de.dailab.apppets.plib.stuff.wrapper;
/**
* Created by arik on 12.07.2017.
*/
abstract class HexDecimals {
protected int[] content = null;
private int seperator = 0;
private boolean lowerCase = false;
public HexDecimals(byte[] data) {
content = new int[data.length];
... | 29.055046 | 78 | 0.460373 |
5eb12f03b90c9b69fa9c7376dfee58fbc141291e | 86 | package com.github.galimru.whatsappbot.server;
public interface ServerResponse {
}
| 12.285714 | 46 | 0.802326 |
a6bdc4ccfefaa471cef5052c0aa379edb1df7c7f | 5,685 | package de.stebruening.logical.blocks.logic_cable;
import de.stebruening.logical.items.LogicConfigurator;
import de.stebruening.logical.registry.RegisterBlocks;
import de.stebruening.logical.registry.RegisterItems;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Shap... | 34.664634 | 136 | 0.667722 |
3049c41a93ed8a83c1c924188f6c72a54b944a56 | 4,222 | package basic.crpto;
import app.common.IShowCase;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.net.ssl.*;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.se... | 38.733945 | 119 | 0.630744 |
d4282d7010da93a0cbf7b71bef6e549db9d9ec1c | 5,648 | package com.jn.agileway.eipchannel.eventchannel;
import com.jn.agileway.eipchannel.core.channel.PipedInboundChannel;
import com.jn.agileway.eipchannel.core.channel.PipedOutboundChannel;
import com.jn.agileway.eipchannel.core.channel.pipe.ChannelMessageInterceptorPipeline;
import com.jn.agileway.eipchannel.core.endpoin... | 36.43871 | 141 | 0.665014 |
f661442de09bd30f6f75f03112104d8489c7406f | 953 | package br.com.jornadacolaborativa.microsservicos.bff.mobile.rest;
import br.com.jornadacolaborativa.microsservicos.bff.mobile.dto.ExtratoDTO;
import br.com.jornadacolaborativa.microsservicos.bff.mobile.translator.ExtratoTranslator;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.... | 35.296296 | 89 | 0.813221 |
647a742a3a6473a516942509b634ec15348496da | 16,894 | package com.country.manager;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import a... | 40.708434 | 197 | 0.521309 |
5309dd046bd80a7bafb25c3515e58d221d3bc4e6 | 4,166 | package com.social.config;
import org.apache.catalina.filters.CorsFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.security.config.annotation.authentica... | 38.574074 | 133 | 0.774844 |
db8b261e53e72a67c91079f05bdb99b7347418c7 | 8,866 | package com.wanfuxiong.findfriends.activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.ConstraintLayout;
import android.content.Context;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.text.Editable;
... | 42.625 | 150 | 0.603316 |
d61bfd620c99cf8b9c1faab65367188ab91a6b6e | 7,905 | package org.springframework.faces.webflow;
import java.io.IOException;
import java.net.URL;
import java.net.URLClassLoader;
import javax.faces.FactoryFinder;
import javax.faces.application.Application;
import javax.faces.application.ApplicationFactory;
import javax.faces.component.UIViewRoot;
import javax.f... | 32.80083 | 131 | 0.75623 |
42019a9db845fe0ff685a1053aea71c7be47c366 | 106 |
package com.jfixby.scarabei.api.image;
public interface ArrayGrayMap extends EditableGrayMap {
}
| 15.142857 | 56 | 0.764151 |
8ee18d7f7d2729db72361822accc43ebda848165 | 1,767 | package com.sensorberg.sdk.internal.transport.interfaces;
import com.sensorberg.sdk.internal.interfaces.BeaconHistoryUploadIntervalListener;
import com.sensorberg.sdk.internal.interfaces.BeaconResponseHandler;
import com.sensorberg.sdk.model.persistence.ActionConversion;
import com.sensorberg.sdk.model.persistence.Bea... | 35.34 | 147 | 0.792869 |
a0f42bb6e2431ef42db9b59a326f1aeb542e00c3 | 999 | package top.atstudy.component.article.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import top.atstudy.component.article.service.IArticleInfoService;
import top.atstudy.component.article.vo.resp.ArticleResp;
import top.atstudy.component.bas... | 28.542857 | 83 | 0.723724 |
0e3ee0cb06d183ddbc487713c1ac6def9a9119c4 | 377 | package lo.poc.webflux.mockserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication(scanBasePackages = {"lo.poc.webflux"})
public class MockServerApplication {
public static void main(String[] args) {
SpringAppl... | 26.928571 | 68 | 0.787798 |
8efc108c72ee454f8697033748477aef31466dc6 | 16,673 |
package Controler;
import ApiFunction.ApiFun;
import DanhmucModel.DmCitylist;
import DanhmucModel.DmNhanvienList;
import DanhmucModel.DmQuanhuyenList;
import LocalModel.*;
import SystemFunc.FunctionFilter;
import SystemFunc.SessionBean;
import SystemFunc.SystemBean;
import javax.inject.Named;
import javax.enterpri... | 26.051563 | 121 | 0.608049 |
9823a7c6d0cea2978de1ea7a4db4717611d4141c | 1,566 | package pl.com.weblive.plugin.salesmanago;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.CloseableHttpClien... | 26.1 | 74 | 0.694125 |
73d67e80a4a2422afc775b3229fc6bbed81e3c81 | 1,404 | package edu.fjnu.util;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
import org.rosuda.REngine.Rserve.RserveException;
import edu.fjnu.service.Relat... | 26.490566 | 81 | 0.675926 |
62ed2d7ac00eaaa79eafd098ece3662c729df095 | 1,388 | package top.soyask.calendarii.entity;
import java.io.Serializable;
/**
* Created by mxf on 2017/8/16.
*/
public class Event implements Serializable {
private int id;
private String title;
private String detail;
private boolean isDelete;
private boolean isComplete;
private int type;
pub... | 17.794872 | 57 | 0.582133 |
4311678edc80718445171cdffe100a8e6b4a9d22 | 700 | package com.lineargs.watchnext.utils;
/**
* Helper class for providing Constants using in the Activities
*/
public final class Constants {
public static final String ID = "id";
public static final String NAME = "name";
public static final String TITLE = "title";
public static final String URI = "... | 23.333333 | 63 | 0.704286 |
b3cbef37925ec392c883a907d84dccf2fa0e26e8 | 8,435 | package org.ob.data.model.consents;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.neo4j.ogm.annotation.*;
import org.neo4j.ogm.id.UuidStrategy;
import org.ob.data.model.accounts.Account;
import org.ob.data.model.customers.Customer;
import org.... | 24.308357 | 85 | 0.578305 |
87d65c784ceb497218150a2f263d4ff243f1d643 | 220 | package com.iotaconcepts.aurum;
public class Product
{
String name;
int price;
int image;
boolean box;
Product(int _price, String name)
{
this.name= name;
price = _price;
}
} | 14.666667 | 36 | 0.590909 |
602dd99d67b4956e4e5d1c5447c560b092456bfd | 9,562 | /*
* Copyright (C) 2005-2007 Robey Pointer <robey@lag.net>
*
* This file is part of jaramiko.
*
* 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
* withou... | 33.433566 | 82 | 0.548525 |
ab9a387ae35cb25b54cf81a26ef0ae55f7452a52 | 126 | package org.quinto.dawg.util;
public interface ExtraMethodsMap<K, V> {
public boolean remove(Object key, Object value);
} | 25.2 | 52 | 0.753968 |
678c5c3e28330da71ea6f06fa58979669163a5a6 | 3,333 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty 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.or... | 31.443396 | 79 | 0.680468 |
9884488c3e96e42c12282b1f167fd81399a1054c | 2,428 | package works.weave.socks.shipping.loadtest;
import com.neotys.neoload.model.v3.project.variable.ConstantVariable;
import com.neotys.neoload.model.v3.project.variable.Variable;
import com.neotys.testing.framework.BaseNeoLoadDesign;
import java.io.FileNotFoundException;
import java.nio.file.Paths;
import java.util.Opt... | 50.583333 | 138 | 0.755766 |
dba6172d07bd5fb0a4ed1495368d5b85dfc436fa | 18,604 | /*
Copyright 2020 NEC Solution Innovators, 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 agreed to in writin... | 44.721154 | 131 | 0.500215 |
0f6226f1eaba71539b5ad87583f73d40c35840ee | 581 | import java.util.Arrays;
import java.util.function.IntConsumer;
public class HelloLambdasIntConsumer {
public static void main(String... args) {
System.out.println("Hello Lambdas IntConsumer!");
// Simplest
System.out.println("---");
IntConsumer dc = x -> System.out.println(x * x);
dc.accept(2);
// AndT... | 24.208333 | 62 | 0.650602 |
6c348c937582aecc5280559ecaf8f407408141e6 | 625 | package com.jetictors.futures.common.utils.rx;
/**
* 描述 : RxBus 使用粘性的消息
* author : Jetictors
* time : 2018/1/29 17:16
* version : v1.0.1
*/
public class EventSticky<T> {
public String code;
public T content;
public EventSticky(String code, T content) {
this.code = code;
this... | 17.361111 | 48 | 0.5728 |
2f1a0919bbcd20e10b49997da950c4da40712dfb | 1,069 | /**
* @author Sahan Rajakaruna
*/
package lk.sahan.notification.email.controller;
import lk.sahan.notification.email.model.request.SendMailRQ;
import lk.sahan.notification.email.model.response.MailRS;
import lk.sahan.notification.email.service.EmailService;
import lombok.AllArgsConstructor;
import org.springframewor... | 32.393939 | 113 | 0.745557 |
3f8cca171f7fa13bd523d90e535a72aaac20e6ae | 560 | package com.blacknebula.testcherry;
/**
* Exception to be thrown if the test framework is expected to be already configured and it isn't
*/
public class TestFrameworkNotConfigured extends Exception {
public TestFrameworkNotConfigured() {
}
public TestFrameworkNotConfigured(String message) {
... | 24.347826 | 98 | 0.682143 |
b6a04198d058b908192dbfbc038072284e439542 | 1,324 | /*
* Copyright 2016 The OpenDCT Authors. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 33.948718 | 99 | 0.706193 |
6fd575229bab0d481e04e9db94be2b30b0bba371 | 6,780 | /**
* 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 ... | 31.682243 | 146 | 0.680088 |
0421e0f7738e227ce2ec853aaf19e70873433480 | 290 | package com.chegg.project;
/**
* This interface represents fields of a user which we can use to represent partial data matching one or more Users.
* Use the EntityFields interface to get or set fields.
* @author alexrich729
*
*/
public interface UserFields extends EntityFields {
}
| 26.363636 | 116 | 0.755172 |
2a1bbfeecf8603c460333795079b2b66f07f57a2 | 8,795 | /*
Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
A copy of the License is located at
http://www.apache.org/licenses/LICENSE-2.0
or in the "license" file accompan... | 41.682464 | 185 | 0.694258 |
afe4427314e759c62d675d368e79e0b2e7efff37 | 1,789 | package br.odb.gamelib.android;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.MotionEvent;
import br.odb.utils.math.Vec2;
public class PointerScrollGameView extends GameView {
private Vec2 cameraScroll;
private Vec2 lastTouchPosition;
protect... | 22.3625 | 68 | 0.701509 |
2a870a52bb79e5375af0c295a954566832369bb1 | 420 | package com.tcg.manage.service;
import com.github.pagehelper.PageInfo;
import com.tcg.manage.pojo.Item;
import com.tcg.manage.pojo.ItemDesc;
public interface ItemService {
void saveItem(Item item, String desc);
Item selectItem(Item item);
PageInfo<Item> queryPageListAndSort(Integer page, Integer r... | 21 | 66 | 0.747619 |
6a9a1613cc0109b82422730e7732f1da1ef34991 | 1,547 | package com.wanglinkeji.wanglin.model;
import java.util.List;
/**
* Created by Administrator on 2016/9/30.
* 添加好友列表,Item信息Model
*/
public class NewFriendInfoModel {
public static final int INFO_STATUS_NOT_READ = 0;
public static final int INFO_STATUS_HAS_READ = 1;
public static List<NewFriendInfoMo... | 19.833333 | 62 | 0.669683 |
4245047f67508379c0888cf9434cec5b653a5092 | 1,559 | package ai.jgp.books.spark.ch99.covid19.lab210_build_pure_data;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SparkSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ai.jgp.books.spark.ch99.x.utils.DataframeUtils;
/**
* Cleans a dataset and t... | 23.984615 | 76 | 0.652341 |
f70e488d43bca77e31cf1c7ba056f622f83a25e3 | 3,982 | package com.perforce.common.journal;
import java.util.Date;
import com.perforce.common.depot.DepotConvert;
import com.perforce.common.schema.JournalNote;
import com.perforce.common.schema.JournalRecord;
import com.perforce.common.schema.JournalNote.NoteType;
import com.perforce.common.schema.JournalNote.RunMode;
impo... | 36.53211 | 71 | 0.675791 |
7726cba0ec5a12f7633f6c2abe5a36a20fb66758 | 7,251 | /*
* Copyright (c) 2016 Couchbase, 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... | 36.255 | 97 | 0.673562 |
096480b57190b29592b26e5e616fbbe6641973fc | 2,272 | /*
* Copyright: Copyright (c)2011
* Company: 易宝支付(YeePay)
*/
package com.yeepay.yop.isv.event.gateway.config;
import com.yeepay.yop.isv.event.sdk.cert.ConfigFileCertLocator;
import com.yeepay.yop.isv.event.sdk.handler.YopEventHandler;
import com.yeepay.yop.isv.event.sdk.handler.YopEventHandlerFactory;
import com.y... | 30.702703 | 97 | 0.74956 |
2283fd988edea1480983803976fb35835e44921d | 2,697 | /*
* Copyright 2002-2015 Drew Noakes
*
* 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 applicab... | 32.107143 | 78 | 0.601409 |
52289e15a1c810570de99dd93d79d0d27fed84c5 | 569 | // Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.nokia.as.thirdparty.prometheus.jmxexporter;
import com.alcatel_lucent.as.management.annotation.config.FileDataProperty;
public interface Configuration {
@FileDataProperty(title="JMX Expo... | 31.611111 | 148 | 0.782074 |
71c6956d200837480fe525354cf7d3198972ac5b | 4,443 | /*
* Copyright © 2017 Cask Data, 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 t... | 31.964029 | 151 | 0.655638 |
46ad240ac458e740728f9e6334735cc381f3c8ba | 1,870 | package eu.qualimaster.manifestUtils.data;
/**
* Represents the type of a Field used by an Item.
* @author pastuschek
*
*/
public enum FieldType {
INTEGER, STRING, STRINGLIST, LABELLEDTWEET, STRING_TIMESTAMP, TIMESTAMP,
BOOLEAN, REAL, DOUBLE, LONG, OBJECT, RISK, IFEVENTLIST, UNKNOWN;
/**
* ... | 27.5 | 98 | 0.562567 |
e7dfeebc9415eb299d57beed40fb3689b91e2394 | 1,625 | /*
* Copyright (C) 2015 Apptik Project
* Copyright (C) 2014 Kalin Maldzhanski
* Copyright (C) 2011 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
*
*... | 33.163265 | 101 | 0.700923 |
d13899c3a00308bd900b4926bc58514270aaae67 | 1,447 | package weatherpony.pml_minecraft;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import weatherpony.pml.implementorapi.IProgramInformation;
public abstract class MinecraftProgramInformation implements IProgramInformation<MCSide> {
public static final int MinecraftPMLAPIVersion = 2;
... | 36.175 | 184 | 0.787146 |
412901d90822505b0149963871cdbc66476e02f3 | 1,688 | package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class CarscopProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
CarscopProtocolDecoder decoder = new CarscopProtocolDecoder(null);
verifyNull(decoder, text(... | 35.914894 | 113 | 0.697275 |
a59a34f53401d3644e32bfdd5fef2bf1d7a80d77 | 1,034 | package com.interview.codingblocks.week6recursion;
import java.util.Scanner;
public class PowerFunction {
//Recursive formula is : Power(a, b) = a * power(a, b - 1)
//Complexity : O(B)
private static int power( int a, int b ) {
if (b == 1)
return a;
int power = a * power(a, b... | 22.478261 | 62 | 0.500967 |
12f376754e0c62a4c47a95ee86364c42f435c688 | 114 | package com.example.hjl.tldfxhapp.lx1.beanforlx1;
/**
* Created by hjl on 2018/6/22.
*/
public class Book {
}
| 12.666667 | 49 | 0.684211 |
dbb2d245e94a7898726d8caf6f6c6384b117b35a | 1,838 | /**
* Copyright 5AM Solutions Inc, ESAC, ScenPro & SAIC
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caintegrator/LICENSE.txt for details.
*/
package gov.nih.nci.caintegrator.web.ajax;
import gov.nih.nci.caintegrator.application.analysis.heatmap.HeatmapParameters;
im... | 37.510204 | 118 | 0.680631 |
0acce44ca981006b1a6ff412cb4815cfa77b242f | 452 | package com.amazon.alexa.sdk.interfaces.errors;
import com.amazon.alexa.sdk.data.Directive;
import com.amazon.alexa.sdk.interfaces.AvsItem;
/**
* Created by will on 6/26/2016.
*/
public class AvsResponseException extends AvsItem {
Directive directive;
public AvsResponseException(Directive directive) {
... | 21.52381 | 54 | 0.70354 |
349c460a76f5996142d613e7cb4bfd8ae49a1650 | 26,634 | package org.campagnelab.antlr.parsers;
/*Generated by MPS */
import org.antlr.ANTLRv4ParserBaseVisitor;
import org.apache.log4j.Logger;
import org.apache.log4j.LogManager;
import org.jetbrains.mps.openapi.model.SNode;
import java.util.List;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.ANTLRv4Parser;
imp... | 59.717489 | 391 | 0.770444 |
dc3d62795cff62d8a44edac6701e8c17fc63ae77 | 143 | //renaming I.m to k
package p;
interface I {
void k();
}
interface I2 {
void k();
}
interface I3 extends I, I2 {
void k();
}
| 7.944444 | 28 | 0.545455 |
0ff08d9b60961d510632cfdcf7fa2643bded6d85 | 6,365 | /*
* Copyright (C) 2017 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... | 38.575758 | 121 | 0.706991 |
0cb7936606ee5c4482a881700e49e980eba8973c | 3,861 | package org.opencds.cqf.cql.evaluator.fhir.adapter.r4;
import java.util.List;
import java.util.stream.Collectors;
import org.hl7.fhir.r4.model.Parameters;
import org.hl7.fhir.r4.model.Resource;
import org.hl7.fhir.r4.model.Type;
import org.hl7.fhir.r4.model.Parameters.ParametersParameterComponent;
import org.hl7.fhir... | 32.720339 | 153 | 0.729863 |
c3b728421b361fd7072ee964fb5681d04a4a02d8 | 978 |
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Date;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class FirstServlet
*/
public class F... | 26.432432 | 114 | 0.739264 |
59214784510089f8cd872fc41743a728e6c7e82b | 753 | package edu.iit.sat.itmd4515.gsambasivan.domain;
import edu.iit.sat.itmd4515.gsambasivan.domain.Product;
import javax.annotation.Generated;
import javax.persistence.metamodel.ListAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@Generated(value="Ecli... | 41.833333 | 79 | 0.823373 |
fb707690e3a15650f097050079fa9d91201f71f8 | 1,324 | package xworker.io.netty.handlers.crypto;
import java.util.List;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.Messa... | 28.170213 | 100 | 0.700906 |
3e54bb13634fdcdb3db9dbedf06ce4588843eea3 | 285 | package com.sika.code.batch.test.animal;
import com.sika.code.standard.base.pojo.dto.BaseStandardDTO;
import lombok.Data;
/**
* @author daiqi
* @create 2019-09-12 23:09
*/
@Data
public class AnimalDTO extends BaseStandardDTO {
private String name;
private String color;
}
| 19 | 60 | 0.736842 |
25a34e032fb01c502cd51f8ab9ae035d26fc4c4f | 3,709 | /*
* EDF Extended Depth of Field
* http://bigwww.epfl.ch/demo/edf/
*
* Organization: Biomedical Imaging Group (BIG)
* Ecole Polytechnique Federale de Lausanne (EPFL), Lausanne, Switzerland
* Authors: Daniel Sage, Alex Prudencio, Jesse Berent, Niels Quack, Brigitte Forster
*
* Reference: B. Forster, D. ... | 35.32381 | 96 | 0.690483 |
67e9d2cc890b0a952590a6ee5da0e5b3c873ec93 | 5,380 | package com.adobe.aem.communities.extensions;
import java.text.SimpleDateFormat;
import java.util.Map;
import javax.jcr.RepositoryException;
import com.adobe.cq.social.commons.comments.listing.CommentSocialComponentList;
import com.adobe.cq.social.forum.client.api.AbstractPost;
import com.adobe.cq.social.journal.clie... | 40.451128 | 141 | 0.67119 |
bd8941db8020dd65723d8a54eb208358e0690652 | 2,144 | package com.github.tungan5055.yourmoney.Adapter;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.GridView;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.Toast;
import com.githu... | 28.972973 | 114 | 0.637593 |
3969355c9f7fc75abe7c5ae01d7d5689cccd5f1d | 8,513 | /*
* 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 co.edu.uniandes.csw.partyServices.ejb;
import co.edu.uniandes.csw.partyServices.entities.ProductoEntity;
import co.edu.uniande... | 36.380342 | 132 | 0.664278 |
1bcdf618392e2f6207130049b684183b569d58fc | 1,645 | package nosi.webapps.sistema_de_avaliacao_igrpweb.pages.gestao_de_formacoes;
import nosi.core.gui.components.IGRPTable;
import nosi.core.webapp.Model;
import nosi.core.webapp.RParam;
import nosi.core.webapp.databse.helpers.BaseQueryInterface;
import java.util.ArrayList;
import java.util.List;
public class Ge... | 23.5 | 77 | 0.718541 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.