repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
sandsmedia/zf
tests/Zend/Oauth/Oauth/Signature/PlaintextTest.php
2306
<?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...
bsd-3-clause
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/WebKit/Source/devtools/front_end/ui/Dialog.js
6428
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
bsd-3-clause
endlessm/chromium-browser
third_party/llvm/clang/lib/Serialization/ModuleFile.cpp
3727
//===- ModuleFile.cpp - Module description --------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
bsd-3-clause
ut-osa/laminar
linux-2.6.22.6/drivers/usb/host/ehci-fsl.c
9011
/* * (C) Copyright David Brownell 2000-2002 * Copyright (c) 2005 MontaVista Software * * 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 * optio...
bsd-3-clause
scheib/chromium
third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc
29199
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- /* Copyright (c) 2007, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source cod...
bsd-3-clause
muzining/net
x/tools/oracle/oracle14.go
11129
// Copyright 2014 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.5 // Package oracle contains the implementation of the oracle tool whose // command-line is provided by golang.org/x/tools/cmd/oracle. // // htt...
bsd-3-clause
bitemyapp/github
samples/Issues/Events/ShowRepoEvents.hs
1783
module ShowRepoEvents where import qualified Github.Issues.Events as Github import Data.List (intercalate) import Data.Maybe (fromJust) main = do possibleEvents <- Github.eventsForRepo "thoughtbot" "paperclip" case possibleEvents of (Left error) -> putStrLn $ "Error: " ++ show error (Right events) -...
bsd-3-clause
bpsinc-native/src_third_party_trace-viewer
trace_viewer/tracing/tracks/trace_model_track.css
213
/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .model-track { -webkit-box-flex: 1; }
bsd-3-clause
Dokaponteam/ITF_Project
xampp/perl/lib/CORE/l1_char_class_tab.h
32627
/* -*- buffer-read-only: t -*- * !!!!!!! DO NOT EDIT THIS FILE !!!!!!! * This file is built by regen/mk_PL_charclass.pl from property definitions * and lib/unicore/CaseFolding.txt. * Any changes made here will be lost! */ /* U+00 NUL */ _CC_CNTRL_A|_CC_CNTRL_L1|_CC_QUOTEMETA, /* U+01 SOH */ _CC_CNTRL_A|_CC_CN...
mit
KhaosT/node_mdns
utils/lib/actors.js
1375
var fs = require('fs') , child_process = require('child_process') , _glob = require('glob') , bunch = require('./bunch') ; exports.loadEnv = function loadEnv(env, cb) { var loaders = [] function load(name, cb) { fs.readFile(env[name], function(error, data) { env[name] = env[name].match(/.*\.json$...
mit
ThatSonnyD/brad-pitt-2048
tile-sets/brad pitt/js/bind_polyfill.js
229
Function.prototype.bind = Function.prototype.bind || function (target) { var self = this; return function (args) { if (!(args instanceof Array)) { args = [args]; } self.apply(target, args); }; };
mit
gkhanna79/core-setup
src/managed/Microsoft.DotNet.PlatformAbstractions/Native/NativeMethods.Unix.cs
1173
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NET45 using System; using System.Runtime.InteropServices; namespace Microsoft.DotNet.PlatformAbstractions.Native { internal static par...
mit
dundeemt/SoCo
examples/commandline/discover.py
175
from __future__ import print_function import soco """ Prints the name of each discovered player in the network. """ for zone in soco.discover(): print(zone.player_name)
mit
desarrollotissat/web-interface
web/js/DataTables-1.9.4/media/unit_testing/tests_onhold/2_js/oLanguage.oPaginate.js
2212
// DATA_TEMPLATE: js_data oTest.fnStart( "oLanguage.oPaginate" ); /* Note that the paging language information only has relevence in full numbers */ $(document).ready( function () { /* Check the default */ var oTable = $('#example').dataTable( { "aaData": gaaData, "sPaginationType": "full_numbers" } ...
mit
JonathanUsername/flow
website/_includes/navbar.html
3153
{% include vars.html %} <nav class="navbar navbar-full navbar-fixed-top navbar-dark"> <div class="container"> <a class="navbar-brand" href="{{url_base}}/"> {% include svg/logo-flow-nav.svg %} <span class="sr-only">Flow</span> </a> <div class="clearfix hidden-lg-up"> <button class="navb...
mit
ronnyek/Simple.Data
Simple.Data.UnitTest/AdapterFactoryTest.cs
3058
namespace Simple.Data.UnitTest { using System; using System.Collections.Generic; using NUnit.Framework; [TestFixture] public class AdapterFactoryTest { private static AdapterFactory CreateTarget() { return new CachingAdapterFactory(new StubComposer()); ...
mit
creationix/haml-js
test/div_nesting.html
124
<div>Does not close properly<div>Nested same level as next div</div></div><div>Will be nested, but should be top level</div>
mit
cdnjs/cdnjs
ajax/libs/simple-icons/1.9.28/googlehangouts.min.js
474
module.exports={title:"Google Hangouts",hex:"0C9D58",source:"https://material.google.com/resources/sticker-sheets-icons.html#sticker-sheets-icons-components",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Hangouts icon</title><path d="M12 0C6.2 0 1.5 4.7 1.5 10.5c0 5.5 5 10 10...
mit
Fe-Pi/linux
drivers/acpi/pci_irq.c
14413
/* * pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * Copyright (C) 2002 Dominik Brodowski <devel@brodo.de> * (c) Copyright 2008 Hewlett-Packard Develo...
gpl-2.0
BlackIkeEagle/par2cmdline
src/par1repairersourcefile.h
2641
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and // repair tool). See http://parchive.sourceforge.net for details of PAR 2.0. // // Copyright (c) 2003 Peter Brian Clements // // par2cmdline is free software; you can redistribute it and/or modify // it under the terms of the GNU Gener...
gpl-2.0
sgrichards/BrightonDrupal
vendor/drupal/console/src/Generator/Generator.php
1821
<?php /** * @file * Contains \Drupal\Console\Generator\Generator. */ namespace Drupal\Console\Generator; use Drupal\Console\Helper\HelperTrait; use Drupal\Console\Style\DrupalStyle; class Generator { use HelperTrait; /** * @var array */ private $files; /** * @var bool */ ...
gpl-2.0
alexbevi/scummvm
engines/sherlock/tattoo/widget_files.h
2168
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
gpl-2.0
igsor/okular
OkularConfigureChecks.cmake
420
option( OKULAR_FORCE_DRM "Forces okular to check for DRM to decide if you can copy/print protected pdf. (default=no)" OFF ) if (OKULAR_FORCE_DRM) set(_OKULAR_FORCE_DRM 1) else (OKULAR_FORCE_DRM) set(_OKULAR_FORCE_DRM 0) endif (OKULAR_FORCE_DRM) # at the end, output the configuration configure_file( ...
gpl-2.0
rbheromax/src_glibc
sysdeps/s390/jmpbuf-unwind.h
1928
/* Copyright (C) 2003-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>, 2003. 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 t...
gpl-2.0
Gurgel100/gcc
gcc/testsuite/g++.dg/pr86159.C
194
// { dg-do compile } // { dg-options "-O -w -Wno-psabi" } typedef int vec __attribute__((vector_size(32))); vec fn1() { vec x, zero{}; vec one = zero + 1; return x < zero ? one : zero; }
gpl-2.0
luis-knd/technoMvc
views/tinymce/js/tinymce/classes/ui/Notification.js
3429
/** * Notification.js * * Released under LGPL License. * Copyright (c) 1999-2015 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * Creates a notification instance. * * @-x-less Notification.less * @class tinymce.ui.Notif...
gpl-2.0
jackcommon/vnusa
wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php
16682
<?php /** * Generic Slider super class. Extended by library specific classes. */ class MetaImageSlide extends MetaSlide { /** * Register slide type */ public function __construct() { add_filter( 'metaslider_get_image_slide', array( $this, 'get_slide' ), 10, 2 ); add_action( 'metasli...
gpl-2.0
ikeji/openjdk7-hotspot
src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp
30816
/* * Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
xavilal/moodle
mod/wiki/db/mysql.php
8723
<?PHP // THIS FILE IS DEPRECATED! PLEASE DO NOT MAKE CHANGES TO IT! // // IT IS USED ONLY FOR UPGRADES FROM BEFORE MOODLE 1.7, ALL // LATER CHANGES SHOULD USE upgrade.php IN THIS DIRECTORY. function wiki_upgrade($oldversion) { /// This function does anything necessary to upgrade /// older versions to match current...
gpl-3.0
lasarobotics/FTC5998-2016
ftc_app-master/doc/javadoc/com/qualcomm/robotcore/util/package-summary.html
6375
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>com.qualcomm.robotcore.util</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"...
gpl-3.0
muccc/luftschleuse2
software/avr-crypto-lib/aes/aes256_dec.c
1072
/* aes256_dec.c */ /* This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.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, either version ...
gpl-3.0
ctestlms/portal
mod/turnitintool/lang/sv_utf8/help/turnitintool/partnames.html
265
<p><b><img alt="" src="<?php echo $CFG->wwwroot; ?>/mod/turnitintool/icon.gif" />&nbsp;Turnitin Uppgifter&nbsp;-&nbsp;Uppgiftsdelar</b></p> <p>Bestämmer huruvida delarna av denna uppgift är namngivna delar eller om den här uppgiften är en portfoliouppgift.</p>
gpl-3.0
mindvalley/kensei
system/vendor/Zend/Http/UserAgent/Features/Adapter/DeviceAtlas.php
2924
<?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...
agpl-3.0
nwops/puppet-retrospec
vendor/pup410/lib/puppet/vendor/rgen/lib/rgen/metamodel_builder/data_types.rb
2338
module RGen module MetamodelBuilder module DataTypes # An enum object is used to describe possible attribute values within a # MetamodelBuilder attribute definition. An attribute defined this way can only # take the values specified when creating the Enum object. # Literal values can only be symbo...
agpl-3.0
AkshitaKukreja30/checkstyle
src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/emptylineseparator/InputEmptyLineSeparatorPrePreviousLineEmptiness.java
146
package com.puppycrawl.tools.checkstyle.checks.whitespace.emptylineseparator; public class InputEmptyLineSeparatorPrePreviousLineEmptiness { }
lgpl-2.1
kubernetes/kops
vendor/github.com/aws/aws-sdk-go/service/route53/customizations.go
1121
package route53 import ( "net/url" "regexp" "github.com/aws/aws-sdk-go/aws/awserr" "github.com/aws/aws-sdk-go/aws/client" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/private/protocol/restxml" ) func init() { initClient = func(c *client.Client) { c.Handlers.Build.PushBack(sanitizeURL) ...
apache-2.0
gfyoung/elasticsearch
qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/AbstractRollingTestCase.java
2348
/* * 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
jasonchaffee/apiman
gateway/engine/es/src/main/java/io/apiman/gateway/engine/es/beans/PrimitiveBean.java
1370
/* * Copyright 2015 JBoss 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 i...
apache-2.0
kl0u/flink
flink-tests/src/test/java/org/apache/flink/test/operators/MapPartitionITCase.java
3931
/* * 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 ...
apache-2.0
alibaba/otter
node/etl/src/main/java/com/alibaba/otter/node/etl/common/task/GlobalTask.java
6295
/* * Copyright (C) 2010-2101 Alibaba Group Holding Limited. * * 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 ...
apache-2.0
kostub/dgraph
vendor/github.com/cockroachdb/c-rocksdb/internal/util/delete_scheduler.h
3104
// Copyright (c) 2011-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. #pragma once #incl...
apache-2.0
rawlingsj/gofabric8
vendor/k8s.io/kubernetes/test/e2e_node/system/validators.go
1288
/* Copyright 2016 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
evanv/titan
titan-hadoop-parent/titan-hadoop-1/src/main/java/com/thinkaurelius/titan/hadoop/compat/h1/Hadoop1Compat.java
2628
package com.thinkaurelius.titan.hadoop.compat.h1; import com.thinkaurelius.titan.graphdb.configuration.TitanConstants; import com.thinkaurelius.titan.hadoop.config.job.JobClasspathConfigurer; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.mapreduce.JobContext; import org.apache.hadoop.mapreduce....
apache-2.0
willkiller13/RivoBot
sharding/ShardingManager.js
6803
const path = require('path'); const fs = require('fs'); const EventEmitter = require('events').EventEmitter; const Shard = require('./Shard'); const Collection = require('../util/Collection'); const Util = require('../util/Util'); /** * This is a utility class that can be used to help you spawn shards of your client....
apache-2.0
joehmchan/elasticsearch-net
src/Nest/ElasticClient-MoreLikeThis.cs
2228
using System; using System.Collections.Generic; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { public partial class ElasticClient { /// <inheritdoc /> public ISearchResponse<T> MoreLikeThis<T>(Func<MoreLikeThisDescriptor<T>, MoreLikeThisDescriptor<T>> mltSelector) where T : class {...
apache-2.0
tillrohrmann/flink
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraphException.java
1338
/* * 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 ...
apache-2.0
apache/flink
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/metrics/AggregatedJobMetricsHeaders.java
1648
/* * 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 ...
apache-2.0
Zouuup/cli
cf/commands/featureflag/enable_feature_flag_test.go
2796
package featureflag_test import ( "errors" fakeflag "github.com/cloudfoundry/cli/cf/api/feature_flags/fakes" "github.com/cloudfoundry/cli/cf/command_registry" "github.com/cloudfoundry/cli/cf/configuration/core_config" testcmd "github.com/cloudfoundry/cli/testhelpers/commands" testconfig "github.com/cloudfoundry...
apache-2.0
wangcan2014/otter
node/etl/src/main/java/com/alibaba/otter/node/etl/conflict/exception/ConflictException.java
1785
/* * Copyright (C) 2010-2101 Alibaba Group Holding Limited. * * 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 ...
apache-2.0
jhshin9/scouter
scouter.client/src/org/csstudio/swt/xygraph/util/SingleSourceHelperImpl.java
3045
package org.csstudio.swt.xygraph.util; import org.csstudio.swt.xygraph.figures.XYGraph; import org.eclipse.draw2d.FigureUtilities; import org.eclipse.draw2d.SWTGraphics; import org.eclipse.draw2d.geometry.Dimension; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.swt.SWT; import org.eclipse.sw...
apache-2.0
ghchinoy/tensorflow
tensorflow/compiler/xla/g3doc/tfcompile.md
11297
# Using AOT compilation ## What is tfcompile? `tfcompile` is a standalone tool that ahead-of-time (AOT) compiles TensorFlow graphs into executable code. It can reduce total binary size, and also avoid some runtime overheads. A typical use-case of `tfcompile` is to compile an inference graph into executable code for m...
apache-2.0
ppazos/cabolabs-web-old
forum/applications/dashboard/views/user/users.php
2182
<?php if (!defined('APPLICATION')) exit(); $Alt = FALSE; $Session = Gdn::Session(); $EditUser = $Session->CheckPermission('Garden.Users.Edit'); $DeleteUser = $Session->CheckPermission('Garden.Users.Delete'); foreach ($this->UserData->Result() as $User) { $Alt = $Alt ? FALSE : TRUE; ?> <tr id="<?php echo "UserI...
apache-2.0
thomasschickinger/kubernetes
staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go
3155
/* Copyright 2016 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
VSadov/roslyn
src/Compilers/VisualBasic/Portable/Generated/ErrorFacts.Generated.vb
10820
Namespace Microsoft.CodeAnalysis.VisualBasic Friend Partial Module ErrorFacts Public Function IsWarning(code as ERRID) As Boolean Select Case code Case ERRID.WRN_BadSwitch, ERRID.WRN_NoConfigInResponseFile, ERRID.WRN_IgnoreModuleManifest...
apache-2.0
ropik/yii2
tests/unit/extensions/authclient/signature/RsaSha1Test.php
4625
<?php namespace yiiunit\extensions\authclient\oauth\signature; use yii\authclient\signature\RsaSha1; use yiiunit\extensions\authclient\TestCase; class RsaSha1Test extends TestCase { /** * Returns test public certificate string. * @return string public certificate string. */ protected function ...
bsd-3-clause
regular/pyglet-avbin-optimizations
tools/epydoc/doc/epytext.html
40057
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>The Epytext Markup Language</title> <link rel="stylesheet" href="epydoc.css" type="text/css"/> </head> <!-- $Id: epytext.html 1211 2006-04-10 19:38:37Z edloper $ --> <body> <div class="body"> <h1>The Epytext Markup Language</h1> <a name="overview"/> ...
bsd-3-clause
bikong2/django
tests/auth_tests/test_views.py
45028
# -*- coding: utf-8 -*- from __future__ import unicode_literals import datetime import itertools import os import re from importlib import import_module from django.apps import apps from django.conf import settings from django.contrib.admin.models import LogEntry from django.contrib.auth import REDIRECT_FIELD_NAME, S...
bsd-3-clause
minagri-rwanda/DHIS2-Agriculture
dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/angular-forms/custom-dataentry-form.html
100
<d2-custom-data-entry-form custom-data-entry-form="customDataEntryForm"></d2-custom-data-entry-form>
bsd-3-clause
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/backspace.f
1676
! This file is all about BACKSPACE ! { dg-do run } integer i, n, nr real x(10), y(10) ! PR libfortran/20068 open (20, status='scratch') write (20,*) 1 write (20,*) 2 write (20,*) 3 rewind (20) read (20,*) i if (i .ne. 1) call abort write (*,*) ' ' back...
bsd-3-clause
facebook/node-haste
src/lib/getAssetDataFromName.js
1418
/** * 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. */ 'use stric...
bsd-3-clause
AgtLucas/newww
facets/enterprise/show-trial-signup.js
2680
var utils = require('../../lib/utils'); // if they agree to the ULA, notify hubspot, create a trial and send verification link module.exports = function trialSignup(request, reply) { var postToHubspot = request.server.methods.npme.sendData, getCustomer = request.server.methods.npme.getCustomer; var opts = {}...
isc
davidrynn/monotouch-samples
FontList/Code/NavItemTableSource.cs
4333
using System; using System.Collections.Generic; using UIKit; using Foundation; using System.Reflection; namespace FontList.Code { /// <summary> /// Combined DataSource and Delegate for our UITableView /// </summary> public class NavItemTableSource : UITableViewSource { protected List<NavItemGroup> navItems; s...
mit
AMKohn/mongojs
test/test-aggregate-pipeline.js
1310
var insert = require('./insert') var concat = require('concat-stream') insert('aggregate', [{ name: 'Squirtle', type: 'water' }, { name: 'Starmie', type: 'water' }, { name: 'Charmander', type: 'fire' }, { name: 'Lapras', type: 'water' }], function (db, t, done) { db.a.aggregate([{$group: {_id: '$type'}}, {$p...
mit
keithbox/AngularJS-CRUD-PHP
vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php
87851
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; use ArrayObject; use PhpOffice\PhpSpreadsheet\Calculation\Calculation; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Cell\Coordinate; use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\Cell\DataValidation; use PhpOffice\P...
mit
pingyuanChen/handsontable
src/renderers/autocompleteRenderer.js
2882
import {addClass, hasClass, empty} from './../helpers/dom/element'; import {eventManager as eventManagerObject} from './../eventManager'; import {getRenderer, registerRenderer} from './../renderers'; import {WalkontableCellCoords} from './../3rdparty/walkontable/src/cell/coords'; var clonableWRAPPER = document.create...
mit
sekcheong/referencesource
System.ServiceModel/System/ServiceModel/Channels/TransactionChannelFactory.cs
13242
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- namespace System.ServiceModel.Channels { using System.Collections.Generic; using System.Runt...
mit
huangjilaiqin/nginx
src/http/modules/ngx_http_split_clients_module.c
6443
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> typedef struct { uint32_t percent; ngx_http_variable_value_t value; } ngx_http_split_clients_part_t; typedef struct { ngx_http_complex_value_t v...
mit
johnDorian/johnDorian.github.io
_plugins/tag_gen.rb
853
module Jekyll class TagIndex < Page def initialize(site, base, dir, tag) @site = site @base = base @dir = dir @name = 'index.html' self.process(@name) self.read_yaml(File.join(base, '_layouts'), 'tag_index.html') self.data['tag'] = tag self.data['title'] = "Po...
mit
devxkh/FrankE
src/ThirdParty/sol/sol/demangle.hpp
5420
// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // 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...
mit
inodient/summer-mvc
node_modules/dojo/tests/functional/_base/loader/requirejs/urlfetch/one.js
28
var one = { name: 'one' };
mit
rokn/Count_Words_2015
testing/openjdk/jdk/src/share/classes/sun/java2d/opengl/OGLSurfaceData.java
24976
/* * Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
mit
rafaelcalleja/EmptySymfony2Project
vendor/doctrine/mongodb/lib/Doctrine/MongoDB/Event/EventArgs.php
1647
<?php /* * 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 NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
mit
alobodig/keystone
lib/security/csrf.js
2898
var crypto = require('crypto'); var scmp = require('scmp'); var utils = require('keystone-utils'); // The DISABLE_CSRF environment variable is available to automatically pass // CSRF validation. This is useful in development scenarios where you want to // restart the node process and aren't using a persistent session ...
mit
jim835/qscene_ez
lib/ezc/Document/src/document/xml/docbook.php
4312
<?php /** * File containing the ezcDocumentDocbook class * * @package Document * @version //autogen// * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * The document handler for the docbook document markup. * * @package D...
gpl-2.0
joelcoxokc/joelcoxio
wp-content/themes/vcard/options/options/validation/preg_replace/validation_preg_replace.php
659
<?php class Redux_Validation_preg_replace { /** * Field Constructor. * * Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function * * @since Redux_Options 1.0.0 */ function __construct($field, $value, $current) { $this->field = $fie...
gpl-2.0
Eristoff47/P2
src/public/lib/Zend/Http/UserAgent/Features/Exception.php
1124
<?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
getitnowmarketing/archos_kernel_27
net/bridge/br_ioctl.c
9288
/* * Ioctl handler * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.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 License, or (...
gpl-2.0
ErwanAliasr1/syslinux
tests/unittest/include/linux/list.h
295
#undef container_of /* * The container_of construct: if p is a pointer to member m of * container class c, then return a pointer to the container of which * *p is a member. */ #define container_of(p, c, m) ((c *)((char *)(p) - offsetof(c,m))) #include <../../../com32/include/linux/list.h>
gpl-2.0
pablo93/TrinityCore
src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp
18304
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.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 License, or (at your * option) any later ve...
gpl-2.0
j1nx/Openlinux.Amlogic.M3
drivers/amlogic/amports/deinterlace.c
136980
#include <linux/string.h> #include <linux/timer.h> #include <linux/workqueue.h> #include <linux/platform_device.h> #include <mach/am_regs.h> #include <linux/amports/canvas.h> #include <linux/amports/vframe.h> #include <linux/amports/vframe_provider.h> #include "deinterlace.h" #ifdef DEBUG unsigned di_pre_underflow =...
gpl-2.0
degasus/dolphin
Source/Core/Common/Lazy.h
1340
// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include <functional> #include <utility> #include <variant> namespace Common { // A Lazy object holds a value. If a Lazy object is constructed using // a function as an argument, that function ...
gpl-2.0
Kulmerov/Cinnamon
src/cinnamon-generic-container.h
2327
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ #ifndef __CINNAMON_GENERIC_CONTAINER_H__ #define __CINNAMON_GENERIC_CONTAINER_H__ #include "st.h" #define CINNAMON_TYPE_GENERIC_CONTAINER (cinnamon_generic_container_get_type ()) #define CINNAMON_GENERIC_CONTAINER(obj) ...
gpl-2.0
apc-llc/gcc-5.1.1-knc
gcc/lto/lto.c
103409
/* Top-level LTO routines. Copyright (C) 2009-2015 Free Software Foundation, Inc. Contributed by CodeSourcery, Inc. This file is part of GCC. GCC 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 vers...
gpl-2.0
chemissi/P2
src/public/lib/Zend/Service/DeveloperGarden/LocalSearch/SearchParameters.php
14788
<?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
AriDEV/TrinityCore
src/server/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
10108
/* * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.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 License, or (at your * option) any later ve...
gpl-2.0
Exadios/XCSoar-the-library
src/Widget/FixedWindowWidget.hpp
1282
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
gpl-2.0
robacklin/uclinux-users
wpa_supplicant/src/eap_peer/eap.h
9428
/* * EAP peer state machine functions (RFC 4137) * Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi> * * 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. * * Alternatively, this so...
gpl-2.0
Exadios/XCSoar-the-library
src/Net/HTTP/Init.cpp
1066
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
gpl-2.0
radiaku/decoda
libs/wxWidgets/src/msw/mediactrl_qt.cpp
45849
///////////////////////////////////////////////////////////////////////////// // Name: src/msw/mediactrl_qt.cpp // Purpose: QuickTime Media Backend for Windows // Author: Ryan Norton <wxprojects@comcast.net> // Modified by: Robin Dunn (moved QT code from mediactrl.cpp) // // Created: 11/07/04 // RCS...
gpl-3.0
radiaku/decoda
libs/wxWidgets/src/msw/gdiobj.cpp
1489
///////////////////////////////////////////////////////////////////////////// // Name: src/msw/gdiobj.cpp // Purpose: wxGDIObject class // Author: Julian Smart // Modified by: // Created: 01/02/97 // RCS-ID: $Id: gdiobj.cpp 40626 2006-08-16 14:53:49Z VS $ // Copyright: (c) Julian Smart // Lic...
gpl-3.0
drebes/terraform
vendor/google.golang.org/grpc/balancer_v1_wrapper.go
8557
/* * * Copyright 2017 gRPC 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 agree...
mpl-2.0
coding0011/elasticsearch
server/src/main/java/org/elasticsearch/search/fetch/subphase/ScriptFieldsFetchSubPhase.java
4508
/* * 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
stephentcannon/anonistreamr
public/node_modules/nodemailer/node_modules/mailcomposer/node_modules/mimelib-noiconv/index.js
104
module.exports = require("./mime-functions"); module.exports.contentTypes = require("./content-types");
apache-2.0
abgworrall/kubernetes
cmd/kubeadm/app/phases/upgrade/postupgrade.go
13012
/* Copyright 2017 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
goodwinnk/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/ast/builder/strategy/DefaultBuilderStrategySupport.java
8689
/* * Copyright 2000-2017 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
thusithathilina/carbon-registry
components/registry/org.wso2.carbon.registry.ws.client/src/main/ws-test/org/wso2/carbon/registry/ws/client/test/security/ContinuousOperations.java
3380
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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 ap...
apache-2.0
Buzzardo/spring-boot
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/jooq/AutoConfigureJooq.java
1395
/* * Copyright 2012-2019 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
erickt/rust
src/test/run-pass/cfgs-on-items.rs
957
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MI...
apache-2.0
nightauer/quickdic-dictionary.dictionary
jars/icu4j-52_1/main/tests/framework/src/com/ibm/icu/dev/util/Visitor.java
4008
/* ******************************************************************************* * Copyright (C) 2002-2012, International Business Machines Corporation and * * others. All Rights Reserved. * *************************************************************************...
apache-2.0
1049884729/owasp-java-html-sanitizer
tools/findbugs/doc/bugDescriptions.html
271009
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><title>FindBugs Bug Descriptions</title> <link rel="stylesheet" type="text/css" href="findbugs.css"/> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/> </head><body> <table width="100%"><...
apache-2.0