repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
istio/istio.io | archive/v1.9/zh/docs/setup/kubernetes/prepare/platform-setup/azure/index.html | 418 | <!doctype html><html lang=en><head><title>Redirecting…</title><link rel=canonical href=/v1.9/zh/docs/setup/platform-setup/azure/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=/v1.9/zh/docs/setup/platform-setup/azure/"></head><body><h1>Redirecting…</h1><a href... | apache-2.0 |
redox/OrientDB | core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorOr.java | 2880 | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | apache-2.0 |
paulgallagher75/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java | 32136 | /*
* 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 n... | apache-2.0 |
jackylk/incubator-carbondata | integration/spark/src/main/spark2.3/org/apache/carbondata/spark/adapter/CarbonToSparkAdapter.scala | 1137 | /*
* 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 |
aiyanbo/guava | guava-tests/test/com/google/common/base/CharsetsTest.java | 2382 | /*
* Copyright (C) 2007 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 |
rafd123/aws-sdk-net | sdk/src/Services/DirectConnect/Generated/Model/DeleteInterconnectRequest.cs | 1636 | /*
* Copyright 2010-2014 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 |
yahoo/athenz | core/zts/src/test/java/com/yahoo/athenz/zts/HostServicesTest.java | 1478 | /*
* Copyright 2016 Yahoo Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 |
bravo-zhang/spark | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala | 111856 | /*
* 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 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-s3control/include/aws/s3control/model/AsyncErrorDetails.h | 7062 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/s3control/S3Control_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // n... | apache-2.0 |
mdamt/PdfBox-Android | library/src/main/java/org/apache/pdfbox/pdmodel/graphics/PDPostScriptXObject.java | 535 | package org.apache.pdfbox.pdmodel.graphics;
import org.apache.pdfbox.cos.COSName;
import org.apache.pdfbox.pdmodel.common.PDStream;
/**
* A PostScript XObject.
* Conforming readers may not be able to interpret the PostScript fragments.
*
* @author John Hewson
*/
public class PDPostScriptXObject extend... | apache-2.0 |
apache/libcloud | libcloud/test/compute/test_hostvirtual.py | 8559 | # 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 use ... | apache-2.0 |
luci/recipes-py | recipe_modules/cq/tests/mode_of_run.py | 825 | # Copyright 2021 The LUCI Authors. All rights reserved.
# Use of this source code is governed under the Apache License, Version 2.0
# that can be found in the LICENSE file.
PYTHON_VERSION_COMPATIBILITY = 'PY2+3'
DEPS = [
'cq',
'properties',
'step',
]
def RunSteps(api):
api.step('show properties', [])
api.... | apache-2.0 |
tgraf/cilium | pkg/addressing/ip.go | 4261 | // Copyright 2016-2017 Authors of Cilium
//
// 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 ag... | apache-2.0 |
bbossgroups/bbossgroups-3.5 | bboss-core/src/org/frameworkset/spi/assemble/Context.java | 2300 | /*
* Copyright 2008 biaoping.yin
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | apache-2.0 |
benjaminbollen/eris-db | manager/burrow-mint/evm/stack.go | 2847 | // Copyright 2017 Monax Industries Limited
//
// 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 |
apache/incubator-systemml | src/test/java/org/apache/sysds/test/functions/compress/instructionsSpark/CompressedSparkInstructionsTestSparse.java | 1032 | /*
* 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 |
sozoStudio/sozoStudio.github.io | FoguangTemple_web/node_modules/utf-8-validate/build/Makefile | 13362 | # We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the comm... | apache-2.0 |
rsimha-amp/amphtml | extensions/amp-iframely/0.1/test/test-amp-iframely.js | 12110 | /**
* Copyright 2021 The AMP HTML 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 require... | apache-2.0 |
incodehq/isis | core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/errors/ExceptionModel.java | 6578 | /*
* 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 |
AzureAutomationTeam/azure-powershell | src/ResourceManager/Compute/Commands.Compute/Generated/Snapshot/SnapshotUpdateMethod.cs | 4375 | //
// Copyright (c) Microsoft and contributors. 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 |
queria/my-tempest | tempest/api/compute/servers/test_attach_interfaces.py | 6514 | # Copyright 2013 IBM 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 app... | apache-2.0 |
elasticfence/kaae | public/pages/watcher_wizard/services/wizard_helper/wizard_helper.js | 414 | import { get } from 'lodash';
class WizardHelper {
constructor() {}
isScheduleModeEvery(scheduleString) {
return !!scheduleString.match(/every\s(\d+)\s(seconds|minutes|hours|days|months|years)/);
}
isWizardWatcher(watcher) {
return get(watcher, 'wizard.chart_query_params');
}
getUniqueTagId(name... | apache-2.0 |
jrnz/hadoop | docs/api/org/apache/hadoop/io/class-use/SequenceFile.Sorter.html | 6014 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Wed Oct 03 05:15:38 UTC 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.io.SequenceFile.Sorter (Hadoop 1.0.4 API)
</TITLE>
<META NAME="date"... | apache-2.0 |
kylebyerly-hp/grommet | src/js/components/icons/base/DocumentConfig.js | 1979 | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Pro... | apache-2.0 |
aclissold/uMobile-iOS-app | uMobile/Config.h | 1002 | //
// Config.h
// uMobile
//
// Connects to the umobile-global-config webapp to respond to server-side configuration settings.
//
// Created by Andrew Clissold on 9/30/14.
// Copyright (c) 2014 uMobile. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Config : NSObject<UIAlertViewDelegate>
@... | apache-2.0 |
DavBfr/FreeRDP | winpr/libwinpr/crt/string.c | 9571 | /**
* WinPR: Windows Portable Runtime
* String Manipulation (CRT)
*
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | apache-2.0 |
kawamon/hue | desktop/core/ext-py/django_opentracing-1.1.0/django_opentracing/middleware.py | 3646 | from django.conf import settings
from django.utils.module_loading import import_string
from .tracing import DjangoTracing
from .tracing import initialize_global_tracer
try:
# Django >= 1.10
from django.utils.deprecation import MiddlewareMixin
except ImportError:
# Not required for Django <= 1.9, see:
... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-appstream/source/model/CreateFleetRequest.cpp | 3638 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appstream/model/CreateFleetRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::AppStream::Model;
using namespace Aws::Utils::Json;
using ... | apache-2.0 |
JRebirth/JRebirth | org.jrebirth.af/core/src/main/java/org/jrebirth/af/core/resource/font/FontItemBase.java | 6279 | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... | apache-2.0 |
yarish/tinylog | tinylog/src/main/java/org/pmw/tinylog/Tokenizer.java | 21096 | /*
* Copyright 2012 Martin Winandy
*
* 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 |
SummerBatch/SummerBatch | Summer.Batch.Extra/Ebcdic/IEbcdicReaderMapper.cs | 1853 | //
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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
//
// Un... | apache-2.0 |
kierarad/gocd | config/config-api/src/main/java/com/thoughtworks/go/config/registry/NoPluginsInstalled.java | 1001 | /*
* Copyright 2019 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 |
workflowproducts/envelope | src/app/developer_g/greyspots-1.1.1/documentation/doc-library/css-test-1.html | 4608 | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="viewport" content="width=device-w... | apache-2.0 |
sankarh/hive | standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/GetProjectionsSpec.php | 5244 | <?php
namespace metastore;
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
use Thrift\Base\TBase;
use Thrift\Type\TType;
use Thrift\Type\TMessageType;
use Thrift\Exception\TException;
use Thrift\Exception\TProtocolException;
use... | apache-2.0 |
saeta/penguin | docs/parallel/docsets/PenguinParallel.docset/Contents/Resources/Documents/Protocols/ConditionVariableProtocol.html | 15780 | <!DOCTYPE html>
<html lang="en">
<head>
<title>ConditionVariableProtocol Protocol Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer... | apache-2.0 |
missedone/testng | src/main/java/org/testng/TestNGAntTask.java | 32705 | package org.testng;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator... | apache-2.0 |
google/google-ctf | third_party/edk2/MdePkg/Include/Protocol/Ebc.h | 10355 | /** @file
Describes the protocol interface to the EBC interpreter.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. T... | apache-2.0 |
nagavallia/geomesa | geomesa-index-api/src/main/scala/org/locationtech/geomesa/index/strategies/AttributeFilterStrategy.scala | 4279 | /***********************************************************************
* Copyright (c) 2013-2016 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is ... | apache-2.0 |
naveenhooda2000/elasticsearch | core/src/test/java/org/elasticsearch/index/translog/TranslogTests.java | 121631 | /*
* 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 |
aws/aws-sdk-cpp | aws-cpp-sdk-es/source/model/AutoTune.cpp | 1529 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/es/model/AutoTune.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Elastic... | apache-2.0 |
xtoolkit/XMPN | Xtouch/header2.php | 8225 | <?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright ... | apache-2.0 |
asoft-tlt/book | app/templates/page19.html | 2449 | <div class="page" id="page19">
<div class="page-slider" style="position:absolute;top:222px;left:523px;width:417px;height:450px;padding: 4px;border: 1px solid #d7b39d;">
<div class="page-slider__container"></div>
</div>
<div class="text2col">
<div style="text-align:justify;" class="col1">
Знай, ... | apache-2.0 |
halatmit/appinventor-sources | appinventor/appengine/src/com/google/appinventor/client/wizards/ComponentImportWizard.java | 9473 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2020 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.wizards;
import static com.google.appinvent... | apache-2.0 |
Appudo/Appudo.github.io | static/release/dojo/NodeList-data.js | 930 | //>>built
define("dojo/NodeList-data",["./_base/kernel","./query","./_base/lang","./_base/array","./dom-attr"],function(_1,_2,_3,_4,_5){var _6=_2.NodeList;var _7={},x=0,_8="data-dojo-dataid",_9=function(_a){var _b=_5.get(_a,_8);if(!_b){_b="pid"+(x++);_5.set(_a,_8,_b);}return _b;};var _c=_1._nodeData=function(_d,_e,_f){... | apache-2.0 |
xli/gocd | common/src/com/thoughtworks/go/domain/materials/AgentSubprocessExecutionContext.java | 1684 | /*************************GO-LICENSE-START*********************************
* Copyright 2014 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... | apache-2.0 |
robander/dita-ot | src/test/resources/keyref_modify/exp/xhtml/index.html | 935 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="... | apache-2.0 |
wangjiegulu/RapidRouter | library/src/test/java/com/wangjie/rapidrouter/ExampleUnitTest.java | 401 | package com.wangjie.rapidrouter;
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
public voi... | apache-2.0 |
tgroh/incubator-beam | sdks/java/core/src/test/java/org/apache/beam/sdk/coders/ListCoderTest.java | 4233 | /*
* 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 |
nghiant2710/base-images | balena-base-images/openjdk/beaglebone-black/debian/bullseye/11-jdk/build/Dockerfile | 3854 | # AUTOGENERATED FILE
FROM balenalib/beaglebone-black-debian:bullseye-build
# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# ... | apache-2.0 |
dhermes/google-cloud-python | bigtable/google/cloud/bigtable_v2/gapic/bigtable_client_config.py | 2407 | config = {
"interfaces": {
"google.bigtable.v2.Bigtable": {
"retry_codes": {
"idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
"non_idempotent": [],
},
"retry_params": {
"default": {
"initial_retry_dela... | apache-2.0 |
TitasNandi/Summer_Project | dkpro-similarity-master/dkpro-similarity-algorithms-core-asl/src/main/java/dkpro/similarity/algorithms/package-info.java | 937 | /*******************************************************************************
* Copyright 2013
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | apache-2.0 |
google/llvm-propeller | mlir/include/mlir/ExecutionEngine/OptUtils.h | 2301 | //===- OptUtils.h - MLIR Execution Engine opt pass utilities ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | apache-2.0 |
tduehr/cas | support/cas-server-support-consent-webflow/src/main/java/org/apereo/cas/config/CasConsentWebflowConfiguration.java | 3498 | package org.apereo.cas.config;
import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.consent.ConsentEngine;
import org.apereo.cas.services.ServicesManager;
import org.apereo.cas.web.flow.CasWebflowConfigurer;
impor... | apache-2.0 |
lheric/GitlHEVCAnalyzer | appgitlhevcdecoder/HM-5.2/source/Lib/TLibDecoder/NALread.cpp | 5455 | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2012, ITU/ISO/IEC
* All rights r... | apache-2.0 |
sdnwiselab/onos | apps/openstacknetworking/src/main/java/org/onosproject/openstacknetworking/impl/HostBasedInstancePortManager.java | 6879 | /*
* Copyright 2017-present Open Networking 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 appli... | apache-2.0 |
Clayton7510/RuleBook | rulebook-core/src/test/java/com/deliveredtechnologies/rulebook/runner/test/rulebooks/SampleRuleWithoutRuleAnnotation.java | 176 | package com.deliveredtechnologies.rulebook.runner.test.rulebooks;
/**
* Sample POJO rule with no annotations whatsoever.
*/
public class SampleRuleWithoutRuleAnnotation {
}
| apache-2.0 |
martin-neuhaeusser/benchexec | contrib/plots/generate-plots.sh | 1240 | #!/bin/sh
# Generate CSV for a scatter plot of CPU times.
table-generator --correct-only -f csv -x scatter.xml
# Generate CSV for a scatter plot where color indicates frequency of data points
# (not useful with the example data in this directory).
cut -f 3,7 < scatter.table.csv \
| sort -n \
| uniq -c \
> scatter.... | apache-2.0 |
jbaiera/zookeeper-play | src/main/java/play/curator/lock/LockClient.java | 2027 | package play.curator.lock;
import java.util.concurrent.TimeUnit;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.framework.recipes.locks.InterProcessLock;
import org.apache.curator.framework.recipes.locks.InterProcessSemaphor... | apache-2.0 |
FDio/vpp | src/plugins/nat/nat44-ei/nat44_ei_in2out.c | 72987 | /*
* Copyright (c) 2016 Cisco 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 applicabl... | apache-2.0 |
rogerthat-platform/rogerthat-backend | src/rogerthat/pages/legal/assets/nl/version_terms-and-conditions_20180524.html | 66556 | {% extends "version_base.html" %}
{% block content %}
<style type="text/css">
.lst-kix_qxs0kkqujc62-2>li:before {
content: "\0025a0 "
}
.lst-kix_qxs0kkqujc62-1>li:before {
content: "\0025cb "
}
.lst-kix_qxs0kkqujc62-3>li:before {
content: "\0025cf "
}
.lst-kix_qxs0kkqujc62-0>li:before {
content: "\0025cf "
... | apache-2.0 |
apache/incubator-shardingsphere | shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/parser/MySQLParserFacade.java | 1510 | /*
* 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 |
praveennet/azure-powershell | src/ServiceManagement/Compute/Commands.ServiceManagement/HostedServices/SetAzureDeployment.cs | 13839 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 |
telefonicaid/fiware-cosmos-ambari | ambari-agent/src/main/puppet/modules/hdp/lib/puppet/parser/functions/hdp_host.rb | 1024 | #
#
# 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 n... | apache-2.0 |
fengyouchao/fucksocks | src/main/java/sockslib/common/Credentials.java | 1041 | /*
* Copyright 2015-2025 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 |
apereo/dotnet-cas-client | DotNetCasClient/CasAuthentication.cs | 71180 | /*
* 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 ... | apache-2.0 |
Ramzi-Alqrainy/SELK | solr-4.10.0/docs/solr-dataimporthandler/org/apache/solr/handler/dataimport/class-use/RegexTransformer.html | 4956 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Tue Aug 26 20:50:25 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | apache-2.0 |
izenecloud/izenelib | source/3rdparty/yaml-cpp/node.cpp | 272 | #include <3rdparty/yaml-cpp/node/node.h>
#include "nodebuilder.h"
#include "nodeevents.h"
namespace YAML
{
Node Clone(const Node& node)
{
NodeEvents events(node);
NodeBuilder builder;
events.Emit(builder);
return builder.Root();
}
}
| apache-2.0 |
miaotu3/Mitotu | MiaoTu/src/main/java/com/miaotu/adapter/GroupUserAdapter.java | 2624 | package com.miaotu.adapter;
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.koushikdutta.urlimageviewhelper.UrlImageViewHelper;
impo... | apache-2.0 |
shlyren/ONE-OC | ONE/Classes/Music-音乐/View/ONECommentCell.h | 624 | //
// ONECommentCell.h
// ONE
//
// Created by 任玉祥 on 16/4/2.
// Copyright © 2016年 任玉祥. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ONEMusicCommentItem;
@interface ONECommentCell : UITableViewCell
/** 评论模型 */
@property (nonatomic, strong) ONEMusicCommentItem *commentItem;
/** 详情id */
@property (no... | apache-2.0 |
nguerrera/roslyn | src/Workspaces/Core/Portable/Shared/Extensions/IAssemblySymbolExtensions.cs | 2282 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class IAssemblySymbolExtensions... | apache-2.0 |
akshayahn/parfait | parfait-spring/src/test/java/com/custardsource/parfait/spring/DelayingBean.java | 355 | package com.custardsource.parfait.spring;
import java.util.Random;
@Profiled
public class DelayingBean {
private final int delay;
public DelayingBean() {
this.delay = new Random().nextInt(100);
}
@Profiled
public void doThing() {
try {
Thread.sleep(delay);
} catch (InterruptedException e) {
throw... | apache-2.0 |
qubs/data-centre | climate_data/migrations/0014_auto_20160906_0135.py | 506 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.9 on 2016-09-06 01:35
from __future__ import unicode_literals
from django.db import migrations, models
def load_settings(apps, schema_editor):
Setting = apps.get_model("climate_data", "Setting")
Setting(
name="receiving_data",
value="0"
).s... | apache-2.0 |
kushalagrawal/RestExpress | src/java/com/strategicgains/restexpress/response/ResponseProcessorResolver.java | 2010 | /*
Copyright 2012, Strategic Gains, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | apache-2.0 |
kevinearls/camel | examples/camel-example-fhir-osgi/src/test/java/org/apache/camel/example/fhir/osgi/FhirOsgiIT.java | 3055 | /**
* 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 |
apache/olingo-odata4 | samples/tutorials/p11_batch/src/main/java/myservice/mynamespace/web/DemoServlet.java | 3114 | /*
* 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-2.0 |
googleapis/google-cloud-ruby | google-cloud-resource_settings-v1/proto_docs/README.md | 189 | # Resource Settings V1 Protocol Buffer Documentation
These files are for the YARD documentation of the generated protobuf files.
They are not intended to be required or loaded at runtime.
| apache-2.0 |
orwir/processor | core/src/main/java/ingvar/android/processor/service/Processor.java | 8123 | package ingvar.android.processor.service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Future;
i... | apache-2.0 |
Forexware/quickfixj | src/main/java/quickfix/field/OfferSwapPoints.java | 1279 | /*******************************************************************************
* Copyright (c) quickfixengine.org All rights reserved.
*
* This file is part of the QuickFIX FIX Engine
*
* This file may be distributed under the terms of the quickfixengine.org
* license as defined by quickfixengine.org and ... | apache-2.0 |
GoogleCloudPlatform/prometheus-engine | vendor/github.com/prometheus/prometheus/tsdb/index/postings.go | 16432 | // Copyright 2017 The Prometheus 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 agreed to... | apache-2.0 |
OSEHRA-Sandbox/MOCHA | etc/database/dropFdbDifTables.sql | 9360 | drop table FDB_AGID_AXSID cascade;
drop table FDB_AHFSCLASS_DRUGCONCEPT cascade;
drop table FDB_AHFSCLASSIFICATION_DRUGS cascade;
drop table FDB_AHFSCLASSIFICATION_LINK cascade;
drop table FDB_ALLERGEN_HICSEQNO cascade;
drop table FDB_ALLERGENGROUP cascade;
drop table FDB_ALLERGENGROUP_II cascade;
drop table FDB_ALLERG... | apache-2.0 |
chinadev/Restful | src/Restful/Restful/Collections/Generic/ThreadSafeDictionary.cs | 4347 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
namespace Restful.Collections.Generic
{
/// <summary>
/// 表示键值对的线程安全泛型集合
/// </summary>
/// <typeparam name="TKey">键类型</typeparam>
/// <typeparam name="TValue">值类型</typeparam>
[Serializable]
p... | apache-2.0 |
manolovn/Renderers | sample/src/main/java/com/pedrogomez/renderers/sample/ui/renderers/LiveVideoRenderer.java | 2132 | /*
* Copyright (C) 2014 Pedro Vicente Gómez Sánchez.
*
* 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 |
pivotal-amurmann/geode | geode-core/src/main/java/org/apache/geode/internal/cache/execute/AbstractExecution.java | 17394 | /*
* 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 |
eayunstack/oslo.messaging | oslo/messaging/notify/notifier.py | 11163 |
# Copyright 2011 OpenStack Foundation.
# All Rights Reserved.
# Copyright 2013 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/licens... | apache-2.0 |
Yinux/TranslateProject | published/20220227 12 Simple Tools to Protect Your Privacy.md | 11192 | [#]: subject: "12 Simple Tools to Protect Your Privacy"
[#]: via: "https://itsfoss.com/privacy-tools/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lujun9972"
[#]: translator: "aREversez"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-14337-1.html"
12 款简... | apache-2.0 |
luci/luci-go | server/auth/authdb/validation.go | 4474 | // Copyright 2015 The LUCI 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 agreed... | apache-2.0 |
gavincook/IntelliJ-Platform-SDK-DevGuide | reference_guide/messaging_infrastructure.md | 8689 | ---
title: Messaging infrastructure
---
# Purpose
The purpose of this document is to introduce the messaging infrastructure available in the IntelliJ Platform to developers and plugin writers. It is intended to answer why, when and how to use it.
# Rationale
So, what is messaging in the IntelliJ Platform and why d... | apache-2.0 |
ccccjason/android | wearables/ui/confirm.md | 4419 | # 顯示確認界面
> 編寫: [roya](https://github.com/RoyaAoki) 原文:<https://developer.android.com/training/wearables/ui/confirm.html>
Android Wear應用中的[確認界面(Confirmations)](https://developer.android.com/design/wear/patterns.html#Countdown)通常是全屏或者相比於手持應用佔更大的部分。這樣確保用戶可以一眼看到確認界面(confirmations)且有一個足夠大的觸摸區域用於取消一個操作。
Wearable UI庫幫助我們在A... | apache-2.0 |
flandr/minio | doc.go | 701 | /*
* Minimalist Object Storage, (C) 2014 Minio, 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 applica... | apache-2.0 |
chenyujie/hybrid-murano | tools/lintstack.py | 6700 | #!/usr/bin/env python
# Copyright (c) 2015 OpenStack Foundation.
# 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/LIC... | apache-2.0 |
tomasdubec/openstack-cinder | cinder/tests/api/v1/test_volumes.py | 33659 | # Copyright 2013 Josh Durgin
# 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 a... | apache-2.0 |
dropbox/bazel | src/main/java/com/google/devtools/build/lib/skylarkbuildapi/repository/SkylarkOSApi.java | 1570 | // Copyright 2018 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 |
Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/Resource.java | 17114 | package org.hl7.fhir.dstu3.model;
/*
Copyright (c) 2011+, HL7, Inc.
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 retain the above copyr... | apache-2.0 |
minermoder27/equivalent_exchange | equivalent_exchange/alchemical_chest.lua | 2005 | local modname = "equivalent_exchange:"
-- chest = {
-- talisman_check = function(pos)
-- local meta = minetest.get_meta(pos)
-- local inventory = meta:get_inventory()
-- local size = inventory:get_size("container")
-- for i = 1, size do
-- local stack = inventory:get_stack("from", i)
-- end
-- }
-- ... | apache-2.0 |
HebaKhaled/bposs | src/com.mentor.nucleus.bp.als.oal.test/src/com/mentor/nucleus/bp/als/oal/test/SingleDimensionFixedArrayAssigmentTest_1_Generics.java | 183440 | //=====================================================================
//
//File: $RCSfile: SingleDimensionFixedArrayAssigmentTest_1_Generics.java,v $
//Version: $Revision: 1.5 $
//Modified: $Date: 2013/05/10 04:52:46 $
//
// Generated by: UnitTestGenerator.pl
// Version: 1.9
// Matrix: Sing... | apache-2.0 |
52North/OpenSensorSearch | sor-common/src/main/java/org/n52/sor/client/GetMatchingDefinitionsBean.java | 3262 | /**
* Copyright 2013 52°North Initiative for Geospatial Open Source Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | apache-2.0 |
e-ucm/a2 | routes/applications.js | 25370 | /*
* Copyright 2016 e-UCM (http://www.e-ucm.es/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* This project has received funding from the European Union’s Horizon
* 2020 research and innovation programme under grant agreeme... | apache-2.0 |
codestergit/swift | lib/IRGen/IRGenSIL.cpp | 187807 | //===--- IRGenSIL.cpp - Swift Per-Function IR Generation ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | apache-2.0 |
Ramzi-Alqrainy/SELK | solr-4.10.0/docs/solr-core/org/apache/solr/search/class-use/BitDocSet.html | 6924 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_60) on Tue Aug 26 20:50:07 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>Uses of Class org.a... | apache-2.0 |
malakasilva/carbon-event-processing | components/adaptors/event-input-adaptor/org.wso2.carbon.event.input.adaptor.kafka/src/main/java/org/wso2/carbon/event/input/adaptor/kafka/internal/ds/ConsumerKafkaServiceDS.java | 2647 | /*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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.o... | apache-2.0 |