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 |
|---|---|---|---|---|---|
/*!
* jQuery Cycle Plugin (with Transition Definitions)
* Examples and documentation at: http://jquery.malsup.com/cycle/
* Copyright (c) 2007-2013 M. Alsup
* Version: 3.0.3 (11-JUL-2013)
* Dual licensed under the MIT and GPL licenses.
* http://jquery.malsup.com/license.html
* Requires: jQuery v1.7.1 or later
*/... | delfintrinidadIV/firstproject | wp-content/themes/simple-catch/js/jquery.cycle.all.js | JavaScript | gpl-2.0 | 52,026 |
// (C) Copyright Gennadiy Rozental 2005-2008.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File ... | hpl1nk/nonamegame | xray/SDK/include/boost/test/utils/runtime/cla/char_parameter.cpp | C++ | gpl-3.0 | 610 |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="node" -o ./modern/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and In... | tspires/personal | zillow/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node/modern/internals/baseUniq.js | JavaScript | mit | 2,014 |
/*
Copyright 2015 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, ... | humblec/external-storage | vendor/k8s.io/kubernetes/pkg/controller/service/doc.go | GO | apache-2.0 | 736 |
jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],monthsShort:["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],weekdaysFull:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fi... | enketosurvey/mo | www/lib/pickadate.js-3.5.6/lib/compressed/translations/is_IS.js | JavaScript | apache-2.0 | 599 |
var browser_history_support = (window.history != null ? window.history.pushState : null) != null;
createTest('Nested route with the many children as a tokens, callbacks should yield historic params', {
'/a': {
'/:id': {
'/:id': function(a, b) {
if (!browser_history_support) {
shared.fired... | WAPMADRID/server | wapmadrid/node_modules/forever/node_modules/flatiron/node_modules/director/test/browser/html5-routes-test.js | JavaScript | gpl-2.0 | 14,089 |
/// <reference types="easeljs"/>
var target = new createjs.DisplayObject();
// source : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html
// Chainable modules :
target.alpha = 1;
createjs.Tween.get(target).wait(500, false).to({ alpha: 0, visible: false }, 1000).call(onComplete);
function onComplete() {
/... | zuzusik/DefinitelyTyped | types/tweenjs/tweenjs-tests.ts | TypeScript | mit | 337 |
#ifndef BOOST_MPL_LOWER_BOUND_HPP_INCLUDED
#define BOOST_MPL_LOWER_BOUND_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// See http://www.boost.org/... | hpl1nk/nonamegame | xray/SDK/include/boost/mpl/lower_bound.hpp | C++ | gpl-3.0 | 3,713 |
/**
* @license AngularJS v1.0.6
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc overview
* @name ngResource
* @description
*/
/**
* @ngdoc object
* @name ngResource.$resource
* @requires $http
*
* @description
* A fac... | bacardi55/b-55-log | web/jocs/components/angular-resource/angular-resource.js | JavaScript | mit | 17,163 |
/*
* CoreChip-sz SR9700 one chip USB 1.1 Ethernet Devices
*
* Author : Liu Junliang <liujunliang_ljl@163.com>
*
* Based on dm9601.c
*
* 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
* kind, whether express or i... | mpe/powerpc | drivers/net/usb/sr9700.c | C | gpl-2.0 | 13,255 |
/*
* 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 ... | esi-mineset/spark | sql/core/src/main/java/org/apache/spark/sql/api/java/package-info.java | Java | apache-2.0 | 942 |
/*
* linux/arch/sh/boards/magicpanel/setup.c
*
* Copyright (C) 2007 Markus Brunner, Mark Jonas
*
* Magic Panel Release 2 board setup
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/... | talnoah/android_kernel_htc_dlx | virt/arch/sh/boards/board-magicpanelr2.c | C | gpl-2.0 | 10,719 |
import { Duration, isDuration } from './constructor';
import toInt from '../utils/to-int';
import hasOwnProp from '../utils/has-own-prop';
import { DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants';
import { cloneWithOffset } from '../units/offset';
import { createLocal } from '../create/local';
// A... | krasnyuk/e-liquid-MS | wwwroot/assets/js/moment/src/lib/duration/create.js | JavaScript | mit | 3,948 |
// { dg-do assemble }
template <class T> void foo(); // { dg-message "" } candidate
void (*bar)() = foo<void>;
void (*baz)() = foo; // { dg-error "" } can't deduce T
| selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/g++.old-deja/g++.pt/overload5.C | C++ | gpl-3.0 | 169 |
<?php
namespace Illuminate\Validation;
use Exception;
class ValidationException extends Exception
{
/**
* The validator instance.
*
* @var \Illuminate\Validation\Validator
*/
public $validator;
/**
* The recommended response to send to the client.
*
* @var \Illuminate\... | goldenscarab/scriba | vendor/laravel/framework/src/Illuminate/Validation/ValidationException.php | PHP | mit | 997 |
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (6343, 6344, 6345, 6346, 6347);
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `value1`, `value2`, `ScriptName`) VALUES
(6343,6,4197,0,''), -- Wintergrasp
(6343,1,16111,0,''), -- target Love Fool
(6344,6,2177,0,''), -- Battle Ring
(6344,1,1... | heros/multi_realm_cell | sql/sql_cata/old/3.3.5a/2012_02_08_06_world_achievement_criteria_data.sql | SQL | gpl-2.0 | 591 |
/*
* Linux Guest Relocation (LGR) detection
*
* Copyright IBM Corp. 2012
* Author(s): Michael Holzheu <holzheu@linux.vnet.ibm.com>
*/
#include <linux/init.h>
#include <linux/export.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <asm/facility.h>
#include <asm/sysinfo.h>
#include <asm/ebcdic.h>
#inclu... | eabatalov/au-linux-kernel-autumn-2017 | linux/arch/s390/kernel/lgr.c | C | gpl-3.0 | 4,365 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_xml_validation_relaxng_InterleavePattern__
#define __gnu_xml_validation_relaxng_InterleavePattern__
#pragma interface
#include <gnu/xml/validation/relaxng/Pattern.h>
extern "Java"
{
namespace gnu
{
namespace xml
{
namespa... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/gnu/xml/validation/relaxng/InterleavePattern.h | C | gpl-2.0 | 939 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_plaf_metal_MetalBorders$RolloverMarginBorder__
#define __javax_swing_plaf_metal_MetalBorders$RolloverMarginBorder__
#pragma interface
#include <javax/swing/border/AbstractBorder.h>
extern "Java"
{
namespace java
{
namespace... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/javax/swing/plaf/metal/MetalBorders$RolloverMarginBorder.h | C | gpl-2.0 | 1,116 |
/*
* Copyright (C) 2004 IBM Corporation
*
* Author: Serge Hallyn <serue@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 as
* published by the Free Software Foundation, version 2 of the
* License.
*/
#include <lin... | mkvdv/au-linux-kernel-autumn-2017 | linux/kernel/utsname.c | C | gpl-3.0 | 3,695 |
/* jshint -W100 */
/* jslint maxlen: 86 */
define(function () {
// Farsi (Persian)
return {
errorLoading: function () {
return 'امکان بارگذاری نتایج وجود ندارد.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'لطفاً ' + overChars + ... | krasnyuk/e-liquid-MS | wwwroot/assets/js/select2/src/js/select2/i18n/fa.js | JavaScript | mit | 1,152 |
/*
* Support for IDE interfaces on Celleb platform
*
* (C) Copyright 2006 TOSHIBA CORPORATION
*
* This code is based on drivers/ide/pci/siimage.c:
* Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat
*
* This program is free software; you can redistribute it and/or modify... | mericon/Xp_Kernel_LGH850 | virt/drivers/ide/scc_pata.c | C | gpl-2.0 | 22,450 |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... | joethefox/xbmc | xbmc/filesystem/MusicDatabaseDirectory/DirectoryNodeAlbumCompilations.cpp | C++ | gpl-2.0 | 1,817 |
/**
* 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-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/oncrpc/RpcMessage.java | Java | apache-2.0 | 2,009 |
<?php
/**
* Locale data for 'kcg'.
*
* This file is automatically generated by yiic cldr command.
*
* Copyright © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* @copyright 2008-2013 Yii Software LLC (http://www.yiiframework.com/lic... | Wyden971/IpMotors | yiiframework/i18n/data/kcg.php | PHP | unlicense | 3,480 |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JRadioButton__
#define __javax_swing_JRadioButton__
#pragma interface
#include <javax/swing/JToggleButton.h>
extern "Java"
{
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespa... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/javax/swing/JRadioButton.h | C | gpl-2.0 | 1,279 |
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2019 Intel Corporation
*/
#ifndef __I915_SUSPEND_H__
#define __I915_SUSPEND_H__
struct drm_i915_private;
int i915_save_state(struct drm_i915_private *i915);
int i915_restore_state(struct drm_i915_private *i915);
#endif /* __I915_SUSPEND_H__ */
| CSE3320/kernel-code | linux-5.8/drivers/gpu/drm/i915/i915_suspend.h | C | gpl-2.0 | 303 |
/* This file is part of the program psim.
Copyright (C) 1994-1996, Andrew Cagney <cagney@highland.com.au>
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 3 of... | zxombie/aarch64-freebsd-binutils | sim/ppc/hw_pal.c | C | gpl-2.0 | 9,416 |
/******************************************************************************
*
* Name: acresrc.h - Resource Manager function prototypes
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2011, Intel Corp.
* All rights reserved.
*
* Redistribution and u... | JijonHyuni/HyperKernel-JB | virt/drivers/acpi/acpica/acresrc.h | C | gpl-2.0 | 11,064 |
// 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.Runtime.ExceptionServices;
using System.Threading;
namespace System.Threading.Tasks
{
... | krytarowski/corefx | src/System.Runtime.WindowsRuntime/src/System/Threading/Tasks/ExceptionDispatchHelper.cs | C# | mit | 1,835 |
/* Copyright (C) 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
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 as published by the... | GarethNelson/Zoidberg | userland/newlib/newlib/libc/sys/linux/net/key-lookup.c | C | gpl-2.0 | 1,006 |
<?php
/*
* This file is part of the symfony package.
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once(dirname(__FILE__).'/../../bootstrap/unit.php');
class... | voota/voota | www/lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectCheckboxTest.php | PHP | mit | 6,638 |
/*
* linux/arch/arm/mm/dma-mapping.c
*
* Copyright (C) 2000-2004 Russell King
*
* 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.
*
* DMA uncached mapping support.
*/
#inclu... | keeeener/nicki | kernel/arch/arm/mm/dma-mapping.c | C | gpl-2.0 | 46,012 |
/*
* Author(s)......: Horst Hummel <Horst.Hummel@de.ibm.com>
* Holger Smolinski <Holger.Smolinski@de.ibm.com>
* Bugreports.to..: <Linux390@de.ibm.com>
* Copyright IBM Corp. 2000, 2001
*
*/
#define KMSG_COMPONENT "dasd-eckd"
#include <linux/timer.h>
#include <asm/idals.h>
#define PRINTK_HEADER "dasd_er... | geminy/aidear | oss/linux/linux-4.7/drivers/s390/block/dasd_3990_erp.c | C | gpl-3.0 | 70,793 |
/*
* Copyright (C) 2001 Matthew Wilcox <willy at parisc-linux.org>
* Copyright (C) 2003 Carlos O'Donell <carlos at parisc-linux.org>
*
* 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 F... | talnoah/android_kernel_htc_dlx | virt/arch/parisc/kernel/signal32.h | C | gpl-2.0 | 6,372 |
#import "GPUImage.h"
#import <UIKit/UIKit.h>
@interface RawDataTestAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| shahen94/react-native-video-processing | ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/RawDataTestAppDelegate.h | C | mit | 173 |
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | knative-sandbox/net-gateway-api | vendor/k8s.io/client-go/applyconfigurations/core/v1/envvar.go | GO | apache-2.0 | 2,383 |
//------------------------------------------------------------------------------
// <copyright file="bmi.c" company="Atheros">
// Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
//
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is her... | sktjdgns1189/android_kernel_samsung_SHW-M340S | drivers/stagings/ath6kl/bmi/src/bmi.c | C | gpl-2.0 | 33,537 |
/*
* Copyright (c) 2010-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | prasidh09/cse506 | unionfs-3.10.y/drivers/net/wireless/ath/ath9k/htc_drv_init.c | C | gpl-2.0 | 26,608 |
.leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow {
-webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-in;
-moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-in;
-o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-in;
transition: tran... | aksswami/aks-bitmap | www/css/MarkerCluster.css | CSS | apache-2.0 | 366 |
-- Dragonblight Pathing - Moa'ki Harbor + Azure Dragonshrine
-- 1. rndmmovement
UPDATE `creature` SET `spawndist`=20 WHERE `guid` IN (106644, 106699, 106698, 106714, 106736, 131071, 106695, 106720);
-- 2. emotes
DELETE FROM `creature_addon` WHERE `guid` IN (109020, 109041);
INSERT INTO `creature_addon` (`guid`,`path... | amsjunior1/TrinityCore | sql/updates/world/2015_07_19_01_world_2015_07_15_01.sql | SQL | gpl-2.0 | 20,040 |
// MESSAGE RADIO_STATUS PACKING
#define MAVLINK_MSG_ID_RADIO_STATUS 109
typedef struct __mavlink_radio_status_t
{
uint16_t rxerrors; ///< Receive errors
uint16_t fixed; ///< Count of error corrected packets
uint8_t rssi; ///< Local signal strength
uint8_t remrssi; ///< Remote signal strength
uint8_t txbuf; ///< ... | CPB9/mcc | thirdparty/mavlink/mavlink/common/mavlink_msg_radio_status.h | C | mpl-2.0 | 12,984 |
/*
TwoWire.cpp - TWI/I2C library for Wiring & Arduino
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
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 Foundation; either
version 2.1 ... | chcbaram/FPGA | zap-2.3.0-windows/papilio-zap-ide/hardware/arduino/avr/libraries/Wire/Wire.cpp | C++ | mit | 7,532 |
//! moment.js locale configuration
//! locale : belarusian (be)
//! author : Dmitry Demidov : https://github.com/demidov91
//! author: Praleska: http://praleska.pro/
//! Author : Menelion Elensúle : https://github.com/Oire
import moment from '../moment';
function plural(word, num) {
var forms = word.split('_');
... | LilShy/test | 新建文件夹/material_admin_v-1.5-2/Template/jquery/vendors/bower_components/moment/src/locale/be.js | JavaScript | apache-2.0 | 5,171 |
#ifndef __ARCH_MACH_COMMON_H
#define __ARCH_MACH_COMMON_H
extern struct sys_timer shmobile_timer;
extern void shmobile_setup_console(void);
struct clk;
extern int clk_init(void);
extern void sh7367_init_irq(void);
extern void sh7367_add_early_devices(void);
extern void sh7367_add_standard_devices(void);
extern void s... | wkritzinger/asuswrt-merlin | release/src-rt-7.x.main/src/linux/linux-2.6.36/arch/arm/mach-shmobile/include/mach/common.h | C | gpl-2.0 | 1,045 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>amCharts Data Loader Example</title>
<script ... | liushuishang/YayCrawler | yaycrawler.admin/src/main/resources/static/assets/global/plugins/amcharts/amstockcharts/plugins/dataloader/examples/pie_csv.html | HTML | lgpl-3.0 | 1,448 |
#ifndef __NET_TC_MIR_H
#define __NET_TC_MIR_H
#include <net/act_api.h>
struct tcf_mirred {
struct tcf_common common;
int tcfm_eaction;
int tcfm_ifindex;
int tcfm_ok_push;
struct net_device *tcfm_dev;
struct list_head tcfm_list;
};
#define to_mirred(pc) \
container_of(pc, struct tcf_mirred, common)
#endi... | talnoah/android_kernel_htc_dlx | virt/include/net/tc_act/tc_mirred.h | C | gpl-2.0 | 343 |
// 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.
package main
import (
"go/ast"
"go/parser"
"go/token"
"os"
"path"
"runtime"
"strings"
)
func isGoFile(dir os.FileInfo) bool {
return !dir.IsDir() &&
... | shishkander/go | test/stress/parsego.go | GO | bsd-3-clause | 4,212 |
<?php
/**
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.component.modellist');
/**
* Messages Component Messages Model
... | baxri/cvote | tmp/install_54bd2998c811f/administrator/components/com_messages/models/messages.php | PHP | gpl-2.0 | 3,562 |
#!/usr/bin/env node
require("./bin/npm-cli.js")
| nikste/visualizationDemo | zeppelin-web/node/npm/cli.js | JavaScript | apache-2.0 | 48 |
package client
import (
"bufio"
"crypto/tls"
"fmt"
"net"
"net/http"
"net/http/httputil"
"net/url"
"strings"
"time"
"github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/tlsconfig"
"github.com/docker/go-connections/sockets"
"github.com/pkg/errors"
"golang.org/x/net/context"
)
// tlsClientCo... | aleksandra-malinowska/autoscaler | vertical-pod-autoscaler/vendor/github.com/docker/docker/client/hijack.go | GO | apache-2.0 | 5,955 |
<?php
/**
* Zend Framework (http://framework.zend.com/)
*
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
namespace ... | JorikVartanov/zf2 | zf2_project/vendor/zendframework/zendframework/library/Zend/Filter/StringToUpper.php | PHP | bsd-3-clause | 1,560 |
<?php
/**
* @package Joomla.Site
* @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;
jimport('joomla.application.categories');
/**
* Build the route for the com_contact comp... | baxri/cvote | tmp/install_54bd2998c811f/components/com_contact/router.php | PHP | gpl-2.0 | 4,706 |
var vows = require("vows"),
_ = require("../../"),
load = require("../load"),
assert = require("../assert");
var suite = vows.describe("d3.max");
suite.addBatch({
"max": {
topic: load("arrays/max").expression("d3.max"),
"returns the greatest numeric value for numbers": function(max) {
asse... | MoonApps/barelyalive | www/js/vendor/d3-master/test/arrays/max-test.js | JavaScript | gpl-2.0 | 1,919 |
/*
* Copyright(c) 2006, 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 published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but ... | talnoah/android_kernel_htc_dlx | virt/arch/arm/mach-iop13xx/include/mach/adma.h | C | gpl-2.0 | 17,035 |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2016-2017 Google, Inc
*
* Fairchild FUSB302 Type-C Chip Driver
*/
#ifndef FUSB302_REG_H
#define FUSB302_REG_H
#define FUSB_REG_DEVICE_ID 0x01
#define FUSB_REG_SWITCHES0 0x02
#define FUSB_REG_SWITCHES0_CC2_PU_EN BIT(7)
#define FUSB_REG_SWITCHES0_CC1_PU_EN... | CSE3320/kernel-code | linux-5.8/drivers/usb/typec/tcpm/fusb302_reg.h | C | gpl-2.0 | 6,760 |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Must not be included from any .h files to avoid polluting the namespace
// with macros.
#ifndef S... | Noah-Huppert/Website-2013 | vhosts/www.noahhuppert.com/htdocs/trex/deps/leveldb/util/logging.h | C | mit | 1,594 |
This file has moved to [https://github.com/kubernetes/community/blob/master/contributors/design-proposals/federation-lite.md](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/federation-lite.md)
| aweiteka/cri-o | vendor/k8s.io/kubernetes/docs/proposals/federation-lite.md | Markdown | apache-2.0 | 228 |
require "openssl"
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Dwolla
module Common
def verify_signature(checkoutId, amount, notification_signature, secret)
if secret.nil?
raise ArgumentError, "You need to provide the... | jinutm/silvfinal | vendor/bundle/ruby/2.1.0/gems/activemerchant-1.42.4/lib/active_merchant/billing/integrations/dwolla/common.rb | Ruby | mit | 772 |
/*
* 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... | mkis-/elasticsearch | src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java | Java | apache-2.0 | 2,762 |
var name;
switch (name) {
case "Kamol":
doSomething();
default:
doSomethingElse();
}
switch (name) {
default:
doSomethingElse();
break;
case "Kamol":
doSomething();
} | bryantaylor/Epic | wp-content/themes/epic/node_modules/grunt-contrib-jshint/node_modules/jshint/tests/stable/unit/fixtures/switchDefaultFirst.js | JavaScript | gpl-2.0 | 173 |
require "language/java"
class JavaRequirement < Requirement
fatal true
cask "java"
download "http://www.oracle.com/technetwork/java/javase/downloads/index.html"
satisfy :build_env => false do
args = %w[--failfast]
args << "--version" << "#{@version}" if @version
@java_home = Utils.popen_read("/usr... | rokn/Count_Words_2015 | fetched_code/ruby/java_requirement.rb | Ruby | mit | 1,171 |
/*
* linux/drivers/i2c/chips/twl4030-power.c
*
* Handle TWL4030 Power initialization
*
* Copyright (C) 2008 Nokia Corporation
* Copyright (C) 2006 Texas Instruments, Inc
*
* Written by Kalle Jokiniemi
* Peter De Schrijver <peter.de-schrijver@nokia.com>
* Several fixes by Amit Kucheria <amit.kucheria@verdure... | systemdaemon/systemd | src/linux/drivers/mfd/twl4030-power.c | C | gpl-2.0 | 25,688 |
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation
// by Alexandre Oliva <aoliva@cygnus.com>
// distilled from libg++'s Fix.cc
struct Integer {
~Integer () {}
};
void foo (const Integer& y);
Integer bar (const Integer& x);
void show (const Integer& x) {
foo (bar (x));
}
| SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.old-deja/g++.oliva/stkalign.C | C++ | gpl-2.0 | 299 |
/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
/* Authors: Bernard Metzler <bmt@zurich.ibm.com> */
/* Copyright (c) 2008-2019, IBM Corporation */
#ifndef _SIW_MEM_H
#define _SIW_MEM_H
struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable);
void siw_umem_release(struct siw_umem *umem, bool dirty);
s... | CSE3320/kernel-code | linux-5.8/drivers/infiniband/sw/siw/siw_mem.h | C | gpl-2.0 | 2,260 |
// { dg-do assemble }
// GROUPS passed patches
// patches file
// From: david.binderman@pmsr.philips.co.uk
// Date: Wed, 6 Oct 93 17:05:54 BST
// Subject: Reno 1.2 bug fix
// Message-ID: <9310061605.AA04160@pmsr.philips.co.uk>
int type(float) { return 1; }
int type(double) { return 2; }
int type(long ... | SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.old-deja/g++.law/patches1.C | C++ | gpl-2.0 | 546 |
<?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 ... | ernestovi/ups | moodle/mod/assign/submission/file/backup/moodle2/restore_assignsubmission_file_subplugin.class.php | PHP | gpl-3.0 | 2,645 |
<?php
/*
* This file is part of the Assetic package, an OpenSky project.
*
* (c) 2010-2013 OpenSky Project Inc
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Assetic\Factory\Resource;
/**
* A resource is something fo... | nickopris/musicapp | www/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/IteratorResourceInterface.php | PHP | apache-2.0 | 493 |
/*
* Driver for ESS Solo-1 (ES1938, ES1946, ES1969) soundcard
* Copyright (c) by Jaromir Koutek <miri@punknet.cz>,
* Jaroslav Kysela <perex@perex.cz>,
* Thomas Sailer <sailer@ife.ee.ethz.ch>,
* Abramo Bagnara <abramo@alsa-project.org>,
* Ma... | AiJiaZone/linux-4.0 | virt/sound/pci/es1938.c | C | gpl-2.0 | 55,936 |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "db/log_writer.h"
#include <stdint.h>
#include "leveldb/env.h"
#include "util/coding.h"
#incl... | february29/Learning | web/vue/AccountBook-Express/node_modules/.staging/leveldown-d5bd0bf6/deps/leveldb/leveldb-1.18.0/db/log_writer.cc | C++ | mit | 2,844 |
/* $Id: cache.h,v 1.6 2004/03/11 18:08:05 lethal Exp $
*
* include/asm-sh/cache.h
*
* Copyright 1999 (C) Niibe Yutaka
* Copyright 2002, 2003 (C) Paul Mundt
*/
#ifndef __ASM_SH_CACHE_H
#define __ASM_SH_CACHE_H
#ifdef __KERNEL__
#include <linux/init.h>
#include <cpu/cache.h>
#define L1_CACHE_BYTES (1 << L1_CACHE... | talnoah/android_kernel_htc_dlx | virt/arch/sh/include/asm/cache.h | C | gpl-2.0 | 1,193 |
-- Vazruden the herald
DELETE FROM `creature_text` WHERE `entry`=17307;
INSERT INTO `creature_text`(`entry`,`groupid`,`id`,`type`,`probability`,`sound`,`comment`,`text`) VALUES
(17307,0,0,14,100,10292,"vazruden the herald SAY_INTRO","You have faced many challenges, pity they were all in vain. Soon your people will knee... | ralph93/ShuriCore | sql/updates/worldacc/2012_12_18_01_world_creature_text.sql | SQL | gpl-2.0 | 5,153 |
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu
before changing it!
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97
Free Software Foundation, Inc.
This file is part of the GNU C ... | freedesktop-unofficial-mirror/gstreamer-sdk__libdvdnav | msvc/contrib/getopt.c | C | gpl-2.0 | 28,567 |
(function() {
"use strict";
var WORD = /[\w$]+/, RANGE = 500;
CodeMirror.registerHelper("hint", "anyword", function(editor, options) {
var word = options && options.word || WORD;
var range = options && options.range || RANGE;
var cur = editor.getCursor(), curLine = editor.getLine(cur.line);
var ... | zoyoe/ectool | zoyoeec/static/CodeMirror/addon/hint/anyword-hint.js | JavaScript | gpl-2.0 | 1,296 |
DROP TABLE IF EXISTS `character_tutorial`;
CREATE TABLE `character_tutorial` (
`account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
`realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
`tut0` int(11) unsigned NOT NULL default '0',
`tut1` int(11) unsigned NOT... | M-X/mangos | sql/updates/6698_characters_character_tutorial.sql | SQL | gpl-2.0 | 772 |
/*
'aes_xcbc.c' Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Fri Oct 12 22:15:16 2012
*/
#include"cobf.h"
#ifdef _WIN32
#if defined( UNDER_CE) && defined( bb337) || ! defined( bb329)
#define bb355 1
#define bb332 1
#else
#define bb351 bb343
#define bb333 1
#define bb331 1
#endif
#define bb348 1
#include"unc... | sktjdgns1189/android_kernel_samsung_SHV-E110S | drivers/net/wirelessa/ipsecdrvtl/ac.c | C | gpl-2.0 | 5,737 |
import { addFormatToken } from '../format/format';
import { addUnitAlias } from './aliases';
import { addUnitPriority } from './priorities';
import { addRegexToken, match1to2, matchWord, regexEscape } from '../parse/regex';
import { addWeekParseToken } from '../parse/token';
import toInt from '../utils/to-int';
import ... | Nucleo-235/roupa-livre-ionic | www/lib/moment/src/lib/units/day-of-week.js | JavaScript | gpl-3.0 | 11,793 |
DELETE FROM `script_texts` WHERE `entry` IN (-1000472,-1000473);
INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
(23864,-100047... | milleniumcore/CactusEMU | sql/updates/TrinityCore_old/3.2.2a_old/7054_world_script_texts.sql | SQL | gpl-2.0 | 566 |
//! moment.js locale configuration
//! locale : Chinese (Hong Kong) [zh-hk]
//! author : Ben : https://github.com/ben-lin
//! author : Chris Lam : https://github.com/hehachris
//! author : Konstantin : https://github.com/skfd
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined... | stevemoore113/ch_web_- | 資源/CCEI/handsontable/dist/moment/locale/zh-hk.js | JavaScript | mit | 3,363 |
var assert = require('assert');
var cookie = require('..');
suite('parse');
test('basic', function() {
assert.deepEqual({ foo: 'bar' }, cookie.parse('foo=bar'));
assert.deepEqual({ foo: '123' }, cookie.parse('foo=123'));
});
test('ignore spaces', function() {
assert.deepEqual({ FOO: 'bar', baz: 'raz' }... | BrowenChen/classroomDashboard | zzishwebsite/node_modules/express/node_modules/connect/node_modules/cookie/test/parse.js | JavaScript | mit | 800 |
/* drivers/misc/fm34_we395.c - fm34_we395 voice processor driver
*
* Copyright (C) 2012 Samsung Corporation.
*
* 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.
... | vet-note/android_kernel_samsung_smdk4210 | drivers/misc/fm34_we395.c | C | gpl-2.0 | 14,942 |
package reflectwalk
//go:generate stringer -type=Location location.go
type Location uint
const (
None Location = iota
Map
MapKey
MapValue
Slice
SliceElem
Struct
StructField
WalkLoc
)
| bakins/terraform-provider-etcd | vendor/src/github.com/mitchellh/reflectwalk/location.go | GO | mpl-2.0 | 195 |
#
# arch/score/boot/Makefile
#
# This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#
targets := vmlinux.bin
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
@echo 'Kernel: $@ is ready' '... | AiJiaZone/linux-4.0 | virt/arch/score/boot/Makefile | Makefile | gpl-2.0 | 370 |
<?php
/*
* $Id: TarTask.php 220 2007-08-21 00:03:13Z hans $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN... | voota/voota | www/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/TarTask.php | PHP | mit | 14,247 |
/*
* watchdog_core.c
*
* (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
* All Rights Reserved.
*
* (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
*
* This source code is part of the generic code that can be used
* by all the watchdog timer drivers.
*
* Based on source code of th... | SanDisk-Open-Source/SSD_Dashboard | uefi/linux-source-3.8.0/drivers/watchdog/watchdog_core.c | C | gpl-2.0 | 4,853 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright 2016 IBM Corporation.
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/cpu.h>
#include <linux/of.h>
#include <asm/smp.h>
#include <asm/irq.h>
#include <asm/errno... | CSE3320/kernel-code | linux-5.8/arch/powerpc/sysdev/xics/icp-opal.c | C | gpl-2.0 | 4,387 |
0.0.2 / 2014-02-20
==================
* fix infinite loop
0.0.1 / 2014-01-15
==================
* fix error bubbling
0.0.0 / 2014-01-13
==================
* initial release
| kressentolm/jensite | wp-content/themes/eddiemachado-bones-652abb9/node_modules/grunt-contrib-imagemin/node_modules/image-min/node_modules/multipipe/History.md | Markdown | gpl-2.0 | 181 |
// Boost.Assign library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is 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)
//
// For more information, see http://www.boost.org/libs/ass... | hpl1nk/nonamegame | xray/SDK/include/boost/assign/std/map.hpp | C++ | gpl-3.0 | 1,085 |
/*
* Copyright 2007 Robert Schwebel <r.schwebel@pengutronix.de>, Pengutronix
* Copyright (C) 2009 Sascha Hauer (kernel@pengutronix.de)
*
* 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; eit... | JijonHyuni/HyperKernel-JB | virt/arch/arm/mach-imx/mach-pca100.c | C | gpl-2.0 | 10,691 |
Bitcoin-Qt version 0.8.2 is now available from:
http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/
This is a maintenance release that fixes many bugs and includes
a few small new features.
Please report bugs using the issue tracker at github:
https://github.com/bitcoin/bitcoin/issues
How to Up... | projectinterzone/ITZ | src/doc/release-notes/bitcoin/release-notes-0.8.2.md | Markdown | mit | 4,464 |
/*
* Driver for the Conexant CX23885 PCIe bridge
*
* Copyright (c) 2007 Steven Toth <stoth@linuxtv.org>
*
* 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 Lice... | JijonHyuni/HyperKernel-JB | virt/drivers/media/video/cx23885/cx23885-video.c | C | gpl-2.0 | 40,135 |
/*
* Copyright (C) 2015 Cavium, Inc.
*
* 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.
*/
#ifndef THUNDER_BGX_H
#define THUNDER_BGX_H
#define MAX_BGX_THUNDER 8 /* Max 4... | publicloudapp/csrutil | linux-4.3/drivers/net/ethernet/cavium/thunder/thunder_bgx.h | C | mit | 7,595 |
/*
* Copyright (c) International Business Machines Corp., 2006
*
* 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/drivers/mtd/ubi/debug.c | C | gpl-3.0 | 15,674 |
-- Delete redundant data first
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (3042,3043,3044,3045,3046,3047,3048,3053,3055,3056,3057,3058,3059,3060,3061,3063,3073,3074,3075,3076,3077,3078,3079,3080,3081,3082,3083,3084,3085,3086,3087,3088,3089,3090,3091,3092,3093,3094,3095);
INSERT INTO `spelldifficulty_dbc` (`id`, `s... | BuloZB/SkyFireEMU | sql/updates/world/40_world_spelldifficulty_dbc.sql | SQL | gpl-3.0 | 978 |
(function (global, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports', 'module', './util'], factory);
} else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {
factory(exports, module, require('./util'));
} else {
var mod = {
exports: {}
};
... | davygxyz/neundorfer | wp-content/themes/neundorfer/sass/bootstrap/docs/dist/js/umd/modal.js | JavaScript | gpl-2.0 | 17,699 |
/*=============================================================================
Copyright (c) 2001 Doug Gregor
Copyright (c) 1999-2003 Jaakko Jarvi
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at ht... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/boost/fusion/container/generation/ignore.hpp | C++ | gpl-3.0 | 1,129 |
<?php
namespace Drupal\system\Controller;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Controller\ControllerBase;
use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface;
use Drupal\Core\Render\BareHtmlPageRendererInterface;
use Drupal\Core\Ses... | windtrader/drupalvm-d8 | web/core/modules/system/src/Controller/DbUpdateController.php | PHP | gpl-2.0 | 25,829 |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* dlmconvert.h
*
* Copyright (C) 2004 Oracle. All rights reserved.
*/
#ifndef DLMCONVERT_H
#define DLMCONVERT_H
enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
struct dlm_l... | CSE3320/kernel-code | linux-5.8/fs/ocfs2/dlm/dlmconvert.h | C | gpl-2.0 | 542 |
<h1
| akumar21NCSU/servo | tests/unit/net/parsable_mime/text/html/text_html_h1_20_u.html | HTML | mpl-2.0 | 9 |
"use strict";
exports.__esModule = true;
var _typeof2 = require("babel-runtime/helpers/typeof");
var _typeof3 = _interopRequireDefault(_typeof2);
var _keys = require("babel-runtime/core-js/object/keys");
var _keys2 = _interopRequireDefault(_keys);
var _getIterator2 = require("babel-runtime/core-js/get-iterator");... | jintoppy/react-training | step8-unittest/node_modules/babel-plugin-transform-decorators/node_modules/babel-traverse/lib/visitors.js | JavaScript | mit | 8,665 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.