code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*
* Copyright © 2014 - 2021 Leipzig University (Database Research Group)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | galpha/gradoop | gradoop-data-integration/src/main/java/org/gradoop/dataintegration/transformation/functions/CreateCartesianNeighborhoodEdges.java | Java | apache-2.0 | 3,274 |
/* Copyright (c) 2015 Magnet Systems, 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 ... | magnetsystems/message-server | server/plugins/mmxmgmt/src/main/java/com/magnet/mmx/server/plugin/mmxmgmt/api/push/IOSSpecific.java | Java | apache-2.0 | 1,175 |
/*
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* 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 require... | hpehl/hal.next | app/src/main/java/org/jboss/hal/client/configuration/subsystem/elytron/ElytronSubsystemView.java | Java | apache-2.0 | 1,555 |
package sjm.examples.pretty;
import java.util.Enumeration;
import java.util.Vector;
import sjm.parse.Assembler;
import sjm.parse.Assembly;
/*
* Copyright (c) 2000 Steven J. Metsker. All Rights Reserved.
*
* Steve Metsker makes no representations or warranties about
* the fitness of this software for... | nileshpatelksy/hello-pod-cast | archive/FILE/Compiler/bpwj-java-phrase/code/sjm/examples/pretty/PrettyRepetitionAssembler.java | Java | apache-2.0 | 1,439 |
package com.optimalorange.cooltechnologies.network;
import com.android.volley.AuthFailureError;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.android.volley.Response;
import com.android.volley.toolbox.HttpHeaderParser;
import org.json.JSONException;
import org.json.JSONOb... | OptimalOrange/CoolTechnologies | app/src/main/java/com/optimalorange/cooltechnologies/network/CreateFavoriteRequest.java | Java | apache-2.0 | 4,271 |
/**
* Copyright (c) 2015 Source Auditor 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... | goneall/SpdxEclipsePlugin | src/org/spdx/spdxeclipse/properties/SpdxProjectPropertyPage.java | Java | apache-2.0 | 10,114 |
package com.game.part.util;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
/**
* 类字段实用工具
*
* @author hjj2017
* @since 2015/3/17
*
*/
public final class FieldUtil {
/**
* 类默认构造器
*
*/
private Fi... | hjj2017/xgame-part-tmpl | src/main/java/com/game/part/util/FieldUtil.java | Java | apache-2.0 | 1,574 |
// This file was generated by Mendix Business Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package system.proxies;
import com.mendix.core.Core;
import com.mendix.core.CoreException;
import com.mendix.systemwideinterfaces.core.IContext;
import com.mendix.systemwideinte... | mendix/MobileSlider | test/javasource/system/proxies/User.java | Java | apache-2.0 | 14,439 |
// Copyright 2011-2016 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | mayl8822/binnavi | src/main/java/com/google/security/zynamics/zylib/gui/JHint/JHintDialog.java | Java | apache-2.0 | 1,442 |
/*
* 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 ... | iveselovskiy/ignite | modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryAdapter.java | Java | apache-2.0 | 13,460 |
/*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Backend with Google Cloud Messaging" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/GcmEndpoints
*/
package com.shiftconnects.backend.push.sa... | shiftconnects/android-push-manager | sample-push-server/src/main/java/com/shiftconnects/backend/push/sample/MessagingEndpoint.java | Java | apache-2.0 | 3,729 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.twilio;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInsensiti... | adessaigne/camel | components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/IncomingPhoneNumberMobileEndpointConfigurationConfigurer.java | Java | apache-2.0 | 2,965 |
package org.hyperledger.indy.sdk.pool;
import org.hyperledger.indy.sdk.IndyIntegrationTest;
import org.hyperledger.indy.sdk.utils.PoolUtils;
import org.junit.Test;
import java.io.File;
import static org.hamcrest.CoreMatchers.isA;
import static org.junit.Assert.assertTrue;
public class CreatePoolTest extends IndyInt... | srottem/indy-sdk | wrappers/java/src/test/java/org/hyperledger/indy/sdk/pool/CreatePoolTest.java | Java | apache-2.0 | 2,146 |
/*
* Copyright 2008-2010 Digital Enterprise Research Institute (DERI)
*
* 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
*
* Unle... | venukb/any23 | any23-core/src/main/java/org/deri/any23/extractor/html/HReviewExtractor.java | Java | apache-2.0 | 5,979 |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | neeph/OpenGTSFull | src/org/opengts/db/CommandPingDispatcher.java | Java | apache-2.0 | 2,659 |
/*
* Copyright 2012-2021 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... | vpavic/spring-boot | spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BinderTests.java | Java | apache-2.0 | 16,024 |
/* 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... | filiphr/camunda-bpmn-model | src/main/java/org/camunda/bpm/model/bpmn/instance/Event.java | Java | apache-2.0 | 903 |
package org.mhshams.domain;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
/**
* The car model.
*/
@EqualsAndHashCode(of = {"id", "model"})
@ToS... | kareez/ideal-car | src/main/java/org/mhshams/domain/Model.java | Java | apache-2.0 | 684 |
/*
* (c) Copyright 2015 Hewlett Packard Enterprise Development LP Licensed under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o... | ThreatCentral/elderberry | src/main/java/com/hpe/elderberry/Taxii11Template.java | Java | apache-2.0 | 13,445 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | mehdi149/OF_COMPILER_0.1 | gen-src/main/java/org/projectfloodlight/openflow/protocol/ver14/OFBsnGenericCommandVer14.java | Java | apache-2.0 | 13,664 |
/* 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... | lsmall/flowable-engine | modules/flowable-bpmn-converter/src/test/java/org/flowable/editor/language/xml/SubProcessConverterTest.java | Java | apache-2.0 | 4,520 |
package ru.ydn.wicket.wicketorientdb;
import java.util.function.Supplier;
import org.apache.wicket.Application;
import org.apache.wicket.ConverterLocator;
import org.apache.wicket.IApplicationListener;
import org.apache.wicket.IConverterLocator;
import org.apache.wicket.authroles.authentication.AuthenticatedWebApplic... | OrienteerBAP/wicket-orientdb | wicket-orientdb/src/main/java/ru/ydn/wicket/wicketorientdb/OrientDbWebApplication.java | Java | apache-2.0 | 6,526 |
/*
* Copyright 2012 Erlend Hamnaberg
*
* 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... | collection-json/collection-json.java | src/main/java/net/hamnaberg/json/Value.java | Java | apache-2.0 | 972 |
/*
* Copyright 2012-2020 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... | royclarkson/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/elasticsearch/rest/RestClientBuilderCustomizer.java | Java | apache-2.0 | 1,314 |
/*
* 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/uima-uimaj | uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/GUI.java | Java | apache-2.0 | 12,369 |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | EvilMcJerkface/crate | server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/Decision.java | Java | apache-2.0 | 11,710 |
package org.nmdp.hmlfhirconverter.config;
/**
* Created by Andrew S. Brown, Ph.D., <abrown3@nmdp.org>, on 1/20/17.
* <p>
* service-hmlFhirConverter
* Copyright (c) 2012-2017 National Marrow Donor Program (NMDP)
* <p>
* This library is free software; you can redistribute it and/or modify it
* under the terms of ... | nmdp-bioinformatics/service-hmlFhirConverter | src/main/java/org/nmdp/hmlfhirconverter/config/SwaggerConfig.java | Java | apache-2.0 | 2,377 |
package eu.seaclouds.monitor.monitoringdamgenerator.adpparsing;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.yaml.snakeyaml.Yaml;
import eu.seaclouds.monitor.monitoringdamgenerator.DeploymentType... | rosogon/SeaCloudsPlatform | monitor/monitoring-dam-generator-core/src/main/java/eu/seaclouds/monitor/monitoringdamgenerator/adpparsing/YAMLMonitorParser.java | Java | apache-2.0 | 14,015 |
/**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.index.type;
import static com.opengamma.strata.basics.date.DateSequences.QUARTERLY_IMM;
import static com.opengamma.strata.basics.index.IborIndi... | jmptrader/Strata | modules/product/src/test/java/com/opengamma/strata/product/index/type/RelativeIborFutureTemplateTest.java | Java | apache-2.0 | 3,758 |
package org.fastcatsearch.ir.dictionary;
public interface ReloadableDictionary {
public void reload(Object object) throws IllegalArgumentException;
}
| fastcat-co/fastcatsearch | server/src/main/java/org/fastcatsearch/ir/dictionary/ReloadableDictionary.java | Java | apache-2.0 | 152 |
package com.structurizr.encryption;
class MockEncryptionStrategy extends EncryptionStrategy {
@Override
public String encrypt(String plaintext) throws Exception {
return new StringBuilder(plaintext).reverse().toString();
}
@Override
public String decrypt(String ciphertext) throws Exceptio... | structurizr/java | structurizr-client/test/unit/com/structurizr/encryption/MockEncryptionStrategy.java | Java | apache-2.0 | 400 |
/*
* 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/jackrabbit-oak | oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongodProcess.java | Java | apache-2.0 | 4,322 |
/**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | mgillian/WebproxyPortlet | src/test/java/org/jasig/portlet/proxy/service/web/MultiRequestHttpClientServiceImplTest.java | Java | apache-2.0 | 3,763 |
package org.anddev.andengine.extension.physics.box2d;
import org.anddev.andengine.engine.handler.*;
import org.anddev.andengine.extension.physics.box2d.util.constants.*;
import com.badlogic.gdx.physics.box2d.*;
import org.anddev.andengine.entity.shape.*;
import org.anddev.andengine.util.*;
import com.badlogic.gdx.math... | rLadia/AttacknidPatch | decompiled_src/Procyon/org/anddev/andengine/extension/physics/box2d/PhysicsConnector.java | Java | apache-2.0 | 3,998 |
/**
* Copyright 2005-2007 Xue Yong Zhi
* Distributed under the Apache License
*/
package com.xruby.runtime.lang;
import java.util.WeakHashMap;
import com.xruby.runtime.builtin.ObjectFactory;
import com.xruby.runtime.builtin.RubyFixnum;
import com.xruby.runtime.lang.annotation.RubyLevelMethod;
import c... | rzel/xruby | src/com/xruby/runtime/lang/ObjectSpace.java | Java | apache-2.0 | 1,775 |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | deeplearning4j/deeplearning4j | datavec/datavec-api/src/main/java/org/datavec/api/transform/ops/AggregatorImpls.java | Java | apache-2.0 | 21,724 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | jk1/intellij-community | platform/projectModel-api/src/com/intellij/openapi/project/ProjectManagerListener.java | Java | apache-2.0 | 1,527 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | biospi/seamass-windeps | src/hdf5-1.10.0-patch1/java/src/hdf/hdf5lib/callbacks/H5D_iterate_t.java | Java | apache-2.0 | 1,308 |
package io.dropwizard.util;
/**
* @since 2.0
*
* @deprecated consider using Apache commons-lang3 ExceptionUtils instead
*/
@Deprecated
public final class Throwables {
private Throwables() {
}
/**
* Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
* co... | dropwizard/dropwizard | dropwizard-util/src/main/java/io/dropwizard/util/Throwables.java | Java | apache-2.0 | 1,439 |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | djechelon/spring-security | config/src/test/java/org/springframework/security/config/annotation/web/configurers/NamespaceHttpOpenIDLoginTests.java | Java | apache-2.0 | 13,109 |
package org.ovirt.engine.ui.uicommonweb.models.storage;
import org.ovirt.engine.core.common.businessentities.storage_pool;
import org.ovirt.engine.ui.uicommonweb.Linq;
import org.ovirt.engine.ui.uicommonweb.models.Model;
@SuppressWarnings("unused")
public abstract class StorageModelBehavior
{
private StorageModel... | Dhandapani/gluster-ovirt | frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModelBehavior.java | Java | apache-2.0 | 1,799 |
/*
* Copyright 2002-2004 The Apache Software Foundation.
*
* 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/axis1-java | axis-rt-core/src/test/java/test/message/TestSOAPFault.java | Java | apache-2.0 | 3,083 |
package org.zstack.query;
import org.apache.commons.lang.StringUtils;
import org.objenesis.Objenesis;
import org.objenesis.ObjenesisStd;
import org.objenesis.instantiator.ObjectInstantiator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transact... | newbiet/zstack | search/src/main/java/org/zstack/query/MysqlQueryBuilderImpl3.java | Java | apache-2.0 | 71,601 |
package org.apache.helix.filestore;
/*
* 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,... | kishoreg/helix-actors | recipes/rsync-replicated-file-system/src/main/java/org/apache/helix/filestore/ChangeLogGenerator.java | Java | apache-2.0 | 3,792 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
/**
* {@link io.permazen.kv.KVDatabase} implementation based on CockroachDB.
*
* <p>
* This uses the PostgreSQL JDBC driver to connect to CockroachDB.
*
* @see io.permazen.kv.cockroach.CockroachKVDatabase
* @see <a href="https://www.cockroachla... | permazen/permazen | permazen-kv-cockroach/src/main/java/io/permazen/kv/cockroach/package-info.java | Java | apache-2.0 | 383 |
/*
* Copyright 2014-present Open Networking Laboratory
*
* 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 appli... | Phaneendra-Huawei/demo | providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/FlowStatsCollector.java | Java | apache-2.0 | 3,364 |
package com.devilwwj.app.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName: AdapterBase
* @Description: 通用Adapter
* @author wwj_748
* @date 2015年6月17日 下午4:03:39... | fanatic-mobile-developer-for-android/A-week-to-develop-android-app-plan | AndroidQuickStartProject/app/src/main/java/com/devilwwj/app/adapters/AdapterBase.java | Java | apache-2.0 | 2,319 |
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" ... | boundlessgeo/sqlite-jdbc | src/main/java/org/sqlite/Function.java | Java | apache-2.0 | 9,143 |
/*
* Copyright 2014 JBoss, by Red Hat, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | porcelli-forks/jbpm-form-modeler | jbpm-form-modeler-panels/jbpm-form-modeler-editor/jbpm-form-modeler-editor-backend/src/main/java/org/jbpm/formModeler/panels/modeler/backend/indexing/model/terms/valueterms/ValueDataHolderTypeIndexTerm.java | Java | apache-2.0 | 1,438 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | diorcety/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonListeners.java | Java | apache-2.0 | 28,298 |
/*
* $Header: /var/chroot/cvs/cvs/factsheetDesigner/extern/jakarta-slide-server-src-2.1-iPlus Edit/src/webdav/server/org/apache/slide/webdav/util/resourcekind/BaselineImpl.java,v 1.2 2006-01-22 22:55:21 peter-cvs Exp $
* $Revision: 1.2 $
* $Date: 2006-01-22 22:55:21 $
*
* ==========================================... | integrated/jakarta-slide-server | src/webdav/server/org/apache/slide/webdav/util/resourcekind/BaselineImpl.java | Java | apache-2.0 | 2,727 |
/**
* 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... | andrewmains12/hbase | hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java | Java | apache-2.0 | 22,499 |
/*******************************************************************************
* Copyright (C) 2015 Google 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.... | tyagihas/DataflowJavaSDK | sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/WindmillSink.java | Java | apache-2.0 | 7,465 |
//========================================================================
//Copyright 2007-2008 David Yu dyuproject@gmail.com
//------------------------------------------------------------------------
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance... | thr0w/dyuproject | modules/web/src/main/java/com/dyuproject/web/CookieSession.java | Java | apache-2.0 | 3,324 |
/**
* 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... | DomenicPuzio/incubator-metron | metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/GrokParser.java | Java | apache-2.0 | 8,151 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | mehdi149/OF_COMPILER_0.1 | gen-src/main/java/org/projectfloodlight/openflow/protocol/bsntlv/OFBsnTlvUdpDst.java | Java | apache-2.0 | 1,817 |
/**
* 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... | massakam/pulsar | pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/stats/SinkStatsManager.java | Java | apache-2.0 | 14,279 |
package org.apereo.cas.consent;
import org.apereo.cas.CipherExecutor;
import org.apereo.cas.services.RegisteredServiceTestUtils;
import org.apereo.cas.util.CollectionUtils;
import lombok.val;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* This is {@link InMemoryConsentRepositoryTests}.
*
* @autho... | tduehr/cas | support/cas-server-support-consent-core/src/test/java/org/apereo/cas/consent/InMemoryConsentRepositoryTests.java | Java | apache-2.0 | 1,104 |
/*
* 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 ... | yanzhijun/jclouds-aliyun | providers/glesys/src/main/java/org/jclouds/glesys/options/ListIpOptions.java | Java | apache-2.0 | 3,032 |
/*
* 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 ... | yanzhijun/jclouds-aliyun | apis/cloudstack/src/test/java/org/jclouds/cloudstack/parse/ListLoadBalancerRulesResponseTest.java | Java | apache-2.0 | 2,269 |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | barnyard/pi | freepastry/src/org/mpisws/p2p/transport/priority/PriorityTransportLayer.java | Java | apache-2.0 | 4,987 |
/*
* 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
* applicable law or agr... | drinkjava2/jSQLBox | core/src/main/java/com/github/drinkjava2/jdialects/annotation/jpa/Index.java | Java | apache-2.0 | 1,916 |
/*
* 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 ... | gurbuzali/hazelcast-jet | examples/protobuf/src/main/java/com/hazelcast/jet/examples/protobuf/ProtobufSerializerHookAdapter.java | Java | apache-2.0 | 2,296 |
/*
* 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... | azureplus/flex-blazeds | modules/remoting/src/flex/management/runtime/messaging/services/remoting/RemotingDestinationControl.java | Java | apache-2.0 | 4,987 |
/*
* 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 ma... | apache/axis2-java | modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java | Java | apache-2.0 | 30,419 |
/*
* Licensed to STRATIO (C) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. The STRATIO (C) licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file... | ccaballe/crossdata | crossdata-driver/src/test/java/com/stratio/crossdata/driver/querybuilder/QueryBuilderJavaTest.java | Java | apache-2.0 | 4,171 |
package com.evanzeimet.queryinfo.jpa.result;
/*
* #%L
* queryinfo-jpa
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2015 Evan Zeimet
* %%
* 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
... | podnov/queryinfo | jpa/src/main/java/com/evanzeimet/queryinfo/jpa/result/QueryInfoResultConverter.java | Java | apache-2.0 | 981 |
/*
* 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 ... | SharplEr/ignite | modules/core/src/test/java/org/apache/ignite/testsuites/IgniteKernalSelfTestSuite.java | Java | apache-2.0 | 10,164 |
package it.pkg;
/**
* <p>
* FieldVerifier validates that the name the user enters is valid.
* </p>
* <p>
* This class is in the <code>shared</code> project because we use it in both
* the client code and on the server. On the client, we verify that the name is
* valid before sending an RPC request so the user d... | tbroyer/gwt-maven-archetypes | modular-webapp/src/test/resources/projects/basic-webapp/reference/basic-webapp-shared/src/main/java/it/pkg/FieldVerifier.java | Java | apache-2.0 | 1,492 |
/*
* 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/tomcat | java/org/apache/catalina/core/StandardThreadExecutor.java | Java | apache-2.0 | 8,970 |
// ----------------------------------------------------------------------------
// Copyright 2007-2013, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not... | vimukthi-git/OpenGTS_2.4.9 | src/org/opengts/war/report/ReportException.java | Java | apache-2.0 | 1,492 |
/*
* 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/incubator-shardingsphere | shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-core/src/main/java/org/apache/shardingsphere/dbdiscovery/constant/DatabaseDiscoveryOrder.java | Java | apache-2.0 | 1,286 |
/**
* 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... | alibaba/jstorm | jstorm-core/src/main/java/storm/trident/topology/ITridentBatchBolt.java | Java | apache-2.0 | 1,362 |
package com.taobao.tddl.executor.function.scalar.datatime;
import java.util.Calendar;
import com.taobao.tddl.executor.common.ExecutionContext;
import com.taobao.tddl.executor.function.ScalarFunction;
import com.taobao.tddl.executor.utils.ExecUtils;
import com.taobao.tddl.optimizer.core.datatype.DataType;
/*... | xloye/tddl5 | tddl-executor/src/main/java/com/taobao/tddl/executor/function/scalar/datatime/Timestamp.java | Java | apache-2.0 | 2,012 |
/***
Copyright (c) 2016 CommonsWare, 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 http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writing, so... | janzoner/cw-omnibus | Introspection/SAWMonitorTile/app/src/main/java/com/commonsware/android/sawmonitor/MainActivity.java | Java | apache-2.0 | 1,338 |
/*
* 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 ... | riftsaw/riftsaw-ode | bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/DefaultResourceFinder.java | Java | apache-2.0 | 5,182 |
/*
* 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 ... | jenkinsci/commons-fileupload | src/test/java/org/apache/commons/fileupload/MultipartStreamTest.java | Java | apache-2.0 | 2,849 |
package com.intellij.codeInsight.completion.methodChains.completion.lookup;
import com.intellij.codeInsight.completion.methodChains.search.ChainRelevance;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.codeInsight.lookup.LookupElementDecorator;
import com.intellij.codeInsight.lookup.LookupEl... | IllusionRom-deprecated/android_platform_tools_idea | java/java-impl/src/com/intellij/codeInsight/completion/methodChains/completion/lookup/WeightableChainLookupElement.java | Java | apache-2.0 | 816 |
package io.leopard.data4j.memdb.rsync;
import io.leopard.data4j.memdb.MemdbRsyncQueue;
import io.leopard.data4j.memdb.QueueBean;
import io.leopard.data4j.memdb.QueueListener;
import io.leopard.data4j.memdb.SerializeImpl;
import org.junit.Test;
import org.mockito.Mockito;
public class QueueListenerTest {
MemdbRsyncQ... | tanhaichao/leopard-data | leopard-memdb/src/test/java/io/leopard/data4j/memdb/rsync/QueueListenerTest.java | Java | apache-2.0 | 1,179 |
/**
* 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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed to in writing, software distributed ... | ground-context/ground | modules/common/app/edu/berkeley/ground/common/dao/core/NodeDao.java | Java | apache-2.0 | 1,238 |
/*
* Copyright 1999-2006 University of Chicago
*
* 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... | dCache/jglobus-1.8 | src/org/globus/ftp/dc/GridFTPDataChannel.java | Java | apache-2.0 | 1,499 |
/**
* Copyright 2016 StreamSets Inc.
*
* Licensed under 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 Lice... | studanshu/datacollector | container/src/test/java/com/streamsets/datacollector/el/TestMathEL.java | Java | apache-2.0 | 4,301 |
/*
* Copyright 2016 LinkedIn Corp. 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 applicab... | linkedin/ambry | ambry-store/src/main/java/com/github/ambry/store/DiskManager.java | Java | apache-2.0 | 23,944 |
package net.cloudkit.experiment.infrastructure.support.messaging;
/**
* Waiter
*/
public class Waiter {
}
| icloudkit/example | net.cloudkit.enterprises/src/main/java/net/cloudkit/experiment/infrastructure/support/messaging/Waiter.java | Java | apache-2.0 | 109 |
/*
* Copyright 2010 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | janstey/fuse | tooling/tooling-activemq-facade/src/main/java/org/fusesource/fabric/activemq/facade/TopicViewFacade.java | Java | apache-2.0 | 1,092 |
// Copyright 2011-2016 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | google/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/Debug/RemoteBrowser/FileBrowser/CRemoteFile.java | Java | apache-2.0 | 3,239 |
package ai.elimu.dao.jpa;
import java.util.Calendar;
import java.util.List;
import javax.persistence.NoResultException;
import ai.elimu.dao.ContributorDao;
import org.springframework.dao.DataAccessException;
import ai.elimu.model.Contributor;
public class ContributorDaoJpa extends GenericDaoJpa<Contributor> impleme... | raidenovski/webapp | src/main/java/ai/elimu/dao/jpa/ContributorDaoJpa.java | Java | apache-2.0 | 2,174 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | retomerz/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/generation/CommentByBlockCommentHandler.java | Java | apache-2.0 | 28,836 |
/*
* Copyright 2011 Jon S Akhtar (Sylvanaar)
*
* 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 ... | internetisalie/lua-for-idea | src/main/java/com/sylvanaar/idea/Lua/editor/inspections/unassignedVariable/UnassignedVariableAccessInspection.java | Java | apache-2.0 | 4,219 |
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... | LucidDB/luciddb | luciddb/src/com/lucidera/luciddb/mbean/server/PingServer.java | Java | apache-2.0 | 2,131 |
/**
* 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... | massakam/pulsar | pulsar-broker/src/test/java/org/apache/pulsar/client/impl/KeyStoreTlsProducerConsumerTestWithoutAuthTest.java | Java | apache-2.0 | 11,002 |
/*
* Copyright (C) 2018 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... | superbderrick/ExoPlayer | library/core/src/test/java/com/google/android/exoplayer2/offline/DefaultDownloaderFactoryTest.java | Java | apache-2.0 | 1,917 |
/*
* 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 ... | sijie/incubator-distributedlog | distributedlog-core-twitter/src/main/java/org/apache/distributedlog/subscription/package-info.java | Java | apache-2.0 | 921 |
/*
* Copyright 2010 Bruno de Carvalho
*
* 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... | ekumenlabs/AndroidStreamingClient | efflux/src/main/java/com/biasedbit/efflux/packet/AbstractReportPacket.java | Java | apache-2.0 | 2,911 |
package com.ctrip.zeus.logstats.parser.state.extended;
import com.ctrip.zeus.logstats.parser.state.Action;
import com.ctrip.zeus.logstats.parser.state.LogStatsState;
import com.ctrip.zeus.logstats.parser.state.LogStatsStateMachine;
import com.ctrip.zeus.logstats.parser.state.StateMachineContext;
/**
* Create... | sdgdsffdsfff/zeus | log_analysis/src/main/java/com/ctrip/zeus/logstats/parser/state/extended/RequestUriState.java | Java | apache-2.0 | 2,475 |
/*
* Copyright 2010 Vodafone Group Services 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 appli... | sdrieling/osw-web | src/org/onesocialweb/gwt/client/ui/menu/MenuCommand.java | Java | apache-2.0 | 806 |
/*
* 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 ... | zimmermatt/flink | flink-runtime/src/test/java/org/apache/flink/runtime/blob/BlobCacheDeleteTest.java | Java | apache-2.0 | 12,594 |
/*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | maduhu/mifos-head | cashflow/src/main/java/org/mifos/platform/cashflow/ui/model/CashFlowValidator.java | Java | apache-2.0 | 7,455 |
/*
* 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 ... | Fabryprog/camel | core/camel-core/src/test/java/org/apache/camel/processor/TryCatchContinueToRouteTest.java | Java | apache-2.0 | 2,538 |
/*
* Copyright 2011 Research Studios Austria Forschungsgesellschaft mBH
*
* This file is part of easyrec.
*
* easyrec is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | feesa/easyrec-parent | easyrec-plugin-container/src/main/java/org/easyrec/model/plugin/archive/ArchivePseudoGenerator.java | Java | apache-2.0 | 3,008 |