repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
shyamnamboodiripad/roslyn | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs | 6511 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using Microso... | apache-2.0 |
wangcy6/storm_app | frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/storage/MemoryOffsetBackingStore.java | 4169 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | apache-2.0 |
brettfo/roslyn | src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs | 2634 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#if NETCOREAPP
using System;
using System.IO;
using System.Text;
using System.Threading;
using ... | apache-2.0 |
sh-cho/cshSpark | deploy/worker/DriverRunner.scala | 8881 | /*
* 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 |
mrward/NuGet.V2 | WebMatrixExtension/NuGetExtension/Core/FilterManager.cs | 13110 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.WebMatrix.Extensibility;
using NuGet;
using NuGet.WebMatrix.Data;
namespace NuGet.WebM... | apache-2.0 |
js0701/chromium-crosswalk | third_party/WebKit/LayoutTests/svg/dom/svglist-immutable.html | 1994 | <!DOCTYPE html>
<title>SVG*List immutability</title>
<script src=../../resources/testharness.js></script>
<script src=../../resources/testharnessreport.js></script>
<script>
var root = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
[
{
element: 'polygon', attr: 'points', value: '0,0 10,10', ... | bsd-3-clause |
wuhengzhi/chromium-crosswalk | third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-path-animation-qQ-tT-inverse.js | 1777 | description("Test path animation where coordinate modes of start and end differ. You should see PASS messages");
createSVGTestCase();
// Setup test document
var path = createSVGElement("path");
path.setAttribute("id", "path");
path.setAttribute("d", "M -30 -30 q 30 0 30 30 t -30 30 Z");
path.setAttribute("fill", "gree... | bsd-3-clause |
renaesop/electron | spec/fixtures/pages/window-open.html | 160 | <html>
<body>
<script type="text/javascript" charset="utf-8">
window.open('http://host', 'host', 'this-is-not-a-standard-feature');
</script>
</body>
</html>
| mit |
laurentiustamate94/DefinitelyTyped | types/material__dialog/foundation.d.ts | 1164 | /**
* Copyright 2017 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | mit |
davidcerezal/symfony_api_project | vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php | 27206 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Tests\Dumper;
use DummyProxyDumpe... | mit |
jean-edouard/manager | xenmgr/Setup.hs | 8034 | --
-- Copyright (c) 2011 Citrix Systems, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This progra... | gpl-2.0 |
lizhuobin1981/rtems_test | cpukit/pppd/chap.c | 21275 | /*
* chap.c - Challenge Handshake Authentication Protocol.
*
* Copyright (c) 1993 The Australian National University.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and th... | gpl-2.0 |
teeple/pns_server | work/install/Python-2.7.4/Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest.cc | 3804 | /* Area: ffi_closure, unwind info
Purpose: Check if the unwind information is passed correctly.
Limitations: none.
PR: none.
Originator: Jeff Sturm <jsturm@one-point.com> */
/* { dg-do run } */
#include "ffitestcxx.h"
#if defined HAVE_STDINT_H
#include <stdint.h>
#endif
#if defined HAVE_INTTYPES_H
#in... | gpl-2.0 |
Andiry/prd | net/ipv4/route.c | 68241 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* ROUTE - implementation of the IP router.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mug... | gpl-2.0 |
cw0100/cwse | nodejs/node_modules/rrestjs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js | 7246 | var utils = require('./connection_utils'),
inherits = require('util').inherits,
net = require('net'),
EventEmitter = require('events').EventEmitter,
inherits = require('util').inherits,
MongoReply = require("../responses/mongo_reply").MongoReply,
Connection = require("./connection").Connection;
var Connect... | gpl-2.0 |
hektiker1983/openhab.ios | openhab/openhabMasterViewController.h | 1440 | //
// openhabMasterViewController.h
// openHAB iOS User Interface
// Copyright © 2011 Pablo Romeu
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
... | gpl-3.0 |
ibindura/SmartStoreNET | src/Libraries/SmartStore.Core/Events/CommonMessages/AppInitScheduledTasksEvent.cs | 357 | using System;
using System.Collections.Generic;
using System.Web;
using System.Web.Mvc;
using SmartStore.Core.Domain.Tasks;
namespace SmartStore.Core.Events
{
/// <summary>
/// to initialize scheduled tasks in Application_Start
/// </summary>
public class AppInitScheduledTasksEvent
{
public IList<ScheduleTask>... | gpl-3.0 |
rrahn/jst_bench | include/seqan/demos/tutorial/custom_io/solution4.cpp | 2177 | #include <iostream>
#include <seqan/stream.h>
using namespace seqan;
int main(int argc, char const ** argv)
{
if (argc != 2)
{
std::cerr << "USAGE: tutorial_solution1 VALUE\n";
return 1;
}
// Lexical casting with the 1-argument lexicalCast().
{
int i = 0;
unsi... | gpl-3.0 |
valascus/android_p8000_kernel_nougat | drivers/misc/mediatek/videocodec/mt6735/videocodec_kernel_driver_D1.c | 104623 | #include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/kdev_t.h>
#include <linux/fs.h>
#include <linux/cdev.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/mm_types.h>
#include <linux/mm.h>
#incl... | gpl-3.0 |
avz-cmf/zaboy-middleware | www/js/dojox/editor/plugins/nls/hr/CollapsibleToolbar.js | 110 | define(
({
"collapse": "Spusti traku s alatima editora",
"expand": "Proširi traku s alatima editora"
})
);
| gpl-3.0 |
Scavenge/darkstar | scripts/zones/Middle_Delkfutts_Tower/mobs/Tower_Bats.lua | 380 | -----------------------------------
-- Area: Middle Delkfutt's Tower
-- MOB: Tower Bats
-----------------------------------
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isKiller)
checkGoVregime(p... | gpl-3.0 |
tsakas/juju | worker/upgrader/error.go | 967 | // Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package upgrader
import (
"github.com/juju/juju/agent/tools"
"github.com/juju/juju/version"
)
// UpgradeReadyError is returned by an Upgrader to report that
// an upgrade is ready to be performed and a restart is due.
type... | agpl-3.0 |
Pistachioman/pcsx2 | plugins/CDVDolio/stdafx.cpp | 679 | // stdafx.cpp : source file that includes just the standard includes
// xpad.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
string format(const char* fmt, ...)
... | lgpl-3.0 |
drthomas21/WordPress_Tutorial | wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/HangoutsChat/Image.php | 1427 | <?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
SeleniumHQ/htmlunit-driver | src/test/resources/javascript/atoms/test/dom_test.html | 3025 | <!DOCTYPE html>
<html>
<head>
<title>dom_test</title>
<script src="test_bootstrap.js"></script>
<script type="text/javascript">
goog.require('bot.dom.core');
goog.require('bot.userAgent');
goog.require('goog.testing.jsunit');
goog.require('goog.userAgent');
</script>
<body>
<script type="text/javascript">
fun... | apache-2.0 |
atpham256/azure-powershell | src/ResourceManager/Sql/Commands.Sql/Secure Connection/Model/DatabaseSecureConnectionPolicyModel.cs | 1931 | // ----------------------------------------------------------------------------------
//
// 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.apac... | apache-2.0 |
mmitche/roslyn | src/Features/Core/Portable/PopulateSwitch/PopulateSwitchHelpers.cs | 4898 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Operations;
using Microsoft.CodeAnalysis.Shared.Utilities;
using Roslyn.Utilities;
namespace ... | apache-2.0 |
imcsk8/origin | vendor/k8s.io/kubernetes/pkg/volume/csi/csi_block_test.go | 8146 | /*
Copyright 2018 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
domenicbove/origin | assets/app/scripts/directives/resources.js | 3240 | 'use strict';
angular.module('openshiftConsole')
.directive('overviewDeployment', function($location, $timeout, LabelFilter) {
return {
restrict: 'E',
scope: {
// Replication controller / deployment fields
rc: '=',
deploymentConfigId: '=',
deploymentConfigMissing: '=',
... | apache-2.0 |
MedwynLiang/google-collections | javadoc/com/google/common/collect/class-use/Multimap.html | 39388 | <!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-google-internal) on Wed Dec 30 10:35:12 PST 2009 -->
<TITLE>
Uses of Interface com.google.common.collect.Multimap (Google Collections Library 1.0 (FI... | apache-2.0 |
shyamalschandra/sagetv | third_party/ffmpeg/libavcodec/rv40vlc2.h | 33390 | /*
* RealVideo 4 decoder
* copyright (c) 2007 Konstantin Shishkov
*
* 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
* version 2.1 of the License... | apache-2.0 |
yckrasnodar/zrender | doc/api/module-zrender_tool_http.html | 190196 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Module: zrender/tool/http</title>
<meta property="og:title" content=""/>
<meta property="og:type" content="website"/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<sc... | bsd-3-clause |
lkiarest/zrender | test/memory.html | 1585 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Canvas Test</title>
<script type="text/javascript" src="../doc/asset/js/esl/esl.js"></script>
<style>
html, body, #main {
margin: 0;
}
</style>
</head>
<body>
<div id="main"></div>
<script type="text/ja... | bsd-3-clause |
endlessm/chromium-browser | third_party/llvm/clang/test/Modules/Inputs/shadow/A2/A.h | 15 | #define A2_A_h
| bsd-3-clause |
xuvw/KZPlayground | Pod/Classes/Components/KZPComponent.h | 176 | //
// Created by Krzysztof Zabłocki(http://twitter.com/merowing_) on 20/10/14.
//
//
//
@import Foundation;
@protocol KZPComponent <NSObject>
@required
+ (void)reset;
@end | mit |
jerowe/bioconda-recipes | recipes/plasmidfinder/post-link.sh | 292 | #!/usr/bin/env bash
echo "
Please run download-db.sh to download the PlasmidFinder database to ${PLASMID_DB}.
If you have a database in custom path, please use "plasmidfinder.py" with the option "-p".
" >> ${PREFIX}/.messages.txt
printf '%s\n' "${URLS[@]}" >> "${PREFIX}/.messages.txt" 2>&1
| mit |
sorlandoiii/dynasty-league | resources/public/bower_components/ng-table/examples-old/demo32.html | 6229 | <!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-eq... | epl-1.0 |
FauxFaux/jdk9-langtools | test/tools/javac/generics/Multibound1.java | 321 | /*
* @test /nodynamiccopyright/
* @bug 4482403
* @summary javac failed to check second bound
* @author gafter
*
* @compile/fail/ref=Multibound1.out -XDrawDiagnostics Multibound1.java
*/
package Multibound1;
interface A {}
interface B {}
class C<T extends A&B> {}
class D implements A {}
class E extends C<D> {}... | gpl-2.0 |
augustayu/fastsocket | kernel/ipc/namespace.c | 4437 | /*
* linux/ipc/namespace.c
* Copyright (C) 2006 Pavel Emelyanov <xemul@openvz.org> OpenVZ, SWsoft Inc.
*/
#include <linux/ipc.h>
#include <linux/msg.h>
#include <linux/ipc_namespace.h>
#include <linux/rcupdate.h>
#include <linux/nsproxy.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/mount.h>
#incl... | gpl-2.0 |
7420dev/android_kernel_samsung_zeroflte | include/linux/muic/muic.h | 6208 | /*
* include/linux/muic/muic.h
*
* header file supporting MUIC common information
*
* Copyright (C) 2010 Samsung Electronics
* Seoyoung Jeong <seo0.jeong@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | gpl-2.0 |
level09/wp34 | wp-content/plugins/wp-uber-menu/styles/skins/greywhite.css | 2988 | #megaMenu ul.megaMenu{
background-color:#222;
border:1px solid #222;
}
#megaMenu ul.megaMenu > li > a{
font-size:12px;
color:#d9d9d9;
text-shadow:none;
font-weight:bold;
text-transform:uppercase;
text-shadow:0px 1px 1px #000;
}
#megaMenu ul.megaMenu > li:hover > a, #megaMenu ul.megaMenu > li > a:hover, #megaMen... | gpl-2.0 |
baran0119/kernel_samsung_baffinlitexx | arch/arm/mach-java/include/mach/rdb_A1/brcm_rdb_rf_interface_block3_top.h | 8712 | /************************************************************************************************/
/* */
/* Copyright 2013 Broadcom Corporation */
/* ... | gpl-2.0 |
augustayu/fastsocket | kernel/arch/powerpc/platforms/chrp/pci.c | 10671 | /*
* CHRP pci routines.
*/
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/init.h>
#include <asm/io.h>
#include <asm/pgtable.h>
#include <asm/irq.h>
#include <asm/hydra.h>
#include <asm/prom.h>
#include <asm/machdep.h>
#include <asm/sections.h>
#in... | gpl-2.0 |
qzhuyan/linux | sound/firewire/fireface/ff.h | 4433 | /*
* ff.h - a part of driver for RME Fireface series
*
* Copyright (c) 2015-2017 Takashi Sakamoto
*
* Licensed under the terms of the GNU General Public License, version 2.
*/
#ifndef SOUND_FIREFACE_H_INCLUDED
#define SOUND_FIREFACE_H_INCLUDED
#include <linux/device.h>
#include <linux/firewire.h>
#include <linu... | gpl-2.0 |
KubaKaszycki/kubux | libselinux/src/avc_sidtab.c | 2894 | /*
* Implementation of the userspace SID hashtable.
*
* Author : Eamon Walsh, <ewalsh@epoch.ncsc.mil>
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "selinux_internal.h"
#include <selinux/avc.h>
#include "avc_sidtab.h"
#include "avc_internal.h"
static ... | gpl-3.0 |
cedewey/sol | wp-content/themes/gulp-dev/node_modules/mozjpeg/f47f5773-89ce-4b83-810e-48145ecc3389/simd/jsimd_i386.c | 28380 | /*
* jsimd_i386.c
*
* Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
* Copyright 2009-2011, 2013-2014 D. R. Commander
*
* Based on the x86 SIMD extension for IJG JPEG library,
* Copyright (C) 1999-2006, MIYASAKA Masaru.
* For conditions of distribution and use, see copyright notice in jsimdext.in... | gpl-3.0 |
shinglyu/servo | tests/wpt/web-platform-tests/css/css-text-3/i18n/reference/css3-text-line-break-opclns-258-ref.html | 771 | <!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8"/>
<title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO </title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<meta name='flags' content='font'>
<style type='text/css'>
@font-face {
font-family: 'mplus-1p-regular';
src: ur... | mpl-2.0 |
damdam-s/account-financial-tools | account_move_line_search_extension/__init__.py | 1056 | # -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
#
# Copyright (c) 2013-2015 Noviat nv/sa (www.noviat.com).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of th... | agpl-3.0 |
Aravinthu/odoo | addons/account/tests/account_test_classes.py | 2749 | # -*- coding: utf-8 -*-
from odoo.tests.common import HttpCase
from odoo.exceptions import ValidationError
class AccountingTestCase(HttpCase):
""" This class extends the base TransactionCase, in order to test the
accounting with localization setups. It is configured to run the tests after
the installation ... | agpl-3.0 |
eile/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linpack/csvdc.c | 39375 | /* linpack/csvdc.f -- translated by f2c (version 20050501).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
... | apache-2.0 |
bbarry/roslyn | src/EditorFeatures/VisualBasicTest/KeywordHighlighting/WhileBlockHighlighterTests.vb | 2001 | ' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.KeywordHighlighting
Pu... | apache-2.0 |
nitro-devs/nitro-game-engine | docs/libc/unix/notbsd/linux/other/LC_PAPER.v.html | 329 | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=constant.LC_PAPER.html">
</head>
<body>
<p>Redirecting to <a href="constant.LC_PAPER.html">constant.LC_PAPER.html</a>...</p>
<script>location.replace("constant.LC_PAPER.html" + location.search + location.hash);</script>
</body... | apache-2.0 |
devxive/nawala-rdk | src/lib_gantry/js/gantry-ie6warn.js | 1220 | /*
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
var RokIEWarn=new Class({site:"sitename",initialize:function(f){var d=f;this.box=new Element("div",{id:"iewarn"}).inject(document.bod... | apache-2.0 |
felixbuenemann/sentry | tests/sentry/rules/conditions/test_first_seen_event.py | 407 | from sentry.testutils.cases import RuleTestCase
from sentry.rules.conditions.first_seen_event import FirstSeenEventCondition
class FirstSeenEventConditionTest(RuleTestCase):
rule_cls = FirstSeenEventCondition
def test_applies_correctly(self):
rule = self.get_rule()
self.assertPasses(rule, se... | bsd-3-clause |
kevin-jones/lithium | tests/cases/console/command/create/ModelTest.php | 1613 | <?php
/**
* Lithium: the most rad php framework
*
* @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
* @license http://opensource.org/licenses/bsd-license.php The BSD License
*/
namespace lithium\tests\cases\console\command\create;
use lithium\console\command\create\Model;
use lithium\... | bsd-3-clause |
the-only-brivad/HOPM | src/orchard.specs/DateTime.feature.cs | 23611 | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.9.0.77
// SpecFlow Generator Version:1.9.0.0
// Runtime Version:4.0.30319.33440
//
// Changes to this... | bsd-3-clause |
iainbeeston/octokit.rb | spec/octokit/enterprise_admin_client/orgs_spec.rb | 479 | require "helper"
describe Octokit::EnterpriseAdminClient::Orgs do
before do
Octokit.reset!
@admin_client = enterprise_admin_client
end
describe ".create_organization", :vcr do
it "creates a new organization" do
@admin_client.create_organization('SuchAGreatOrg', 'gjtorikian')
expect(@adm... | mit |
AbraaoAlves/DefinitelyTyped | types/es6-promise/index.d.ts | 5199 | // Type definitions for es6-promise
// Project: https://github.com/jakearchibald/ES6-Promise
// Definitions by: François de Campredon <https://github.com/fdecampredon>, vvakame <https://github.com/vvakame>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Thenable<T> {
then<U>(onFulfille... | mit |
SiliconSouthTech/farmeazy | vendor/respect/validation/library/Rules/SubdivisionCode/SoSubdivisionCode.php | 1108 | <?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Rules\SubdivisionCode;
use Respect\V... | mit |
Amrit01/KunstmaanBundlesCMS | src/Kunstmaan/GeneratorBundle/Generator/PageGenerator.php | 5521 | <?php
namespace Kunstmaan\GeneratorBundle\Generator;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
/**
* Generates all classes/files for a new page
*/
class PageGenerator extends KunstmaanGenerator
{
/**
* @var BundleInterface
*/
private $bundle;
/**
* @var string
*/
... | mit |
JonathanUsername/flow | newtests/autocomplete/foo.js | 61 | /**
*
*/
var obj = {
num: 123,
str: 'hello',
};
obj.
| mit |
cigraphics/phpjs | experimental/errorfunc/error_log.js | 2020 | function error_log(message, message_type, destination, extra_headers) {
// http://kevin.vanzonneveld.net
// + original by: Paul Hutchinson (http://restaurantthing.com/)
// + revised by: Brett Zamir (http://brett-zamir.me)
// % note 1: The dependencies, mail(), syslog(), and file_put_contents()
//... | mit |
anton-gogolev/Nancy | test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs | 526 | namespace Nancy.Tests.Unit.Json
{
using System;
public class TestPrimitiveConverterType : IEquatable<TestPrimitiveConverterType>
{
public int Data;
public bool Equals(TestPrimitiveConverterType other)
{
if (other == null)
return false;
return (this.Data == other.Data);
}
... | mit |
uei/enchantmoon_kernel | linux-3.0/drivers/usb/sun4i_usb/udc/sw_udc_board.h | 968 | /*
*************************************************************************************
* Linux
* USB Host Controller Driver
*
* (c) Copyright 2006-2010, All winners Co,Ld.
* All Rights Reserved
*
* File Name : sw_udc_board.h
*
* Author : javen... | gpl-2.0 |
rperier/linux-rockchip | drivers/Makefile | 5499 | # SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Linux kernel device drivers.
#
# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#
obj-y += irqchip/
obj-y += bus/
obj-$(CONFIG_GENERIC_PHY) += phy/
# GPIO must come after pinctrl as gpios may need to ... | gpl-2.0 |
louishust/mysql5.6.14_tokudb | storage/tokudb/ft-index/ft/tests/cachetable-test.h | 5186 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by th... | gpl-2.0 |
chrisch1974/htc7x30-2.6-flyer | arch/arm/mach-msm/qdsp5v2/audio_amrnb_in.c | 22485 | /*
* amrnb audio input device
*
* Copyright (C) 2008 Google, Inc.
* Copyright (C) 2008 HTC Corporation
* Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and... | gpl-2.0 |
qtekfun/htcDesire820Kernel | external/chromium_org/chrome/browser/extensions/api/content_settings/content_settings_store.cc | 12997 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/content_settings/content_settings_store.h"
#include <set>
#include "base/debug/alias.h"
#include "base/loggi... | gpl-2.0 |
supercamel/ninjaskit | libopencm3/stm32/f1/memorymap.h | 5545 | /*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
*
* This library 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 ... | gpl-3.0 |
latestthemes/opencart | upload/admin/controller/report/customer_activity.php | 5935 | <?php
class ControllerReportCustomerActivity extends Controller {
public function index() {
$this->load->language('report/customer_activity');
$this->document->setTitle($this->language->get('heading_title'));
if (isset($this->request->get['filter_customer'])) {
$filter_customer = $this->request->get['filter... | gpl-3.0 |
cbradley456/moodle | report/backups/version.php | 1202 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | gpl-3.0 |
anthgur/servo | tests/wpt/web-platform-tests/css/css-values/support/vh_not_refreshing_on_chrome_iframe.html | 2485 | <!DOCTYPE html>
<html>
<!-- Submitted from TestTWF Paris -->
<head>
<title>CSS Values and Units Test: vh-based dimension doesn't change when the element other dimension doesn't change.</title>
<style type="text/css">
* { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
/* ... | mpl-2.0 |
veerhiremath7/veerhiremath7.github.io | node_modules/ssri/index.js | 11559 | 'use strict'
const Buffer = require('safe-buffer').Buffer
const crypto = require('crypto')
const Transform = require('stream').Transform
const SPEC_ALGORITHMS = ['sha256', 'sha384', 'sha512']
const BASE64_REGEX = /^[a-z0-9+/]+(?:=?=?)$/i
const SRI_REGEX = /^([^-]+)-([^?]+)([?\S*]*)$/
const STRICT_SRI_REGEX = /^([^-... | unlicense |
plantain-00/TypeScript | tests/cases/fourslash/getJavaScriptCompletions18.ts | 477 | /// <reference path="fourslash.ts" />
// @allowNonTsExtensions: true
// @Filename: file.js
//// /**
//// * @param {number} a
//// * @param {string} b
//// */
//// exports.foo = function(a, b) {
//// a/*a*/;
//// b/*b*/
//// };
goTo.marker('a');
edit.insert('.');
verify.completionListContains('toF... | apache-2.0 |
jeltz/rust-debian-package | src/llvm/tools/clang/lib/Lex/ScratchBuffer.cpp | 2830 | //===--- ScratchBuffer.cpp - Scratch space for forming tokens -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | apache-2.0 |
cappetta/CyberCloud | puppet/garbage/website/files/DVWA/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/HTML/Pixels.php | 1343 | <?php
/**
* Validates an integer representation of pixels according to the HTML spec.
*/
class HTMLPurifier_AttrDef_HTML_Pixels extends HTMLPurifier_AttrDef
{
protected $max;
public function __construct($max = null) {
$this->max = $max;
}
public function validate(... | apache-2.0 |
ingvagabund/origin | vendor/k8s.io/kubernetes/pkg/apis/scheduling/v1alpha1/defaults_test.go | 2157 | /*
Copyright 2019 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
mahaliachante/aws-sdk-java | aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/ResetDBParameterGroupResult.java | 3865 | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
ubiquitous-computing-lab/Mining-Minds | supporting-layer/descriptive-analytics/src/assets/lib/fullcalendar/demos/default.html | 1485 | <!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<link href='../fullcalendar.css' rel='stylesheet' />
<link href='../fullcalendar.print.css' rel='stylesheet' media='print' />
<script src='../lib/moment.min.js'></script>
<script src='../lib/jquery.min.js'></script>
<script src='../lib/jquery-ui.custom.min.js'></sc... | apache-2.0 |
gerrypower/homebrew-cask | Casks/kk7ds-python-runtime.rb | 450 | cask 'kk7ds-python-runtime' do
version '10.1'
sha256 '5cee8acb941e39f93a4df6a99ed29a14c48da0bc5beb3b31068852b1fad8b009'
url "http://www.d-rats.com/download/OSX_Runtime/KK7DS_Python_Runtime_R#{version.major}.pkg"
name 'KK7DS Python Runtime'
homepage 'http://www.d-rats.com/download/OSX_Runtime/'
pkg "KK7DS_... | bsd-2-clause |
scheib/chromium | third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/flex-legend-float-abspos.html | 2691 | <!doctype html>
<title>
legend and float and position: absolute/fixed when the display type of
the fieldset is flex.
</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
body { margin: 0; }
fieldset {
border: 10px solid;
display: flex;
mar... | bsd-3-clause |
AiJiaZone/linux-4.0 | virt/drivers/acpi/acpica/nsrepair2.c | 31111 | /******************************************************************************
*
* Module Name: nsrepair2 - Repair for objects returned by specific
* predefined methods
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2015, Intel... | gpl-2.0 |
itgb/opCloudRouter | qca/src/linux/drivers/rtc/rtc-ab8500.c | 12132 | /*
* Copyright (C) ST-Ericsson SA 2010
*
* License terms: GNU General Public License (GPL) version 2
* Author: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
*
* RTC clock driver for the RTC part of the AB8500 Power management chip.
* Based on RTC clock driver for the AB3100 Analog Baseband C... | gpl-2.0 |
Exeia/gitlabhq | app/models/ci/runner_project.rb | 494 | # == Schema Information
#
# Table name: runner_projects
#
# id :integer not null, primary key
# runner_id :integer not null
# project_id :integer not null
# created_at :datetime
# updated_at :datetime
#
module Ci
class RunnerProject < ActiveRecord::Base
extend Ci::Model
... | mit |
teuben/masc | www/js/lib/js9-3.5/astroem/include/simplerng.h | 1078 | /*
Simple Random Number Generators
- getuniform - uniform deviate [0,1]
- getnorm - gaussian (normal) deviate (mean=0, stddev=1)
- getpoisson - poisson deviate for given expected mean lambda
This code is adapted from SimpleRNG by John D Cook, which is
provided in the public domain.
... | mit |
jimneylee/JLOSChina-iPhone-V2 | vendor/RTLabel/RTLabel.h | 4806 | //
// RTLabel.h
// RTLabelProject
//
/**
* Copyright (c) 2010 Muh Hon Cheng
* Created by honcheng on 1/6/11.
*
* 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, ... | mit |
cigraphics/phpjs | _octopress/source/functions/array_intersect_key/_comments.html | 3369 | <!-- Generated by Rakefile:build -->
<strong>
TeMc
</strong>
on 2012-04-06 21:31:15 <br />
@Jean Marie:
1) Maybe it should be limited to arrays, like PHP does
2) No, because the purpose of this website is to re-create php functions in javascript. Feature requests are not accepted here by design.
<hr />
<strong>
<a... | mit |
abique/scissy | www/vendor/angular/docs/examples/example-example92/index.html | 498 | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example92</title>
<script src="../../../angular.min.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="eventExampleApp">
<div ng-controller="EventController">
<button ng-click="clickMe($... | gpl-2.0 |
atgreen/gcc | libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc | 1206 | // { dg-options "-std=c++0x" }
// { dg-require-cstdint "" }
//
// 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
// Copyright (C) 2008-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under th... | gpl-2.0 |
pschorf/gcc-races | libstdc++-v3/testsuite/20_util/is_literal_type/value.cc | 1855 | // { dg-options "-std=gnu++0x" }
// 2010-03-23 Paolo Carlini <paolo.carlini@oracle.com>
//
// Copyright (C) 2010-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Pub... | gpl-2.0 |
atgreen/gcc | libstdc++-v3/testsuite/23_containers/map/debug/insert3_neg.cc | 988 | // Copyright (C) 2010-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | gpl-2.0 |
atgreen/gcc | libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc | 2596 | // Copyright (C) 2004-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your op... | gpl-2.0 |
pliablepixels/ZoneMinder | onvif/proxy/lib/ONVIF/PTZ/Types/IPv6Configuration.pm | 3376 | package ONVIF::PTZ::Types::IPv6Configuration;
use strict;
use warnings;
__PACKAGE__->_set_element_form_qualified(1);
sub get_xmlns { 'http://www.onvif.org/ver10/schema' };
our $XML_ATTRIBUTE_CLASS;
undef $XML_ATTRIBUTE_CLASS;
sub __get_attr_class {
return $XML_ATTRIBUTE_CLASS;
}
use Class::Std::Fast::Storable... | gpl-2.0 |
atgreen/gcc | libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc | 950 | // { dg-do compile }
// { dg-options "-std=gnu++0x" }
// Copyright (C) 2012-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Fre... | gpl-2.0 |
jacobdfriedmann/jacobfriedmanndotcom | wp-content/plugins/wp-amazon-web-services-master/vendor/aws/Aws/S3/Sync/UploadSyncBuilder.php | 5208 | <?php
/**
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the... | gpl-2.0 |
isauragalafate/drupal8 | web/core/modules/quickedit/js/models/EntityModel.js | 10662 | /**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function (_, $, Backbone, Drupal) {
Drupal.quickedit.EntityModel = Drupal.quickedit.BaseModel.extend({
defaults: {
el: null,
entityID: null,
entityInstan... | gpl-2.0 |
kll/qmk_firmware | layouts/community/ergodox/ab/keymap.c | 7321 | #include QMK_KEYBOARD_H
#include "debug.h"
#include "action_layer.h"
#define BASE 0 // default layer
#define FN1 1 // media layer
#define CAPS_CTL CTL_T(KC_CAPS) // Caps on tap, Ctrl on hold.
#define COPY LCTL(KC_V) // C-c Copy
#define PASTE LCTL(KC_V) // C-v Paste
#define ZM_NRM LCTL(KC_0) ... | gpl-2.0 |
SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gfortran.dg/generic_17.f90 | 952 | ! { dg-do compile }
! Test the patch for PR36374 in which the different
! symbols for 'foobar' would be incorrectly flagged as
! ambiguous in foo_mod.
!
! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>
!
module s_foo_mod
type s_foo_type
real(kind(1.e0)) :: v
end type s_foo_type
interface foo... | gpl-2.0 |
supermerill/openttd | src/base_media_base.h | 10260 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
geminy/aidear | oss/glibc/glibc-2.24/include/ifaddrs.h | 758 | #ifndef _IFADDRS_H
#include <inet/ifaddrs.h>
#include <stdbool.h>
#include <stdint.h>
libc_hidden_proto (getifaddrs)
libc_hidden_proto (freeifaddrs)
struct in6addrinfo
{
enum {
in6ai_deprecated = 1,
in6ai_homeaddress = 2
} flags:8;
uint8_t prefixlen;
uint16_t :16;
uint32_t index;
uint32_t addr[4];... | gpl-3.0 |