code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* Copyright (c) 2013 Samsung Electronics Co., Ltd.
* Copyright (c) 2013 Linaro Ltd.
* Author: Thomas Abraham <thomas.ab@samsung.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 Fou... | systemdaemon/systemd | src/linux/drivers/clk/samsung/clk.c | C | gpl-2.0 | 11,155 |
// Utility functions
String.prototype.trim = function(){ return this.replace(/^\s+|\s+$/g, ''); };
function supportsHtmlStorage() {
try {
return 'localStorage' in window && window['localStorage'] !== null;
} catch (e) {
return false;
}
}
function get_text(el) {
ret = " ";
var length = el.childNodes.le... | sandbox-team/techtalk-portal | vendor/zenpen/js/utils.js | JavaScript | mit | 641 |
// SPDX-License-Identifier: GPL-2.0
// TI LP50XX LED chip family driver
// Copyright (C) 2018-20 Texas Instruments Incorporated - https://www.ti.com/
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/leds.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#inc... | rperier/linux | drivers/leds/leds-lp50xx.c | C | gpl-2.0 | 17,111 |
'use strict';
var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');
var DESCRIPTORS = require('../internals/descriptors');
var global = require('../internals/global');
var isObject = require('../internals/is-object');
var has = require('../internals/has');
var classof = require('../internals/classof');... | BigBoss424/portfolio | v8/development/node_modules/jimp/node_modules/core-js/internals/array-buffer-view-core.js | JavaScript | apache-2.0 | 6,017 |
/*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* 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, including without limitation
* the ri... | resir014/brackets | src/project/SidebarView.js | JavaScript | mit | 10,278 |
/* This file is automatically generated. DO NOT EDIT! */
#ifndef DECOMP_H
#define DECOMP_H
#define G_UNICODE_LAST_CHAR 0x10ffff
#define G_UNICODE_MAX_TABLE_INDEX (0x110000 / 256)
#define G_UNICODE_LAST_CHAR_PART1 0x2FAFF
#define G_UNICODE_LAST_PAGE_PART1 762
#define G_UNICODE_NOT_PRESENT_OFFSET 65535
static con... | xbmc/atv2 | xbmc/lib/libmms/glib-2.20.4/glib/gunidecomp.h | C | gpl-2.0 | 492,428 |
/*
* pNFS client data structures.
*
* Copyright (c) 2002
* The Regents of the University of Michigan
* All Rights Reserved
*
* Dean Hildebrand <dhildebz@umich.edu>
*
* Permission is granted to use, copy, create derivative works, and
* redistribute this software and such derivative works for any purpose... | rex-xxx/Explay_A350_kernel_source_code | fs/nfs/pnfs.h | C | gpl-2.0 | 7,087 |
! { dg-do compile }
!
! PR 54190: TYPE(*)/assumed-rank: Type/rank check too relaxed for dummy procedure
! PR 57217: [4.7/4.8/4.9 Regression][OOP] Accepts invalid TBP overriding - lacking arguments check
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
module base_mod
implicit none
type base_type
... | selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gfortran.dg/typebound_override_6.f90 | FORTRAN | gpl-3.0 | 1,090 |
package rdsutils
import (
"net/http"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/signer/v4"
)
// BuildAuthToken will return a authentication token for the database's connect
// based on the RDS database endpoint, AWS region, IAM user or role, and AWS credentials.
... | whosonfirst/go-whosonfirst-updated | vendor/github.com/whosonfirst/go-whosonfirst-s3/vendor/src/github.com/aws/aws-sdk-go/service/rds/rdsutils/connect.go | GO | bsd-3-clause | 2,417 |
"""Utilities to evaluate models with respect to a variable
"""
# Author: Alexander Fabisch <afabisch@informatik.uni-bremen.de>
#
# License: BSD 3 clause
import warnings
import numpy as np
from .base import is_classifier, clone
from .cross_validation import check_cv
from .externals.joblib import Parallel, delayed
fro... | Achuth17/scikit-learn | sklearn/learning_curve.py | Python | bsd-3-clause | 13,467 |
/*
* builtin-buildid-cache.c
*
* Builtin buildid-cache command: Manages build-id cache
*
* Copyright (C) 2010, Red Hat Inc.
* Copyright (C) 2010, Arnaldo Carvalho de Melo <acme@redhat.com>
*/
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
#include <dirent.h>
#include <unistd.h>
#include "builtin.... | AiJiaZone/linux-4.0 | virt/tools/perf/builtin-buildid-cache.c | C | gpl-2.0 | 10,517 |
/*
UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry`=8816;
DELETE FROM `smart_scripts` WHERE `entryorguid`=8816 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `e... | zhangf911/TrinityCore | sql/old/4.3.4/TDB5_to_TDB6_updates/world/093_2014_03_20_01_world_sai.sql | SQL | gpl-2.0 | 748 |
// Copyright 2015 CoreOS, 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 in... | dmirubtsov/k8s-executor | vendor/k8s.io/kubernetes/vendor/github.com/coreos/etcd/store/watcher.go | GO | apache-2.0 | 3,230 |
using System;
namespace Notifications.Model
{
public interface IScenario
{
string Name { get; }
bool Contains(Type scenarioType);
Scenario FindScenario(Type scenarioType);
}
}
| TA-Team-Giant/PAaaS | pAaaS/Notifications/Model/IScenario.cs | C# | mit | 218 |
/* bnx2fc_tgt.c: Broadcom NetXtreme II Linux FCoE offload driver.
* Handles operations such as session offload/upload etc, and manages
* session resources such as connection id and qp resources.
*
* Copyright (c) 2008 - 2013 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or mo... | iwinoto/v4l-media_build | media/drivers/scsi/bnx2fc/bnx2fc_tgt.c | C | gpl-2.0 | 25,310 |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. -->
<html>
<head>
<title>Referrer-Policy: Referrer Policy is set to 'origin-only'</title>
<meta name="description" content="Check that all subresources in... | youtube/cobalt | third_party/web_platform_tests/referrer-policy/origin-only/meta-referrer/cross-origin/http-https/xhr-request/generic.swap-origin-redirect.http.html | HTML | bsd-3-clause | 1,973 |
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by referrer-policy/generic/tools/generate.py using referrer-policy/generic/template/test.release.html.template. -->
<html>
<head>
<title>Referrer-Policy: Referrer Policy is set to 'unsafe-url'</title>
<meta name="description" content="Check that all sub-resources ge... | youtube/cobalt | third_party/web_platform_tests/referrer-policy/unsafe-url/meta-csp/cross-origin/http-https/iframe-tag/generic.swap-origin-redirect.http.html | HTML | bsd-3-clause | 1,998 |
#!/usr/bin/env bash
OS=`cat /etc/os-release | grep "^ID=" | sed 's/ID=//g' | sed 's/["]//g' | awk '{print $1}'`
echo -e "Operating System: ${OS}\n"
realm="TEST.COREFX.NET"
domain="TEST"
principal1="TESTHOST/testfqdn.test.corefx.net"
principal2="TESTHTTP/localhost"
krb_user="krb_user"
krb_password="password"
ntlm_use... | nbarbettini/corefx | src/System.Net.Security/tests/Scripts/Unix/setup-kdc.sh | Shell | mit | 8,851 |
/*
* (C) Copyright 2007
* Stelian Pop <stelian@popies.net>
* Lead Tech Design <www.leadtechdesign.com>
*
* 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
*... | lxl1140989/sdk-for-tb | uboot/u-boot-dm6291/arch/arm/include/asm/dma-mapping.h | C | gpl-2.0 | 1,493 |
export default function Home() {
return <div className="red-text">This text should be red.</div>
}
| flybayer/next.js | test/integration/scss-fixtures/webpack-error/pages/index.js | JavaScript | mit | 101 |
/* */
module.exports = { "default": require("core-js/library/fn/math/sign"), __esModule: true }; | pauldijou/outdated | test/basic/jspm_packages/npm/babel-runtime@5.8.9/core-js/math/sign.js | JavaScript | apache-2.0 | 97 |
require 'formula'
class Avce00 < Formula
homepage 'http://avce00.maptools.org/avce00/index.html'
url 'http://avce00.maptools.org/dl/avce00-2.0.0.tar.gz'
sha1 '2948d9b1cfb6e80faf2e9b90c86fd224617efd75'
def install
system "make", "CC=#{ENV.cc}"
bin.install "avcimport", "avcexport", "avcdelete", "avctes... | jtrag/homebrew | Library/Formula/avce00.rb | Ruby | bsd-2-clause | 333 |
/*
Copyright 2015 The Kubernetes 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 ag... | tya/kubernetes | plugin/pkg/scheduler/api/validation/validation_test.go | GO | apache-2.0 | 1,732 |
// SPDX-License-Identifier: GPL-2.0-only
/**
* ipoctal.c
*
* driver for the GE IP-OCTAL boards
*
* Copyright (C) 2009-2012 CERN (www.cern.ch)
* Author: Nicolas Serafini, EIC2 SA
* Author: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
*/
#include <linux/device.h>
#include <linux/module.h>
#include <linux/int... | CSE3320/kernel-code | linux-5.8/drivers/ipack/devices/ipoctal.c | C | gpl-2.0 | 18,979 |
module CodeRay
# = WordList
#
# <b>A Hash subclass designed for mapping word lists to token types.</b>
#
# A WordList is a Hash with some additional features.
# It is intended to be used for keyword recognition.
#
# WordList is optimized to be used in Scanners,
# typically to decide whether a giv... | emineKoc/WiseWit | wisewitapi/vendor/bundle/gems/coderay-1.1.1/lib/coderay/helpers/word_list.rb | Ruby | gpl-3.0 | 1,662 |
/*
* Copyright (C) 2013 Apple 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | zhengyongbo/phantomjs | src/qt/qtwebkit/Source/WebCore/page/PageConsole.h | C | bsd-3-clause | 2,858 |
/* Copyright (c) 2011-2014, The Linux Foundataion. 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 th... | butkevicius/motorola-moto-z-permissive-kernel | kernel/drivers/media/platform/msm/camera_v2/common/msm_camera_io_util.h | C | gpl-2.0 | 3,577 |
/*
* Copyright (C) 2007 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | klim-iv/phantomjs-qt5 | src/webkit/Source/WebCore/platform/network/Credential.h | C | bsd-3-clause | 2,971 |
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2013-02-01 at 23:10:44.
*/
class JGithubPackageOrgsMembersTest extends PHPUnit_Framework_TestCase
{
/**
* @var JRegistry Options for the GitHub object.
* @since 11.4
*/
protected $options;
/**
* @var JGithubHttp Mock client object.
* @... | 1nv4d3r5/joomla-cms | tests/unit/suites/libraries/joomla/github/orgs/JGithubPackageOrgsMembersTest.php | PHP | gpl-2.0 | 7,908 |
/*
* OMAP powerdomain control
*
* Copyright (C) 2007-2008 Texas Instruments, Inc.
* Copyright (C) 2007-2009 Nokia Corporation
*
* Written by Paul Walmsley
* Added OMAP4 specific support by Abhijit Pagare <abhijitpagare@ti.com>
* State counting code by Tero Kristo <tero.kristo@nokia.com>
*
* This program is fr... | DerArtem/android_kernel_dell_streak7 | arch/arm/mach-omap2/powerdomain.c | C | gpl-2.0 | 28,873 |
function loadedScript() {
return "externalScript1";
}
| nwjs/chromium.src | third_party/blink/web_tests/external/wpt/svg/linking/scripted/testScripts/externalScript1.js | JavaScript | bsd-3-clause | 56 |
<html>
<head>
<script type="text/javascript">var oldAlert = window.alert, gMess; window.alert = function(message) {gMess = message; return true;};</script>
<script type="text/javascript">window.alert = oldAlert;</script>
<script src="../OLLoader.js"></script>
<script type="text/javascript">
var isMozilla ... | bjohare/cloughjordan.ie | wp-content/themes/outreach-pro/api/OpenLayers-2.13.1/tests/Layer/ArcGIS93Rest.html | HTML | cc0-1.0 | 13,271 |
/*
* Copyright (C) 1995 Linus Torvalds
* Copyright (C) 2001, 2002 Andi Kleen, SuSE Labs.
* Copyright (C) 2008-2009, Red Hat Inc., Ingo Molnar
*/
#include <linux/magic.h> /* STACK_END_MAGIC */
#include <linux/sched.h> /* test_thread_flag(), ... */
#include <linux/kdebug.h> /* oops_begin/end, ... */
#include... | kv193/buildroot | linux/linux-kernel/arch/x86/mm/fault.c | C | gpl-2.0 | 29,531 |
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='stacked_layers_ref.html'>
<style>
.test { float: left; margin-right: 25px; }
.box { height: 50px; width: 50px; }
.gray { background: rgb(200, 200, 200); }
.grayer { background: rgb(80, 80, 80); }
... | akumar21NCSU/servo | tests/wpt/mozilla/tests/css/stacked_layers.html | HTML | mpl-2.0 | 4,673 |
/*
* Copyright (C) 2013 Square, 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 agre... | cdut007/PMS_TASK | third_party/okhttp-master/okhttp-tests/src/test/java/com/squareup/okhttp/internal/RecordingOkAuthenticator.java | Java | mit | 1,901 |
/**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 2008 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mhalcrow@us.ibm.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 pu... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/fs/ecryptfs/miscdev.c | C | gpl-2.0 | 16,067 |
require 'formula'
class Gplcver < Formula
desc "Pragmatic C Software GPL Cver 2001"
homepage 'http://gplcver.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/gplcver/gplcver/2.12a/gplcver-2.12a.src.tar.bz2'
sha1 '946bb35b6279646c6e10c309922ed17deb2aca8a'
def install
inreplace 'src/makefi... | stoshiya/homebrew | Library/Formula/gplcver.rb | Ruby | bsd-2-clause | 576 |
/**
* angular-strap
* @version v2.1.2 - 2014-10-19
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes (olivier@mg-crea.com)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.module('mgcrea.ngStrap.popover').run(['$templateCache', function($templateCach... | radhikabhanu/crowdsource-platform | staticfiles/bower_components/angular-strap/dist/modules/popover.tpl.js | JavaScript | mit | 553 |
module.exports = TapProducer
var Results = require("./tap-results")
, inherits = require("inherits")
, yamlish = require("yamlish")
TapProducer.encode = function (result, diag) {
var tp = new TapProducer(diag)
, out = ""
tp.on("data", function (c) { out += c })
if (Array.isArray(result)) {
result.fo... | joshdrink/app_swig | wp-content/themes/brew/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/lib/tap-producer.js | JavaScript | gpl-2.0 | 3,516 |
/*
* ROHM BD9571MWV-M regulator driver
*
* Copyright (C) 2017 Marek Vasut <marek.vasut+renesas@gmail.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 Foundation.
*
* This program is... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/drivers/regulator/bd9571mwv-regulator.c | C | gpl-2.0 | 5,031 |
// Code generated by protoc-gen-gogo.
// source: combos/unsafeboth/one.proto
// DO NOT EDIT!
/*
Package one is a generated protocol buffer package.
It is generated from these files:
combos/unsafeboth/one.proto
It has these top-level messages:
Subby
AllTypesOneOf
TwoOneofs
CustomOneof
*/
package one
imp... | kadel/kedge | vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/vendor/github.com/gogo/protobuf/test/oneof/combos/unsafeboth/one.pb.go | GO | apache-2.0 | 156,343 |
/*
* Copyright 2014 Red Hat Inc.
*
* 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, including without limitation
* the rights to use, copy, modify, merge, publish, d... | HinTak/linux | drivers/gpu/drm/nouveau/nvif/object.c | C | gpl-2.0 | 7,523 |
/*
* Copyright (C) 2008 Valentin Longchamp, EPFL Mobots group
*
* 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.
... | geminy/aidear | oss/linux/linux-4.7/arch/arm/mach-imx/mach-mx31moboard.c | C | gpl-3.0 | 16,520 |
/*
* arch/arm/mach-spear3xx/spear300.c
*
* SPEAr300 machine source file
*
* Copyright (C) 2009-2012 ST Microelectronics
* Viresh Kumar <vireshk@kernel.org>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any ki... | AiJiaZone/linux-4.0 | virt/arch/arm/mach-spear/spear300.c | C | gpl-2.0 | 4,524 |
# CONTRIBUTING GUIDELINES
Oh-My-Zsh is a community-driven project. Contribution is welcome, encouraged and appreciated.
It is also essential for the development of the project.
These guidelines are an attempt at better addressing the huge amount of pending
issues and pull requests. Please read them closely.
Foremost... | ccollins/dotfiles | zsh/oh-my-zsh.symlink/CONTRIBUTING.md | Markdown | mit | 4,914 |
/*
* cx18 Vertical Blank Interval support functions
*
* Derived from ivtv-vbi.c
*
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
*
* 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 Fou... | felixhaedicke/nst-kernel | src/drivers/media/video/cx18/cx18-vbi.c | C | gpl-2.0 | 5,995 |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.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 a... | UgoLouche/QPacman | src/includes/SFML/Graphics/RenderStates.hpp | C++ | gpl-3.0 | 6,538 |
/*
* EP93XX PATA controller driver.
*
* Copyright (c) 2012, Metasoft s.c.
* Rafal Prylowski <prylowski@metasoft.pl>
*
* Based on pata_scc.c, pata_icside.c and on earlier version of EP93XX
* PATA driver by Lennert Buytenhek and Alessandro Zummo.
* Read/Write timings, resource management and other improvements
*... | kv193/buildroot | linux/linux-kernel/drivers/ata/pata_ep93xx.c | C | gpl-2.0 | 29,622 |
/*
* linux/sound/soc.h -- ALSA SoC Layer
*
* Author: Liam Girdwood
* Created: Aug 11th 2005
* Copyright: Wolfson Microelectronics. PLC.
*
* 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... | systemdaemon/systemd | src/linux/include/sound/soc.h | C | gpl-2.0 | 52,148 |
obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-enc.o mtk-vcodec-common.o
mtk-vcodec-enc-y := venc/venc_vp8_if.o \
venc/venc_h264_if.o \
mtk_vcodec_enc.o \
mtk_vcodec_enc_drv.o \
mtk_vcodec_enc_pm.o \
venc_drv_if.o \
venc_vpu_if.o \
mtk-vcodec-common-y := mtk_vcodec_intr.o \
mtk_vcodec_util.o\
c... | sfumato77/Kernel-4.8_Android-x86_BayTrail | drivers/media/platform/mtk-vcodec/Makefile | Makefile | gpl-2.0 | 376 |
<?php
/**
* @package Joomla.Site
* @subpackage mod_related_items
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
// Include the syndicate functions only once
... | RCBiczok/ArticleRefs | src/test/lib/joomla/3_1_5/modules/mod_related_items/mod_related_items.php | PHP | gpl-3.0 | 921 |
/*
* Copyright (C) 2007 Oracle. 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 v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | felixhaedicke/nst-kernel | src/fs/btrfs/async-thread.h | C | gpl-2.0 | 3,309 |
// Copyright (c) 2010, 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 conditi... | norrs/debian-tomahawk | thirdparty/breakpad/client/mac/tests/exception_handler_test.cc | C++ | gpl-3.0 | 23,972 |
/*
* linux/sound/arm/aaci.c - ARM PrimeCell AACI PL041 driver
*
* Copyright (C) 2003 Deep Blue Solutions Ltd, 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 Founda... | felixhaedicke/nst-kernel | src/sound/arm/aaci.c | C | gpl-2.0 | 27,252 |
/*
* QLogic Fibre Channel HBA Driver
* Copyright (c) 2003-2014 QLogic Corporation
*
* See LICENSE.qla2xxx for copyright and licensing details.
*/
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include "qla_def.h"
#include "qla_gbl.h"
#include <linux/delay.h>
#define TIMEOUT_100_MS 100
/* 8044 Flash Rea... | dperezde/little-penguin | linux-eudyptula/drivers/scsi/qla2xxx/qla_nx2.c | C | gpl-2.0 | 109,734 |
// 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 "content/browser/system_message_window_win.h"
#include <dbt.h>
#include "base/logging.h"
#include "base/system_monitor/system_monitor.h"
#i... | plxaye/chromium | src/content/browser/system_message_window_win.cc | C++ | apache-2.0 | 5,414 |
// 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.
#ifndef CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_
#define CONTENT_PUBLIC_BROWSER_RENDER_WIDGET_HOST_VIEW_MAC_BASE_H_
// The Mac Rend... | thlorenz/debugium-take1 | src/content/public/browser/render_widget_host_view_mac_base.h | C | mit | 812 |
#ifndef __NET_CFG80211_H
#define __NET_CFG80211_H
#include <linux/netlink.h>
#include <linux/skbuff.h>
#include <linux/nl80211.h>
#include <net/genetlink.h>
/* remove once we remove the wext stuff */
#include <net/iw_handler.h>
/*
* 802.11 configuration in-kernel interface
*
* Copyright 2006, 2007 Johannes Berg <j... | MicroTrustRepos/microkernel | src/l4/pkg/dde/linux26/contrib/include/net/cfg80211.h | C | gpl-2.0 | 18,003 |
/*
* File: mhi_raw.c
*
* Copyright (C) 2011 Renesas Mobile Corporation. All rights reserved.
*
* Author: Petri Mattila <petri.to.mattila@renesasmobile.com>
*
* RAW socket implementation for MHI protocol family.
*
* It uses the MHI socket framework in mhi_socket.c
*
* This implementation is the most basic fra... | TeamBliss-Devices/android_kernel_nvidia_shieldtablet | net/mhi/mhi_raw.c | C | gpl-2.0 | 6,233 |
/*
* Copyright (C) 2011 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/Source/WebKit2/UIProcess/API/C/WKMediaCacheManager.cpp | C++ | gpl-3.0 | 2,241 |
// Copyright 2015 go-swagger maintainers
//
// 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 agr... | kgrygiel/autoscaler | vertical-pod-autoscaler/vendor/github.com/go-openapi/runtime/client_auth_info.go | GO | apache-2.0 | 1,188 |
/* $NetBSD: ccosf.c,v 1.1 2007/08/20 16:01:33 drochner Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software written by Stephen L. Moshier.
* It is redistributed by the NetBSD Foundation by permission of the author.
*
* Redistribution and use... | GarethNelson/Zoidberg | userland/newlib/newlib/libm/complex/ccosf.c | C | gpl-2.0 | 1,943 |
/**
* Resource drag and drop.
*
* @class M.course.dragdrop.resource
* @constructor
* @extends M.core.dragdrop
*/
var DRAGRESOURCE = function() {
DRAGRESOURCE.superclass.constructor.apply(this, arguments);
};
Y.extend(DRAGRESOURCE, M.core.dragdrop, {
initializer: function() {
// Set group for paren... | ernestovi/ups | moodle/mod/quiz/yui/src/dragdrop/js/resource.js | JavaScript | gpl-3.0 | 7,887 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_xml_xpath_ParenthesizedExpr__
#define __gnu_xml_xpath_ParenthesizedExpr__
#pragma interface
#include <gnu/xml/xpath/Expr.h>
extern "Java"
{
namespace gnu
{
namespace xml
{
namespace xpath
{
class Expr;
... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/gnu/xml/xpath/ParenthesizedExpr.h | C | gpl-2.0 | 1,231 |
// include/asm-arm/mach-omap/usb.h
#ifndef __ASM_ARCH_OMAP_USB_H
#define __ASM_ARCH_OMAP_USB_H
#include <linux/usb/musb.h>
#include <plat/board.h>
#define OMAP3_HS_USB_PORTS 3
enum usbhs_omap_port_mode {
OMAP_USBHS_PORT_MODE_UNUSED,
OMAP_EHCI_PORT_MODE_PHY,
OMAP_EHCI_PORT_MODE_TLL,
OMAP_EHCI_PORT_MODE_HSIC,
OM... | chaoling/test123 | linux-2.6.39/arch/arm/plat-omap/include/plat/usb.h | C | gpl-2.0 | 8,719 |
// 代码地址: https://github.com/CoderMJLee/MJRefresh
// 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000
// MJTestViewController.h
// MJRefreshExample
//
// Created by MJ Lee on 14-5-28.
// Copyright (c) 2014年 小码哥. All ri... | luanlzsn/pos | pos/Carthage/Checkouts/MJRefresh/MJRefreshExample/Classes/Second/MJTestViewController.h | C | mit | 659 |
// Heartbeat options:
// heartbeatInterval: interval to send pings, in milliseconds.
// heartbeatTimeout: timeout to close the connection if a reply isn't
// received, in milliseconds.
// sendPing: function to call to send a ping on the connection.
// onTimeout: function to call to close the connection.
DD... | lawrenceAIO/meteor | packages/ddp-common/heartbeat.js | JavaScript | mit | 3,044 |
#define NAME xor
#define OP(X,Y) ((X) ^ (Y))
#include "fop_n.c"
| selmentdev/selment-toolchain | source/gcc-latest/libatomic/fxor_n.c | C | gpl-3.0 | 64 |
/* ---------------------------------------------------------------------
*
* -- Automatically Tuned Linear Algebra Software (ATLAS)
* (C) Copyright 2000 All Rights Reserved
*
* -- ATLAS routine -- Version 3.2 -- December 25, 2000
*
* -- Suggestions, comments, bugs reports should be sent to the follo-
* ... | WangWenjun559/Weiss | summary/sumy/sklearn/src/cblas/atlas_reflvl2.h | C | apache-2.0 | 61,630 |
require('./angular-locale_nl-cw');
module.exports = 'ngLocale';
| DamascenoRafael/cos482-qualidade-de-software | www/src/main/webapp/bower_components/angular-i18n/nl-cw.js | JavaScript | mit | 64 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_plaf_basic_BasicTabbedPaneUI$NavigatePageUpAction__
#define __javax_swing_plaf_basic_BasicTabbedPaneUI$NavigatePageUpAction__
#pragma interface
#include <javax/swing/AbstractAction.h>
extern "Java"
{
namespace java
{
namesp... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/javax/swing/plaf/basic/BasicTabbedPaneUI$NavigatePageUpAction.h | C | gpl-2.0 | 962 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_plaf_metal_MetalBorders$Flush3DBorder__
#define __javax_swing_plaf_metal_MetalBorders$Flush3DBorder__
#pragma interface
#include <javax/swing/border/AbstractBorder.h>
extern "Java"
{
namespace java
{
namespace awt
{
... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/javax/swing/plaf/metal/MetalBorders$Flush3DBorder.h | C | gpl-2.0 | 1,180 |
require('./angular-locale_en-im');
module.exports = 'ngLocale';
| DamascenoRafael/cos482-qualidade-de-software | www/src/main/webapp/bower_components/angular-i18n/en-im.js | JavaScript | mit | 64 |
/* LowLevel function for ATMEL DataFlash support
* Author : Hamid Ikdoumi (Atmel)
*
* 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) a... | kbridgers/VOLTE4GFAX | uboot/u-boot-2010.06/drivers/mtd/dataflash.c | C | gpl-2.0 | 13,869 |
<?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... | hansbonini/cloud9-magento | www/lib/Zend/Tool/Framework/Loader/Interface.php | PHP | mit | 1,265 |
// 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.Diagnostics;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Assembly symbol referenced by a As... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Common/ReferenceManager/UnifiedAssembly.cs | C# | apache-2.0 | 1,310 |
<!doctype html>
<title>{% block title %}Welcome{% endblock %} | MiniTwit</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<div class="page">
<h1>MiniTwit</h1>
<div class="navigation">
{% if g.user %}
<a href="{{ url_for('timeline') }}">my timeline</a> |
... | zhao-ji/weibo | templates/layout.html | HTML | gpl-2.0 | 1,029 |
/******************************************************************************
*
* Module Name: tbfadt - FADT table utilities
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2013, Intel Corp.
* All rights reserved.
*
* Redistribution and use in sour... | ziqiaozhou/cachebar | source/drivers/acpi/acpica/tbfadt.c | C | gpl-2.0 | 22,265 |
// This depends on tinytest, so it's a little weird to put it in
// test-helpers, but it'll do for now.
// Provides the testAsyncMulti helper, which creates an async test
// (using Tinytest.addAsync) that tracks parallel and sequential
// asynchronous calls. Specifically, the two features it provides
// are:
// 1) Ex... | jrudio/meteor | packages/test-helpers/async_multi.js | JavaScript | mit | 5,209 |
<?php
namespace Drupal\Tests\devel\Kernel;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\KernelTests\KernelTestBase;
use Drupal\devel\Twig\Extension\Debug;
use Drupal\user\Entity\Role;
use Drupal\user\Entity\User;
/**
* Tests Twig extensions.
*
* @group devel
*/
class DevelTwigExtensionTest ex... | rekhajethani/d8.dev | web/modules/devel/tests/src/Kernel/DevelTwigExtensionTest.php | PHP | gpl-2.0 | 7,917 |
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2017 Facebook
*/
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <signal.h>
#include <linux/bpf.h>
#include <string.h>
#include <linux/perf_event.h>
#include <errno.h>
#include <assert.h>
#include <stdbool.h>
#include <sys... | c0d3z3r0/linux-rockchip | samples/bpf/syscall_tp_user.c | C | gpl-2.0 | 2,461 |
/* { dg-do compile } */
/* { dg-options "-mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single -O0" } */
/* { dg-skip-if "not an SPE target" { ! powerpc_spe_nocache } { "*" } { "" } } */
/* (Test with -O0 so we don't optimize any of them away). */
#include <spe.h>
/* Test PowerPC SPE extensions. */
#define vector __attr... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.target/powerpc/ppc-spe.c | C | gpl-2.0 | 19,548 |
/*
* Support for Intel Camera Imaging ISP subsystem.
*
* Copyright (c) 2010 - 2014 Intel 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.
*
... | shakalaca/ASUS_ZenFone_ZE550ML_ZE551ML | linux/modules/ipu/drivers/media/pci/css2600/lib2401/hive_isp_css_include/error_support.h | C | gpl-2.0 | 2,023 |
/*
* Updated: Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com>
*
* Support for enhanced MLS infrastructure.
*
* Copyright (C) 2004-2006 Trusted Computer Solutions, Inc.
*/
/*
* Updated: Hewlett-Packard <paul@paul-moore.com>
*
* Added support to import/export the MLS label from NetLabel
*
* (c) Copyr... | dsb9938/HTC_One_max | security/selinux/ss/mls.h | C | gpl-2.0 | 2,390 |
<?php
/**
* @file
* Contains \Drupal\Core\Field\Plugin\Field\FieldFormatter\NumericFormatterBase.
*/
namespace Drupal\Core\Field\Plugin\Field\FieldFormatter;
use Drupal\Core\Field\AllowedTagsXssTrait;
use Drupal\Core\Field\FormatterBase;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Form\FormState... | nrackleff/capstone | web/core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/NumericFormatterBase.php | PHP | gpl-2.0 | 3,132 |
/*
* Dummy soundcard
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
* 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)... | prasidh09/cse506 | unionfs-3.10.y/sound/drivers/dummy.c | C | gpl-2.0 | 32,891 |
/******************************************************************************
*
* Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
*
* 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 the Fr... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/drivers/net/wireless/iwlegacy/3945.c | C | gpl-2.0 | 76,646 |
/**
* drivers/usb/class/usbtmc.c - USB Test & Measurement class driver
*
* Copyright (C) 2007 Stefan Kopp, Gechingen, Germany
* Copyright (C) 2008 Novell, Inc.
* Copyright (C) 2008 Greg Kroah-Hartman <gregkh@suse.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms o... | WhiteBearSolutions/WBSAirback | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/usb/class/usbtmc.c | C | apache-2.0 | 27,563 |
/* Copyright (C) 2006-2016 B.A.T.M.A.N. contributors:
*
* Simon Wunderlich, Marek Lindner
*
* 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 the Free Software Foundation.
*
* This program is distributed ... | geminy/aidear | oss/linux/linux-4.7/net/batman-adv/hash.h | C | gpl-3.0 | 4,785 |
var assert = require('assert');
var Kareem = require('../');
describe('execPre', function() {
var hooks;
beforeEach(function() {
hooks = new Kareem();
});
it('handles errors with multiple pres', function(done) {
var execed = {};
hooks.pre('cook', function(done) {
execed.first = true;
... | ChrisChenSZ/code | 表单注册验证/node_modules/kareem/test/pre.test.js | JavaScript | apache-2.0 | 5,771 |
/*
Copyright 2014 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, ... | sspeiche/origin | vendor/k8s.io/kubernetes/federation/cmd/federation-controller-manager/controller-manager.go | GO | apache-2.0 | 1,328 |
/*
* IEEE754 floating point
* common internal header file
*/
/*
* MIPS floating point support
* Copyright (C) 1994-2000 Algorithmics Ltd.
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
* published by the Free Softw... | mericon/Xp_Kernel_LGH850 | virt/arch/mips/math-emu/ieee754int.h | C | gpl-2.0 | 3,668 |
/*
* Custom GPIO-based SPI driver
*
* Copyright (C) 2013 Marco Burato <zmaster.adsl@gmail.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 Foundation.
*
* Based on i2c-gpio-cu... | chaojin/openwrt | package/kernel/spi-gpio-custom/src/spi-gpio-custom.c | C | gpl-2.0 | 9,295 |
/*
* Wireless Host Controller: Radio Control Interface (WHCI v0.95[2.3])
* Radio Control command/event transport to the UWB stack
*
* Copyright (C) 2005-2006 Intel Corporation
* Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
*
* This program is free software; you can redistribute it and/or
* modify it un... | KOala888/GB_kernel | linux_kernel_galaxyplayer-master/drivers/uwb/whc-rc.c | C | gpl-2.0 | 13,514 |
/*
* linux/drivers/irqchip/irq-zevio.c
*
* Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
*
* 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/io.h... | mericon/Xp_Kernel_LGH850 | virt/drivers/irqchip/irq-zevio.c | C | gpl-2.0 | 3,398 |
/* 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... | diszell2008/A830 | arch/arm/mach-msm1/spm_driver.h | C | gpl-2.0 | 1,678 |
<?php
namespace Illuminate\Foundation\Console;
use Exception;
use Illuminate\Support\Collection;
use Illuminate\Foundation\Application;
use Illuminate\Database\Eloquent\Model;
use Symfony\Component\VarDumper\Caster\Caster;
class IlluminateCaster
{
/**
* Illuminate application methods to include in the prese... | gayathma/footballs | vendor/laravel/framework/src/Illuminate/Foundation/Console/IlluminateCaster.php | PHP | gpl-3.0 | 2,431 |
/*
* fs/f2fs/gc.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.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 Foundation.
*/
#include <lin... | MaxiCM/android_kernel_lge_msm8226 | fs/f2fs/gc.c | C | gpl-2.0 | 18,452 |
/**************************************************************************
*
* Copyright (C) 2000-2008, International Business Machines
* Corporation and others. All Rights Reserved.
*
***************************************************************************
* file name: pkgdata.c
* encoding: ANSI X3.4 (... | SanDisk-Open-Source/SSD_Dashboard | uefi/userspace/icu-4.8.1.1/source/tools/pkgdata/pkgtypes.c | C | gpl-2.0 | 6,802 |
/******************************************************************************
*
* Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
*
* 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 the Fr... | WhiteBearSolutions/WBSAirback | packages/wbsairback-kernel-image/wbsairback-kernel-image-3.2.43/drivers/net/wireless/iwlwifi/iwl-dev.h | C | apache-2.0 | 31,024 |