code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
// 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. #nullable disable using System; using System.Diagnostics; using System.Linq; using System.Threading; using Microso...
shyamnamboodiripad/roslyn
src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpExtensionMethodReducer.cs
C#
apache-2.0
6,511
/* * 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...
wangcy6/storm_app
frame/kafka-0.11.0/kafka-0.11.0.1-src/connect/runtime/src/main/java/org/apache/kafka/connect/storage/MemoryOffsetBackingStore.java
Java
apache-2.0
4,169
// 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. #nullable disable #if NETCOREAPP using System; using System.IO; using System.Text; using System.Threading; using ...
brettfo/roslyn
src/Test/Utilities/Portable/Platform/CoreClr/SharedConsoleOutWriter.cs
C#
apache-2.0
2,634
/* * 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 ...
sh-cho/cshSpark
deploy/worker/DriverRunner.scala
Scala
apache-2.0
8,881
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Microsoft.WebMatrix.Extensibility; using NuGet; using NuGet.WebMatrix.Data; namespace NuGet.WebM...
mrward/NuGet.V2
WebMatrixExtension/NuGetExtension/Core/FilterManager.cs
C#
apache-2.0
13,110
<!DOCTYPE html> <title>SVG*List immutability</title> <script src=../../resources/testharness.js></script> <script src=../../resources/testharnessreport.js></script> <script> var root = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); [ { element: 'polygon', attr: 'points', value: '0,0 10,10', ...
js0701/chromium-crosswalk
third_party/WebKit/LayoutTests/svg/dom/svglist-immutable.html
HTML
bsd-3-clause
1,994
description("Test path animation where coordinate modes of start and end differ. You should see PASS messages"); createSVGTestCase(); // Setup test document var path = createSVGElement("path"); path.setAttribute("id", "path"); path.setAttribute("d", "M -30 -30 q 30 0 30 30 t -30 30 Z"); path.setAttribute("fill", "gree...
wuhengzhi/chromium-crosswalk
third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-path-animation-qQ-tT-inverse.js
JavaScript
bsd-3-clause
1,777
<html> <body> <script type="text/javascript" charset="utf-8"> window.open('http://host', 'host', 'this-is-not-a-standard-feature'); </script> </body> </html>
renaesop/electron
spec/fixtures/pages/window-open.html
HTML
mit
160
/** * Copyright 2017 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 appli...
laurentiustamate94/DefinitelyTyped
types/material__dialog/foundation.d.ts
TypeScript
mit
1,164
<?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\DependencyInjection\Tests\Dumper; use DummyProxyDumpe...
davidcerezal/symfony_api_project
vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php
PHP
mit
27,206
-- -- Copyright (c) 2011 Citrix Systems, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This progra...
jean-edouard/manager
xenmgr/Setup.hs
Haskell
gpl-2.0
8,034
/* * chap.c - Challenge Handshake Authentication Protocol. * * Copyright (c) 1993 The Australian National University. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and th...
lizhuobin1981/rtems_test
cpukit/pppd/chap.c
C
gpl-2.0
21,275
/* Area: ffi_closure, unwind info Purpose: Check if the unwind information is passed correctly. Limitations: none. PR: none. Originator: Jeff Sturm <jsturm@one-point.com> */ /* { dg-do run } */ #include "ffitestcxx.h" #if defined HAVE_STDINT_H #include <stdint.h> #endif #if defined HAVE_INTTYPES_H #in...
teeple/pns_server
work/install/Python-2.7.4/Modules/_ctypes/libffi/testsuite/libffi.special/unwindtest.cc
C++
gpl-2.0
3,804
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * ROUTE - implementation of the IP router. * * Authors: Ross Biro * Fred N. van Kempen, <waltje@uWalt.NL.Mug...
Andiry/prd
net/ipv4/route.c
C
gpl-2.0
68,241
var utils = require('./connection_utils'), inherits = require('util').inherits, net = require('net'), EventEmitter = require('events').EventEmitter, inherits = require('util').inherits, MongoReply = require("../responses/mongo_reply").MongoReply, Connection = require("./connection").Connection; var Connect...
cw0100/cwse
nodejs/node_modules/rrestjs/node_modules/mongodb/lib/mongodb/connection/connection_pool.js
JavaScript
gpl-2.0
7,246
// // openhabMasterViewController.h // openHAB iOS User Interface // Copyright © 2011 Pablo Romeu // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or ...
hektiker1983/openhab.ios
openhab/openhabMasterViewController.h
C
gpl-3.0
1,440
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using SmartStore.Core.Domain.Tasks; namespace SmartStore.Core.Events { /// <summary> /// to initialize scheduled tasks in Application_Start /// </summary> public class AppInitScheduledTasksEvent { public IList<ScheduleTask>...
ibindura/SmartStoreNET
src/Libraries/SmartStore.Core/Events/CommonMessages/AppInitScheduledTasksEvent.cs
C#
gpl-3.0
357
#include <iostream> #include <seqan/stream.h> using namespace seqan; int main(int argc, char const ** argv) { if (argc != 2) { std::cerr << "USAGE: tutorial_solution1 VALUE\n"; return 1; } // Lexical casting with the 1-argument lexicalCast(). { int i = 0; unsi...
rrahn/jst_bench
include/seqan/demos/tutorial/custom_io/solution4.cpp
C++
gpl-3.0
2,177
#include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/device.h> #include <linux/kdev_t.h> #include <linux/fs.h> #include <linux/cdev.h> #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/mm_types.h> #include <linux/mm.h> #incl...
valascus/android_p8000_kernel_nougat
drivers/misc/mediatek/videocodec/mt6735/videocodec_kernel_driver_D1.c
C
gpl-3.0
104,623
define( ({ "collapse": "Spusti traku s alatima editora", "expand": "Proširi traku s alatima editora" }) );
avz-cmf/zaboy-middleware
www/js/dojox/editor/plugins/nls/hr/CollapsibleToolbar.js
JavaScript
gpl-3.0
110
----------------------------------- -- Area: Middle Delkfutt's Tower -- MOB: Tower Bats ----------------------------------- require("scripts/globals/groundsofvalor"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, player, isKiller) checkGoVregime(p...
Scavenge/darkstar
scripts/zones/Middle_Delkfutts_Tower/mobs/Tower_Bats.lua
Lua
gpl-3.0
380
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package upgrader import ( "github.com/juju/juju/agent/tools" "github.com/juju/juju/version" ) // UpgradeReadyError is returned by an Upgrader to report that // an upgrade is ready to be performed and a restart is due. type...
tsakas/juju
worker/upgrader/error.go
GO
agpl-3.0
967
// stdafx.cpp : source file that includes just the standard includes // xpad.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file string format(const char* fmt, ...) ...
Pistachioman/pcsx2
plugins/CDVDolio/stdafx.cpp
C++
lgpl-3.0
679
<?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/HangoutsChat/Image.php
PHP
apache-2.0
1,427
<!DOCTYPE html> <html> <head> <title>dom_test</title> <script src="test_bootstrap.js"></script> <script type="text/javascript"> goog.require('bot.dom.core'); goog.require('bot.userAgent'); goog.require('goog.testing.jsunit'); goog.require('goog.userAgent'); </script> <body> <script type="text/javascript"> fun...
SeleniumHQ/htmlunit-driver
src/test/resources/javascript/atoms/test/dom_test.html
HTML
apache-2.0
3,025
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apac...
atpham256/azure-powershell
src/ResourceManager/Sql/Commands.Sql/Secure Connection/Model/DatabaseSecureConnectionPolicyModel.cs
C#
apache-2.0
1,931
// 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.Collections.Generic; using Microsoft.CodeAnalysis.Operations; using Microsoft.CodeAnalysis.Shared.Utilities; using Roslyn.Utilities; namespace ...
mmitche/roslyn
src/Features/Core/Portable/PopulateSwitch/PopulateSwitchHelpers.cs
C#
apache-2.0
4,898
/* 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, ...
imcsk8/origin
vendor/k8s.io/kubernetes/pkg/volume/csi/csi_block_test.go
GO
apache-2.0
8,146
'use strict'; angular.module('openshiftConsole') .directive('overviewDeployment', function($location, $timeout, LabelFilter) { return { restrict: 'E', scope: { // Replication controller / deployment fields rc: '=', deploymentConfigId: '=', deploymentConfigMissing: '=', ...
domenicbove/origin
assets/app/scripts/directives/resources.js
JavaScript
apache-2.0
3,240
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0-google-internal) on Wed Dec 30 10:35:12 PST 2009 --> <TITLE> Uses of Interface com.google.common.collect.Multimap (Google Collections Library 1.0 (FI...
MedwynLiang/google-collections
javadoc/com/google/common/collect/class-use/Multimap.html
HTML
apache-2.0
39,388
/* * RealVideo 4 decoder * copyright (c) 2007 Konstantin Shishkov * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License...
shyamalschandra/sagetv
third_party/ffmpeg/libavcodec/rv40vlc2.h
C
apache-2.0
33,390
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Module: zrender/tool/http</title> <meta property="og:title" content=""/> <meta property="og:type" content="website"/> <meta property="og:image" content=""/> <meta property="og:url" content=""/> <sc...
yckrasnodar/zrender
doc/api/module-zrender_tool_http.html
HTML
bsd-3-clause
190,196
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>Canvas Test</title> <script type="text/javascript" src="../doc/asset/js/esl/esl.js"></script> <style> html, body, #main { margin: 0; } </style> </head> <body> <div id="main"></div> <script type="text/ja...
lkiarest/zrender
test/memory.html
HTML
bsd-3-clause
1,585
#define A2_A_h
endlessm/chromium-browser
third_party/llvm/clang/test/Modules/Inputs/shadow/A2/A.h
C
bsd-3-clause
15
// // Created by Krzysztof Zabłocki(http://twitter.com/merowing_) on 20/10/14. // // // @import Foundation; @protocol KZPComponent <NSObject> @required + (void)reset; @end
xuvw/KZPlayground
Pod/Classes/Components/KZPComponent.h
C
mit
176
#!/usr/bin/env bash echo " Please run download-db.sh to download the PlasmidFinder database to ${PLASMID_DB}. If you have a database in custom path, please use "plasmidfinder.py" with the option "-p". " >> ${PREFIX}/.messages.txt printf '%s\n' "${URLS[@]}" >> "${PREFIX}/.messages.txt" 2>&1
jerowe/bioconda-recipes
recipes/plasmidfinder/post-link.sh
Shell
mit
292
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-eq...
sorlandoiii/dynasty-league
resources/public/bower_components/ng-table/examples-old/demo32.html
HTML
epl-1.0
6,229
/* * @test /nodynamiccopyright/ * @bug 4482403 * @summary javac failed to check second bound * @author gafter * * @compile/fail/ref=Multibound1.out -XDrawDiagnostics Multibound1.java */ package Multibound1; interface A {} interface B {} class C<T extends A&B> {} class D implements A {} class E extends C<D> {}...
FauxFaux/jdk9-langtools
test/tools/javac/generics/Multibound1.java
Java
gpl-2.0
321
/* * linux/ipc/namespace.c * Copyright (C) 2006 Pavel Emelyanov <xemul@openvz.org> OpenVZ, SWsoft Inc. */ #include <linux/ipc.h> #include <linux/msg.h> #include <linux/ipc_namespace.h> #include <linux/rcupdate.h> #include <linux/nsproxy.h> #include <linux/slab.h> #include <linux/fs.h> #include <linux/mount.h> #incl...
augustayu/fastsocket
kernel/ipc/namespace.c
C
gpl-2.0
4,437
/* * include/linux/muic/muic.h * * header file supporting MUIC common information * * Copyright (C) 2010 Samsung Electronics * Seoyoung Jeong <seo0.jeong@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
7420dev/android_kernel_samsung_zeroflte
include/linux/muic/muic.h
C
gpl-2.0
6,208
#megaMenu ul.megaMenu{ background-color:#222; border:1px solid #222; } #megaMenu ul.megaMenu > li > a{ font-size:12px; color:#d9d9d9; text-shadow:none; font-weight:bold; text-transform:uppercase; text-shadow:0px 1px 1px #000; } #megaMenu ul.megaMenu > li:hover > a, #megaMenu ul.megaMenu > li > a:hover, #megaMen...
level09/wp34
wp-content/plugins/wp-uber-menu/styles/skins/greywhite.css
CSS
gpl-2.0
2,988
/************************************************************************************************/ /* */ /* Copyright 2013 Broadcom Corporation */ /* ...
baran0119/kernel_samsung_baffinlitexx
arch/arm/mach-java/include/mach/rdb_A1/brcm_rdb_rf_interface_block3_top.h
C
gpl-2.0
8,712
/* * CHRP pci routines. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <asm/io.h> #include <asm/pgtable.h> #include <asm/irq.h> #include <asm/hydra.h> #include <asm/prom.h> #include <asm/machdep.h> #include <asm/sections.h> #in...
augustayu/fastsocket
kernel/arch/powerpc/platforms/chrp/pci.c
C
gpl-2.0
10,671
/* * ff.h - a part of driver for RME Fireface series * * Copyright (c) 2015-2017 Takashi Sakamoto * * Licensed under the terms of the GNU General Public License, version 2. */ #ifndef SOUND_FIREFACE_H_INCLUDED #define SOUND_FIREFACE_H_INCLUDED #include <linux/device.h> #include <linux/firewire.h> #include <linu...
qzhuyan/linux
sound/firewire/fireface/ff.h
C
gpl-2.0
4,433
/* * Implementation of the userspace SID hashtable. * * Author : Eamon Walsh, <ewalsh@epoch.ncsc.mil> */ #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "selinux_internal.h" #include <selinux/avc.h> #include "avc_sidtab.h" #include "avc_internal.h" static ...
KubaKaszycki/kubux
libselinux/src/avc_sidtab.c
C
gpl-3.0
2,894
/* * jsimd_i386.c * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB * Copyright 2009-2011, 2013-2014 D. R. Commander * * Based on the x86 SIMD extension for IJG JPEG library, * Copyright (C) 1999-2006, MIYASAKA Masaru. * For conditions of distribution and use, see copyright notice in jsimdext.in...
cedewey/sol
wp-content/themes/gulp-dev/node_modules/mozjpeg/f47f5773-89ce-4b83-810e-48145ecc3389/simd/jsimd_i386.c
C
gpl-3.0
28,380
<!DOCTYPE html> <html lang="en" > <head> <meta charset="utf-8"/> <title>CSS3 Text, linebreaks: 3087 HIRAGANA LETTER SMALL YO </title> <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> <meta name='flags' content='font'> <style type='text/css'> @font-face { font-family: 'mplus-1p-regular'; src: ur...
shinglyu/servo
tests/wpt/web-platform-tests/css/css-text-3/i18n/reference/css3-text-line-break-opclns-258-ref.html
HTML
mpl-2.0
771
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # # Copyright (c) 2013-2015 Noviat nv/sa (www.noviat.com). # # This program is free software: you can redistribute it and/or modify # it under the terms of th...
damdam-s/account-financial-tools
account_move_line_search_extension/__init__.py
Python
agpl-3.0
1,056
# -*- coding: utf-8 -*- from odoo.tests.common import HttpCase from odoo.exceptions import ValidationError class AccountingTestCase(HttpCase): """ This class extends the base TransactionCase, in order to test the accounting with localization setups. It is configured to run the tests after the installation ...
Aravinthu/odoo
addons/account/tests/account_test_classes.py
Python
agpl-3.0
2,749
/* linpack/csvdc.f -- translated by f2c (version 20050501). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm ...
eile/ITK
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linpack/csvdc.c
C
apache-2.0
39,375
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.KeywordHighlighting Pu...
bbarry/roslyn
src/EditorFeatures/VisualBasicTest/KeywordHighlighting/WhileBlockHighlighterTests.vb
Visual Basic
apache-2.0
2,001
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=constant.LC_PAPER.html"> </head> <body> <p>Redirecting to <a href="constant.LC_PAPER.html">constant.LC_PAPER.html</a>...</p> <script>location.replace("constant.LC_PAPER.html" + location.search + location.hash);</script> </body...
nitro-devs/nitro-game-engine
docs/libc/unix/notbsd/linux/other/LC_PAPER.v.html
HTML
apache-2.0
329
/* * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ var RokIEWarn=new Class({site:"sitename",initialize:function(f){var d=f;this.box=new Element("div",{id:"iewarn"}).inject(document.bod...
devxive/nawala-rdk
src/lib_gantry/js/gantry-ie6warn.js
JavaScript
apache-2.0
1,220
from sentry.testutils.cases import RuleTestCase from sentry.rules.conditions.first_seen_event import FirstSeenEventCondition class FirstSeenEventConditionTest(RuleTestCase): rule_cls = FirstSeenEventCondition def test_applies_correctly(self): rule = self.get_rule() self.assertPasses(rule, se...
felixbuenemann/sentry
tests/sentry/rules/conditions/test_first_seen_event.py
Python
bsd-3-clause
407
<?php /** * Lithium: the most rad php framework * * @copyright Copyright 2013, Union of RAD (http://union-of-rad.org) * @license http://opensource.org/licenses/bsd-license.php The BSD License */ namespace lithium\tests\cases\console\command\create; use lithium\console\command\create\Model; use lithium\...
kevin-jones/lithium
tests/cases/console/command/create/ModelTest.php
PHP
bsd-3-clause
1,613
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.33440 // // Changes to this...
the-only-brivad/HOPM
src/orchard.specs/DateTime.feature.cs
C#
bsd-3-clause
23,611
require "helper" describe Octokit::EnterpriseAdminClient::Orgs do before do Octokit.reset! @admin_client = enterprise_admin_client end describe ".create_organization", :vcr do it "creates a new organization" do @admin_client.create_organization('SuchAGreatOrg', 'gjtorikian') expect(@adm...
iainbeeston/octokit.rb
spec/octokit/enterprise_admin_client/orgs_spec.rb
Ruby
mit
479
// Type definitions for es6-promise // Project: https://github.com/jakearchibald/ES6-Promise // Definitions by: François de Campredon <https://github.com/fdecampredon>, vvakame <https://github.com/vvakame> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped interface Thenable<T> { then<U>(onFulfille...
AbraaoAlves/DefinitelyTyped
types/es6-promise/index.d.ts
TypeScript
mit
5,199
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ namespace Respect\Validation\Rules\SubdivisionCode; use Respect\V...
SiliconSouthTech/farmeazy
vendor/respect/validation/library/Rules/SubdivisionCode/SoSubdivisionCode.php
PHP
mit
1,108
<?php namespace Kunstmaan\GeneratorBundle\Generator; use Symfony\Component\HttpKernel\Bundle\BundleInterface; /** * Generates all classes/files for a new page */ class PageGenerator extends KunstmaanGenerator { /** * @var BundleInterface */ private $bundle; /** * @var string */ ...
Amrit01/KunstmaanBundlesCMS
src/Kunstmaan/GeneratorBundle/Generator/PageGenerator.php
PHP
mit
5,521
/** * */ var obj = { num: 123, str: 'hello', }; obj.
JonathanUsername/flow
newtests/autocomplete/foo.js
JavaScript
mit
61
function error_log(message, message_type, destination, extra_headers) { // http://kevin.vanzonneveld.net // + original by: Paul Hutchinson (http://restaurantthing.com/) // + revised by: Brett Zamir (http://brett-zamir.me) // % note 1: The dependencies, mail(), syslog(), and file_put_contents() //...
cigraphics/phpjs
experimental/errorfunc/error_log.js
JavaScript
mit
2,020
namespace Nancy.Tests.Unit.Json { using System; public class TestPrimitiveConverterType : IEquatable<TestPrimitiveConverterType> { public int Data; public bool Equals(TestPrimitiveConverterType other) { if (other == null) return false; return (this.Data == other.Data); } ...
anton-gogolev/Nancy
test/Nancy.Tests/Unit/Json/TestPrimitiveConverterType.cs
C#
mit
526
/* ************************************************************************************* * Linux * USB Host Controller Driver * * (c) Copyright 2006-2010, All winners Co,Ld. * All Rights Reserved * * File Name : sw_udc_board.h * * Author : javen...
uei/enchantmoon_kernel
linux-3.0/drivers/usb/sun4i_usb/udc/sw_udc_board.h
C
gpl-2.0
968
# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Linux kernel device drivers. # # 15 Sep 2000, Christoph Hellwig <hch@infradead.org> # Rewritten to use lists instead of if-statements. # obj-y += irqchip/ obj-y += bus/ obj-$(CONFIG_GENERIC_PHY) += phy/ # GPIO must come after pinctrl as gpios may need to ...
rperier/linux-rockchip
drivers/Makefile
Makefile
gpl-2.0
5,499
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /* COPYING CONDITIONS NOTICE: This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by th...
louishust/mysql5.6.14_tokudb
storage/tokudb/ft-index/ft/tests/cachetable-test.h
C
gpl-2.0
5,186
/* * amrnb audio input device * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and...
chrisch1974/htc7x30-2.6-flyer
arch/arm/mach-msm/qdsp5v2/audio_amrnb_in.c
C
gpl-2.0
22,485
// 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. #include "chrome/browser/extensions/api/content_settings/content_settings_store.h" #include <set> #include "base/debug/alias.h" #include "base/loggi...
qtekfun/htcDesire820Kernel
external/chromium_org/chrome/browser/extensions/api/content_settings/content_settings_store.cc
C++
gpl-2.0
12,997
/* * This file is part of the libopencm3 project. * * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the ...
supercamel/ninjaskit
libopencm3/stm32/f1/memorymap.h
C
gpl-3.0
5,545
<?php class ControllerReportCustomerActivity extends Controller { public function index() { $this->load->language('report/customer_activity'); $this->document->setTitle($this->language->get('heading_title')); if (isset($this->request->get['filter_customer'])) { $filter_customer = $this->request->get['filter...
latestthemes/opencart
upload/admin/controller/report/customer_activity.php
PHP
gpl-3.0
5,935
<?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 ...
cbradley456/moodle
report/backups/version.php
PHP
gpl-3.0
1,202
<!DOCTYPE html> <html> <!-- Submitted from TestTWF Paris --> <head> <title>CSS Values and Units Test: vh-based dimension doesn't change when the element other dimension doesn't change.</title> <style type="text/css"> * { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 13px; } /* ...
anthgur/servo
tests/wpt/web-platform-tests/css/css-values/support/vh_not_refreshing_on_chrome_iframe.html
HTML
mpl-2.0
2,485
'use strict' const Buffer = require('safe-buffer').Buffer const crypto = require('crypto') const Transform = require('stream').Transform const SPEC_ALGORITHMS = ['sha256', 'sha384', 'sha512'] const BASE64_REGEX = /^[a-z0-9+/]+(?:=?=?)$/i const SRI_REGEX = /^([^-]+)-([^?]+)([?\S*]*)$/ const STRICT_SRI_REGEX = /^([^-...
veerhiremath7/veerhiremath7.github.io
node_modules/ssri/index.js
JavaScript
unlicense
11,559
/// <reference path="fourslash.ts" /> // @allowNonTsExtensions: true // @Filename: file.js //// /** //// * @param {number} a //// * @param {string} b //// */ //// exports.foo = function(a, b) { //// a/*a*/; //// b/*b*/ //// }; goTo.marker('a'); edit.insert('.'); verify.completionListContains('toF...
plantain-00/TypeScript
tests/cases/fourslash/getJavaScriptCompletions18.ts
TypeScript
apache-2.0
477
//===--- ScratchBuffer.cpp - Scratch space for forming tokens -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
jeltz/rust-debian-package
src/llvm/tools/clang/lib/Lex/ScratchBuffer.cpp
C++
apache-2.0
2,830
<?php /** * Validates an integer representation of pixels according to the HTML spec. */ class HTMLPurifier_AttrDef_HTML_Pixels extends HTMLPurifier_AttrDef { protected $max; public function __construct($max = null) { $this->max = $max; } public function validate(...
cappetta/CyberCloud
puppet/garbage/website/files/DVWA/external/phpids/0.6/lib/IDS/vendors/htmlpurifier/HTMLPurifier/AttrDef/HTML/Pixels.php
PHP
apache-2.0
1,343
/* Copyright 2019 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, ...
ingvagabund/origin
vendor/k8s.io/kubernetes/pkg/apis/scheduling/v1alpha1/defaults_test.go
GO
apache-2.0
2,157
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mahaliachante/aws-sdk-java
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/ResetDBParameterGroupResult.java
Java
apache-2.0
3,865
<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <link href='../fullcalendar.css' rel='stylesheet' /> <link href='../fullcalendar.print.css' rel='stylesheet' media='print' /> <script src='../lib/moment.min.js'></script> <script src='../lib/jquery.min.js'></script> <script src='../lib/jquery-ui.custom.min.js'></sc...
ubiquitous-computing-lab/Mining-Minds
supporting-layer/descriptive-analytics/src/assets/lib/fullcalendar/demos/default.html
HTML
apache-2.0
1,485
cask 'kk7ds-python-runtime' do version '10.1' sha256 '5cee8acb941e39f93a4df6a99ed29a14c48da0bc5beb3b31068852b1fad8b009' url "http://www.d-rats.com/download/OSX_Runtime/KK7DS_Python_Runtime_R#{version.major}.pkg" name 'KK7DS Python Runtime' homepage 'http://www.d-rats.com/download/OSX_Runtime/' pkg "KK7DS_...
gerrypower/homebrew-cask
Casks/kk7ds-python-runtime.rb
Ruby
bsd-2-clause
450
<!doctype html> <title> legend and float and position: absolute/fixed when the display type of the fieldset is flex. </title> <script src=/resources/testharness.js></script> <script src=/resources/testharnessreport.js></script> <style> body { margin: 0; } fieldset { border: 10px solid; display: flex; mar...
scheib/chromium
third_party/blink/web_tests/external/wpt/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/flex-legend-float-abspos.html
HTML
bsd-3-clause
2,691
/****************************************************************************** * * Module Name: nsrepair2 - Repair for objects returned by specific * predefined methods * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel...
AiJiaZone/linux-4.0
virt/drivers/acpi/acpica/nsrepair2.c
C
gpl-2.0
31,111
/* * Copyright (C) ST-Ericsson SA 2010 * * License terms: GNU General Public License (GPL) version 2 * Author: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> * * RTC clock driver for the RTC part of the AB8500 Power management chip. * Based on RTC clock driver for the AB3100 Analog Baseband C...
itgb/opCloudRouter
qca/src/linux/drivers/rtc/rtc-ab8500.c
C
gpl-2.0
12,132
# == Schema Information # # Table name: runner_projects # # id :integer not null, primary key # runner_id :integer not null # project_id :integer not null # created_at :datetime # updated_at :datetime # module Ci class RunnerProject < ActiveRecord::Base extend Ci::Model ...
Exeia/gitlabhq
app/models/ci/runner_project.rb
Ruby
mit
494
/* Simple Random Number Generators - getuniform - uniform deviate [0,1] - getnorm - gaussian (normal) deviate (mean=0, stddev=1) - getpoisson - poisson deviate for given expected mean lambda This code is adapted from SimpleRNG by John D Cook, which is provided in the public domain. ...
teuben/masc
www/js/lib/js9-3.5/astroem/include/simplerng.h
C
mit
1,078
// // RTLabel.h // RTLabelProject // /** * Copyright (c) 2010 Muh Hon Cheng * Created by honcheng on 1/6/11. * * 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, ...
jimneylee/JLOSChina-iPhone-V2
vendor/RTLabel/RTLabel.h
C
mit
4,806
<!-- Generated by Rakefile:build --> <strong> TeMc </strong> on 2012-04-06 21:31:15 <br /> @Jean Marie: 1) Maybe it should be limited to arrays, like PHP does 2) No, because the purpose of this website is to re-create php functions in javascript. Feature requests are not accepted here by design. <hr /> <strong> <a...
cigraphics/phpjs
_octopress/source/functions/array_intersect_key/_comments.html
HTML
mit
3,369
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example92</title> <script src="../../../angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="eventExampleApp"> <div ng-controller="EventController"> <button ng-click="clickMe($...
abique/scissy
www/vendor/angular/docs/examples/example-example92/index.html
HTML
gpl-2.0
498
// { dg-options "-std=c++0x" } // { dg-require-cstdint "" } // // 2008-11-24 Edward M. Smith-Rowland <3dw4rd@verizon.net> // // Copyright (C) 2008-2013 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 th...
atgreen/gcc
libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc
C++
gpl-2.0
1,206
// { dg-options "-std=gnu++0x" } // 2010-03-23 Paolo Carlini <paolo.carlini@oracle.com> // // Copyright (C) 2010-2013 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 Pub...
pschorf/gcc-races
libstdc++-v3/testsuite/20_util/is_literal_type/value.cc
C++
gpl-2.0
1,855
// Copyright (C) 2010-2013 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...
atgreen/gcc
libstdc++-v3/testsuite/23_containers/map/debug/insert3_neg.cc
C++
gpl-2.0
988
// Copyright (C) 2004-2013 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...
atgreen/gcc
libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc
C++
gpl-2.0
2,596
package ONVIF::PTZ::Types::IPv6Configuration; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'http://www.onvif.org/ver10/schema' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLASS; } use Class::Std::Fast::Storable...
pliablepixels/ZoneMinder
onvif/proxy/lib/ONVIF/PTZ/Types/IPv6Configuration.pm
Perl
gpl-2.0
3,376
// { dg-do compile } // { dg-options "-std=gnu++0x" } // Copyright (C) 2012-2013 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 // Fre...
atgreen/gcc
libstdc++-v3/testsuite/23_containers/list/requirements/do_the_right_thing.cc
C++
gpl-2.0
950
<?php /** * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the...
jacobdfriedmann/jacobfriedmanndotcom
wp-content/plugins/wp-amazon-web-services-master/vendor/aws/Aws/S3/Sync/UploadSyncBuilder.php
PHP
gpl-2.0
5,208
/** * DO NOT EDIT THIS FILE. * See the following change record for more information, * https://www.drupal.org/node/2815083 * @preserve **/ (function (_, $, Backbone, Drupal) { Drupal.quickedit.EntityModel = Drupal.quickedit.BaseModel.extend({ defaults: { el: null, entityID: null, entityInstan...
isauragalafate/drupal8
web/core/modules/quickedit/js/models/EntityModel.js
JavaScript
gpl-2.0
10,662
#include QMK_KEYBOARD_H #include "debug.h" #include "action_layer.h" #define BASE 0 // default layer #define FN1 1 // media layer #define CAPS_CTL CTL_T(KC_CAPS) // Caps on tap, Ctrl on hold. #define COPY LCTL(KC_V) // C-c Copy #define PASTE LCTL(KC_V) // C-v Paste #define ZM_NRM LCTL(KC_0) ...
kll/qmk_firmware
layouts/community/ergodox/ab/keymap.c
C
gpl-2.0
7,321
! { dg-do compile } ! Test the patch for PR36374 in which the different ! symbols for 'foobar' would be incorrectly flagged as ! ambiguous in foo_mod. ! ! Contributed by Salvatore Filippone <sfilippone@uniroma2.it> ! module s_foo_mod type s_foo_type real(kind(1.e0)) :: v end type s_foo_type interface foo...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/gfortran.dg/generic_17.f90
FORTRAN
gpl-2.0
952
/* $Id$ */ /* * This file is part of OpenTTD. * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2. * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
supermerill/openttd
src/base_media_base.h
C
gpl-2.0
10,260
#ifndef _IFADDRS_H #include <inet/ifaddrs.h> #include <stdbool.h> #include <stdint.h> libc_hidden_proto (getifaddrs) libc_hidden_proto (freeifaddrs) struct in6addrinfo { enum { in6ai_deprecated = 1, in6ai_homeaddress = 2 } flags:8; uint8_t prefixlen; uint16_t :16; uint32_t index; uint32_t addr[4];...
geminy/aidear
oss/glibc/glibc-2.24/include/ifaddrs.h
C
gpl-3.0
758