repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
AnHongMin/pages | node_modules/karma/context/karma.js | 4648 | // Load our dependencies
var stringify = require('../common/stringify')
// Define our context Karma constructor
var ContextKarma = function (callParentKarmaMethod) {
// Define local variables
var hasError = false
var self = this
// Define our loggers
// DEV: These are intentionally repeated in client and co... | mit |
grubernaut/packer | vendor/github.com/approvals/go-approval-tests/reporters/newbie.go | 498 | package reporters
import (
"fmt"
)
type printSupportedDiffPrograms struct{}
// NewPrintSupportedDiffProgramsReporter creates a new reporter that states what reporters are supported.
func NewPrintSupportedDiffProgramsReporter() Reporter {
return &quiet{}
}
func (s *printSupportedDiffPrograms) Report(approved, rece... | mpl-2.0 |
Godiyos/python-for-android | python-modules/twisted/twisted/conch/ssh/channel.py | 9284 | # -*- test-case-name: twisted.conch.test.test_channel -*-
# Copyright (c) 2001-2008 Twisted Matrix Laboratories.
# See LICENSE for details.
#
"""
The parent class for all the SSH Channels. Currently implemented channels
are session. direct-tcp, and forwarded-tcp.
Maintainer: Paul Swartz
"""
from twisted.python impo... | apache-2.0 |
Piicksarn/cdnjs | ajax/libs/drawer/3.0.0/js/drawer.js | 4381 | /*!
* jquery-drawer v3.0.0
* Flexible drawer menu using jQuery, iScroll and CSS.
* http://git.blivesta.com/drawer
* License : MIT
* Author : blivesta <design@blivesta.com> (http://blivesta.com/)
*/
;(function (factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['jquery'], f... | mit |
jakesays/coreclr | src/mscorlib/src/System/Reflection/Emit/SignatureHelper.cs | 38843 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace System.Reflection.Emit
{
using System.Text;
using System;
using System.Diagnostics.Contracts;
using System.Reflection;
using System.... | mit |
dongguangming/django-oscar | src/oscar/apps/wishlists/models.py | 389 | # -*- coding: utf-8 -*-
from oscar.core.loading import is_model_registered
from .abstract_models import * # noqa
__all__ = []
if not is_model_registered('wishlists', 'WishList'):
class WishList(AbstractWishList):
pass
__all__.append('WishList')
if not is_model_registered('wishlists', 'Line'):
... | bsd-3-clause |
jianpingw/sails | errors/fatal.js | 8500 | /**
* Module dependencies
*/
var nodeutil = require('util');
var nodepath = require('path');
// Build logger using best-available information
// when this module is initially required.
var log = require('captains-log')(require('../lib/app/configuration/rc'));
/**
* Fatal Errors
*/
module.exports = {
// Lift-ti... | mit |
dannyxx001/cdnjs | ajax/libs/peity/0.3.4/jquery.peity.min.js | 2123 | // Peity jQuery plugin version 0.3.4
// (c) 2010 Ben Pickles
//
// http://benpickles.github.com/peity/
//
// Released under MIT license.
(function(j,m){function l(e,a){var b=m.createElement("canvas");b.setAttribute("width",e);b.setAttribute("height",a);return b}var i=j.fn.peity=function(e,a){m.createElement("canvas").g... | mit |
michaelgallacher/intellij-community | python/lib/Lib/site-packages/django/contrib/auth/management/commands/changepassword.py | 1527 | from django.core.management.base import BaseCommand, CommandError
from django.contrib.auth.models import User
import getpass
class Command(BaseCommand):
help = "Change a user's password for django.contrib.auth."
requires_model_validation = False
def _get_pass(self, prompt="Password: "):
p = getpa... | apache-2.0 |
matrix-msu/Kora3 | vendor/symfony/mime/Tests/Part/Multipart/DigestPartTest.php | 836 | <?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\Mime\Tests\Part\Multipart;
use PHPUnit\Framework\Test... | gpl-2.0 |
whuwxl/kubernetes | pkg/registry/core/configmap/storage/storage.go | 1898 | /*
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, ... | apache-2.0 |
piquadrat/django | django/conf/locale/ca/formats.py | 949 | # This file is distributed under the same license as the Django package.
#
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = r'j \d\e F \d\e Y'
TIME_FORMAT = 'G:i'
DATETIME_FORMAT = r'j \d\e F \d\e Y \a \l\e\s G:i'
YEAR_MONTH_... | bsd-3-clause |
marc17/gepi | lib/dojo/dojox/atom/widget/nls/nb/FeedViewerEntry.js.uncompressed.js | 86 | define(
"dojox/atom/widget/nls/nb/FeedViewerEntry", ({
deleteButton: "[Slett]"
})
);
| gpl-2.0 |
TaurusTiger/binnavi | src/main/java/com/google/security/zynamics/binnavi/Gui/Debug/Bookmarks/CBookmarkTable.java | 3570 | /*
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 ... | apache-2.0 |
aeppert/binnavi | src/main/java/com/google/security/zynamics/binnavi/ZyGraph/Menus/Actions/CUnhideAndSelectAction.java | 2265 | /*
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 ... | apache-2.0 |
erikluo/omaha | common/lang_unittest.cc | 13492 | // Copyright 2010 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 in... | apache-2.0 |
eugenpodaru/DefinitelyTyped | sax/sax-tests.ts | 2305 | /// <reference path="../node/node.d.ts" />
/// <reference path="./sax.d.ts" />
import sax = require("sax");
import fs = require("fs");
(function xmlnsTests() {
let opts: sax.SAXOptions = {
lowercase: true,
normalize: true,
xmlns: true,
position: true
};
let parser = sax.par... | mit |
tonypartridge/joomla-cms | media/system/js/fields/calendar-locales/de.js | 634 | window.JoomlaCalLocale = {
today : "Heute",
weekend : [0, 6],
wk : "KW",
time : "Uhrzeit:",
days : ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
shortDays : ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam"],
months : ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli... | gpl-2.0 |
puppeh/gcc-6502 | gcc/testsuite/g++.dg/ipa/devirt-28a.C | 295 | // PR c++/58678
// { dg-options "-O3 -flto -shared -fPIC -Wl,--no-undefined" }
// { dg-do link { target { { gld && fpic } && shared } } }
// { dg-require-effective-target lto }
struct A {
virtual ~A();
};
struct B : A {
virtual int m_fn1();
};
void fn1(B* b) {
delete b;
}
int main() {}
| gpl-2.0 |
kpjs4s/AppInventorJavaBridgeCodeGen | appinventor/lib/closure-library/closure/goog/ui/imagelessbuttonrenderer.js | 7493 | // Copyright 2008 The Closure Library 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 requ... | apache-2.0 |
cgvarela/chef | lib/chef/daemon.rb | 4300 | #
# Author:: AJ Christensen (<aj@junglist.gen.nz>)
# Copyright:: Copyright (c) 2008 Opscode, Inc.
# License:: Apache License, Version 2.0
#
# 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
#
# ... | apache-2.0 |
ar4s/django | tests/urlpatterns_reverse/urls_without_handlers.py | 241 | # A URLconf that doesn't define any handlerXXX.
from django.urls import path
from .views import bad_view, empty_view
urlpatterns = [
path('test_view/', empty_view, name="test_view"),
path('bad_view/', bad_view, name="bad_view"),
]
| bsd-3-clause |
JennyCumming/blog | core/modules/system/src/Tests/Menu/MenuTestBase.php | 489 | <?php
namespace Drupal\system\Tests\Menu;
@trigger_error(__NAMESPACE__ . '\MenuTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\Tests\BrowserTestBase', E_USER_DEPRECATED);
use Drupal\simpletest\WebTestBase;
/**
* Base class for Menu tests.
*
* @deprecated Sched... | gpl-2.0 |
tmpgit/intellij-community | platform/platform-impl/src/com/intellij/ui/TableViewSpeedSearch.java | 2102 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
ashwary/RxJava | src/test/java/rx/internal/operators/OperatorOnErrorReturnTest.java | 7410 | /**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
SerCeMan/intellij-community | platform/platform-impl/src/com/intellij/openapi/vfs/impl/http/HttpFileSystemImpl.java | 947 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
jonobr1/cdnjs | ajax/libs/bootstrap-calendar/0.2.2/js/language/template.js | 4498 | // If you want to suggest a new language you can use this file as a template.
// To reduce the file size you should remove the comment lines (the ones that start with // )
if(!window.calendar_languages) {
window.calendar_languages = {};
}
// Here you define the language and Country code. Replace en-US with your own.
/... | mit |
djrobson/binnavi | src/test/java/com/google/security/zynamics/binnavi/disassembly/AddressSpaces/MockAddressSpaceContentListener.java | 1541 | /*
Copyright 2014 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 ... | apache-2.0 |
MisterAndersen/elasticsearch | core/src/main/java/org/elasticsearch/common/lucene/index/ElasticsearchLeafReader.java | 2678 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
bonitadecker77/python-for-android | android/Common/src/com/googlecode/android_scripting/trigger/Trigger.java | 1438 | /*
* Copyright (C) 2010 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 ... | apache-2.0 |
khchine5/lino | lino/modlib/openui5/static/openui5/openui5-CKEditor/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js | 4382 | /*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("a11yhelp","mk",{title:"Инструкции за пристапност",contents:"Содржина на делот за помош. За да го затворите овој дијалог притисне... | bsd-2-clause |
helenst/django | tests/admin_registration/models.py | 354 | """
Tests for various ways of registering models with the admin site.
"""
from django.db import models
class Person(models.Model):
name = models.CharField(max_length=200)
class Traveler(Person):
pass
class Location(models.Model):
class Meta:
abstract = True
class Place(Location):
name =... | bsd-3-clause |
jameseggers/docker | integration-cli/docker_cli_diff_test.go | 2581 | package main
import (
"strings"
"github.com/docker/docker/pkg/integration/checker"
"github.com/go-check/check"
)
// ensure that an added file shows up in docker diff
func (s *DockerSuite) TestDiffFilenameShownInOutput(c *check.C) {
testRequires(c, DaemonIsLinux)
containerCmd := `echo foo > /root/bar`
out, _ :=... | apache-2.0 |
aveshagarwal/origin | vendor/golang.org/x/tools/imports/fastwalk_test.go | 4259 | // Copyright 2016 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 imports
import (
"bytes"
"flag"
"fmt"
"os"
"path/filepath"
"reflect"
"runtime"
"sort"
"strings"
"sync"
"testing"
)
func formatFileModes(m m... | apache-2.0 |
billti/TypeScript | tests/baselines/reference/declarationEmitDefaultExport8.js | 385 | //// [declarationEmitDefaultExport8.ts]
var _default = 1;
export {_default as d}
export default 1 + 2;
//// [declarationEmitDefaultExport8.js]
var _default = 1;
export { _default as d };
export default 1 + 2;
//// [declarationEmitDefaultExport8.d.ts]
declare var _default: number;
export { _default as d ... | apache-2.0 |
sufuf3/cdnjs | ajax/libs/svg4everybody/2.1.2/svg4everybody.legacy.js | 6853 | !function(root, factory) {
"function" == typeof define && define.amd ? // AMD. Register as an anonymous module unless amdModuleId is set
define([], function() {
return root.svg4everybody = factory();
}) : "object" == typeof exports ? // Node. Does not work with strict CommonJS, but
// only Commo... | mit |
puppeh/gcc-6502 | libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp | 7962 | // -*- C++ -*-
// Copyright (C) 2005-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Foundation; either version 3... | gpl-2.0 |
pshc/rust | src/test/run-fail/assert-macro-fmt.rs | 594 | // Copyright 2013 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 ... | apache-2.0 |
jeanregisser/homebrew-cask | Casks/yemuzip.rb | 427 | cask 'yemuzip' do
version '2.4.3'
sha256 'f554c0ef41fe3fa0aa9d13663a8346db99c95e7108a200474918fe390076ca9c'
url "http://yellowmug.com/download/YemuZip_#{version}.dmg"
appcast 'http://yellowmug.com/yemuzip/appcast.xml',
checkpoint: '2ede15a2a242f583876e6e5f5957368819435adff6347431862c5a45ee7b2a42'
n... | bsd-2-clause |
useiichi/spree | backend/app/controllers/spree/admin/customer_returns_controller.rb | 2392 | module Spree
module Admin
class CustomerReturnsController < ResourceController
belongs_to 'spree/order', find_by: :number
before_action :parent # ensure order gets loaded to support our pseudo parent-child relationship
before_action :load_form_data, only: [:new, :edit]
create.before :bui... | bsd-3-clause |
franksun/wp | components/com_config/view/templates/html.php | 677 | <?php
/**
* @package Joomla.Site
* @subpackage com_config
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* View to edit a template style.
*
* @since ... | gpl-2.0 |
abhinay100/openerm_app | library/classes/rulesets/Cqm/reports/NFQ_0024/PopulationCriteria3.php | 1040 | <?php
// Copyright (C) 2011 Ken Chapple <ken@mi-squared.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; either version 2
// of the License, or (at your option) any later version.
//
c... | gpl-3.0 |
udogan/baklavaborekmatik | vendor/gedmo/doctrine-extensions/tests/Gedmo/Translatable/Fixture/Document/Personal/ArticleTranslation.php | 446 | <?php
namespace Translatable\Fixture\Document\Personal;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoODM;
use Gedmo\Translatable\Document\MappedSuperclass\AbstractPersonalTranslation;
/**
* @MongoODM\Document(collection="article_translations")
*/
class ArticleTranslation extends AbstractPersonalTranslation
... | gpl-3.0 |
priyawadhwa/runtimes-common | vendor/golang.org/x/oauth2/google/doc_not_go19.go | 2101 | // Copyright 2018 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.
// +build !go1.9
// Package google provides support for making OAuth2 authorized and authenticated
// HTTP requests to Google APIs. It supports the Web server ... | apache-2.0 |
stefanbirkner/junit | src/main/java/org/junit/internal/RealSystem.java | 323 | package org.junit.internal;
import java.io.PrintStream;
public class RealSystem implements JUnitSystem {
/**
* Will be removed in the next major release
*/
@Deprecated
public void exit(int code) {
System.exit(code);
}
public PrintStream out() {
return System.out;
}
... | epl-1.0 |
GunoH/intellij-community | python/testData/completion/weakQualifierBoundMethodAttributes.py | 139 | class MyClass(object):
def method(self):
pass
if True:
inst = MyClass()
else:
inst = unresolved
inst.method.__<caret> | apache-2.0 |
mikeusry/BLG6 | sites/all/modules/panels/plugins/export_ui/panels_layouts_ui.class.php | 9012 | <?php
// $Id: panels_layouts_ui.class.php,v 1.1.2.8 2010/07/23 21:49:03 merlinofchaos Exp $
class panels_layouts_ui extends ctools_export_ui {
var $lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam egestas congue nibh, vel dictum ante posuere vitae. Cras gravida massa tempor metus eleifend sed e... | gpl-2.0 |
rodriguezdevera/sakai | signup/tool/src/java/org/sakaiproject/signup/tool/jsf/signupFilter.java | 3379 | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the "License"... | apache-2.0 |
gregorypratt/jsdelivr | files/rxjs/2.5.0/rx.all.compat.js | 386502 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
v... | mit |
ashwinr/DefinitelyTyped | types/react-icons/fa/fighter-jet.d.ts | 158 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class FaFighterJet extends React.Component<IconBaseProps> { }
| mit |
ashwinr/DefinitelyTyped | types/react-icons/io/ios-download-outline.d.ts | 166 | import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class IoIosDownloadOutline extends React.Component<IconBaseProps> { }
| mit |
bgold09/azure-powershell | src/ServiceManagement/Storage/Commands.Storage.ScenarioTest/StorageObjectType.cs | 909 | // ----------------------------------------------------------------------------------
//
// 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.apac... | apache-2.0 |
dalinhuang/cameras | includes/modules/pages/create_account/jscript_addr_pulldowns.php | 2765 | <?php
/**
* jscript_addr_pulldowns
*
* handles pulldown menu dependencies for state/country selection
*
* @package page
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
... | gpl-2.0 |
YaDelivery/yii | build/generate_accessors_phpdoc.php | 4205 | <?php
$nFiles = 0;
$nFilesTotal = 0;
$nClasses = 0;
$nClassesTotal = 0;
file_put_contents(
dirname(__FILE__) . '/phpdoc.txt',
getPhpDocForDir(dirname(dirname(__FILE__)) . '/framework') . getPhpDocStats()
// getPhpDocForDir(dirname(dirname(__FILE__)) . '/framework/caching') . getPhpDocStats()
// getPhpDocForDir(d... | bsd-3-clause |
SerCeMan/intellij-community | java/java-tests/testData/compileServer/incremental/markDirty/recompileDependent/src/Client.java | 104 | class Client {
public static void main(String[] args) {
System.out.println(Server.CONSTANT);
}
} | apache-2.0 |
tylerball/homebrew | Library/Formula/dnsmasq.rb | 2313 | class Dnsmasq < Formula
homepage "http://www.thekelleys.org.uk/dnsmasq/doc.html"
url "http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.72.tar.gz"
sha1 "c2dc54b142ec5676d6e22951bc5b61863b0503fe"
bottle do
revision 1
sha1 "68baa9fab86c8f30738984f2d734d537a0e815e5" => :yosemite
sha1 "926b6cf81ecd09011a6... | bsd-2-clause |
mdaniel/intellij-community | java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/PsiImportListStub.java | 823 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
chbfiv/fabric-engine-old | Native/ThirdParty/Private/include/boost/boost/xpressive/regex_constants.hpp | 16829 | ///////////////////////////////////////////////////////////////////////////////
/// \file regex_constants.hpp
/// Contains definitions for the syntax_option_type, match_flag_type and
/// error_type enumerations.
//
// Copyright 2008 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See acco... | agpl-3.0 |
nhoobin/moodle | lib/horde/framework/Horde/Mail/Rfc822/Object.php | 2676 | <?php
/**
* Copyright 2012-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file LICENSE for license information (BSD). If you
* did not receive this file, see http://www.horde.org/licenses/bsd.
*
* @category Horde
* @copyright 2012-2017 Horde LLC
* @license http://www.horde.org/licenses/bsd New B... | gpl-3.0 |
KonaTeam/DefinitelyTyped | jquerymobile/jquerymobile.d.ts | 11922 | // Type definitions for jQuery Mobile 1.4
// Project: http://jquerymobile.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts"/>
interface JQueryMobileEvent { (event: Event, ui: any): ... | mit |
psykidellic/appengine-flask-skeleton | lib/werkzeug/debug/__init__.py | 17271 | # -*- coding: utf-8 -*-
"""
werkzeug.debug
~~~~~~~~~~~~~~
WSGI application traceback debugger.
:copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import os
import re
import sys
import uuid
import json
import time
import getpass... | apache-2.0 |
vchandev/conversation | node_modules/eslint/lib/rules/space-unary-ops.js | 11158 | /**
* @fileoverview This rule shoud require or disallow spaces before or after unary operations.
* @author Marcin Kumorek
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//---------------------------------------------------------------------------... | apache-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/g++.dg/cpp0x/constexpr-ice10.C | 150 | // PR c++/60225
// { dg-do compile { target c++11 } }
struct A
{
constexpr A() {}
static constexpr A a[2] = {}; // { dg-error "incomplete" }
};
| gpl-2.0 |
nolsherry/cdnjs | ajax/libs/react-virtualized/5.2.4/react-virtualized.js | 118978 | !function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("react"), require("react-dom")) : "function" == typeof define && define.amd ? define([ "react", "react-dom" ], factory) : "object" == typeof exports ? exports.ReactVirtualized = factory(require("rea... | mit |
joseroes/altura_hotel | administrator/components/com_content/content.php | 642 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_content
*
* @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;
if (!JFactory::getUser()->authorise('core.... | gpl-2.0 |
snkrishnan1/PivotGridSample | node_modules/browser-sync-ui/lib/plugins/remote-debug/overlay-grid/overlay-grid.client.js | 1427 | (function (angular) {
const SECTION_NAME = "remote-debug";
/**
* Display the snippet when in snippet mode
*/
angular
.module("BrowserSync")
.directive("cssGrid", function () {
return {
restrict: "E",
replace: true,
... | mit |
mquandalle/rethinkdb | external/v8_3.30.33.16/test/webkit/dfg-intrinsic-unused-this-method-check.js | 2037 | // Copyright 2013 the V8 project authors. All rights reserved.
// Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions o... | agpl-3.0 |
cunningt/camel | camel-core/src/test/java/org/apache/camel/management/BacklogDebuggerTest.java | 28774 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
DLehenbauer/TypeScript | tests/baselines/reference/parserRegularExpression4.js | 676 | //// [parserRegularExpression4.ts]
if (Ca.test(c.href) || Ba.test(c.href) && /(\\?|&)adurl=/.test(c.href) && !/(\\?|&)q=/.test(c.href)) / (\\ ? | & ) rct = j / .test(c.href) || (d += "&rct=j"), /(\\?|&)q=/.test(c.href) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href.leng... | apache-2.0 |
noraesae/cdnjs | ajax/libs/jinplace/1.1.0/jinplace.min.js | 4380 | /*
Copyright ? 2013, 2014 the jinplace team and contributors.
MIT Licence */
(function(d,s,n,h){function k(b,a){var c=this.element=d(b),c=this.elementOptions(c);c.activator=d(c.activator||b);this.opts=c=d.extend({},d.fn[f].defaults,a,c);this.bindElement(c)}var f="jinplace",p="type url data loadurl elementId object at... | mit |
Sribalaji1004/Angular-form | node_modules/rxjs/scheduler/AsapAction.d.ts | 573 | import { AsyncAction } from './AsyncAction';
import { AsapScheduler } from './AsapScheduler';
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export declare class AsapAction<T> extends AsyncAction<T> {
protected scheduler: AsapScheduler;
protected work: (state?: T) =>... | mit |
miguel250/vagrant | plugins/commands/plugin/command/update.rb | 681 | require 'optparse'
require_relative "base"
require_relative "mixin_install_opts"
module VagrantPlugins
module CommandPlugin
module Command
class Update < Base
include MixinInstallOpts
def execute
opts = OptionParser.new do |o|
o.banner = "Usage: vagrant plugin update... | mit |
mposolda/keycloak | examples/broker/saml-broker-authentication/src/main/webapp/js/lib/angular/angular-loader.js | 15140 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | apache-2.0 |
cherryhill/playatyourlibrary | tests/behat/vendor/symfony/console/Symfony/Component/Console/Helper/TableSeparator.php | 405 | <?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\Console\Helper;
/**
* Marks a row as being a separat... | gpl-2.0 |
tinganho/TypeScript | tests/cases/conformance/classes/indexMemberDeclarations/privateIndexer.ts | 179 | // private indexers not allowed
class C {
private [x: string]: string;
}
class D {
private [x: number]: string;
}
class E<T> {
private [x: string]: T;
} | apache-2.0 |
notdol/mongodb_lecture | crud/node_modules/mongoose/node_modules/hooks/hooks.js | 5385 | // TODO Add in pre and post skipping options
module.exports = {
/**
* Declares a new hook to which you can add pres and posts
* @param {String} name of the function
* @param {Function} the method
* @param {Function} the error handler callback
*/
hook: function (name, fn, errorCb) {
if (argume... | mit |
emelleme/PhillyOpen | sapphire/thirdparty/tinymce/themes/simple/langs/pl.js | 384 | tinyMCE.addI18n('pl.simple',{
bold_desc:"Pogrubienie (Ctrl+B)",
italic_desc:"Kursywa (Ctrl+I)",
underline_desc:"Podkre\u015Blenie (Ctrl+U)",
striketrough_desc:"Przekre\u015Blenie",
bullist_desc:"Lista nienumerowana",
numlist_desc:"Lista numerowana",
undo_desc:"Cofnij (Ctrl+Z)",
redo_desc:"Pon\u00F3w (Ctrl+Y)",
... | bsd-3-clause |
AdoHe/libnetwork | Godeps/_workspace/src/github.com/docker/docker/pkg/term/term_windows.go | 6069 | // +build windows
package term
import (
"fmt"
"io"
"os"
"os/signal"
"github.com/Azure/go-ansiterm/winterm"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/term/windows"
)
// State holds the console mode for the terminal.
type State struct {
mode uint32
}
// Winsize is used for window size.
type ... | apache-2.0 |
stripe/smokescreen | vendor/golang.org/x/sys/unix/syscall_darwin.1_12.go | 846 | // Copyright 2019 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.
// +build darwin,go1.12,!go1.13
package unix
import (
"unsafe"
)
const _SYS_GETDIRENTRIES64 = 344
func Getdirentries(fd int, buf []byte, basep *uintptr) (n... | mit |
anhredweb/togtejendomme.dk | libraries/joomla/base/observer.php | 1218 | <?php
/**
* @package Joomla.Platform
* @subpackage Base
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
/**
* Abstract observer class to implement the ob... | gpl-2.0 |
davidni/Windows-universal-samples | Samples/Notifications/cs/Notifications/ScenarioPages/Badges/Local/PrimaryTile/SetBadgeGlyph/ScenarioElement.xaml.cs | 1514 | using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
namespace Notifications.ScenarioPages.Badges.Local.PrimaryTile.SetBadgeGlyph
{
/// <summary>
/// An... | mit |
HENM1415/henm1415g2 | NodeJS/node_modules/mongoose/lib/utils.js | 15080 | /*!
* Module dependencies.
*/
var ReadPref = require('mongodb').ReadPreference
, ObjectId = require('./types/objectid')
, cloneRegExp = require('regexp-clone')
, sliced = require('sliced')
, mpath = require('mpath')
, ms = require('ms')
, MongooseBuffer
, MongooseArray
, Document
/*!
* Produces a c... | apache-2.0 |
jaybenzz/homebrew | Library/Formula/vault-cli.rb | 598 | require "formula"
class VaultCli < Formula
homepage "http://jackrabbit.apache.org/filevault/index.html"
url "http://search.maven.org/remotecontent?filepath=org/apache/jackrabbit/vault/vault-cli/3.1.6/vault-cli-3.1.6-bin.tar.gz"
sha1 "3dd2c596ce8936c983e95b6cc868885f51b02992"
def install
# Remove windows f... | bsd-2-clause |
jspahrsummers/homebrew | Library/Formula/libhid.rb | 1787 | require "formula"
class Libhid < Formula
homepage "http://libhid.alioth.debian.org/"
url "http://distcache.freebsd.org/ports-distfiles/libhid-0.2.16.tar.gz"
sha1 "9a25fef674e8f20f97fea6700eb91c21ebbbcc02"
bottle do
cellar :any
revision 1
sha1 "906bbdb53b10becc5fa7662513ac7ee98bef5b24" => :yosemite... | bsd-2-clause |
kaikiai/kimai | libraries/zendframework/zendframework1/library/Zend/Measure/Energy.php | 14412 | <?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... | gpl-3.0 |
chipironcin/opencart | upload/catalog/controller/payment/paypoint.php | 7189 | <?php
class ControllerPaymentPaypoint extends Controller {
public function index() {
$data['button_confirm'] = $this->language->get('button_confirm');
$this->load->model('checkout/order');
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);
$data['merchant'] = $this->confi... | gpl-3.0 |
jollygeorge/camel | components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/MultiPartCxfServerTest.java | 8191 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
pplatek/camel | components/camel-netty4/src/main/java/org/apache/camel/component/netty4/ChannelHandlerFactories.java | 6773 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
SamirSouzaSys/zendf2napratica | vendor/zendframework/zendframework/resources/languages/ar/Zend_Validate.php | 21692 | <?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
*/
/**
... | bsd-3-clause |
wuxianghou/phantomjs | src/qt/qtwebkit/Source/JavaScriptCore/bytecode/ExecutionCounter.cpp | 6093 | /*
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | bsd-3-clause |
medikid/mccee | sites/all/libraries/Zend/Session/Validator/Abstract.php | 2209 | <?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... | gpl-2.0 |
torstenzander/myinvoiz | vendor/gedmo-doctrine-extensions/tests/Gedmo/Tree/Fixture/Transport/Bus.php | 129 | <?php
namespace Tree\Fixture\Transport;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
*/
class Bus extends Vehicle
{
} | mit |
vancarney/apihero-module-socket.io | node_modules/docco/node_modules/highlight.js/lib/languages/stylus.js | 8327 | module.exports = function(hljs) {
var VARIABLE = {
className: 'variable',
begin: '\\$' + hljs.IDENT_RE
};
var HEX_COLOR = {
className: 'hexcolor',
begin: '#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})',
relevance: 10
};
var AT_KEYWORDS = [
'charset',
'css',
'debug',
'extend',
'fo... | mit |
diegopacheco/scala-playground | caliban-graphql-fun/src/main/resources/gateway/node_modules/core-js/internals/uid.js | 177 | var id = 0;
var postfix = Math.random();
module.exports = function (key) {
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
};
| unlicense |
tmckayus/oshinko-cli | vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/vendor/github.com/pkg/errors/example_test.go | 3886 | package errors_test
import (
"fmt"
"github.com/pkg/errors"
)
func ExampleNew() {
err := errors.New("whoops")
fmt.Println(err)
// Output: whoops
}
func ExampleNew_printf() {
err := errors.New("whoops")
fmt.Printf("%+v", err)
// Example output:
// whoops
// github.com/pkg/errors_test.ExampleNew_printf
//... | apache-2.0 |
pplatek/camel | components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java | 1468 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
gitromand/phantomjs | src/qt/qtwebkit/Source/WebCore/Modules/mediastream/NavigatorMediaStream.cpp | 2339 | /*
* Copyright (C) 2000 Harri Porten (porten@kde.org)
* Copyright (c) 2000 Daniel Molkentin (molkentin@kde.org)
* Copyright (c) 2000 Stefan Schimanski (schimmi@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
*
* This li... | bsd-3-clause |
dhoehna/corefx | src/System.IO.Ports/tests/SerialPort/CDHolding.cs | 2697 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.IO.PortsTests;
using Legacy.Support;
using Xunit;
namespace System.IO.Ports.... | mit |
LeChuck42/or1k-gcc | gcc/testsuite/g++.dg/warn/deprecated-8.C | 394 | // PR c++/58305
class ToBeDeprecated {
} __attribute__ ((deprecated ("deprecated!")));
typedef ToBeDeprecated NotToBeDeprecated; // { dg-warning "'ToBeDeprecated' is deprecated" }
int main() {
ToBeDeprecated(); // { dg-warning "'ToBeDeprecated' is deprecated" }
ToBeDeprecated x; // { dg-warning "'ToBeDepr... | gpl-2.0 |
thomaslevesque/roslyn | src/Compilers/Core/Portable/SymbolDisplay/SymbolDisplayParameterOptions.cs | 1961 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Specifies how parameters are displayed in the ... | apache-2.0 |