repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
aaronryden/DefinitelyTyped | types/signature_pad/signature_pad-tests.ts | 1313 | import SignaturePad from 'signature_pad';
/* TEST 1 - Basic structure and usage */
function BasicTest() {
const canvas = document.querySelector('canvas');
const signaturePad = new SignaturePad(canvas);
// Returns signature image as data URL
signaturePad.toDataURL();
// Returns signature image as... | mit |
alejo8591/cyav | unidad-4/testappavantel3/plugins/org.apache.cordova.network-information/src/firefoxos/NetworkProxy.js | 2982 | /*
*
* 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"); y... | mit |
vano00/todo | fuel/core/tests/testcase.php | 399 | <?php
/**
* Part of the Fuel framework.
*
* @package Fuel
* @version 1.7
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2015 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Core;
/**
* Testcase class tests
*
* @group Core
* @group Testcas... | mit |
dmaticzka/bioconda-recipes | recipes/sweepfinder2/build.sh | 142 | #!/bin/bash
export C_INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib
make
mkdir -p $PREFIX/bin
cp SweepFinder2 $PREFIX/bin
| mit |
penberg/linux | block/blk-pm.c | 6864 | // SPDX-License-Identifier: GPL-2.0
#include <linux/blk-mq.h>
#include <linux/blk-pm.h>
#include <linux/blkdev.h>
#include <linux/pm_runtime.h>
#include "blk-mq.h"
#include "blk-mq-tag.h"
/**
* blk_pm_runtime_init - Block layer runtime PM initialization routine
* @q: the queue of the device
* @dev: the device the ... | gpl-2.0 |
mdxy2010/forlinux-ok6410 | u-boot15/arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c | 39820 | /*
* arch/powerpc/cpu/ppc4xx/denali_spd_ddr2.c
* This SPD SDRAM detection code supports AMCC PPC44x CPUs with a Denali-core
* DDR2 controller, specifically the 440EPx/GRx.
*
* (C) Copyright 2007-2008
* Larry Johnson, lrj@acm.org.
*
* Based primarily on arch/powerpc/cpu/ppc4xx/4xx_spd_ddr2.c, which is...
*
* (... | gpl-2.0 |
rhuitl/uClinux | user/pppd/solaris/ppp_comp_mod.c | 2348 | /*
* ppp_comp_mod.c - modload support for PPP compression STREAMS module.
*
* Copyright (c) 1994 Paul Mackerras. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | gpl-2.0 |
s20121035/rk3288_android5.1_repo | external/chromium_org/chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc | 2240 | // 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 "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#include "chrome/browser/ui/panels/panel_mouse_watcher.h"
#include "ch... | gpl-3.0 |
mikedlowis-prototypes/albase | source/kernel/drivers/clk/shmobile/renesas-cpg-mssr.c | 13874 | /*
* Renesas Clock Pulse Generator / Module Standby and Software Reset
*
* Copyright (C) 2015 Glider bvba
*
* Based on clk-mstp.c, clk-rcar-gen2.c, and clk-rcar-gen3.c
*
* Copyright (C) 2013 Ideas On Board SPRL
* Copyright (C) 2015 Renesas Electronics Corp.
*
* This program is free software; you can redistrib... | bsd-2-clause |
kiwi89/cdnjs | ajax/libs/bagjs/1.0.0/bag.js | 24235 | /*
* bag.js - js/css/other loader + kv storage
*
* Copyright 2013-2014 Vitaly Puzrin
* https://github.com/nodeca/bag.js
*
* License MIT
*/
/*global define*/
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof module === 'obje... | mit |
zjh171/gcc | libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc | 1039 | // Copyright (C) 2012-2015 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 |
puppeh/gcc-6502 | libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc | 1330 | // { dg-options "-std=gnu++11" }
// 2007-10-26 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2007-2015 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 Licen... | gpl-2.0 |
AdaLovelance/lxcGrsecKernels | linux-3.14.37/drivers/of/base.c | 52795 | /*
* Procedures for creating, accessing and interpreting the device tree.
*
* Paul Mackerras August 1996.
* Copyright (C) 1996-2005 Paul Mackerras.
*
* Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner.
* {engebret|bergner}@us.ibm.com
*
* Adapted for sparc and sparc64 by David S. Miller dave... | gpl-2.0 |
consulo/consulo-apache-subversion | src/main/java/org/jetbrains/idea/svn/SvnCopiesRefreshManager.java | 1939 | /*
* Copyright 2000-2009 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 |
LauriM/PropellerEngine | thirdparty/Bullet/src/Bullet3Collision/BroadPhaseCollision/b3DynamicBvh.cpp | 36826 | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2013 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | bsd-2-clause |
redmunds/cdnjs | ajax/libs/cropperjs/0.4.0/cropper.js | 83381 | /*!
* Cropper v0.4.0
* https://github.com/fengyuanchen/cropperjs
*
* Copyright (c) 2015 Fengyuan Chen
* Released under the MIT license
*
* Date: 2015-12-02T06:35:32.008Z
*/
(function (global, factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = g... | mit |
zverevalexei/bierman-topology | web/node_modules/bower/node_modules/lodash/internal/createAssigner.js | 984 | var isIterateeCall = require('./isIterateeCall'),
rest = require('../rest');
/**
* Creates a function like `_.assign`.
*
* @private
* @param {Function} assigner The function to assign values.
* @returns {Function} Returns the new assigner function.
*/
function createAssigner(assigner) {
return rest(functio... | mit |
cipibad/openrtd_2012 | toolchain_mipsel/include/asm-alpha/kmap_types.h | 503 | #ifndef _ASM_KMAP_TYPES_H
#define _ASM_KMAP_TYPES_H
/* Dummy header just to define km_type. */
#include <linux/config.h>
#ifdef CONFIG_DEBUG_HIGHMEM
# define D(n) __KM_FENCE_##n ,
#else
# define D(n)
#endif
enum km_type {
D(0) KM_BOUNCE_READ,
D(1) KM_SKB_SUNRPC_DATA,
D(2) KM_SKB_DATA_SOFTIRQ,
D(3) KM_USER0,
D(4) KM... | gpl-2.0 |
legoater/skiboot | libstb/crypto/mbedtls/include/mbedtls/platform_util.h | 7436 | /**
* \file platform_util.h
*
* \brief Common and shared functions used by multiple modules in the Mbed TLS
* library.
*/
/*
* Copyright (C) 2018, Arm Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not... | apache-2.0 |
Stackdriver/heapster | vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/batch/internalversion/fake/fake_job.go | 4578 | /*
Copyright 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, softw... | apache-2.0 |
reelsense/homebrew-cask | Casks/gqrx.rb | 1698 | cask 'gqrx' do
version '2.11.5'
sha256 '896cefcb2825840178b6dbfb894b01543b1c8225539e6969052133223a59ffee'
# github.com/csete/gqrx was verified as official when first introduced to the cask
url "https://github.com/csete/gqrx/releases/download/v#{version.major_minor_patch}/Gqrx-#{version}.dmg"
appcast 'https:/... | bsd-2-clause |
Jarbu12/Xperia-M-Kernel | kernel/drivers/video/msm/lcdc_wxga.c | 1413 | /* Copyright (c) 2009-2010, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | gpl-3.0 |
krk/coreclr | tests/src/JIT/HardwareIntrinsics/General/Vector128_1/GetAndWithElement.Single.0.cs | 8967 | // 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.
/******************************************************************************
* This file is auto-generated from ... | mit |
MrMaidx/godot | thirdparty/freetype/src/cff/cffobjs.c | 35358 | /***************************************************************************/
/* */
/* cffobjs.c */
/* */
/* Op... | mit |
kmtoki/qmk_firmware | keyboards/handwired/pytest/has_template/templates/keymap.c | 109 | #include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__};
| gpl-2.0 |
stevelord/PR30 | linux-2.6.31/drivers/usb/storage/jumpshot.c | 18639 | /* Driver for Lexar "Jumpshot" Compact Flash reader
*
* jumpshot driver v0.1:
*
* First release
*
* Current development and maintenance by:
* (c) 2000 Jimmie Mayfield (mayfield+usb@sackheads.org)
*
* Many thanks to Robert Baruch for the SanDisk SmartMedia reader driver
* which I used as a template for t... | gpl-2.0 |
rperier/linux | net/ax25/ax25_dev.c | 4634 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk)
*/
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/slab.h>
#include <linux/in.h>
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/string.h>
#... | gpl-2.0 |
ivan-fedorov/intellij-community | plugins/svn4idea/src/org/jetbrains/idea/svn/svnkit/lowLevel/SVNStoppableInputStream.java | 6260 | /*
* Copyright 2000-2012 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 |
jmandawg/camel | components/camel-kura/src/main/java/org/apache/camel/component/kura/KuraRouter.java | 5602 | /**
* 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 |
caot/intellij-community | platform/bootstrap/src/com/intellij/ide/WindowsCommandLineProcessor.java | 2035 | /*
* 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 |
yanivefraim/angular2-webpack-starter | test/app/app.e2e.js | 916 | /// <reference path="../../typings/_custom.d.ts" />
/*
* TODO: ES5 for now until I make a webpack plugin for protractor
*/
describe('App', function() {
var subject;
var result;
beforeEach(function() {
browser.get('/');
});
afterEach(function() {
expect(subject).toEqual(result);
});
it('sh... | mit |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/include/net/if_inet6.h | 6267 | /*
* inet6 interface/address list definitions
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
*
* 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 Foundatio... | gpl-2.0 |
sai9615/MY-kernel-for-grand-I9082 | dragon/arch/arm/plat-kona/include/mach/io.h | 2846 | /************************************************************************************************/
/* */
/* Copyright 2010 Broadcom Corporation */
/* ... | gpl-2.0 |
EAVR/EV3.14 | ev3sources/extra/linux-03.20.00.13/drivers/staging/comedi/drivers/cb_pcidda.c | 24587 | /*
comedi/drivers/cb_pcidda.c
This intends to be a driver for the ComputerBoards / MeasurementComputing
PCI-DDA series.
Copyright (C) 2001 Ivan Martinez <ivanmr@altavista.com>
Copyright (C) 2001 Frank Mori Hess <fmhess@users.sourceforge.net>
COMEDI - Linux Control and Measurement Device Interfac... | gpl-2.0 |
Palakis/obs-studio | plugins/win-mf/mf-aac-encoder.hpp | 2383 | #pragma once
#define WIN32_MEAN_AND_LEAN
#include <Windows.h>
#undef WIN32_MEAN_AND_LEAN
#include <mfapi.h>
#include <mfidl.h>
#include <stdint.h>
#include <vector>
#include <util/windows/ComPtr.hpp>
#define MF_LOG(level, format, ...) \
blog(level, "[Media Foundation encoder]: " format, ##__VA_ARGS__)
#define MF_... | gpl-2.0 |
sorted2323/msi | testauthorize/report/courseoverview/version.php | 1219 | <?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 |
reasyrf/XBeeMultiTerminal | src/NLog/examples/targets/Configuration API/Mail/Buffered/Example.cs | 1532 | using System;
using NLog;
using NLog.Targets;
using NLog.Targets.Wrappers;
class Example
{
static void Main(string[] args)
{
try
{
NLog.Internal.InternalLogger.LogToConsole = true;
NLog.Internal.InternalLogger.LogLevel = LogLevel.Trace;
Console.WriteLine("Se... | gpl-3.0 |
locnx1984/pcl | 3rdparty/flann/Makefile | 643 | VERSION=1.6.11
all:
wget http://people.cs.ubc.ca/~mariusm/uploads/FLANN/flann-${VERSION}-src.zip
unzip flann-${VERSION}-src.zip
#patch -p0 < cpack.patch
cd flann-${VERSION}-src && mkdir -p build && cd build && cmake -DBUILD_C_BINDINGS=false -DBUILD_PYTHON_BINDINGS=false -DBUILD_MATLAB_BINDINGS=false -DCMAKE_BU... | bsd-3-clause |
endlessm/chromium-browser | third_party/catapult/third_party/Paste/paste/util/scgiserver.py | 5612 | """
SCGI-->WSGI application proxy, "SWAP".
(Originally written by Titus Brown.)
This lets an SCGI front-end like mod_scgi be used to execute WSGI
application objects. To use it, subclass the SWAP class like so::
class TestAppHandler(swap.SWAP):
def __init__(self, *args, **kwargs):
self.prefix =... | bsd-3-clause |
emelyan1987/FoodDelivery | tests/system/core/Utf8.php | 4412 | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | mit |
demns/todomvc-perf-comparison | todomvc/react/node_modules/reactify/node_modules/react-tools/node_modules/jstransform/visitors/__tests__/type-function-syntax-test.js | 7860 | /**
* Copyright 2013 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 agreed to ... | mit |
angusty/symfony-study | vendor/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponse.php | 1572 | <?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... | mit |
animalcreek/linux | drivers/net/phy/bcm7xxx.c | 19188 | /*
* Broadcom BCM7xxx internal transceivers support.
*
* Copyright (C) 2014-2017 Broadcom
*
* 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... | gpl-2.0 |
kv193/buildroot | linux/linux-kernel/arch/arm/mach-at91/board-qil-a9260.c | 6144 | /*
* linux/arch/arm/mach-at91/board-qil-a9260.c
*
* Copyright (C) 2005 SAN People
* Copyright (C) 2006 Atmel
* Copyright (C) 2007 Calao-systems
*
* 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 ... | gpl-2.0 |
varund7726/OwnKernel-bacon | net/ipv6/ip6_output.c | 42808 | /*
* IPv6 output functions
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Based on linux/net/ipv4/ip_output.c
*
* 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 ... | gpl-2.0 |
rhuitl/uClinux | user/samba/source/tdb/common/freelist.c | 9268 | /*
Unix SMB/CIFS implementation.
trivial database library
Copyright (C) Andrew Tridgell 1999-2005
Copyright (C) Paul `Rusty' Russell 2000
Copyright (C) Jeremy Allison 2000-2003
** NOTE! The following LGPL license applies to the tdb
** library. This does NOT imply t... | gpl-2.0 |
FashionFreedom/Seamly2D | share/translations/measurements_p8_it_IT.ts | 231740 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="it_IT">
<context>
<name>VTranslateMeasurements</name>
<message>
<location filename="../../src/libs/vpatterndb/vtranslatemeasurements.cpp" line="190"/>
<source>height</source>
<comment>Name in a formula. Don&... | gpl-3.0 |
TheWeatherCompany/terraform | vendor/github.com/hashicorp/go-oracle-terraform/compute/security_applications.go | 5793 | package compute
// SecurityApplicationsClient is a client for the Security Application functions of the Compute API.
type SecurityApplicationsClient struct {
ResourceClient
}
// SecurityApplications obtains a SecurityApplicationsClient which can be used to access to the
// Security Application functions of the Compu... | mpl-2.0 |
KOala888/GB_kernel | linux_kernel_galaxyplayer-master/drivers/infiniband/ulp/iser/iser_initiator.c | 16024 | /*
* Copyright (c) 2004, 2005, 2006 Voltaire, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this... | gpl-2.0 |
KarolKraskiewicz/autoscaler | vertical-pod-autoscaler/vendor/github.com/onsi/gomega/matchers/match_yaml_matcher.go | 2453 | package matchers
import (
"fmt"
"reflect"
"strings"
"github.com/onsi/gomega/format"
"gopkg.in/yaml.v2"
)
type MatchYAMLMatcher struct {
YAMLToMatch interface{}
}
func (matcher *MatchYAMLMatcher) Match(actual interface{}) (success bool, err error) {
actualString, expectedString, err := matcher.toStrings(actua... | apache-2.0 |
Naoya-Horiguchi/linux | drivers/usb/storage/transport.c | 44743 | // SPDX-License-Identifier: GPL-2.0+
/*
* Driver for USB Mass Storage compliant devices
*
* Current development and maintenance by:
* (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
*
* Developed with the assistance of:
* (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org)
* (c) 2000 Stephen... | gpl-2.0 |
jinseokpark6/u-team | Pods/Atlas/Code/Utilities/ATLErrors.h | 1326 | //
// ATLUIErrors.h
// Atlas
//
// Created by Kevin Coleman on 9/26/14.
// Copyright (c) 2015 Layer. 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
//
// htt... | apache-2.0 |
ckaushik/chef | lib/chef/resource/mdadm.rb | 2207 | #
# Author:: Joe Williams (<joe@joetify.com>)
# Author:: Tyler Cloke (<tyler@opscode.com>)
# Copyright:: Copyright (c) 2009 Joe Williams
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You ma... | apache-2.0 |
Piicksarn/cdnjs | ajax/libs/forerunnerdb/1.3.50/fdb-core+views.js | 223891 | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | mit |
respu/coral-folly | folly/io/async/test/EventHandlerTest.cpp | 4714 | /*
* Copyright 2015 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 agreed to... | apache-2.0 |
scheib/chromium | third_party/blink/web_tests/fast/js/js-constructors-use-correct-global.html | 233 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<iframe></iframe>
<script src="resources/js-constructors-use-correct-global.js"></script>
</body>
</html>
| bsd-3-clause |
krk/coreclr | tests/src/JIT/HardwareIntrinsics/X86/Bmi1.X64/TrailingZeroCount.UInt64.cs | 7684 | // 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.
/******************************************************************************
* This file is auto-generated from ... | mit |
publicloudapp/csrutil | linux-4.3/block/blk-mq.h | 3466 | #ifndef INT_BLK_MQ_H
#define INT_BLK_MQ_H
struct blk_mq_tag_set;
struct blk_mq_ctx {
struct {
spinlock_t lock;
struct list_head rq_list;
} ____cacheline_aligned_in_smp;
unsigned int cpu;
unsigned int index_hw;
unsigned int last_tag ____cacheline_aligned_in_smp;
/* incremented at dispatch time */
un... | mit |
komejo/article-test | web/core/modules/toolbar/src/Controller/ToolbarController.php | 1674 | <?php
/**
* @file
* Contains \Drupal\toolbar\Controller\ToolbarController.
*/
namespace Drupal\toolbar\Controller;
use Drupal\Core\Access\AccessResult;
use Drupal\Core\Ajax\AjaxResponse;
use Drupal\Core\Controller\ControllerBase;
use Drupal\toolbar\Ajax\SetSubtreesCommand;
/**
* Defines a controller for the too... | gpl-2.0 |
evalphobia/saas-ci-performance-compare-terraform | website/source/docs/providers/aws/r/cloudwatch_log_destination.html.markdown | 1203 | ---
layout: "aws"
page_title: "AWS: aws_cloudwatch_log_destination"
sidebar_current: "docs-aws-resource-cloudwatch-log-destination"
description: |-
Provides a CloudWatch Logs destination.
---
# aws\_cloudwatch\_log\_destination
Provides a CloudWatch Logs destination resource.
## Example Usage
```hcl
resource "aws... | mpl-2.0 |
hgl888/web-testing-service | wts/tests/canvas/w3c/2d.pattern.repeat.case.html | 834 | <!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
<title>Canvas test: 2d.pattern.repeat.case</title>
<meta name="author" content="Philip Taylor">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="common/... | bsd-3-clause |
pcu4dros/pandora-core | workspace/lib/python3.5/site-packages/sqlalchemy/orm/exc.py | 5439 | # orm/exc.py
# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""SQLAlchemy ORM exceptions."""
from .. import exc as sa_exc, util
NO_STATE = (Attribut... | mit |
kgrygiel/autoscaler | vertical-pod-autoscaler/vendor/github.com/Azure/azure-sdk-for-go/arm/network/expressroutecircuitpeerings.go | 16778 | package network
// Copyright (c) Microsoft and contributors. 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
//
// Unl... | apache-2.0 |
cgvarela/chef | spec/unit/windows_service_spec.rb | 3344 | #
# Author:: Mukta Aphale (<mukta.aphale@clogeny.com>)
# Copyright:: Copyright (c) 2013 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# 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
#... | apache-2.0 |
mahak/spark | mllib/src/test/scala/org/apache/spark/ml/tree/impl/TreePointSuite.scala | 1433 | /*
* 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 |
asedunov/intellij-community | xml/dom-openapi/src/com/intellij/util/xml/DomNameStrategy.java | 1707 | /*
* Copyright 2000-2009 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 |
bengoodger/lemonaid | web/bower_components/polymer-gestures/test/runner.html | 1197 | <!DOCTYPE html>
<!--
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at... | bsd-2-clause |
nusendra/nusendra-blog | vendor/phpunit/phpunit/tests/end-to-end/phar-extension.phpt | 597 | --TEST--
phpunit --configuration tests/_files/phpunit-example-extension
--FILE--
<?php
$_SERVER['argv'][1] = '--configuration';
$_SERVER['argv'][2] = __DIR__ . '/../_files/phpunit-example-extension';
require __DIR__ . '/../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and... | mit |
philiplb/flynn | vendor/github.com/docker/distribution/registry/storage/paths.go | 16435 | package storage
import (
"fmt"
"path"
"strings"
"github.com/docker/distribution/digest"
)
const storagePathVersion = "v2"
// pathMapper maps paths based on "object names" and their ids. The "object
// names" mapped by pathMapper are internal to the storage system.
//
// The path layout in the storage backend is... | bsd-3-clause |
drod2169/KernelSanders-OMAP | tools/prebuilt/ndk/android-ndk-r8/platforms/android-9/arch-x86/usr/include/linux/netfilter/nfnetlink_conntrack.h | 3087 | /****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... | gpl-2.0 |
Piicksarn/cdnjs | ajax/libs/yui/3.4.0pr2/datatype/lang/datatype-date_zh-Hant-HK.js | 717 | YUI.add("lang/datatype-date-format_zh-Hant-HK",function(a){a.Intl.add("datatype-date-format","zh-Hant-HK",{"a":["週日","週一","週二","週三","週四","週五","週六"],"A":["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],"b":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"B":["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月"... | mit |
ChaseGHMU/AlexaSymptomChecker | src/node_modules/aws-sdk/lib/credentials/temporary_credentials.d.ts | 1654 | import {Credentials} from '../credentials';
import {AWSError} from '../error';
import STS = require('../../clients/sts');
export class TemporaryCredentials extends Credentials {
/**
* Creates a new temporary credentials object.
* @param {Object} options - a map of options that are passed to the AWS.STS.a... | mit |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/include/linux/mfd/core.h | 3982 | /* SPDX-License-Identifier: GPL-2.0-only */
/*
* drivers/mfd/mfd-core.h
*
* core MFD support
* Copyright (c) 2006 Ian Molton
* Copyright (c) 2007 Dmitry Baryshkov
*/
#ifndef MFD_CORE_H
#define MFD_CORE_H
#include <linux/platform_device.h>
struct irq_domain;
struct property_entry;
/* Matches ACPI PNP id, eithe... | gpl-2.0 |
BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/gpu/drm/exynos/regs-mixer.h | 5321 | /*
*
* Cloned from drivers/media/video/s5p-tv/regs-mixer.h
*
* Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* Mixer register header file for Samsung Mixer driver
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gener... | gpl-2.0 |
T0MM0R/magento | web/lib/Zend/View/Helper/Cycle.php | 4843 | <?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... | gpl-2.0 |
toncatalansuazo/SymfonyDashboard | vendor/symfony/symfony/src/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.php | 9036 | <?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\Security\Guard\Firewall;
use Symfony\Component\HttpFo... | mit |
google-code/asianspecialroad | plugins/media/system/js/validate-jquery-uncompressed.js | 5696 | /**
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
/**
* Unobtrusive Form Validation library
*
* Inspired by: Chris Campbell <www.particletree.com>
*
* @package Joomla.Framework
* @subpackage ... | gpl-2.0 |
mogoweb/webkit_for_android5.1 | webkit/Source/WebCore/rendering/svg/SVGTextChunkBuilder.cpp | 9299 | /*
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) an... | apache-2.0 |
teiath/lms | web/dbadmin/tbl_tracking.php | 29065 | <?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @package PhpMyAdmin
*/
// Run common work
require_once './libraries/common.inc.php';
define('TABLE_MAY_BE_ABSENT', true);
require './libraries/tbl_common.php';
$url_query .= '&goto=tbl_tracking.php&back=tbl_tracking.php';
$url_params['goto'] = 'tbl_tr... | mit |
nameofname/momo-wordpress-theme | wp-content/themes/annotum-base/plugins/anno-pdf-download/lib/dompdf/www/test/css_float.html | 2003 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
<style>
.left {
float: left;
border: 1px solid green;
}
.right {
float: right;
border: 1px solid blue;
}
.block {
flo... | gpl-2.0 |
kzittritsch/terraform-provider-bigip | vendor/github.com/hashicorp/terraform/terraform/graph_walk_operation.go | 313 | package terraform
//go:generate stringer -type=walkOperation graph_walk_operation.go
// walkOperation is an enum which tells the walkContext what to do.
type walkOperation byte
const (
walkInvalid walkOperation = iota
walkInput
walkApply
walkPlan
walkPlanDestroy
walkRefresh
walkValidate
walkDestroy
)
| mpl-2.0 |
stephaneAG/Titanium_test | showroomApp/build/iphone/Classes/TiUITabController.h | 743 | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
... | mit |
aps243/kernel-imx | arch/arm/include/asm/kvm_mmu.h | 1665 | /*
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundati... | gpl-2.0 |
hshackathons/zeroclickinfo-spice | share/spice/bacon_ipsum/bacon_ipsum.js | 910 | (function (env) {
"use strict";
env.ddg_spice_bacon_ipsum = function(api_result){
if (!api_result || api_result.error) {
return Spice.failed('bacon_ipsum');
}
var pageContent = '';
for (var i in api_result) {
pageContent += "<p>" + api_result[i] + "</p>... | apache-2.0 |
scheib/chromium | third_party/blink/web_tests/fast/forms/label/label-focus.html | 906 | <html>
<head>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
var label1 = document.getElementById('label1');
label1.focus();
if (document.getElementById('cb1') != document.activeElement)
return;
var label2 = document.getElementById('label2');
lab... | bsd-3-clause |
chromium/chromium | third_party/blink/web_tests/fast/media/resources/viewport-media-query.html | 146 | <head>
<style>
body {
background-color: black;
}
@media all and (min-width:600px)
{
body { background-color: green }
}
</style>
</head>
<body>
| bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/fast/dom/HTMLMeterElement/meter-boundary-values.html | 1896 | <html>
<head>
</head>
<body>
<h1>Meters with border values</h1>
<ul>
<li>min,low,optimal,high,max</li>
<li><b>9</b>|10,20,30,40,50: <meter min="10" low="20" optimum="30" high="40" max="50" value="9" ></meter></li>
<li><b>10</b>,20,30,40,50: <meter min="10" low="20" optimum="30" high="40" max="50" value=... | bsd-3-clause |
Priya91/coreclr | src/mscorlib/src/System/Globalization/SortKey.cs | 6975 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
////////////////////////////////////////////////////////////////////////////
//
//
// Purpose: This class implements a set of methods for retrieving
// sor... | mit |
Priya91/coreclr | src/mscorlib/src/System/Collections/Generic/Comparer.cs | 5796 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
//using System.Globalization;
using System.Runtime.Co... | mit |
mavasani/roslyn-analyzers | tools/AnalyzerCodeGenerator/template/src/Test/Utilities/CodeFixTests.Extensions.cs | 826 | // 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;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | apache-2.0 |
tcotav/etcdhooks | vendor/src/github.com/xordataexchange/crypt/backend/consul/consul.go | 1810 | package consul
import (
"fmt"
"strings"
"time"
"github.com/xordataexchange/crypt/backend"
"github.com/armon/consul-api"
)
type Client struct {
client *consulapi.KV
waitIndex uint64
}
func New(machines []string) (*Client, error) {
conf := consulapi.DefaultConfig()
if len(machines) > 0 {
conf.Address =... | mit |
jcgruenhage/dendrite | vendor/src/github.com/apache/thrift/lib/c_glib/test/testsimpleserver.c | 3143 | /*
* 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 ma... | apache-2.0 |
edeati/alexa-translink-skill-js | test/node_modules/aws-sdk/clients/cloudsearchdomain.js | 615 | require('../lib/node_loader');
var AWS = require('../lib/core');
var Service = require('../lib/service');
var apiLoader = require('../lib/api_loader');
apiLoader.services['cloudsearchdomain'] = {};
AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']);
require('../lib/services/cloudsearchd... | apache-2.0 |
LumPenPacK/NetworkExtractionFromImages | win_build/nefi2_win_amd64_msvc_2015/site-packages/numpy/distutils/exec_command.py | 20462 | #!/usr/bin/env python
"""
exec_command
Implements exec_command function that is (almost) equivalent to
commands.getstatusoutput function but on NT, DOS systems the
returned status is actually correct (though, the returned status
values may be different by a factor). In addition, exec_command
takes keyword arguments fo... | bsd-2-clause |
masr/Beijiao | wp-content/plugins/nextgen-gallery-colorboxer/colorbox/3/colorbox.css | 2280 | /*
ColorBox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;... | gpl-2.0 |
tobiasbuhrer/tobiasb | web/core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php | 667 | <?php
namespace Drupal\file\Plugin\Field\FieldFormatter;
/**
* Defines getter methods for FileMediaFormatterBase.
*
* This interface is used on the FileMediaFormatterBase class to ensure that
* each file media formatter will be based on a media type.
*
* Abstract classes are not able to implement abstract stati... | gpl-2.0 |
AnyRTC/AnyRTC-RTMP | third_party/openh264/src/test/encoder/EncUT_InterfaceTest.cpp | 2699 | #include <gtest/gtest.h>
#include "codec_def.h"
#include "codec_api.h"
#include "utils/BufferedData.h"
#include "utils/FileInputStream.h"
#include "BaseEncoderTest.h"
class EncInterfaceCallTest : public ::testing::Test, public BaseEncoderTest {
public:
virtual void SetUp() {
BaseEncoderTest::SetUp();
};
vir... | gpl-3.0 |
oleksandr-minakov/northshore | ui/node_modules/@angular/core/src/application_tokens.d.ts | 1325 | import { OpaqueToken } from './di';
/**
* A DI Token representing a unique string id assigned to the application by Angular and used
* primarily for prefixing application attributes and CSS styles when
* {@link ViewEncapsulation#Emulated} is being used.
*
* If you need to avoid randomly generated value to be used ... | apache-2.0 |
bcaceiro/homebrew-cask | Casks/navicat-for-sqlite.rb | 489 | cask :v1 => 'navicat-for-sqlite' do
version '11.1.13' # navicat-premium.rb and navicat-for-* should be upgraded together
sha256 'd8dfce2de0af81f7c0883773a3c5ed1be64eb076fb67708344d0748244b7566a'
url "http://download.navicat.com/download/navicat#{version.sub(%r{^(\d+)\.(\d+).*},'\1\2')}_sqlite_en.dmg"
name 'N... | bsd-2-clause |
XiaosongWei/chromium-crosswalk | third_party/WebKit/LayoutTests/css3/filters/effect-reference-rename.html | 435 | <html>
<body>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="0" height="0">
<defs>
<filter id="NotMyFilter">
<feColorMatrix type="hueRotate" values="180"/>
</filter>
</defs>
</svg><img style="-webkit-filter: url(#MyFilter); filter: url(#MyFilter);" src="reso... | bsd-3-clause |