repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
gurbuzali/hazelcast-jet | hazelcast-jet-sql/src/test/java/com/hazelcast/jet/sql/impl/connector/file/MetadataResolversTest.java | 4211 | /*
* Copyright (c) 2008-2020, Hazelcast, Inc. 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 ... | apache-2.0 |
nbudzyn/federkiel | src/main/java/de/nb/federkiel/feature/StringFeatureType.java | 744 | package de.nb.federkiel.feature;
import com.google.common.collect.ImmutableSet;
import de.nb.federkiel.interfaces.IFeatureType;
import de.nb.federkiel.interfaces.IFeatureValue;
/**
* A feature type for string feature values.
*
* @author nbudzyn
*/
public class StringFeatureType implements IFeatureTyp... | apache-2.0 |
sunleepy/webx_activiti | src/main/java/com/alibaba/webx/activiti/app1/module/screen/simple/SayHiImage.java | 2147 | /*
* Copyright (c) 2002-2012 Alibaba Group Holding Limited.
* 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
*... | apache-2.0 |
proliming/commons | commons-concurrent/src/main/java/com/proliming/commons/concurrent/TaskExecutor.java | 1435 | /*
* Copyright (c) the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
dump247/aws-sdk-java | aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/transform/BranchInfoJsonUnmarshaller.java | 2986 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
mchaston/OakFunds | src/org/chaston/oakfunds/ledger/ui/AccountTransactionCreateServlet.java | 4057 | /*
* Copyright 2014 Miles Chaston
*
* 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... | apache-2.0 |
lvweiwolf/poi-3.16 | src/testcases/org/apache/poi/poifs/crypt/AllEncryptionTests.java | 1303 | /* ====================================================================
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 Y... | apache-2.0 |
xiaobaiAndroid/jianxin | app/src/main/java/com/bzf/jianxin/service/ContactStateDisposeManager.java | 3713 | package com.bzf.jianxin.service;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Context;
import android.support.v7.app.NotificationCompat;
import com.bzf.jianxin.R;
import com.bzf.jianxin.commonutils.HuanXinTool;
import com.hyphenate.exceptions.HyphenateException;
/**... | apache-2.0 |
JavaSaBr/jME3-SpaceShift-Editor | src/main/java/com/ss/editor/model/undo/impl/ChangeControlsOperation.java | 2358 | package com.ss.editor.model.undo.impl;
import com.jme3.scene.Node;
import com.jme3.scene.control.Control;
import com.ss.editor.annotation.FxThread;
import com.ss.editor.annotation.JmeThread;
import com.ss.editor.model.undo.editor.ModelChangeConsumer;
import com.ss.rlib.common.util.array.Array;
import org.jetbrains.ann... | apache-2.0 |
ox-it/cucm-http-api | src/main/java/com/cisco/axl/api/_8/RH323Phone.java | 40888 |
package com.cisco.axl.api._8;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.b... | apache-2.0 |
amedia/meteo | meteo-jaxb/src/main/java/no/api/meteo/jaxb/nowcast/v0_9/Pressure.java | 3107 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.02.... | apache-2.0 |
square/keywhiz | server/src/test/java/keywhiz/service/resources/SecretsDeliveryResourceTest.java | 3604 | /*
* Copyright (C) 2015 Square, 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 agre... | apache-2.0 |
tsdl2013/COCOFramework | framework/src/main/java/com/cocosw/framework/core/BaseFragment.java | 13815 | package com.cocosw.framework.core;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcelable;
import android.support.v4.app.Fragment;
import android.support.v4.content.Loader;
impo... | apache-2.0 |
jinkg/UAFClient | fidoclient/src/androidTest/java/com/yalin/fidoclient/ApplicationTest.java | 3000 | /*
* Copyright 2016 YaLin Jin
*
* 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 ... | apache-2.0 |
alexhilton/miscellaneous | java/Exercises/src/exercises/threads/threadexception/NativeExceptionHandling.java | 478 | /**
*
*/
package exercises.threads.threadexception;
import java.util.concurrent.*;
/**
* @author gongzhihui
*
*/
public class NativeExceptionHandling {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
ExecutorService exec = Execu... | apache-2.0 |
cahergil/MusicApp | app/src/test/java/com/radio/chernandez/musicapp/ExampleUnitTest.java | 407 | package com.radio.chernandez.musicapp;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
publ... | apache-2.0 |
sequenceiq/cloudbreak | integration-test/src/main/java/com/sequenceiq/it/ssh/EverythingOkCommand.java | 1505 | package com.sequenceiq.it.ssh;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.commons.io.IOUtils;
import org.apache.sshd.server.Command;
import org.apache.sshd.server.Environment;
import org.apache.sshd.server.ExitCallback;
import org.slf4j.Logger;
import org.sl... | apache-2.0 |
T5750/maven-archetype-templates | SpringBoot/springboot-elasticsearch/src/main/java/com/evangel/service/CityService.java | 457 | package com.evangel.service;
import java.util.List;
import com.evangel.domain.City;
public interface CityService {
/**
* 新增城市信息
*
* @param city
* @return
*/
Long saveCity(City city);
/**
* 根据关键词,function score query 权重分分页查询
*
* @param pageNumber
* @param pageSize
* @param searchContent
* @r... | apache-2.0 |
baart92/jgrades | jg-backend/implementation/base/jg-lic/implementation/src/main/java/org/jgrades/lic/entities/ProductEntity.java | 2556 | package org.jgrades.lic.entities;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.hibernate.annotations.Type;
import org.joda.time.DateTime;
import javax.persistence.*;
@Entity
@Table(n... | apache-2.0 |
googleapis/java-docfx-doclet | third_party/docfx-doclet-143274/src/main/java/com/microsoft/model/Return.java | 800 | package com.microsoft.model;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Return {
@JsonProperty("type")
private final String returnType;
@JsonProperty("description")
private String returnDescription;
public Return(String returnType, String returnDescription) {
... | apache-2.0 |
nathanross/GWTriFold | SampleApp/src/com/website/sample/client/GreetingServiceAsync.java | 309 | package com.website.sample.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The async counterpart of <code>GreetingService</code>.
*/
public interface GreetingServiceAsync {
void greetServer(String input, AsyncCallback<String> callback)
throws IllegalArgumentException;
}
| apache-2.0 |
jaadds/product-apim | modules/integration/tests-common/clients/publisher/src/gen/java/org/wso2/am/integration/clients/publisher/api/v1/dto/LifecycleStateAvailableTransitionsDTO.java | 3280 | /*
* WSO2 API Manager - Publisher API
* This specifies a **RESTful API** for WSO2 **API Manager** - Publisher. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/resources/publisher-api.yaml) of the API... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/DuplicateTagKeysException.java | 1231 | /*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
ogrebgr/forge-android-skeleton-basic | app/src/main/java/com/bolyartech/forge/skeleton/dagger/basic/units/login/LoginTaskImpl.java | 7305 | package com.bolyartech.forge.skeleton.dagger.basic.units.login;
import android.support.annotation.NonNull;
import com.bolyartech.forge.base.exchange.HttpExchange;
import com.bolyartech.forge.base.exchange.ResultProducer;
import com.bolyartech.forge.base.exchange.builders.ForgePostHttpExchangeBuilder;
import com.bolya... | apache-2.0 |
iemejia/incubator-beam | sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/SchemaTranslation.java | 18841 | /*
* 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 ... | apache-2.0 |
btc-ag/redg | redg-generator/src/main/java/com/btc/redg/generator/extractor/datatypeprovider/xml/TableTypeMapping.java | 1676 | /*
* Copyright 2017 BTC Business Technology AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | apache-2.0 |
stevem999/gocd | config/config-server/src/test/java/com/thoughtworks/go/config/serialization/JobPropertiesTest.java | 6349 | /*
* Copyright 2016 ThoughtWorks, 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... | apache-2.0 |
opetrovski/development | oscm-app-vmware/javasrc/org/oscm/app/vmware/business/VMwareDatacenterInventory.java | 8052 | /*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
*
* Creation Date: 2016-05-24
*
*******************************************************************************/
package org.oscm.app.vmware.business;
import java.util.ArrayList;
import java.uti... | apache-2.0 |
enjoy0924/hibernate-sample | src/main/java/com/allere/hibernate/utils/JacksonJsonUtil.java | 3046 | package com.allere.hibernate.utils;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Json转换工具
*
* Created by G_dragon on 2015/7/24.
*/
public class JacksonJsonUtil {
private static ObjectMapper mapper;
/**
* 获取ObjectMapper实例
... | apache-2.0 |
chris6k/mk | src/com/jk/makemoney/services/TaskService.java | 1956 | package com.jk.makemoney.services;
import android.util.Log;
import com.jk.makemoney.utils.Constants;
import com.jk.makemoney.utils.MkHttp;
import com.jk.makemoney.utils.UserProfile;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
imp... | apache-2.0 |
dhakehurst/net.akehurst.application.framework.examples | net.akehurst.app.helloWorld/application/desktop.console/src/main/java/helloWorld/application/desktop/console/HelloWorldConsoleApplication.java | 2193 | /**
* Copyright (C) 2016 Dr. David H. Akehurst (http://dr.david.h.akehurst.net)
*
* 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/LICENS... | apache-2.0 |
gpelaez/beacons-plugin | src/android/LocationManagerService.java | 3134 | package me.gpelaez.cordova.plugins.ibeacon;
import java.util.HashSet;
import java.util.Set;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.location.... | apache-2.0 |
Deepaksoftvision/GPC_POC | src/main/java/controllers/TestHelper.java | 8723 | /**
*
*/
package controllers;
import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.datatransfer.StringSelection;
import java.awt.event.KeyEvent;
import java.awt.image.BufferedImage;
import java.io.File;
import java.net.URL;
import java.util.ArrayList;
import javax.imageio.Imag... | apache-2.0 |
aws/aws-lambda-java-libs | aws-lambda-java-runtime-interface-client/src/main/java/com/amazonaws/services/lambda/runtime/api/client/XRayErrorCause.java | 3587 | /* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
package com.amazonaws.services.lambda.runtime.api.client;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* helper class for serializing an... | apache-2.0 |
dunyuling/javabase | src/main/java/com/lhg/test/gtan/begin/junit/Junit_01.java | 1250 | package com.lhg.test.gtan.begin.junit;
import java.util.*;
public class Junit_01 {
public static void main(String args[]) {
Junit_01 junit_01 = new Junit_01();
List<Data> dataList = junit_01.init();
junit_01.sort(dataList);
}
public List<Data> init() {
List<Data> dataList = new ArrayList<Data>();
... | apache-2.0 |
freeVM/freeVM | enhanced/buildtest/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/rmi/basicregistry/Client.java | 1767 | /*
* 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... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-documentai/v1beta3/1.31.0/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta3UndeployProcessorVersionMetadata.java | 2630 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | apache-2.0 |
toobs/Toobs | trunk/PresFramework/src/main/java/org/toobsframework/pres/layout/manager/ComponentLayoutManager.java | 14169 | /*
* This file is licensed to the Toobs Framework Group under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Toobs Framework Group licenses this file to You under the Apache
* License, Version 2.0 (the... | apache-2.0 |
KleeGroup/vertigo-struts2 | src/main/java/io/vertigo/struts2/resources/Resources.java | 1050 | /**
* vertigo - simple java starter
*
* Copyright (C) 2013-2017, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com)
* KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... | apache-2.0 |
ItudeMobile/itude-mobile-web-mobbl | src/main/java/com/itude/mobile/web/annotations/PageQualifier.java | 1014 | /*
* (C) Copyright Itude Mobile B.V., The Netherlands
*
* Licimport javax.enterprise.util.AnnotationLiteral;
"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 appli... | apache-2.0 |
z-yuxie/yuxie-TGD | tgd-interface/src/main/java/com/yuxie/tgd/pojo/dto/SelectObjectList.java | 1916 | package com.yuxie.tgd.pojo.dto;
/**
* Created by 147356 on 2017/4/25.
*/
public class SelectObjectList {
//序列化ID
private static final long serialVersionUID = 1L;
//用户ID
private Long userId;
//父对象ID
private Long parentObjectId;
//父对象版本
private Integer parentObjectVersion;
//对象类型
... | apache-2.0 |
sloscal1/SearchParty | java/src/core/messages/SearcherCentricMessages.java | 88954 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/contract.proto
package core.messages;
public final class SearcherCentricMessages {
private SearcherCentricMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interf... | apache-2.0 |
ljcservice/autumnprogram | src/main/java/com/hitzd/WebPage/Impl/BasePageBean.java | 4977 | package com.hitzd.WebPage.Impl;
import java.util.LinkedHashMap;
import com.hitzd.DBUtils.TCommonRecord;
import com.hitzd.WebPage.PageView;
import com.hitzd.WebPage.QueryResult;
import com.hitzd.DBUtils.CommonMapper;
import com.hitzd.persistent.Persistent4DB;
/**
* 分页基类
* @author Administrator
*
*/... | apache-2.0 |
OpenNTF/org.openntf.domino | domino/core/src/main/java/org/openntf/domino/utils/CollectionUtils.java | 17050 | /**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | apache-2.0 |
rundeck/rundeck | rundeck-authz/rundeck-authz-yaml/src/main/java/com/dtolabs/rundeck/core/authorization/providers/BaseValidatorImpl.java | 2969 | package com.dtolabs.rundeck.core.authorization.providers;
import com.dtolabs.rundeck.core.authorization.Attribute;
import com.dtolabs.rundeck.core.authorization.AuthorizationUtil;
import com.dtolabs.rundeck.core.authorization.RuleSetValidation;
import com.dtolabs.rundeck.core.authorization.ValidationSet;
import java.... | apache-2.0 |
midnightasgames/stranded | Stranded/src/com/stranded/game/tiles/TileFactory.java | 718 | package com.stranded.game.tiles;
import com.stranded.components.ComponentFactory;
import com.stranded.components.ComponentType;
import com.stranded.components.graphics.GraphicsType;
import com.stranded.game.world.WorldLocation;
public class TileFactory {
private ComponentFactory m_ComponentFactory;
p... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/transform/AttachPolicyRequestProtocolMarshaller.java | 2667 | /*
* Copyright 2014-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://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
leapframework/framework | base/lang/src/test/java/leap/lang/http/client/HttpClientTest.java | 4662 | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 |
googleapis/java-compute | proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionDiskRequestOrBuilder.java | 6487 | /*
* Copyright 2020 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 ... | apache-2.0 |
griffon/griffon-pivot-plugin | src/main/griffon/pivot/support/adapters/ButtonAdapter.java | 4655 | /*
* Copyright 2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
quarkusio/quarkus | integration-tests/smallrye-context-propagation/src/test/java/io/quarkus/context/test/CustomProducersTest.java | 1229 | package io.quarkus.context.test;
import javax.inject.Inject;
import org.eclipse.microprofile.context.ManagedExecutor;
import org.eclipse.microprofile.context.ThreadContext;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import io.... | apache-2.0 |
geosolutions-it/jeo | core/src/main/java/org/jeo/JEO.java | 2003 | package org.jeo;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JEO {
public static L... | apache-2.0 |
yliu120/ErrorCorrection | src/edu/jhu/cs/cs439/project/evaluation/package-info.java | 297 | /**
* The evaluation of the count
* In this package, we will implement some tools to compare
* the exact count and the approximate count given by the
* count min sketch
* @author Yunlong Liu
* @author Yijie Li
* @version 1.0
* @since 1.0
*/
package edu.jhu.cs.cs439.project.evaluation; | apache-2.0 |
Greg3dot14D/PageObjectWithLocatorCorrector | src/main/java/ru/greg3d/factory/elements/ElementFactory.java | 205 | package ru.greg3d.factory.elements;
import org.openqa.selenium.WebElement;
public interface ElementFactory {
<E extends TypifiedElement> E create(Class<E> elementClass, WebElement wrappedElement);
}
| apache-2.0 |
dimir2/vivanov | part2/ch2/src/main/java/ru/job4j/multithreading/monitor/package-info.java | 169 | /**
* Package for ru.job4j.multithreading.monitor task.
*
* @author Vladimir Ivanov
* @version 0.1
* @since 28.11.2017
*/
package ru.job4j.multithreading.monitor; | apache-2.0 |
oehme/analysing-gradle-performance | my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p81/Production1621.java | 2129 | package org.gradle.test.performance.mediummonolithicjavaproject.p81;
import org.gradle.test.performance.mediummonolithicjavaproject.p80.Production1618;
import org.gradle.test.performance.mediummonolithicjavaproject.p80.Production1619;
public class Production1621 {
private Production1618 property0;
p... | apache-2.0 |
arnost-starosta/midpoint | model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/misc/TestCaseManagement.java | 3802 | /*
* Copyright (c) 2010-2017 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
lefou/asciidoctorj | asciidoctorj-core/src/main/java/org/asciidoctor/extension/JavaExtensionRegistry.java | 2846 | package org.asciidoctor.extension;
public interface JavaExtensionRegistry {
JavaExtensionRegistry docinfoProcessor(Class<? extends DocinfoProcessor> docInfoProcessor);
JavaExtensionRegistry docinfoProcessor(DocinfoProcessor docInfoProcessor);
JavaExtensionRegistry docinfoProcessor(String docInfoProcesso... | apache-2.0 |
akarnokd/Reactive4JavaFlow | src/main/java/hu/akarnokd/reactive4javaflow/impl/consumers/BlockingConsumerIgnore.java | 1898 | /*
* Copyright 2017 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 agreed to... | apache-2.0 |
dayutianfei/impala-Q | fe/generated-sources/gen-java/com/cloudera/impala/thrift/TReportExecStatusResult.java | 12391 | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.cloudera.impala.thrift;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
i... | apache-2.0 |
tianyaTTY/renren-security-master | renren-web/src/main/java/io/renren/controller/YlSpecialistController.java | 3310 | package io.renren.controller;
import io.renren.annotation.SysLog;
import io.renren.entity.YlDepartmentEntity;
import io.renren.entity.YlHospitalEntity;
import io.renren.entity.YlOrganizationEntity;
import io.renren.entity.YlSpecialistEntity;
import io.renren.service.YlDepartmentService;
import io.renren.service.YlHosp... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-documentai/v1beta3/1.30.1/com/google/api/services/documentai/v1beta3/model/GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue.java | 7120 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | apache-2.0 |
Microbule/microbule | timeout/src/test/java/org/microbule/timeout/decorator/DelayResourceImpl.java | 1521 | /*
* Copyright (c) 2017 The Microbule Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 |
m0wfo/osprey | src/main/java/com/logentries/osprey/Client.java | 2622 | package com.logentries.osprey;
import akka.actor.ActorRef;
import akka.actor.UntypedActor;
import akka.io.Tcp;
import akka.io.Tcp.*;
import akka.io.TcpMessage;
import akka.japi.Procedure;
import com.netflix.config.DynamicIntProperty;
import com.netflix.config.DynamicPropertyFactory;
import scala.Option;
import java.i... | apache-2.0 |
erichwang/presto | presto-parquet/src/main/java/io/prestosql/parquet/ParquetReaderOptions.java | 3385 | /*
* 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... | apache-2.0 |
jdillon/gshell | gshell-commands/gshell-file/src/main/java/com/planet57/gshell/commands/file/FileCommandActionSupport.java | 1282 | /*
* Copyright (c) 2009-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | apache-2.0 |
oehf/ipf | commons/ihe/xds/src/main/java/org/openehealth/ipf/commons/ihe/xds/core/stub/ebrs30/query/PersonQueryType.java | 5743 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
/... | apache-2.0 |
hrovira/addama-googlecode | local-svcs/script-execution-svc/src/main/java/org/systemsbiology/addama/services/execution/dao/impls/jdbc/ResetJobPreparedStatementSetter.java | 806 | package org.systemsbiology.addama.services.execution.dao.impls.jdbc;
import org.springframework.jdbc.core.PreparedStatementSetter;
import org.systemsbiology.addama.services.execution.jobs.JobStatus;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**
* @author hrovira
*/
public class ResetJobPrepa... | apache-2.0 |
Zhangshunyu/incubator-carbondata | integration/spark/src/main/java/org/apache/carbondata/integration/spark/merger/RowResultMerger.java | 13600 | /*
* 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 ... | apache-2.0 |
IHTSDO/snow-owl | snomed/com.b2international.snowowl.snomed.ecl/src-gen/com/b2international/snowowl/snomed/ecl/ecl/impl/DecimalValueNotEqualsImpl.java | 4534 | /**
* Copyright 2011-2017 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | apache-2.0 |
DavideD/hibernate-validator | engine/src/main/java/org/hibernate/validator/cfg/context/PropertyConstraintMappingContext.java | 976 | /*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.cfg.context;
/**
* Constraint mapping creational context representin... | apache-2.0 |
lettuce-io/lettuce-core | src/main/java/io/lettuce/core/api/reactive/RedisTransactionalReactiveCommands.java | 2122 | /*
* Copyright 2017-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
zjshen/hadoop-YARN-2928-POC | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/test/java/org/apache/hadoop/yarn/server/timelineservice/collector/TestNMTimelineCollectorManager.java | 5940 |
/**
* 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"); yo... | apache-2.0 |
tzou24/BPS | BPS/src/com/frameworkset/platform/sysmgrcore/web/tag/DiscreteUserList.java | 4287 | package com.frameworkset.platform.sysmgrcore.web.tag;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.Map;
import com.frameworkset.common.poolman.ConfigSQLExecutor;
import com.frameworkset.common.poolman.Record;
import com.frameworkset.common.poolman.handle.RowHandle... | apache-2.0 |
xinmei365/Emojier-Andriod | emojsdk/src/main/java/com/xinmei365/emojsdk/contoller/EMTranslateController.java | 8904 | package com.xinmei365.emojsdk.contoller;
import com.xinmei365.emojsdk.domain.Constant;
import com.xinmei365.emojsdk.domain.EMCharacterEntity;
import com.xinmei365.emojsdk.domain.EMTranslatEntity;
import com.xinmei365.emojsdk.notify.INotifyCallback;
import com.xinmei365.emojsdk.notify.NotifyEntity;
import com.xinmei365... | apache-2.0 |
dump247/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/transform/GetApplicationRequestMarshaller.java | 3201 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
Netflix/staash | staash-astyanax/src/main/java/com/netflix/paas/dao/astyanax/IndexerException.java | 1113 | /*******************************************************************************
* /***
* *
* * Copyright 2013 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... | apache-2.0 |
cbrown06/fslink | src/main/io/github/cbrown06/fslink/CreateLinkTask.java | 873 | package io.github.cbrown06.fslink;
import java.io.File;
/**
* {@code createlink} task for Apache Ant.
*
* @author <a href="http://cbrown06.github.io/fslink/">Christopher Brown</a>
* @since 1.0.0
*/
public final class CreateLinkTask extends FslinkTask
{
/**
* Used by Apache Ant to constructs a new instance o... | apache-2.0 |
rma350/kidneyExchange | kidneyMatching/src/statistics/StatUtil.java | 483 | package statistics;
import org.apache.commons.math3.stat.descriptive.SummaryStatistics;
public class StatUtil {
public static SummaryStatistics asStatistic(int[] values){
SummaryStatistics ans = new SummaryStatistics();
for(int val: values){
ans.addValue(val);
}
return ans;
}
public static SummarySta... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/transform/FrameCaptureSettingsJsonUnmarshaller.java | 3587 | /*
* Copyright 2014-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://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
danigiri/morfeu | src/test/java/cat/calidos/morfeu/webapp/injection/HttpFilterModuleTest.java | 7698 | package cat.calidos.morfeu.webapp.injection;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Mockito.*;
import static org.mockito.AdditionalAnswers.returnsFirstArg;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.function.BiFunction;
import j... | apache-2.0 |
talsma-ict/umldoclet | src/plantuml-asl/src/h/ST_dtlink_s.java | 3882 | /* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* Project Info: http://plantuml.com
*
* If you like this project or if you find it useful, you can support us at:
* ... | apache-2.0 |
GwtDomino/domino | domino-test/domino-client-test/src/main/java/org/dominokit/domino/test/api/client/ListenerHandler.java | 236 | package org.dominokit.domino.test.api.client;
import org.dominokit.domino.api.shared.extension.DominoEventListener;
@FunctionalInterface
public interface ListenerHandler<L extends DominoEventListener> {
void handle(L listener);
}
| apache-2.0 |
ua-eas/ua-rice-2.1.9 | impl/src/main/java/org/kuali/rice/krad/service/impl/DataDictionaryServiceImpl.java | 39080 | /**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | apache-2.0 |
lithiumtech/rdbi | rdbi-recipes/src/main/java/com/lithium/dbi/rdbi/recipes/scheduler/MultiChannelScheduler.java | 21071 | package com.lithium.dbi.rdbi.recipes.scheduler;
import com.google.common.primitives.Ints;
import com.lithium.dbi.rdbi.Handle;
import com.lithium.dbi.rdbi.RDBI;
import redis.clients.jedis.Tuple;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.function.Function;
import java.util... | apache-2.0 |
christophd/camel | components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpPojoInOutTest.java | 3035 | /*
* 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 ... | apache-2.0 |
tuenti/android-deferred | deferred/src/main/java/com/tuenti/deferred/Logger.java | 719 | /*
* Copyright (c) Tuenti Technologies S.L. 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... | apache-2.0 |
nafae/developer | modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201308/DeviceCapabilityTargeting.java | 8113 | /**
* DeviceCapabilityTargeting.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201308;
/**
* Represents device capabilities that are being targeted or excluded
* by the {@link LineItem}.
*/
public... | apache-2.0 |
psbateman/org-treewalk-scms | org-treewalk-scms-integration/org-treewalk-scms-integration-maven-central/src/test/java/org/treewalk/scms/integration/maven/central/MavenComponentTransformationTest.java | 104 | package org.treewalk.scms.integration.maven.central;
public class MavenComponentTransformationTest {
}
| apache-2.0 |
zhaoshiling1017/SSM-Platform | src/main/java/com/ducetech/app/model/Role.java | 1072 | package com.ducetech.app.model;
import com.ducetech.framework.model.BaseModel;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
@Data
public class Role extends BaseModel implements Serializable {
private static final long serialVersionUID = 1L;
private String roleId; //角色ID... | apache-2.0 |
leafcoin/leafcoinj-alice | core/src/main/java/com/google/leafcoin/protocols/channels/PaymentChannelServer.java | 20832 | package com.google.leafcoin.protocols.channels;
import com.google.leafcoin.core.*;
import com.google.leafcoin.protocols.channels.PaymentChannelCloseException.CloseReason;
import com.google.leafcoin.utils.Threading;
import com.google.protobuf.ByteString;
import net.jcip.annotations.GuardedBy;
import org.bitcoin.payment... | apache-2.0 |
Dennis-Koch/ambeth | jambeth/jambeth-merge/src/main/java/com/koch/ambeth/merge/IDeepScanRecursion.java | 2946 | package com.koch.ambeth.merge;
/**
* Allows to apply a generic algorithm of crawling through collections and arrays of entities and
* calling a provided delegate for each resolved entity instance. It is also ensured that a resolved
* entity is forwarded exactly once.
*/
public interface IDeepScanRecursion {
/**
... | apache-2.0 |
yeasy/lazyctrl | ccm/floodlight-lc/src/main/java/net/floodlightcontroller/core/types/PortIpPair.java | 1404 | /**
* Copyright 2011, Big Switch Networks, Inc.
* Originally created by David Erickson, Stanford University
*
* 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:/... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/InitiateAuthRequest.java | 42800 | /*
* Copyright 2014-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://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
lmjacksoniii/hazelcast | hazelcast/src/test/java/com/hazelcast/nio/tcp/TcpIpConnectionManager_ConnectionListenerTest.java | 2157 | package com.hazelcast.nio.tcp;
import com.hazelcast.nio.Connection;
import com.hazelcast.nio.ConnectionListener;
import com.hazelcast.test.AssertTask;
import com.hazelcast.test.HazelcastSerialClassRunner;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.Test;
import org.junit.experimental.categories.Ca... | apache-2.0 |
wangsongpeng/jdk-src | src/main/java/org/omg/IOP/TaggedProfile.java | 719 | package org.omg.IOP;
/**
* org/omg/IOP/TaggedProfile.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /HUDSON3/workspace/8-2-build-linux-amd64/jdk8u121/8372/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl
* Monday, December 12, 2016 4:37:46 PM PST
*/
public final class Tagg... | apache-2.0 |
sdliang1013/account-import | src/main/java/com/caul/modules/user/service/UserServiceImpl.java | 2744 | package com.caul.modules.user.service;
import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.exceptions.InvalidOperationException;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;
import cn.easybuild.pojo.DataSet;
import com.caul.modules.config.ApplicationConfig;
import com.caul.modules.user.... | apache-2.0 |
peridotperiod/isis | core/runtime/src/main/java/org/apache/isis/core/runtime/runner/opts/OptionHandlerNoSplash.java | 2269 | /*
* 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")... | apache-2.0 |
eturka/eturka | chapter_002/src/main/java/ru/job4j/chess/King.java | 823 | package ru.job4j.chess;
/**
* Class King.
*
* @author Ekaterina Turka (ekaterina2rka@gmail.com)
* @version 1
* @since 11.12.2017
*/
public class King extends Figure {
/**
* Create the figure on a board.
*
* @param position start position on a board
*/
public King(Cell position) {
... | apache-2.0 |
unluonur/bosphorus | bosphorus-core/src/main/java/org/bosphorus/core/expression/aggregate/executor/math/AvgFloatExecutor.java | 1593 | /**
* Copyright (c) Onur Ünlü
*
* 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 wri... | apache-2.0 |