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
<?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
///////////////////////////////////////////////////////////////////////////// // // (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
// // 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
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 (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
/* 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
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
'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
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
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
/** * 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
// 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
/* 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, ...
pweil-/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go
GO
apache-2.0
3,020
/* Package pagination contains utilities and convenience structs that implement common pagination idioms within OpenStack APIs. */ package pagination
kgrygiel/autoscaler
vertical-pod-autoscaler/vendor/github.com/gophercloud/gophercloud/pagination/pkg.go
GO
apache-2.0
150
<?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/Dom/Exception.php
PHP
mit
1,050
# test equality for classes/instances to other types class A: pass class B: pass class C(A): pass print(A == None) print(None == A) print(A == A) print(A() == A) print(A() == A()) print(A == B) print(A() == B) print(A() == B()) print(A == C) print(A() == C) print(A() == C())
mhoffma/micropython
tests/basics/equal_class.py
Python
mit
295
/** * 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...
YMartsynkevych/camel
components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonIncludeDefaultTest.java
Java
apache-2.0
1,906
// 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.VisualStudio.LanguageServices.Implementation.RQName.SimpleTree; namespace Microsoft.VisualStudio.LanguageServices.Implementation.RQName.Nodes...
JohnHamby/roslyn
src/VisualStudio/Core/Def/Implementation/RQName/Nodes/RQPointerType.cs
C#
apache-2.0
632
#include <com.badlogic.gdx.physics.box2d.joints.PrismaticJoint.h> //@line:28 #include <Box2D/Box2D.h> JNIEXPORT void JNICALL Java_com_badlogic_gdx_physics_box2d_joints_PrismaticJoint_jniGetLocalAnchorA(JNIEnv* env, jobject object, jlong addr, jfloatArray obj_anchor) { float* anchor = (float*)env->GetPrimitiveArray...
GreenLightning/libgdx
extensions/gdx-box2d/gdx-box2d/jni/com.badlogic.gdx.physics.box2d.joints.PrismaticJoint.cpp
C++
apache-2.0
5,331
// Bug: We weren't doing the normal replacement of array with pointer // for deduction in the context of a call because of the initializer list. // { dg-do compile { target c++11 } } #include <initializer_list> struct string { string (const char *); }; template <class T> struct vector { template <class U> vect...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/g++.dg/cpp0x/initlist14.C
C++
gpl-3.0
393
/* * DOM event listener abstraction layer * @module event * @submodule event-base */ (function() { // Unlike most of the library, this code has to be executed as soon as it is // introduced into the page -- and it should only be executed one time // regardless of the number of instances that use it. var stateCha...
pcarrier/cdnjs
ajax/libs/yui/3.1.0pr2/event/event-debug.js
JavaScript
mit
64,193
/** * 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...
YMartsynkevych/camel
components/camel-jmx/src/main/java/org/apache/camel/component/jmx/NotificationFormatException.java
Java
apache-2.0
1,170
<?php namespace Guzzle\Tests\Common; use Guzzle\Common\Event; class EventTest extends \Guzzle\Tests\GuzzleTestCase { /** * @return Event */ private function getEvent() { return new Event(array( 'test' => '123', 'other' => '456', 'event' => 'test.noti...
LenLamberg/LenEntire_June_5
winkler/profiles/commerce_kickstart/libraries/yotpo-php/vendor/guzzle/http/Guzzle/Http/tests/Guzzle/Tests/Common/EventTest.php
PHP
gpl-2.0
1,819
/* backgrid http://github.com/wyuenho/backgrid Copyright (c) 2013 Jimmy Yuen Ho Wong Licensed under the MIT @license. */ (function (root, $, _, Backbone) { "use strict"; /* backgrid http://github.com/wyuenho/backgrid Copyright (c) 2013 Jimmy Yuen Ho Wong Licensed under the MIT @license. */ var wi...
BobbieBel/cdnjs
ajax/libs/backgrid.js/0.1.3/backgrid.js
JavaScript
mit
62,121
// { dg-do assemble } // { dg-options "-pedantic -Wno-deprecated" } // This code snippet should be rejected with -pedantic // Based on a test case by Louidor Erez <s3824888@techst02.technion.ac.il> template<class T> class Vector { public: typedef T* iterator; }; template<class T> void f() { Vector<T>::iterator ...
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/g++.old-deja/g++.other/typename1.C
C++
gpl-3.0
442
// 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. // catch ret inside try region // note: this is NOT the test case // after vswhidbey:5875 is fixed, intry will be o...
dpodder/coreclr
tests/src/JIT/Methodical/eh/leaves/oponerror.cs
C#
mit
2,172
// 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.Runtime.CompilerServices; public class BringUpTest { const int Pass = 100; co...
Godin/coreclr
tests/src/JIT/CodeGenBringUpTests/DblAddConst.cs
C#
mit
663
// 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.Composition; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Editor; using Microsoft....
mmitche/roslyn
src/VisualStudio/Core/Def/Implementation/ProjectSystem/RuleSets/VisualStudioRuleSetManagerFactory.cs
C#
apache-2.0
1,917
// Code generated by "stringer -type=ValueType valuetype.go"; DO NOT EDIT. package schema import "fmt" const _ValueType_name = "TypeInvalidTypeBoolTypeIntTypeFloatTypeStringTypeListTypeMapTypeSettypeObject" var _ValueType_index = [...]uint8{0, 11, 19, 26, 35, 45, 53, 60, 67, 77} func (i ValueType) String() string ...
thiagocaiubi/terraform-provider-azurerm
vendor/github.com/hashicorp/terraform/helper/schema/valuetype_string.go
GO
mpl-2.0
490
/* Copyright 2017 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
mikegrass/minikube
vendor/k8s.io/kubernetes/pkg/client/listers/core/v1/endpoints.go
GO
apache-2.0
3,176
<?php /* * This file is part of the Assetic package, an OpenSky project. * * (c) 2010-2013 OpenSky Project Inc * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Assetic\Filter; use Assetic\Asset\AssetInterface; use Asset...
nandy-andy/performance-blog
vendors/assetic/Assetic/Filter/LessFilter.php
PHP
gpl-2.0
3,106
/* * Copyright (C) 2007 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...
congdepeng/java-guava-lib-demo
guava-libraries/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/HashBiMap.java
Java
apache-2.0
2,365
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Slider"] = factory(...
maruilian11/cdnjs
ajax/libs/react-slick/0.6.0/react-slick.js
JavaScript
mit
61,015
/*! * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select) * * Copyright 2013-2015 bootstrap-select * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) */ (function ($) { $.fn.selectpicker.defaults = { noneSelectedText: 'Niets geselecteerd', non...
jhonrsalcedo/sitio
wp-content/themes/viviendas/assets/libraries/bootstrap-select/dist/js/i18n/defaults-nl_NL.js
JavaScript
gpl-2.0
582
package com.bumptech.glide.gifdecoder; import java.util.ArrayList; import java.util.List; public class GifHeader { public int[] gct = null; /** * Global status code of GIF data parsing */ public int status = GifDecoder.STATUS_OK; public int frameCount = 0; public GifFrame currentFrame;...
heymind/iosched
third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/GifHeader.java
Java
apache-2.0
924
import {has, isArray} from "./util" import {SourceLocation} from "./locutil" // A second optional argument can be given to further configure // the parser process. These options are recognized: export const defaultOptions = { // `ecmaVersion` indicates the ECMAScript version to parse. Must // be either 3, or 5, o...
hellokidder/js-studying
微信小程序/wxtest/node_modules/acorn-jsx/node_modules/acorn/src/options.js
JavaScript
mit
5,026
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.Editor.Implementation.BraceMatching { internal struct BraceCharacterAndKind { public char Character { get; }...
mmitche/roslyn
src/EditorFeatures/Core/Implementation/BraceMatching/BraceCharacterAndKind.cs
C#
apache-2.0
539
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package language_test import ( "fmt" "net/http" "golang.org/x/text/language" ) func ExampleCanonType() { p := func(id string) { fmt.Printf("Default(%s)...
kettle11/wabi
wabi/vendor/golang.org/x/text/language/examples_test.go
GO
mit
11,347
function thisIsAFunctionWithAVeryLongNameAndWayTooManyParameters(thisIsTheFirstParameter, andThisOneIsRelatedToIt, butNotThisOne, andNeitherThis, inFactThereArentThatManyParameters) { throw null; }
lokiiart/upali-mobile
www/frontend/node_modules/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/declaration/expected.js
JavaScript
gpl-3.0
200
<?php /** * CFileValidator class file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2011 Yii Software LLC * @license http://www.yiiframework.com/license/ */ /** * CFileValidator verifies if an attribute is receiving a valid uploaded file. ...
thu0ng91/yanyen
yii/validators/CFileValidator.php
PHP
bsd-2-clause
11,916
// 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. namespace System.Reflection.Metadata { public enum ImportDefinitionKind { ImportNamespace = 1, ...
shahid-pk/corefx
src/System.Reflection.Metadata/src/System/Reflection/Metadata/PortablePdb/ImportDefinitionKind.cs
C#
mit
580
/* 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...
grafana/loki
vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go
GO
agpl-3.0
45,028
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @typechecks * @...
emineKoc/WiseWit
wisewit_front_end/node_modules/react/lib/ReactCSSTransitionGroupChild.js
JavaScript
gpl-3.0
4,805
var _ = require('lodash'); /** * formats variables for handlebars in multi-post contexts. * If extraValues are available, they are merged in the final value * @return {Object} containing page variables */ function formatPageResponse(result) { var response = { posts: result.posts, pagination: ...
norsasono/openshift-ghost-starter
node_modules/ghost/core/server/controllers/frontend/format-response.js
JavaScript
mit
1,048
package dns import "github.com/jen20/riviera/azure" type DeleteRecordSet struct { Name string `json:"-"` ResourceGroupName string `json:"-"` ZoneName string `json:"-"` RecordSetType string `json:"-"` } func (command DeleteRecordSet) APIInfo() azure.APIInfo { return azure.APIInfo{ API...
TStraub-rms/terraform
vendor/github.com/jen20/riviera/dns/delete_dns_recordset.go
GO
mpl-2.0
561
package main func main() { c := make(chan int, 1); c <- 0; if <-c != 0 { panic(0) } }
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/go.go-torture/execute/chan-1.go
GO
gpl-2.0
93
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
wanghaoran1988/origin
vendor/k8s.io/kubernetes/plugin/pkg/scheduler/algorithm/priorities/balanced_resource_allocation_test.go
GO
apache-2.0
8,474
'use strict'; var times = require('../times'); var moment = require('moment'); function init (ctx) { var translate = ctx.language.translate; var basal = { name: 'basal' , label: 'Basal Profile' , pluginType: 'pill-minor' }; basal.setProperties = function setProperties (sbx) { if (hasRequired...
GarthDB/cgm-remote-monitor
lib/plugins/basalprofile.js
JavaScript
agpl-3.0
5,961
<?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\Form\Util; use Symfony\Component\PropertyAccess\Prope...
nandy-andy/performance-blog
vendors/silex/symfony/form/Symfony/Component/Form/Util/PropertyPathIteratorInterface.php
PHP
gpl-2.0
794
<?php /** * @file * Contains database additions to drupal-8.bare.standard.php.gz for testing the * upgrade path of https://www.drupal.org/node/507488. */ use Drupal\Core\Database\Database; $connection = Database::getConnection(); // Structure of a custom block with visibility settings. $block_configs[] = \Drupa...
nrackleff/capstone
web/core/modules/system/tests/fixtures/update/drupal-8.seven-secondary-local-tasks-block-2569529.php
PHP
gpl-2.0
1,321
module GitStyleBinary module Commands class Help # not loving this syntax, but works for now GitStyleBinary.command do short_desc "get help for a specific command" run do |command| # this is slightly ugly b/c it has to muck around in the internals to # get informat...
tyok/dotfiles
bin/yadr/lib/git-style-binaries-0.1.11/lib/git-style-binary/commands/help.rb
Ruby
bsd-2-clause
998
var baseIndexOf = require('./_baseIndexOf'), toInteger = require('./toInteger'); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeMax = Math.max; /** * Gets the index at which the first occurrence of `value` is found in `array` * using [`SameValueZero`](http://e...
ElvisLouis/code
work/project/Edison/elvis/work/js/node_modules/async/node_modules/lodash/indexOf.js
JavaScript
gpl-2.0
1,232
<?php /** * @file * Contains \Drupal\views\Plugin\views\sort\Broken. */ namespace Drupal\views\Plugin\views\sort; use Drupal\views\Plugin\views\BrokenHandlerTrait; /** * A special handler to take the place of missing or broken handlers. * * @ingroup views_sort_handlers * * @ViewsSort("broken") */ class Bro...
komejo/d8demo-dev
web/core/modules/views/src/Plugin/views/sort/Broken.php
PHP
mit
378
(function(){ if ( (typeof self === 'undefined' || !self.Prism) && (typeof global === 'undefined' || !global.Prism) ) { return; } var options = { classMap: {} }; Prism.plugins.customClass = { map: function map(cm) { options.classMap = cm; }, prefix: function prefix(string) { options.prefixString = string; ...
ihmcrobotics/ihmc-realtime
websitedocs/website/node_modules/prismjs/plugins/custom-class/prism-custom-class.js
JavaScript
apache-2.0
559
// PR c++/28385 // instantiating op() with void()() was making the compiler think that 'fcn' // was const, so it could eliminate the call. // { dg-do run } extern "C" void abort (void); int barcnt = 0; class Foo { public: template<typename T> void operator()(const T& fcn) { fcn(); } }; void bar...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.dg/template/const1.C
C++
gpl-2.0
442
// +build go1.6,!go1.7 /* * Copyright 2016, 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 * notic...
ae6rt/decap
web/vendor/google.golang.org/grpc/transport/go16.go
GO
mit
1,869