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 |
|---|---|---|---|---|---|
/*
* 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... | abimarank/product-apim | integration-tests/src/main/java/org/wso2/carbon/apimgt/rest/integration/tests/model/APICorsConfiguration.java | Java | apache-2.0 | 7,272 |
/*
* 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 ... | nikhilvibhav/camel | core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultValidatorRegistry.java | Java | apache-2.0 | 2,457 |
/**
* 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... | fogbeam/Heceta_nutch | src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/FtpRobotRulesParser.java | Java | apache-2.0 | 3,708 |
/*
* 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 ... | samaitra/ignite | modules/indexing/src/main/java/org/apache/ignite/spi/systemview/view/SqlViewView.java | Java | apache-2.0 | 1,673 |
#!/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... | MissionCriticalCloud/cosmic-plugin-hypervisor-ovm3 | src/test/resources/scripts/repo_pool.py | Python | apache-2.0 | 6,325 |
/*
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 ... | nigel0913/EcustLock | jni/MixtureFileWriter.h | C | apache-2.0 | 4,540 |
<!--[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... | pulcy/ha-redis | vendor/github.com/docker/docker/docs/reference/commandline/service_tasks.md | Markdown | apache-2.0 | 3,318 |
/*
* 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... | rhusar/undertow | core/src/main/java/io/undertow/protocols/ssl/UndertowSslConnection.java | Java | apache-2.0 | 5,435 |
/**
******************************************************************************
* @file stm32u5xx_hal_gtzc.h
* @author MCD Application Team
* @brief Header file of GTZC HAL module.
******************************************************************************
* @attention
*
* Copyright (c) 2021... | nongxiaoming/rt-thread | bsp/stm32/libraries/STM32U5xx_HAL/STM32U5xx_HAL_Driver/Inc/stm32u5xx_hal_gtzc.h | C | apache-2.0 | 23,389 |
<?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... | blondprod/veganet | public/barcode/class/ean13.barcode.php | PHP | apache-2.0 | 6,651 |
/* 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... | gunan/tensorflow | tensorflow/core/kernels/eig_op_impl.h | C | apache-2.0 | 3,642 |
// 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... | arangodb/arangodb | 3rdParty/rocksdb/6.29/include/rocksdb/trace_record_result.h | C | apache-2.0 | 6,266 |
#!/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... | szha/mxnet | tests/nightly/dist_async_kvstore.py | Python | apache-2.0 | 1,994 |
/*
* 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 ... | 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 | Java | apache-2.0 | 2,980 |
/*
* 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... | jacksonpradolima/pitest | pitest/src/test/java/org/pitest/mutationtest/MutableIncrement.java | Java | apache-2.0 | 735 |
#!/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 ... | Neverous/docker | hack/vendor.sh | Shell | apache-2.0 | 3,860 |
// 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... | aehlig/bazel | src/test/java/com/google/devtools/build/android/desugar/testdata/InterfaceWithLambda.java | Java | apache-2.0 | 1,029 |
<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... | flingone/frameworks_base_cmds_remoted | libs/boost/libs/type_traits/doc/html/boost_typetraits/mpl.html | HTML | apache-2.0 | 5,421 |
/* 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... | frreiss/tensorflow-fred | tensorflow/core/kernels/cwise_op_round.cc | C++ | apache-2.0 | 1,086 |
# 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... | tempbottle/restcommander | play-1.2.4/python/Lib/_abcoll.py | Python | apache-2.0 | 13,666 |
<!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... | psoreide/bnd | docs/releases/5.0.0/macros/basename.html | HTML | apache-2.0 | 8,442 |
#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... | ppittle/AlienSwarmDirectorMod | trunk/src/game/client/swarm/vgui/campaignframe.h | C | apache-2.0 | 584 |
#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... | dobriy-eeh/omim | iphone/Maps/Classes/CustomViews/CircularProgress/MWMCircularProgressView.h | C | apache-2.0 | 956 |
/*
* 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... | wwjiang007/alluxio | core/common/src/main/java/alluxio/wire/FileSystemCommandOptions.java | Java | apache-2.0 | 1,198 |
/*
* 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... | sdwilsh/buck | src/com/facebook/buck/cxx/ClangCompiler.java | Java | apache-2.0 | 1,330 |
/*
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,... | bcsphere/bcexplorer | plugins/org/src/android/org/bcsphere/bluetooth/BCBluetooth.java | Java | apache-2.0 | 15,604 |
class AddSolutionToLevels < ActiveRecord::Migration
def change
add_column :levels, :solution_level_source_id, :integer
end
end
| giroto/teste | db/migrate/20140205192227_add_solution_to_levels.rb | Ruby | apache-2.0 | 135 |
/***************************************************************************/
/* */
/* ftvalid.h */
/* */
/* Fr... | googlearchive/tango-examples-c | third_party/libfreetype/include/freetype/internal/ftvalid.h | C | apache-2.0 | 6,699 |
<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... | NixaSoftware/CVis | venv/bin/doc/html/boost_asio/reference/buffered_write_stream/lowest_layer/overload2.html | HTML | apache-2.0 | 3,531 |
#!/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... | certik/pyjamas | pygtkweb/demos/065-setselection.py | Python | apache-2.0 | 2,570 |
/*
* 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... | jomarko/drools | drools-model/drools-model-compiler/src/test/java/org/drools/modelcompiler/OrTest.java | Java | apache-2.0 | 9,484 |
/*
* 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... | GunoH/intellij-community | plugins/maven/src/main/java/org/jetbrains/idea/maven/importing/MavenRootModelAdapter.java | Java | apache-2.0 | 6,985 |
@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... | FabMo/FabMo-Engine | dashboard/static/css/foundation.css | CSS | apache-2.0 | 109,631 |
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>
... | danielmundim/InstaSharp | src/InstaSharp/Endpoints/Comments.cs | C# | apache-2.0 | 3,563 |
#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.... | spring-projects/spring-net | src/Spring/Spring.Core/Objects/Factory/Parsing/Problem.cs | C# | apache-2.0 | 2,660 |
"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... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/aria-query/lib/etc/roles/literal/noteRole.js | JavaScript | apache-2.0 | 627 |
/*
* 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... | armink/rt-thread | bsp/simulator/pcap/Include/pcap-stdinc.h | C | apache-2.0 | 2,865 |
/*
* 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... | robovm/robovm-studio | java/java-impl/src/com/intellij/psi/formatter/java/AbstractJavaBlock.java | Java | apache-2.0 | 55,736 |
<!---
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... | cpcloud/arrow | cpp/src/arrow/vendored/xxhash/README.md | Markdown | apache-2.0 | 978 |
<st-primary-sidebar-title class-icon="icon-cog">{{"_MENU_SETTINGS_TITLE_" | translate}}</st-primary-sidebar-title>
| fjsc/sparta | web/src/views/settings/settings_menu.html | HTML | apache-2.0 | 115 |
drop table a;
| lavjain/incubator-hawq | src/test/feature/Ranger/sql/admin/70.sql | SQL | apache-2.0 | 15 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | marsorp/blog | presto166/presto-main/src/main/java/com/facebook/presto/sql/relational/SqlToRowExpressionTranslator.java | Java | apache-2.0 | 28,699 |
<!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... | hyokun31/wisekb-management-platform | wisekb-uima-ducc/webserver/root/opensources/DataTables-1.10.1/examples/server_side/pipeline.html | HTML | apache-2.0 | 21,526 |
' 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... | DustinCampbell/roslyn | src/EditorFeatures/Test2/PasteTracking/PasteTrackingServiceTests.vb | Visual Basic | apache-2.0 | 13,236 |
/* 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... | Ghatage/peloton | third_party/logcabin/RPC/Server.cc | C++ | apache-2.0 | 2,408 |
#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
... | dreamofei/spring-net | src/Spring/Spring.Messaging.Ems/Messaging/Ems/Jndi/JndiLookupFactoryObject.cs | C# | apache-2.0 | 5,343 |
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... | marcusramberg/mojo | lib/Mojo/URL.pm | Perl | artistic-2.0 | 12,871 |
# 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.... | EricFromCanada/brew | Library/Homebrew/test/rubocops/bottle/bottle_tag_indentation_spec.rb | Ruby | bsd-2-clause | 2,538 |
<?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... | yacon/koala-framework | Kwc/Shop/Cart/Checkout/Payment/Abstract/OrderTable/Component.php | PHP | bsd-2-clause | 2,091 |
<?php
class Kwc_Menu_EditableItems_ExtConfig extends Kwc_Abstract_List_ExtConfigList
{
protected function _getConfig()
{
$ret = parent::_getConfig();
$ret['list']['listWidth'] = 120;
return $ret;
}
}
| yacon/koala-framework | Kwc/Menu/EditableItems/ExtConfig.php | PHP | bsd-2-clause | 236 |
// 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... | scheib/chromium | components/exo/touch.h | C | bsd-3-clause | 1,955 |
/*
* 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>
*
... | leighpauls/k2cro4 | third_party/ffmpeg/libavformat/dvenc.c | C | bsd-3-clause | 16,245 |
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.... | sebbrudzinski/motech | platform/mds/mds/src/test/java/org/motechproject/mds/builder/impl/EntityMetadataBuilderTest.java | Java | bsd-3-clause | 22,796 |
"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 {
/**
... | ChromeDevTools/devtools-frontend | node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js | JavaScript | bsd-3-clause | 1,070 |
/*
* 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... | mxOBS/deb-pkg_trusty_chromium-browser | third_party/WebKit/Source/core/html/canvas/CanvasGradient.h | C | bsd-3-clause | 2,668 |
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.... | cryogen/orchard | src/Orchard.Web/Modules/Orchard.Forms/Properties/AssemblyInfo.cs | C# | bsd-3-clause | 1,391 |
//
// 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()
... | crezefire/angle | src/tests/gl_tests/MaxTextureSizeTest.cpp | C++ | bsd-3-clause | 9,742 |
/*
* 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... | punkkeks/stm32plus | lib/include/usb/f4/device/cdc/CdcDevice.h | C | bsd-3-clause | 7,434 |
/*
* 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... | sgraham/nope | third_party/WebKit/Source/wtf/text/TextCodec.h | C | bsd-3-clause | 3,960 |
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
| forste/haReFork | tools/hs2stratego/AST/StrategoAST2.hs | Haskell | bsd-3-clause | 176 |
# 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,
... | nagyistoce/devide | modules/vtk_basic/vtkRuledSurfaceFilter.py | Python | bsd-3-clause | 497 |
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... | ofrobots/grpc | src/csharp/README.md | Markdown | bsd-3-clause | 7,582 |
# 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... | catapult-project/catapult-csm | telemetry/telemetry/internal/browser/possible_browser.py | Python | bsd-3-clause | 1,414 |
// 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... | Chilledheart/chromium | extensions/browser/api/system_display/display_info_provider.h | C | bsd-3-clause | 2,296 |
#!/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... | hgl888/chromium-crosswalk | infra/scripts/legacy/scripts/common/env.py | Python | bsd-3-clause | 12,777 |
#!/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... | dbbhattacharya/kitsune | vendor/packages/translate-toolkit/translate/convert/test_xliff2po.py | Python | bsd-3-clause | 8,448 |
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/... | felixmulder/scala | src/library/scala/Product17.scala | Scala | bsd-3-clause | 3,941 |
<!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... | scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-shapes/shape-outside/supported-shapes/circle/shape-outside-circle-052.html | HTML | bsd-3-clause | 1,990 |
<!--
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... | endlessm/chromium-browser | third_party/webgl/src/conformance-suites/2.0.0/conformance2/textures/canvas/tex-2d-r16f-red-half_float.html | HTML | bsd-3-clause | 1,874 |
<!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... | LiDechao/core-plot | documentation/html/iOS/_c_p_t_mutable_numeric_data_09_type_conversion_8h_source.html | HTML | bsd-3-clause | 8,346 |
// 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... | chromium/chromium | third_party/blink/renderer/modules/presentation/presentation_availability_state.cc | C++ | bsd-3-clause | 9,801 |
// 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... | aYukiSekiguchi/ACCESS-Chromium | chrome_frame/http_negotiate.cc | C++ | bsd-3-clause | 8,266 |
/*
* 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... | mpcomplete/flutter_engine | sky/engine/wtf/PartitionAlloc.cpp | C++ | bsd-3-clause | 42,604 |
// 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... | chromium/chromium | third_party/blink/web_tests/http/tests/devtools/sources/debugger/navigator-view.js | JavaScript | bsd-3-clause | 7,615 |
// 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... | chromium/chromium | third_party/blink/web_tests/http/tests/devtools/isolated-code-cache/same-origin-test.js | JavaScript | bsd-3-clause | 3,533 |
// 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
// ... | simonegli8/Websitepanel | WebsitePanel/Sources/WebsitePanel.Providers.Base/HostedSolution/BaseStatistics.cs | C# | bsd-3-clause | 2,325 |
<?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... | PatidarWeb/pimcore | pimcore/lib/PEAR/Command/Auth.php | PHP | bsd-3-clause | 2,657 |
<?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... | mridgway/Zend-Framework-1.x-Mirror | tests/Zend/Json/Server/ResponseTest.php | PHP | bsd-3-clause | 6,794 |
// 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... | jamestao/azure-sdk-for-net | src/SDKs/ServiceBus/data-plane/src/Microsoft.Azure.ServiceBus/Amqp/AmqpSubscriptionClient.cs | C# | mit | 8,085 |
-- 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... | bmichalo/MoonGen | test/tests/02-receive.lua | Lua | mit | 2,364 |
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... | ducthanh/rspec-mocks | spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb | Ruby | mit | 9,728 |
#!/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... | netwmr01/azure-quickstart-templates | ethereum-consortium-blockchain-network/scripts/helpers/getfiles.sh | Shell | mit | 847 |
--------------------------------------------------------------------------------
-- 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
------------------------------------------------------... | jeary/sailor | src/sailor/form.lua | Lua | mit | 3,256 |
# 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... | tianwei-zhang/tianwei-zhang.github.io | vendor/bundle/ruby/2.6.0/gems/liquid-4.0.1/test/integration/standard_filter_test.rb | Ruby | mit | 22,260 |
######################## 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.
... | ncos/lisa | src/lisa_drive/scripts/venv/lib/python3.5/site-packages/pip-10.0.1-py3.5.egg/pip/_vendor/chardet/euctwprober.py | Python | mit | 1,793 |
// 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 ... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/signal-exit/signals.js | JavaScript | mit | 1,348 |
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... | tiagocostapt/WinDevWorkshop | Presentations/01. Introduction to UWP/Demos/AdaptiveUI/BlueYonderDemo/MainPage.xaml.cs | C# | mit | 1,383 |
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... | linhanyang/keystone | admin/client/App/elemental/Glyph/index.js | JavaScript | mit | 1,398 |
"""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... | deisi/home-assistant | tests/components/thermostat/test_heat_control.py | Python | mit | 7,976 |
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... | Skywalker-11/spongycastle | core/src/test/java/org/spongycastle/crypto/test/SHA256DigestTest.java | Java | mit | 1,536 |
<?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()
... | nguyentienlong/DesignPatternsPHP | Tests/Specification/SpecificationTest.php | PHP | mit | 2,818 |
<!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>
| woodworker/TaskBoard | api/mail_templates/editItem.html | HTML | mit | 268 |
# $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... | mattgraham/play-graham | vendor/gems/ruby/1.8/gems/eventmachine-0.12.10/tests/test_servers.rb | Ruby | mit | 2,198 |
/* 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... | v3n/ProDBG | src/native/external/capstone/arch/Sparc/SparcModule.c | C | mit | 1,133 |
<!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... | corbanbrook/webgl-2d | test/philip.html5.org/tests/minimal.2d.pattern.paint.norepeat.outside.html | HTML | mit | 1,549 |
"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... | smpetrey/acredistilling.com | web/app/plugins/the-events-calendar/src/resources/js/embedded-map.min.js | JavaScript | mit | 961 |
angular.module('merchello.plugins.braintree').controller('Merchello.Plugins.GatewayProviders.Dialogs.PaymentMethodAddEditController',
['$scope', 'braintreeProviderSettingsBuilder',
function($scope, braintreeProviderSettingsBuilder) {
$scope.providerSettings = {};
function init() ... | bjarnef/Merchello | src/Merchello.Web.UI/App_Plugins/Merchello.Braintree/payment.braintree.providersettings.controller.js | JavaScript | mit | 922 |
// (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... | kevinzhwl/ObjectARXCore | 2013/utils/brep/samples/brepsamp/brbblock.cpp | C++ | mit | 1,979 |
<!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... | bluecloudy/Critical-Map | src/bower_modules/hasher/dist/docs/symbols/_global_.html | HTML | mit | 2,831 |
using ArmyOfCreatures.Logic.Creatures;
namespace ArmyOfCreatures.Logic
{
public interface ICreaturesFactory
{
Creature CreateCreature(string name);
}
}
| shopOFF/TelerikAcademyCourses | Unit-Testing/Unit-Testing/Topics/04. Workshop (Trainers)/ArmyOfCreatures-Evening-livedemo/ArmyOfCreatures-All/Solution/ArmyOfCreatures/Logic/ICreaturesFactory.cs | C# | mit | 176 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.