repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
abimarank/product-apim
integration-tests/src/main/java/org/wso2/carbon/apimgt/rest/integration/tests/model/APICorsConfiguration.java
7272
/* * WSO2 API Manager - Publisher API * This specifies a **RESTful API** for WSO2 **API Manager** - Publisher. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher/src/main/resources/publisher-api.yaml) of the API...
apache-2.0
nikhilvibhav/camel
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultValidatorRegistry.java
2457
/* * 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
fogbeam/Heceta_nutch
src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/FtpRobotRulesParser.java
3708
/** * 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
samaitra/ignite
modules/indexing/src/main/java/org/apache/ignite/spi/systemview/view/SqlViewView.java
1673
/* * 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
MissionCriticalCloud/cosmic-plugin-hypervisor-ovm3
src/test/resources/scripts/repo_pool.py
6325
#!/usr/bin/python # # 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...
apache-2.0
nigel0913/EcustLock
jni/MixtureFileWriter.h
4540
/* This file is part of ALIZE which is an open-source tool for speaker recognition. ALIZE 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 3 of the License, or any later ...
apache-2.0
pulcy/ha-redis
vendor/github.com/docker/docker/docs/reference/commandline/service_tasks.md
3318
<!--[metadata]> +++ title = "service tasks" description = "The service tasks command description and usage" keywords = ["service, tasks"] advisory = "rc" [menu.main] parent = "smn_cli" +++ <![end-metadata]--> # service tasks ```Markdown Usage: docker service tasks [OPTIONS] SERVICE List the tasks of a service Optio...
apache-2.0
rhusar/undertow
core/src/main/java/io/undertow/protocols/ssl/UndertowSslConnection.java
5435
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
apache-2.0
nongxiaoming/rt-thread
bsp/stm32/libraries/STM32U5xx_HAL/STM32U5xx_HAL_Driver/Inc/stm32u5xx_hal_gtzc.h
23389
/** ****************************************************************************** * @file stm32u5xx_hal_gtzc.h * @author MCD Application Team * @brief Header file of GTZC HAL module. ****************************************************************************** * @attention * * Copyright (c) 2021...
apache-2.0
blondprod/veganet
public/barcode/class/ean13.barcode.php
6651
<?php if(!defined('IN_CB'))die('You are not allowed to access to this page.'); /** * ean13.php *-------------------------------------------------------------------- * * Sub-Class - EAN-13 * * You can provide a ISBN code (without dash), the code will transform * it into a EAN13 format. * EAN-13 conta...
apache-2.0
gunan/tensorflow
tensorflow/core/kernels/eig_op_impl.h
3642
/* 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 applicable law or a...
apache-2.0
arangodb/arangodb
3rdParty/rocksdb/6.29/include/rocksdb/trace_record_result.h
6266
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <string> #include <vector> #inclu...
apache-2.0
szha/mxnet
tests/nightly/dist_async_kvstore.py
1994
#!/usr/bin/env python # 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 # "L...
apache-2.0
dgutierr/uberfire-extensions
uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-client/src/main/java/org/uberfire/ext/wires/bpmn/client/commands/impl/BatchCommand.java
2980
/* * Copyright 2015 JBoss, by Red Hat, 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 ...
apache-2.0
jacksonpradolima/pitest
pitest/src/test/java/org/pitest/mutationtest/MutableIncrement.java
735
/* * Copyright 2010 Henry Coles * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
apache-2.0
Neverous/docker
hack/vendor.sh
3860
#!/usr/bin/env bash set -e cd "$(dirname "$BASH_SOURCE")/.." rm -rf vendor/ source 'hack/.vendor-helpers.sh' # the following lines are in sorted order, FYI clone git github.com/Azure/go-ansiterm 70b2c90b260171e829f1ebd7c17f600c11858dbe clone git github.com/Sirupsen/logrus v0.8.2 # logrus is a common dependency among ...
apache-2.0
aehlig/bazel
src/test/java/com/google/devtools/build/android/desugar/testdata/InterfaceWithLambda.java
1029
// Copyright 2016 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
apache-2.0
flingone/frameworks_base_cmds_remoted
libs/boost/libs/type_traits/doc/html/boost_typetraits/mpl.html
5421
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>MPL Interoperability</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...
apache-2.0
frreiss/tensorflow-fred
tensorflow/core/kernels/cwise_op_round.cc
1086
/* Copyright 2016 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...
apache-2.0
tempbottle/restcommander
play-1.2.4/python/Lib/_abcoll.py
13666
# Copyright 2007 Google, Inc. All Rights Reserved. # Licensed to PSF under a Contributor Agreement. """Abstract Base Classes (ABCs) for collections, according to PEP 3119. DON'T USE THIS MODULE DIRECTLY! The classes here should be imported via collections; they are defined here only to alleviate certain bootstrappin...
apache-2.0
psoreide/bnd
docs/releases/5.0.0/macros/basename.html
8442
<!DOCTYPE html> <html lang="en" ng-app="jpm"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link href="/releases/5.0.0/css/style.css" rel="stylesheet" /> <script src="https://code.jquery.com/jque...
apache-2.0
ppittle/AlienSwarmDirectorMod
trunk/src/game/client/swarm/vgui/campaignframe.h
584
#ifndef _INCLUDED_CAMPAIGN_FRAME_H #define _INCLUDED_CAMPAIGN_FRAME_H #ifdef _WIN32 #pragma once #endif #include <vgui_controls/Frame.h> class CampaignPanel; // frame used to hold the campaign screen panels class CampaignFrame : public vgui::Frame { DECLARE_CLASS_SIMPLE( CampaignFrame, vgui::Frame ); CampaignFra...
apache-2.0
dobriy-eeh/omim
iphone/Maps/Classes/CustomViews/CircularProgress/MWMCircularProgressView.h
956
#import "MWMButton.h" #import "MWMCircularProgress.h" @interface MWMCircularProgressView : UIView @property(nonatomic, readonly) BOOL animating; @property(nonatomic) MWMCircularProgressState state; @property(nonatomic) BOOL isInvertColor; - (nonnull instancetype)initWithFrame:(CGRect)frame __attribute__((unavai...
apache-2.0
wwjiang007/alluxio
core/common/src/main/java/alluxio/wire/FileSystemCommandOptions.java
1198
/* * 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...
apache-2.0
sdwilsh/buck
src/com/facebook/buck/cxx/ClangCompiler.java
1330
/* * Copyright 2015-present Facebook, 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...
apache-2.0
bcsphere/bcexplorer
plugins/org/src/android/org/bcsphere/bluetooth/BCBluetooth.java
15604
/* Copyright 2013-2014, JUMA Technology 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,...
apache-2.0
giroto/teste
db/migrate/20140205192227_add_solution_to_levels.rb
135
class AddSolutionToLevels < ActiveRecord::Migration def change add_column :levels, :solution_level_source_id, :integer end end
apache-2.0
googlearchive/tango-examples-c
third_party/libfreetype/include/freetype/internal/ftvalid.h
6699
/***************************************************************************/ /* */ /* ftvalid.h */ /* */ /* Fr...
apache-2.0
NixaSoftware/CVis
venv/bin/doc/html/boost_asio/reference/buffered_write_stream/lowest_layer/overload2.html
3531
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>buffered_write_stream::lowest_layer (2 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="h...
apache-2.0
certik/pyjamas
pygtkweb/demos/065-setselection.py
2570
#!/usr/bin/env python # example setselection.py import pygtk pygtk.require('2.0') import gtk import time class SetSelectionExample: # Callback when the user toggles the selection def selection_toggled(self, widget, window): if widget.get_active(): self.have_selection = window.selection_ow...
apache-2.0
jomarko/drools
drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/OrTest.java
9484
/* * Copyright 2005 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...
apache-2.0
GunoH/intellij-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/importing/MavenRootModelAdapter.java
6985
/* * 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
FabMo/FabMo-Engine
dashboard/static/css/foundation.css
109631
@charset "UTF-8"; /** * Foundation for Sites by ZURB * Version 6.2.3 * foundation.zurb.com * Licensed under MIT Open Source */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /** * 1. Set default font family to sans-serif. * 2. Prevent iOS and IE text size adjust after device ori...
apache-2.0
danielmundim/InstaSharp
src/InstaSharp/Endpoints/Comments.cs
3563
using System.Collections.Generic; using System.Net.Http; using InstaSharp.Extensions; using InstaSharp.Models.Responses; using System.Threading.Tasks; namespace InstaSharp.Endpoints { /// <summary> /// Comments Endpoint /// </summary> public class Comments : InstagramApi { /// <summary> ...
apache-2.0
spring-projects/spring-net
src/Spring/Spring.Core/Objects/Factory/Parsing/Problem.cs
2660
#region License /* * Copyright © 2002-2011 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....
apache-2.0
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/aria-query/lib/etc/roles/literal/noteRole.js
627
"use strict"; var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var noteRole = { abstract: false, accessibleNameRequired: false, baseConcepts: [], childrenPresentati...
apache-2.0
armink/rt-thread
bsp/simulator/pcap/Include/pcap-stdinc.h
2865
/* * Copyright (c) 2002 - 2005 NetGroup, Politecnico di Torino (Italy) * Copyright (c) 2005 - 2009 CACE Technologies, Inc. Davis (California) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
apache-2.0
robovm/robovm-studio
java/java-impl/src/com/intellij/psi/formatter/java/AbstractJavaBlock.java
55736
/* * Copyright 2000-2014 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
cpcloud/arrow
cpp/src/arrow/vendored/xxhash/README.md
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 may...
apache-2.0
fjsc/sparta
web/src/views/settings/settings_menu.html
115
<st-primary-sidebar-title class-icon="icon-cog">{{"_MENU_SETTINGS_TITLE_" | translate}}</st-primary-sidebar-title>
apache-2.0
lavjain/incubator-hawq
src/test/feature/Ranger/sql/admin/70.sql
15
drop table a;
apache-2.0
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/sql/relational/SqlToRowExpressionTranslator.java
28699
/* * 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
hyokun31/wisekb-management-platform
wisekb-uima-ducc/webserver/root/opensources/DataTables-1.10.1/examples/server_side/pipeline.html
21526
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>DataTables example - Pipelining data to reduce Ajax calls for paging</title> <link rel="stylesh...
apache-2.0
DustinCampbell/roslyn
src/EditorFeatures/Test2/PasteTracking/PasteTrackingServiceTests.vb
13236
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Namespace Microsoft.CodeAnalysis.PasteTracking <UseExportProvider> Public Class PasteTrackingServiceTests Private Const Project1Name = "Proj...
apache-2.0
Ghatage/peloton
third_party/logcabin/RPC/Server.cc
2408
/* Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI...
apache-2.0
dreamofei/spring-net
src/Spring/Spring.Messaging.Ems/Messaging/Ems/Jndi/JndiLookupFactoryObject.cs
5343
#region License /* * Copyright 2002-2010 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 ...
apache-2.0
marcusramberg/mojo
lib/Mojo/URL.pm
12871
package Mojo::URL; use Mojo::Base -base; use overload bool => sub {1}, '""' => sub { shift->to_string }, fallback => 1; use Mojo::Parameters; use Mojo::Path; use Mojo::Util qw(decode encode punycode_decode punycode_encode url_escape url_unescape); has base => sub { Mojo::URL->new }; has [qw(fragment host port schem...
artistic-2.0
EricFromCanada/brew
Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb
2538
# typed: false # frozen_string_literal: true require "rubocops/bottle" describe RuboCop::Cop::FormulaAudit::BottleTagIndentation do subject(:cop) { described_class.new } it "reports no offenses for `bottle :uneeded`" do expect_no_offenses(<<~RUBY) class Foo < Formula url "https://brew.sh/foo-1....
bsd-2-clause
yacon/koala-framework
Kwc/Shop/Cart/Checkout/Payment/Abstract/OrderTable/Component.php
2091
<?php class Kwc_Shop_Cart_Checkout_Payment_Abstract_OrderTable_Component extends Kwc_Abstract { public static function getSettings() { $ret = parent::getSettings(); $ret['viewCache'] = false; return $ret; } public function getTemplateVars() { $ret = parent::getTempla...
bsd-2-clause
yacon/koala-framework
Kwc/Menu/EditableItems/ExtConfig.php
236
<?php class Kwc_Menu_EditableItems_ExtConfig extends Kwc_Abstract_List_ExtConfigList { protected function _getConfig() { $ret = parent::_getConfig(); $ret['list']['listWidth'] = 120; return $ret; } }
bsd-2-clause
scheib/chromium
components/exo/touch.h
1955
// 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 COMPONENTS_EXO_TOUCH_H_ #define COMPONENTS_EXO_TOUCH_H_ #include "base/containers/flat_map.h" #include "components/exo/surface_observer.h" #inclu...
bsd-3-clause
leighpauls/k2cro4
third_party/ffmpeg/libavformat/dvenc.c
16245
/* * General DV muxer/demuxer * Copyright (c) 2003 Roman Shaposhnik * * Many thanks to Dan Dennedy <dan@dennedy.org> for providing wealth * of DV technical info. * * Raw DV format * Copyright (c) 2002 Fabrice Bellard * * 50 Mbps (DVCPRO50) support * Copyright (c) 2006 Daniel Maas <dmaas@maasdigital.com> * ...
bsd-3-clause
sebbrudzinski/motech
platform/mds/mds/src/test/java/org/motechproject/mds/builder/impl/EntityMetadataBuilderTest.java
22796
package org.motechproject.mds.builder.impl; import javassist.CannotCompileException; import javassist.ClassPool; import javassist.CtClass; import javassist.CtField; import javassist.NotFoundException; import org.apache.commons.lang.reflect.FieldUtils; import org.joda.time.DateTime; import org.junit.Before; import org....
bsd-3-clause
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js
1070
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Variable = void 0; const VariableBase_1 = require("./VariableBase"); /** * A Variable represents a locally scoped identifier. These include arguments to functions. */ class Variable extends VariableBase_1.VariableBase { /** ...
bsd-3-clause
mxOBS/deb-pkg_trusty_chromium-browser
third_party/WebKit/Source/core/html/canvas/CanvasGradient.h
2668
/* * Copyright (C) 2006, 2007, 2008 Apple Computer, Inc. All rights reserved. * Copyright (C) 2007 Alp Toker <alp@atoker.com> * * 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...
bsd-3-clause
cryogen/orchard
src/Orchard.Web/Modules/Orchard.Forms/Properties/AssemblyInfo.cs
1391
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly....
bsd-3-clause
crezefire/angle
src/tests/gl_tests/MaxTextureSizeTest.cpp
9742
// // Copyright 2015 The ANGLE 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 "test_utils/ANGLETest.h" using namespace angle; class MaxTextureSizeTest : public ANGLETest { protected: MaxTextureSizeTest() ...
bsd-3-clause
punkkeks/stm32plus
lib/include/usb/f4/device/cdc/CdcDevice.h
7434
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once namespace stm32plus { namespace usb { /** * Template base class for USB CDC devices. The usual control endpoin...
bsd-3-clause
sgraham/nope
third_party/WebKit/Source/wtf/text/TextCodec.h
3960
/* * Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved. * Copyright (C) 2006 Alexey Proskuryakov <ap@nypop.com> * * 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 co...
bsd-3-clause
forste/haReFork
tools/hs2stratego/AST/StrategoAST2.hs
176
module StrategoAST2(module AST) where import StrategoPattern as AST import StrategoTerm as AST import StrategoType as AST import StrategoProp as AST import StrategoDecl as AST
bsd-3-clause
nagyistoce/devide
modules/vtk_basic/vtkRuledSurfaceFilter.py
497
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkRuledSurfaceFilter(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, ...
bsd-3-clause
ofrobots/grpc
src/csharp/README.md
7582
gRPC C# ======= A C# implementation of gRPC. Status ------ Alpha : Ready for early adopters. Usage: Windows -------------- - Prerequisites: .NET Framework 4.5+, Visual Studio 2013 with NuGet extension installed (VS2015 should work). - Open Visual Studio and start a new project/solution. - Add NuGet package `Grpc...
bsd-3-clause
catapult-project/catapult-csm
telemetry/telemetry/internal/browser/possible_browser.py
1414
# Copyright 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. from telemetry.internal.app import possible_app class PossibleBrowser(possible_app.PossibleApp): """A browser that can be controlled. Call Create() to...
bsd-3-clause
Chilledheart/chromium
extensions/browser/api/system_display/display_info_provider.h
2296
// 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_DISPLAY_INFO_PROVIDER_H_ #include <s...
bsd-3-clause
hgl888/chromium-crosswalk
infra/scripts/legacy/scripts/common/env.py
12777
#!/usr/bin/env python # 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. """Implements a standard mechanism for Chrome Infra Python environment setup. This library provides a central location to define Chrom...
bsd-3-clause
dbbhattacharya/kitsune
vendor/packages/translate-toolkit/translate/convert/test_xliff2po.py
8448
#!/usr/bin/env python from translate.convert import xliff2po from translate.misc import wStringIO from translate.storage.test_base import headerless_len, first_translatable class TestXLIFF2PO: xliffskeleton = '''<?xml version="1.0" ?> <xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1"> <file ori...
bsd-3-clause
felixmulder/scala
src/library/scala/Product17.scala
3941
/* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/...
bsd-3-clause
scheib/chromium
third_party/blink/web_tests/external/wpt/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html
1990
<!DOCTYPE html> <!-- Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ --> <html> <meta charset="utf-8"> <title>CSS Shape Test: sideways-lr, float left, circle(50% at right 40px bottom 40px)</title> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@moz...
bsd-3-clause
endlessm/chromium-browser
third_party/webgl/src/conformance-suites/2.0.0/conformance2/textures/canvas/tex-2d-r16f-red-half_float.html
1874
<!-- Copyright (c) 2015 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publi...
bsd-3-clause
LiDechao/core-plot
documentation/html/iOS/_c_p_t_mutable_numeric_data_09_type_conversion_8h_source.html
8346
<!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" content="IE=9"/> <meta name="generator" con...
bsd-3-clause
chromium/chromium
third_party/blink/renderer/modules/presentation/presentation_availability_state.cc
9801
// Copyright 2017 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/modules/presentation/presentation_availability_state.h" #include "third_party/blink/renderer/modules/presentation/pr...
bsd-3-clause
aYukiSekiguchi/ACCESS-Chromium
chrome_frame/http_negotiate.cc
8266
// 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. #include "chrome_frame/http_negotiate.h" #include <atlbase.h> #include <atlcom.h> #include <htiframe.h> #include "base/logging.h" #include "base/mem...
bsd-3-clause
mpcomplete/flutter_engine
sky/engine/wtf/PartitionAlloc.cpp
42604
/* * 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...
bsd-3-clause
chromium/chromium
third_party/blink/web_tests/http/tests/devtools/sources/debugger/navigator-view.js
7615
// Copyright 2017 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. (async function() { TestRunner.addResult(`Tests scripts panel file selectors.\n`); await TestRunner.loadLegacyModule('sources'); await TestRunner.load...
bsd-3-clause
chromium/chromium
third_party/blink/web_tests/http/tests/devtools/isolated-code-cache/same-origin-test.js
3533
// Copyright 2018 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. function waitUntilIdle() { return new Promise(resolve=>{ window.requestIdleCallback(()=>resolve()); }); } (async function() { TestRunner.addRes...
bsd-3-clause
simonegli8/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/BaseStatistics.cs
2325
// Copyright (c) 2015, Outercurve Foundation. // 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 // ...
bsd-3-clause
PatidarWeb/pimcore
pimcore/lib/PEAR/Command/Auth.php
2657
<?php /** * PEAR_Command_Auth (login, logout commands) * * PHP versions 4 and 5 * * @category pear * @package PEAR * @author Stig Bakken <ssb@php.net> * @author Greg Beaver <cellog@php.net> * @copyright 1997-2009 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD Li...
bsd-3-clause
mridgway/Zend-Framework-1.x-Mirror
tests/Zend/Json/Server/ResponseTest.php
6794
<?php /** * Zend Framework * * 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://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
bsd-3-clause
jamestao/azure-sdk-for-net
src/SDKs/ServiceBus/data-plane/src/Microsoft.Azure.ServiceBus/Amqp/AmqpSubscriptionClient.cs
8085
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.ServiceBus.Amqp { using System; using System.Collections.Generic; using System.Threading.Tasks; using Azure.Amqp; using A...
mit
bmichalo/MoonGen
test/tests/02-receive.lua
2364
-- Function to test: Receive -- Test against: Sending network card rate. local luaunit = require "luaunit" local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local timer = require "timer" local stats = require "stats" local log = require "testlog" local testlib = require "tes...
mit
ducthanh/rspec-mocks
spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb
9728
require 'support/doubled_classes' module RSpec module Mocks RSpec.describe 'An instance double with the doubled class loaded' do include_context "with isolated configuration" before do RSpec::Mocks.configuration.verify_doubled_constant_names = true end it 'only allows instance m...
mit
netwmr01/azure-quickstart-templates
ethereum-consortium-blockchain-network/scripts/helpers/getfiles.sh
847
#!/bin/bash wget -N https://berlintemplates.blob.core.windows.net/arm-templates/MultiNodeEthereumNetwork/scripts/configure-geth.sh wget -N https://berlintemplates.blob.core.windows.net/arm-templates/MultiNodeEthereumNetwork/scripts/start-private-blockchain.sh wget -N https://berlintemplates.blob.core.windows.net/arm-t...
mit
jeary/sailor
src/sailor/form.lua
3256
-------------------------------------------------------------------------------- -- form.lua, v0.3: generates html for forms -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.org ------------------------------------------------------...
mit
tianwei-zhang/tianwei-zhang.github.io
vendor/bundle/ruby/2.6.0/gems/liquid-4.0.1/test/integration/standard_filter_test.rb
22260
# encoding: utf-8 require 'test_helper' class Filters include Liquid::StandardFilters end class TestThing attr_reader :foo def initialize @foo = 0 end def to_s "woot: #{@foo}" end def [](whatever) to_s end def to_liquid @foo += 1 self end end class TestDrop < Liquid::Drop...
mit
ncos/lisa
src/lisa_drive/scripts/venv/lib/python3.5/site-packages/pip-10.0.1-py3.5.egg/pip/_vendor/chardet/euctwprober.py
1793
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. ...
mit
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/signal-exit/signals.js
1348
// This is not the set of all possible signals. // // It IS, however, the set of all signals that trigger // an exit on either Linux or BSD systems. Linux is a // superset of the signal names supported on BSD, and // the unknown signals just fail to register, so we can // catch that easily enough. // // Don't ...
mit
tiagocostapt/WinDevWorkshop
Presentations/01. Introduction to UWP/Demos/AdaptiveUI/BlueYonderDemo/MainPage.xaml.cs
1383
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
mit
linhanyang/keystone
admin/client/App/elemental/Glyph/index.js
1398
import { css, StyleSheet } from 'aphrodite/no-important'; import React, { PropTypes } from 'react'; import octicons from './octicons'; import colors from './colors'; import sizes from './sizes'; import styles from './styles'; const classes = StyleSheet.create(styles); // FIXME static octicon classes leaning on Eleme...
mit
deisi/home-assistant
tests/components/thermostat/test_heat_control.py
7976
"""The tests for the heat control thermostat.""" import unittest from homeassistant.bootstrap import _setup_component from homeassistant.const import ( ATTR_UNIT_OF_MEASUREMENT, SERVICE_TURN_OFF, SERVICE_TURN_ON, STATE_ON, STATE_OFF, TEMP_CELSIUS, ) from homeassistant.components import thermost...
mit
Skywalker-11/spongycastle
core/src/test/java/org/spongycastle/crypto/test/SHA256DigestTest.java
1536
package org.spongycastle.crypto.test; import org.spongycastle.crypto.Digest; import org.spongycastle.crypto.digests.SHA256Digest; /** * standard vector test for SHA-256 from FIPS Draft 180-2. * * Note, the first two vectors are _not_ from the draft, the last three are. */ public class SHA256DigestTest extends...
mit
nguyentienlong/DesignPatternsPHP
Tests/Specification/SpecificationTest.php
2818
<?php namespace DesignPatterns\Tests\Specification; use DesignPatterns\Specification\PriceSpecification; use DesignPatterns\Specification\Item; /** * SpecificationTest tests the specification pattern */ class SpecificationTest extends \PHPUnit_Framework_TestCase { public function testSimpleSpecification() ...
mit
woodworker/TaskBoard
api/mail_templates/editItem.html
268
<!DOCTYPE html> <html> <body> %username% edited item at board %boardname%:<br> %title%<br> %description%<br> %duedate%<br> %assignee%<br> %category%<br> %points%<br> %position%<br> <a href="http://%hostname%/#/boards/%boardid%">Navigate to board!</a> </body> </html>
mit
mattgraham/play-graham
vendor/gems/ruby/1.8/gems/eventmachine-0.12.10/tests/test_servers.rb
2198
# $Id$ # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 8 April 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 b...
mit
v3n/ProDBG
src/native/external/capstone/arch/Sparc/SparcModule.c
1133
/* Capstone Disassembly Engine */ /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */ #ifdef CAPSTONE_HAS_SPARC #include "../../utils.h" #include "../../MCRegisterInfo.h" #include "SparcDisassembler.h" #include "SparcInstPrinter.h" #include "SparcMapping.h" static cs_err init(cs_struct *ud) { MCRegisterInfo *mr...
mit
corbanbrook/webgl-2d
test/philip.html5.org/tests/minimal.2d.pattern.paint.norepeat.outside.html
1549
<!DOCTYPE html> <html class="minimal"> <title>Canvas test: 2d.pattern.paint.norepeat.outside</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <link rel="prev" href="minimal.2d.pattern.paint.norepeat.basic.html" title="2d.pattern.paint.norepeat.basic"> <link rel="next" href="minima...
mit
smpetrey/acredistilling.com
web/app/plugins/the-events-calendar/src/resources/js/embedded-map.min.js
961
"function"==typeof jQuery&&jQuery(document).ready(function(e){function n(){!1!==s?o():t()}function o(){r=new google.maps.LatLng(s[0],s[1]),a()}function t(){var e=new google.maps.Geocoder;e.geocode({address:d},function(e,n){n==google.maps.GeocoderStatus.OK&&(r=e[0].geometry.location,a())})}function a(){var n={zoom:parse...
mit
bjarnef/Merchello
src/Merchello.Web.UI/App_Plugins/Merchello.Braintree/payment.braintree.providersettings.controller.js
922
angular.module('merchello.plugins.braintree').controller('Merchello.Plugins.GatewayProviders.Dialogs.PaymentMethodAddEditController', ['$scope', 'braintreeProviderSettingsBuilder', function($scope, braintreeProviderSettingsBuilder) { $scope.providerSettings = {}; function init() ...
mit
kevinzhwl/ObjectARXCore
2013/utils/brep/samples/brepsamp/brbblock.cpp
1979
// (C) Copyright 1996-2006 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warr...
mit
bluecloudy/Critical-Map
src/bower_modules/hasher/dist/docs/symbols/_global_.html
2831
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="JsDoc To...
mit
shopOFF/TelerikAcademyCourses
Unit-Testing/Unit-Testing/Topics/04. Workshop (Trainers)/ArmyOfCreatures-Evening-livedemo/ArmyOfCreatures-All/Solution/ArmyOfCreatures/Logic/ICreaturesFactory.cs
176
using ArmyOfCreatures.Logic.Creatures; namespace ArmyOfCreatures.Logic { public interface ICreaturesFactory { Creature CreateCreature(string name); } }
mit