code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
// 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; namespace System.Net { /// <summary> /// <para>The FtpWebResponse class contains the resul...
krk/corefx
src/System.Net.Requests/src/System/Net/FtpWebResponse.cs
C#
mit
5,923
WebMock.disable_net_connect!(allow: 'coveralls.io') # iTunes Lookup API RSpec.configure do |config| config.before(:each) do # iTunes Lookup API by Apple ID ["invalid", "", 0, '284882215', ['338986109', 'FR']].each do |current| if current.kind_of? Array id = current[0] country = current[...
mathiasAichinger/fastlane_core
spec/itunes_search_api_spec.rb
Ruby
mit
2,907
var baz = "baz"; export default baz;
EliteScientist/webpack
test/statsCases/import-context-filter/templates/baz.noimport.js
JavaScript
mit
38
define( [ "js/views/baseview", "underscore", "js/models/metadata", "js/views/abstract_editor", "js/models/uploads", "js/views/uploads", "js/models/license", "js/views/license", "js/views/video/transcripts/metadata_videolist", "js/views/video/translations_editor" ], functi...
MakeHer/edx-platform
cms/static/js/views/metadata.js
JavaScript
agpl-3.0
21,517
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ require File.expand_path(File....
srinuvasuv/fat_free_crm
spec/controllers/entities/campaigns_controller_spec.rb
Ruby
mit
24,917
<?php /** * Unit test class for the MultiLineAssignment sniff. * * PHP version 5 * * @category PHP * @package PHP_CodeSniffer * @author Greg Sherwood <gsherwood@squiz.net> * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) * @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licen...
danalec/dotfiles
sublime/.config/sublime-text-3/Packages/anaconda_php/plugin/handlers_php/linting/phpcs/CodeSniffer/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php
PHP
mit
1,893
<?php global $wpdb, $wp_version, $yarpp; /* Enforce YARPP setup: */ $yarpp->enforce(); if(!$yarpp->enabled() && !$yarpp->activate()) { echo '<div class="updated">'.__('The YARPP database has an error which could not be fixed.','yarpp').'</div>'; } /* Check to see that templates are in the right place */ if (!$ya...
sarahkpeck/it-starts-with
wp-content/plugins/yet-another-related-posts-plugin/includes/yarpp_options.php
PHP
gpl-2.0
5,985
""" report test results in JUnit-XML format, for use with Jenkins and build integration servers. Based on initial code from Ross Lawley. Output conforms to https://github.com/jenkinsci/xunit-plugin/blob/master/ src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd """ from __future__ im...
anthgur/servo
tests/wpt/web-platform-tests/tools/third_party/pytest/_pytest/junitxml.py
Python
mpl-2.0
15,681
/** * Copyright (c) 2016 hustcc * License: MIT * https://github.com/hustcc/timeago.js **/ /* jshint expr: true */ !function (root, factory) { if (typeof module === 'object' && module.exports) module.exports = factory(root); else root.timeago = factory(root); }(typeof window !== 'undefined' ? w...
froala/cdnjs
ajax/libs/timeago.js/2.0.0/timeago.js
JavaScript
mit
8,824
/* * 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...
akosyakov/intellij-community
platform/usageView/src/com/intellij/usages/impl/GroupNode.java
Java
apache-2.0
11,143
package testclient import ( ktestclient "k8s.io/kubernetes/pkg/client/testclient" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/watch" templateapi "github.com/openshift/origin/pkg/template/api" ) // FakeTemplates implements TemplateInterface. Meant to be embedded into a st...
domenicbove/origin
pkg/client/testclient/fake_templates.go
GO
apache-2.0
2,068
package im.actor.model.api.rpc; /* * Generated by the Actor API Scheme generator. DO NOT EDIT! */ import im.actor.model.droidkit.bser.Bser; import im.actor.model.droidkit.bser.BserParser; import im.actor.model.droidkit.bser.BserObject; import im.actor.model.droidkit.bser.BserValues; import im.actor.model.droidkit....
Rogerlin2013/actor-platform
actor-apps/core/src/main/java/im/actor/model/api/rpc/RequestSendMessage.java
Java
mit
2,557
require "spec_helper" describe Mongoid::Relations::Referenced::In do let(:person) do Person.create end describe "#=" do context "when the relation is named target" do let(:target) do User.new end context "when the relation is referenced from an embeds many" do cont...
peterwillcn/mongoid
spec/mongoid/relations/referenced/in_spec.rb
Ruby
mit
30,037
// 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 Microsoft.Win32.SafeHandles; using System.Diagnostics; using System.Globalization; using System.Security.Crypt...
ptoonen/corefx
src/Common/src/System/Net/Security/CertificateValidation.Unix.cs
C#
mit
2,411
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
raj-bhatia/grooveip-ios-public
submodules/externals/opencore-amr/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/q_gain2_tab.cpp
C++
gpl-2.0
5,030
require 'will_paginate/core_ext' module WillPaginate # A mixin for ActiveRecord::Base. Provides +per_page+ class method # and hooks things up to provide paginating finders. # # Find out more in WillPaginate::Finder::ClassMethods # module Finder def self.included(base) base.extend ClassMethods ...
gkneighb/insoshi
vendor/plugins/will_paginate/lib/will_paginate/finder.rb
Ruby
agpl-3.0
10,582
// // basic_serial_port.hpp // ~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or c...
julien3/vertxbuspp
vertxbuspp/asio/include/asio/basic_serial_port.hpp
C++
apache-2.0
24,579
/** * 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...
jmandawg/camel
components/camel-test-spring/src/main/java/org/apache/camel/test/spring/CamelSpringDelegatingTestContextLoader.java
Java
apache-2.0
5,252
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See the LICENSE file in builder/azure for license information. package arm import ( "golang.org/x/crypto/ssh" "testing" ) func TestFart(t *testing.T) { } func TestAuthorizedKeyShouldParse(t *testing.T) { testSubject,...
stardog-union/stardog-graviton
vendor/github.com/mitchellh/packer/builder/azure/arm/openssh_key_pair_test.go
GO
apache-2.0
980
import {isPresent, RegExpWrapper, StringWrapper} from 'angular2/src/core/facade/lang'; import {MapWrapper} from 'angular2/src/core/facade/collection'; import {Parser} from 'angular2/src/core/change_detection/change_detection'; import {CompileStep} from './compile_step'; import {CompileElement} from './compile_element...
shahata/angular
modules/angular2/src/core/render/dom/compiler/property_binding_parser.ts
TypeScript
apache-2.0
4,415
public class Test { void fooBarGoo() { try {} finally {} fbg<caret> } }
smmribeiro/intellij-community
java/java-tests/testData/codeInsight/completion/normal/MethodCallAfterFinally.java
Java
apache-2.0
87
# rank 1 class CandidateTest def test4 end def test5 end end
phstc/sshp
vendor/ruby/1.9.1/gems/pry-0.9.12.2/spec/fixtures/candidate_helper2.rb
Ruby
mit
70
import frappe def execute(): duplicates = frappe.db.sql("""select email_group, email, count(name) from `tabEmail Group Member` group by email_group, email having count(name) > 1""") # delete all duplicates except 1 for email_group, email, count in duplicates: frappe.db.sql("""delete from `tabEmail Group Me...
hassanibi/erpnext
erpnext/patches/v6_2/remove_newsletter_duplicates.py
Python
gpl-3.0
407
import { Subscriber } from '../Subscriber'; import { tryCatch } from '../util/tryCatch'; import { errorObject } from '../util/errorObject'; /** * Compares all values of two observables in sequence using an optional comparor function * and returns an observable of a single boolean value representing whether or not the...
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/rxjs/_esm2015/operators/sequenceEqual.js
JavaScript
apache-2.0
4,896
/* 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, ...
wjiangjay/origin
vendor/k8s.io/kubernetes/pkg/volume/aws_ebs/aws_ebs_block.go
GO
apache-2.0
6,460
/* Copyright 2015 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 applicable law or a...
npuichigo/ttsflow
third_party/tensorflow/tensorflow/core/common_runtime/session_factory.cc
C++
apache-2.0
4,469
// // Copyright (c) Microsoft and contributors. 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 requi...
Nepomuceno/azure-xplat-cli
test/hdinsight/unit-list-command.js
JavaScript
apache-2.0
2,528
/* * 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...
queirozfcom/elasticsearch
core/src/main/java/org/elasticsearch/search/aggregations/bucket/terms/InternalTerms.java
Java
apache-2.0
10,492
// 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...
dmirubtsov/k8s-executor
vendor/k8s.io/kubernetes/vendor/github.com/google/cadvisor/info/v2/conversion.go
GO
apache-2.0
7,941
// 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/message_loop/message_loop.h" #include "content/renderer/media/mock_web_rtc_peer_connection_handler_client.h" #include "content/renderer/med...
CTSRD-SOAAP/chromium-42.0.2311.135
content/renderer/media/webrtc/peer_connection_dependency_factory_unittest.cc
C++
bsd-3-clause
1,157
class GstPluginsUgly < Formula desc "GStreamer plugins (well-supported, possibly problematic for distributors)" homepage "https://gstreamer.freedesktop.org/" url "https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.8.0.tar.xz" sha256 "53657ffb7d49ddc4ae40e3f52e56165db4c06eb016891debe2b6c0e...
gnubila-france/linuxbrew
Library/Formula/gst-plugins-ugly.rb
Ruby
bsd-2-clause
2,650
cask 'netbeans-java-se' do version '8.2' sha256 '91652f03d8abba0ae9d76a612ed909c9f82e4f138cbd510f5d3679280323011b' url "https://download.netbeans.org/netbeans/#{version}/final/bundles/netbeans-#{version}-javase-macosx.dmg" name 'NetBeans IDE for Java SE' homepage 'https://netbeans.org/' pkg "NetBeans #{ve...
wastrachan/homebrew-cask
Casks/netbeans-java-se.rb
Ruby
bsd-2-clause
426
<?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...
drthomas21/WordPress_Tutorial
wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/Dataproc/DataprocEmpty.php
PHP
apache-2.0
667
<?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...
drthomas21/WordPress_Tutorial
wordpress_htdocs/wp-content/plugins/swg-youtube-vids/vendor/google/apiclient-services/src/Google/Service/DoubleClickBidManager/QueryMetadata.php
PHP
apache-2.0
3,146
/* * 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...
samthor/intellij-community
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/ChangesViewContentEP.java
Java
apache-2.0
3,337
package com.marshalchen.common.demoofui.showcaseview.legacy; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Toast; import com.marshalchen.common.demoofui.R; public class...
cymcsg/UltimateAndroid
deprecated/UltimateAndroidNormal/DemoOfUI/src/com/marshalchen/common/demoofui/showcaseview/legacy/MultipleShowcaseSampleActivity.java
Java
apache-2.0
2,332
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2014-Today OpenERP SA (<http://www.openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms ...
diogocs1/comps
web/addons/sale_layout/models/sale_layout.py
Python
apache-2.0
4,907
/* * Copyright 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...
valery-barysok/Apktool
brut.apktool.smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/DexBackedDexFile.java
Java
apache-2.0
10,213
/* Copyright 2012 Mozilla 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 applicable law or agreed...
sreym/cdnjs
ajax/libs/pdf.js/1.3.177/pdf.js
JavaScript
mit
313,996
""" Integration tests for third_party_auth LTI auth providers """ import unittest from django.conf import settings from django.contrib.auth.models import User from django.core.urlresolvers import reverse from oauthlib.oauth1.rfc5849 import Client, SIGNATURE_TYPE_BODY from third_party_auth.tests import testutil FORM_EN...
solashirai/edx-platform
common/djangoapps/third_party_auth/tests/specs/test_lti.py
Python
agpl-3.0
7,079
/* * 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, software * distribut...
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/sql/planner/sanity/NoSubqueryExpressionLeftChecker.java
Java
apache-2.0
1,903
var FormData = require('form-data'); function form(obj) { var form = new FormData(); if (obj) { Object.keys(obj).forEach(function (name) { form.append(name, obj[name]); }); } return form; } Object.defineProperty(exports, "__esModule", { value: true }); exports.default = form;...
carmine/northshore
ui/node_modules/popsicle/dist/form.js
JavaScript
apache-2.0
353
if (!self.GLOBAL || self.GLOBAL.isWindow()) { test(() => { assert_equals(document.title, "foo"); }, '<title> exists'); test(() => { assert_equals(document.querySelectorAll("meta[name=timeout][content=long]").length, 1); }, '<meta name=timeout> exists'); } scripts.push('expect-title-meta.js');
scheib/chromium
third_party/blink/web_tests/external/wpt/infrastructure/server/resources/expect-title-meta.js
JavaScript
bsd-3-clause
312
""" By specifying the 'proxy' Meta attribute, model subclasses can specify that they will take data directly from the table of their base class table rather than using a new table of their own. This allows them to act as simple proxies, providing a modified interface to the data from the base class. """ from django.db ...
benjaminjkraft/django
tests/proxy_models/models.py
Python
bsd-3-clause
4,514
// 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.Threading.Tasks; using Xunit; namespace System.Threading.Tests { /// <su...
shimingsg/corefx
src/System.Threading/tests/SemaphoreSlimTests.cs
C#
mit
25,845
import SignaturePad from 'signature_pad'; /* TEST 1 - Basic structure and usage */ function BasicTest() { const canvas = document.querySelector('canvas'); const signaturePad = new SignaturePad(canvas); // Returns signature image as data URL signaturePad.toDataURL(); // Returns signature image as...
aaronryden/DefinitelyTyped
types/signature_pad/signature_pad-tests.ts
TypeScript
mit
1,313
/* * * 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"); y...
alejo8591/cyav
unidad-4/testappavantel3/plugins/org.apache.cordova.network-information/src/firefoxos/NetworkProxy.js
JavaScript
mit
2,982
<?php /** * Part of the Fuel framework. * * @package Fuel * @version 1.7 * @author Fuel Development Team * @license MIT License * @copyright 2010 - 2015 Fuel Development Team * @link http://fuelphp.com */ namespace Fuel\Core; /** * Testcase class tests * * @group Core * @group Testcas...
vano00/todo
fuel/core/tests/testcase.php
PHP
mit
399
// Copyright (c) 2011 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/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" #include "chrome/browser/ui/panels/panel_mouse_watcher.h" #include "ch...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/ui/panels/panel_mouse_watcher_unittest.cc
C++
gpl-3.0
2,240
/* * bag.js - js/css/other loader + kv storage * * Copyright 2013-2014 Vitaly Puzrin * https://github.com/nodeca/bag.js * * License MIT */ /*global define*/ (function (root, factory) { 'use strict'; if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof module === 'obje...
kiwi89/cdnjs
ajax/libs/bagjs/1.0.0/bag.js
JavaScript
mit
24,235
// Copyright (C) 2012-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...
zjh171/gcc
libstdc++-v3/testsuite/23_containers/unordered_map/debug/iterator_self_move_assign_neg.cc
C++
gpl-2.0
1,039
// { dg-options "-std=gnu++11" } // 2007-10-26 Paolo Carlini <pcarlini@suse.de> // Copyright (C) 2007-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 Licen...
puppeh/gcc-6502
libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc
C++
gpl-2.0
1,330
/* * 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...
consulo/consulo-apache-subversion
src/main/java/org/jetbrains/idea/svn/SvnCopiesRefreshManager.java
Java
apache-2.0
1,939
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2013 Erwin Coumans http://bulletphysics.org This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is grant...
LauriM/PropellerEngine
thirdparty/Bullet/src/Bullet3Collision/BroadPhaseCollision/b3DynamicBvh.cpp
C++
bsd-2-clause
36,826
/*! * Cropper v0.4.0 * https://github.com/fengyuanchen/cropperjs * * Copyright (c) 2015 Fengyuan Chen * Released under the MIT license * * Date: 2015-12-02T06:35:32.008Z */ (function (global, factory) { if (typeof module === 'object' && typeof module.exports === 'object') { module.exports = g...
redmunds/cdnjs
ajax/libs/cropperjs/0.4.0/cropper.js
JavaScript
mit
83,381
var isIterateeCall = require('./isIterateeCall'), rest = require('../rest'); /** * Creates a function like `_.assign`. * * @private * @param {Function} assigner The function to assign values. * @returns {Function} Returns the new assigner function. */ function createAssigner(assigner) { return rest(functio...
zverevalexei/bierman-topology
web/node_modules/bower/node_modules/lodash/internal/createAssigner.js
JavaScript
mit
984
/* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
Stackdriver/heapster
vendor/k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/batch/internalversion/fake/fake_job.go
GO
apache-2.0
4,578
cask 'gqrx' do version '2.11.5' sha256 '896cefcb2825840178b6dbfb894b01543b1c8225539e6969052133223a59ffee' # github.com/csete/gqrx was verified as official when first introduced to the cask url "https://github.com/csete/gqrx/releases/download/v#{version.major_minor_patch}/Gqrx-#{version}.dmg" appcast 'https:/...
reelsense/homebrew-cask
Casks/gqrx.rb
Ruby
bsd-2-clause
1,698
// 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 ...
krk/coreclr
tests/src/JIT/HardwareIntrinsics/General/Vector128_1/GetAndWithElement.Single.0.cs
C#
mit
8,967
/* * Copyright 2000-2012 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...
ivan-fedorov/intellij-community
plugins/svn4idea/src/org/jetbrains/idea/svn/svnkit/lowLevel/SVNStoppableInputStream.java
Java
apache-2.0
6,260
/** * 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...
jmandawg/camel
components/camel-kura/src/main/java/org/apache/camel/component/kura/KuraRouter.java
Java
apache-2.0
5,602
/* * Copyright 2000-2013 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...
caot/intellij-community
platform/bootstrap/src/com/intellij/ide/WindowsCommandLineProcessor.java
Java
apache-2.0
2,035
/// <reference path="../../typings/_custom.d.ts" /> /* * TODO: ES5 for now until I make a webpack plugin for protractor */ describe('App', function() { var subject; var result; beforeEach(function() { browser.get('/'); }); afterEach(function() { expect(subject).toEqual(result); }); it('sh...
yanivefraim/angular2-webpack-starter
test/app/app.e2e.js
JavaScript
mit
916
#pragma once #define WIN32_MEAN_AND_LEAN #include <Windows.h> #undef WIN32_MEAN_AND_LEAN #include <mfapi.h> #include <mfidl.h> #include <stdint.h> #include <vector> #include <util/windows/ComPtr.hpp> #define MF_LOG(level, format, ...) \ blog(level, "[Media Foundation encoder]: " format, ##__VA_ARGS__) #define MF_...
Palakis/obs-studio
plugins/win-mf/mf-aac-encoder.hpp
C++
gpl-2.0
2,383
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
sorted2323/msi
testauthorize/report/courseoverview/version.php
PHP
gpl-3.0
1,219
using System; using NLog; using NLog.Targets; using NLog.Targets.Wrappers; class Example { static void Main(string[] args) { try { NLog.Internal.InternalLogger.LogToConsole = true; NLog.Internal.InternalLogger.LogLevel = LogLevel.Trace; Console.WriteLine("Se...
reasyrf/XBeeMultiTerminal
src/NLog/examples/targets/Configuration API/Mail/Buffered/Example.cs
C#
gpl-3.0
1,532
""" SCGI-->WSGI application proxy, "SWAP". (Originally written by Titus Brown.) This lets an SCGI front-end like mod_scgi be used to execute WSGI application objects. To use it, subclass the SWAP class like so:: class TestAppHandler(swap.SWAP): def __init__(self, *args, **kwargs): self.prefix =...
endlessm/chromium-browser
third_party/catapult/third_party/Paste/paste/util/scgiserver.py
Python
bsd-3-clause
5,612
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2016, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
emelyan1987/FoodDelivery
tests/system/core/Utf8.php
PHP
mit
4,412
/** * Copyright 2013 Facebook, 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 ...
demns/todomvc-perf-comparison
todomvc/react/node_modules/reactify/node_modules/react-tools/node_modules/jstransform/visitors/__tests__/type-function-syntax-test.js
JavaScript
mit
7,860
<?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...
angusty/symfony-study
vendor/Zend/Service/DeveloperGarden/Response/ConferenceCall/GetRunningConferenceResponse.php
PHP
mit
1,572
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="it_IT"> <context> <name>VTranslateMeasurements</name> <message> <location filename="../../src/libs/vpatterndb/vtranslatemeasurements.cpp" line="190"/> <source>height</source> <comment>Name in a formula. Don&...
FashionFreedom/Seamly2D
share/translations/measurements_p8_it_IT.ts
TypeScript
gpl-3.0
231,740
package compute // SecurityApplicationsClient is a client for the Security Application functions of the Compute API. type SecurityApplicationsClient struct { ResourceClient } // SecurityApplications obtains a SecurityApplicationsClient which can be used to access to the // Security Application functions of the Compu...
TheWeatherCompany/terraform
vendor/github.com/hashicorp/go-oracle-terraform/compute/security_applications.go
GO
mpl-2.0
5,793
package matchers import ( "fmt" "reflect" "strings" "github.com/onsi/gomega/format" "gopkg.in/yaml.v2" ) type MatchYAMLMatcher struct { YAMLToMatch interface{} } func (matcher *MatchYAMLMatcher) Match(actual interface{}) (success bool, err error) { actualString, expectedString, err := matcher.toStrings(actua...
KarolKraskiewicz/autoscaler
vertical-pod-autoscaler/vendor/github.com/onsi/gomega/matchers/match_yaml_matcher.go
GO
apache-2.0
2,453
# # Author:: Joe Williams (<joe@joetify.com>) # Author:: Tyler Cloke (<tyler@opscode.com>) # Copyright:: Copyright (c) 2009 Joe Williams # 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 ma...
ckaushik/chef
lib/chef/resource/mdadm.rb
Ruby
apache-2.0
2,207
(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...
Piicksarn/cdnjs
ajax/libs/forerunnerdb/1.3.50/fdb-core+views.js
JavaScript
mit
223,891
/* * Copyright 2015 Facebook, 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...
respu/coral-folly
folly/io/async/test/EventHandlerTest.cpp
C++
apache-2.0
4,714
// 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 ...
krk/coreclr
tests/src/JIT/HardwareIntrinsics/X86/Bmi1.X64/TrailingZeroCount.UInt64.cs
C#
mit
7,684
<?php /** * @file * Contains \Drupal\toolbar\Controller\ToolbarController. */ namespace Drupal\toolbar\Controller; use Drupal\Core\Access\AccessResult; use Drupal\Core\Ajax\AjaxResponse; use Drupal\Core\Controller\ControllerBase; use Drupal\toolbar\Ajax\SetSubtreesCommand; /** * Defines a controller for the too...
komejo/article-test
web/core/modules/toolbar/src/Controller/ToolbarController.php
PHP
gpl-2.0
1,674
# orm/exc.py # Copyright (C) 2005-2016 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """SQLAlchemy ORM exceptions.""" from .. import exc as sa_exc, util NO_STATE = (Attribut...
pcu4dros/pandora-core
workspace/lib/python3.5/site-packages/sqlalchemy/orm/exc.py
Python
mit
5,439
package network // Copyright (c) Microsoft and contributors. 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 // // Unl...
kgrygiel/autoscaler
vertical-pod-autoscaler/vendor/github.com/Azure/azure-sdk-for-go/arm/network/expressroutecircuitpeerings.go
GO
apache-2.0
16,778
# # Author:: Mukta Aphale (<mukta.aphale@clogeny.com>) # Copyright:: Copyright (c) 2013 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 #...
cgvarela/chef
spec/unit/windows_service_spec.rb
Ruby
apache-2.0
3,344
/* * 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...
asedunov/intellij-community
xml/dom-openapi/src/com/intellij/util/xml/DomNameStrategy.java
Java
apache-2.0
1,707
--TEST-- phpunit --configuration tests/_files/phpunit-example-extension --FILE-- <?php $_SERVER['argv'][1] = '--configuration'; $_SERVER['argv'][2] = __DIR__ . '/../_files/phpunit-example-extension'; require __DIR__ . '/../bootstrap.php'; PHPUnit\TextUI\Command::main(); --EXPECTF-- PHPUnit %s by Sebastian Bergmann and...
nusendra/nusendra-blog
vendor/phpunit/phpunit/tests/end-to-end/phar-extension.phpt
PHP
mit
597
package storage import ( "fmt" "path" "strings" "github.com/docker/distribution/digest" ) const storagePathVersion = "v2" // pathMapper maps paths based on "object names" and their ids. The "object // names" mapped by pathMapper are internal to the storage system. // // The path layout in the storage backend is...
philiplb/flynn
vendor/github.com/docker/distribution/registry/storage/paths.go
GO
bsd-3-clause
16,435
import {Credentials} from '../credentials'; import {AWSError} from '../error'; import STS = require('../../clients/sts'); export class TemporaryCredentials extends Credentials { /** * Creates a new temporary credentials object. * @param {Object} options - a map of options that are passed to the AWS.STS.a...
ChaseGHMU/AlexaSymptomChecker
src/node_modules/aws-sdk/lib/credentials/temporary_credentials.d.ts
TypeScript
mit
1,654
<?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...
T0MM0R/magento
web/lib/Zend/View/Helper/Cycle.php
PHP
gpl-2.0
4,843
<?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\Security\Guard\Firewall; use Symfony\Component\HttpFo...
toncatalansuazo/SymfonyDashboard
vendor/symfony/symfony/src/Symfony/Component/Security/Guard/Firewall/GuardAuthenticationListener.php
PHP
mit
9,036
/** * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ /** * Unobtrusive Form Validation library * * Inspired by: Chris Campbell <www.particletree.com> * * @package Joomla.Framework * @subpackage ...
google-code/asianspecialroad
plugins/media/system/js/validate-jquery-uncompressed.js
JavaScript
gpl-2.0
5,696
/* * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) an...
mogoweb/webkit_for_android5.1
webkit/Source/WebCore/rendering/svg/SVGTextChunkBuilder.cpp
C++
apache-2.0
9,299
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * * @package PhpMyAdmin */ // Run common work require_once './libraries/common.inc.php'; define('TABLE_MAY_BE_ABSENT', true); require './libraries/tbl_common.php'; $url_query .= '&amp;goto=tbl_tracking.php&amp;back=tbl_tracking.php'; $url_params['goto'] = 'tbl_tr...
teiath/lms
web/dbadmin/tbl_tracking.php
PHP
mit
29,065
package terraform //go:generate stringer -type=walkOperation graph_walk_operation.go // walkOperation is an enum which tells the walkContext what to do. type walkOperation byte const ( walkInvalid walkOperation = iota walkInput walkApply walkPlan walkPlanDestroy walkRefresh walkValidate walkDestroy )
kzittritsch/terraform-provider-bigip
vendor/github.com/hashicorp/terraform/terraform/graph_walk_operation.go
GO
mpl-2.0
313
(function (env) { "use strict"; env.ddg_spice_bacon_ipsum = function(api_result){ if (!api_result || api_result.error) { return Spice.failed('bacon_ipsum'); } var pageContent = ''; for (var i in api_result) { pageContent += "<p>" + api_result[i] + "</p>...
hshackathons/zeroclickinfo-spice
share/spice/bacon_ipsum/bacon_ipsum.js
JavaScript
apache-2.0
910
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //////////////////////////////////////////////////////////////////////////// // // // Purpose: This class implements a set of methods for retrieving // sor...
Priya91/coreclr
src/mscorlib/src/System/Globalization/SortKey.cs
C#
mit
6,975
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.Contracts; //using System.Globalization; using System.Runtime.Co...
Priya91/coreclr
src/mscorlib/src/System/Collections/Generic/Comparer.cs
C#
mit
5,796
// 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 System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnal...
mavasani/roslyn-analyzers
tools/AnalyzerCodeGenerator/template/src/Test/Utilities/CodeFixTests.Extensions.cs
C#
apache-2.0
826
package consul import ( "fmt" "strings" "time" "github.com/xordataexchange/crypt/backend" "github.com/armon/consul-api" ) type Client struct { client *consulapi.KV waitIndex uint64 } func New(machines []string) (*Client, error) { conf := consulapi.DefaultConfig() if len(machines) > 0 { conf.Address =...
tcotav/etcdhooks
vendor/src/github.com/xordataexchange/crypt/backend/consul/consul.go
GO
mit
1,810
require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudsearchdomain'] = {}; AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']); require('../lib/services/cloudsearchd...
edeati/alexa-translink-skill-js
test/node_modules/aws-sdk/clients/cloudsearchdomain.js
JavaScript
apache-2.0
615
#!/usr/bin/env python """ exec_command Implements exec_command function that is (almost) equivalent to commands.getstatusoutput function but on NT, DOS systems the returned status is actually correct (though, the returned status values may be different by a factor). In addition, exec_command takes keyword arguments fo...
LumPenPacK/NetworkExtractionFromImages
win_build/nefi2_win_amd64_msvc_2015/site-packages/numpy/distutils/exec_command.py
Python
bsd-2-clause
20,462
<?php namespace Drupal\file\Plugin\Field\FieldFormatter; /** * Defines getter methods for FileMediaFormatterBase. * * This interface is used on the FileMediaFormatterBase class to ensure that * each file media formatter will be based on a media type. * * Abstract classes are not able to implement abstract stati...
tobiasbuhrer/tobiasb
web/core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterInterface.php
PHP
gpl-2.0
667
#include <gtest/gtest.h> #include "codec_def.h" #include "codec_api.h" #include "utils/BufferedData.h" #include "utils/FileInputStream.h" #include "BaseEncoderTest.h" class EncInterfaceCallTest : public ::testing::Test, public BaseEncoderTest { public: virtual void SetUp() { BaseEncoderTest::SetUp(); }; vir...
AnyRTC/AnyRTC-RTMP
third_party/openh264/src/test/encoder/EncUT_InterfaceTest.cpp
C++
gpl-3.0
2,699