code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?php
/**
* @package Joomla.Site
* @subpackage com_newsfeeds
*
* @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;
/**
* HTML View class for the Newsfeeds componen... | RCBiczok/ArticleRefs | src/test/lib/joomla/3_1_5/components/com_newsfeeds/views/newsfeed/view.html.php | PHP | gpl-3.0 | 8,625 |
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | emk/rust | src/test/run-pass/compare-generic-enums.rs | Rust | apache-2.0 | 708 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Version ... | conder/sakai | message/message-api/api/src/java/org/sakaiproject/message/api/MessageHeader.java | Java | apache-2.0 | 4,259 |
cask 'midi-monitor' do
version '1.3.2'
sha256 '1b2f0a2e1892247c3a5c0c9fc48c682dfcbd4e15881a26eeaaf6026c7f61f24c'
url "https://www.snoize.com/MIDIMonitor/MIDIMonitor_#{version.dots_to_underscores}.zip"
appcast 'https://www.snoize.com/MIDIMonitor/MIDIMonitor.xml',
checkpoint: 'eb0ebc4edfa5274c5a051c775... | vitorgalvao/homebrew-cask | Casks/midi-monitor.rb | Ruby | bsd-2-clause | 978 |
---
layout: docs
title: Plugins
permalink: /docs/plugins/
---
Jekyll has a plugin system with hooks that allow you to create custom generated
content specific to your site. You can run custom code for your site without
having to modify the Jekyll source itself.
<div class="note info">
<h5>Plugins on GitHub Pages</h... | desidude03/jekyll | site/_docs/plugins.md | Markdown | mit | 41,890 |
// #docregion
import { Component } from '@angular/core';
import { DataService } from './data.service';
@Component({
selector: 'hero-di',
template: `<h1>Hero: {{name}}</h1>`
})
export class HeroComponent {
name = '';
constructor(dataService: DataService) {
this.name = dataService.getHeroName();
}
}
// #... | juleskremer/angular.io | public/docs/_examples/cb-ts-to-js/ts/src/app/hero-di.component.ts | TypeScript | mit | 333 |
#!/bin/zsh
# WARP
# ====
# oh-my-zsh plugin
#
# @github.com/mfaerevaag/wd
wd() {
. $ZSH/plugins/wd/wd.sh
}
| jjsanchez/oh-my-zsh | plugins/wd/wd.plugin.zsh | Shell | mit | 113 |
import css from './source.css';
__export__ = css;
export default css;
| webpack-contrib/css-loader | test/fixtures/postcss-present-env/source.js | JavaScript | mit | 72 |
require 'rails_helper'
require_dependency 'version'
describe Admin::VersionsController do
before do
Jobs::VersionCheck.any_instance.stubs(:execute).returns(true)
DiscourseUpdates.stubs(:updated_at).returns(2.hours.ago)
DiscourseUpdates.stubs(:latest_version).returns('1.2.33')
DiscourseUpdates.stubs(... | gsambrotta/discourse | spec/controllers/admin/versions_controller_spec.rb | Ruby | gpl-2.0 | 1,049 |
package fpinscala.testing.exhaustive
import language.implicitConversions
import language.postfixOps
/*
This source file contains the answers to the last two exercises in the section
"Test Case Minimization" of chapter 8 on property-based testing.
The Gen data type in this file incorporates exhaustive checking of fin... | stettix/fp-in-scala | src/main/scala/fpinscala/testing/Exhaustive.scala | Scala | apache-2.0 | 15,077 |
def f(x):
"""
Returns
-------
object
"""
return 42 | smmribeiro/intellij-community | python/testData/intentions/returnTypeInNewNumpyDocString_after.py | Python | apache-2.0 | 75 |
// errorcheck
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// issue 5358: incorrect error message when using f(g()) form on ... args.
package main
func f(x int, y ...int) {}
func g() (int, []int)
func... | vsekhar/elastic-go | test/fixedbugs/issue5358.go | GO | bsd-3-clause | 384 |
/*!
* Platform.js <http://mths.be/platform>
* Copyright 2010-2012 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
;(function(window) {
/** Backup possible window/global object */
var oldWin = window,
/** Possible global object */
thisBinding = this,
/... | wayne-lewis/baiducdnstatic | libs/platform/0.4.0/platform.js | JavaScript | mit | 29,104 |
'use strict';
module.exports = function (t, a) {
var x;
a.throws(function () { t(0); }, TypeError, "0");
a.throws(function () { t(false); }, TypeError, "false");
a.throws(function () { t(''); }, TypeError, "''");
a(t(x = {}), x, "Object");
a(t(x = function () {}), x, "Function");
a(t(x = new String('raz')), x, ... | yuyang545262477/Resume | 项目二电商首页/node_modules/es5-ext/test/object/valid-object.js | JavaScript | mit | 506 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Definitions for the IP router.
*
* Version: @(#)route.h 1.0.4 05/27/93
*
* Authors: Ross Biro
* Fred N.... | Khaon/android_kernel_samsung_a3xelte | include/net/route.h | C | gpl-2.0 | 9,365 |
#ifndef _NM256_H_
#define _NM256_H_
#include <linux/spinlock.h>
#include <linux/interrupt.h>
#include "ac97.h"
/* The revisions that we currently handle. */
enum nm256rev {
REV_NM256AV, REV_NM256ZX
};
/* Per-card structure. */
struct nm256_info
{
/* Magic number used to verify that this struct is valid. *... | JulianKemmerer/Drexel-CS370 | sound/oss/nm256.h | C | gpl-2.0 | 7,789 |
Kodi is provided under
SPDX-License-Identifier: GPL-2.0-or-later
Being under the terms of the GNU General Public License v2.0 or later, according with
LICENSES/GPL-2.0-or-later
In addition, other licenses may also apply. Please see
LICENSES/README.md
for more details.
| anthonyryan1/xbmc | LICENSE.md | Markdown | gpl-2.0 | 290 |
/*
* Configuation settings for the Freescale MCF54455 EVB board.
*
* Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
... | InternetBowser/plutos | u-boot-s805/include/configs/M54455EVB.h | C | gpl-2.0 | 15,019 |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | mayurid/azure-powershell | src/ServiceManagement/Sql/Commands.SqlDatabase.Test/UnitTests/Database/Cmdlet/SqlAuthv12MockTests.cs | C# | apache-2.0 | 14,978 |
/* Copyright 2017 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... | nburn42/tensorflow | tensorflow/java/src/main/java/org/tensorflow/op/annotation/Operator.java | Java | apache-2.0 | 3,654 |
<?php
PHPExcel_Autoloader::register();
// As we always try to run the autoloader before anything else, we can use it to do a few
// simple checks and initialisations
//PHPExcel_Shared_ZipStreamWrapper::register();
// check mbstring.func_overload
if (ini_get('mbstring.func_overload') & 2) {
throw new PHPE... | yysun2000/delibelight | yc/lib/PHPExcel/Autoloader.php | PHP | mit | 2,884 |
// 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 Xunit;
namespace System.Numerics.Tests
{
public class op_leftshiftTest
{
private static int s... | DnlHarvey/corefx | src/System.Runtime.Numerics/tests/BigInteger/op_leftshift.cs | C# | mit | 8,031 |
<?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\Form\Guess;
/**
* Base class for guesses made by Typ... | winze/CMS-experience | vendor/symfony/src/Symfony/Component/Form/Guess/Guess.php | PHP | mit | 2,752 |
/*
* Driver O/S-independent utility routines
*
* Copyright (C) 1999-2016, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (... | Fevax/exynos8890_stock | drivers/net/wireless/bcmdhd4359/bcmutils.c | C | gpl-2.0 | 90,245 |
<!--
@license
Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicab... | wangyum/tensorflow | tensorflow/tensorboard/components/tf_imports_d3v4/d3.html | HTML | apache-2.0 | 634 |
/* HORIZONTAL */
/* increase bottom margin to fit the pips */
.ui-slider-horizontal.ui-slider-pips {
margin-bottom: 1.4em;
}
/* default hide the labels and pips that arnt visible */
/* we just use css to hide incase we want to show certain */
/* labels/pips individually la... | Kangaroos/hystore | vendors/dashboard/js/plugins/jQuery-ui-Slider-Pips/jquery-ui-slider-pips.css | CSS | mit | 11,416 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* QLogic iSCSI Offload Driver
* Copyright (c) 2016 Cavium Inc.
*/
#include "qedi.h"
#include "qedi_dbg.h"
#include <linux/uaccess.h>
#include <linux/debugfs.h>
#include <linux/module.h>
int qedi_do_not_recover;
static struct dentry *qedi_dbg_root;
void
qedi_dbg_host_in... | CSE3320/kernel-code | linux-5.8/drivers/scsi/qedi/qedi_debugfs.c | C | gpl-2.0 | 5,629 |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Audio Codec driver supporting:
* AD1835A, AD1836, AD1837A, AD1838A, AD1839A
*
* Copyright 2009-2011 Analog Devices Inc.
*/
#ifndef __AD1836_H__
#define __AD1836_H__
#define AD1836_DAC_CTRL1 0
#define AD1836_DAC_POWERDOWN 2
#define AD18... | Naoya-Horiguchi/linux | sound/soc/codecs/ad1836.h | C | gpl-2.0 | 1,498 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Stereo and SAP detection for cx88
*
* Copyright (c) 2009 Marton Balint <cus@fazekas.hu>
*/
#include "cx88.h"
#include "cx88-reg.h"
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <asm/div64.h>
#def... | CSE3320/kernel-code | linux-5.8/drivers/media/pci/cx88/cx88-dsp.c | C | gpl-2.0 | 8,319 |
// Boost.TypeErasure library
//
// Copyright 2011 Steven Watanabe
//
// Distributed under the Boost Software License Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// $Id$
#if !defined(BOOST_PP_IS_ITERATING)
#ifndef BOOST_TYPE_ERASURE_CALLABLE_HPP_INCLUDE... | rkq/cxxexp | third-party/src/boost_1_56_0/boost/type_erasure/callable.hpp | C++ | mit | 13,033 |
# cs.???? = currentstate, any variable on the status tab in the planner can be used.
# Script = options are
# Script.Sleep(ms)
# Script.ChangeParam(name,value)
# Script.GetParam(name)
# Script.ChangeMode(mode) - same as displayed in mode setup screen 'AUTO'
# Script.WaitFor(string,timeout)
# Script.SendRC(chan... | vizual54/MissionPlanner | Scripts/example1.py | Python | gpl-3.0 | 1,491 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | marktriggs/nyu-sakai-10.4 | providers/jldap/src/java/edu/amc/sakai/user/LdapConnectionLivenessValidator.java | Java | apache-2.0 | 1,307 |
/*
* 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... | mikedlowis-prototypes/albase | source/kernel/arch/arm/kvm/mmio.c | C | bsd-2-clause | 5,166 |
// 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.
cr.define('cr.ui', function() {
// require cr.ui.define
// require cr.ui.limitInputWidth
/**
* The number of pixels to indent per level.
... | aospx-kitkat/platform_external_chromium_org | ui/webui/resources/js/cr/ui/tree.js | JavaScript | bsd-3-clause | 18,164 |
<!DOCTYPE html>
<html>
<head>
<title>Inline text in the top element</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../test.js"></script>
<style>
span {
color:blue;
}
p {
b... | robnightingale/ore-dashboard-beta | vendors/html2canvas/tests/cases/child-textnodes.html | HTML | mit | 584 |
/**
* @license Highcharts JS v4.2.2 (2016-02-04)
*
* (c) 2014 Highsoft AS
* Authors: Jon Arild Nygard / Oystein Moseng
*
* License: www.highcharts.com/license
*/
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function ... | morsaken/webim-cms | views/backend/default/layouts/js/plugins/highcharts/modules/treemap.src.js | JavaScript | mit | 24,507 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers OSM and Google E... | jcuanm/Japan-Digital-Archive | web/js/lib/OpenLayers-2.12/examples/osm-google.html | HTML | mit | 1,464 |
/*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... | divyang4481/bclcontrib-scriptsharp | ref.neo/game/Misc.h | C | mit | 17,283 |
#include <linux/hw_breakpoint.h>
#include "util.h"
#include "../perf.h"
#include "evlist.h"
#include "evsel.h"
#include "parse-options.h"
#include "parse-events.h"
#include "exec_cmd.h"
#include "string.h"
#include "symbol.h"
#include "cache.h"
#include "header.h"
#include "debugfs.h"
#include "parse-events-bison.h"
#d... | aps243/kernel-imx | tools/perf/util/parse-events.c | C | gpl-2.0 | 28,075 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved.
*/
#include <linux/device.h>
#include <linux/interrupt.h>
#include <crypto/internal/hash.h>
#include "common.h"
#include "core.h"
#include "sha.h"
/* crypto hw padding constant for first operation */
#... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/crypto/qce/sha.c | C | gpl-2.0 | 14,645 |
/*
* 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... | corochoone/elasticsearch | src/test/java/org/elasticsearch/stresstest/indexing/BulkIndexingStressTest.java | Java | apache-2.0 | 2,807 |
/*!
* inferno-router v0.7.14
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoRouter = f... | dlueth/cdnjs | ajax/libs/inferno/0.7.14/inferno-router.js | JavaScript | mit | 18,182 |
# Requiring test environment file
require 'spec_helper'
# Requiring test subject file
require_relative File.join(APP_CONTROLLERS, "static")
# Test cases
describe 'Routing for root' do
it "has ok response when get '/' is called." do
get '/'
expect(last_response).to be_ok
end
end | hollowaykeanho/airbnb-accessment | spec/static_spec.rb | Ruby | mit | 286 |
/*
Copyright (C) 2010 Willow Garage <http://www.willowgarage.com>
Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com>
<http://rt2x00.serialmonkey.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Softwar... | Isopod/linux | drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | C | gpl-2.0 | 23,035 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* DMA Engine test module
*
* Copyright (C) 2007 Atmel Corporation
* Copyright (C) 2013 Intel Corporation
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/freezer.h>
#inclu... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/dma/dmatest.c | C | gpl-2.0 | 34,898 |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example104-jquery</title>
<script src="../../components/jquery-2.1.1/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="orderByExample">
<d... | keithbox/PPSP-360_Degree_Evaluation_System | web_root/third-party/angularjs/angular-1.5.0/docs/examples/example-example104/index-jquery.html | HTML | gpl-3.0 | 661 |
/* Copyright 2017 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... | npuichigo/ttsflow | third_party/tensorflow/tensorflow/core/grappler/clusters/utils.cc | C++ | apache-2.0 | 4,151 |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* ioport.h Definitions of routines for detecting, reserving and
* allocating system resources.
*
* Authors: Linus Torvalds
*/
#ifndef _LINUX_IOPORT_H
#define _LINUX_IOPORT_H
#ifndef __ASSEMBLY__
#include <linux/compiler.h>
#include <linux/types.h>
#include <linux/bits.h... | CSE3320/kernel-code | linux-5.8/include/linux/ioport.h | C | gpl-2.0 | 11,581 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Russell King
*/
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/module.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_ioctl.h>
#includ... | CSE3320/kernel-code | linux-5.8/drivers/gpu/drm/armada/armada_drv.c | C | gpl-2.0 | 7,766 |
/* 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/. */
#![cfg(test)]
extern crate servo_config;
mod opts;
mod prefs;
| shinglyu/servo | tests/unit/servo_config/lib.rs | Rust | mpl-2.0 | 270 |
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: no... | xplico/CapAnalysis | www/app/webroot/css/jquery-ui-timepicker-addon.css | CSS | gpl-2.0 | 349 |
<?php
/**
* @file
* Contains \Drupal\filter\FilterProcessResult.
*/
namespace Drupal\filter;
use Drupal\Component\Utility\Html;
use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\Render\BubbleableMetadata;
use Drupal\Core\Template\Attribute;
/**
* Used to return values from a text filter plugin's processin... | komejo/d8demo-dev | web/core/modules/filter/src/FilterProcessResult.php | PHP | mit | 4,448 |
/*
* Linux-DVB Driver for DiBcom's DiB9000 and demodulator-family.
*
* Copyright (C) 2005-10 DiBcom (http://www.dibcom.fr/)
*
* 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, version 2.
*... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/drivers/media/dvb-frontends/dib9000.c | C | gpl-2.0 | 72,259 |
/**
* React Starter Kit (http://www.reactstarterkit.com/)
*
* Copyright © 2014-2015 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import path from 'path';
import cp from 'child_process';
/... | SFDevLabs/react-starter-kit | tools/serve.js | JavaScript | mit | 825 |
<!DOCTYPE html>
<title>Reference for WebVTT rendering, one line cue and cue that wraps - both should be fully visible</title>
<style>
html { overflow:hidden }
body { margin:0 }
.video {
display: inline-block;
width: 320px;
height: 180px;
position: relative;
font-size: 9px;
}
.cue {
position: abs... | totallybradical/temp_servo2 | tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/one_line_cue_plus_wrapped_cue-ref.html | HTML | mpl-2.0 | 660 |
// Copyright 2004-2009 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 ... | priaonehaha/omaha | base/system_info.h | C | apache-2.0 | 3,921 |
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | seanrivera/rust | src/test/run-pass/issue-11612.rs | Rust | apache-2.0 | 869 |
/*
* Copyright 2013 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 to... | davidmrtz/TrackingApp | myMapa/library/src/com/google/maps/android/MathUtil.java | Java | apache-2.0 | 3,305 |
/**
* Copyright (c) 2010-2015, openHAB.org and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | cyclingengineer/UpnpHomeAutomationBridge | src/org/openhab/binding/maxcube/internal/exceptions/IncorrectMultilineIndexException.java | Java | epl-1.0 | 737 |
/*
FUNCTION
<<strcasestr>>---case-insensitive character string search
INDEX
strcasestr
ANSI_SYNOPSIS
#include <string.h>
char *strcasestr(const char *<[s]>, const char *<[find]>);
TRAD_SYNOPSIS
#include <string.h>
int strcasecmp(<[s]>, <[find]>)
char *<[s]>;
char *<[find]>;
DESCRIPTION
<<strcasestr>> searc... | GarethNelson/Zoidberg | userland/newlib/newlib/libc/string/strcasestr.c | C | gpl-2.0 | 4,975 |
// Copyright John Maddock 2007.
// Copyright Paul A. Bristow 2010.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Note that this file contains quickbook mark-up as well a... | NixaSoftware/CVis | venv/bin/libs/math/example/policy_ref_snip7.cpp | C++ | apache-2.0 | 1,412 |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek 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 ... | francescosganga/remixos-kernel | drivers/staging/rtl8812au/include/rtl8188e_recv.h | C | gpl-2.0 | 3,225 |
/**
* 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... | tseen/Federated-HDFS | tseenliu/FedHDFS-hadoop-src/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/BlockReaderUtil.java | Java | apache-2.0 | 1,761 |
require File.expand_path('../../../spec_helper', __FILE__)
require 'bigdecimal'
describe "BigDecimal#remainder" do
before(:each) do
@zero = BigDecimal("0")
@one = BigDecimal("0")
@mixed = BigDecimal("1.23456789")
@pos_int = BigDecimal("2E5555")
@neg_int = BigDecimal("-2E5555")
@pos_frac = Bi... | takano32/rubinius | spec/ruby/library/bigdecimal/remainder_spec.rb | Ruby | bsd-3-clause | 3,111 |
/*
Project: angular-gantt v1.2.8 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: https://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
/* global ResizeSensor: false */
/* global ElementQueries: false */
... | GuilhouT/angular-gantt | dist/angular-gantt-resizeSensor-plugin.js | JavaScript | mit | 2,694 |
/*
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 law or agreed to in ... | dgrif/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Nodes/Module/CModuleNode.java | Java | apache-2.0 | 8,652 |
// SPDX-License-Identifier: GPL-2.0
/*
* camss-csiphy-2ph-1-0.c
*
* Qualcomm MSM Camera Subsystem - CSIPHY Module 2phase v1.0
*
* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
* Copyright (C) 2016-2018 Linaro Ltd.
*/
#include "camss-csiphy.h"
#include <linux/delay.h>
#include <linux/inter... | HinTak/linux | drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c | C | gpl-2.0 | 4,783 |
/* Copyright (c) 2008-2010, 2012 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 i... | Jarbu12/Xperia-M-Kernel | kernel/drivers/video/msm/mddi_sharp.c | C | gpl-3.0 | 25,454 |
/*
AngularJS v1.6.2
(c) 2010-2017 Google, Inc. http://angularjs.org
License: MIT
*/
(function(x,n){'use strict';function s(f,k){var e=!1,a=!1;this.ngClickOverrideEnabled=function(b){return n.isDefined(b)?(b&&!a&&(a=!0,t.$$moduleName="ngTouch",k.directive("ngClick",t),f.decorator("ngClickDirective",["$delegate",funct... | carlosgonzg/intermapa | public/libraries/angular-touch/angular-touch.min.js | JavaScript | mit | 4,041 |
// 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.
#ifndef CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_
#define CHROME_BROWSER_SYNC_GLUE_PREFERENCE_CHANGE_PROCESSOR_H_
#pragma once
#include... | xdajog/samsung_sources_i927 | external/chromium/chrome/browser/sync/glue/preference_change_processor.h | C | gpl-2.0 | 2,496 |
package daemon
import (
"errors"
"io"
"os"
"path/filepath"
"strings"
"github.com/docker/docker/builder"
"github.com/docker/docker/container"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/chrootarchive"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/ioutils"
"gi... | albamc/gorb | vendor/github.com/docker/docker/daemon/archive.go | GO | lgpl-3.0 | 13,485 |
cask 'dsp-radio' do
version '1.4.1'
sha256 'b04ff63d41a47923455499340e32706df83a184c54c590d70191072b8fdbbbc9'
url "https://dl2sdr.homepage.t-online.de/files/DSP_Radio_#{version.delete('.')}.zip"
name 'DSP Radio'
homepage 'https://dl2sdr.homepage.t-online.de/'
license :gratis
app "DSP Radio #{version}.ap... | JosephViolago/homebrew-cask | Casks/dsp-radio.rb | Ruby | bsd-2-clause | 327 |
/*
* Copyright (C) 2012 Avionic Design GmbH
* Copyright (C) 2012-2013 NVIDIA 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.
*/
#include <l... | ziqiaozhou/cachebar | source/drivers/gpu/drm/tegra/drm.c | C | gpl-2.0 | 17,587 |
/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License ... | voku/external-alsa-lib | src/compat/hsearch_r.c | C | lgpl-2.1 | 6,640 |
/*
* Copyright 2000-2015 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... | idea4bsd/idea4bsd | platform/testFramework/src/com/intellij/mock/MockPsiFile.java | Java | apache-2.0 | 8,673 |
#miniTip,#miniTip_a{position:absolute;top:0;left:0}#miniTip{background-color:#262626;max-width:250px;color:#fff;display:none;border-radius:3;opacity:.95;border:4px solid #000}#miniTip .bottom,#miniTip .top{border-left:8px solid transparent;border-right:8px solid transparent}#miniTip_a{width:0;height:0}#miniTip .top{bor... | dc-js/cdnjs | ajax/libs/miniTip/0.3/miniTip.min.css | CSS | mit | 721 |
/*******************************************************************************
*
* Copyright (c) 2015-2016 Intel Corporation. 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) Ve... | bas-t/linux_media | drivers/infiniband/hw/i40iw/i40iw_virtchnl.c | C | gpl-2.0 | 26,514 |
/*
This file is part of libmicrohttpd
(C) 2007, 2008 Christian Grothoff
libmicrohttpd 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, or (at your
option) any later ... | izenecloud/icma | source/libmicrohttpd/src/testzzuf/daemontest_post.c | C | apache-2.0 | 10,485 |
// Type definitions for lodash-webpack-plugin 0.11
// Project: https://github.com/lodash/lodash-webpack-plugin#readme
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { Plugin } from 'webpack';
export =... | borisyankov/DefinitelyTyped | types/lodash-webpack-plugin/index.d.ts | TypeScript | mit | 913 |
/*
* drivers/media/video/exynos/hevc/hevc_opr.c
*
* Samsung HEVC driver
* This file contains hw related functions.
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
e This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub... | Galaxy-Tab-S2/android_kernel_samsung_gts28wifi | drivers/media/platform/exynos/hevc/hevc_opr.c | C | gpl-2.0 | 29,287 |
/*
* 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... | asedunov/intellij-community | xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlMarkupDeclImpl.java | Java | apache-2.0 | 1,100 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | saqsun/libgdx | extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/btConvexHullComputer.java | Java | apache-2.0 | 5,913 |
/**
* 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... | YMartsynkevych/camel | components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/CreateOperation.java | Java | apache-2.0 | 2,550 |
/*
* Copyright 2005 Sascha Weinreuter
*
* 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... | clumsy/intellij-community | plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/XPath2Language.java | Java | apache-2.0 | 1,943 |
// 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 "tools/json_schema_compiler/test/simple_api.h"
#include "testing/gtest/include/gtest/gtest.h"
using namespace test::api::simple_api;
names... | CTSRD-SOAAP/chromium-42.0.2311.135 | tools/json_schema_compiler/test/simple_api_unittest.cc | C++ | bsd-3-clause | 6,511 |
// Copyright 2014 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
package internal
// This file implements a network dialer that limits the number of concurrent connections.
// It is only used for API calls.
import (
"log"
... | ae6rt/decap | web/vendor/google.golang.org/appengine/internal/net.go | GO | mit | 1,236 |
/// <reference path="denodeify.d.ts" />
/// <reference path="../node/node.d.ts" />
import denodeify = require("denodeify");
import fs = require('fs');
import cp = require('child_process');
const readFile = denodeify<string,string,string>(fs.readFile);
const exec = denodeify<string,string>(cp.exec, (err, stdout, stder... | Pro/DefinitelyTyped | denodeify/denodeify-tests.ts | TypeScript | mit | 342 |
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-require-effective-target fpic } */
/* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
/* { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } { "*" } { "" } } */
/* { dg-options "-O2 -fomit-frame-pointer -march=atom -fPIC" } *... | selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gcc.target/i386/pad-4.c | C | gpl-3.0 | 490 |
package graph
import (
"strings"
"github.com/docker/docker/engine"
"github.com/docker/docker/image"
)
func (s *TagStore) CmdViz(job *engine.Job) engine.Status {
images, _ := s.graph.Map()
if images == nil {
return engine.StatusOK
}
job.Stdout.Write([]byte("digraph docker {\n"))
var (
parentImage *image.... | openshift/dockerexec | vendor/src/github.com/docker/docker/graph/viz.go | GO | apache-2.0 | 1,016 |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "PathOpsExtendedTest.h"
#include "PathOpsThreadedCommon.h"
static void testOpCubicsMain(PathOpsThreadState* data) {
#if DEBUG_SHOW_TEST_NAME
strncpy(DEBUG_FILENAM... | ench0/external_skia | tests/PathOpsOpCubicThreadedTest.cpp | C++ | bsd-3-clause | 3,732 |
.foo > .bar, .foo > .bip + .baz {
a: b; }
| studiochakra/teamlinkmuaythai.com | wp-content/themes/symetrio-theme/node_modules/gulp-sass/node_modules/node-sass/test/fixtures/spec/spec/extend-tests/125_test_nested_extender_with_early_child_selector/expected_output.css | CSS | gpl-2.0 | 44 |
import * as angular from 'angular';
angular
.module('app', ['ngDesktopNotification'])
.config(['desktopNotificationProvider', (desktopNotificationProvider: angular.desktopNotification.IDesktopNotificationProvider) => {
desktopNotificationProvider.config({
autoClose: true,
durati... | borisyankov/DefinitelyTyped | types/angular-desktop-notification/angular-desktop-notification-tests.ts | TypeScript | mit | 1,560 |
/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
*
* Modifications for inclusion into the Linux staging tree are
* Copyright(c) 2010 Larry Finger. All rights reserved.
*
* ... | cminyard/linux-live-app-coredump | drivers/staging/rtl8712/sta_info.h | C | gpl-2.0 | 3,642 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | cherrishes/weilai | xingxing/protobuf/python/lib/Python3.4/google/protobuf/pyext/descriptor.cc | C++ | apache-2.0 | 13,106 |
/**
* 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... | shakamunyi/hadoop-20 | src/test/org/apache/hadoop/mapred/ReliabilityTest.java | Java | apache-2.0 | 18,910 |
a enum; | Jazzling/jazzle-parser | test/test-esprima/fixtures/invalid-syntax/migrated_0115.js | JavaScript | mit | 7 |
// 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 Xunit;
using SortedDictionaryTests.SortedDictionary_SortedDictionary_KeyCollection;
usin... | Frank125/corefx | src/System.Collections/tests/Generic/SortedDictionary/SortedDictionary_KeyCollection.cs | C# | mit | 18,964 |
<?php
// This file is part of Moodle - https://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... | michael-milette/moodle | install/lang/tl/error.php | PHP | gpl-3.0 | 2,237 |
/* PR target/8340 */
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-require-effective-target fpic } */
/* { dg-skip-if "No Windows PIC" { *-*-mingw* *-*-cygwin } { "*" } { "" } } */
/* { dg-options "-fPIC" } */
/* Test verifies that %ebx is no longer fixed when generating PIC code on i686. ... | selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gcc.target/i386/pic-1.c | C | gpl-3.0 | 483 |
<!doctype html>
<html>
<head>
<title>Analytics sample app</title>
</head>
<body>
<div>
<button id="chocolate">Chocolate</button>
<button id="vanilla">Vanilla</button>
<div id=out></div>
</div>
<div id="settings">
<h1>Settings</h1>
<div id="settings-loading">
... | Jabqooo/chrome-app-samples | samples/analytics/main.html | HTML | apache-2.0 | 647 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.