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
// Copyright (c) 2013 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 "tools/gn/location.h" #include "base/logging.h" #include "base/strings/string_number_conversions.h" #include "tools/gn/input_file.h" Locati...
7kbird/chrome
tools/gn/location.cc
C++
bsd-3-clause
1,907
'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-border-fit', v); }, get: function () { return this.getPropertyValue('-webkit-border-fit'); }, enumerable: true, configurable: true };
ElvisLouis/code
work/js/node_modules/jsdom/node_modules/cssstyle/lib/properties/webkitBorderFit.js
JavaScript
gpl-2.0
266
<?php /** * @file * Contains \Drupal\language_test\Plugin\LanguageNegotiation\LanguageNegotiationTestTs. */ namespace Drupal\language_test\Plugin\LanguageNegotiation; use Symfony\Component\HttpFoundation\Request; /** * Class for identifying language from a selected language. * * @LanguageNegotiation( * id ...
komejo/d8demo-dev
web/core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php
PHP
mit
735
# Based on the buildah connection plugin # Copyright (c) 2017 Ansible Project # 2018 Kushal Das # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # # # Written by: Kushal Das (https://github.com/kushaldas) from __future__ import (absolute_import, division, print...
alxgu/ansible
lib/ansible/plugins/connection/qubes.py
Python
gpl-3.0
5,603
# (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...
ppanczyk/ansible
test/units/modules/network/nxos/test_nxos_static_route.py
Python
gpl-3.0
3,385
// 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. /** * @fileoverview A command is an abstraction of an action a user can do in the * UI. * * When the focus changes in the document for each comman...
Chilledheart/chromium
ui/webui/resources/js/cr/ui/command.js
JavaScript
bsd-3-clause
9,731
export function clamp(value: number, min: number, max: number): number; export function lerp(a: number, b: number, x: number): number; export function modulo(a: number, b: number): number; export function roundUpToPowerOfTwo(x: number): number; export function solveLinearSystem(mat: number[][]): number[]; export functi...
markogresak/DefinitelyTyped
types/ol/v5/math.d.ts
TypeScript
mit
632
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. import project import company import report import res_partner import res_config import web_planner
vileopratama/vitech
src/addons/project/__init__.py
Python
mit
200
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("NL...
reasyrf/XBeeMultiTerminal
src/NLog/examples/NLogDemo/Properties/AssemblyInfo.cs
C#
gpl-3.0
1,386
/* * Copyright (C) 2012 Whisper Systems * * 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 * (at your option) any later version. * * This program is di...
jocelynthode/TextSecure
src/org/thoughtcrime/redphone/crypto/zrtp/DH3KSecretCalculator.java
Java
gpl-3.0
2,358
// Code generated by protoc-gen-gogo. // source: authentication.proto // DO NOT EDIT! /* Package mesosproto is a generated protocol buffer package. It is generated from these files: authentication.proto containerizer.proto internal.proto log.proto mesos.proto messages.proto registry.proto scheduler....
oxtoacart/mesos-go
mesosproto/authentication.pb.go
GO
apache-2.0
6,298
/* Copyright 2017 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...
AsimmHirani/ISpyPi
tensorflow/contrib/tensorflow-master/tensorflow/compiler/aot/runtime.cc
C++
apache-2.0
3,129
/* * 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")...
PascalSchumacher/incubator-groovy
src/test/org/codehaus/groovy/runtime/m12n/Groovy6496Extension.java
Java
apache-2.0
966
// Copyright 2013 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 <stdio.h> #include "base/at_exit.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/logging.h" #include "base/me...
aospx-kitkat/platform_external_chromium_org
net/tools/testserver/run_testserver.cc
C++
bsd-3-clause
4,280
#!/usr/bin/python # 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. """This script lays out the PNaCl translator files for a normal Chrome installer, for one platform. Once run num-of-arches times, ...
GeyerA/android_external_chromium_org
ppapi/native_client/src/untrusted/pnacl_support_extension/pnacl_component_crx_gen.py
Python
bsd-3-clause
13,105
'use strict'; /** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of pate...
akhilapnair/exercism-ecmascript
sum-of-multiples/node_modules/jest/node_modules/jest-cli/build/lib/colorize.js
JavaScript
mit
607
# Copyright (c) 2001-2010 Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for twisted.enterprise.adbapi. """ from twisted.trial import unittest import os, stat, new from twisted.enterprise.adbapi import ConnectionPool, ConnectionLost, safe from twisted.enterprise.adbapi import Connection, Transac...
eunchong/build
third_party/twisted_10_2/twisted/test/test_adbapi.py
Python
bsd-3-clause
26,501
var Shader = require('./Shader'); /** * @class * @memberof PIXI * @extends PIXI.Shader * @param shaderManager {ShaderManager} The webgl shader manager this shader works for. * @param [vertexSrc] {string} The source of the vertex shader. * @param [fragmentSrc] {string} The source of the fragment shader. * @param...
nabettu/pixi.js
src/core/renderers/webgl/shaders/TextureShader.js
JavaScript
mit
2,615
<?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/lib/editor/tinymce/classes/plugin.php
PHP
gpl-3.0
15,022
(function() { var BINARY_EXTENSIONS, COMPRESSED_EXTENSIONS, IMAGE_EXTENSIONS, MARKDOWN_EXTENSIONS, Module, async, fs, fsPlus, isMoveTargetValid, isMoveTargetValidSync, isPathValid, lstatSyncNoException, mkdirp, path, rimraf, statSyncNoException, _, __slice = [].slice; fs = require('fs'); Module = require('m...
nlhuykhang/atom-config
packages/minimap/node_modules/fs-plus/lib/fs-plus.js
JavaScript
mit
20,254
//// [moduleElementsInWrongContext2.ts] function blah () { module M { } export namespace N { export interface I { } } namespace Q.K { } declare module "ambient" { } export = M; var v; function foo() { } export * from "ambient"; export { foo }; export { baz a...
progre/TypeScript
tests/baselines/reference/moduleElementsInWrongContext2.js
JavaScript
apache-2.0
938
/* * Copyright (c) 2013, 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 Softwa...
rokn/Count_Words_2015
testing/openjdk2/jdk/test/java/lang/reflect/AnnotatedElement/TestAnnotatedElementDefaults.java
Java
mit
11,628
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Peter Kelly (pmk@post.com) * (C) 2001 Dirk Mueller (mueller@kde.org) * (C) 2007 David Smith (catfish.man@gmail.com) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009,...
13W/phantomjs
src/qt/src/3rdparty/webkit/Source/WebCore/dom/Element.cpp
C++
bsd-3-clause
66,631
(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...
wil93/cdnjs
ajax/libs/forerunnerdb/1.3.477/fdb-all.js
JavaScript
mit
1,042,405
/* XLogin over portal body */ $PBJQ(document).ready(function(){ if( $PBJQ('#loginLink2').length == 1 ){ $PBJQ('#loginLink2').click( function( e ){ $PBJQ('body').append('<div id="Mrphs-xlogin-container" />'); $PBJQ('#Mrphs-xlogin-container').load('/portal/xlogin #Mrphs-xlogin',function(){ $...
ouit0408/sakai
reference/library/src/morpheus-master/js/src/sakai.morpheus.xlogin.js
JavaScript
apache-2.0
898
print(xrange(<warning descr="Parameter 'start' unfilled">)</warning>) print(xrange(1)) print(xrange(1, 2)) print(xrange(1, 2, 3)) print(xrange(1, 2, 3, <warning descr="Unexpected argument">4</warning>))
akosyakov/intellij-community
python/testData/inspections/PyArgumentListInspection/xRange.py
Python
apache-2.0
203
// // 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...
cwickham3/azure-sdk-for-net
src/ResourceManagement/Compute/ComputeManagement/Generated/Models/ProvisioningStateTypes.cs
C#
apache-2.0
1,687
<?php /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * This content is released under the MIT License (MIT) * * Copyright (c) 2014, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of th...
Vicecalidadumb/biblia
system/core/Benchmark.php
PHP
apache-2.0
4,087
package huff0 import ( "errors" "fmt" "io" "github.com/klauspost/compress/fse" ) type dTable struct { single []dEntrySingle double []dEntryDouble } // single-symbols decoding type dEntrySingle struct { entry uint16 } // double-symbols decoding type dEntryDouble struct { seq uint16 nBits uint8 len uin...
jthelin/docker
vendor/github.com/klauspost/compress/huff0/decompress.go
GO
apache-2.0
30,811
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using CoreXml.Test.XLinq; using Microsoft.Test.ModuleCore; using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using ...
Frank125/corefx
src/System.Xml.XDocument/tests/TreeManipulation/XContainerRemoveNodesOnXElement.cs
C#
mit
5,098
/* * 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...
schonfeld/elasticsearch
core/src/main/java/org/elasticsearch/index/snapshots/IndexShardRepository.java
Java
apache-2.0
3,463
#!/usr/bin/python # # 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 distribut...
tszym/ansible
lib/ansible/modules/network/nxos/nxos_snmp_location.py
Python
gpl-3.0
5,795
<?php return array ( 'template' => 'default', 'connectionId' => 'db', 'tablePrefix' => '', 'modelPath' => 'application.models', 'baseClass' => 'CActiveRecord', 'buildRelations' => '1', );
learning-layers/reflect-app
web_ponty/protected/runtime/gii-1.1.13/ModelCode.php
PHP
apache-2.0
200
<?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...
Molkobain/home-cortex
vendor/google/apiclient-services/src/Google/Service/Dfareporting/UserRolePermissionsListResponse.php
PHP
mit
1,247
<?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...
siege123/export-to-google-drive
vendor/google/apiclient-services/src/Google/Service/AdExchangeSeller/SavedReport.php
PHP
mit
1,086
// 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.Collections.Generic; using System.Diagnostics; namespace System.Threading { // // Unix-specifi...
poizan42/coreclr
src/System.Private.CoreLib/shared/System/Threading/TimerQueue.Portable.cs
C#
mit
4,827
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2007-2014 // // 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...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/passenger-6.0.5/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp
C++
gpl-3.0
5,974
# Copyright 2016 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...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/tensorflow/contrib/keras/api/keras/optimizers/__init__.py
Python
bsd-2-clause
1,718
// Type definitions for snake-case // Project: https://github.com/blakeembrey/snake-case // Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare module "snake-case" { function snakeCase(string: string, locale?: string): string...
Pro/DefinitelyTyped
snake-case/snake-case.d.ts
TypeScript
mit
345
<?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...
anhyeuviolet/module-videos
vendor/google/apiclient-services/src/Google/Service/Compute/DiskTypesScopedListWarningData.php
PHP
gpl-2.0
968
class Test { /** * @throws <warning>SomeClass</warning> asdfasd */ public void foo() {} class SomeClass {} }
joewalnes/idea-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/javaDoc/Exception0.java
Java
apache-2.0
143
// // 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...
yadavbdev/azure-sdk-for-net
src/ServiceManagement/ExpressRoute/ExpressRouteManagement/Generated/BorderGatewayProtocolPeeringOperationsExtensions.cs
C#
apache-2.0
27,351
/* * 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 m...
jcgruenhage/dendrite
vendor/src/github.com/apache/thrift/tutorial/csharp/CsharpServer/CsharpServer.cs
C#
apache-2.0
3,922
/* * 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 ...
Jollyplum/cassandra
src/java/org/apache/cassandra/index/sasi/utils/RangeIterator.java
Java
apache-2.0
10,066
#include <muduo/base/LogStream.h> #include <algorithm> #include <limits> #include <boost/static_assert.hpp> #include <boost/type_traits/is_arithmetic.hpp> #include <assert.h> #include <string.h> #include <stdint.h> #include <stdio.h> using namespace muduo; using namespace muduo::detail; #if defined(__clang__) #pragm...
DongweiLee/muduo
muduo/base/LogStream.cc
C++
bsd-3-clause
4,244
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; declare class MdEvStation extends React.Component<IconBaseProps> { } export = MdEvStation;
zuzusik/DefinitelyTyped
types/react-icons/lib/md/ev-station.d.ts
TypeScript
mit
172
<?php /** * This file is part of cocur/slugify. * * (c) Florian Eckerstorfer <florian@eckerstorfer.co> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cocur\Slugify; /** * SlugifyInterface * * @package org.cocur.s...
sonata-project/sandbox-build
vendor/cocur/slugify/src/SlugifyInterface.php
PHP
mit
785
'use strict' module.exports = Math.PI.toString().slice(0, 6)
wooorm/mdast-usage
test/fixtures/require-last/index.js
JavaScript
mit
62
/** * Copyright (c) 2010-2015, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
bakrus/openhab
bundles/binding/org.openhab.binding.enphaseenergy/src/main/java/org/openhab/binding/enphaseenergy/internal/messages/AbstractMessage.java
Java
epl-1.0
879
// 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...
BozhkoAlexander/mtasa-blue
vendor/google-breakpad/src/common/module.cc
C++
gpl-3.0
10,178
// Copyright (c) 2013 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. // // Unit tests for |Misspelling| object. #include "chrome/browser/spellchecker/misspelling.h" #include "base/json/json_reader.h" #include "base/str...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/spellchecker/misspelling_unittest.cc
C++
gpl-3.0
1,868
package com.google.samplesolutions.mobileassistant; import java.io.IOException; import com.google.samplesolutions.mobileassistant.messageEndpoint.MessageEndpoint; import com.google.samplesolutions.mobileassistant.messageEndpoint.model.CollectionResponseMessageData; import com.google.samplesolutions.mobileassistant.me...
hiaihua/solutions-mobile-shopping-assistant-backend-java
MobileAssistant-Tutorial/MobileAssistant/src/com/google/samplesolutions/mobileassistant/RegisterActivity.java
Java
apache-2.0
10,098
// Copyright 2012-2015 Oliver Eilhard. All rights reserved. // Use of this source code is governed by a MIT-license. // See http://olivere.mit-license.org/license.txt for details. package elastic import ( "encoding/json" "testing" ) func TestQueryFilter(t *testing.T) { f := NewQueryFilter(NewQueryStringQuery("thi...
42wim/ulog2queue
vendor/src/gopkg.in/olivere/elastic.v2/search_filters_query_test.go
GO
mit
1,126
/* 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, ...
KarolKraskiewicz/autoscaler
vertical-pod-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/autoscaling_client.go
GO
apache-2.0
2,503
/* * Copyright (c) 2003, 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 Softwa...
rokn/Count_Words_2015
testing/openjdk2/jdk/src/solaris/classes/sun/awt/X11/XStateProtocol.java
Java
mit
1,965
/*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-sticky", ["uikit"], function(){ return component...
dumengnanbuaa/awesome-python-webapp
www/static/js/components/sticky.js
JavaScript
gpl-2.0
12,883
YUI.add('moodle-core-blocks', function (Y, NAME) { /** * Provides drag and drop functionality for blocks. * * @module moodle-core-blockdraganddrop */ var AJAXURL = '/lib/ajax/blocks.php', CSS = { BLOCK : 'block', BLOCKREGION : 'block-region', BLOCKADMINBLOCK : 'block_adminblock', EDITINGMOVE : 'ed...
sameertechworks/wpmoodle
moodle/lib/yui/build/moodle-core-blocks/moodle-core-blocks.js
JavaScript
gpl-2.0
33,181
/// <reference path="express-minify.d.ts" /> import express = require('express'); import minify = require('express-minify'); import uglifyJS = require('uglify-js'); var app = express(); app.use(minify()); app.use(minify({ cache: false, cssmin: require('cssmin'), uglifyJS: require('uglify-js') })); app.ge...
mareek/DefinitelyTyped
express-minify/express-minify-tests.ts
TypeScript
mit
833
/* =========================================================== * by.js * Belarusian translation for Trumbowyg * http://alex-d.github.com/Trumbowyg * =========================================================== * Author : Yury Karalkou */ jQuery.trumbowyg.langs.by = { viewHTML: 'Паглядзець HTML', undo: 'С...
sandino/django-trumbowyg
trumbowyg/static/trumbowyg/langs/by.js
JavaScript
mit
1,762
<?php namespace Doctrine\Tests\Models\ValueConversionType; /** * @Entity * @Table(name="vct_owning_onetoone") */ class OwningOneToOneEntity { /** * @Column(type="rot13") * @Id */ public $id2; /** * @OneToOne(targetEntity="InversedOneToOneEntity", inversedBy="associatedEntity") ...
julianodecezaro/zf2
vendor/doctrine/orm/tests/Doctrine/Tests/Models/ValueConversionType/OwningOneToOneEntity.php
PHP
bsd-3-clause
425
class Strongswan < Formula desc "VPN based on IPsec" homepage "https://www.strongswan.org" url "https://download.strongswan.org/strongswan-5.3.2.tar.bz2" sha256 "a4a9bc8c4e42bdc4366a87a05a02bf9f425169a7ab0c6f4482d347e44acbf225" bottle do sha256 "dcb83dc117ee1f0b145408d14ef5a832ea8931cedd6d2f3a7c97c157cc5...
mattbostock/homebrew
Library/Formula/strongswan.rb
Ruby
bsd-2-clause
2,642
module FavoritesHelper end
jphacks/TK_07
server/app/helpers/favorites_helper.rb
Ruby
mit
27
<?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...
chisimba/modules
zend/resources/Zend/Pdf/Action/Launch.php
PHP
gpl-2.0
1,172
/* * 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...
asedunov/intellij-community
jps/model-impl/src/org/jetbrains/jps/model/impl/JpsNamedElementReferenceImpl.java
Java
apache-2.0
2,005
var booleanCondition = require('esmangle-evaluator').booleanCondition; var recast = require('recast'); var types = recast.types; var b = types.builders; var VISITOR_METHODS = { visitLogicalExpression: visitLogicalExp, visitIfStatement: visitCondition, visitConditionalExpression: visitCondition }; module.export...
Phalanstere/WritersStudio
writers_studio-win32-ia32/resources/app/node_modules/unreachable-branch-transform/unreachableBranchTransformer.js
JavaScript
mit
1,993
/* Copyright 2014 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/test/java/com/google/security/zynamics/zylib/io/StreamUtilsTests.java
Java
apache-2.0
1,486
/** * Module dependencies. */ var fs = require('fs'); var path = require('path'); var assert = require('assert'); var degenerator = require('../'); describe('degenerator()', function () { describe('"expected" fixture tests', function () { fs.readdirSync(__dirname).forEach(function (n) { if ('test.js'...
jphacks/TK_23
web/node_modules/degenerator/test/test.js
JavaScript
mit
1,288
require 'spec_helper' describe Admin::AdminController do context 'index' do it 'needs you to be logged in' do lambda { xhr :get, :index }.should raise_error(Discourse::NotLoggedIn) end it "raises an error if you aren't an admin" do user = log_in xhr :get, :index response.should...
andrewroth/discourse
spec/controllers/admin/admin_controller_spec.rb
Ruby
gpl-2.0
355
#!/usr/bin/python # # Copyright (c) 2011 The Chromium OS Authors. # # See file CREDITS for list of people who contributed to this # project. # # 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; eit...
MarvellEmbeddedProcessors/u-boot-armada38x
tools/patman/patman.py
Python
gpl-2.0
5,394
# Copyright 2016 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...
npuichigo/ttsflow
third_party/tensorflow/tensorflow/contrib/ffmpeg/encode_audio_op_test.py
Python
apache-2.0
2,597
from __future__ import unicode_literals import sys from django.conf import settings from django.template import Library, Node, TemplateSyntaxError, Variable from django.template.base import TOKEN_TEXT, TOKEN_VAR, render_value_in_context from django.template.defaulttags import token_kwargs from django.utils import six...
vitaly4uk/django
django/templatetags/i18n.py
Python
bsd-3-clause
18,976
<?php /** * @package Joomla.Platform * @subpackage Session * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * XCache session storage handler * * @si...
Suki00789/escb-mysql
site/libraries/joomla/session/storage/xcache.php
PHP
gpl-3.0
2,155
export class DOMSerializer { elementSelector(element) { // iterate up the dom var selectors = []; while (element.tagName !== 'HTML') { var selector = element.tagName.toLowerCase(); var id = element.getAttribute('id'); if (id) { selector += "#" + id; } var className...
IsaacMiguel/aidaScan-App
www/lib/ionic-platform-web-client/src/analytics/serializers.js
JavaScript
mit
1,227
// 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.Reflection.Emit; /// <summary> /// Conv_U4 [v-jianq] /// </summary> public class OpCodes...
ragmani/coreclr
tests/src/CoreMangLib/cti/system/reflection/emit/opcodes/opcodesconv_u4.cs
C#
mit
6,546
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var important = function important(node) { return node.important; }; var unimportant = function unimportant(node) { return !node.important; }; var hasInherit = function hasInherit(node) { return ~node.value.indexOf('inherit');...
puyanLiu/LPYFramework
前端练习/autoFramework/webpack-demo3/node_modules/postcss-merge-longhand/dist/lib/canMerge.js
JavaScript
apache-2.0
780
class Libxmp < Formula desc "C library for playback of module music (MOD, S3M, IT, etc)" homepage "http://xmp.sourceforge.net" url "https://downloads.sourceforge.net/project/xmp/libxmp/4.3.10/libxmp-4.3.10.tar.gz" sha256 "c11c0bf27f3ba97051cd5e3e04d9b487febdc31cb2ce35e462d71fc580eaa5be" bottle do cellar ...
rokn/Count_Words_2015
fetched_code/ruby/libxmp.rb
Ruby
mit
2,068
var assert = require('assert'); var cp = require('child_process'); var fs = require('fs'); var fs_extra = require('fs-extra'); var curDir = fs.realpathSync('.'); var exec_path = process.execPath; var app_path = path.join(curDir, 'internal'); describe('chromium-args', function() { describe('--disable-javascript',...
280455936/nw.js
tests/automation/chromium-args/mocha_test.js
JavaScript
mit
2,565
// 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 Xunit; namespace System.Threading.Tasks.Tests { public class TaskCanceledExceptionTests ...
BrennanConroy/corefx
src/System.Threading.Tasks/tests/Task/TaskCanceledExceptionTests.netcoreapp.cs
C#
mit
891
/* * 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...
asedunov/intellij-community
python/src/com/jetbrains/python/inspections/unresolvedReference/package-info.java
Java
apache-2.0
861
<?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...
Nyaoh/Mz
webapp/library/Zend/View/Helper/Navigation/Links.php
PHP
gpl-3.0
26,140
public class Foo { void m(boolean b) { b.if<caret> value = null; } }
asedunov/intellij-community
java/java-tests/testData/codeInsight/template/postfix/templates/if/beforeAssignment.java
Java
apache-2.0
93
a = "two" "one %s three" % a
idea4bsd/idea4bsd
python/testData/refactoring/introduceVariable/substringInExpressionStatement.after.py
Python
apache-2.0
28
<?php namespace Illuminate\Database\Eloquent\Relations; use BadMethodCallException; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Collection; class MorphTo extends BelongsTo { /** * The type of the polymorphic relation. * * @var ...
aloha1003/poseitech_assignment
workspace/assignment/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/MorphTo.php
PHP
mit
7,153
<?php /** * @package Joomla.Administrator * @subpackage com_messages * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Messages list controller class. *...
yaelduckwen/lo_imaginario
web2/administrator/components/com_messages/controllers/messages.php
PHP
mit
889
class Test { int ii = 1; public int getIi() { return ii; } }
asedunov/intellij-community
java/java-tests/testData/refactoring/extractClass/dependantNonStaticFieldInitializers/after/Test.java
Java
apache-2.0
79
import java.util.*; public class Varargs { private List<String> <caret>method(String... values) { return Arrays.asList(values); } private void context() { List<String> list1 = Arrays.asList("hi", "bye"); List<String> list2 = Arrays.asList("hi"); List<String> list3 = Arrays.asList(new String[] {}); String[...
caot/intellij-community
java/java-tests/testData/refactoring/methodDuplicates/Varargs.java
Java
apache-2.0
425
/* * Copyright (C) 2008 The Guava 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 agre...
qingsong-xu/guava
guava-tests/test/com/google/common/primitives/BytesTest.java
Java
apache-2.0
9,599
/** * jQRangeSlider * A javascript slider selector that supports dates * * Copyright (C) Guillaume Gautreau 2012 * Dual licensed under the MIT or GPL Version 2 licenses. */ (function($, undefined){ "use strict"; $.widget("ui.rangeSliderDraggable", $.ui.rangeSliderMouseTouch, { cache: null, options: ...
gaearon/cdnjs
ajax/libs/jQRangeSlider/4.2.4/jQRangeSliderDraggable.js
JavaScript
mit
3,375
// Type definitions for path-is-inside 1.0 // Project: https://github.com/domenic/path-is-inside#readme // Definitions by: Alexander Marks <https://github.com/aomarks> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare function pathIsInside(thePath: string, potenti...
borisyankov/DefinitelyTyped
types/path-is-inside/index.d.ts
TypeScript
mit
371
require_relative "../../../base" require Vagrant.source_root.join("plugins/provisioners/file/provisioner") describe VagrantPlugins::FileUpload::Provisioner do include_context "unit" subject { described_class.new(machine, config) } let(:iso_env) do # We have to create a Vagrantfile so there is a root path ...
kamazee/vagrant
test/unit/plugins/provisioners/file/provisioner_test.rb
Ruby
mit
2,022
/***************************************************************************** * Copyright © 2011 VideoLAN * $Id$ * * Authors: Filipe Azevedo, aka PasNox * * 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 Sof...
DDTChen/CookieVLC
vlc/modules/gui/qt4/util/buttons/DeckButtonsLayout.hpp
C++
gpl-2.0
1,955
/*! * Backbone.Notifier 3D Module v0.0.3 * Copyright 2012, Eyal Weiss * Backbone.Notifier 3D Module be freely distributed under the MIT license. */ (function (Notifier, $) { Notifier.regModule({ name: '3d', enabled: false, extend: { defaults: { '3d': true ...
gregorypratt/jsdelivr
files/backbone.notifier/0.2.5/js/modules/3d.js
JavaScript
mit
2,876
// Copyright 2013 the V8 project authors. All rights reserved. // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions o...
zero-ui/miniblink49
v8_7_5/test/webkit/sort-randomly.js
JavaScript
gpl-3.0
2,084
'use strict'; !function($) { /** * DropdownMenu module. * @module foundation.dropdown-menu * @requires foundation.util.keyboard * @requires foundation.util.box * @requires foundation.util.nest */ class DropdownMenu { /** * Creates a new instance of DropdownMenu. * @class * @fires DropdownMenu#init ...
mj-wilson/Rachel-Marc-Wedding
wp-content/themes/RachelMarcWedding/assets/components/foundation-sites/js/foundation.dropdownMenu.js
JavaScript
gpl-2.0
12,679
// - operator on string type var STRING: string; var STRING1: string[] = ["", "abc"]; function foo(): string { return "abc"; } class A { public a: string; static foo() { return ""; } } module M { export var n: string; } var objA = new A(); // string type var var ResultIsNumber1 = -STRING; var ResultIsNu...
enginekit/TypeScript
tests/cases/conformance/expressions/unaryOperators/negateOperator/negateOperatorWithStringType.ts
TypeScript
apache-2.0
841
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-touch', function (Y, NAME) { /** Adds touch event facade normalization properties (touches, changedTouches, targetTouches etc.) to the DOM event facade. Adds t...
dandv/jsdelivr
files/yui/3.16.0/event-touch/event-touch.js
JavaScript
mit
5,190
/* * Copyright (C) 2007 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...
raviagarwal7/buck
third-party/java/dx/src/com/android/dx/dex/code/CodeAddress.java
Java
apache-2.0
3,056
class Radare2 < Formula desc "Reverse engineering framework" homepage "http://radare.org" stable do url "http://radare.org/get/radare2-0.9.8.tar.xz" sha256 "8e72caaebdac10300fd7ec86a5d06b1cbecfc6914e5fea4007c6e06e667bfa5a" resource "bindings" do url "http://radare.org/get/radare2-bindings-0.9....
woodruffw/homebrew-test
Library/Formula/radare2.rb
Ruby
bsd-2-clause
1,635
// 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 Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Langu...
bbarry/roslyn
src/VisualStudio/CSharp/Test/Debugging/ProximityExpressionsGetterTests.Statements.cs
C#
apache-2.0
92,481
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/cloud/ml/v1beta1/model_service.proto package ml import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import _ "google.golang.org/genproto/googleapis/api/annotations" import _ "google.golang.org/genproto/googleapis/api/se...
wjiangjay/origin
vendor/google.golang.org/genproto/googleapis/cloud/ml/v1beta1/model_service.pb.go
GO
apache-2.0
44,072