repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
iAMr00t/android_kernel_lge_ls840 | include/mach-msm/include/mach/msm_iomap-8930.h | 3201 | /*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2011, Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, di... | gpl-2.0 |
Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/base/metrics/sample_map.h | 1962 | // 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.
// SampleMap implements HistogramSamples interface. It is used by the
// SparseHistogram class to store samples.
#ifndef BASE_METRICS_SAMPLE_MAP_H_
#... | mit |
Ejobs/Sylius | src/Sylius/Bundle/ResourceBundle/test/src/Tests/Configuration/ConfigurationTest.php | 1925 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\ResourceBundle\Tests;
use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTes... | mit |
Aldrien-/three.js | test/unit/src/helpers/PointLightHelper.tests.js | 745 | /**
* @author TristanVALCKE / https://github.com/Itee
*/
/* global QUnit */
import { PointLightHelper } from '../../../../src/helpers/PointLightHelper';
export default QUnit.module( 'Helpers', () => {
QUnit.module( 'PointLightHelper', () => {
// INHERITANCE
QUnit.todo( "Extending", ( assert ) => {
assert... | mit |
chrisk44/android_kernel_lge_hammerhead | drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.h | 5681 | /* Copyright (c) 2013, 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 hope... | gpl-2.0 |
xinchoubiology/gcc | libstdc++-v3/testsuite/ext/mt_allocator/check_delete.cc | 1085 | // 2001-11-25 Phil Edwards <pme@gcc.gnu.org>
//
// Copyright (C) 2001-2014 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 Sof... | gpl-2.0 |
mo-norant/FinHeartBel | website/node_modules/tslint/lib/rules/memberAccessRule.d.ts | 1404 | /**
* @license
* Copyright 2013 Palantir Technologies, 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... | gpl-3.0 |
UK992/servo | tests/wpt/web-platform-tests/accname/name_test_case_740-manual.html | 1849 | <!doctype html>
<html>
<head>
<title>Name test case 740</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>... | mpl-2.0 |
vietpn/ghost-nodejs | node_modules/express-hbs/lib/hbs.js | 17800 | 'use strict';
var fs = require('fs');
var path = require('path');
var readdirp = require('readdirp');
var handlebars = require('handlebars');
var async = require('./async');
/**
* Regex pattern for layout directive. {{!< layout }}
*/
var layoutPattern = /{{!<\s+([A-Za-z0-9\._\-\/]+)\s*}}/;
/**
* Constructor
*/
... | mit |
krk/corefx | src/System.Net.Requests/src/System/Net/FtpWebResponse.cs | 5923 | // 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.
using System.IO;
namespace System.Net
{
/// <summary>
/// <para>The FtpWebResponse class contains the resul... | mit |
mathiasAichinger/fastlane_core | spec/itunes_search_api_spec.rb | 2907 | WebMock.disable_net_connect!(allow: 'coveralls.io')
# iTunes Lookup API
RSpec.configure do |config|
config.before(:each) do
# iTunes Lookup API by Apple ID
["invalid", "", 0, '284882215', ['338986109', 'FR']].each do |current|
if current.kind_of? Array
id = current[0]
country = current[... | mit |
tavaresdong/courses-notes | uw_cse333/hw/projdocs/test_tree/bash-4.2/include/shmbutil.h | 12303 | /* shmbutil.h -- utility functions for multibyte characters. */
/* Copyright (C) 2002-2004 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... | mit |
EliteScientist/webpack | test/statsCases/import-context-filter/templates/baz.noimport.js | 38 | var baz = "baz";
export default baz;
| mit |
BTDC/coreboot | src/vendorcode/amd/agesa/f16kb/Proc/Mem/ma.h | 6015 | /* $NoKeywords:$ */
/**
* @file
*
* ma.h
*
* ARDK common header file
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: (Mem)
* @e \$Revision: 84150 $ @e \$Date: 2012-12-12 15:46:25 -0600 (Wed, 12 Dec 2012) $
*
**/
/************************************************... | gpl-2.0 |
BTDC/coreboot | src/vendorcode/amd/agesa/f16kb/Proc/GNB/Modules/GnbPcieTrainingV2/GnbPcieTrainingV2.h | 2173 | /* $NoKeywords:$ */
/**
* @file
*
* PCIe training library
*
*
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: GNB
* @e \$Revision: 84150 $ @e \$Date: 2012-12-12 15:46:25 -0600 (Wed, 12 Dec 2012) $
*
*/
/*
**************************************************... | gpl-2.0 |
janrinze/loox7xxport.loox2-6-22 | scripts/kconfig/menu.c | 10632 | /*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <stdlib.h>
#include <string.h>
#define LKC_DIRECT_LINK
#include "lkc.h"
struct menu rootmenu;
static struct menu **last_entry_ptr;
struct file *file_list;
struct file *current_file;
static vo... | gpl-2.0 |
akw28888/caf2 | drivers/misc/inv_mpu/accel/mma8450.c | 21949 | /*
$License:
Copyright (C) 2011 InvenSense Corporation, 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 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be u... | gpl-2.0 |
zero-ui/miniblink49 | third_party/skia/third_party/libpng/pngprefix.h | 22924 | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* This file was created in part using the configuration script provided with
* the libpng sources. However it was missing some symbols which caused the
* linker to fail... | gpl-3.0 |
MakeHer/edx-platform | cms/static/js/views/metadata.js | 21517 | define(
[
"js/views/baseview", "underscore", "js/models/metadata", "js/views/abstract_editor",
"js/models/uploads", "js/views/uploads",
"js/models/license", "js/views/license",
"js/views/video/transcripts/metadata_videolist",
"js/views/video/translations_editor"
],
functi... | agpl-3.0 |
jacklicn/webm.libvpx | vp9/common/vp9_convolve.h | 1386 | /*
* Copyright (c) 2013 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | bsd-3-clause |
scheib/chromium | third_party/blink/web_tests/external/wpt/css/css-flexbox/flexbox_visibility-collapse-line-wrapping-ref.html | 463 | <!DOCTYPE html>
<title>flexbox | visibility: collapse and line wrapping</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
body {
margin: 0;
width: 602px;
}
div {
background: #3366cc;
border: 1px solid black;
}
div::after {
content: "";
clear: both;
display: block;
}
p {
backgrou... | bsd-3-clause |
juanc25/proyectoFinal | app/cache/test/annotations/Proyecto-UsuarioBundle-Entity-Usuario$useLogin.cache.php | 254 | <?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";N;s:4:"type";s:6:"string";s:6:"length";i:40;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:0;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}'); | mit |
srinuvasuv/fat_free_crm | spec/controllers/entities/campaigns_controller_spec.rb | 24917 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
require File.expand_path(File.... | mit |
koct9i/linux | arch/mips/include/asm/mach-jz4740/jz4740_fb.h | 1323 | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2009, Lars-Peter Clausen <lars@metafoo.de>
*/
#ifndef __ASM_MACH_JZ4740_JZ4740_FB_H__
#define __ASM_MACH_JZ4740_JZ4740_FB_H__
#include <linux/fb.h>
enum jz4740_fb_lcd_type {
JZ_LCD_TYPE_GENERIC_16_BIT = 0,
JZ_LCD_TYPE_GENERIC_18_BIT = 0 | (1 << ... | gpl-2.0 |
kmtoki/qmk_firmware | keyboards/oddball/v1/config.h | 1203 | /* Copyright 2020 Alexander Tulloh
*
* 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 program is distribu... | gpl-2.0 |
joglomedia/masedi.net | work/berkeley-db/docs/gsg_db_rep/CXX/bulk.html | 5739 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
<title>Bulk ... | gpl-2.0 |
wanghao-xznu/vte | testcases/third_party_suite/kexec/kexec-tools-2.0.2/kexec/arch/mips/kexec-mips.c | 3379 | /*
* kexec-mips.c - kexec for mips
* Copyright (C) 2007 Francesco Chiechi, Alessandro Rubini
* Copyright (C) 2007 Tvblob s.r.l.
*
* derived from ../ppc/kexec-mips.c
* Copyright (C) 2004, 2005 Albert Herranz
*
* This source code is licensed under the GNU General Public License,
* Version 2. See the file COPYIN... | gpl-2.0 |
cd80/UtilizedLLVM | tools/clang/test/CodeGen/capture-complex-expr-in-block.c | 710 | // RUN: %clang_cc1 %s -emit-llvm -o - -fblocks -triple x86_64-apple-darwin10 | FileCheck %s
// rdar://10033986
typedef void (^BLOCK)(void);
int main ()
{
_Complex double c;
BLOCK b = ^() {
_Complex double z;
z = z + c;
};
b();
}
// CHECK-LABEL: define internal void @__main_block_invoke
//... | unlicense |
capturePointer/or-tools | documentation/reference_manual/or-tools/src/constraint_solver/globals_0x6c.html | 8677 | <!-- Good morning, Mr. Phelps. -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>or-tools/src/constraint_solver/: Class Members - Doxy</title>
<link rel="shortcut icon" href="../../../favicon.ico">
<!-- Both stylesheets are supplied by Doxygen, with maybe mino... | apache-2.0 |
danalec/dotfiles | sublime/.config/sublime-text-3/Packages/anaconda_php/plugin/handlers_php/linting/phpcs/CodeSniffer/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php | 1893 | <?php
/**
* Unit test class for the MultiLineAssignment sniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licen... | mit |
lxl1140989/dmsdk | uboot/u-boot-dm6291/arch/mips/lib/bootm.c | 4774 | /*
* (C) Copyright 2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 S... | gpl-2.0 |
sarahkpeck/it-starts-with | wp-content/plugins/yet-another-related-posts-plugin/includes/yarpp_options.php | 5985 | <?php
global $wpdb, $wp_version, $yarpp;
/* Enforce YARPP setup: */
$yarpp->enforce();
if(!$yarpp->enabled() && !$yarpp->activate()) {
echo '<div class="updated">'.__('The YARPP database has an error which could not be fixed.','yarpp').'</div>';
}
/* Check to see that templates are in the right place */
if (!$ya... | gpl-2.0 |
gh1026/linux-3.4 | modules/mali/DX910-SW-99002-r3p2-01rel3/driver/src/devicedrv/mali/Makefile | 3987 | #
# Copyright (C) 2010-2013 ARM Limited. All rights reserved.
#
# This program is free software and is provided to you under the terms of the GNU General Public License version 2
# as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
#
# A copy ... | gpl-2.0 |
raumfeld/linux-am33xx | drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 6156 | /* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (c) 2016-2017 Hisilicon Limited. */
#ifndef __HCLGEVF_CMD_H
#define __HCLGEVF_CMD_H
#include <linux/io.h>
#include <linux/types.h>
#include "hnae3.h"
#define HCLGEVF_CMDQ_TX_TIMEOUT 30000
#define HCLGEVF_CMDQ_RX_INVLD_B 0
#define HCLGEVF_CMDQ_RX_OUTVLD_B 1
struc... | gpl-2.0 |
selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gcc.target/arm/neon/vmaxQs32.c | 584 | /* Test the `vmaxQs32' ARM Neon intrinsic. */
/* This file was autogenerated by neon-testgen. */
/* { dg-do assemble } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-save-temps -O0" } */
/* { dg-add-options arm_neon } */
#include "arm_neon.h"
void test_vmaxQs32 (void)
{
int32x4_t out_int3... | gpl-3.0 |
anthgur/servo | tests/wpt/web-platform-tests/tools/third_party/pytest/_pytest/junitxml.py | 15681 | """
report test results in JUnit-XML format,
for use with Jenkins and build integration servers.
Based on initial code from Ross Lawley.
Output conforms to https://github.com/jenkinsci/xunit-plugin/blob/master/
src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd
"""
from __future__ im... | mpl-2.0 |
js0701/chromium-crosswalk | third_party/WebKit/LayoutTests/http/tests/security/cookies/base-about-blank.html | 842 | <html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.cookie = "secret=PASS";
function log(msg) {
var line = document.createElement("div");
line.appendChild(document.createTextNode(msg));
document.getElementById("console").appendChild(line... | bsd-3-clause |
froala/cdnjs | ajax/libs/timeago.js/2.0.0/timeago.js | 8824 | /**
* Copyright (c) 2016 hustcc
* License: MIT
* https://github.com/hustcc/timeago.js
**/
/* jshint expr: true */
!function (root, factory) {
if (typeof module === 'object' && module.exports)
module.exports = factory(root);
else
root.timeago = factory(root);
}(typeof window !== 'undefined' ? w... | mit |
bas-t/linux_media | drivers/net/ethernet/mellanox/mlxsw/cmd.h | 40398 | /*
* drivers/net/ethernet/mellanox/mlxsw/cmd.h
* Copyright (c) 2015 Mellanox Technologies. All rights reserved.
* Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com>
* Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... | gpl-2.0 |
imoseyon/leanKernel-d2vzw | drivers/media/video/msm_apexq/msm_mctl.c | 44450 | /* Copyright (c) 2011-2012, Code Aurora Forum. 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 ho... | gpl-2.0 |
akosyakov/intellij-community | platform/usageView/src/com/intellij/usages/impl/GroupNode.java | 11143 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
domenicbove/origin | pkg/client/testclient/fake_templates.go | 2068 | package testclient
import (
ktestclient "k8s.io/kubernetes/pkg/client/testclient"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/watch"
templateapi "github.com/openshift/origin/pkg/template/api"
)
// FakeTemplates implements TemplateInterface. Meant to be embedded into a st... | apache-2.0 |
Rogerlin2013/actor-platform | actor-apps/core/src/main/java/im/actor/model/api/rpc/RequestSendMessage.java | 2557 | package im.actor.model.api.rpc;
/*
* Generated by the Actor API Scheme generator. DO NOT EDIT!
*/
import im.actor.model.droidkit.bser.Bser;
import im.actor.model.droidkit.bser.BserParser;
import im.actor.model.droidkit.bser.BserObject;
import im.actor.model.droidkit.bser.BserValues;
import im.actor.model.droidkit.... | mit |
peterwillcn/mongoid | spec/mongoid/relations/referenced/in_spec.rb | 30037 | require "spec_helper"
describe Mongoid::Relations::Referenced::In do
let(:person) do
Person.create
end
describe "#=" do
context "when the relation is named target" do
let(:target) do
User.new
end
context "when the relation is referenced from an embeds many" do
cont... | mit |
ptoonen/corefx | src/Common/src/System/Net/Security/CertificateValidation.Unix.cs | 2411 | // 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.
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Globalization;
using System.Security.Crypt... | mit |
c0d3z3r0/linux-rockchip | drivers/iio/buffer/industrialio-buffer-dma.c | 21128 | // SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2013-2015 Analog Devices Inc.
* Author: Lars-Peter Clausen <lars@metafoo.de>
*/
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/workqueue.h>
#include <linux/mutex.h>
#include <linux/sched.h... | gpl-2.0 |
raj-bhatia/grooveip-ios-public | submodules/externals/opencore-amr/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/q_gain2_tab.cpp | 5030 | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.o... | gpl-2.0 |
tprrt/linux-stable | arch/powerpc/kernel/signal_64.c | 30604 | // SPDX-License-Identifier: GPL-2.0-or-later
/*
* PowerPC version
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
*
* Derived from "arch/i386/kernel/signal.c"
* Copyright (C) 1991, 1992 Linus Torvalds
* 1997-11-28 Modified for POSIX.1b signals by Richard Henderson
*/
#include <linux/sched.... | gpl-2.0 |
rohlandm/servo | components/script/dom/htmlareaelement.rs | 2237 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::attr::AttrValue;
use dom::bindings::codegen::Bindings::HTMLAreaElementBinding;
use dom::bindings::codegen... | mpl-2.0 |
gkneighb/insoshi | vendor/plugins/will_paginate/lib/will_paginate/finder.rb | 10582 | require 'will_paginate/core_ext'
module WillPaginate
# A mixin for ActiveRecord::Base. Provides +per_page+ class method
# and hooks things up to provide paginating finders.
#
# Find out more in WillPaginate::Finder::ClassMethods
#
module Finder
def self.included(base)
base.extend ClassMethods
... | agpl-3.0 |
julien3/vertxbuspp | vertxbuspp/asio/include/asio/basic_serial_port.hpp | 24579 | //
// basic_serial_port.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or c... | apache-2.0 |
jmandawg/camel | components/camel-test-spring/src/main/java/org/apache/camel/test/spring/CamelSpringDelegatingTestContextLoader.java | 5252 | /**
* 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 |
stardog-union/stardog-graviton | vendor/github.com/mitchellh/packer/builder/azure/arm/openssh_key_pair_test.go | 980 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See the LICENSE file in builder/azure for license information.
package arm
import (
"golang.org/x/crypto/ssh"
"testing"
)
func TestFart(t *testing.T) {
}
func TestAuthorizedKeyShouldParse(t *testing.T) {
testSubject,... | apache-2.0 |
mkumatag/origin | vendor/k8s.io/kubernetes/cluster/restore-from-backup.sh | 9389 | #!/usr/bin/env bash
# Copyright 2016 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 applica... | apache-2.0 |
shahata/angular | modules/angular2/src/core/render/dom/compiler/property_binding_parser.ts | 4415 | import {isPresent, RegExpWrapper, StringWrapper} from 'angular2/src/core/facade/lang';
import {MapWrapper} from 'angular2/src/core/facade/collection';
import {Parser} from 'angular2/src/core/change_detection/change_detection';
import {CompileStep} from './compile_step';
import {CompileElement} from './compile_element... | apache-2.0 |
smmribeiro/intellij-community | java/java-tests/testData/codeInsight/completion/normal/MethodCallAfterFinally.java | 87 | public class Test {
void fooBarGoo() {
try {}
finally {}
fbg<caret>
}
} | apache-2.0 |
js0701/chromium-crosswalk | third_party/WebKit/LayoutTests/compositing/reflections/nested-reflection-transformed.html | 959 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.outer {
width: 120px;
height: 230px;
margin: 20px;
border: 1px solid black;
-webkit-box-reflect: right 10px;
}
.inner {
margin: 10px;
width: 100px;
height: 100px;
b... | bsd-3-clause |
phstc/sshp | vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/candidate_helper2.rb | 70 | # rank 1
class CandidateTest
def test4
end
def test5
end
end
| mit |
sigma-random/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/net/mac80211/wme.c | 3394 | /*
* Copyright 2004, Instant802 Networks, Inc.
*
* 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 Foundation.
*/
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/module... | gpl-2.0 |
wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/drivers/media/common/tuners/tuner-xc2028.h | 1827 | /* tuner-xc2028
*
* Copyright (c) 2007-2008 Mauro Carvalho Chehab (mchehab@infradead.org)
* This code is placed under the terms of the GNU General Public License v2
*/
#ifndef __TUNER_XC2028_H__
#define __TUNER_XC2028_H__
#include "dvb_frontend.h"
#define XC2028_DEFAULT_FIRMWARE "xc3028-v27.fw"
#define XC3028L_D... | gpl-2.0 |
nazgee/igep-kernel | drivers/net/wireless/hostap/hostap_cs.c | 18243 | #define PRISM2_PCCARD
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/slab.h>
#include <linux/wait.h>
#include <linux/timer.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/workqueue.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>
#include <p... | gpl-2.0 |
hassanibi/erpnext | erpnext/patches/v6_2/remove_newsletter_duplicates.py | 407 | import frappe
def execute():
duplicates = frappe.db.sql("""select email_group, email, count(name)
from `tabEmail Group Member`
group by email_group, email
having count(name) > 1""")
# delete all duplicates except 1
for email_group, email, count in duplicates:
frappe.db.sql("""delete from `tabEmail Group Me... | gpl-3.0 |
rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/rxjs/_esm2015/operators/sequenceEqual.js | 4896 | import { Subscriber } from '../Subscriber';
import { tryCatch } from '../util/tryCatch';
import { errorObject } from '../util/errorObject';
/**
* Compares all values of two observables in sequence using an optional comparor function
* and returns an observable of a single boolean value representing whether or not the... | apache-2.0 |
wjiangjay/origin | vendor/k8s.io/kubernetes/pkg/volume/aws_ebs/aws_ebs_block.go | 6460 | /*
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 |
npuichigo/ttsflow | third_party/tensorflow/tensorflow/core/common_runtime/session_factory.cc | 4469 | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | apache-2.0 |
Nepomuceno/azure-xplat-cli | test/hdinsight/unit-list-command.js | 2528 | //
// 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
//
// Unless requi... | apache-2.0 |
ggsamsa/sched_casio | drivers/net/qlcnic/qlcnic_hw.c | 33431 | /*
* Copyright (C) 2009 - QLogic Corporation.
* 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
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later ver... | gpl-2.0 |
GuillaumeSeren/linux | drivers/mfd/da9063-i2c.c | 15634 | // SPDX-License-Identifier: GPL-2.0+
/* I2C support for Dialog DA9063
*
* Copyright 2012 Dialog Semiconductor Ltd.
* Copyright 2013 Philipp Zabel, Pengutronix
*
* Author: Krystian Garbaciak, Dialog Semiconductor
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/regmap.... | gpl-2.0 |
queirozfcom/elasticsearch | core/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/InternalTerms.java | 10492 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
dmirubtsov/k8s-executor | vendor/k8s.io/kubernetes/vendor/github.com/google/cadvisor/info/v2/conversion.go | 7941 | // Copyright 2015 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 applicable... | apache-2.0 |
luciancrasovan/amphtml | examples/beopinion.amp.html | 4630 | <!doctype html>
<html ⚡>
<head>
<meta charset="utf-8">
<title>BeOpinion examples</title>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Questrial' rel='stylesheet' type='text/css'>
<link rel="canonical" href="https://www.... | apache-2.0 |
adouble42/nemesis-current | wxWidgets-3.1.0/include/wx/bmpbuttn.h | 4285 | /////////////////////////////////////////////////////////////////////////////
// Name: wx/bmpbuttn.h
// Purpose: wxBitmapButton class interface
// Author: Vadim Zeitlin
// Modified by:
// Created: 25.08.00
// Copyright: (c) 2000 Vadim Zeitlin
// Licence: wxWindows licence
/////////////////////... | bsd-2-clause |
CTSRD-SOAAP/chromium-42.0.2311.135 | content/renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc | 1157 | // Copyright 2014 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/message_loop/message_loop.h"
#include "content/renderer/media/mock_web_rtc_peer_connection_handler_client.h"
#include "content/renderer/med... | bsd-3-clause |
jallen93/linux-vnic-dbg | drivers/spi/spi-davinci.c | 28957 | /*
* Copyright (C) 2009 Texas Instruments.
* Copyright (C) 2010 EF Johnson Technologies
*
* 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 op... | gpl-2.0 |
s20121035/rk3288_android5.1_repo | external/chromium_org/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h | 1077 | // 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 CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE_WIN_H_
#define CHROME_BROWSER_UI_VIEWS_APP_LIST_WIN_APP_LIST_CONTROLLER_DELEGATE... | gpl-3.0 |
bonzini/seabios | src/cdrom.c | 9412 | // Support for booting from cdroms (the "El Torito" spec).
//
// Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
// Copyright (C) 2002 MandrakeSoft S.A.
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#include "disk.h" // cdrom_13
#include "util.h" // memset
#include "bregs.... | gpl-3.0 |
gnubila-france/linuxbrew | Library/Formula/gst-plugins-ugly.rb | 2650 | class GstPluginsUgly < Formula
desc "GStreamer plugins (well-supported, possibly problematic for distributors)"
homepage "https://gstreamer.freedesktop.org/"
url "https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.8.0.tar.xz"
sha256 "53657ffb7d49ddc4ae40e3f52e56165db4c06eb016891debe2b6c0e... | bsd-2-clause |
wastrachan/homebrew-cask | Casks/netbeans-java-se.rb | 426 | cask 'netbeans-java-se' do
version '8.2'
sha256 '91652f03d8abba0ae9d76a612ed909c9f82e4f138cbd510f5d3679280323011b'
url "https://download.netbeans.org/netbeans/#{version}/final/bundles/netbeans-#{version}-javase-macosx.dmg"
name 'NetBeans IDE for Java SE'
homepage 'https://netbeans.org/'
pkg "NetBeans #{ve... | bsd-2-clause |
go2ev-devteam/Gplus_2159_0801 | openplatform/sdk/os/kernel-2.6.32/drivers/usb/misc/idmouse.c | 12143 | /* Siemens ID Mouse driver v0.6
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.
Copyright (C) 2004-5 by Florian 'Flo... | gpl-2.0 |
Roquet87/SIGESRHI | vendor/apy/datagrid-bundle/APY/DataGridBundle/Resources/doc/columns_configuration/filters/input_filter.md | 532 | Input filter
============
This type of filter displays an input field.
A second input field is displayed if you select a range operator (between).
The two input fields are disabled if you select the `Is defined` and `Is not defined` operators.
### Additionnal attributes for a column annotation for a property
|Attr... | mit |
koct9i/linux | arch/x86/kernel/head64.c | 13218 | // SPDX-License-Identifier: GPL-2.0
/*
* prepare to run common code
*
* Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
*/
#define DISABLE_BRANCH_PROFILING
/* cpu_feature_enabled() cannot be used this early */
#define USE_EARLY_PGTABLE_L5
#include <linux/init.h>
#include <linux/linkage.h>
#include <l... | gpl-2.0 |
Webee-IOT/webee210-linux-kernel-3.8 | net/sctp/associola.c | 48370 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001 Intel Corp.
* Copyright (c) 2001 La Monte H.P. Yarroll
*
* This file is part of the SCTP kernel implementation
*
* This module provides the abst... | gpl-2.0 |
drthomas21/WordPress_Tutorial | wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php | 667 | <?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 |
drthomas21/WordPress_Tutorial | wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php | 3146 | <?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 |
samthor/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesViewContentEP.java | 3337 | /*
* 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 |
cymcsg/UltimateAndroid | deprecated/UltimateAndroidNormal/DemoOfUI/src/com/marshalchen/common/demoofui/showcaseview/legacy/MultipleShowcaseSampleActivity.java | 2332 | package com.marshalchen.common.demoofui.showcaseview.legacy;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
import com.marshalchen.common.demoofui.R;
public class... | apache-2.0 |
diogocs1/comps | web/addons/sale_layout/models/sale_layout.py | 4907 | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2014-Today OpenERP SA (<http://www.openerp.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms ... | apache-2.0 |
vongalpha/origin | Godeps/_workspace/src/k8s.io/kubernetes/docs/user-guide/connecting-applications.md | 17365 | <!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- BEGIN STRIP_FOR_RELEASE -->
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
width="25" height="25">
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"... | apache-2.0 |
valery-barysok/Apktool | brut.apktool.smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/DexBackedDexFile.java | 10213 | /*
* Copyright 2012, 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... | apache-2.0 |
KOala888/GB_kernel | linux_kernel_galaxyplayer-master/fs/cachefiles/internal.h | 11228 | /* General netfs cache on cache files internal defs
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licence
* as published by the Free... | gpl-2.0 |
sreym/cdnjs | ajax/libs/pdf.js/1.3.177/pdf.js | 313996 | /* Copyright 2012 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | mit |
ninjablocks/ninja-sentinel | yeoman/components/moment/CONTRIBUTING.md | 1722 | Submitting Issues
=================
If you are submitting a bug with moment, please create a [jsfiddle](http://jsfiddle.net/) demonstrating the issue.
Contributing
============
To contribute, fork the library and install these npm packages.
npm install jshint uglify-js nodeunit
You can add tests to the files i... | mit |
solashirai/edx-platform | common/djangoapps/third_party_auth/tests/specs/test_lti.py | 7079 | """
Integration tests for third_party_auth LTI auth providers
"""
import unittest
from django.conf import settings
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from oauthlib.oauth1.rfc5849 import Client, SIGNATURE_TYPE_BODY
from third_party_auth.tests import testutil
FORM_EN... | agpl-3.0 |
marsorp/blog | presto166/presto-main/src/main/java/com/facebook/presto/sql/planner/sanity/NoSubqueryExpressionLeftChecker.java | 1903 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |
carmine/northshore | ui/node_modules/popsicle/dist/form.js | 353 | var FormData = require('form-data');
function form(obj) {
var form = new FormData();
if (obj) {
Object.keys(obj).forEach(function (name) {
form.append(name, obj[name]);
});
}
return form;
}
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = form;... | apache-2.0 |
scheib/chromium | third_party/blink/web_tests/external/wpt/infrastructure/server/resources/expect-title-meta.js | 312 | if (!self.GLOBAL || self.GLOBAL.isWindow()) {
test(() => {
assert_equals(document.title, "foo");
}, '<title> exists');
test(() => {
assert_equals(document.querySelectorAll("meta[name=timeout][content=long]").length, 1);
}, '<meta name=timeout> exists');
}
scripts.push('expect-title-meta.js');
| bsd-3-clause |
benjaminjkraft/django | tests/proxy_models/models.py | 4514 | """
By specifying the 'proxy' Meta attribute, model subclasses can specify that
they will take data directly from the table of their base class table rather
than using a new table of their own. This allows them to act as simple proxies,
providing a modified interface to the data from the base class.
"""
from django.db ... | bsd-3-clause |
mimecine/mongrel2 | src/polarssl/bignum.h | 19580 | /**
* \file bignum.h
*
* \brief Multi-precision integer library
*
* Copyright (C) 2006-2010, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
*
* All rights reserved.
*
* This program is free software; you ... | bsd-3-clause |
shimingsg/corefx | src/System.Threading/tests/SemaphoreSlimTests.cs | 25845 | // 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.
using System.Diagnostics;
using System.Threading.Tasks;
using Xunit;
namespace System.Threading.Tests
{
/// <su... | mit |
NetEase/pomelo-admin-web | public/front/auditsPanel.css | 5485 | /*
* Copyright (C) 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 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 reta... | mit |