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 |
|---|---|---|---|---|---|
package com.google.api.ads.dfp.jaxws.v201505;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotati... | shyTNT/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201505/BaseRichMediaStudioCreative.java | Java | apache-2.0 | 14,985 |
project_path: /web/tools/_project.yaml
book_path: /web/tools/_book.yaml
description:让您的工作区包含适用于多设备网页的优秀编辑器、调试功能和构建工具。
{# wf_updated_on: 2015-04-13 #}
{# wf_published_on: 2015-04-13 #}
# 入门指南 {: .page-title }
让您的工作区包含适用于多设备网页的优秀编辑器、调试功能和构建工具。
时间是保持高效的重要因素。您在开发环境中花费的时间最多。通过包含强大、可扩展的编辑器以及强有力的调试与开发工具,让自己为成功做好准备。
* [设置... | ebidel/WebFundamentals | src/content/zh-cn/tools/setup/index.md | Markdown | apache-2.0 | 1,096 |
# 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... | olivierlemasle/murano | murano/common/i18n.py | Python | apache-2.0 | 1,149 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add("cellProperties",function(f){var g=f.lang.table,c=g.cell,d=f.lang.common,h=CKEDITOR.dialog.validate,j=/^(\d+(?:\.\d+)?)(px|%)$/,e={type:"html",html:"&nbs... | Thellmann/callimachus | webapp/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js | JavaScript | apache-2.0 | 6,207 |
/*
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 ... | vishvananda/kubernetes | pkg/kubelet/config/file_test.go | GO | apache-2.0 | 9,540 |
/*
* 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 ... | adessaigne/camel | components/camel-tracing/src/test/java/org/apache/camel/tracing/decorators/AwsSnsSpanDecoratorTest.java | Java | apache-2.0 | 1,592 |
import pytest
import aiohttp
from aiohttp import web
@pytest.mark.run_loop
async def test_client_ws_async_for(loop, create_server):
items = ['q1', 'q2', 'q3']
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
for i in items:
ws.send_str(i)... | jashandeep-sohi/aiohttp | tests/test_py35/test_client_websocket_35.py | Python | apache-2.0 | 1,892 |
/*******************************************************************************
* Copyright 2010 Cees De Groot, Alex Boisvert, Jan Kotek
*
* 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... | cdemoustier/jdbm2 | src/main/jdbm/btree/BTree.java | Java | apache-2.0 | 21,647 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html >
<body style="color:lime">
<table rules="all" frame="border" ><tr><td>cell1</td><td>cell2</td></tr>
<tr><td>cell3</td><td>cell4</td></tr></table>
</body>
</html> | wilebeast/FireFox-OS | B2G/gecko/layout/reftests/bugs/229591-1.html | HTML | apache-2.0 | 306 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | amarzavery/azure-powershell | src/Common/Commands.Profile/Environment/SetAzureEnvironment.cs | C# | apache-2.0 | 5,155 |
-- start_ignore
SET gp_create_table_random_default_distribution=off;
-- end_ignore
DROP TABLE IF EXISTS ao;
CREATE TABLE ao (a INT) WITH (appendonly=true, orientation=column);
insert into ao select generate_series(1,1000);
insert into ao select generate_series(1,1000);
insert into ao select generate_series(1,1000);
i... | CraigHarris/gpdb | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/uao/uaocs_isolation/sql/insert_while_vacuum_setup.sql | SQL | apache-2.0 | 1,166 |
// Copyright (c) 2011 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.
#ifndef BASE_I18N_BIDI_LINE_ITERATOR_H_
#define BASE_I18N_BIDI_LINE_ITERATOR_H_
#include "base/basictypes.h"
#include "base/i18n/base_i18n_export.h"
... | plxaye/chromium | src/base/i18n/bidi_line_iterator.h | C | apache-2.0 | 1,464 |
#pragma once
#include <list>
#include "envoy/init/init.h"
namespace Envoy {
namespace Server {
/**
* Implementation of Init::Manager for use during post cluster manager init / pre listening.
*/
class InitManagerImpl : public Init::Manager {
public:
void initialize(std::function<void()> callback);
// Init::Ma... | rlazarus/envoy | source/server/init_manager_impl.h | C | apache-2.0 | 663 |
/* Copyright 2017 The TensorFlow 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 a... | yanchen036/tensorflow | tensorflow/compiler/xla/tests/log_test.cc | C++ | apache-2.0 | 1,915 |
/**
* Copyright 2013 Red Hat, Inc.
*
* Red Hat 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 required... | DaemonSu/fuse-master | components/camel-sap/org.fusesource.camel.component.sap.model.edit/src/org/fusesource/camel/component/sap/model/rfc/provider/ServerDataItemProvider.java | Java | apache-2.0 | 17,978 |
# A Gentle Introduction to the Common Workflow Language
Hello!
This guide will introduce you to writing tool wrappers and workflows using the
Common Workflow Language (CWL). This guide describes the current stable
specification, version 1.0.
Note: This document is a work in progress. Not all features are covered, ... | ohsu-computational-biology/common-workflow-language | v1.0/userguide-intro.md | Markdown | apache-2.0 | 1,268 |
/*
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 in writing, ... | thomasschickinger/kubernetes | pkg/client/clientset_generated/clientset/doc.go | GO | apache-2.0 | 948 |
//
// connection.hpp
// ~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef HTTP_CONNECTION_HPP
#define HTT... | letitvi/VideoGridPlayer | thirdparty/source/asio-1.11.0/src/examples/cpp03/http/server/connection.hpp | C++ | apache-2.0 | 2,126 |
/**
* Copyright 2011 The ForPlay 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 ag... | pyricau/forplay-clone-pyricau | android/src/forplay/android/AndroidLayer.java | Java | apache-2.0 | 1,071 |
'use strict';
describe('Service: Oauth2RequestInterceptor', function () {
// load the service's module
beforeEach(module('yamaAppApp'));
// instantiate service
var Oauth2RequestInterceptor;
beforeEach(inject(function (_Oauth2RequestInterceptor_) {
Oauth2RequestInterceptor = _Oauth2RequestInterceptor_;
... | imamb/yama2_imam | webapp/test/spec/services/oauth2requestinterceptor.js | JavaScript | apache-2.0 | 432 |
/*
* 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 ... | ohadshacham/phoenix | phoenix-core/src/main/java/org/apache/phoenix/expression/rewrite/RowValueConstructorExpressionRewriter.java | Java | apache-2.0 | 2,258 |
/*
* 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 ... | MikeThomsen/nifi | minifi/minifi-commons/minifi-commons-schema/src/main/java/org/apache/nifi/minifi/commons/schema/ComponentStatusRepositorySchema.java | Java | apache-2.0 | 2,393 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
- This software is distributed in the hope that it will be
- useful, but with NO WARRANTY OF ANY KIND.
- No author or distributor accepts responsibility to anyone for the
- consequence... | dominhhai/AndroidOCR | tess-two/jni/com_googlecode_leptonica_android/src/src/pixabasic.c | C | apache-2.0 | 50,383 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | src/com/facebook/buck/jvm/java/abi/source/TreeBackedRoundEnvironment.java | Java | apache-2.0 | 2,406 |
/**
* Copyright 2014 Confluent 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 ... | hkropp/schema-registry | core/src/test/java/io/confluent/kafka/schemaregistry/RestApp.java | Java | apache-2.0 | 3,359 |
/*
* Copyright 2015 Goldman Sachs.
*
* 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 ... | gabby2212/gs-collections | collections/src/main/java/com/gs/collections/impl/block/procedure/primitive/InjectIntoIntProcedure.java | Java | apache-2.0 | 1,362 |
/**
* 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... | punkhorn/camel-upstream | core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetInterceptTest.java | Java | apache-2.0 | 2,276 |
// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips,linux
package unix
const (
sizeofPtr = 0x4
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x4
sizeofLongLong = 0x8
PathMax... | bdarnell/etcd | vendor/golang.org/x/sys/unix/ztypes_linux_mips.go | GO | apache-2.0 | 46,978 |
/**
* 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... | dlyle65535/metron | metron-platform/metron-enrichment/src/main/java/org/apache/metron/enrichment/bolt/EnrichmentSplitterBolt.java | Java | apache-2.0 | 6,519 |
/*
* 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 ... | gnodet/camel | components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsConsumerTest.java | Java | apache-2.0 | 10,407 |
"""Test Agent DVR integration."""
from unittest.mock import AsyncMock, patch
from agent import AgentError
from homeassistant.components.agent_dvr.const import DOMAIN
from homeassistant.config_entries import ConfigEntryState
from homeassistant.core import HomeAssistant
from . import CONF_DATA, create_entry
from test... | jawilson/home-assistant | tests/components/agent_dvr/test_init.py | Python | apache-2.0 | 1,876 |
<html lang='tw'>
<!--
**
** Copyright 2006, 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
**
** Unl... | googlei18n/noto-source | test/LGC/fontdiff-tw-Latn_udhr.html | HTML | apache-2.0 | 819 |
/*
* Copyright 2016-present Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | maheshraju-Huawei/actn | apps/xosclient/src/main/java/org/onosproject/xosclient/impl/XosApi.java | Java | apache-2.0 | 2,811 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo... | TK-TarunW/ecosystem | hadoop-2.7.3/share/doc/hadoop/api/src-html/org/apache/hadoop/fs/AbstractFileSystem.html | HTML | apache-2.0 | 117,501 |
#!/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 ... | TiVo/kafka | examples/bin/exactly-once-demo.sh | Shell | apache-2.0 | 981 |
/* Copyright 2015 The TensorFlow 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... | adit-chandra/tensorflow | tensorflow/core/platform/numbers.cc | C++ | apache-2.0 | 15,715 |
'''
Copyright 2017 Dell Inc. or its subsidiaries. All Rights Reserved.
Author(s):
George Paulos
This script tests minimum payload base case of the RackHD API 2.0 OS bootstrap workflows using NFS mount or local repo method.
This routine runs OS bootstrap jobs simultaneously on multiple nodes.
For 12 tests to run, 12 n... | uppalk1/RackHD | test/tests/bootstrap/test_api20_os_bootstrap_parallel_local.py | Python | apache-2.0 | 14,582 |
/**
* 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... | bitblender/drill | common/src/main/java/org/apache/drill/common/config/DrillConfig.java | Java | apache-2.0 | 12,320 |
// Package gotree create and print tree.
package gotree
import (
"strings"
)
const (
newLine = "\n"
emptySpace = " "
middleItem = "├── "
continueItem = "│ "
lastItem = "└── "
)
type (
tree struct {
text string
items []Tree
}
// Tree is tree interface
Tree interface {
Add(text stri... | TomSweeneyRedHat/buildah | vendor/github.com/disiqueira/gotree/v3/gotree.go | GO | apache-2.0 | 2,253 |
/*
* Copyright 2015 NEC 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 applicable law or agreed ... | nis-sdn/odenos | src/main/java/org/o3project/odenos/core/component/network/flow/query/OFPFlowActionSetIpTtlQuery.java | Java | apache-2.0 | 2,031 |
// 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.codeInspection.ex;
import com.intellij.codeInsight.AnnotationTargetUtil;
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
import com.intellij.codeI... | goodwinnk/intellij-community | java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java | Java | apache-2.0 | 4,780 |
/*
* Copyright 2013 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 ... | rocketballs/netty | codec-http/src/test/java/io/netty/handler/codec/http/HttpHeadersTest.java | Java | apache-2.0 | 1,638 |
// Copyright (c) 2011-2015, HL7, Inc & The MITRE Corporation
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, ... | intervention-engine/ie | vendor/github.com/intervention-engine/fhir/models/encounter.go | GO | apache-2.0 | 59,964 |
/*!
Copyright (C) 2016 Google Inc.
Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
*/
/*
* Generally useful helpers
* Primarily to support Jasmine 1.3 -> Jasmine 2
*/
// polls check function and calls done when truthy
window.waitsFor = function (check, done) {
if (!check()) {
... | andrei-karalionak/ggrc-core | src/ggrc/assets/js_specs/spec_helpers.js | JavaScript | apache-2.0 | 745 |
/*
* Copyright 2015 Hannes Dorfmann.
*
* 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... | gmail-msn/mosby | mvp/src/main/java/com/hannesdorfmann/mosby/mvp/MvpActivity.java | Java | apache-2.0 | 4,501 |
# Copyright 2019 The TensorFlow 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 applica... | frreiss/tensorflow-fred | tensorflow/tools/dockerfiles/dockerfiles/ppc64le/cpu-ppc64le.Dockerfile | Dockerfile | apache-2.0 | 2,923 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contribut... | Kerensky256/Database | docs/html/devguide/rdevadvjdbc965.html | HTML | apache-2.0 | 3,914 |
<!--
(c) Copyright 2015 Hewlett-Packard Development Company, L.P.
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 ... | yangleo/cloud-github | openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/flavor/flavor.html | HTML | apache-2.0 | 1,642 |
/**
******************************************************************************
* @file stm32f765xx.h
* @author MCD Application Team
* @version V1.1.0
* @date 22-April-2016
* @brief CMSIS Cortex-M7 Device Peripheral Access Layer Header File.
*
* This file contains:
* - D... | netik/dc26_spqr_badge | sw/firmware/ChibiOS/os/common/ext/CMSIS/ST/STM32F7xx/stm32f765xx.h | C | apache-2.0 | 701,553 |
<extend name="Public/base"/>
<block name="body">
<!-- 标题栏 -->
<div class="main-title">
<h2>模型列表</h2>
</div>
<div class="tools">
<a class="btn" href="{:U('Model/add')}">新 增</a>
<button class="btn ajax-post" target-form="ids" url="{:U('Model/setStatus',array('status'=>1))}">启 用</button>
... | lovebull/wild_weiphp | Application/Admin/View/Model/index.html | HTML | apache-2.0 | 3,936 |
/*
* 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 ... | adessaigne/camel | tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCamelMainMojo.java | Java | apache-2.0 | 13,049 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.instrument.index;
import java.util.HashMap;
import java.util.Map;
import com.opengamma.OpenGammaRuntimeException;
import com.opengamma.uti... | jeorme/OG-Platform | projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/instrument/index/IndexPriceMaster.java | Java | apache-2.0 | 1,592 |
/** @file bson_db.h
This file contains the implementation of BSON-related methods that are required
by the MongoDB database server.
Normally, for standalone BSON usage, you do not want this file - it will tend to
pull in some other files from the MongoDB project. Thus, bson.h (the main file
one wo... | TimMensch/mongo-cxx-driver | src/mongo/bson/bson_db.h | C | apache-2.0 | 3,011 |
/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.future.method;
import com.opengamma.analytics.financial.interestrate.InstrumentDerivative;
import com.opengamma.analytics.fina... | jeorme/OG-Platform | projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/future/method/InterestRateFutureOptionPremiumTransactionBlackSurfaceMethod.java | Java | apache-2.0 | 8,543 |
/*
Copyright 2016 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, ... | pweil-/origin | vendor/k8s.io/kubernetes/cmd/kubeadm/app/preflight/checks_test.go | GO | apache-2.0 | 30,930 |
# Copyright (c) Metaswitch Networks 2015. All rights reserved.
import logging
from calico.felix.actor import Actor, actor_message
from calico.felix.futils import IPV4, IPV6
from calico.felix.ipsets import Ipset, FELIX_PFX
_log = logging.getLogger(__name__)
ALL_POOLS_SET_NAME = FELIX_PFX + "all-ipam-pools"
MASQ_POOL... | alexhersh/calico | calico/felix/masq.py | Python | apache-2.0 | 4,208 |
import { NgModule } from '@angular/core';
import { SharedModule } from 'app/shared';
import { ServerMapSearchResultViewerContainerComponent } from './server-map-search-result-viewer-container.component';
@NgModule({
declarations: [
ServerMapSearchResultViewerContainerComponent
],
imports: [
... | minwoo-jung/pinpoint | web/src/main/angular/src/app/core/components/server-map-search-result-viewer/index.ts | TypeScript | apache-2.0 | 491 |
/* Copyright 2021 The TensorFlow 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 a... | tensorflow/tensorflow | tensorflow/examples/custom_ops_doc/multiplex_3/multiplex_3_kernel.cc | C++ | apache-2.0 | 9,788 |
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | gstevey/gradle | subprojects/platform-base/src/main/java/org/gradle/api/internal/resolve/VariantBinarySelector.java | Java | apache-2.0 | 973 |
// Copyright 2014 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 ... | Ryman/rust | src/test/run-pass/multiple-trait-bounds.rs | Rust | apache-2.0 | 523 |
/*
* Copyright 2012-2021 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 a... | aahlenst/spring-boot | spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/filter/ApplicationContextHeaderFilter.java | Java | apache-2.0 | 1,897 |
/*
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 in writing, ... | sameo/cri-o | vendor/k8s.io/kubernetes/cmd/kube-aggregator/pkg/client/informers/apiregistration/v1alpha1/apiservice.go | GO | apache-2.0 | 3,011 |
# Copyright 2016 Intel Corporation
# Copyright 2015 Hewlett Packard Development Company, LP
# Copyright 2015 Universidade Federal de Campina Grande
#
# 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 t... | SauloAislan/ironic | ironic/conf/oneview.py | Python | apache-2.0 | 2,255 |
/*
* 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... | ebyhr/presto | core/trino-main/src/main/java/io/trino/connector/system/jdbc/CatalogJdbcTable.java | Java | apache-2.0 | 2,689 |
/*! jQuery UI - v1.10.4 - 2014-06-10
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.autocomplete.js, jquery.ui.button.... | qqming113/bi-platform | designer/src/main/resources/public/silkroad/dep/jquery-ui.custom-1.10.4.js | JavaScript | apache-2.0 | 339,820 |
/*
* 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... | ebyhr/presto | core/trino-main/src/main/java/io/trino/sql/planner/iterative/rule/PushDownDereferencesThroughMarkDistinct.java | Java | apache-2.0 | 5,356 |
/*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#pragma once
#include <vector>
#include "kernel/expr_maps.h"
namespace lean {
class equiv_manager {
typedef unsigned node_ref;
struct node {
... | fgdorais/lean | src/kernel/equiv_manager.h | C | apache-2.0 | 875 |
/*
Copyright 2016 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, ... | tracyrankin/origin | vendor/k8s.io/kubernetes/pkg/securitycontextconstraints/seccomp/withseccomp_test.go | GO | apache-2.0 | 6,763 |
/*
* 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 ... | sandeep-n/incubator-systemml | src/main/java/org/apache/sysml/runtime/instructions/spark/MatrixScalarRelationalSPInstruction.java | Java | apache-2.0 | 1,919 |
// ========================================================================
// Copyright (c) Webtide LLC
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.... | jamiepg1/jetty.project | tests/test-integration/src/test/java/org/eclipse/jetty/test/DefaultHandlerTest.java | Java | apache-2.0 | 5,687 |
/*
* 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 ... | adessaigne/camel | components/camel-aws-kinesis/src/main/java/org/apache/camel/component/aws/kinesis/KinesisProducer.java | Java | apache-2.0 | 2,733 |
<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +-----------------------------------------------... | lovebull/wild_weiphp | Application/Admin/Logic/BaseLogic.class.php | PHP | apache-2.0 | 4,249 |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | rafati/unitime | JavaSource/org/unitime/timetable/model/dao/DistributionTypeDAO.java | Java | apache-2.0 | 1,126 |
/*
* Copyright (C) 2012 - 2012 NHN Corporation
* All rights reserved.
*
* This file is part of The nGrinder software distribution. Refer to
* the file LICENSE which is part of The nGrinder distribution for
* licensing details. The nGrinder distribution is available on the
* Internet at http://nhnopensourc... | nanpa83/ngrinder | ngrinder-groovy/src/test/java/net/grinder/scriptengine/groovy/GrinderRunnerTest.java | Java | apache-2.0 | 4,040 |
/**
* Copyright (C) 2015 DataTorrent, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | andyperlitch/incubator-apex-core | engine/src/main/java/com/datatorrent/stram/util/FSJsonLineFile.java | Java | apache-2.0 | 1,929 |
/*
* Copyright 2014 Ruediger Moeller.
*
* 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... | jtsay362/fast-serialization | src/main/java/org/nustaq/serialization/coders/FSTBytezDecoder.java | Java | apache-2.0 | 12,766 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_CHROMEOS_H_
#define CHROME_BROWSER_EXTENSIONS_API_INPUT_IME_INPUT_IME_API_CHROMEOS_H_
#incl... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/chrome/browser/extensions/api/input_ime/input_ime_api_chromeos.h | C | bsd-2-clause | 4,727 |
// Copyright (c) 2012 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.
#ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_TAB_CONTENTS_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_TAB_CONTENTS_CONTROLLER_H_
#incl... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h | C | bsd-2-clause | 4,106 |
/*
* Copyright 2014, General Dynamics C4 Systems
*
* This software may be distributed and modified according to the terms of
* the GNU General Public License version 2. Note that NO WARRANTY is provided.
* See "LICENSE_GPLv2.txt" for details.
*
* @TAG(GD_GPL)
*/
#include <types.h>
#include <machine/io.h>
#incl... | sigma-random/seL4 | src/plat/zynq7000/machine/hardware.c | C | bsd-2-clause | 8,701 |
# Copyright 2014 Greg Hurrell. All rights reserved.
# Licensed under the terms of the BSD 2-clause license.
module CommandT
class Scanner
class FileScanner
# Uses git ls-files to scan for files
class GitFileScanner < FindFileScanner
LsFilesError = Class.new(::RuntimeError)
def paths!... | vrkansagara/command-t | ruby/command-t/scanner/file_scanner/git_file_scanner.rb | Ruby | bsd-2-clause | 1,547 |
cask 'find-empty-folders' do
version '1.1'
sha256 '6eea5c0cde96b1d2297ccbd9c98391f6c76ef2076654871faf5e27030ca1e293'
url 'http://files.tempel.org/FindEmptyFolders/FindEmptyFolders.zip'
name 'Find Empty Folders'
homepage 'http://www.tempel.org/FindEmptyFolders'
license :gratis
app 'Find Empty Folders.app... | mgryszko/homebrew-cask | Casks/find-empty-folders.rb | Ruby | bsd-2-clause | 369 |
// Copyright 2016 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.
#ifndef PRINTING_BACKEND_CUPS_PRINTER_H_
#define PRINTING_BACKEND_CUPS_PRINTER_H_
#include <cups/cups.h>
#include <memory>
#include <string>
#include <v... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/printing/backend/cups_printer.h | C | bsd-2-clause | 5,198 |
// 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.
#ifndef NET_SDCH_SDCH_OWNER_H_
#define NET_SDCH_SDCH_OWNER_H_
#include <stddef.h>
#include <stdint.h>
#include <map>
#include <string>
#include "base/m... | ssaroha/node-webrtc | third_party/webrtc/include/chromium/src/net/sdch/sdch_owner.h | C | bsd-2-clause | 10,524 |
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in com... | ConnCollege/cas | cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/RevokedCertificateException.java | Java | bsd-3-clause | 3,904 |
*> \brief \b DDRVSX
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DDRVSX( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH,
* NIUNIT, NOUNIT, A, LDA, H, ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/EIG/ddrvsx.f | FORTRAN | bsd-3-clause | 33,842 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';
module.exports = () => [
require.resolve('./console.js'),
require.resolve('./error-guard.js'),
... | arthuralee/react-native | packages/polyfills/index.js | JavaScript | bsd-3-clause | 359 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Behavior common to Site Settings classes.
*/
/** @polymerBehavior */
var SiteSettingsBehaviorImpl = {
properties: {
/**
... | js0701/chromium-crosswalk | chrome/browser/resources/settings/site_settings/site_settings_behavior.js | JavaScript | bsd-3-clause | 11,974 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/common.proto
package com.google.monitoring.v3;
public interface TimeIntervalOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.monitoring.v3.TimeInterval)
com.google.protobuf.MessageOrBuilder {
/... | eoogbe/api-client-staging | generated/java/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/TimeIntervalOrBuilder.java | Java | bsd-3-clause | 1,833 |
/*
* Copyright 2011 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
// Despite the name and location, this is portable code.
#include "SkFixed.h"
#include "SkFontMgr.h"
#include "SkFontMgr_android_parser.h"
#include "SkMal... | Hikari-no-Tenshi/android_external_skia | src/ports/SkFontMgr_android_parser.cpp | C++ | bsd-3-clause | 34,402 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... | cpunion/react-native | website/core/Site.js | JavaScript | bsd-3-clause | 14,480 |
// Copyright 2020 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
REG_FIDDLE_ANIMATED(Octopus_Generator_Animated, 256, 256, false, 0, 4) {
void paintOctopus(int x, int y, int size_base, SkColor color, SkCanvas* canvas) {... | youtube/cobalt | third_party/skia_next/third_party/skia/docs/examples/Octopus_Generator_Animated.cpp | C++ | bsd-3-clause | 1,559 |
// Copyright 2016 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.
#include "third_party/blink/renderer/platform/widget/input/event_with_callback.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
#... | chromium/chromium | third_party/blink/renderer/platform/widget/input/event_with_callback.cc | C++ | bsd-3-clause | 7,118 |
// 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.
#ifndef CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
#define CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
#include <stdint.h>
#inclu... | js0701/chromium-crosswalk | chromecast/browser/devtools/remote_debugging_server.h | C | bsd-3-clause | 1,068 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__
#define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__
#include "base/macros.h"
#include "... | js0701/chromium-crosswalk | ios/chrome/browser/sync/ios_chrome_sync_client.h | C | bsd-3-clause | 3,046 |
/*
* Algorithm.scala
* General Figaro algorithms.
*
* Created By: Avi Pfeffer (apfeffer@cra.com)
* Creation Date: Jan 1, 2009
*
* Copyright 2013 Avrom J. Pfeffer and Charles River Analytics, Inc.
* See http://www.cra.com or email figaro@cra.com for information.
*
* See http://www.github.com/p2t2/fig... | jyuhuan/figaro | Figaro/src/main/scala/com/cra/figaro/algorithm/Algorithm.scala | Scala | bsd-3-clause | 3,276 |
# 1.5 Summary
In this chapter, we talked about how to install Go using three different methods including from source code, the standard package and via third-party tools. Then we showed you how to configure the Go development environment, mainly covering how to setup your `$GOPATH`. After that, we introduced some step... | astaxie/build-web-application-with-golang | th/01.5.md | Markdown | bsd-3-clause | 800 |
<?php
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @category Pimcore
* @package Document
* @c... | kanevbg/pimcore | pimcore/models/Document/DocType.php | PHP | bsd-3-clause | 5,233 |
// Copyright (c) 2012 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.
#include "webkit/plugins/npapi/plugin_lib.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "build/build_config.h"
#... | nacl-webkit/chrome_deps | webkit/plugins/npapi/plugin_lib_unittest.cc | C++ | bsd-3-clause | 6,617 |
// Copyright (c) 2012 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.
#include "chrome/browser/autocomplete/url_index_private_data.h"
#include <functional>
#include <iterator>
#include <limits>
#include <numeric>
#inclu... | mou4e/zirconium | chrome/browser/autocomplete/url_index_private_data.cc | C++ | bsd-3-clause | 54,944 |
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | danakj/chromium | third_party/WebKit/Source/core/timing/WorkerGlobalScopePerformance.cpp | C++ | bsd-3-clause | 2,825 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.