repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
benbenw/jmeter | src/core/src/main/java/org/apache/jmeter/testelement/property/NullProperty.java | 2933 | /*
* 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 |
emre-aydin/hazelcast | hazelcast/src/test/java/com/hazelcast/internal/util/QueueUtilTest.java | 3064 | /*
* Copyright (c) 2008-2021, 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 |
tianyutingxy/Carpaccio | carpaccio/src/main/java/com/github/florent37/carpaccio/CarpaccioHelper.java | 12008 | package com.github.florent37.carpaccio;
import android.support.v4.util.LruCache;
import android.view.View;
import com.github.florent37.carpaccio.model.CarpaccioAction;
import com.github.florent37.carpaccio.model.ObjectAndMethod;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
/**... | apache-2.0 |
baldimir/optaplanner | optaplanner-examples/src/main/java/org/optaplanner/examples/cloudbalancing/optional/realtime/DeleteComputerProblemFactChange.java | 2763 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
LightGuard/quickstart | kitchensink-spring/springmvctest/src/main/java/org/jboss/as/quickstarts/kitchensink/spring/springmvctest/controller/MemberController.java | 2616 | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | apache-2.0 |
curso007/camel | components/camel-cometd/src/test/java/org/apache/camel/component/cometd/CometBindingTest.java | 5327 | /**
* 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 |
gradle/gradle | subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/package-info.java | 712 | /*
* Copyright 2018 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 |
ricepanda/rice-git3 | rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/travel/account/DemoTravelAccountMultivalueLookUpAft.java | 4184 | /**
* 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 required by a... | apache-2.0 |
WilliamRen/bbossgroups-3.5 | bboss-rpc/src-jgroups/bboss/org/jgroups/persistence/FilePersistenceManager.java | 5311 | package bboss.org.jgroups.persistence;
/**
* @author Mandar Shinde
* The class implements the PersistenceManager interface and provides users
* a file based implementation when required.
* The state of this class is current NOOP. Implementation will be in place
* once a better structure for file based pr... | apache-2.0 |
emeroad/pinpoint | profiler/src/test/java/com/navercorp/pinpoint/profiler/monitor/metric/totalthread/DefaultTotalThreadMetricTest.java | 1024 | /*
* Copyright 2020 NAVER Corp.
*
* 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 |
jk1/intellij-community | platform/vcs-log/impl/src/com/intellij/vcs/log/data/TopCommitsCache.java | 3864 | /*
* 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... | apache-2.0 |
ChristosChristofidis/h2o-3 | h2o-algos/src/test/java/hex/deeplearning/DeepLearningScoreTest.java | 2061 | package hex.deeplearning;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import water.DKV;
import water.H2O;
import water.Key;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.NFSFileVec;
import water.fvec.RebalanceDataSet;
import water.fvec.Vec;
import water.parser.Pars... | apache-2.0 |
stoksey69/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201502/cm/PolicyViolationErrorReason.java | 820 |
package com.google.api.ads.adwords.jaxws.v201502.cm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PolicyViolationError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <si... | apache-2.0 |
noondaysun/sakai | site-manage/site-manage-group-section-role-helper/tool/src/java/org/sakaiproject/site/tool/helper/managegroupsectionrole/rsf/GroupDelProducer.java | 6520 | package org.sakaiproject.site.tool.helper.managegroupsectionrole.rsf;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.authz.api.Auth... | apache-2.0 |
PP888/collide | java/com/google/collide/json/shared/JsonIntegerMap.java | 1220 | // Copyright 2012 Google 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 by applicable... | apache-2.0 |
DieBauer/flink | flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/PipelineErrorHandler.java | 2754 | /*
* 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 |
idea4bsd/idea4bsd | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/tool/ApplyPatchMergeRequest.java | 4424 | /*
* 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... | apache-2.0 |
clarkyzl/flink | flink-table/flink-table-common/src/main/java/org/apache/flink/table/descriptors/StreamTableDescriptorValidator.java | 2242 | /*
* 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 |
shyTNT/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201411/DateTimeRangeTargetingError.java | 1855 |
package com.google.api.ads.dfp.jaxws.v201411;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Lists all date time range errors caused by associating a li... | apache-2.0 |
romeara/spdx-tools | src/org/spdx/compare/SpdxItemDifference.java | 5944 | /**
* 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 by appli... | apache-2.0 |
meiercaleb/incubator-rya | extras/indexing/src/test/java/org/apache/rya/indexing/external/tupleSet/VarConstQueryVariableNormalizerTest.java | 23050 | package org.apache.rya.indexing.external.tupleSet;
/*
* 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-2.0 |
ShailShah/alluxio | tests/src/test/java/alluxio/proxy/FileSystemClientRestApiTest.java | 10442 | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | apache-2.0 |
ascrutae/sky-walking | oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/MultiIntValuesHolder.java | 998 | /*
* 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 |
tizarhunter/Transitions-Everywhere | library/src/main/java/com/transitionseverywhere/utils/ViewGroupOverlayUtils.java | 6724 | package com.transitionseverywhere.utils;
import android.annotation.TargetApi;
import android.graphics.drawable.BitmapDrawable;
import android.os.Build;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewOverlay;
import com.transitionseverywhere.hidden.Crossfade;
public class ViewGroupOv... | apache-2.0 |
minagri-rwanda/DHIS2-Agriculture | dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/dataelement/DataElementController.java | 2130 | package org.hisp.dhis.webapi.controller.dataelement;
/*
* Copyright (c) 2004-2016, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must r... | bsd-3-clause |
evilwan/raptor-chess-interface | raptor/src/testcases/TestFr.java | 2752 | package testcases;
import junit.framework.Assert;
import org.junit.Test;
import raptor.chess.FischerRandomGame;
import raptor.chess.GameFactory;
import raptor.chess.Variant;
public class TestFr {
@Test
public void testCastlingBlackQs() {
String fen1 = "rk2bqr1/p1p1bppp/p2np1n1/8/3P4/5B2/PPP2PPP/RKN1BQR1 w KQkq ... | bsd-3-clause |
plumer/codana | tomcat_files/8.0.22/TestTomcatClassLoader.java | 3788 | /*
* 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 ... | mit |
littlefoot32/GithubAndroidSdk | src/main/java/com/alorma/github/sdk/bean/dto/response/Gist.java | 1775 | package com.alorma.github.sdk.bean.dto.response;
import android.os.Parcel;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Map;
public class Gist extends ShaUrl{
@SerializedName("public")
public boolean isPublic;
public String created_at;
public String updated_at... | mit |
0359xiaodong/eclipse-color-theme | com.github.eclipsecolortheme/src/com/github/eclipsecolortheme/mapper/PerlEditorMapper.java | 1327 | package com.github.eclipsecolortheme.mapper;
import java.util.Map;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import com.github.eclipsecolortheme.ColorThemeMapping;
import com.github.eclipsecolortheme.ColorThemeSetting;
public class PerlEditorMapper extends GenericMapper {
private class Ma... | epl-1.0 |
snjeza/che | core/che-core-api-model/src/main/java/org/eclipse/che/api/core/model/machine/Command.java | 1436 | /*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | epl-1.0 |
elucash/eclipse-oxygen | org.eclipse.jdt.core/src/org/eclipse/jdt/internal/compiler/codegen/CaseLabel.java | 2482 | /*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | epl-1.0 |
codenvy/che-core | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/parts/HasView.java | 745 | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | epl-1.0 |
jdufner/fitnesse | src/fit/TypeAdapter.java | 12240 | // Modified or written by Object Mentor, Inc. for inclusion with FitNesse.
// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU General Public License version 2 or later.
package fit;
// Copyright (c) 2002 Cunningham & Cunningham, Inc.
// Released under the terms of the GNU Genera... | epl-1.0 |
RallySoftware/eclipselink.runtime | dbws/eclipselink.dbws.test/src/dbws/testing/xrdynamicentity/XRDynamicEntityTestSuite.java | 6291 | /*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | epl-1.0 |
OpenLiberty/open-liberty | dev/com.ibm.ws.wssecurity_fat.wsscxf.saml/test-applications/samlcxfclient/src/fats/cxf/basic/wssec/SAMLSOAPService5.java | 2900 | /*******************************************************************************
* Copyright (c) 2021 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | epl-1.0 |
RallySoftware/eclipselink.runtime | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/javadoc/xmlelementrefs/ViaLand.java | 1430 | /*******************************************************************************
* Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | epl-1.0 |
rex-xxx/mt6572_x201 | tools/build/testapps/libsTest/lib1/src/main/java/com/android/tests/libstest/lib1/MainActivity.java | 486 | package com.android.tests.libstest.lib1;
import android.app.Activity;
import android.os.Bundle;
import com.android.tests.libstest.lib2.Lib2;
public class MainActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
s... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/gc/metaspace/G1AddMetaspaceDependency.java | 4036 | /*
* Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
eethomas/eucalyptus | clc/modules/simpleworkflow-common/src/main/java/com/eucalyptus/simpleworkflow/common/model/RequestCancelExternalWorkflowExecutionFailedCause.java | 3489 | /*************************************************************************
* Copyright 2014 Eucalyptus Systems, Inc.
*
* This program 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; version 3 of the Licen... | gpl-3.0 |
jtux270/translate | ovirt/3.6_source/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/AbstractBackendAssignedTagsResource.java | 3404 | package org.ovirt.engine.api.restapi.resource;
import static org.ovirt.engine.api.utils.ReflectionHelper.assignChildModel;
import java.util.List;
import javax.ws.rs.core.Response;
import org.ovirt.engine.api.model.BaseResource;
import org.ovirt.engine.api.model.Tag;
import org.ovirt.engine.api.resource.AssignedTags... | gpl-3.0 |
jtux270/translate | ovirt/3.6_source/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/DetachGlusterHostsPopupView.java | 3658 | package org.ovirt.engine.ui.webadmin.section.main.view.popup.gluster;
import org.ovirt.engine.ui.common.idhandler.ElementIdHandler;
import org.ovirt.engine.ui.common.idhandler.WithElementId;
import org.ovirt.engine.ui.common.view.popup.AbstractModelBoundPopupView;
import org.ovirt.engine.ui.common.widget.Align;
import... | gpl-3.0 |
cascheberg/Signal-Android | app/src/main/java/org/thoughtcrime/securesms/contacts/SelectedContactSet.java | 1426 | package org.thoughtcrime.securesms.contacts;
import androidx.annotation.NonNull;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* Specialised set for {@link SelectedContact} that will not allow more than one entry that
* {@link SelectedContact#matches... | gpl-3.0 |
CURocketry/Ground_Station_GUI | src/org/openstreetmap/josm/gui/IconToggleButton.java | 5407 | // License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.gui;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JToggleButto... | gpl-3.0 |
madhumita-git/Excitement-Open-Platform | transformations/src/main/java/eu/excitementproject/eop/transformations/operations/finders/RulesByBagOfRulesRuleBaseFinder.java | 8911 | package eu.excitementproject.eop.transformations.operations.finders;
import java.util.LinkedHashSet;
import java.util.Set;
import org.apache.log4j.Logger;
import eu.excitementproject.eop.common.component.syntacticknowledge.RuleWithConfidenceAndDescription;
import eu.excitementproject.eop.common.datastructures.Bidirec... | gpl-3.0 |
DISID/disid-proofs | spring-boot-soap/server/contract-last/src/main/java/com/springsource/petclinic/format/VisitFormatter.java | 402 | package com.springsource.petclinic.format;
import com.springsource.petclinic.domain.Visit;
import com.springsource.petclinic.service.api.VisitService;
import org.springframework.core.convert.ConversionService;
import org.springframework.roo.addon.web.mvc.controller.annotations.formatters.RooFormatter;
@RooFormatter(en... | gpl-3.0 |
mcomella/FirefoxAccounts-android | thirdparty/src/main/java/ch/boye/httpclientandroidlib/protocol/BasicHttpProcessor.java | 8465 | /*
* ====================================================================
* 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
... | mpl-2.0 |
open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/icp/vo/OutpatientEpisodeWithICPInfoVo.java | 31151 | //#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | agpl-3.0 |
EaglesoftZJ/actor-platform | actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/network/mtp/entity/Container.java | 1511 | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.core.network.mtp.entity;
import java.io.IOException;
import im.actor.runtime.bser.DataInput;
import im.actor.runtime.bser.DataOutput;
// Disabling Bounds checks for speeding up calculations
/*-[
#define J2OBJC_DISABLE_ARRAY_BOUND_CHECKS 1
... | agpl-3.0 |
wolfgangmm/exist | exist-core/src/main/java/org/exist/collections/IndexInfo.java | 4384 | /*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foun... | lgpl-2.1 |
haozhun/presto | presto-spi/src/test/java/com/facebook/presto/spi/type/TestRowType.java | 3879 | /*
* 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 |
ascherbakoff/ignite | modules/core/src/test/java/org/apache/ignite/platform/PlatformTestExecutor.java | 1074 | /*
* 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 |
googleapis/google-api-java-client-services | clients/google-api-services-androidmanagement/v1/1.31.0/com/google/api/services/androidmanagement/v1/model/ManagedPropertyEntry.java | 2882 | /*
* 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 |
electrum/presto | core/trino-main/src/main/java/io/trino/operator/scalar/QuantileDigestFunctions.java | 5787 | /*
* 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 |
Gugli/Openfire | src/plugins/rayo/src/java/org/ifsoft/rtp/RTCPSourceDescriptionChunk.java | 617 | package org.ifsoft.rtp;
import java.util.ArrayList;
public class RTCPSourceDescriptionChunk
{
public RTCPSourceDescriptionChunk()
{
}
public Byte[] getBytes()
{
return getBytes(this);
}
public static Byte[] getBytes(RTCPSourceDescriptionChunk chunk)
{
if(chunk == nul... | apache-2.0 |
masaki-yamakawa/geode | geode-core/src/test/java/org/apache/geode/internal/cache/RequestFilterInfoMessageTest.java | 2325 | /*
* 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 not ... | apache-2.0 |
charafau/weechat-android | weechat-relay/src/main/java/com/ubergeek42/weechat/relay/protocol/Hashtable.java | 1940 | /*******************************************************************************
* Copyright 2012 Keith Johnson
*
* 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.apach... | apache-2.0 |
NotBadPad/hadoop-hbase | src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceMetrics.java | 4195 | /**
* Copyright 2010 The Apache Software Foundation
*
* 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-2.0 |
stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201411/ContentMetadataKeyHierarchyServiceInterfaceperformContentMetadataKeyHierarchyActionResponse.java | 1704 |
package com.google.api.ads.dfp.jaxws.v201411;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for performContentMetadataKeyHierarchyActionResponse element... | apache-2.0 |
dashorst/wicket | wicket-core/src/test/java/org/apache/wicket/AddChildToParentInOnInitializeTest.java | 3105 | /*
* 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 |
uaraven/nano | sample/webservice/HelloAmazonProductAdvertising/src/com/amazon/webservices/awsecommerceservice/_2011_08_01/Collections.java | 619 | // Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.amazon.webservices.awsecommerceservice._2011_08_01;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
import com.amazon.webservices.awsecommerceservice._2011_08_01.collections.Collection;
import java.util.List;
@RootElement(... | apache-2.0 |
gfyoung/elasticsearch | server/src/main/java/org/elasticsearch/gateway/TransportNodesListGatewayMetaState.java | 7036 | /*
* 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... | apache-2.0 |
droolsjbpm/drools | drools-test-coverage/test-compiler-integration/src/test/java/org/drools/compiler/integrationtests/BackwardChainingTest.java | 67009 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | apache-2.0 |
dslomov/bazel | src/main/java/com/google/devtools/build/lib/windows/jni/WindowsProcesses.java | 7430 | // Copyright 2016 The Bazel 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 appl... | apache-2.0 |
krzysztof-magosa/encog-java-core | src/main/java/org/encog/ml/data/versatile/normalizers/strategies/NormalizationStrategy.java | 2834 | /*
* Encog(tm) Core v3.3 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2014 Heaton Research, 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... | apache-2.0 |
electrum/presto | core/trino-main/src/test/java/io/trino/type/TestIntervalDayTimeType.java | 1846 | /*
* 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 |
dldinternet/resty-gwt | restygwt/src/test/java/org/fusesource/restygwt/server/event/EchoServlet.java | 4528 | /**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | apache-2.0 |
ameybarve15/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/tools/gfsh/app/command/task/data/PartitionAttributeInfo.java | 2542 | package com.gemstone.gemfire.internal.tools.gfsh.app.command.task.data;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.gemstone.gemfire.DataSerializable;
import com.gemstone.gemfire.cache.PartitionAttributes;
/**
* A dat... | apache-2.0 |
jprante/elasticsearch | core/src/main/java/org/elasticsearch/index/query/FuzzyQueryBuilder.java | 14087 | /*
* 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... | apache-2.0 |
Kreolwolf1/Elastic | src/main/java/org/elasticsearch/common/io/stream/BytesStreamOutput.java | 3508 | /*
* Licensed to ElasticSearch and Shay Banon 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... | apache-2.0 |
vdr007/ThriftyPaxos | src/applications/h2/src/test/org/h2/test/unit/TestPattern.java | 3885 | /*
* Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (http://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.test.unit;
import java.text.Collator;
import org.h2.expression.CompareLike;
import org.h2.test.TestBase;
import org.h2.value.CompareMo... | apache-2.0 |
stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201502/AudienceSegmentAudienceSegmentType.java | 1665 |
package com.google.api.ads.dfp.jaxws.v201502;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AudienceSegment.AudienceSegmentType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <s... | apache-2.0 |
forplay/forplay | core/gwtbox2d/org/jbox2d/pooling/PoolingStackAABB.java | 1597 | package org.jbox2d.pooling;
import org.jbox2d.collision.AABB;
public class PoolingStackAABB extends PoolingStack<AABB>{
private final AABB[] pool;
private int index;
private final int size;
private final PoolContainer<AABB> container;
public PoolingStackAABB(int size) {
this.size = size;
this.poo... | apache-2.0 |
masonmei/pinpoint | collector/src/main/java/com/navercorp/pinpoint/collector/cluster/route/RouteStatus.java | 1983 | /*
* Copyright 2014 NAVER Corp.
*
* 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... | apache-2.0 |
mogoweb/365browser | app/src/main/java/org/chromium/chrome/browser/compositor/scene_layer/SceneLayer.java | 1487 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.compositor.scene_layer;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNI... | apache-2.0 |
smanvi-pivotal/geode | geode-core/src/test/java/org/apache/geode/sequence/HydraLineMapper.java | 4126 | /*
* 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 not ... | apache-2.0 |
Thopap/camel | components/camel-salesforce/camel-salesforce-maven-plugin/src/test/java/org/apache/camel/maven/CamelSalesforceMojoIntegrationTest.java | 5164 | /**
* 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 |
rodsol/relex | src/java/relex/logic/Loader.java | 4466 | /*
* Copyright 2013 OpenCog 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 applicable law or agr... | apache-2.0 |
goodwinnk/intellij-community | java/testFramework/src/com/intellij/ide/util/frameworkSupport/FrameworkSupportProviderTestCase.java | 6135 | package com.intellij.ide.util.frameworkSupport;
import com.intellij.facet.Facet;
import com.intellij.facet.FacetManager;
import com.intellij.facet.FacetTypeId;
import com.intellij.facet.ui.FacetBasedFrameworkSupportProvider;
import com.intellij.framework.FrameworkType;
import com.intellij.framework.addSupport.Framewor... | apache-2.0 |
Distrotech/fop | src/java/org/apache/fop/afp/ptoca/PtocaConstants.java | 2014 | /*
* 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 |
subhrajyotim/camunda-bpm-platform | engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/util/container/TomcatServerBootstrap.java | 3731 | package org.camunda.bpm.engine.rest.util.container;
import java.io.File;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.startup.Tomcat;
import org.camunda.bpm.engine.rest.spi.ProcessEngineProvider;... | apache-2.0 |
hugs/selenium | selenium/test/java/com/thoughtworks/selenium/corebased/TestOpen.java | 1567 | package com.thoughtworks.selenium.corebased;
import com.thoughtworks.selenium.*;
import org.testng.annotations.*;
import static org.testng.Assert.*;
import java.util.regex.Pattern;
public class TestOpen extends SeleneseTestNgHelper {
@Test public void testOpen() throws Exception {
selenium.open("../tests/html/test... | apache-2.0 |
yuri0x7c1/ofbiz-explorer | src/test/resources/apache-ofbiz-17.12.04/framework/entity/src/main/java/org/apache/ofbiz/entity/GenericResultSetClosedException.java | 1415 | /*******************************************************************************
* 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... | apache-2.0 |
hasithaa/wso2-ode | bpel-runtime/src/test/java/org/apache/ode/bpel/elang/URIResolverTest.java | 3600 | /*
* 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 |
tieusangaka/Paralloid | paralloidexample/src/main/java/uk/co/chrisjenx/paralloidexample/ParallaxViewDownFragment.java | 1360 | package uk.co.chrisjenx.paralloidexample;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ScrollView;
import uk.co.chrisjenx.paralloid.Parallaxor;
impor... | apache-2.0 |
jmluy/elasticsearch | client/rest-high-level/src/test/java/org/elasticsearch/client/IngestRequestConvertersTests.java | 5986 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-cloudfunctions/v1/1.31.0/com/google/api/services/cloudfunctions/v1/model/ListOperationsResponse.java | 2919 | /*
* 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 |
pellcorp/sql-parser | src/test/java/io/crate/sql/parser/TreeAssertions.java | 3256 | /*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | apache-2.0 |
bmwshop/brooklyn | usage/camp/src/main/java/io/brooklyn/camp/brooklyn/spi/lookup/PlatformComponentBrooklynLookup.java | 1470 | package io.brooklyn.camp.brooklyn.spi.lookup;
import io.brooklyn.camp.spi.PlatformComponent;
import io.brooklyn.camp.spi.PlatformComponent.Builder;
import io.brooklyn.camp.spi.PlatformRootSummary;
import io.brooklyn.camp.spi.collection.ResolvableLink;
import java.util.Collections;
import java.util.Date;
import java.u... | apache-2.0 |
shakamunyi/hadoop-20 | src/test/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java | 19841 | /**
* 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 |
onders86/camel | components/camel-aws/src/main/java/org/apache/camel/component/aws/s3/S3Producer.java | 23309 | /**
* 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 |
andreasnef/fcrepo | fcrepo-server/src/main/java/org/fcrepo/server/resourceIndex/TripleGenerator.java | 890 | /* The contents of this file are subject to the license and copyright terms
* detailed in the license directory at the root of the source tree (also
* available online at http://fedora-commons.org/license/).
*/
package org.fcrepo.server.resourceIndex;
import java.util.Set;
import org.jrdf.graph.Triple;
import or... | apache-2.0 |
EdwardLee03/guava | guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java | 27455 | /*
* Copyright (C) 2011 The Guava 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 agre... | apache-2.0 |
salyh/javamailspec | geronimo-jacc_1.4_spec/src/test/java/javax/security/jacc/EJBMethodPermissionCollectionTest.java | 18794 | /*
* 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 |
andyperlitch/incubator-apex-core | engine/src/main/java/com/datatorrent/stram/StreamingContainerManager.java | 125566 | /**
* Copyright (C) 2015 DataTorrent, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 |
uaraven/nano | sample/webservice/eBayDemoApp/src/com/ebay/trading/api/ProfileCategoryGroupCodeType.java | 1481 | // Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.ebay.trading.api;
/**
*
* Enumerated type that defines the category group values. Business Policies profiles (Payment,
* Shipping, and Return Policy) are linked to category groups.
* <br><br>
* <span class="tablenote"><strong>Note:</stro... | apache-2.0 |
nkhuyu/parquet-mr | parquet-column/src/test/java/parquet/column/values/dictionary/TestDictionary.java | 20344 | /*
* 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 |
UniquePassive/runelite | runelite-client/src/main/java/net/runelite/client/plugins/screenshot/imgur/ImageUploadRequest.java | 1852 | /*
* Copyright (c) 2018, Lotto <https://github.com/devLotto>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, th... | bsd-2-clause |
magicDGS/gatk | src/testUtils/java/org/broadinstitute/hellbender/testutils/ReadsPreprocessingPipelineTestData.java | 15659 | package org.broadinstitute.hellbender.testutils;
import com.google.common.collect.Lists;
import htsjdk.samtools.SAMRecord;
import org.broadinstitute.hellbender.engine.ReadContextData;
import org.broadinstitute.hellbender.engine.ReferenceShard;
import org.broadinstitute.hellbender.engine.VariantShard;
import org.broadi... | bsd-3-clause |
vkscool/xstream | xstream/src/java/com/thoughtworks/xstream/io/ExtendedHierarchicalStreamWriterHelper.java | 767 | /*
* Copyright (C) 2006 Joe Walnes.
* Copyright (C) 2006, 2007, 2014 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Created on 22. June 2... | bsd-3-clause |
js0701/chromium-crosswalk | chrome/android/java/src/org/chromium/chrome/browser/enhancedbookmarks/EnhancedBookmarkFilter.java | 660 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.enhancedbookmarks;
/**
* Possible filters for the enhanced bookmarks.
*/
enum EnhancedBookmarkFilter {
OFFLINE_... | bsd-3-clause |