code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
<!-- Copyright 2019 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 writing, software d...
googleworkspace/browser-samples
drive/picker/helloworld.html
HTML
apache-2.0
3,433
package examples.Bricklet.Moisture; import com.tinkerforge.BrickletMoisture; import com.tinkerforge.IPConnection; public class ExampleSimple { private static final String host = "localhost"; private static final int port = 4223; private static final String UID = "XYZ"; // Change to your UID // Note: To make the ...
jaggr2/ch.bfh.fbi.mobiComp.17herz
com.tinkerforge/src/examples/Bricklet/Moisture/ExampleSimple.java
Java
apache-2.0
1,020
/** * Copyright 2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
alyiwang/WhereHows
wherehows-ingestion/src/test/java/wherehows/ingestion/converters/KafkaLogCompactionConverterTest.java
Java
apache-2.0
2,728
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IBApi { ...
AvengersPy/MyPairs
testIBPython/csharpclient/EClientErrors.cs
C#
apache-2.0
6,913
/** * 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...
engagepoint/camel
camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
Java
apache-2.0
2,322
/** * 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 m...
RanjithKumar5550/RanMifos
fineract-provider/src/main/java/org/apache/fineract/template/api/TemplatesApiResource.java
Java
apache-2.0
9,902
#import <Foundation/Foundation.h> #import "WXApmProtocol.h" @interface WXApmImpl : NSObject <WXApmProtocol> @end
Hanks10100/incubator-weex
ios/playground/WeexDemo/extend/handler/WXApmImpl.h
C
apache-2.0
115
/* * Copyright (C) 2015 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
alibaba/weex
weex_core/Source/include/JavaScriptCore/dfg/DFGAdaptiveStructureWatchpoint.h
C
apache-2.0
1,892
/* * 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 * distri...
amdtelecom/jsmpp
jsmpp/src/main/java/org/jsmpp/bean/SimpleDataCoding.java
Java
apache-2.0
3,967
/* File: CASharedLibrary.h Abstract: Part of CoreAudio Utility Classes Version: 1.0.3 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of thi...
samplecount/methcla
external_libraries/CoreAudioUtilityClasses/CoreAudio/PublicUtility/CASharedLibrary.h
C
apache-2.0
3,085
# # 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...
airbnb/airflow
tests/providers/google/cloud/operators/test_cloud_memorystore_system.py
Python
apache-2.0
2,251
/* * Copyright 2013-2014 Richard M. Hightower * 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...
wprice/boon
boon/src/main/java/org/boon/validation/annotations/Email.java
Java
apache-2.0
2,011
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
signed/intellij-community
platform/usageView/src/com/intellij/usages/impl/rules/NonCodeUsageGroupingRule.java
Java
apache-2.0
4,612
(function () { function remap(fromValue, fromMin, fromMax, toMin, toMax) { // Compute the range of the data var fromRange = fromMax - fromMin, toRange = toMax - toMin, toValue; // If either range is 0, then the value can only be mapped to 1 value if (fromRange ==...
puyanLiu/LPYFramework
前端练习/10canvas/文档/KineticJS-master/src/filters/Enhance.js
JavaScript
apache-2.0
4,121
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CloudWatch Reference &mdash; boto v2.33.0</title> ...
yg257/Pangea
templates/root/ec2/lib/boto-2.34.0/docs/build/html/ref/cloudwatch.html
HTML
apache-2.0
58,809
import pytest from api.base.settings.defaults import API_BASE from framework.auth.core import Auth from osf.models import AbstractNode, NodeLog from osf.utils import permissions from osf.utils.sanitize import strip_html from osf_tests.factories import ( NodeFactory, ProjectFactory, OSFGroupFactory, Reg...
saradbowman/osf.io
api_tests/nodes/views/test_node_children_list.py
Python
apache-2.0
29,554
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
flofreud/aws-sdk-java
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/transform/CreateAliasResultJsonUnmarshaller.java
Java
apache-2.0
2,842
// 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...
dropbox/bazel
src/tools/android/java/com/google/devtools/build/android/desugar/io/ZipOutputFileProvider.java
Java
apache-2.0
2,761
# Copyright 2017 The Kubernetes 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 ...
jingxu97/kubernetes
cluster/addons/fluentd-elasticsearch/es-image/Makefile
Makefile
apache-2.0
872
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The String.prototype.charAt.length property has the attribute DontEnum es5id: 15.5.4.4_A8 description: > Checking if enumerating the String.prototype.charAt.length pro...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/String/prototype/charAt/S15.5.4.4_A8.js
JavaScript
apache-2.0
1,510
package imagestreamimport import ( "fmt" "net/http" "time" "github.com/golang/glog" gocontext "golang.org/x/net/context" kapierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/diff" utilruntime "k8s.io/ap...
chlunde/origin
pkg/image/registry/imagestreamimport/rest.go
GO
apache-2.0
18,453
# Copyright 2016 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 writing,...
googlefonts/oss-fuzz
projects/file/Dockerfile
Dockerfile
apache-2.0
884
/* * Scala.js (https://www.scala-js.org/) * * Copyright EPFL. * * Licensed under Apache License 2.0 * (https://www.apache.org/licenses/LICENSE-2.0). * * See the NOTICE file distributed with this work for * additional information regarding copyright ownership. */ package scala.scalajs.js.annotation import sc...
scala-js/scala-js
library/src/main/scala/scala/scalajs/js/annotation/JSGlobal.scala
Scala
apache-2.0
1,358
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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...
project-ncl/pnc
build-coordinator/src/test/java/org/jboss/pnc/coordinator/test/OutsideGroupDependentConfigsTest.java
Java
apache-2.0
3,646
/** @prettier */ import { expect } from 'chai'; import { EMPTY, of, EmptyError, defer, throwError, Observable } from 'rxjs'; import { throwIfEmpty, mergeMap, retry, take } from 'rxjs/operators'; import { TestScheduler } from 'rxjs/testing'; import { observableMatcher } from '../helpers/observableMatcher'; /** @test {t...
ReactiveX/rxjs
spec/operators/throwIfEmpty-spec.ts
TypeScript
apache-2.0
6,821
-------------------------------------------------------------------------------- ## Treebank Statistics (UD_Hungarian) This relation is universal. 1 nodes (0%) are attached to their parents as `discourse`. 1 instances of `discourse` (100%) are right-to-left (child precedes parent). Average distance between parent...
fginter/docs-fginterfork
_includes/stats/hu/dep/discourse.md
Markdown
apache-2.0
3,255
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "hive_metastore_types.h" #include <algorithm> namespace Apache { namespace Hadoop { namespace Hive { int _kHiveObjectTypeValues[] = { HiveObjectType::GLOBAL, HiveObje...
WANdisco/amplab-hive
metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
C++
apache-2.0
336,106
# $NetBSD: Makefile,v 1.2 2011/09/08 18:44:38 jmmv Exp $ NOMAN= # defined .include <bsd.own.mk> ATFFILE= no TESTSDIR= ${TESTSBASE}/lib/libcurses FILESDIR= ${TESTSDIR}/check_files FILES= curses_start.chk FILES+= addch.chk FILES+= addchstr.chk FILES+= addstr.chk FILES+= attributes.chk FILES+= bell.chk FILES+=...
veritas-shine/minix3-rpi
tests/lib/libcurses/check_files/Makefile
Makefile
apache-2.0
1,599
# # Copyright 2017 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
maksimatveev/centreon-plugins
storage/hp/lefthand/snmp/mode/components/device.pm
Perl
apache-2.0
6,350
// This file is part of libfringe, a low-level green threading library. // Copyright (c) whitequark <whitequark@whitequark.org> // Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or // http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or // http://opensource.org/licenses/MIT>, at y...
nathan7/libfringe
tests/iterator.rs
Rust
apache-2.0
810
#!/usr/bin/env bash ## Users, roles, tenants ## adminUser=${1:-neutron} adminRole=admin l3AdminTenant=L3AdminTenant serviceTenant=service # Below user is just for demos so that we don't see all logical instances. regularUser=viewer password=viewer echo -n "Checking if $l3AdminTenant tenant exists ..." tenantId=`open...
Gitweijie/first_project
devstack/csr1kv/setup_keystone_for_csr1kv_l3.sh
Shell
apache-2.0
2,739
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
Herve-M/sablecc
src/org/sablecc/sablecc/semantics/Context.java
Java
apache-2.0
794
package network // 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 // // Unl...
wojtekzw/imageproxy
vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-03-01/network/interfaces.go
GO
apache-2.0
42,507
/* * 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...
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/operator/OperatorStats.java
Java
apache-2.0
15,302
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Class to compute the difference between two FSAs. #ifndef FST_DIFFERENCE_H_ #define FST_DIFFERENCE_H_ #include <memory> #include <fst/cache.h> #include <fst/complement.h> #include <fst/compose.h> namespac...
wiltonlazary/arangodb
3rdParty/iresearch/external/openfst/fst/difference.h
C
apache-2.0
6,964
/* * 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...
nezirus/elasticsearch
core/src/test/java/org/elasticsearch/client/AbstractClientHeadersTestCase.java
Java
apache-2.0
9,899
// Copyright 2014 The Oppia 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 ap...
amgowano/oppia
core/tests/protractor_utils/general.js
JavaScript
apache-2.0
6,076
package org.jetbrains.plugins.scala.lang.formatter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.editor.impl.DocumentImpl; impo...
ilinum/intellij-scala
test/org/jetbrains/plugins/scala/lang/formatter/AbstractScalaFormatterTestBase.java
Java
apache-2.0
7,072
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>HashGroupify (ARX Developer Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <script t...
TheRealRasu/arx
doc/dev/org/deidentifier/arx/framework/check/groupify/HashGroupify.html
HTML
apache-2.0
28,537
<?php /** * 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"...
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/src/social/model/Activity.php
PHP
apache-2.0
4,000
/* * 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...
liveqmock/platform-tools-idea
platform/indexing-impl/src/com/intellij/openapi/module/impl/scopes/LibraryRuntimeClasspathScope.java
Java
apache-2.0
6,421
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 * Unles...
cf0566/CarMarket
src/com/easemob/chatuidemo/widget/photoview/ScrollerProxy.java
Java
apache-2.0
3,945
/* * 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 ...
implydata/druid
sql/src/main/java/org/apache/druid/sql/calcite/expression/builtin/LikeOperatorConversion.java
Java
apache-2.0
3,331
/// 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 /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-37.js
JavaScript
apache-2.0
2,322
# Apache Aurora development environment This directory contains [Packer](https://packer.io) scripts to build and distribute the base development environment for Aurora. The goal of this environment is to pre-fetch dependencies and artifacts needed for the integration test environment so that `vagrant up` is cheap aft...
apache/aurora
build-support/packer/README.md
Markdown
apache-2.0
3,869
/* * Copyright (C) 2015 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...
DavesMan/guava
guava-testlib/src/com/google/common/collect/testing/ConcurrentNavigableMapTestSuiteBuilder.java
Java
apache-2.0
1,706
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
j16r/rust
src/test/run-pass/issue-2834.rs
Rust
apache-2.0
780
/* * 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 * "Licen...
ankitsinghal/phoenix
phoenix-pherf/src/main/java/org/apache/phoenix/pherf/rules/SequentialIntegerDataGenerator.java
Java
apache-2.0
2,431
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.action.VdcActionParametersBase; public abstract class ConfigCommandBase<T extends VdcActionParametersBase> extends CommandBase<T> { protected ConfigCommandBase(T parameters) { super(parameters); } }
Dhandapani/gluster-ovirt
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ConfigCommandBase.java
Java
apache-2.0
288
/* * 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 ...
christophd/camel
components/camel-infinispan/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/remote/InfinispanRemoteConfigurationIT.java
Java
apache-2.0
4,826
package animate import ( "testing" ) func TestGeocode(t *testing.T) { testData := []struct { text string }{ {"funny cat"}, } command := Animate() for _, d := range testData { rsp, err := command.Exec("animate", d.text) if err != nil { t.Fatal(err) } if rsp == nil { t.Fatal("expected result,...
yzprofile/go-plugins
micro/bot/command/animate/animate_test.go
GO
apache-2.0
340
// Copyright 2015 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...
damienmg/bazel
src/test/java/com/google/devtools/build/lib/profiler/ProfilerTest.java
Java
apache-2.0
19,092
/* * 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.runtimefields.query; import org.apache.lucen...
nknize/elasticsearch
x-pack/plugin/runtime-fields/src/main/java/org/elasticsearch/xpack/runtimefields/query/StringScriptFieldRangeQuery.java
Java
apache-2.0
3,629
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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...
Ernesto99/IdentityManager
source/Core/Extensions/IdentityManagerResultExtensions.cs
C#
apache-2.0
1,056
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
distro/wildfly8/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Java
apache-2.0
5,340
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, 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...
steveturner/datadistrib4j
srcJava/org/omg/dds/type/typeobject/UnionType.java
Java
apache-2.0
1,765
/*------------------------------------------------------------------------- * * ipc.h * POSTGRES inter-process communication definitions. * * This file is misnamed, as it no longer has much of anything directly * to do with IPC. The functionality here is concerned with managing * exit-time cleanup for either ...
bubichain/blockchain
src/3rd/win32/include/postgresql/server/storage/ipc.h
C
apache-2.0
2,660
#!/bin/bash . ./setenv C_BIND=`uname -n` C_PORT="1528" S_PATH=$S_HOME/product-gfxd/bin #echo "creating schema" $S_PATH/gfxd run -file=schema_temp.sql -client-port=$C_PORT -client-bind-address=$C_BIND
SnappyDataInc/snappy-store
gemfirexd/tools/src/test/resources/lib/diskCompatibilityScripts/exec-create-temp-schema.sh
Shell
apache-2.0
204
package alien4cloud.tosca.parser.postprocess; import static alien4cloud.utils.AlienUtils.safe; import javax.annotation.Resource; import org.alien4cloud.tosca.model.types.NodeType; import org.springframework.stereotype.Component; /** * Post process a node type. */ @Component public class NodeTypePostProcessor impl...
alien4cloud/alien4cloud
alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/postprocess/NodeTypePostProcessor.java
Java
apache-2.0
784
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package protoutil import ( "bytes" "crypto/sha256" "encoding/asn1" "math/big" "github.com/golang/protobuf/proto" cb "github.com/hyperledger/fabric-protos-go/common" "github.com/pkg/errors" ) // NewBlock constructs a block wit...
hyperledger/fabric
protoutil/blockutils.go
GO
apache-2.0
6,557
/* * Copyright 2021 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 in w...
emeroad/pinpoint
profiler/src/main/java/com/navercorp/pinpoint/profiler/plugin/config/DefaultPluginLoadingConfig.java
Java
apache-2.0
2,527
/* * 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 ...
freeVM/freeVM
enhanced/java/jdktools/modules/jpda/src/main/native/jdwp/common/agent/core/OptionParser.cpp
C++
apache-2.0
5,843
package org.jaudiotagger.audio.mp4; import org.jaudiotagger.audio.generic.GenericAudioHeader; import org.jaudiotagger.audio.mp4.atom.Mp4EsdsBox; /** * Store some additional attributes not available for all audio types */ public class Mp4AudioHeader extends GenericAudioHeader { /** * The key for the kind fi...
dubenju/javay
src/java/org/jaudiotagger/audio/mp4/Mp4AudioHeader.java
Java
apache-2.0
1,542
######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft Corporation # # All rights reserved. # Licensed under the Apache License, Version 2.0 (the ""License""); # you may not use this file except in compliance with the Licen...
bogdancarpusor/lis-test
WS2012R2/lisa/setupscripts/SR-IOV_Ping_DisableVF.ps1
PowerShell
apache-2.0
7,327
/** * @license * Copyright 2020 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.crunch.lite', name: 'MinMaxCapabilityRefinement', refines: 'foam.nanos.crunch.MinMaxCapability', implements: [ 'foam.nanos.crunch.lite.CapableCompati...
jacksonic/vjlofvhjfgm
src/foam/nanos/crunch/lite/MinMaxCapabilityRefinement.js
JavaScript
apache-2.0
3,413
/* * Copyright 2016 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
VibyJocke/gocd
common/src/com/thoughtworks/go/serverhealth/HealthStateScope.java
Java
apache-2.0
9,950
/* * Copyright 2019 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 app...
porcelli-forks/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-marshalling/src/test/java/org/kie/workbench/common/stunner/bpmn/client/marshall/converters/customproperties/AssociationListTest.java
Java
apache-2.0
1,713
/* * Copyright 2008-2013 LinkedIn, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
HB-SI/voldemort
src/java/voldemort/cluster/Cluster.java
Java
apache-2.0
13,745
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Class org.deidentifier.arx.gui.view.impl.define.ViewAttributeDefinition (ARX GUI Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../...
TheRealRasu/arx
doc/gui/org/deidentifier/arx/gui/view/impl/define/class-use/ViewAttributeDefinition.html
HTML
apache-2.0
4,502
<?php final class PhabricatorSetupCheckRepositories extends PhabricatorSetupCheck { protected function executeChecks() { $repo_path = PhabricatorEnv::getEnvConfig('repository.default-local-path'); if (!$repo_path) { $summary = pht( "The configuration option '%s' is not set.", 'reposit...
WuJiahu/phabricator
src/applications/config/check/PhabricatorSetupCheckRepositories.php
PHP
apache-2.0
1,597
/** * Copyright 2014-2016 CyberVision, 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...
Deepnekroz/kaa
server/common/nosql/cassandra-dao/src/test/java/org/kaaproject/kaa/server/common/nosql/cassandra/dao/model/CassandraEndpointUserTest.java
Java
apache-2.0
999
# 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 applicable law or agreed to in wri...
samstav/fastfood
fastfood/book.py
Python
apache-2.0
10,125
/* * 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...
qwerty4030/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/CompositeValuesComparator.java
Java
apache-2.0
5,333
<?php App::uses('AppModel', 'Model'); App::uses('SimplePasswordHasher', 'Controller/Component/Auth'); class Product extends AppModel { }
katedoloverio/PCInventory
app/Model/Product.php
PHP
apache-2.0
138
class UsersController < ApplicationController include BatchProcessable # special find method before load_resource before_filter :build_user_with_proper_mission, :only => [:new, :create] # authorization via CanCan load_and_authorize_resource def index # sort and eager load @users = @users.by_name ...
nmckahd/AHDBurundi
app/controllers/users_controller.rb
Ruby
apache-2.0
4,362
<?php final class PhabricatorProjectIcon extends Phobject { public static function getIconMap() { return array( 'fa-briefcase' => pht('Briefcase'), 'fa-tags' => pht('Tag'), 'fa-folder' => pht('Folder'), 'fa-users' => pht('Team'), 'fa-bug' => pht('Bug'), 'fa-...
hach-que/unearth-phabricator
src/applications/project/icon/PhabricatorProjectIcon.php
PHP
apache-2.0
1,547
/* * 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 ...
syzer/incubator-tamaya
modules/events/src/test/java/org/apache/tamaya/events/TestConfigView.java
Java
apache-2.0
4,643
<?php /*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initi...
basiljose1/byjcrm
modules/Products/models/Module.php
PHP
apache-2.0
5,293
/* * 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 ...
StephanEwen/incubator-flink
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/aggfunctions/AvgAggFunction.java
Java
apache-2.0
7,723
/* * 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 ...
mehant/incubator-calcite
core/src/main/java/org/apache/calcite/rel/convert/package-info.java
Java
apache-2.0
964
/*Copyright (C) 2012 Longerian (http://www.longerian.me) 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...
longerian/RC4A
src/org/rubychina/android/GlobalResource.java
Java
apache-2.0
1,797
package set import ( "encoding/json" "errors" "fmt" "io" "os" "path" "strings" "github.com/golang/glog" "github.com/spf13/cobra" kapi "k8s.io/kubernetes/pkg/api" apierrs "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/meta" kresource "k8s.io/kubernetes/pkg/api/resource" "k8s.io/kubernetes...
jeffvance/origin
pkg/cmd/cli/cmd/set/volume.go
GO
apache-2.0
29,411
/* * Copyright 2011 JBoss 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 ...
psiroky/kie-wb-common
kie-wb-common-widgets/kie-wb-common-ui/src/main/java/org/kie/workbench/common/widgets/client/widget/PercentageCalculator.java
Java
apache-2.0
979
/* * Copyright 2015 DuraSpace, 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...
ruebot/fcrepo4
fcrepo-http-api/src/main/java/org/fcrepo/http/api/FedoraHttpConfiguration.java
Java
apache-2.0
1,125
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # 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...
ntt-sic/nova
nova/api/openstack/compute/contrib/flavormanage.py
Python
apache-2.0
3,894
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/pubsub/v1/pubsub.proto namespace Google\Cloud\PubSub\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request for the ModifyAckDeadline method. * * Gen...
googleapis/google-cloud-php-pubsub
src/V1/ModifyAckDeadlineRequest.php
PHP
apache-2.0
6,591
/* * 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...
paplorinc/intellij-community
xml/dom-openapi/src/com/intellij/util/xml/highlighting/DomElementAnnotationHolder.java
Java
apache-2.0
2,866
# megam_rustyprint Display data in table format on console
megamsys/megam_rustyprint
README.md
Markdown
apache-2.0
59
package com.mapswithme.maps.purchase; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import...
matsprea/omim
android/src/com/mapswithme/maps/purchase/BookmarkPaymentFragment.java
Java
apache-2.0
13,042
/* * Copyright 2010-2013 Coda Hale and Yammer, Inc., 2014-2017 Dropwizard Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
networknt/light-4j
metrics/src/test/java/io/dropwizard/metrics/SlidingWindowReservoirTest.java
Java
apache-2.0
1,479
/* * Copyright (c) 2008-2017, 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 ...
juanavelez/hazelcast
hazelcast/src/test/java/com/hazelcast/concurrent/atomicreference/AtomicReferenceInstanceSharingTest.java
Java
apache-2.0
2,990
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/codedeploy/model/TrafficRoutingType.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using namespace Aws:...
awslabs/aws-sdk-cpp
aws-cpp-sdk-codedeploy/source/model/TrafficRoutingType.cpp
C++
apache-2.0
2,400
/* * * Copyright 2019 gRPC 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 agree...
Miciah/origin
vendor/google.golang.org/grpc/balancer_conn_wrappers_test.go
GO
apache-2.0
2,966
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
flofreud/aws-sdk-java
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/transform/CreateConditionalForwarderResultJsonUnmarshaller.java
Java
apache-2.0
1,808
--- id: version-2.8.2-io-rabbitmq-source title: RabbitMQ source connector sidebar_label: RabbitMQ source connector original_id: io-rabbitmq-source --- The RabbitMQ source connector receives messages from RabbitMQ clusters and writes messages to Pulsar topics. ## Configuration The configuration of the RabbitMQ sour...
massakam/pulsar
site2/website/versioned_docs/version-2.8.2/io-rabbitmq-source.md
Markdown
apache-2.0
3,158
/* * Copyright 2020 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...
ketan/gocd
server/src/main/java/com/thoughtworks/go/server/controller/actions/JsonAction.java
Java
apache-2.0
4,901
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
ThiagoGarciaAlves/intellij-community
xml/dom-impl/src/com/intellij/util/xml/impl/DomManagerImpl.java
Java
apache-2.0
17,979
# Copyright (c) 2013-2016 Cinchapi 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 wr...
remiemalik/concourse
concourse-driver-python/tests/integration_tests.py
Python
apache-2.0
87,056
module('BadAriaRole'); test('No elements === no problems.', function(assert) { var config = { ruleName: 'badAriaRole', expected: axs.constants.AuditResult.NA }; assert.runRule(config); }); test('No roles === no problems.', function(assert) { // Setup fixture var fixture = document.getE...
alice/accessibility-developer-tools
test/audits/bad-aria-role-test.js
JavaScript
apache-2.0
1,950
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/StandardsSubscriptionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; name...
awslabs/aws-sdk-cpp
aws-cpp-sdk-securityhub/source/model/StandardsSubscriptionRequest.cpp
C++
apache-2.0
1,905