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 |
|---|---|---|---|---|---|
/*
Highcharts JS v5.0.13 (2017-07-27)
(c) 2009-2017 Highsoft AS
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?module.exports=a:a(Highcharts)})(function(a){a.theme={colors:["#FDD089","#FF7F79","#A0446E","#251535"],colorAxis:{maxColor:"#60042E",minColor:"#FDD089"},plotO... | ChrisCioffi/ChrisCioffi.github.io | portfolio/Highcharts-5.0.13/code/themes/sunset.js | JavaScript | mit | 438 |
/*! lazysizes - v1.2.3-rc1 */
!function(a){"use strict";var b,c,d,e;a.addEventListener&&(b=a.lazySizes&&lazySizes.cfg||a.lazySizesConfig||{},c=b.lazyClass||"lazyload",d=function(){var b,d;if("string"==typeof c&&(c=document.getElementsByClassName(c)),a.lazySizes)for(b=0,d=c.length;d>b;b++)lazySizes.loader.unveil(c[b])},... | ristoman/lazysizes | plugins/print/ls.print.min.js | JavaScript | mit | 487 |
/**
@file PhysicsFrame.cpp
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2002-07-09
@edited 2006-01-25
*/
#include "G3D/platform.h"
#include "G3D/PhysicsFrame.h"
#include "G3D/BinaryInput.h"
#include "G3D/BinaryOutput.h"
namespace G3D {
PhysicsFrame::PhysicsFrame() {
translation = ... | AsherBond/MondocosmOS | mangos/dep/src/g3dlite/PhysicsFrame.cpp | C++ | agpl-3.0 | 1,542 |
/*
HISTORY
02-Aug-10 L-05-28 $$1 pdeshmuk Created.
*/
function deleteItemsInSimpRep ()
{
if (!pfcIsWindows())
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
/*--------------------------------------------------------------------*\
Get the current assembly
\*... | 2014c2g12/c2g12 | wsgi/wsgi/static/weblink/examples/jscript/pfcSimpRepExamples.js | JavaScript | gpl-2.0 | 4,660 |
/**
* A date picker component which shows a Date Picker on the screen. This class extends from {@link Ext.picker.Picker}
* and {@link Ext.Sheet} so it is a popup.
*
* This component has no required configurations.
*
* ## Examples
*
* @example miniphone preview
* var datePicker = Ext.create('Ext.picker.... | appcodechile/Rockola | webapp/touch/src/picker/Date.js | JavaScript | mit | 12,879 |
function acosh (arg) {
// http://kevin.vanzonneveld.net
// + original by: Onno Marsman
// * example 1: acosh(8723321.4);
// * returns 1: 16.674657798418625
return Math.log(arg + Math.sqrt(arg * arg - 1));
}
| montanaflynn/phpjs | functions/math/acosh.js | JavaScript | mit | 227 |
// @target: ES3
// @sourcemap: true
interface I {}
var x = 0; | progre/TypeScript | tests/cases/compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts | TypeScript | apache-2.0 | 66 |
#!/bin/bash
# This script:
# - assumes there are 2 network interfaces connected to $PUBLIC_SUBNET and $PRIVATE_SUBNET respectively
# - finds IP addresses from those interfaces using `ip` command
# - exports the IPs as variables
function getIpForSubnet {
if [ -z $1 ]; then
echo Subnet parameter undefined
... | thomasdarimont/keycloak | testsuite/performance/load-balancer/wildfly-modcluster/src/main/scripts/get-ips.sh | Shell | apache-2.0 | 934 |
package opts
import (
"fmt"
"testing"
)
func TestParseHost(t *testing.T) {
invalid := []string{
"anything",
"something with spaces",
"://",
"unknown://",
"tcp://:port",
"tcp://invalid",
"tcp://invalid:port",
}
valid := map[string]string{
"": DefaultHost,
" ": ... | BradErz/kops | vendor/github.com/docker/docker/opts/hosts_test.go | GO | apache-2.0 | 7,120 |
/*
* Copyright 2009 Jerome Glisse.
* 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 rights to use, copy,... | NooNameR/k3_bravo | drivers3/gpu2/drm/radeon/radeon_ttm.c | C | gpl-2.0 | 22,598 |
/**
* 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... | mohanaraosv/camel | camel-core/src/test/java/org/apache/camel/processor/RedeliveryOnExceptionBlockedDelayTest.java | Java | apache-2.0 | 3,369 |
/*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('router', function (Y, NAME) {
/**
Provides URL-based routing using HTML5 `pushState()` or the location hash.
@module app
@submodule router
@since 3.4.0
**/
var His... | vousk/jsdelivr | files/yui/3.16.0/router/router.js | JavaScript | mit | 59,499 |
## 2015-04-28 - Version 5.2.0
###Summary
This release adds several new features for expanded configuration, support for SSL Ciphers, several bugfixes, and improved tests.
####Features
- New parameters to class `rabbitmq`
- `ssl_ciphers`
- New parameters to class `rabbitmq::config`
- `interface`
- `ssl_interface`... | GodOfConquest/LoopAnime-Website | vagrant/puphpet/puppet/modules/rabbitmq/CHANGELOG.md | Markdown | mit | 9,444 |
/*
* Copyright 2011 Freescale Semiconductor, Inc.
* Copyright 2011 Linaro Ltd.
*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-lic... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/arch/arm/mach-imx/lluart.c | C | gpl-2.0 | 1,321 |
/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... | dinubalti/FirstSymfony | web/public/js/lib/ext-3.4.1/src/locale/ext-lang-sk.js | JavaScript | mit | 5,418 |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* ATI Frame Buffer Device Driver Core Definitions
*/
#include <linux/spinlock.h>
#include <linux/wait.h>
/*
* Elements of the hardware specific atyfb_par structure
*/
struct crtc {
u32 vxres;
u32 vyres;
u32 xoffset;
u32 yoffset;
u32 bpp;
u32 h_tot_disp... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.14/drivers/video/fbdev/aty/atyfb.h | C | gpl-2.0 | 8,971 |
// 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.
namespace System.Drawing.Drawing2D
{
public enum SmoothingMode
{
Invalid = QualityMode.Invalid,
... | rubo/corefx | src/System.Drawing.Common/src/System/Drawing/Drawing2D/SmoothingMode.cs | C# | mit | 472 |
// 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.
namespace System.Drawing.Drawing2D
{
public enum InterpolationMode
{
Invalid = QualityMode.Invalid,
... | nbarbettini/corefx | src/System.Drawing.Common/src/System/Drawing/Drawing2D/InterpolationMode.cs | C# | mit | 547 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | reskit/moodle | privacy/classes/local/request/approved_userlist.php | PHP | gpl-3.0 | 2,170 |
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyrig... | jones139/hdms | lib/Cake/View/Helper.php | PHP | gpl-3.0 | 28,454 |
#*********************************************************
#
# Copyright (c) Microsoft. All rights reserved.
# This code is licensed under the MIT License (MIT).
# This code is licensed under the MIT License (MIT).
# THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
# ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
... | oldnewthing/Windows-universal-samples | archived/StreamSocket/js/server/setupserver.ps1 | PowerShell | mit | 3,268 |
// (C) Copyright Edward Diener 2015
// 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).
#if !defined(BOOST_VMD_SEQ_TO_LIST_HPP)
#define BOOST_VMD_SEQ_TO_LIST_HPP
#include <boos... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/boost/vmd/seq/to_list.hpp | C++ | gpl-3.0 | 1,572 |
/*
* User level driver support for input subsystem
*
* Heavily based on evdev.c by Vojtech Pavlik
*
* 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
*... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/input/misc/uinput.c | C | gpl-3.0 | 23,650 |
<?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
* Takes the hard work out of managing a complete RSS/Atom solution.
*
* Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or w... | gdombchik/nabcacatholic | zzz wp-includes ORIG/SimplePie/Sanitize.php | PHP | gpl-2.0 | 15,698 |
/*
* CPU subsystem support
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/device.h>
#include <linux/node.h>
#include <linux/gfp.h>
#include <linux/slab.h>
#include <linux/percpu.h>
#include <li... | dperezde/little-penguin | linux/drivers/base/cpu.c | C | gpl-2.0 | 12,138 |
<!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/same-origin/http-http/iframe-tag/generic.keep-origin-redirect.http.html | HTML | bsd-3-clause | 1,972 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Binding to Remote Data - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.cs... | zyzydream/zhihu | zhihu/src/main/webapp/easyui/demo/datalist/remotedata.html | HTML | gpl-3.0 | 773 |
<!---
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
"Licens... | forsrc/MyStudy | src/main/webapp/MyStudy/plugins/cordova-plugin-device-orientation/doc/ko/index.md | Markdown | apache-2.0 | 6,806 |
<?php
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Constraint that asserts that a string is valid JSON.
*
* @author Sebastian Ber... | ederunt/practicaN | vendor/phpunit/phpunit/src/Framework/Constraint/IsJson.php | PHP | bsd-3-clause | 1,922 |
class Sslyze < Formula
desc "SSL scanner"
homepage "https://github.com/nabla-c0d3/sslyze"
url "https://github.com/nabla-c0d3/sslyze/archive/release-0.11.tar.gz"
sha256 "d0adf9be09d5b27803a923dfabd459c84a2eddb457dac2418f1bf074153f8f93"
version "0.11.0"
bottle do
cellar :any
sha256 "af01a93c9a4b8d8e3... | Lywangwenbin/homebrew | Library/Formula/sslyze.rb | Ruby | bsd-2-clause | 2,049 |
/*!
* Bootstrap v3.0.2 by @fat and @mdo
* Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world by @mdo and @fat.
*/
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rg... | sociogenetics/xendor | xendor/static/css/bootstrap-theme.css | CSS | bsd-2-clause | 19,791 |
/* Test the `vqaddu32' 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_vqaddu32 (void)
{
uint32x2_t out_uin... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.target/arm/neon/vqaddu32.c | C | gpl-2.0 | 637 |
<?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 a... | mattsimpson/entrada-1x | www-root/core/library/Zend/Service/Yahoo/WebResult.php | PHP | gpl-3.0 | 2,749 |
/* include/linux/msm_audio.h
*
* Copyright (C) 2008 Google, Inc.
*
* 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, distributed, and modified under those terms.
*
* This program is distributed in the hop... | Renzo-Olivares/BAMF_android_kernel_htc_msm8660 | include/linux/msm_audio.h | C | gpl-2.0 | 10,911 |
<?php
_deprecated_file( __FILE__, '4.0', 'Tribe__View_Helpers.php' );
class Tribe__Events__View_Helpers extends Tribe__View_Helpers {}
| pdpfsug/wp_raga10 | wp_raga10/wp-content/plugins/the-events-calendar/vendor/tickets/common/src/deprecated/Tribe__Events__View_Helpers.php | PHP | agpl-3.0 | 136 |
var hat = require('../');
var assert = require('assert');
exports.rack = function () {
var rack = hat.rack(4);
var seen = {};
for (var i = 0; i < 8; i++) {
var id = rack();
assert.ok(!seen[id], 'seen this id');
seen[id] = true;
assert.ok(id.match(/^[0-9a-f]$/));
... | hendrikusR/open-layer | widget/assets/draw/hat/test/rack.js | JavaScript | bsd-3-clause | 1,569 |
/* ThemeRoller Humanity override style sheet for jQuery date picker v4.0.0. */
@import "ui.datepick.css";
.ui-widget-header a,
.ui-widget-header select {
color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
}
.ui-widget-header a:hover {
background-color: #f5f0e5; /* Set (.ui-state-hover) colours fr... | x112358/cdnjs | ajax/libs/datepick/4.0.2/css/ui-humanity.datepick.css | CSS | mit | 601 |
/**
* 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... | coderczp/camel | camel-core/src/test/java/org/apache/camel/processor/RemoveHeadersTest.java | Java | apache-2.0 | 3,108 |
/**
* 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... | CandleCandle/camel | camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregateControllerTest.java | Java | apache-2.0 | 4,309 |
/*
* Copyright (C) 2000 Harri Porten (porten@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reseved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Fo... | Observer-Wu/phantomjs | src/qt/qtwebkit/Source/WebCore/bindings/js/JSDOMWindowBase.h | C | bsd-3-clause | 3,136 |
/* Copyright (c) 2010-2011, 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... | sgs3/SGH-T999V_Kernel | drivers/media/video/msm_zsl/gemini/msm_gemini_dev.c | C | gpl-2.0 | 5,006 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | nickopris/musicapp | www/core/vendor/zendframework/zend-feed/Zend/Feed/Writer/Extension/Threading/Renderer/Entry.php | PHP | apache-2.0 | 3,659 |
import {Parser} from "./state"
import {SourceLocation} from "./locutil"
export class Node {
constructor(parser, pos, loc) {
this.type = ""
this.start = pos
this.end = 0
if (parser.options.locations)
this.loc = new SourceLocation(parser, loc)
if (parser.options.directSourceFile)
this.s... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/acorn-jsx/node_modules/acorn/src/node.js | JavaScript | mit | 1,194 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
class IgnorePlugin {
constructor(resourceRegExp, contextRegExp) {
this.resourceRegExp = resourceRegExp;
this.contextRegExp = contextRegExp;
this.checkIgnore = this.checkIgnore.bind(this)... | shikun2014010800/manga | web/console/node_modules/webpack/lib/IgnorePlugin.js | JavaScript | mit | 1,617 |
#!/usr/bin/env python
#
# Ansible 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.
#
# Ansible is distributed in the hope that it will b... | EvanK/ansible | test/integration/targets/vault/faux-editor.py | Python | gpl-3.0 | 1,212 |
/**
* 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"); yo... | YMartsynkevych/camel | components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatTest.java | Java | apache-2.0 | 8,709 |
/*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* 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.
*
* This program is distributed in the hope that it would be ... | JijonHyuni/HyperKernel-JB | virt/fs/xfs/xfs_fsops.c | C | gpl-2.0 | 19,130 |
/*****************************************************************************
Copyright(c) 2012 FCI Inc. All Rights Reserved
File name : fc8150_tun.c (BGA & QFN)
Description : fc8150 tuner driver
History :
----------------------------------------------------------------------
2012/01/20 initial ... | jokersax/lgogsprint3.4kernel | drivers/broadcast/oneseg/fc8150/drv/fc8150_tun.c | C | gpl-2.0 | 15,794 |
/*! jQuery UI - v1.10.3 - 2013-06-12
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"<הקודם",nextText:"הבא>",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי... | jcdude/LamPI-1.8 | www/jquery-ui-1.10.3.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js | JavaScript | gpl-3.0 | 934 |
package trust
import (
"crypto/x509"
"errors"
"io/ioutil"
"net/http"
"net/url"
"os"
"path"
"path/filepath"
"sync"
"time"
"github.com/Sirupsen/logrus"
"github.com/docker/libtrust/trustgraph"
)
type TrustStore struct {
path string
caPool *x509.CertPool
graph trustgraph.TrustGraph... | rhuss/gofabric8 | vendor/github.com/docker/docker/trust/trusts.go | GO | apache-2.0 | 4,317 |
/*!
* Connect - cookieParser
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var utils = require('./../utils')
, cookie = require('cookie');
/**
* Cookie parser:
*
* Parse _Cookie_ header and populate `req.cookies`
* with an object keye... | BrowenChen/classroomDashboard | zzishwebsite/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js | JavaScript | mit | 1,440 |
YUI.add("lang/datatype-date-format_es-EC",function(a){a.Intl.add("datatype-date-format","es-EC",{"a":["dom","lun","mar","mié","jue","vie","sáb"],"A":["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],"b":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],"B":["enero","febrero","... | BobbieBel/cdnjs | ajax/libs/yui/3.7.0pr1/datatype-date-format/lang/datatype-date-format_es-EC.js | JavaScript | mit | 537 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | ppamorim/fresco | fbcore/src/main/java/com/facebook/datasource/BaseDataSubscriber.java | Java | bsd-3-clause | 1,838 |
/**************************************************************************
*
* Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
* 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"... | sahdman/rpi_android_kernel | linux-3.1.9/drivers/gpu/drm/ttm/ttm_bo.c | C | mit | 47,176 |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | okboy5555/demo | 基于angular的图书管理/src/framework/angular-1.5.8/i18n/angular-locale_luo.js | JavaScript | apache-2.0 | 2,946 |
/*
* Copyright (C) 2009,2010,2011,2012 Samuel Audet
*
* This file is part of JavaCV.
*
* JavaCV 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) an... | JanesR/javacv | src/main/java/com/googlecode/javacv/ProCamTransformer.java | Java | gpl-2.0 | 23,990 |
<?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... | mattsimpson/entrada-1x | www-root/core/library/Zend/Service/Rackspace/Files/Object.php | PHP | gpl-3.0 | 8,137 |
// SPDX-License-Identifier: GPL-2.0
#include <linux/bug.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/math64.h>
#include <linux/log2.h>
#include <linux/err.h>
#include <linux/module.h>
#include "qcom-vadc-common.h"
/* Voltage to temperature */
static const struct vadc_map_pt adcmap_100k_104ef... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/iio/adc/qcom-vadc-common.c | C | gpl-2.0 | 10,376 |
/**
* 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... | CandleCandle/camel | components/camel-jaxb/src/test/java/org/apache/camel/example/Bar.java | Java | apache-2.0 | 1,514 |
<?php
/**
* @file
* Sample hooks demonstrating usage in Webform.
*/
/**
* @defgroup webform_hooks Webform Module Hooks
* @{
* Webform's hooks enable other modules to intercept events within Webform, such
* as the completion of a submission or adding validation. Webform's hooks also
* allow other modules to pr... | nandoalvarado022/colombianime | sitios/inmobiliaria/sites/all/modules/webform/webform.api.php | PHP | gpl-2.0 | 44,278 |
/******************************************************************************
*
* Copyright(c) 2009-2014 Realtek Corporation.
*
* 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 Foundati... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.h | C | gpl-2.0 | 2,911 |
<?php
/**
* Social Login
*
* @version 1.0
* @author SmokerMan, Arkadiy, Joomline
* @copyright © 2012. All rights reserved.
* @license GNU/GPL v.3 or later.
*/
// защита от прямого доступа
defined('_JEXEC') or die('@-_-@');
jimport('joomla.form.formfield');
class JFormFieldCallbackUrl extends... | IYEO/Sweettaste | tmp/install_5680f69da1732/install_5680f6ad8ef2b/element/callbackurl.php | PHP | gpl-2.0 | 1,284 |
/*******************************************************************************
Intel PRO/10GbE Linux driver
Copyright(c) 1999 - 2008 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as pu... | sahdman/rpi_android_kernel | linux-3.1.9/drivers/net/ixgb/ixgb_ee.c | C | mit | 17,529 |
# $Id: admonitions.py 7681 2013-07-12 07:52:27Z milde $
# Author: David Goodger <goodger@python.org>
# Copyright: This module has been placed in the public domain.
"""
Admonition directives.
"""
__docformat__ = 'reStructuredText'
from docutils.parsers.rst import Directive
from docutils.parsers.rst import states, di... | JulienMcJay/eclock | windows/Python27/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py | Python | gpl-2.0 | 2,413 |
class Blazeblogger < Formula
desc "CMS for the command-line"
homepage "http://blaze.blackened.cz/"
url "https://blazeblogger.googlecode.com/files/blazeblogger-1.2.0.tar.gz"
sha1 "280894fca6594d0c0df925aa0a16b9116ee19f17"
bottle do
cellar :any
sha1 "2576ceff864dd2059bcd73af26f735725dd7274c" => :yosemi... | kyanny/homebrew | Library/Formula/blazeblogger.rb | Ruby | bsd-2-clause | 883 |
require 'formula'
class Mad < Formula
desc "MPEG audio decoder"
homepage 'http://www.underbit.com/products/mad/'
url 'https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz'
sha1 'cac19cd00e1a907f3150cc040ccc077783496d76'
bottle do
cellar :any
revision 1
sha1 "ec69697... | karlhigley/homebrew | Library/Formula/mad.rb | Ruby | bsd-2-clause | 1,122 |
/*
* Some debug functions
*
* MIPS floating point support
*
* Copyright (C) 1994-2000 Algorithmics Ltd.
* http://www.algor.co.uk
*
* 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 Software Foun... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/mips/math-emu/ieee754d.c | C | gpl-2.0 | 3,765 |
/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.datepicker-ro.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"« Luna precedentă",nextText:"Luna următoare »",currentText:"Azi... | ninjablocks/ninja-sentinel | yeoman/components/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ro.min.js | JavaScript | mit | 888 |
/*
* linux/arch/arm/mach-omap2/board-omap3evm.c
*
* Copyright (C) 2008 Texas Instruments
*
* Modified from mach-omap2/board-3430sdp.c
*
* Initial code: Syed Mohammed Khasim
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-omap2/board-omap3evm.c | C | gpl-2.0 | 18,128 |
<!DOCTYPE html>
<html lang='en'>
<head>
<title>pservers-pattern-07-f-manual.svg</title>
<meta charset='utf-8'>
</head>
<body>
<h1>Source SVG: pservers-pattern-07-f-manual.svg</h1>
<svg id="svg-root" width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org... | shinglyu/servo | tests/wpt/web-platform-tests/conformance-checkers/html-svg/pservers-pattern-07-f-isvalid.html | HTML | mpl-2.0 | 2,562 |
import { constant } from "../fp";
export = constant;
| BigBoss424/portfolio | v8/development/node_modules/@types/lodash/ts3.1/fp/constant.d.ts | TypeScript | apache-2.0 | 53 |
/* 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 not... | nelsonsilva/libgdx | backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/DirectReadWriteFloatBufferAdapter.java | Java | apache-2.0 | 4,412 |
/* orig : i386 init_task.c */
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/init_task.h>
#include <linux/fs.h>
#include <linux/mqueue.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
static struct fs_struct init_fs = INIT_FS;
static struct files_... | impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/arch/m32r/kernel/init_task.c | C | mit | 1,078 |
/**
* @module Ink.UI.DatePicker_1
* @version 1
* Date selector
*/
Ink.createModule('Ink.UI.DatePicker', '1', ['Ink.UI.Common_1','Ink.Dom.Event_1','Ink.Dom.Css_1','Ink.Dom.Element_1','Ink.Dom.Selector_1','Ink.Util.Array_1','Ink.Util.Date_1', 'Ink.Dom.Browser_1'], function(Common, Event, Css, InkElement, Selector, I... | siscia/jsdelivr | files/ink/3.0.0/js/ink.datepicker.js | JavaScript | mit | 52,609 |
/* Byte-wise substring search, using the Two-Way algorithm.
* Copyright (C) 2008 Eric Blake
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
/*
FUNCTION
<<memmem>>---find memory segment
INDEX
memmem
ANSI_SYNOPSIS
#include <string.h... | GarethNelson/Zoidberg | userland/newlib/newlib/libc/string/memmem.c | C | gpl-2.0 | 3,117 |
/*
* DaVinci Power & Sleep Controller (PSC) defines
*
* Copyright (C) 2006 Texas Instruments.
*
* 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,... | kv193/buildroot | linux/linux-kernel/arch/arm/mach-davinci/include/mach/psc.h | C | gpl-2.0 | 7,997 |
package dns
import (
"crypto"
"crypto/dsa"
"crypto/ecdsa"
"crypto/rsa"
"io"
"math/big"
"strconv"
"strings"
)
// NewPrivateKey returns a PrivateKey by parsing the string s.
// s should be in the same form of the BIND private key files.
func (k *DNSKEY) NewPrivateKey(s string) (crypto.PrivateKey, error) {
if s... | turbosquid/gloon | vendor/src/github.com/miekg/dns/dnssec_keyscan.go | GO | mit | 5,521 |
/*
* linux/arch/arm/mach-at91/gpio.c
*
* Copyright (C) 2005 HP Labs
*
* 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... | ystk/linux-poky-debian | arch/arm/mach-at91/gpio.c | C | gpl-2.0 | 28,199 |
! { dg-do compile }
! This tests the fix for PR28735 in which an ICE would be triggered in resolve_ref
! because the references to 'a' and 'b' in the dummy arguments of mysub have
! no symtrees in module bar, being private there.
!
! Contributed by Andrew Sampson <adsspamtrap01@yahoo.com>
!
!-- foo.F ----------------... | selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gfortran.dg/module_private_array_refs_1.f90 | FORTRAN | gpl-3.0 | 1,240 |
// 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;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Text;
internal static pa... | nbarbettini/corefx | src/Common/src/Interop/Windows/Winsock/Interop.GetAddrInfoW.cs | C# | mit | 789 |
/*
* AMD 10Gb Ethernet driver
*
* This file is available to you under your choice of the following two
* licenses:
*
* License 1: GPLv2
*
* Copyright (c) 2014 Advanced Micro Devices, Inc.
*
* This file is free software; you may copy, redistribute and/or modify
* it under the terms of the GNU General Public L... | systemdaemon/systemd | src/linux/drivers/net/ethernet/amd/xgbe/xgbe-ptp.c | C | gpl-2.0 | 10,239 |
/**
* @license AngularJS v1.3.16
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc object
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.mock = {};
... | DreamInSun/OneRing | xdiamond/bower_components/angular-mocks/angular-mocks.js | JavaScript | apache-2.0 | 82,636 |
<?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... | jsRuner/wuwenfu.cn | wp-includes/phpQuery/phpQuery/Zend/Validate/File/NotExists.php | PHP | gpl-2.0 | 2,520 |
class MemberDetail < ActiveRecord::Base
belongs_to :member
belongs_to :organization
has_one :member_type, :through => :member
end
| maccman/dtwitter | vendor/rails/activerecord/test/models/member_detail.rb | Ruby | mit | 136 |
/*
* Generic helpers for smp ipi calls
*
* (C) Jens Axboe <jens.axboe@oracle.com> 2008
*/
#include <linux/rcupdate.h>
#include <linux/rculist.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/init.h>
#include <linux/gfp.h>
#include <linux/smp.h>
#include <linux/cpu.h>
... | wurikiji/ttFS | ulinux/linux-3.10.61/kernel/smp.c | C | gpl-2.0 | 18,706 |
<?php
/**
* WordPress CRON API
*
* @package WordPress
*/
/**
* Schedules a hook to run only once.
*
* Schedules a hook which will be executed once by the WordPress actions core at
* a time which you specify. The action will fire off when someone visits your
* WordPress site, if the schedule time has passed.
... | andres-torres-marroquin/casa-camila | wp-includes/cron.php | PHP | gpl-2.0 | 12,428 |
/*
Copyright 2014 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... | StevenLudwig/kubernetes | cmd/kube-proxy/proxy.go | GO | apache-2.0 | 1,176 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org... | Gateworks/platform-external-chromium_org | third_party/npapi/npspy/extern/nspr/prlink.h | C | bsd-3-clause | 8,997 |
import parse = require('xml-parser');
declare var assert: { equal<T>(a: T, b: T): void };
var doc: parse.Document = parse(
'<?xml version="1.0" encoding="utf-8"?>' +
'<mydoc><child a="1">foo</child><child/></mydoc>');
var declaration: parse.Declaration = doc.declaration;
assert.equal(declaration.attributes['vers... | aaronryden/DefinitelyTyped | types/xml-parser/xml-parser-tests.ts | TypeScript | mit | 693 |
/*
* File: pn_dev.c
*
* Phonet network device
*
* Copyright (C) 2008 Nokia Corporation.
*
* Contact: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
* Original author: Sakari Ailus <sakari.ailus@nokia.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of th... | felixhaedicke/nst-kernel | src/net/phonet/pn_dev.c | C | gpl-2.0 | 5,080 |
let arr = [];
for(let i = 0; i < 10; i++) {
for (let i = 0; i < 10; i++) {
arr.push(() => i);
}
}
| ellbee/babel | test/core/fixtures/transformation/es6.block-scoping/issue-973/actual.js | JavaScript | mit | 106 |
/* SPDX-License-Identifier: BSD-3-Clause-Clear */
/*
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
*/
#ifndef ATH11K_AHB_H
#define ATH11K_AHB_H
#include "core.h"
#define ATH11K_AHB_RECOVERY_TIMEOUT (3 * HZ)
struct ath11k_base;
struct ath11k_ahb {
struct rproc *tgt_rproc;
};
static inline s... | HinTak/linux | drivers/net/wireless/ath/ath11k/ahb.h | C | gpl-2.0 | 432 |
/*
** 2006 Oct 10
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************... | wangscript/libjingle-1 | trunk/third_party/sqlite/src/ext/fts2/fts2.h | C | bsd-3-clause | 705 |
// basic_types.hpp --------------------------------------------------------------//
// Copyright 2010 Vicente J. Botet Escriba
// Copyright 2015 Andrey Semashev
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
#ifndef BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP
... | nealkruis/kiva | vendor/boost-1.61.0/boost/detail/winapi/basic_types.hpp | C++ | gpl-3.0 | 5,732 |
/*
* drivers/video/tegra/host/nvhost_intr.h
*
* Tegra Graphics Host Interrupt Management
*
* Copyright (c) 2010-2012, NVIDIA Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by ... | OptiPop/kernel_asus_grouper | drivers/video/tegra/host/nvhost_intr.h | C | gpl-2.0 | 3,082 |
/*
* ext4_jbd2.h
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1999
*
* Copyright 1998--1999 Red Hat corp --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version, incorpo... | manumanfred/kernel_omap | fs/ext4/ext4_jbd2.h | C | gpl-2.0 | 11,110 |
/*
* Copyright (C) 2009-2010 Freescale Semiconductor, Inc. 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... | dperezde/little-penguin | linux-eudyptula/drivers/irqchip/irq-mxs.c | C | gpl-2.0 | 3,400 |
<?php
/**
* Exception for 503 Service Unavailable responses
*
* @package Requests
*/
/**
* Exception for 503 Service Unavailable responses
*
* @package Requests
*/
class Requests_Exception_HTTP_503 extends Requests_Exception_HTTP {
/**
* HTTP status code
*
* @var integer
*/
protected $code = 503;
/... | dexxtr/osbb-web-manager | www/wp-includes/Requests/Exception/HTTP/503.php | PHP | gpl-3.0 | 411 |
#include "reiserfs.h"
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/pagemap.h>
#include <linux/xattr.h>
#include <linux/slab.h>
#include "xattr.h"
#include <linux/security.h>
#include <asm/uaccess.h>
static int
security_get(struct dentry *dentry, const char *name, void *buffer, size_t size,
int hand... | talnoah/android_kernel_htc_dlx | virt/fs/reiserfs/xattr_security.c | C | gpl-2.0 | 3,005 |
/* rc-main.c - Remote Controller core module
*
* Copyright (C) 2009-2010 by Mauro Carvalho Chehab <mchehab@redhat.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 Software Foundation version 2 of the L... | kularny/GeniSys.Kernel | drivers/media/rc/rc-main.c | C | gpl-2.0 | 31,186 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.