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 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
jgrandja/spring-security
rsocket/src/test/java/org/springframework/security/rsocket/core/CaptureSecurityContextSocketAcceptor.java
Java
apache-2.0
1,665
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
iperdomo/keycloak
model/jpa/src/main/java/org/keycloak/events/jpa/JpaAdminEventQuery.java
Java
apache-2.0
5,197
/* * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
andreagenso/java2scala
test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/java/math/MutableBigInteger.java
Java
apache-2.0
46,139
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class template basic_managed_shared_memory</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="../../i...
biospi/seamass-windeps
src/boost_1_57_0/doc/html/boost/interprocess/basic_managed__idp65355360.html
HTML
apache-2.0
22,075
/* * 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 ...
meggermo/jackrabbit-oak
oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/AbstractBlobStore.java
Java
apache-2.0
27,876
/* * Copyright (c) 2020 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <kernel.h> #include <ksched.h> #include <wait_q.h> #include <init.h> #include <linker/linker-defs.h> void k_heap_init(struct k_heap *h, void *mem, size_t bytes) { z_waitq_init(&h->wait_q); sys_heap_init(&h->heap, mem, ...
zephyrproject-rtos/zephyr
kernel/kheap.c
C
apache-2.0
3,573
--- layout: page title: Run on YARN --- <!-- 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...
prateekm/samza
docs/learn/documentation/versioned/deployment/yarn.md
Markdown
apache-2.0
16,062
<!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_31) on Thu Jan 31 02:05:00 UTC 2013 --> <TITLE> Uses of Class org.apache.hadoop.fs.GlobPattern (Hadoop 1.1.2 API) </TITLE> <META NAME="date" CONTENT...
markkerzner/nn_kove
hadoop/docs/api/org/apache/hadoop/fs/class-use/GlobPattern.html
HTML
apache-2.0
5,934
module DockerSupport require 'cheffish/rspec/chef_run_support' def self.extended(other) other.extend Cheffish::RSpec::ChefRunSupport end require 'chef/provisioning/docker_driver' def with_docker(description, *tags, &block) context_block = proc do docker_driver = Chef::Provisioning.driver_for_u...
marc-/chef-provisioning-docker
spec/docker_support.rb
Ruby
apache-2.0
678
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
camunda/camunda-bpm-platform
qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/deployment/cfg/CustomProcessApplication.java
Java
apache-2.0
1,194
set(SWIFT_HOST_VARIANT_SDK LINUX CACHE STRING "") set(SWIFT_HOST_VARIANT_ARCH x86_64 CACHE STRING "") # NOTE(compnerd) disable the tools, we are trying to build just the standard # library. set(SWIFT_INCLUDE_TOOLS NO CACHE BOOL "") # NOTE(compnerd) cannot build tests since the tests require the toolchain set(SWIFT_I...
rudkx/swift
cmake/caches/Runtime-Linux-x86_64.cmake
CMake
apache-2.0
757
# Copyright 2012 OpenStack Foundation # Copyright 2013 Hewlett-Packard Development Company, L.P. # 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 # # ht...
flyingfish007/tempest
tempest/scenario/test_network_basic_ops.py
Python
apache-2.0
32,963
'use strict'; goog.provide('grrUi.core.module'); goog.require('grrUi.core.aff4DownloadLinkDirective.Aff4DownloadLinkDirective'); goog.require('grrUi.core.aff4ItemsProviderDirective.Aff4ItemsProviderDirective'); goog.require('grrUi.core.aff4Service.Aff4Service'); goog.require('grrUi.core.apiItemsProviderDirective.ApiI...
ahojjati/grr
gui/static/angular-components/core/core.js
JavaScript
apache-2.0
5,469
/* * 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 ...
druid-io/druid
extensions-core/datasketches/src/main/java/org/apache/druid/query/aggregation/datasketches/theta/SketchToStringPostAggregator.java
Java
apache-2.0
3,556
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
scylladb/seastar
include/seastar/http/api_docs.hh
C++
apache-2.0
9,305
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "bindings/modules/v8/UnionTypesModules.h...
weolar/miniblink49
gen/blink/bindings/modules/v8/UnionTypesModules.cpp
C++
apache-2.0
55,403
// Copyright 2015 The etcd 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 t...
dnaeon/etcd
etcdctl/ctlv2/command/cluster_health.go
GO
apache-2.0
3,317
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.dao.account; import org.springframework.stereotype.Component; import ${package}.entity.account.Authority; import org.springside.modules.orm.hibernate.HibernateDao; /** * 授权对象的泛型DAO. * * @author calvin...
rakesh4u/springside-sub
tools/maven/archetype/src/main/resources/archetype-resources/src/main/java/dao/account/AuthorityDao.java
Java
apache-2.0
423
# 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 applicable ...
himanshu-dixit/oppia
core/controllers/moderator.py
Python
apache-2.0
2,847
/* * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
devjin24/howtomcatworks
bookrefer/jakarta-tomcat-5.0.18-src/jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/checkbox/CheckTest.java
Java
apache-2.0
2,940
package com.netflix.governator.autobind.scopes; import com.google.inject.Injector; import com.google.inject.Stage; import com.netflix.governator.annotations.AutoBindSingleton; import com.netflix.governator.guice.LifecycleInjector; import com.netflix.governator.guice.LifecycleInjectorMode; import com.netflix.governator...
drtechniko/governator
governator-legacy/src/test/java/com/netflix/governator/autobind/scopes/TestAutoBindSingletonScopes.java
Java
apache-2.0
4,112
/* * 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 ...
jffnothing/phoenix-4.0.0-incubating
phoenix-core/src/main/java/org/apache/phoenix/parse/IsNullParseNode.java
Java
apache-2.0
1,572
package org.batfish.common; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; import com.google.common.collect.ImmutableSet; import com.google.common.testing.EqualsTester; import org.apache.commons.lang3.SerializationUtils; import org.batfish.common.autocomplete.LocationCompletio...
arifogel/batfish
projects/batfish-common-protocol/src/test/java/org/batfish/common/CompletionMetadataTest.java
Java
apache-2.0
2,905
/* * 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...
AndroidX/androidx
emoji/emoji/src/androidTest/java/androidx/emoji/text/TestActivity.java
Java
apache-2.0
953
/* * 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 ...
deepakddixit/incubator-geode
geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/JdbcLoaderTest.java
Java
apache-2.0
1,984
/* * * 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"); y...
grokcoder/pbase
hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcMetrics.java
Java
apache-2.0
4,214
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
KyleAMathews/kubernetes
pkg/kubectl/resource/builder.go
GO
apache-2.0
13,413
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
AttwellBrian/RxJava
src/perf/java/io/reactivex/BlockingGetPerf.java
Java
apache-2.0
2,031
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package blkstoragetest import ( "crypto/sha256" "hash" "io/ioutil" "os" "path/filepath" "testing" "github.com/hyperledger/fabric-protos-go/common" "github.com/hyperledger/fabric/common/ledger/blkstorage" "github.com/hyperled...
stemlending/fabric
common/ledger/blkstorage/blkstoragetest/blkstoragetest.go
GO
apache-2.0
2,406
//// [tests/cases/compiler/defaultDeclarationEmitDefaultImport.ts] //// //// [root.ts] export function getSomething(): Something { return null as any } export default class Something {} //// [main.ts] import Thing, { getSomething } from "./root"; export const instance = getSomething(); //// [root.js] "use st...
nojvek/TypeScript
tests/baselines/reference/defaultDeclarationEmitDefaultImport.js
JavaScript
apache-2.0
972
/* * $Id$ * * 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 * "Lice...
timgifford/tiles
tiles-template/src/main/java/org/apache/tiles/template/GetAsStringModel.java
Java
apache-2.0
7,572
DROP TABLE IF EXISTS test_2;
kenota/kommentator
vendor/github.com/mattes/migrate/database/clickhouse/examples/migrations/002_create_table.down.sql
SQL
apache-2.0
28
require_relative '../spec_helper' describe HostNode do before(:all) do described_class.create_indexes end it { should be_timestamped_document } it { should have_fields(:node_id, :name, :os, :driver, :public_ip).of_type(String) } it { should have_fields(:labels).of_type(Array) } it { should have_fields...
robxu9/kontena
server/spec/models/host_node_spec.rb
Ruby
apache-2.0
1,762
from zerver.lib.test_classes import WebhookTestCase class PagerDutyHookTests(WebhookTestCase): STREAM_NAME = 'pagerduty' URL_TEMPLATE = "/api/v1/external/pagerduty?api_key={api_key}&stream={stream}" FIXTURE_DIR_NAME = 'pagerduty' def test_trigger(self) -> None: expected_message = 'Incident [3...
timabbott/zulip
zerver/webhooks/pagerduty/tests.py
Python
apache-2.0
4,489
# Copyright 2015 Hewlett-Packard Development Company, L.P.dsvsv # Copyright 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 # # ...
pnavarro/neutron
neutron/tests/api/admin/test_shared_network_extension.py
Python
apache-2.0
4,322
/* 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 applicable law or agreed to in ...
clinc/models
syntaxnet/syntaxnet/feature_extractor.h
C
apache-2.0
25,535
/*! * Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select) * * Copyright 2012-2019 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ (function (root, factory) { if (root === undefined && window !== undefined) ro...
philippegui2/ScolarControl
web/bSelect/dist/js/i18n/defaults-tr_TR.js
JavaScript
apache-2.0
1,646
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.FindUsages; using Microsoft.CodeAnalysis.Host; namespace Microsoft.CodeAnalysis.Editor.FindUsages...
bbarry/roslyn
src/EditorFeatures/Core/FindUsages/IFindUsagesService.cs
C#
apache-2.0
990
package org.apereo.cas.trusted.web.support; import org.apereo.cas.web.support.CookieRetrievingCookieGenerator; import org.apereo.cas.web.support.CookieValueManager; /** * {@link CookieRetrievingCookieGenerator} for trusted device cookies. * * @author Daniel Frett * @since 5.3.0 */ public class TrustedDeviceCooki...
robertoschwald/cas
support/cas-server-support-trusted-mfa/src/main/java/org/apereo/cas/trusted/web/support/TrustedDeviceCookieRetrievingCookieGenerator.java
Java
apache-2.0
944
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
JSDemos/android-sdk-20
src/android/app/SharedPreferencesImpl.java
Java
apache-2.0
22,013
/* * 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 ...
tillrohrmann/flink
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/DefaultSlotPoolServiceFactory.java
Java
apache-2.0
1,626
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Class bad_function_call</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.html" title="T...
biospi/seamass-windeps
src/boost_1_57_0/doc/html/boost/type_erasure/bad_function_call.html
HTML
apache-2.0
5,282
/* * Copyright (C) 2014 Michael Pardo * * 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...
pardom/Ollie
compiler/src/main/java/ollie/internal/codegen/validator/MigrationValidator.java
Java
apache-2.0
844
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
shun634501730/java_source_cn
src_en/com/sun/org/apache/xalan/internal/xsltc/compiler/AbsoluteLocationPath.java
Java
apache-2.0
5,303
package com.sage42.android.view_samples.ui; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.os.CountDownTimer; import android.view.MenuItem; import com.sage42.android.view.ui.SegmentedProgressBar; import com.sage42.android.view_sample...
rameshvoltella/AndroidViewUtils
samples/src/main/java/com/sage42/android/view_samples/ui/SegmentedProgressBarActivity.java
Java
apache-2.0
3,681
// +build integration,perftest package main import ( "flag" "fmt" "net/http" "os" "strings" "time" "github.com/aws/aws-sdk-go/service/s3/s3manager" ) type Config struct { Bucket string Filename string Size int64 TempDir string LogVerbose bool SDK SDKConfig Client ClientConfig } fun...
Miciah/origin
vendor/github.com/aws/aws-sdk-go/awstesting/integration/performance/s3UploadManager/config.go
GO
apache-2.0
4,444
package archive // import "github.com/ory/dockertest/v3/docker/pkg/archive" import ( "syscall" "time" ) func timeToTimespec(time time.Time) (ts syscall.Timespec) { if time.IsZero() { // Return UTIME_OMIT special value ts.Sec = 0 ts.Nsec = ((1 << 30) - 2) return } return syscall.NsecToTimespec(time.UnixNa...
drasko/mainflux
vendor/github.com/ory/dockertest/v3/docker/pkg/archive/time_linux.go
GO
apache-2.0
328
#include <stdlib.h> #include <stdio.h> #include "uv.h" #include "connection_dispatcher.h" #include "connection_consumer.h" static struct sockaddr_in listen_addr; void ipc_close_cb(uv_handle_t* handle) { struct ipc_peer_ctx* ctx; ctx = container_of(handle, struct ipc_peer_ctx, peer_handle); free(ctx); } v...
darcythomas/Haywire
src/haywire/connection_dispatcher.c
C
apache-2.0
3,231
#!/bin/bash set -e json_file="json_file/ert.json" cat > networking_poe_cert_filter <<-'EOF' .properties.properties.".properties.networking_point_of_entry.{{pcf_ert_networking_pointofentry}}.ssl_rsa_certificate".value = { "cert_pem": $cert_pem, "private_key_pem": $private_key_pem } EOF jq \ --arg cert_p...
cah-josephgeorge/pcf-pipelines
tasks/install-ert/scripts/iaas-specific-config/azure/run.sh
Shell
apache-2.0
3,785
/* * Copyright 2013 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 i...
jorgemoralespou/rtgov
ui/overlord-rtgov-ui-base/src/main/java/org/overlord/rtgov/ui/server/services/RTGovApplication.java
Java
apache-2.0
1,604
/* Copyright 2021 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 in writing, ...
x13n/kubernetes
staging/src/k8s.io/controller-manager/controller/interfaces.go
GO
apache-2.0
1,344
/* * 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/incubator-asterixdb-hyracks
hyracks/hyracks-storage-am-common/src/main/java/org/apache/hyracks/storage/am/common/ophelpers/SlotOffTupleOff.java
Java
apache-2.0
1,347
/* * 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 ...
arjun4084346/gobblin
gobblin-yarn/src/test/java/org/apache/gobblin/yarn/GobblinYarnAppLauncherTest.java
Java
apache-2.0
23,573
/** * Generate the node required for user display length changing * @param {object} oSettings dataTables settings object * @returns {node} Display length feature node * @memberof DataTable#oApi */ function _fnFeatureHtmlLength(oSettings) { if (oSettings.oScroll.bInfinite) { return null; } /...
tanvirshuvo/abtec
target/ABTeC/resources/assets/advanced-datatable/media/src/core/core.length.js
JavaScript
apache-2.0
3,552
package com.camunda.fox.process.stub; import org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior; import org.camunda.bpm.engine.impl.pvm.delegate.ActivityBehavior; import org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution; /** * This class is used to stub the activiti-camel component in test cases...
tobiasschaefer/camunda-consulting
showcases/bank-account-opening-mule/src/test/java/com/camunda/fox/process/stub/CamelBehaviourStub.java
Java
apache-2.0
1,195
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
TatsianaKasiankova/pentaho-kettle
integration/src/it/java/org/pentaho/di/trans/steps/dimensionlookup/DimensionLookupIT.java
Java
apache-2.0
6,190
# Getting Started with rkt The following guide will show you how to build and run a self-contained Go app using rkt, the reference implementation of the [App Container Specification](https://github.com/appc/spec). If you're not on Linux, you should do all of this inside [the rkt Vagrant](https://github.com/coreos/rkt/...
cloverstd/open-falcon-agent-in-docker
vendor/github.com/coreos/rkt/Documentation/getting-started-guide.md
Markdown
apache-2.0
2,726
package net.lr.tutorial.karaf.cxf.personservice.impl; import java.io.InputStream; import javax.ws.rs.core.Response; import net.lr.tutorial.karaf.cxf.personrest.impl.PersonServiceImpl; import net.lr.tutorial.karaf.cxf.personrest.model.Person; import net.lr.tutorial.karaf.cxf.personrest.model.PersonService; import or...
mhcxp/Karaf-Tutorial
cxf/personservice-rest/server/src/test/java/net/lr/tutorial/karaf/cxf/personservice/impl/PersonServiceRestTest.java
Java
apache-2.0
2,276
import asyncio from unittest import mock import pytest from waterbutler.core import utils class TestAsyncRetry: @pytest.mark.asyncio async def test_returns_success(self): mock_func = mock.Mock(return_value='Foo') retryable = utils.async_retry(5, 0, raven=None)(mock_func) x = await r...
TomBaxter/waterbutler
tests/core/test_utils.py
Python
apache-2.0
2,451
/** * * Copyright 2003-2007 Jive Software. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Soo000/SooChat
src/org/jivesoftware/smackx/muc/UserStatusListener.java
Java
apache-2.0
4,465
// 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...
juhalindfors/bazel-patches
src/main/java/com/google/devtools/build/lib/exec/TestPolicy.java
Java
apache-2.0
4,559
/* * * 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"); y...
sijie/bookkeeper
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/SyncCounter.java
Java
apache-2.0
1,898
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; using...
amcasey/roslyn
src/Workspaces/Core/Portable/Workspace/Solution/Document.cs
C#
apache-2.0
21,517
// Copyright (c) 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...
umar456/SPIRV-Tools
tools/opt/opt.cpp
C++
apache-2.0
6,412
/* Zenburn theme for Shout. Based on the Morning Theme by Riku Rouvila Installation instructions can be found here http://shout-irc.com/docs/server/configuration.html#theme Author: JP Smith GitHub: https://github.com/japesinator */ /* BACKGROUND #3f3f3f INPUT BACKGROUND #434443 PRIMARY #dcdccc SECONDARY #d2d39b BORD...
mat-mo/shout_ynh
sources/client/themes/zenburn.css
CSS
apache-2.0
2,958
/* This file is part of ArcCore. * * ArcCore is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * ArcCore is distributed...
MorrigansWings/GamePhysics
RubeGoldberg/Libraries/Arc/include/Arc/Vector3.h
C
apache-2.0
6,326
#include "resource.h" #include <windows.h> #include <tchar.h> #include <commctrl.h> #include "uwinapp.h" #include "ubasewindow.h" #include "colors.h" #include "ubitmap.h" //#include "udibapi.h" #include "udc.h" #include "adt/ustring.h" class UMyWindow : public UBaseWindow { typedef huys::ADT::UStringAnsi UString...
baiyunping333/ulib-win
demo/mouse/test_mouse.cpp
C++
apache-2.0
1,793
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
rhuss/gofabric8
vendor/k8s.io/heapster/sinks/opentsdb/driver_test.go
GO
apache-2.0
13,234
{% extends 'airflow/model_list.html' %} {% block model_menu_bar %} {% if not admin_view.is_secure() %} <div class="alert alert-danger"><b>Warning:</b> Connection passwords are stored in plaintext until you install the Python "cryptography" library. You can find installation instructions here: <a href=https://crypt...
dud225/incubator-airflow
airflow/www/templates/airflow/conn_list.html
HTML
apache-2.0
1,018
/* * Copyright 2017 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...
sghill/gocd
server/test/unit/com/thoughtworks/go/server/domain/PluginSettingsTest.java
Java
apache-2.0
9,794
<?php ini_set( 'include_path', implode( PATH_SEPARATOR, array( realpath(implode( DIRECTORY_SEPARATOR, array(__DIR__, '..', 'src', 'mg') )), ini_get('include_path'), ) ) ); error_reporting(E_ALL); ini_set('display_errors', 1); if (!...
mbonneau/PAMI
test/bootstrap.php
PHP
apache-2.0
523
package com.twitter.finatra.http.integration.doeverything.main.domain import com.twitter.finatra.request.QueryParam case class RequestWithQueryParamSeqString(@QueryParam foo: Seq[String]) case class ResponseOfQueryParamSeqString(foo: Seq[String]) case class RequestWithQueryParamSeqLong(@QueryParam foo: Seq[Long]) ...
tom-chan/finatra
http/src/test/scala/com/twitter/finatra/http/integration/doeverything/main/domain/RequestWithQueryParamSeqString.scala
Scala
apache-2.0
375
/** * 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...
mistercrunch/panoramix
superset-frontend/src/setup/setupFormatters.ts
TypeScript
apache-2.0
3,346
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
GeekTrainer/BootstrapMVA
Module 4 - Visual Studio/Web Forms Scaffolding/WebApplication3/Site.Master.designer.cs
C#
apache-2.0
781
/** * Copyright (c) 2009 * Sven Wagner-Boysen * * 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 the rights * to use, copy, modify, me...
grasscrm/gdesigner
editor/server/src/de/hpi/bpmn2_0/model/activity/loop/LoopCharacteristics.java
Java
apache-2.0
2,062
# -*- coding: utf-8 -*- from __future__ import with_statement import datetime from cms.api import create_page, publish_page, add_plugin from cms.exceptions import PluginAlreadyRegistered, PluginNotRegistered from cms.models import Page, Placeholder from cms.models.pluginmodel import CMSPlugin, PluginModelBase from cms...
mpetyx/palmdrop
venv/lib/python2.7/site-packages/cms/tests/plugins.py
Python
apache-2.0
46,414
<html><body> <style> body, h1, h2, h3, div, span, p, pre, a { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } body { font-size: 13px; padding: 1em; } h1 { font-size: 26px; margin-bottom: 1em; } h2...
googleapis/google-api-python-client
docs/dyn/dfareporting_v3_4.userRolePermissions.html
HTML
apache-2.0
4,171
/* * 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...
100star/echarts
index.js
JavaScript
apache-2.0
2,805
/** * Copyright 2009 sshj contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Juraldinio/sshj
src/main/java/net/schmizz/sshj/transport/cipher/AES192CBC.java
Java
apache-2.0
1,167
#ifndef _osimActuators_h_ #define _osimActuators_h_ /* -------------------------------------------------------------------------- * * OpenSim: osimActuators.h * * -------------------------------------------------------------------------- * * The OpenSim API is a tool...
opensim-org/opensim-metabolicsprobes
OpenSim 3.2-64bit-VS12/sdk/include/OpenSim/Actuators/osimActuators.h
C
apache-2.0
2,384
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
EvilMcJerkface/alluxio
core/common/src/main/java/alluxio/wire/BlockInfo.java
Java
apache-2.0
2,753
/* * 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 in ...
Rikkola/guvnor
guvnor-webapp/src/main/java/org/drools/guvnor/client/rpc/QueryPageRow.java
Java
apache-2.0
2,449
package controller import ( "reflect" "testing" kutil "k8s.io/kubernetes/pkg/util" ) func TestScheduler(t *testing.T) { keys := []string{} s := NewScheduler(2, kutil.NewFakeAlwaysRateLimiter(), func(key, value interface{}) { keys = append(keys, key.(string)) }) for i := 0; i < 6; i++ { s.RunOnce() if l...
jwforres/origin
pkg/controller/scheduler_test.go
GO
apache-2.0
3,022
/****************************************************************************** * 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 ...
wanglei828/apollo
modules/canbus/vehicle/wey/protocol/ads1_111.h
C
apache-2.0
6,759
/* Copyright 2015 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...
dloeng/kubernetes
pkg/api/v1/deep_copy_generated.go
GO
apache-2.0
65,687
module Fog module Storage class OpenStack class Real # Create a new manifest object # # Creates an object with a +X-Object-Manifest+ header that specifies the common prefix ("<container>/<prefix>") # for all uploaded segments. Retrieving the manifest object streams all segme...
luna1x/chef-server
vendor/ruby/1.9.1/gems/fog-1.15.0/lib/fog/openstack/requests/storage/put_object_manifest.rb
Ruby
apache-2.0
1,943
<!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> <!-- Favicon --> <link href="../images/vl_blue.ico" type="image/x-icon" rel="icon"></link> <link href="../images/vl_blue.ico" type="image...
iscoe/cajal3d-i2g
external/vlfeat/doc/api/vlad-fundamentals.html
HTML
apache-2.0
7,874
> 编写: > 校对: # 全屏沉浸式应用
craftsmanBai/android-training-course-in-chinese
SOURCE/ui/system-ui/immersive.md
Markdown
apache-2.0
46
// Bug #260 - int is not aliased with volatile int // RESULT: yes, it flows through. int VERDICT_SAFE; int CURRENTLY_UNSAFE; int main() { int volatile a = 4; int * const p = &a; p = &a; a = a - 4; if (*p != 0){ ERROR: goto ERROR; } return 0; }
TommesDee/cpachecker
test/original-sources/LDV-tests/volatile_alias.c
C
apache-2.0
319
/* * Copyright (C) 2014 Michael Pardo * * 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...
pardom/Ollie
compiler/src/test/java/ollie/internal/ModelAdapterTest.java
Java
apache-2.0
6,449
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Collections.Immutable Imports Microsoft.CodeAnalysis.CodeActions Imports Microsoft.CodeAnalysis.CodeRefactorings Imports Microsoft.CodeAnalysis...
DustinCampbell/roslyn
src/EditorFeatures/VisualBasicTest/CodeActions/IntroduceVariable/IntroduceVariableTests.vb
Visual Basic
apache-2.0
96,654
#!/usr/bin/env python # -*- coding: utf-8 -*- # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you under the Apache License, Version 2.0 (...
rahul67/hue
apps/beeswax/src/beeswax/test_base.py
Python
apache-2.0
16,313
// Copyright 2017 The Draco 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...
google/filament
third_party/draco/src/draco/metadata/metadata_encoder_test.cc
C++
apache-2.0
6,286
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>posix::basic_descriptor::close</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="../../../boost_a...
biospi/seamass-windeps
src/boost_1_57_0/doc/html/boost_asio/reference/posix__basic_descriptor/close.html
HTML
apache-2.0
4,285
/******************************************************************************* * 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...
tmaret/sling
bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/UseRuntimeExtension.java
Java
apache-2.0
4,708
package org.switchyard.component.itests.camelcontext.component.xyzorder; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty...
tadayosi/switchyard
components/itests/src/test/java/org/switchyard/component/itests/camelcontext/component/xyzorder/XyzOrder.java
Java
apache-2.0
3,040
# # Copyright 2013-2014, Seth Vargo <sethvargo@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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
xianfengyuan/chef_chef-sugar
lib/chef/sugar/ruby.rb
Ruby
apache-2.0
1,460
/* * Copyright (c) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
googlearchive/androidtv-Leanback
app/src/main/java/com/example/android/tvleanback/data/FetchVideoService.java
Java
apache-2.0
2,103
/* * Copyright (C) 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Learn-Android-app/Transitions-Everywhere
library/src/main/java/android/transitions/everywhere/Scene.java
Java
apache-2.0
10,872
/* * 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 ...
druid-io/druid
processing/src/main/java/org/apache/druid/segment/filter/LikeFilter.java
Java
apache-2.0
9,559