repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
pattisdr/osf.io
admin/nodes/urls.py
2100
from django.conf.urls import url from admin.nodes import views app_name = 'admin' urlpatterns = [ url(r'^$', views.NodeFormView.as_view(), name='search'), url(r'^flagged_spam$', views.NodeFlaggedSpamList.as_view(), name='flagged-spam'), url(r'^known_spam$', views.NodeKnownSpamList.as_view(...
apache-2.0
ty1er/incubator-asterixdb
asterixdb/asterix-external-data/src/test/java/org/apache/asterix/external/classad/Util.java
8750
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
kkdai/LineBotTemplate
vendor/github.com/line/line-bot-sdk-go/v7/linebot/account_link.go
1468
// Copyright 2016 LINE Corporation // // LINE Corporation 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 requi...
apache-2.0
wileeam/airflow
airflow/operators/dummy_operator.py
1203
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
apache-2.0
dharshanaw/carbon-identity-framework
components/entitlement/org.wso2.carbon.identity.entitlement.common/src/main/java/org/wso2/carbon/identity/entitlement/common/dto/ElementCountDTO.java
1931
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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 * * ...
apache-2.0
sijie/bookkeeper
stream/distributedlog/common/src/main/java/org/apache/distributedlog/common/concurrent/AsyncSemaphore.java
5678
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
clearswift/trafficserver
proxy/api/ts/experimental.h
17789
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file ...
apache-2.0
pk1057/asterisk-java
src/test/java/org/asteriskjava/pbx/agi/RateLimiterTest.java
647
package org.asteriskjava.pbx.agi; import static org.junit.Assert.assertTrue; import org.asteriskjava.pbx.agi.RateLimiter; import org.junit.Test; public class RateLimiterTest { @Test public void test() throws InterruptedException { long now = System.currentTimeMillis(); RateLimiter limite...
apache-2.0
shishaochen/TensorFlow-0.8-Win
third_party/grpc/test/cpp/qps/client_sync.cc
5893
/* * * Copyright 2015, 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 condi...
apache-2.0
idea4bsd/idea4bsd
platform/platform-impl/src/com/intellij/openapi/vfs/encoding/EncodingUtil.java
11775
/* * 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...
apache-2.0
Peddle/hue
desktop/core/src/desktop/lib/test_utils.py
2861
#!/usr/bin/env python # 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 (the # "License"); you ma...
apache-2.0
wangcy6/storm_app
frame/c++/webrtc-master/common_audio/fir_filter_factory.h
1140
/* * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contrib...
apache-2.0
SreejithNS/com.sreejithn
www/js/geturi.js
312
function getUrlVars() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for (var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; }
apache-2.0
likangning93/cesium
Apps/Sandcastle/gallery/Star Burst.html
13915
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <meta name="description" content="Star bur...
apache-2.0
bluSCALE4/react-hello-world
src/actions/actionTypes.js
46
export const CREATE_COURSE = 'CREATE_COURSE';
apache-2.0
OpenSOC/opensoc-streaming
OpenSOC-Topologies/src/main/java/com/opensoc/topology/runner/TopologyRunner.java
36860
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
zeickan/Infected-Engine
static/global/scripts/datatable.js
11607
/*** Wrapper/Helper Class for datagrid based on jQuery Datatable Plugin ***/ var Datatable = function () { var tableOptions; // main options var dataTable; // datatable object var table; // actual table jquery object var tableContainer; // actual table container object var tableWr...
apache-2.0
leppa/home-assistant
homeassistant/components/foobot/sensor.py
4894
"""Support for the Foobot indoor air quality monitor.""" import asyncio from datetime import timedelta import logging import aiohttp from foobot_async import FoobotClient import voluptuous as vol from homeassistant.const import ( ATTR_TEMPERATURE, ATTR_TIME, CONF_TOKEN, CONF_USERNAME, TEMP_CELSIUS...
apache-2.0
victorwangyang/containerops
tenant/angular4/src/app/repository/git/git.component.ts
863
/* Copyright 2016 - 2017 Huawei Technologies Co., Ltd. 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 applic...
apache-2.0
axbaretto/beam
sdks/python/.tox/py27gcp/lib/python2.7/site-packages/hamcrest/core/helpers/wrap_matcher.py
880
import six from hamcrest.core.base_matcher import Matcher from hamcrest.core.core.isequal import equal_to __author__ = "Jon Reid" __copyright__ = "Copyright 2011 hamcrest.org" __license__ = "BSD, see License.txt" import types def wrap_matcher(x): """Wraps argument in a matcher, if necessary. :returns: the ...
apache-2.0
zero-rp/miniblink49
v8_5_7/src/parsing/rewriter.cc
13412
// Copyright 2012 the V8 project 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 "src/parsing/rewriter.h" #include "src/ast/ast.h" #include "src/ast/scopes.h" #include "src/parsing/parse-info.h" #include "src/parsing/parser...
apache-2.0
istio/istio.io
archive/v1.5/zh/news/announcing-1.0.8/index.html
433
<!doctype html><html lang=en><head><title>Redirecting&mldr;</title><link rel=canonical href=/v1.5/zh/news/releases/1.0.x/announcing-1.0.8/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=/v1.5/zh/news/releases/1.0.x/announcing-1.0.8/"></head><body><h1>Redirecting&mldr;</...
apache-2.0
OSS-TheWeatherCompany/dasein-cloud-core
src/main/java/org/dasein/cloud/VisibleScope.java
1298
/** * Copyright (C) 2009-2014 Dell, Inc. * See annotations for authorship 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 co...
apache-2.0
chtyim/cdap
cdap-cli/src/main/java/co/cask/cdap/cli/completer/element/HttpMethodPrefixCompleter.java
3087
/* * Copyright © 2014 Cask Data, 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 t...
apache-2.0
hurricup/intellij-community
plugins/javaFX/src/org/jetbrains/plugins/javaFX/fxml/refs/JavaFxControllerFieldSearcher.java
4457
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
google/llvm-propeller
clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
14744
// RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple x86_64-apple-macosx10.14.0 %s // RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple x86_64-apple-macosx10.14.0 %s -fno-signed-char // RUN: %clang_cc1 -verify -std=c++2a -fsyntax-only -triple aarch64_be-linux-gnu %s #if __BYTE_ORDER__ == __ORDER_LITTLE_E...
apache-2.0
stephen-murby/gocd
server/webapp/WEB-INF/rails.new/app/presenters/api_v1/dashboard/pipeline_group_representer.rb
1291
########################################################################## # Copyright 2015 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/li...
apache-2.0
DenverArtMuseum/OctoberFriends
docs/html/db/d76/classDMA_1_1Friends_1_1Api_1_1ActivityResource-members.html
8545
<!-- HTML header for doxygen 1.8.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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" conte...
apache-2.0
Donnerbart/hazelcast
hazelcast/src/main/java/com/hazelcast/map/impl/querycache/subscriber/NodeQueryCacheConfigurator.java
3996
/* * Copyright (c) 2008-2018, 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 ...
apache-2.0
getyourguide/fbthrift
thrift/compiler/test/fixtures/fatal/gen-cpp2/service1_processmap_compact.cpp
401
/** * Autogenerated by Thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "thrift/compiler/test/fixtures/fatal/gen-cpp2/service1.h" #include "thrift/compiler/test/fixtures/fatal/gen-cpp2/service1.tcc" namespace test_cpp2 { namespace cpp_reflection { }} // test_...
apache-2.0
luna1x/chef-server
vendor/ruby/1.9.1/gems/fog-1.15.0/lib/fog/rackspace/examples/compute_v2/create_image.rb
1864
#!/usr/bin/env ruby # This example demonstrates creating a server image with the Rackpace Open Cloud require 'rubygems' #required for Ruby 1.8.x require 'fog' def get_user_input(prompt) print "#{prompt}: " gets.chomp end def select_server(servers) abort "\nThere are not any servers available to image in the C...
apache-2.0
jmandawg/camel
components/camel-twitter/src/main/java/org/apache/camel/component/twitter/springboot/TwitterComponentConfiguration.java
3496
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
apache-2.0
gh351135612/presto
presto-hive/src/main/java/com/facebook/presto/hive/HiveWriteUtils.java
42741
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
markkerzner/nn_kove
hadoop/docs/api/org/apache/hadoop/streaming/io/package-frame.html
1975
<!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:04:59 UTC 2013 --> <TITLE> org.apache.hadoop.streaming.io (Hadoop 1.1.2 API) </TITLE> <META NAME="date" CONTENT="2013-01-31"> ...
apache-2.0
dahlstrom-g/intellij-community
plugins/InspectionGadgets/src/com/siyeh/ig/logging/LoggerInitializedWithForeignClassInspection.java
9735
// Copyright 2000-2020 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.siyeh.ig.logging; import com.intellij.codeInspection.CommonQuickFixBundle; import com.intellij.codeInspection.ProblemDescriptor; import com.intellij.codeInspection.ui...
apache-2.0
Ariah-Group/Continuity
src/main/webapp/javascripts/ext/build/data/ArrayReader-min.js
539
Ext.data.ArrayReader=Ext.extend(Ext.data.JsonReader,{readRecords:function(c){var b=this.meta?this.meta.id:null;var h=this.recordType,q=h.prototype.fields;var e=[];var s=c;for(var m=0;m<s.length;m++){var d=s[m];var u={};var a=((b||b===0)&&d[b]!==undefined&&d[b]!==""?d[b]:null);for(var l=0,w=q.length;l<w;l++){var r=q.ite...
apache-2.0
pluto-build/java-util
src/test/java/com/cedarsoftware/util/TestInetAddressUtilities.java
1810
package com.cedarsoftware.util; import org.junit.Assert; import org.junit.Test; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; import java.net.InetAddress; /** * useful InetAddress Utilities * * @author Kenneth Partlow * <br> * Copyright (c) Cedar Software LLC * ...
apache-2.0
dahlstrom-g/intellij-community
java/java-tests/testSrc/com/intellij/java/psi/formatter/java/JavaFormatterAlignmentTest.java
30615
// Copyright 2000-2019 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.java.psi.formatter.java; import com.intellij.ide.highlighter.JavaFileType; import com.intellij.openapi.util.TextRange; import com.intellij.psi.codeStyle.Comm...
apache-2.0
programming086/omim
search/locality_finder.hpp
1775
#pragma once #include "indexer/index.hpp" #include "geometry/point2d.hpp" #include "geometry/rect2d.hpp" #include "geometry/tree4d.hpp" #include "std/set.hpp" class Index; namespace search { struct LocalityItem { m2::RectD m_rect; string m_name; uint32_t m_population; typedef uint32_t ID; ID m_id; ...
apache-2.0
SINTEFMedtek/CTK
Libs/Widgets/ctkDoubleRangeSliderEventPlayer.h
1490
/*========================================================================= Library: CTK Copyright (c) Kitware 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.ap...
apache-2.0
Artemkaaas/indy-sdk
docs/how-tos/save-schema-and-cred-def/rust/src/step4.rs
717
println!("11. Creating and storing CREDENTAIL DEFINITION using anoncreds as Trust Anchor, for the given Schema"); let config_json = r#"{ "support_revocation": false }"#; let tag = r#"TAG1"#; let (_cred_def_id, _cred_def_json) = anoncreds::issuer_create_and_store_credential_def(wallet_handle, &trustee_did, &schema_json...
apache-2.0
mariaro/cypress
app/controllers/errors_controller.rb
287
class ErrorsController < ApplicationController def error_404 respond_to do |format| format.html { render template: 'errors/error_404', layout: 'layouts/application', status: 404 } format.all { render nothing: true, status: 404 } end end def error_500 end end
apache-2.0
thaysmelo/mobile_maravilhas-pe
sistema/vendor/cakephp/bake/tests/TestCase/Shell/Task/ControllerTaskTest.php
10677
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
apache-2.0
daniel-vainsencher/scirust
src/matrix/eo/eo_view.rs
3596
// std imports use std::mem; // external imports use num::traits::Num; // local imports use algebra::structure::MagmaBase; use super::eo_traits::{ERO, ECO}; use matrix::view::MatrixView; use matrix::traits::{Shape, MatrixBuffer, Strided}; /// Implementation of Elementary row operations. impl<'a, T:MagmaBase + Nu...
apache-2.0
TommesDee/cpachecker
test/programs/simple/switch-tests/switch3.c
161
#include <stdlib.h> int main(void) { int a = 1; int b = 1; switch (a) { case 1 : b = 3; break; case 2 : b = 5; break; } return (0); }
apache-2.0
kidebit/AudioBlurp
appinventor/appengine/tests/com/google/appinventor/server/FileExporterImplTest.java
7269
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.server; import com.google.appinventor.server.stora...
apache-2.0
afalak/java-buildpack
spec/java_buildpack/framework/introscope_agent_spec.rb
4002
# Cloud Foundry Java Buildpack # Copyright 2013-2017 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 # # Un...
apache-2.0
hovsepm/azure-powershell
src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Mocks/MockTokenAuthenticationFactory.cs
4798
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
tombujok/hazelcast
hazelcast-client/src/main/java/com/hazelcast/client/spi/ClientPartitionService.java
1185
/* * 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 ...
apache-2.0
BluelabUnifor/sunny-messeger
node_modules/watson-developer-cloud/node_modules/buffer-from/node_modules/is-array-buffer-x/node_modules/has-to-string-tag-x/index.js
2875
/** * @file * <a href="https://travis-ci.org/Xotic750/has-to-string-tag-x" * title="Travis status"> * <img * src="https://travis-ci.org/Xotic750/has-to-string-tag-x.svg?branch=master" * alt="Travis status" height="18"> * </a> * <a href="https://david-dm.org/Xotic750/has-to-string-tag-x" * title="Dependency sta...
apache-2.0
porkybrain/Kvasir
Lib/Chip/CM4/Freescale/MK21DA5/SPI1.hpp
40340
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Serial Peripheral Interface namespace Spi1Mcr{ ///<Module Configuration Register using Addr = Register::Address<0x4002d000,0x02e000fe,0x00000000,unsigned>; ///Halt enum class HaltVal { v0=0x00000000, ///<St...
apache-2.0
CraigHarris/gpdb
src/test/tinc/tincrepo/mpp/gpdb/tests/storage/transaction_management/skip_checkpoint_abort_transaction/test_skip_checkpoint_abort_transaction.py
3466
""" Copyright (C) 2004-2015 Pivotal Software, Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
apache-2.0
Miciah/origin
vendor/github.com/aws/aws-sdk-go/private/model/api/example_test.go
6120
// +build go1.10,codegen package api import ( "encoding/json" "testing" ) func buildAPI() *API { a := &API{} stringShape := &Shape{ API: a, ShapeName: "string", Type: "string", } stringShapeRef := &ShapeRef{ API: a, ShapeName: "string", Shape: stringShape, } intShape := &Sh...
apache-2.0
shroman/ignite
modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/CacheConfiguration.cs
42848
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
apache-2.0
zer0se7en/netty
handler/src/test/java/io/netty/handler/ssl/PemEncodedTest.java
3656
/* * Copyright 2016 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: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
apache-2.0
zhihuij/druid
processing/src/main/java/io/druid/query/filter/SelectorDimFilter.java
6989
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
Ant-Droid/android_frameworks_base_OLD
location/lib/java/com/android/location/provider/ActivityRecognitionProviderWatcher.java
3055
/* * Copyright (C) 2014 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...
apache-2.0
massakam/pulsar
site2/website/versioned_docs/version-2.6.0/admin-api-brokers.md
4711
--- id: version-2.6.0-admin-api-brokers title: Managing Brokers sidebar_label: Brokers original_id: admin-api-brokers --- Pulsar brokers consist of two components: 1. An HTTP server exposing a {@inject: rest:REST:/} interface administration and [topic](reference-terminology.md#topic) lookup. 2. A dispatcher that hand...
apache-2.0
tombujok/hazelcast
hazelcast/src/test/java/com/hazelcast/internal/adapter/ICacheReplaceEntryProcessor.java
1482
/* * 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 ...
apache-2.0
jandppw/ppwcode-recovered-from-google-code
java/vernacular/persistence/dev/d20081014-1359/src/main/java/org/ppwcode/vernacular/persistence_III/AbstractPersistentBean.java
2465
/*<license> Copyright 2005 - $Date$ by PeopleWare n.v.. 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...
apache-2.0
zephyrproject-rtos/zephyr
include/arch/x86/multiboot.h
2729
/* * Copyright (c) 2019 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_H_ #define ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_H_ #ifndef _ASMLANGUAGE /* * Multiboot (version 1) boot information structure. * * Only fields/values of interest to Zephyr are enumerated...
apache-2.0
Brocade-OpenSource/OpenStack-DNRM-Neutron
neutron/db/migration/alembic_migrations/versions/3b54bf9e29f7_nec_plugin_sharednet.py
2645
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2013 OpenStack Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE...
apache-2.0
aurbroszniowski/ehcache3
impl/src/main/java/org/ehcache/config/builders/CacheManagerBuilder.java
17637
/* * Copyright Terracotta, 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 ...
apache-2.0
ern/elasticsearch
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/datafeed/DelayedDataCheckConfigTests.java
4017
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ml.datafeed; import org.elast...
apache-2.0
braaad/RakNet
DependentExtensions/Swig/SwigWindowsCSharpSample/SwigTestApp/SwigFiles/Router2DebugInterface.cs
1592
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
bsd-2-clause
jabenninghoff/homebrew-core
Formula/argp-standalone.rb
1832
class ArgpStandalone < Formula desc "Standalone version of arguments parsing functions from GLIBC" homepage "https://www.lysator.liu.se/~nisse/misc/" url "https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz" sha256 "dec79694da1319acd2238ce95df57f3680fea2482096e483323fddf3d818d8be" livecheck do ...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/annexB/language/comments/single-line-html-open.js
1179
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-html-like-comments description: SingleLineHTMLOpenComment info: | Comment :: MultiLineComment SingleLineComment SingleLineHTMLOpenComment ...
bsd-2-clause
BrewTestBot/homebrew-core
Formula/swagger-codegen@2.rb
1550
class SwaggerCodegenAT2 < Formula desc "Generate clients, server stubs, and docs from an OpenAPI spec" homepage "https://swagger.io/swagger-codegen/" url "https://github.com/swagger-api/swagger-codegen/archive/v2.4.12.tar.gz" sha256 "52a61b28a95a250fdbe7ef38ef9ea1116878b6271e768e054404336ab19f1c14" bottle do...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArray/prototype/copyWithin/BigInt/negative-out-of-bounds-target.js
1835
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-%typedarray%.prototype.copywithin description: > Set values with out of bounds negative target argument. info: | 22.2.3.5 %TypedArray%.prototype.copyWithin (targe...
bsd-2-clause
DmitryOlshansky/dsmith
src/StatementBreak.h
2629
// -*- mode: C++ -*- // // Copyright (c) 2007, 2008, 2009, 2010, 2011 The University of Utah // All rights reserved. // // This file is part of `csmith', a random generator of C programs. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following ...
bsd-2-clause
adamliter/homebrew-core
Formula/travis.rb
4429
class Travis < Formula desc "Command-line client for Travis CI" homepage "https://github.com/travis-ci/travis.rb/" url "https://github.com/travis-ci/travis.rb/archive/v1.8.9.tar.gz" sha256 "7a143bd0eb90e825370c808d38b70cca8c399c68bea8138442f40f09b6bbafc4" revision 3 bottle do sha256 "d695085c0886f6db8d...
bsd-2-clause
corbt/homebrew-cask
Casks/eclipse-installer.rb
477
cask 'eclipse-installer' do version :latest sha256 :no_check url 'http://eclipse.org/downloads/download.php?file=/oomph/products/eclipse-inst-mac64.tar.gz&r=1' name 'Eclipse Installer' homepage 'http://eclipse.org/' license :eclipse app 'Eclipse Installer.app' depends_on :macos => '>= :leopard' dep...
bsd-2-clause
wkoszek/book-programming-ruby
src/ex0035.rb
93
# Sample code from Programing Ruby, page 18 line = 'abc' line.gsub(/Perl|Python/, 'Ruby')
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-3-114.js
629
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-3-114 description: > Object.defineProperty - 'configurable' property in 'Attributes' is a Boolean object (8.10.5 step 4.b) ---*/ var obj = {}; Object.de...
bsd-2-clause
brianshumate/homebrew-cask
Casks/jenkins.rb
1441
cask :v1 => 'jenkins' do version '1.639' sha256 'be0637aa4b0078d3998d12d1e51ae9a79343d948d21c803a1d33855e94dade36' url "http://mirrors.jenkins-ci.org/osx/jenkins-#{version}.pkg" name 'Jenkins' homepage 'https://jenkins-ci.org/' license :mit pkg "jenkins-#{version}.pkg" binary '/Library/Application Sup...
bsd-2-clause
daminetreg/hunter
cmake/projects/drm/hunter.cmake
908
# Copyright (c) 2016 Ruslan Baratov # All rights reserved. # !!! DO NOT PLACE HEADER GUARDS HERE !!! include(hunter_add_version) include(hunter_cacheable) include(hunter_download) include(hunter_pick_scheme) # https://dri.freedesktop.org/libdrm/ hunter_add_version( PACKAGE_NAME drm VERSION "2.4.67" ...
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/getOwnPropertyDescriptor/15.2.3.3-2-25.js
425
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.3-2-25 description: > Object.getOwnPropertyDescriptor - argument 'P' is a number that converts to a string (value is 1e-7) ---*/ var obj = { "1e-7": 1 };...
bsd-2-clause
dioptre/newos
boot/ppc/stage2_mmu.c
16217
/* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ #include <boot/stage2.h> #include <boot/shared/openfirmware.h> #include <kernel/kernel.h> #include <arch/cpu.h> #include <libc/string.h> #include "stage2_priv.h" static unsigned int primary_hash(unsi...
bsd-3-clause
lucadelu/PDAL
vendor/pdalboost/boost/range/detail/range_return.hpp
6270
// Copyright Neil Groves 2009. Use, modification and // distribution is subject to 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) // // // For more information, see http://www.boost.org/libs/range/ // #ifndef BOOST_RANGE_DETAIL_...
bsd-3-clause
codenote/chromium-test
webkit/media/webmediaplayer_params.cc
788
// 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/media/webmediaplayer_params.h" #include "media/base/audio_renderer_sink.h" #include "media/base/media_log.h" namespace webkit_media...
bsd-3-clause
pombredanne/voc
tests/builtins/test_print.py
1816
from .. utils import TranspileTestCase, BuiltinFunctionTestCase class PrintTests(TranspileTestCase): def test_fileobj(self): self.assertCodeExecution(""" class FileLikeObject: def __init__(self): self.buffer = '' def write(self, content): ...
bsd-3-clause
frivoal/presto-testo
core/standards/forms/input-submit-float-inline.html
920
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Forms :: submit input : float alongside inline content</title> <style type="text/css"> form * { font-family: Ahem; font-size: 1em; line-height: 1em; } fieldset, div { color: #3366CC; background-color: red; padding: 0; margin: 0; border: non...
bsd-3-clause
chshu/openthread
examples/platforms/k32w/k32w061/openthread-core-k32w061-config.h
5242
/* * Copyright (c) 2019, The OpenThread Authors. * 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 ...
bsd-3-clause
frivoal/presto-testo
imported/peter/unicode/comparative/GB18030-823191.html
1896
<html> <head> <title>GB18030 lead 823191</title> <meta http-equiv='content-type' content='text/html;charset=GB18030'> <link rel='stylesheet' href='tests.css'> </head> <body> <table> <caption>Four-byte lead 823191</caption> <tr><th colspan=2>GB18030<th colspan=3>Unicode <tr><td>=82319130<td> ‚1‘0 <t...
bsd-3-clause
frivoal/presto-testo
css/resize/textarea-6.html
436
<!doctype html> <title>textarea resize | negative resize</title> <style> textarea { width: 100px; height: 100px; } </style> <p>There should be a textarea below, with a resize handle visible in the bottom right corner.</p> <textarea></textarea> <script src="resize.js"></script> <script> window.onloa...
bsd-3-clause
endlessm/chromium-browser
third_party/ffmpeg/libavcodec/ffv1enc_template.c
7075
/* * FFV1 encoder template * * Copyright (c) 2003-2016 Michael Niedermayer <michaelni@gmx.at> * * This file is part of FFmpeg. * * FFmpeg 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 ...
bsd-3-clause
frobware/go
src/runtime/atomic_386.go
1585
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime import "unsafe" // The calls to nop are to keep these functions from being inlined. // If they are inlined we have no guarantee that later rew...
bsd-3-clause
aurora-sim/Aurora-WebUI
www/worldmap/javascripts/mapapi.shape.js
12790
/** * License and Terms of Use * * Copyright (c) 2011 SignpostMarv * * 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, cop...
bsd-3-clause
marcoantoniooliveira/labweb
oscar/templates/oscar/customer/notifications/detail.html
1304
{% extends "customer/baseaccountpage.html" %} {% load i18n %} {% block extra_breadcrumbs %} <li> <a href="{% url 'customer:notifications-inbox' %}">{% trans 'Notifications inbox' %}</a> <span class="divider">/</span> </li> {% endblock %} {% block tabcontent %} <table class="table table-str...
bsd-3-clause
Pluto-tv/chromium-crosswalk
content/public/renderer/render_frame_observer.h
5187
// Copyright 2013 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 CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ #define CONTENT_PUBLIC_RENDERER_RENDER_FRAME_OBSERVER_H_ #include "base/basictypes.h" #include "...
bsd-3-clause
frivoal/presto-testo
core/standards/forms/input-text-float.html
852
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>Forms :: text input : float</title> <style type="text/css"> form * { font-family: Ahem; font-size: 1em; line-height: 1em; } fieldset, div { background-color: red; padding: 0; margin: 1em; border: none; width: 2em; height: 1em; } input, spa...
bsd-3-clause
smishenk/blink-crosswalk
LayoutTests/http/tests/dom/location-stringify.html
1068
<html> <head> <script> function log(str) { var li = document.createElement("li"); li.appendChild(document.createTextNode(str)); var console = document.getElementById("console"); console.appendChild(li); } function assertEqual(message, actual, expected) { if (actual != expected) log("\n" + m...
bsd-3-clause
mtscout6/fluent-nhibernate
src/FluentNHibernate.Testing/ConventionFinderTests/AddingTypeTests.cs
2683
using System; using FluentNHibernate.Conventions; using FluentNHibernate.Conventions.AcceptanceCriteria; using FluentNHibernate.Conventions.Instances; using FluentNHibernate.Conventions.Inspections; using FluentNHibernate.Mapping; using NUnit.Framework; namespace FluentNHibernate.Testing.ConventionFinderTests ...
bsd-3-clause
hoangpham95/react-native
packages/rn-tester/js/examples/ActivityIndicator/ActivityIndicatorExample.js
3613
/** * 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 * @flow strict-local */ 'use strict'; import type {Node} from 'React'; import {ActivityIndicator, StyleSheet, View} fr...
bsd-3-clause
Vaishal-shah/Envision
InformationScripting/scripts/evaluation/nonFinalPublic.py
345
for astTuple in Query.input.tuples('ast'): if type(astTuple.ast) is Field: modifiers = astTuple.ast.modifiers nonFinalPublic = modifiers.isSet(Modifier.ModifierFlag.Public) and not modifiers.isSet(Modifier.ModifierFlag.Final) if not nonFinalPublic: Query.input.remove(astTuple) Q...
bsd-3-clause
umrashrf/scrapy
scrapy/utils/test.py
3020
""" This module contains some assorted functions used in tests """ from __future__ import absolute_import import os from importlib import import_module from twisted.trial.unittest import SkipTest from scrapy.exceptions import NotConfigured from scrapy.utils.boto import is_botocore def assert_aws_environ(): """...
bsd-3-clause
MohamedSeliem/contiki
cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c
6889
/* * Copyright (c) 2015, Texas Instruments Incorporated - http://www.ti.com/ * 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 copy...
bsd-3-clause
yangshun/react
src/renderers/native/takeSnapshot.js
1528
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule takeSnapshot * @flow */ 'use strict'; const UIManager = require('UIManager'); const findNumericNodeHandle = require...
bsd-3-clause
frivoal/presto-testo
imported/peter/unicode/comparative/GB18030-8136c8.html
1253
<html> <head> <title>GB18030 lead 8136C8</title> <meta http-equiv='content-type' content='text/html;charset=GB18030'> <link rel='stylesheet' href='tests.css'> </head> <body> <table> <caption>Four-byte lead 8136C8</caption> <tr><th colspan=2>GB18030<th colspan=3>Unicode <tr><td>=8136C830<td> 6È0 <t...
bsd-3-clause
wangrunxinyes/sby
frontend/plugin/include/extensions/fullscren.choices/src/js/jquery.fatNav.js
2044
(function($, window, document) { var pluginName = 'fatNav', defaults = {}; function Plugin(options) { this.settings = $.extend({}, defaults, options); this._defaults = defaults; this._name = pluginName; this.init(); } $.extend(Plugin.prototype, { ...
bsd-3-clause