repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
bowserm/Umbraco-CMS
src/Umbraco.Core/Dynamics/DynamicXmlConverter.cs
4229
using System; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Xml; using System.Xml.Linq; namespace Umbraco.Core.Dynamics { /// <summary> /// Used to return the raw xml string value from DynamicXml when using type converters /// </summary> public cl...
mit
kwedoff1/sakai
oauth/dao-hbm/src/java/org/sakaiproject/oauth/dao/HibernateAccessorDao.java
2724
/* * #%L * OAuth Hibernate DAO * %% * Copyright (C) 2009 - 2013 The Sakai Foundation * %% * Licensed under the Educational Community 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://openso...
apache-2.0
voideanvalue/eslint
lib/rules/semi-spacing.js
4762
/** * @fileoverview Validates spacing before and after semicolon * @author Mathias Schreck * @copyright 2015 Mathias Schreck */ "use strict"; var astUtils = require("../ast-utils"); //------------------------------------------------------------------------------ // Rule Definition //-----------------------------...
mit
Nide83/barosello_20170529
src/vendor/sebastian/comparator/tests/_fixture/Author.php
521
<?php /* * This file is part of the Comparator package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\Comparator; /** * An author. */ class Author ...
mit
courtarro/gnuradio
gr-digital/python/digital/qa_constellation_soft_decoder_cf.py
7930
#!/usr/bin/env python # # Copyright 2013-2014 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio 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, or (at your optio...
gpl-3.0
actorapp/actor-platform
actor-sdk/sdk-core/core/core-js/src/main/java/im/actor/core/js/entity/JsTyping.java
336
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ package im.actor.core.js.entity; import com.google.gwt.core.client.JavaScriptObject; public class JsTyping extends JavaScriptObject { public static native JsTyping create(String typing)/*-{ return {typing: typing}; }-*/; protected JsTypi...
agpl-3.0
dgoodwin/origin
vendor/golang.org/x/exp/shiny/text/text_test.go
35542
// 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 text import ( "bytes" "fmt" "image" "io" "io/ioutil" "math/rand" "reflect" "sort" "strings" "testing" "unicode/utf8" "golang.org/x/image/f...
apache-2.0
sabre1041/camel
components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XmlSignatureTest.java
78203
/** * 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
nghiatd/zend
library/Zend/Queue/Adapter/Null.php
5311
<?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
jtg-gg/blink
Source/web/WebScopedUserGesture.cpp
2125
/* * Copyright (C) 2011 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
dsebastien/DefinitelyTyped
types/javascript-time-ago/locale/kea/index.d.ts
323
// Generated with https://github.com/erikburt/javascript-time-ago-type-gen import { Duration, QuantifyType } from ".."; declare const locale: Locale; interface Locale { locale: "kea"; long: Duration; narrow: Duration; short: Duration; quantify: (n: number) => keyof QuantifyType; } export = local...
mit
hackintos/svg-edit
editor/extensions/fileopen.php
1242
<!DOCTYPE html> <?php /* * fileopen.php * To be used with ext-server_opensave.js for SVG-edit * * Licensed under the MIT License * * Copyright(c) 2010 Alexis Deveria * */ // Very minimal PHP file, all we do is Base64 encode the uploaded file and // return it to the editor if (!isset($_REQUEST['type'])) { ...
mit
adamchainz/homebrew
Library/Formula/protobuf-swift.rb
1218
class ProtobufSwift < Formula desc "An implementation of Protocol Buffers in Swift." homepage "https://github.com/alexeyxo/protobuf-swift" url "https://github.com/alexeyxo/protobuf-swift/archive/1.6.2.tar.gz" sha256 "403ceaf16458765a7c0e8357468fd9da1b3b8113e2db530da5b65973dbf645c7" bottle do cellar :any ...
bsd-2-clause
pbatzing/AliPhysics
PWGCF/FEMTOSCOPY/macros/Train/FemtoQA/pPb_MC/ConfigFemtoAnalysis.C
15020
/********************************************************************* * * * ConfigFemtoAnalysis.C - configuration macro for the femtoscopic * * analysis, meant as a QA process for two-particle effects * * ...
bsd-3-clause
ksone/php-dev-test
library/Zend/Dojo/Form/Decorator/ContentPane.php
1329
<?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
ShionRyuu/sproto
print_r.lua
790
local print = print local tconcat = table.concat local tinsert = table.insert local srep = string.rep local type = type local pairs = pairs local tostring = tostring local next = next local function print_r(root) local cache = { [root] = "." } local function _dump(t,space,name) local temp = {} for k,v in pairs(...
mit
youprofit/kivy
kivy/adapters/args_converters.py
2057
''' List Item View Argument Converters ================================== .. versionadded:: 1.5 The default list item args converter for list adapters is a function (shown below) that takes a row index and a string. It returns a dict with the string as the *text* item, along with two properties suited for simple tex...
mit
NicCOConnor/ansible-modules-extras
cloud/amazon/ec2_win_password.py
5268
#!/usr/bin/python # # This is a 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. # # This Ansible library is distributed in the hope that i...
gpl-3.0
zero-os/0-Disk
vendor/github.com/siddontang/ledisdb/store/rocksdb/batch.go
1525
// +build rocksdb package rocksdb // #cgo LDFLAGS: -lrocksdb // #include "rocksdb/c.h" // #include "rocksdb_ext.h" import "C" import ( "unsafe" ) type WriteBatch struct { db *DB wbatch *C.rocksdb_writebatch_t commitOk bool } func (w *WriteBatch) Close() { if w.wbatch != nil { C.rocksdb_writebatch_de...
apache-2.0
sudosurootdev/external_chromium_org
chrome/browser/supervised_user/supervised_user_shared_settings_update_unittest.cc
3034
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/bind.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/supervised_user/supervised_user_shared_settings_service.h" #include "c...
bsd-3-clause
ragmani/coreclr
tests/src/CoreMangLib/cti/system/threading/autoresetevent/autoreseteventctor.cs
3700
// 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.Diagnostics; using System.Threading; public class AutoResetEventCtor { private const...
mit
insciq/FizzBuzz-PHP
vendor/codeception/codeception/src/Codeception/Lib/Connector/Universal.php
1944
<?php namespace Codeception\Lib\Connector; use Symfony\Component\BrowserKit\Client; use Symfony\Component\BrowserKit\Response; class Universal extends Client { use Shared\PhpSuperGlobalsConverter; protected $mockedResponse; protected $index; public function setIndex($index) { $this->inde...
mit
caveman-dick/ansible
test/units/modules/network/eos/test_eos_config.py
5733
# (c) 2016 Red Hat Inc. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is dis...
gpl-3.0
bengusty/cbioportal
portal/src/main/webapp/js/lib/jsmol/j2s/JSV/js2d/JsPopup.js
1077
Clazz.declarePackage ("JSV.js2d"); Clazz.load (["JSV.popup.JSVGenericPopup"], "JSV.js2d.JsPopup", ["JSV.popup.JSVPopupResourceBundle", "J.popup.JSSwingPopupHelper"], function () { c$ = Clazz.declareType (JSV.js2d, "JsPopup", JSV.popup.JSVGenericPopup); Clazz.makeConstructor (c$, function () { Clazz.superConstruct...
agpl-3.0
olark/kubernetes-contrib
mungegithub/vendor/google.golang.org/grpc/stream.go
13787
/* * * Copyright 2014, 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 condi...
apache-2.0
vladisav/ignite
modules/benchmarks/src/main/java/org/apache/ignite/internal/benchmarks/jmh/notify/JmhParkVsNotifyBenchmark.java
2879
/* * 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
trifork/erjang
src/main/java/com/jcraft/jzlib/ZOutputStream.java
4329
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2011 ymnk, JCraft,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...
apache-2.0
aguerny/LacquerTracker
node_modules/domhandler/coverage/lcov-report/block-navigation.js
2387
/* eslint-disable */ var jumpToCode = (function init() { // Classes of code we would like to highlight in the file view var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no']; // Elements to highlight in the file listing view var fileListingElements = ['td.pct.low']; // We don't wa...
mit
faizaanshamsi/ember.js
packages/ember-htmlbars/tests/attr_nodes/svg_test.js
2351
import Ember from 'ember-metal/core'; import EmberView from 'ember-views/views/view'; import run from 'ember-metal/run_loop'; import compile from 'ember-template-compiler/system/compile'; import { equalInnerHTML } from 'htmlbars-test-helpers'; var view; function appendView(view) { run(function() { view.appendTo('#q...
mit
65/ga-popular-posts
lib/google-api-php-client-2.2.0/vendor/google/apiclient-services/src/Google/Service/Speech/LongRunningRecognizeRequest.php
1488
<?php /* * Copyright 2014 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 t...
gpl-3.0
dongjoon-hyun/tensorflow
tensorflow/contrib/distribute/python/shared_variable_creator.py
3938
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
apache-2.0
wenaz/PredictionIO
examples/scala-parallel-recommendation/filter-by-category/src/main/scala/DataSource.scala
2697
package org.template.recommendation import io.prediction.controller.PDataSource import io.prediction.controller.EmptyEvaluationInfo import io.prediction.controller.EmptyActualResult import io.prediction.controller.Params import io.prediction.data.storage.Event import io.prediction.data.storage.Storage import org.apac...
apache-2.0
AMoo-Miki/cdnjs
ajax/libs/forerunnerdb/1.3.808/fdb-core.js
299163
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
mit
dwivivagoal/KuizMilioner
application/libraries/php-google-sdk/google/apiclient-services/src/Google/Service/Dfareporting/DayPartTargeting.php
1297
<?php /* * Copyright 2014 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 t...
mit
housineali/drpl8_dv
modules/drush/tests/resources/queue_script-D8.php
301
<?php use Drupal\aggregator\Entity\Feed; // Create a new feed. $feed = Feed::create(array( 'title' => 'test', 'url' => 'http://drupal.org/project/issues/rss/drupal?categories=All', 'refresh' => 3600, )); $feed->save(); // Let cron call QueueInterface::createItem() for us. aggregator_cron();
gpl-2.0
vladmm/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/newLambda/RecursiveAtSiteSubstitutorsWithAdditionalConstraints.java
764
import java.util.concurrent.ExecutorService; import java.util.function.*; abstract class List<A> { public abstract int length(); public abstract <B> B foldLeft(B identity, Function<B, Function<A, B>> f); public abstract <B> List<B> map(Function<A, B> f); public abstract <B> List<B> flatMap(Function<A, List<B>...
apache-2.0
verb/kubernetes
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd_test.go
25760
/* Copyright 2018 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
google/llvm-propeller
llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp
6306
//===- ARCISelDAGToDAG.cpp - ARC dag to dag inst selector -------*- C++ -*-===// // // 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 // //===---------------------------...
apache-2.0
kristiantokarim/GIK-Hadoop
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSRollback.java
16241
/** * 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 n...
apache-2.0
ol-loginov/intellij-community
platform/platform-impl/src/com/intellij/diagnostic/DropAnOutOfMemoryErrorAction.java
1085
/* * 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
sudosurootdev/external_chromium_org
native_client_sdk/src/doc/doxygen/generate_docs.py
8799
#!/usr/bin/python # Copyright (c) 2014 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. import collections import json import optparse import os import shutil import subprocess import sys import tempfile import urllib2 S...
bsd-3-clause
fndtn357/dyoco
sites/all/modules/_contrib/tb_megamenu/js/tb-megamenu-frontend.js
2439
Drupal.TBMegaMenu = Drupal.TBMegaMenu || {}; (function ($) { Drupal.TBMegaMenu.menuInstance = false; Drupal.behaviors.tbMegaMenuAction = { attach: function(context) { $('.tb-megamenu-button').click(function() { if(parseInt($(this).parent().children('.nav-collapse').height())) { $(this)....
gpl-2.0
patdunlavey/WilliNet
sites/all/modules/vertical_tabs/core/path.js
312
// $Id: path.js,v 1.1.2.1 2009/12/09 01:08:39 davereid Exp $ Drupal.verticalTabs = Drupal.verticalTabs || {}; Drupal.verticalTabs.path = function() { var path = $('#edit-path').val(); if (path) { return Drupal.t('Alias: @alias', { '@alias': path }); } else { return Drupal.t('No alias'); } }
gpl-2.0
DoreeMoell3/Doreen
py/openage/convert/gamedata/terrain.py
5042
from .. import dataformat from struct import Struct, unpack_from from ..util import dbg, zstr from ..util import file_get_path, file_write from .empiresdat import endianness class TerrainPassGraphic(dataformat.Exportable): name_struct_file = "terrain" name_struct = "terrain_pass_graphic" struct...
gpl-3.0
eddyb/servo
tests/wpt/web-platform-tests/fetch/http-cache/http-cache.js
10952
/** * Each test run gets its own URL and randomized content and operates independently. * * Tests are an array of objects, each representing a request to make and check. * The cache.py server script stashes an entry containing observed headers for * each request it receives. When the test fetches have run, this s...
mpl-2.0
GuapoTaco/chigraph
third_party/boost/include/boost/serialization/binary_object.hpp
2299
#ifndef BOOST_SERIALIZATION_BINARY_OBJECT_HPP #define BOOST_SERIALIZATION_BINARY_OBJECT_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // nvp.hpp: interface for serialization system. // (C...
apache-2.0
nkgilley/home-assistant
tests/components/tellduslive/__init__.py
43
"""Tests for the TelldusLive component."""
apache-2.0
estesp/docker
cmd/dockerd/config_windows.go
1072
package main import ( "os" "path/filepath" "github.com/docker/docker/daemon/config" "github.com/spf13/pflag" ) func getDefaultPidFile() (string, error) { return "", nil } func getDefaultDataRoot() (string, error) { return filepath.Join(os.Getenv("programdata"), "docker"), nil } func getDefaultExecRoot() (str...
apache-2.0
popolan1986/corefx
src/System.Runtime.Numerics/tests/BigInteger/ctor.cs
41756
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Tools; using Xunit; namespace System.Numerics.Tests { public class BigIntegerConstructorTest { private static int s_samples = 10; private...
mit
ptoonen/corefx
src/System.Net.HttpListener/tests/HttpRequestStreamTests.cs
30608
// 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.IO; using System.Linq; using System.Net.Http; using System.Net.Sockets; using System.Text; using System...
mit
davehorton/drachtio-server
deps/boost_1_77_0/libs/container/bench/bench_set_sg.cpp
985
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2013-2013. 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/libs/contain...
mit
krichter722/gcc
gcc/testsuite/g++.dg/ipa/devirt-16.C
668
/* We shall devirtualize to unreachable. No anonymous type method should surivve reachability. */ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-whole-program-details" } */ namespace { class B { public: virtual int foo(void) { return 0; } }; class A : public B { public: virtual int foo(void) { re...
gpl-2.0
iains/darwin-gcc-5
libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc
1094
// Copyright (C) 2013-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, or (at your op...
gpl-2.0
iains/darwin-gcc-5
libstdc++-v3/testsuite/25_algorithms/replace_copy/1.cc
1970
// 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, or (at your op...
gpl-2.0
mml/kubernetes
pkg/apis/storage/v1beta1/zz_generated.conversion.go
34345
// +build !ignore_autogenerated /* 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 l...
apache-2.0
redmunds/cdnjs
ajax/libs/what-input/1.2.2/what-input.js
6333
;(function(root, factory) { if (typeof define === 'function' && define.amd) { define([], function() { return (factory()); }); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.whatInput = factory(); } } (this, function() { 'use strict'; /* ------...
mit
Risca/scummvm
engines/gob/save/saveload_inca2.cpp
11062
/* 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
doppllib/j2objc
jre_emul/android/libcore/luni/src/test/java/libcore/java/util/OldAndroidArrayListTest.java
3067
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
apache-2.0
vladisav/ignite
modules/core/src/main/java/org/apache/ignite/internal/util/tostring/GridToStringFieldDescriptor.java
1521
/* * 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
poizan42/coreclr
tests/src/JIT/HardwareIntrinsics/General/Vector256_1/GetAndWithElement.Double.1.cs
8967
// 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. /****************************************************************************** * This file is auto-generated from ...
mit
infobip/infobip-open-jdk-8
langtools/test/tools/javac/annotations/AnnotationTypeElementModifiers.java
1020
/* * @test /nodynamiccopyright/ * @bug 8028428 * @summary Test that only 'public' and 'abstract' elements compile * @compile/fail/ref=AnnotationTypeElementModifiers.out -XDrawDiagnostics AnnotationTypeElementModifiers.java */ public @interface AnnotationTypeElementModifiers { // First 4 should work public...
gpl-2.0
yxcoin/yxcoin
src/boost_1_55_0/libs/filesystem/example/tut4.cpp
1731
// filesystem tut4.cpp ---------------------------------------------------------------// // Copyright Beman Dawes 2009 // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt // Library home page: http://www.boost.org/libs/filesystem #include <iostream> #inclu...
mit
Jiayili1/corefx
src/Common/src/CoreLib/System/ReadOnlySpan.cs
5192
// 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.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime....
mit
nithinphilips/SMOz
lib/log4net/src/Appender/ForwardingAppender.cs
7520
#region Apache License // // 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 // (...
gpl-3.0
Ryex/airtime
airtime_mvc/library/propel/test/testsuite/generator/behavior/archivable/ArchivableBehaviorObjectBuilderModifierTest.php
14113
<?php /* * $Id$ * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ require_once dirname(__FILE__) . '/../../../../../generator/lib/util/PropelQuickBuilder.php'; re...
agpl-3.0
cnsoft/kbengine-cocos2dx
kbe/res/scripts/common/Lib/importlib/test/extension/test_loader.py
1784
from importlib import _bootstrap from . import util as ext_util from .. import abc from .. import util import sys import unittest class LoaderTests(abc.LoaderTests): """Test load_module() for extension modules.""" def load_module(self, fullname): loader = _bootstrap._ExtensionFileLoader(ext_util.NA...
lgpl-3.0
androiddream/j2objc
jre_emul/android/libcore/luni/src/main/java/java/security/interfaces/RSAPublicKey.java
1311
/* * 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
markturansky/kubernetes
pkg/registry/core/service/portallocator/allocator_test.go
3303
/* 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
soundcloud/gocd
server/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/validatable-1.6.7/lib/errors.rb
2079
module Validatable class Errors extend Forwardable include Enumerable def_delegators :errors, :clear, :each, :each_pair, :empty?, :length, :size # call-seq: on(attribute) # # * Returns nil, if no errors are associated with the specified +attribute+. # * Returns the error message, if one...
apache-2.0
anjumrizwi/corefx
src/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs
12443
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ----------...
mit
devatworkgit/revenuemasters
modules/libraries/tests/src/Kernel/ExternalLibrary/GlobalLocatorTest.php
1623
<?php namespace Drupal\Tests\libraries\Kernel\ExternalLibrary; use Drupal\Tests\libraries\Kernel\ExternalLibrary\TestLibraryFilesStream; use Drupal\Tests\libraries\Kernel\LibraryTypeKernelTestBase; /** * Tests that a global locator can be properly used to load a libraries. * * @group libraries */ class GlobalLoc...
gpl-2.0
messyOne/ZfDealsApp
vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Matcher/InvokedRecorder.php
3807
<?php /** * PHPUnit * * Copyright (c) 2010-2012, Sebastian Bergmann <sb@sebastian-bergmann.de>. * 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 m...
bsd-3-clause
gleuh/Trois-mots
vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/BaseBundle/BaseBundle.php
379
<?php /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <fabien@symfony.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\BaseBundle; use Symfony\Component\Http...
mit
joeyparrish/cdnjs
ajax/libs/highcharts/6.1.2/js/es-modules/parts/MSPointer.js
4483
/** * (c) 2010-2017 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; import H from './Globals.js'; import './Utilities.js'; import './Pointer.js'; var addEvent = H.addEvent, charts = H.charts, css = H.css, doc = H.doc, extend = H.extend, hasTouch = H.hasTouch, noop = H...
mit
doctortoffer/hmdk
sites/all/modules/custom/firebase/google-api-php-client/vendor/google/apiclient-services/src/Google/Service/DoubleClickBidManager.php
4591
<?php /* * Copyright 2016 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 t...
gpl-2.0
Endika/OpenUpgrade
openerp/addons/test_new_api/tests/__init__.py
244
# -*- coding: utf-8 -*- from . import test_related from . import test_new_fields from . import test_onchange from . import test_field_conversions from . import test_attributes from . import test_no_infinite_recursion from . import test_domain
agpl-3.0
ganboing/go-esx
test/bench/go1/fannkuch_test.go
1504
// Copyright 2011 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. // This benchmark, taken from the shootout, tests array indexing // and array bounds elimination performance. package go1 import "testing" func fannkuch(n in...
bsd-3-clause
BitsyCode/cdnjs
ajax/libs/forerunnerdb/1.2.5/fdb-core.min.js
40156
!function(v){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=v();else if("function"==typeof define&&define.amd)define([],v);else{var h;"undefined"!=typeof window?h=window:"undefined"!=typeof global?h=global:"undefined"!=typeof self&&(h=self);h.ForerunnerDB=v()}}(function(){return function h(r,p,g...
mit
menuka94/cdnjs
ajax/libs/forerunnerdb/1.3.554/fdb-all.js
949508
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
mit
efatsi/atom
spec/fixtures/native-cache/file-2.js
43
module.exports = function () { return 2; }
mit
joeyparrish/cdnjs
ajax/libs/inferno/1.0.0-beta27/inferno-hyperscript.js
12127
/*! * inferno-hyperscript v1.0.0-beta27 * (c) 2016 undefined * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Inferno = glo...
mit
infobip/infobip-open-jdk-8
langtools/test/tools/javac/lambda/TargetType06.java
496
/* * @test /nodynamiccopyright/ * @bug 8003280 * @summary Add lambda tests * check complex case of target typing * @author Maurizio Cimadamore * @compile TargetType06.java */ import java.util.List; class TargetType06 { class Foo { Foo getFoo() { return null; } } interface Function<A,R> ...
gpl-2.0
HCDigitalScholarship/tichadocs_scribe
application/libraries/Omeka/Form/Element/Input.php
423
<?php /** * Omeka * * @copyright Copyright 2007-2014 Roy Rosenzweig Center for History and New Media * @license http://www.gnu.org/licenses/gpl-3.0.txt GNU GPLv3 */ /** * HTML5 input form element * * @package Omeka\Form */ class Omeka_Form_Element_Input extends Zend_Form_Element_Xhtml { /** * Defaul...
gpl-3.0
newtonker/butterknife
butterknife-compiler/src/test/java/butterknife/internal/BindTest.java
36889
package butterknife.internal; import com.google.common.base.Joiner; import com.google.testing.compile.JavaFileObjects; import javax.tools.JavaFileObject; import org.junit.Test; import static com.google.common.truth.Truth.ASSERT; import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource; public cla...
apache-2.0
dbarkman/dbarkman.com
wp-content/plugins/jetpack/modules/shortcodes/medium.php
1952
<?php // Embed support for Medium https://medium.com/p/3eaed64aed8a /** * Faux-oembed support for Medium permalinks * * e.g. * https://medium.com/help-center * https://medium.com/@richroll */ wp_embed_register_handler( 'medium', '#^https?://medium.com/([a-zA-z0-9-_@]+)#', 'jetpack_embed_medium_oembed' ); funct...
gpl-2.0
il-marc/Yii-BookStore
vendor/yiisoft/yii2-debug/views/default/panels/request/summary.php
834
<?php /* @var $panel yii\debug\panels\RequestPanel */ use yii\helpers\Html; use yii\web\Response; $statusCode = $panel->data['statusCode']; if ($statusCode === null) { $statusCode = 200; } if ($statusCode >= 200 && $statusCode < 300) { $class = 'label-success'; } elseif ($statusCode >= 300 && $statusCode < 40...
bsd-3-clause
jaredivey/ns-3-sdn
src/point-to-point/model/point-to-point-remote-channel.cc
2175
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007, 2008 University of Washington * * 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; * * Th...
gpl-2.0
BenjaminVanRyseghem/cdnjs
ajax/libs/moment-range/2.2.0/moment-range.js
9980
(function (root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module unless amdModuleId is set define(["moment"], function (a0) { return (root['DateRange'] = factory(a0)); }); } else if (typeof exports === 'object') { // Node. Does not work with...
mit
marc17/gepi
lib/dojo/dojox/mvc/_DataBindingExtension.js.uncompressed.js
895
define("dojox/mvc/_DataBindingExtension", [ "dojo/_base/array", "dojo/aspect", "dojo/_base/lang", "dijit/_WidgetBase", "./_DataBindingMixin" ], function(array, aspect, lang, WidgetBase, DataBindingMixin){ //Apply the data binding mixin to all dijits, see mixin class description for details lang.extend(WidgetBas...
gpl-2.0
mhart/relay
examples/todo/js/routes/TodoAppHomeRoute.js
281
export default class extends Relay.Route { static path = '/'; static queries = { viewer: (Component) => Relay.QL` query RootQuery { viewer { ${Component.getFragment('viewer')}, }, } `, }; static routeName = 'TodosHomeRoute'; }
bsd-3-clause
viskin/cdnjs
ajax/libs/d3-transform/1.0.4/d3-transform.min.js
652
!function(a){function b(a){function b(a,b){var e=b.length;d.push(function(){return"seq"==a?b[0].apply(this,c(arguments)):a+"("+(1==e&&"function"==typeof b[0]?b[0].apply(this,c(arguments)):b)+")"})}function c(a){return Array.prototype.slice.call(a)}var d=[];void 0!==a&&d.push(a);var e=function(){var a=this,b=c(arguments...
mit
davehorton/drachtio-server
deps/boost_1_77_0/libs/chrono/test/traits/common_type_time_point_pass.cpp
1879
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
mit
ravifreek63/jvm
jdk/src/share/classes/java/awt/image/renderable/RenderableImageProducer.java
8313
/* * Copyright (c) 1998, 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 ...
gpl-2.0
pavel-else/komplect-ug
jssource/src_files/include/SugarFields/Fields/Address/SugarFieldAddress.js
5343
/********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM is an extension to SugarCRM Community Edition developed by Salesagility Ltd. *...
agpl-3.0
dancastaneda/dancastaneda.github.io
vendor/bundle/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb
3463
module Faraday class Adapter class HTTPClient < Faraday::Adapter dependency 'httpclient' def client @client ||= ::HTTPClient.new end def call(env) super # enable compression client.transparent_gzip_decompression = true if req = env[:request] ...
apache-2.0
stephen-murby/gocd
server/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/nokogiri-1.6.6.2-java/ext/java/nokogiri/XmlText.java
3921
/** * (The MIT License) * * Copyright (c) 2008 - 2011: * * * {Aaron Patterson}[http://tenderlovemaking.com] * * {Mike Dalessio}[http://mike.daless.io] * * {Charles Nutter}[http://blog.headius.com] * * {Sergio Arbeo}[http://www.serabe.com] * * {Patrick Mahoney}[http://polycrystal.org] * * {Yoko Harada}[http://...
apache-2.0
justinsb/kubernetes
vendor/github.com/docker/docker/api/types/swarm/task.go
6678
package swarm import ( "time" "github.com/docker/docker/api/types/swarm/runtime" ) // TaskState represents the state of a task. type TaskState string const ( // TaskStateNew NEW TaskStateNew TaskState = "new" // TaskStateAllocated ALLOCATED TaskStateAllocated TaskState = "allocated" // TaskStatePending PENDI...
apache-2.0
Quokkalinchen/The-Code-Hustlers
node_modules/webpack/lib/dependencies/ContextDependencyTemplateAsRequireCall.js
1412
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; class ContextDependencyTemplateAsRequireCall { apply(dep, source, outputOptions, requestShortener) { let comment = ""; if(outputOptions.pathinfo) comment = "/*! " + requestShortener.shorten...
mit
joeyparrish/cdnjs
ajax/libs/tinymce/4.9.6/plugins/code/plugin.js
2460
(function () { var code = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); var getMinWidth = function (editor) { return editor.getParam('code_dialog_width', 600); }; var getM...
mit
ye11ow/phantomjs
src/qt/src/3rdparty/webkit/Source/JavaScriptCore/runtime/GCActivityCallback.cpp
1922
/* * Copyright (C) 2010 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 conditi...
bsd-3-clause