repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
googleapis/google-cloud-php-osconfig | src/V1/VulnerabilityReport/Vulnerability/Item.php | 7814 | <?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/osconfig/v1/vulnerability.proto
namespace Google\Cloud\OsConfig\V1\VulnerabilityReport\Vulnerability;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* ... | apache-2.0 |
tst-ahernandez/earthenterprise | earth_enterprise/src/fusion/config/gefConfigUtil.cpp | 5241 | // Copyright 2017 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | apache-2.0 |
SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/DataFactory/Management.DataFactory/Generated/Models/SparkLinkedService.cs | 10901 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | apache-2.0 |
mdanielwork/intellij-community | platform/platform-tests/testSrc/com/intellij/psi/search/GlobalSearchScopeTest.java | 7120 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.psi.search;
import com.intellij.openapi.fileTypes.PlainTextLanguage;
import com.intellij.openapi.roots.ModuleRootModificationUtil;
import com.intellij.openap... | apache-2.0 |
ty-po/code-dot-org | i18n/locales/et-EE/hourofcode/whole-school.md | 136 | * * *
layout: wide
* * *
# Kutsu oma terve kool osalema
Teave selle kohta, kuidas terve kool saaks osaleda Koodi Tunnil, tuleb siia. | apache-2.0 |
gingerwizard/elasticsearch | x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/IndexLifecycleFeatureSetUsageTests.java | 2384 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.core.ilm;
import org.elasticsearch.common.io... | apache-2.0 |
alexzaitzev/ignite | modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/pagemem/PagesWriteSpeedBasedThrottle.java | 19621 | /*
* 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 u... | apache-2.0 |
scala/scala | test/files/run/t9920d.scala | 182 | class C { object O }
trait T { _: C =>
def foo: Unit = {
class D { O }
new D
}
}
object Test extends C with T {
def main(args: Array[String]): Unit = {
foo
}
}
| apache-2.0 |
interseroh/document-container-confluence | src/main/resources/com/lofidewanto/demo/resource/themes/interseroh/bootstrap/css/bootstrap.css | 146397 | /*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2017 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*!
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=d369388fc44f055ccd12bec7bfd669af)
* Config saved to config.jso... | apache-2.0 |
jeffvance/origin | pkg/build/admission/defaults/api/v1/types.go | 1882 | package v1
import (
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
buildapi "github.com/openshift/origin/pkg/build/api/v1"
)
// BuildDefaultsConfig controls the default information for Builds
type BuildDefaultsConfig struct {
unversioned.TypeMeta `json:",inline"`
// gitHTTPProxy is th... | apache-2.0 |
AndroidX/androidx | room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/RawQueryTest.java | 11077 | /*
* Copyright 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 applica... | apache-2.0 |
minggLu/bigtop | bigtop_toolchain/bin/puppetize.sh | 2534 | #!/bin/bash
# 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 |
OSBI/oodt | workflow/src/main/java/org/apache/oodt/cas/workflow/engine/ThreadPoolWorkflowEngine.java | 15482 | /**
* 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 |
google/nearby-connections | connections/clients/windows/core_adapter.h | 13399 | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 |
OLIMEX/DIY-LAPTOP | SOFTWARE/A64-TERES/linux-a64/drivers/soc/allwinner/pm/standby/Makefile | 1793 | #makefile for standby.bin
always := standby.code
targets := standby.elf
GCOV_PROFILE=no
#use "-Os" flags.
#Don't use "-O2" flags.
KBUILD_CFLAGS := -g -c -nostdlib -march=armv7-a -D__LINUX_ARM_ARCH__=7 -marm -fno-unwind-tables -fno-asynchronous-unwind-tables -mlittle-endian -O2 -mno-unaligned-access
#Include the cur... | apache-2.0 |
google/gemmlowp | test/test.cc | 75539 | // Copyright 2015 The Gemmlowp 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 ... | apache-2.0 |
juniorug/vidacon | js/myMail/classes/libs/InlineStyle.php | 53238 | <?php
/*
* InlineStyle MIT License
*
* Copyright (c) 2010 Christiaan Baartse
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation th... | apache-2.0 |
hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-45.js | 2309 | /// Copyright (c) 2009 Microsoft Corporation
///
/// 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 copyright notice, this list of conditions and
/// ... | apache-2.0 |
googlefonts/TachyFont | run_time/src/gae_server/www/js/tachyfont/work_queue.js | 5429 | 'use strict';
/**
* @license
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | apache-2.0 |
peter-gergely-horvath/kylo | core/operational-metadata/operational-metadata-jpa/src/main/java/com/thinkbiganalytics/metadata/jpa/app/JpaKyloVersionProvider.java | 3679 | package com.thinkbiganalytics.metadata.jpa.app;
/*-
* #%L
* thinkbig-operational-metadata-jpa
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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 Lic... | apache-2.0 |
Tycheo/coffeemud | com/planet_ink/coffee_mud/Abilities/Spells/Spell_ArcaneMark.java | 3763 | package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | apache-2.0 |
creatorlxd/Space | Source/GameEngine/ThirdParty/FX11/inc/d3dx11effect.h | 54214 | //--------------------------------------------------------------------------------------
// File: D3DX11Effect.h
//
// Direct3D 11 Effect Types & APIs Header
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARR... | apache-2.0 |
yifan-gu/go-oidc | oidc/util.go | 1643 | package oidc
import (
"crypto/rand"
"encoding/base64"
"errors"
"fmt"
"net"
"net/http"
"net/url"
"strings"
"time"
"github.com/coreos/go-oidc/jose"
)
func ParseTokenFromRequest(r *http.Request) (token jose.JWT, err error) {
ah := r.Header.Get("Authorization")
if ah == "" {
err = errors.New("missing Autho... | apache-2.0 |
WebDeltaSync/WebR2sync_plus | node_modules/ali-oss/lib/sts.js | 4037 | 'use strict';
var debug = require('debug')('ali-oss:sts');
var crypto = require('crypto');
var querystring = require('querystring');
var copy = require('copy-to');
var AgentKeepalive = require('agentkeepalive');
var is = require('is-type-of');
var ms = require('humanize-ms');
var urllib = require('urllib');
var globa... | apache-2.0 |
mafulafunk/wicket | wicket-user-guide/examples/MarkupInheritanceExample/src/main/java/org/wicketTutorial/HomePage.java | 1308 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); yo... | apache-2.0 |
pcmoritz/arrow | java/vector/src/main/java/org/apache/arrow/vector/complex/impl/ComplexWriterImpl.java | 5289 | /*
* 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 |
dcbw/kubernetes | test/e2e/service.go | 63318 | /*
Copyright 2014 The Kubernetes 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 applicable law or ag... | apache-2.0 |
fgdorais/lean | src/library/vm/optimize.cpp | 2195 | /*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "library/vm/vm.h"
namespace lean {
static void del_instr_at(unsigned pc, buffer<vm_instr> & code) {
code.erase(pc);
// we must adjust pc o... | apache-2.0 |
damienmg/bazel | src/tools/android/java/com/google/devtools/build/android/desugar/DefaultMethodClassFixer.java | 24887 | // Copyright 2017 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 |
NixaSoftware/CVis | venv/bin/libs/log/doc/html/boost/log/add_common_attributes.html | 4543 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function add_common_attributes</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.h... | apache-2.0 |
christ66/jenkins-artifactory-plugin | src/main/java/org/jfrog/hudson/util/CredentialManager.java | 3973 | /*
* Copyright (C) 2010 JFrog Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 |
tilmannOSG/jerryscript | tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js | 653 | // Copyright 2014 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | apache-2.0 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-dms/include/aws/dms/model/StopReplicationTaskResult.h | 1986 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
#include <aws/dms/model/ReplicationTask.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceR... | apache-2.0 |
rahmalik/trafficserver | iocore/eventsystem/UnixEThread.cc | 9183 | /** @file
A brief file description
@section license License
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 und... | apache-2.0 |
shakamunyi/mesos | src/log/tool/benchmark.cpp | 7142 | // 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 |
SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/Automation/Management.Automation/Generated/Models/ConnectionTypeAssociationProperty.cs | 1705 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | apache-2.0 |
dkhwangbo/druid | processing/src/test/java/org/apache/druid/query/groupby/epinephelinae/BufferArrayGrouperTest.java | 3937 | /*
* 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 |
cosmoharrigan/rl-viz | projects/rlVizLibJava/src/rlVizLib/visualization/AgentOnValueFunctionVizComponent.java | 3132 | /*
Copyright 2007 Brian Tanner
brian@tannerpages.com
http://brian.tannerpages.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
Unless required by appl... | apache-2.0 |
tascape/th-junit4 | src/main/java/junit/runner/Version.java | 279 | package junit.runner;
/**
* This class defines the current version of JUnit
*/
public class Version {
private Version() {
// don't instantiate
}
public static String id() {
return "4.12";
}
public static void main(String[] args) {
System.out.println(id());
}
}
| apache-2.0 |
arostm/mbed-os | drivers/BusInOut.h | 4420 | /* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM 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 re... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-importexport/source/model/GetStatusResult.cpp | 5140 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/importexport/model/GetStatusResult.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/cor... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-ebs/include/aws/ebs/model/ValidationException.h | 3057 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ebs/EBS_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ebs/model/ValidationExceptionReason.h>
#include <utility>
namespace Aws
{
namespace Utils
... | apache-2.0 |
rafd123/aws-sdk-net | sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutACLRequestMarshaller.cs | 8804 | /*
* Copyright 2010-2013 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 |
nat2013/netty | codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Connection.java | 10653 | /*
* Copyright 2014 The Netty Project
*
* The Netty Project 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 re... | apache-2.0 |
diorcety/intellij-community | platform/util/src/com/intellij/util/io/IOUtil.java | 7277 | /*
* Copyright 2000-2009 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 |
mc-server/MCServer | src/Mobs/AggressiveMonster.h | 898 |
#pragma once
#include "Monster.h"
class cAggressiveMonster:
public cMonster
{
using Super = cMonster;
public:
cAggressiveMonster(
const AString & a_ConfigName,
eMonsterType a_MobType,
const AString & a_SoundHurt,
const AString & a_SoundDeath,
const AString & a_SoundAmbient,
float a_Width,
floa... | apache-2.0 |
google/aistreams | third_party/gstreamer/plugins/elements/gstfilesrc.c | 17608 | /* GStreamer
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
* 2000,2005 Wim Taymans <wim@fluendo.com>
*
* gstfilesrc.c:
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free ... | apache-2.0 |
svn2github/pixels | src/main/java/com/jhlabs/image/BlockFilter.java | 3064 | /*
Copyright 2006 Jerry Huxtable
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
d... | apache-2.0 |
Distrotech/fop | src/java/org/apache/fop/pdf/PDFName.java | 3799 | /*
* 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 |
elizabethso/sdcct | sdcct-core/src/main/java/gov/hhs/onc/sdcct/ws/impl/SdcctConduitSelector.java | 455 | package gov.hhs.onc.sdcct.ws.impl;
import gov.hhs.onc.sdcct.logging.impl.TxTaskExecutor;
import org.apache.cxf.endpoint.DeferredConduitSelector;
public class SdcctConduitSelector extends DeferredConduitSelector {
private TxTaskExecutor taskExec;
public SdcctConduitSelector(TxTaskExecutor taskExec) {
... | apache-2.0 |
symplified/Symplified.Auth | lib/mono/mcs/class/System.Security/System.Security.Cryptography.Xml/CipherReference.cs | 2802 | //
// CipherReference.cs - CipherReference implementation for XML Encryption
// http://www.w3.org/2001/04/xmlenc#sec-CipherReference
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2004
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this... | apache-2.0 |
cshannon/activemq-artemis | docs/user-manual/en/configuration-index.md | 37772 | Configuration Reference
=======================
This section is a quick index for looking up configuration. Click on the
element name to go to the specific chapter.
Server Configuration
====================
broker.xml
--------------------------
This is the main core server configuration file which contains to eleme... | apache-2.0 |
Jun1113/MapReduce-Example | docs/api/org/apache/hadoop/io/compress/bzip2/package-tree.html | 9144 | <!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 Tue Feb 14 08:16:36 UTC 2012 -->
<TITLE>
org.apache.hadoop.io.compress.bzip2 Class Hierarchy (Hadoop 1.0.1 API)
</TITLE>
<META NAME="date" CO... | apache-2.0 |
apache/curator | curator-x-async/src/main/java/org/apache/curator/x/async/modeled/details/ModelStage.java | 5444 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apache-2.0 |
googleapis/google-cloud-php-storage | tests/System/ManageBucketsTest.php | 9520 | <?php
/**
* Copyright 2016 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... | apache-2.0 |
jdamick/denominator | core/src/test/java/denominator/DenominatorTest.java | 2477 | package denominator;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import dagger.ObjectGraph;
import denominator.mock.MockProvider;
import static org.assertj.core.api.Assertions.assertThat;
public class DenominatorTest {
@Rule
public final ExpectedException thrown = Ex... | apache-2.0 |
jayantgolhar/Hadoop-0.21.0 | mapred/docs/api/org/apache/hadoop/examples/dancing/class-use/DistributedPentomino.PentMap.html | 6311 | <!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_14) on Tue Aug 17 01:07:09 EDT 2010 -->
<TITLE>
Uses of Class org.apache.hadoop.examples.dancing.DistributedPentomino.PentMap (Hadoop-Mapred 0.21.0 A... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-marketplace-entitlement/include/aws/marketplace-entitlement/model/Entitlement.h | 13956 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/marketplace-entitlement/MarketplaceEntitlementService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/marketplace-entitlement/model/EntitlementValu... | apache-2.0 |
floodlight/loxigen-artifacts | openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver15/OFGroupModVer15.java | 3873 | // 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... | apache-2.0 |
liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/registry/formatter/DataFormatterProfile.java | 8702 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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
*
* http://www.apache.org/license... | apache-2.0 |
MaxRau/CoffeeMud | com/planet_ink/coffee_mud/Races/GiantAmphibian.java | 2689 | package com.planet_ink.coffee_mud.Races;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet... | apache-2.0 |
subaan/display | app/controllers/catalog/platforms_controller.rb | 991 | class Catalog::PlatformsController < Base::PlatformsController
before_filter :find_catalog_and_platform
def index
@platforms = Cms::Relation.all(:params => {:ciId => @catalog.ciId,
:direction => 'from',
... | apache-2.0 |
adragomir/dcos-commons | sdk/scheduler/src/main/java/com/mesosphere/sdk/specification/yaml/RawPort.java | 682 | package com.mesosphere.sdk.specification.yaml;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Raw YAML port.
*/
public class RawPort {
private final Integer port;
private final String envKey;
private final RawVip vip;
private RawPort(
@JsonProperty("port") Integer port,
... | apache-2.0 |
barakb/gigaspaces-wiki-jekyll | xap101adm/visualizing-cluster-groups-and-members---gigaspaces-browser.markdown | 2305 | ---
layout: post101
title: Groups and Members
categories: XAP101ADM
parent: cluster-view---gigaspaces-browser.html
weight: 400
---
{% summary %}Viewing clustered groups, clustered spaces and URLs, and accessing information views for a clustered space.{% endsummary %}
When you click the cluster node in ... | apache-2.0 |
gomex/devopsdays-web | content/events/2019-raleigh/speakers/ricardo-green.md | 796 | +++
Title = "Ricardo Green"
Twitter = "RicardoWins"
image = "ricardo-green.png"
type = "speaker"
linktitle = "ricardo-green"
+++
Ricardo Green is a cloud technology evangelist and senior solutions architect with Fugue. Prior to joining Fugue, he worked in the cloud business unit of a major telecommunications company ... | apache-2.0 |
linzhaoming/origin | vendor/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customimagesearch/client.go | 1734 | // Package customimagesearch implements the Azure ARM Customimagesearch service API version 1.0.
//
// The Bing Custom Image Search API lets you send an image search query to Bing and get back image search results
// customized to meet your custom search definition.
package customimagesearch
// Copyright (c) Microsoft... | apache-2.0 |
aidanhs/blockade | blockade/tests/__init__.py | 731 | #
# Copyright (C) 2014 Dell, 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 wri... | apache-2.0 |
tboyce021/home-assistant | tests/components/fan/test_init.py | 781 | """Tests for fan platforms."""
import pytest
from homeassistant.components.fan import FanEntity
class BaseFan(FanEntity):
"""Implementation of the abstract FanEntity."""
def __init__(self):
"""Initialize the fan."""
def test_fanentity():
"""Test fan entity methods."""
fan = BaseFan()
... | apache-2.0 |
thrust/thrust | thrust/detail/complex/arithmetic.h | 7395 | /*
* Copyright 2008-2013 NVIDIA Corporation
* Copyright 2013 Filipe RNC Maia
*
* 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 |
hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.10/15.10.4/15.10.4.1-2.js | 2097 | /// Copyright (c) 2009 Microsoft Corporation
///
/// 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 copyright notice, this list of conditions and
/// ... | apache-2.0 |
leafclick/intellij-community | plugins/textmate/lib/bundles/git/src/statusbar.ts | 5303 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | apache-2.0 |
davinwang/caffe2 | docker/ubuntu-16.04-cpu-minimal/Dockerfile | 1104 | FROM ubuntu:16.04
LABEL maintainer="aaronmarkham@fb.com"
# caffe2 install with cpu support
########## REQUIRED DEPENDENCIES ################
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
curl \
git \
libgoogle-glog-dev \
libprotobuf-dev \
pyth... | apache-2.0 |
charliemblack/geode | geode-core/src/test/java/org/apache/geode/distributed/LocatorLauncherIntegrationTestCase.java | 5865 | /*
* 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 |
gomex/devopsdays-web | content/events/2019-ghent/program/sasha-rosenbaum.md | 1072 | +++
Talk_date = ""
Talk_start_time = ""
Talk_end_time = ""
Title = "Admitting that hard problems are hard"
Type = "talk"
Speakers = ["sasha-rosenbaum"]
+++
In my 14 years in the industry, I watched the technology landscape become more and more complex, with new tools and methodologies emerging and fading away every y... | apache-2.0 |
xiaoxq/apollo | modules/planning/open_space/trajectory_smoother/distance_approach_interface.h | 4825 | /******************************************************************************
* Copyright 2019 The Apollo 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
... | apache-2.0 |
massakam/pulsar | site2/website/versioned_docs/version-2.6.0/getting-started-standalone.md | 10786 | ---
id: version-2.6.0-standalone
title: Set up a standalone Pulsar locally
sidebar_label: Run Pulsar locally
original_id: standalone
---
For local development and testing, you can run Pulsar in standalone mode on your machine. The standalone mode includes a Pulsar broker, the necessary ZooKeeper and BookKeeper compone... | apache-2.0 |
menglingwei/denverdino.github.io | docker-cloud/getting-started/deploy-app/2_set_up.md | 3234 | ---
description: Set up the application
keywords: Python, application, setup
redirect_from:
- /docker-cloud/getting-started/python/2_set_up/
- /docker-cloud/getting-started/golang/2_set_up/
title: Set up your environment
---
In this step you install the Docker Cloud CLI so interact with the service using your command ... | apache-2.0 |
awslabs/aws-sdk-cpp | aws-cpp-sdk-application-insights/include/aws/application-insights/model/ApplicationComponent.h | 12743 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/application-insights/model/OsType.h>
#include <aws/applica... | apache-2.0 |
roberthafner/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti5/engine/impl/json/JsonObjectConverter.java | 1184 | /* 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 |
KrithikaGanesh/cmb | src/com/comcast/cns/controller/CNSRawMessageDeliveryPolicyPage.java | 5387 | /**
* Copyright 2012 Comcast Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | apache-2.0 |
fogbeam/cas_mirror | support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/ticket/BaseTokenSigningAndEncryptionService.java | 5013 | package org.apereo.cas.ticket;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.cas.token.JwtBuilder;
import org.apereo.cas.util.EncodingUtils;
import com.nimbusds.jwt.JWTClaimsSet;
import lombok.AccessLevel;
import lombok.Get... | apache-2.0 |
chenc10/Spark-PAF | examples/src/main/java/org/apache/spark/examples/ml/JavaPolynomialExpansionExample.java | 2545 | /*
* 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 |
grpc/grpc | src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h | 3131 | /* This file was generated by upbc (the upb compiler) from the input
* file:
*
* envoy/extensions/transport_sockets/tls/v3/common.proto
*
* Do not edit -- your changes will be discarded when the file is
* regenerated. */
#ifndef ENVOY_EXTENSIONS_TRANSPORT_SOCKETS_TLS_V3_COMMON_PROTO_UPBDEFS_H_
#define ENVOY_... | apache-2.0 |
nmldiegues/stibt | infinispan/core/src/test/java/org/infinispan/loaders/decorators/AsyncStoreTest.java | 24964 | /*
* JBoss, Home of Professional Open Source
* Copyright 2009 Red Hat Inc. and/or its affiliates and other
* contributors as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a full listing of
* individual contributors.
*
* This is free software; you can redistri... | apache-2.0 |
papicella/snappy-store | tests/core/src/main/java/versioning/newWan/WANConflictResolver.java | 2212 | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | apache-2.0 |
dancollins/libnarm | vendor/STM32F0xx_StdPeriph_Lib_V1.3.1/Projects/STM32F0xx_StdPeriph_Examples/NVIC/NVIC_WFI_Mode/main.h | 1930 | /**
******************************************************************************
* @file NVIC/NVIC_WFI_Mode/main.h
* @author MCD Application Team
* @version V1.3.0
* @date 16-January-2014
* @brief Header for main.c module
*****************************************************************... | apache-2.0 |
jdel/clairctl | vendor/github.com/opencontainers/runtime-spec/Makefile | 3244 |
EPOCH_TEST_COMMIT := 78e6667ae2d67aad100b28ee9580b41b7a24e667
OUTPUT_DIRNAME ?= output/
DOC_FILENAME ?= oci-runtime-spec
DOCKER ?= $(shell command -v docker 2>/dev/null)
PANDOC ?= $(shell command -v pandoc 2>/dev/null)
ifeq "$(strip $(PANDOC))" ''
ifneq "$(strip $(DOCKER))" ''
PANDOC = $(DOCKER) run \
-it ... | apache-2.0 |
lukecwik/incubator-beam | sdks/java/io/kinesis/src/main/java/org/apache/beam/sdk/io/kinesis/BasicKinesisProvider.java | 4391 | /*
* 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 |
AdrienKuhn/hackazon | modules/vulninjection/classes/VulnModule/Vulnerability/CSRF.php | 695 | <?php
/**
* Created by IntelliJ IDEA.
* User: Nikolay Chervyakov
* Date: 02.12.2014
* Time: 18:21
*/
namespace VulnModule\Vulnerability;
use VulnModule\Vulnerability;
/**
* Class SQL
* @package VulnModule\Vulnerability
* @Vuln\Vulnerability(name="Cross-site request forgery", "A type of ma... | apache-2.0 |
Qi4j/qi4j-sdk | core/api/src/main/java/org/apache/polygene/api/service/qualifier/Available.java | 1786 | /*
* 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 |
dillia23/code-dot-org | pegasus/sites.v3/hourofcode.com/i18n/public/bg/promote/proclamation.md | 7354 | ---
title: <%= hoc_s(:title_proclamation) %>
layout: wide
nav: promote_nav
---
### По-долу е примерна резолюция в подкрепа на CSEW и нейните цели, които могат да бъдат използвани от държавните и местните законодатели.
[Къща, СЕНАТА, държава, област или град резолюция или ОБЯВЯВЛЕНИЕ ###] – като има предвид, че ... | apache-2.0 |
mboudreau/Alternator | src/test/java/com/michelboudreau/test/TestClassWithHashRangeKey.java | 1515 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.michelboudreau.test;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodb.datamod... | apache-2.0 |
datamountaineer/stream-reactor | kafka-connect-hive/src/test/scala/com/landoop/streamreactor/connect/hive/source/offset/MockOffsetStorageReader.scala | 803 | package com.landoop.streamreactor.connect.hive.source.offset
import java.util
import com.landoop.streamreactor.connect.hive.source.{SourceOffset, SourcePartition, fromSourceOffset, toSourcePartition}
import org.apache.kafka.connect.storage.OffsetStorageReader
import scala.collection.JavaConverters._
class MockOffse... | apache-2.0 |
dotty-staging/dotty | tests/neg/i10605.scala | 289 | def xa[A, B, X, Y](f: X => ((A, B) ?=> Y)) =
(z: X) => (a: A, b: B) => f(z)(using a, b)
def superxa1(using String, Int): Nothing = ???
def superxa2(using String, Int): Unit = ???
def main =
xa(Function.const(superxa1)(_: Int)) // error
xa(Function.const(superxa2)(_: Int)) // error | apache-2.0 |
nvoron23/socialite | src/socialite/collection/SLongIntHashMap.java | 886 | package socialite.collection;
import gnu.trove.map.hash.TLongIntHashMap;
public class SLongIntHashMap extends TLongIntHashMap {
long prevKey;
int prevVal;
public SLongIntHashMap(int initCapacity, float f, long noEntryKey, int noEntryValue) {
super(initCapacity, f, noEntryKey, noEntryValue);
prevKey = noEntry... | apache-2.0 |
joelaha/devopsdays-web | static/events/2015-newyork/proposals/AgentOfChange/index.html | 14772 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >
<meta name="google-site-verification" content="GcrnbgZkRkwn51jQmX7QBaMKSymq1h-iG8G_xeILIkM" />
<title>Agent of Change? Here's Your Hel... | apache-2.0 |
apache/syncope | client/idrepo/console/src/main/java/org/apache/syncope/client/console/wicket/markup/html/form/XMLEditorPanel.java | 2701 | /*
* 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 |
papicella/snappy-store | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/management/AggregateStatementMXBean.java | 4681 | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | apache-2.0 |
slozier/ironpython2 | Src/StdLib/Lib/test/inspect_fodder.py | 967 | # line 1
'A module docstring.'
import sys, inspect
# line 5
# line 7
def spam(a, b, c, d=3, (e, (f,))=(4, (5,)), *g, **h):
eggs(b + d, c + f)
# line 11
def eggs(x, y):
"A docstring."
global fr, st
fr = inspect.currentframe()
st = inspect.stack()
p = x
q = y // 0
# line 20
class StupidGit... | apache-2.0 |
byronmccollum/rpc-openstack | maas/plugins/ceph_monitoring.py | 6319 | #!/usr/bin/env python
# Copyright 2015, Rackspace US, 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 applicabl... | apache-2.0 |