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) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Vipr.Core.CodeModel { public abstract class OdcmClass : OdcmType { public bool IsAbstract { get; ...
MSOpenTech/Vipr
src/Core/Vipr.Core/CodeModel/OdcmClass.cs
C#
mit
1,000
var Checker = require('../../lib/checker'); var assert = require('assert'); var operators = require('../../lib/utils').unaryOperators; describe('rules/require-space-after-prefix-unary-operators', function() { var checker; beforeEach(function() { checker = new Checker(); checker.registerDefaultR...
appium/node-jscs
test/rules/require-space-after-prefix-unary-operators.js
JavaScript
mit
2,695
/* Copyright (c) 2006-2009 Jan S. Rellermeyer * Systems Group, * Department of Computer Science, ETH Zurich. * 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...
nmizoguchi/pfg-r-osgi
ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/util/ScheduleListener.java
Java
mit
2,191
foo || bar; (x => x) || bar; (function a(x) { return x; }) || 2; 0 || function () { return alpha; }; a && b && c; a && b && c; a || b || c; a || b || c; a || b && c; a && (b || c); (a || b) && c; a && b || c;
kaicataldo/babel
packages/babel-generator/test/fixtures/types/LogicalExpression/output.js
JavaScript
mit
215
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The "in" token can not be used as identifier es5id: 7.6.1.1_A1.13 description: Checking if execution of "in=1" fails negative: SyntaxError ---*/ in = 1;
PiotrDabkowski/Js2Py
tests/test_cases/language/keywords/S7.6.1.1_A1.13.js
JavaScript
mit
299
/*! * jQuery JavaScript Library v1.8.3 -ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Feb 07...
eric-seekas/jquery-builder
dist/1.8.3/jquery-ajax-dimensions-effects.js
JavaScript
mit
217,443
/*global todomvc */ (function () { 'use strict'; /** * The main controller for the app. The controller: * - retrieves and persists the model via the todoStorage service * - exposes the model to the template and provides event handlers */ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, todoStora...
xtrasmal/adaptive-speech
demo/js/controllers/todoCtrl.js
JavaScript
mit
5,691
/* * Copyright 2007-2008, Plutext Pty Ltd. * * This file is part of docx4j. docx4j is 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/...
aspose-words/Aspose.Words-for-Java
Plugins/Aspose_Words_Java_for_Docx4j/src/main/java/com/aspose/words/examples/featurescomparison/documents/comments/Docx4jCommentsSample.java
Java
mit
4,780
using System; using System.Collections.Generic; using Cake.Core.Diagnostics; using Cake.Core.Tooling; namespace Cake.Common.Tools.MSBuild { /// <summary> /// Contains settings used by <see cref="MSBuildRunner"/>. /// </summary> public sealed class MSBuildSettings : ToolSettings { private r...
andycmaj/cake
src/Cake.Common/Tools/MSBuild/MSBuildSettings.cs
C#
mit
3,061
'use strict'; var gulp = require('gulp'); var shell = require('gulp-shell'); module.exports = function () { gulp.task('git-add', function () { return gulp.src('*.js', { read: false }).pipe(shell(['git ls-files --others docroot/sites/all | egrep \'.css|.js|.png|.map\' | xargs git add -f'])); }); };
six519/disclose.ph
gulp/git.js
JavaScript
mit
318
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2002, 2014 Oracle and/or its affiliates. All rights reserved. * */ package com.sleepycat.persist.evolve; import java.lang.reflect.Method; import com.sleepycat.compat.DbCompat; /** * A mutation for converting an old version of an obj...
prat0318/dbms
mini_dbms/je-5.0.103/src/com/sleepycat/persist/evolve/Converter.java
Java
mit
3,660
module Rack class Offline class Config def initialize(root, &block) @cache = [] @network = [] @fallback = {} @root = root instance_eval(&block) if block_given? end def cache(*names) @cache.concat(names) end def network(*names) ...
kakra/rack-offline
lib/rack/offline/config.rb
Ruby
mit
490
/* * 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...
plumer/codana
tomcat_files/8.0.22/Introspection.java
Java
mit
6,566
# # THIS IS WORK IN PROGRESS # # The Python Imaging Library. # $Id$ # # FlashPix support for PIL # # History: # 97-01-25 fl Created (reads uncompressed RGB images only) # # Copyright (c) Secret Labs AB 1997. # Copyright (c) Fredrik Lundh 1997. # # See the README file for information on usage and redistribution. # fr...
ryfeus/lambda-packs
pytorch/source/PIL/FpxImagePlugin.py
Python
mit
6,282
<?php namespace Backend\Modules\ContentBlocks\Event; final class ContentBlockCreated extends ContentBlockEvent { /** * @var string The name the listener needs to listen to to catch this event. */ const EVENT_NAME = 'content_blocks.event.content_block_created'; }
Thijzer/forkcms
src/Backend/Modules/ContentBlocks/Event/ContentBlockCreated.php
PHP
mit
283
/* The MIT License (MIT) Copyright (c) 2013-2014 winlin 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, including without limitation the rights to use, copy, modify, merge, p...
wjyadlx/simple-rtmp-server
trunk/src/utest/srs_utest_amf0.cpp
C++
mit
32,587
#!/usr/bin/env node 'use strict'; /** * bitcoind.js example */ process.title = 'bitcoind.js'; /** * daemon */ var daemon = require('../').daemon({ datadir: process.env.BITCOINDJS_DIR || '~/.bitcoin', }); daemon.on('ready', function() { console.log('ready'); }); daemon.on('tx', function(txid) { console.l...
bankonme/bitcoind.js
example/index.js
JavaScript
mit
502
package protocol import ( "crypto/hmac" "crypto/md5" "hash" "v2ray.com/core/common" "v2ray.com/core/common/uuid" ) const ( IDBytesLen = 16 ) type IDHash func(key []byte) hash.Hash func DefaultIDHash(key []byte) hash.Hash { return hmac.New(md5.New, key) } // The ID of en entity, in the form of a UUID. type ...
LiuWenJu/v2ray-core
common/protocol/id.go
GO
mit
1,634
<?php $TRANSLATIONS = array( "Shared with you" => "Опубликованы вами", "Shared with others" => "Опубликованы другими", "Shared by link" => "Доступно по ссылке", "No files have been shared with you yet." => "Вы ещё не опубликовали файлы", "You haven't shared any files yet." => "Вы не имеете файлов в открытом доступе", "...
ACOKing/ArcherSys
owncloud-serv/apps/files_sharing/l10n/ru.php
PHP
mit
1,975
<?php class Node_BreakStmt extends NodeAbstract { }
VelvetMirror/test
vendor/bundles/Sensio/Bundle/GeneratorBundle/PHP-Parser/lib/Node/BreakStmt.php
PHP
mit
52
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2015 Thomas Voegtlin # # 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, # including without...
wakiyamap/electrum-mona
electrum_mona/dnssec.py
Python
mit
5,922
SS::Application.routes.draw do Gws::Report::Initializer concern :deletion do get :delete, on: :member delete :destroy_all, on: :collection, path: '' end gws 'report' do get '/' => redirect { |p, req| "#{req.path}/forms" }, as: :setting resources :forms, concerns: :deletion do match :pub...
itowtips/shirasagi
config/routes/gws/report/routes.rb
Ruby
mit
1,375
var path = require('path'); var util = require('util'); var Item = require('./item'); var constants = process.binding('constants'); /** * A directory. * @constructor */ function Directory() { Item.call(this); /** * Items in this directory. * @type {Object.<string, Item>} */ this._items = {}; ...
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/lib/directory.js
JavaScript
mit
2,300
module MigrationConstraintHelpers # Creates a foreign key from +table+.+field+ against referenced_table.referenced_field # # table: The tablename # field: A field of the table # referenced_table: The table which contains the field referenced # referenced_field: The field (which should be part of the ...
beachyapp/standalone-migrations
vendor/migration_helpers/lib/migration_helper.rb
Ruby
mit
1,887
// Copyright 2006 The Closure Library 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 requ...
cbetheridge/simpleclassroom
static/third-party/closure-library/closure/goog/net/xhrio.js
JavaScript
mit
43,124
package ranrotb // Call with seed and it will return a closure // which will return pseudo-random numbers on // consecutive calls // Note: seed could be uint32(time.Now().Unix()) func rrbRand(seed uint32) func() uint32 { var lo, hi uint32 // In Go ^ is the bitwise complement operator // In C this would be the tild...
n1ghtmare/Algorithm-Implementations
Ranrot-B-Pseudo_Random_Number_Generator/Go/jcla1/ranrotb_prng.go
GO
mit
443
package ru.atom.model.dao; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import ru.atom.model.data.Match; import sun.reflect.generics.reflectiveObjects.NotImplementedException; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import java.util.L...
Bragaman/atom
lecture6/source/src/main/java/ru/atom/model/dao/MatchDao.java
Java
mit
737
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.engine.rmi; /** * @author heraldkllapi */ public class OptimizerConstants { public static boolean USE_SKETCH = false; public static int MAX_TABLE_PARTS = 2; }
XristosMallios/cache
exareme-master/src/main/java/madgik/exareme/master/engine/rmi/OptimizerConstants.java
Java
mit
248
'use strict'; const Code = require('code'); const Constants = require('../../../../../../client/pages/admin/statuses/search/constants'); const FluxConstant = require('flux-constant'); const Lab = require('lab'); const Proxyquire = require('proxyquire'); const lab = exports.lab = Lab.script(); const stub = { ApiAc...
fahidRM/aqua-couch-test
test/client/pages/admin/statuses/search/actions.js
JavaScript
mit
4,225
version https://git-lfs.github.com/spec/v1 oid sha256:3e7e8daeb7e94086c854616e881862ffc0555684031d339b30c0b67afa82b530 size 492
yogeshsaroya/new-cdnjs
ajax/libs/bootstrap-datepicker/1.2.0-rc.1/js/locales/bootstrap-datepicker.et.min.js
JavaScript
mit
128
import { getCell, getColumnByCell, getRowIdentity } from './util'; import ElCheckbox from 'element-ui/packages/checkbox'; export default { components: { ElCheckbox }, props: { store: { required: true }, context: {}, layout: { required: true }, rowClassName: [String, Funct...
imyzf/element
packages/table/src/table-body.js
JavaScript
mit
7,259
using System; using NBitcoin; namespace Stratis.Bitcoin.Features.BlockStore.Pruning { /// <summary> /// This service starts an async loop task that periodically deletes from the blockstore. /// <para> /// If the height of the node's block store is more than <see cref="PruneBlockStoreService.MaxBlocksT...
Neurosploit/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.BlockStore/Pruning/IPruneBlockStoreService.cs
C#
mit
1,414
var searchData= [ ['w',['w',['../structedda_1_1dist_1_1GMMTuple.html#a3f52857178189dcb76b5132a60c0a50a',1,'edda::dist::GMMTuple']]], ['weights',['weights',['../classedda_1_1dist_1_1JointGMM.html#a479a4af061d7414da3a2b42df3f2e87f',1,'edda::dist::JointGMM']]], ['width',['width',['../structBMPImage.html#a35875dd635e...
GRAVITYLab/edda
html/search/variables_15.js
JavaScript
mit
362
<?php namespace App\Exceptions; use Exception; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Symfony\Component\HttpKernel\Exception\HttpException; use Laravel\Lumen\Exceptions\Handler as ExceptionHandler; ...
OnekO/respond
app/Exceptions/Handler.php
PHP
mit
1,610
package org.spongycastle; /** * The Bouncy Castle License * * Copyright (c) 2000-2015 The Legion Of The Bouncy Castle Inc. (http://www.bouncycastle.org) * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to...
savichris/spongycastle
core/src/main/java/org/spongycastle/LICENSE.java
Java
mit
3,397
<?php namespace Kanboard\Controller; use Kanboard\Core\ExternalTask\ExternalTaskException; /** * Class ExternalTaskViewController * * @package Kanboard\Controller * @author Frederic Guillot */ class ExternalTaskViewController extends BaseController { public function show() { try { $...
libin/kanboard
app/Controller/ExternalTaskViewController.php
PHP
mit
895
// 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.Drawing.Drawing2D { /** * Various custom line cap types */ internal enum CustomLi...
dotnet-bot/corefx
src/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCapType.cs
C#
mit
396
var Data = {}; Data.matrix = { valueName: 'Wert', stakeholdersName : 'Berührungs&#8203;gruppe', negativeCriteriaName : 'Negativ-Kriterien', values : [ 'Menschen&#8203;würde', 'Solidarität', 'Ökologische Nachhaltigkeit', 'Soziale Gerechtigkeit', 'Demokratische M...
sinnwerkstatt/common-good-online-balance
ecg_balancing/templates/ecg_balancing/dustjs/gwoe-matrix-data_en.js
JavaScript
mit
15,425
package org.apache.cordova.facebook; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import com.facebook.AccessToken; import com.facebook.CallbackManager; import com.facebook.FacebookCallback; import com.facebook.FacebookDialogException; import com.facebook.Fa...
CONDACORE/fahndo-app
plugins/cordova-plugin-facebook4/src/android/ConnectPlugin.java
Java
mit
37,503
<?php /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * * Copyright (c) 2001-2011 * * ...
eyeswebcrea/cheminee-mario.com
spip/ecrire/inc/rechercher.php
PHP
mit
10,890
<?php /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ */ $aConfig = array( /** * Main Section. */ 'title' => 'Organizations', 'version_from' => '8.0.1', 'version_to' => '8.0.2', 'vendor' => 'BoonEx', 'compa...
camperjz/trident
modules/boonex/organizations/updates/8.0.1_8.0.2/install/config.php
PHP
mit
1,044
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using Microsoft.IdentityModel.Clients.ActiveDirectory; using Microsoft.Rest.Azure.Authentication.Properties; namespace Microsoft.Rest.Azure.Authen...
colemickens/autorest
ClientRuntimes/CSharp/ClientRuntime.Azure.Authentication/ActiveDirectoryServiceSettings.cs
C#
mit
3,207
# frozen_string_literal: true module ActiveSupport module NumberHelper class NumberToRoundedConverter < NumberConverter # :nodoc: self.namespace = :precision self.validate_float = true def convert helper = RoundingHelper.new(options) rounded_number = helper.round(number) ...
felipecvo/rails
activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb
Ruby
mit
1,873
/** * Module dependencies. */ var finalhandler = require('finalhandler'); var flatten = require('./utils').flatten; var Router = require('./router'); var methods = require('methods'); var middleware = require('./middleware/init'); var query = require('./middleware/query'); var debug = require('debug')('express:appli...
wenjoy/homePage
node_modules/node-captcha/node_modules/canvas/node_modules/mocha/node_modules/mkdirp/node_modules/mock-fs/node_modules/rewire/node_modules/expect.js/node_modules/serve/node_modules/less-middleware/node_modules/express/lib/application.js
JavaScript
mit
10,240
#!/usr/bin/env python class PivotFilter(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.""" def __init__(self): """ Attributes: swaggerTypes (dict): The key is attribute name and the value is attribute type. ...
aspose-cells/Aspose.Cells-for-Cloud
SDKs/Aspose.Cells-Cloud-SDK-for-Python/asposecellscloud/models/PivotFilter.py
Python
mit
1,456
class Service::Presently < Service string :subdomain, :group_name, :username password :password white_list :subdomain, :group_name, :username def receive_push repository = payload['repository']['name'] prefix = (data['group_name'].nil? || data['group_name'] == '') ? '' : "b #{data['group_name']} " ...
marko-asplund/github-services
services/presently.rb
Ruby
mit
1,116
#include "ofApp.h" #include "ofAppGlutWindow.h" int main() { ofAppGlutWindow window; ofSetupOpenGL(&window, 512, 512, OF_WINDOW); ofRunApp(new ofApp()); }
Giladx/BlindSelfPortrait
EraserLine/src/main.cpp
C++
mit
159
require_relative '../executor.rb' require_relative '../../thumbnail_generator.rb' class GenerateThumbnailJob < Tabula::Background::Job # args: (:file, :output_dir, :thumbnail_sizes, :page_index_job_uuid) def perform file_id = options[:file_id] upload_id = self.uuid filepath = options[:filepath] o...
mr-justin/tabula
lib/tabula_job_executor/jobs/generate_thumbnails.rb
Ruby
mit
570
Experiment(description='No with centred periodic', data_dir='../data/tsdlr/', max_depth=8, random_order=False, k=1, debug=False, local_computation=False, n_rand=9, sd=4, max_jobs=600, verbose=False, ...
jamesrobertlloyd/gpss-research
experiments/2013-09-07.py
Python
mit
710
import { noop as css } from '../../helpers/noop-template' const styles = css` [data-nextjs-dialog] { display: flex; flex-direction: column; width: 100%; margin-right: auto; margin-left: auto; outline: none; background: white; border-radius: var(--size-gap); box-shadow: 0 var(--siz...
flybayer/next.js
packages/react-dev-overlay/src/internal/components/Dialog/styles.ts
TypeScript
mit
2,088
// 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 Dnn.Modules.ResourceManager.Services.Dto { using System.Runtime.Serialization; /// <summary> /...
dnnsoftware/Dnn.Platform
DNN Platform/Modules/ResourceManager/Services/Dto/FolderDetailsRequest.cs
C#
mit
1,005
<div class="container-fluid"> <div class="row"> <div class="col-xs-6 col-xs-offset-3"> <div class="page-header" style="border:none;margin: 0px;"> <h1><?= $this->slogan ?></h1> </div> </div> </div> <div class="row" style="margin-bottom: 2em;"> ...
tecshuttle/tiegan
application/views_dev/user/register.php
PHP
mit
1,180
require 'ruboto/util/toast' # Services are complicated and don't really make sense unless you # show the interaction between the Service and other parts of your # app. # For now, just take a look at the explanation and example in # online: # http://developer.android.com/reference/android/app/Service.html class SampleS...
lucasallan/ruboto
assets/samples/sample_service.rb
Ruby
mit
459
<?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...
dynamicguy/gpweb
src/vendor/zend/library/Zend/Measure/Torque.php
PHP
mit
3,276
const DOUBLE_QUOTE_STRING_STATE = 'double-quote-string-state'; const SINGLE_QUOTE_STRING_STATE = 'single-quote-string-state'; const LINE_COMMENT_STATE = 'line-comment-state'; const BLOCK_COMMENT_STATE = 'block-comment-state'; const ETC_STATE = 'etc-state'; function extractComments(str) { let state = ETC_STATE; let...
glenngillen/dotfiles
.vscode/extensions/juanblanco.solidity-0.0.120/node_modules/solidity-comments-extractor/index.js
JavaScript
mit
2,960
/* * The MIT License * * Copyright (c) 2015 The Broad Institute * * 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, including without limitation the rights * to use...
annkupi/picard
src/main/java/picard/analysis/GcBiasUtils.java
Java
mit
5,467
var util = require('util'); /** * @class Recorder * @param {{retention: <Number>}} [options] */ var Recorder = function(options) { this._records = []; this._options = _.defaults(options || {}, { retention: 300, // seconds recordMaxSize: 200, // nb records jsonMaxSize: 50, format: '[{date} {l...
njam/CM
client-vendor/source/logger/handlers/recorder.js
JavaScript
mit
3,930
using ElectronicObserver.Utility.Storage; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace ElectronicObserver.Data.ShipGroup { [DataContract(Name = "ExpressionManager")] ...
CAWAS/ElectronicObserverExtended
ElectronicObserver/Data/ShipGroup/ExpressionManager.cs
C#
mit
2,741
import pprint import test.test_support import unittest import test.test_set try: uni = unicode except NameError: def uni(x): return x # list, tuple and dict subclasses that do or don't overwrite __repr__ class list2(list): pass class list3(list): def __repr__(self): return list.__repr...
bussiere/pypyjs
website/demo/home/rfk/repos/pypy/lib-python/2.7/test/test_pprint.py
Python
mit
25,311
# frozen_string_literal: true require "active_support/core_ext/hash/indifferent_access" require "active_support/core_ext/string/filters" require "concurrent/map" require "set" module ActiveRecord module Core extend ActiveSupport::Concern FILTERED = "[FILTERED]" # :nodoc: included do ## # :...
baerjam/rails
activerecord/lib/active_record/core.rb
Ruby
mit
20,695
ReactDOM.render(React.createElement( 'div', null, React.createElement(Content, null) ), document.getElementById('content'));
azat-co/react-quickly
spare-parts/ch05-es5/logger/js/script.js
JavaScript
mit
130
// Copyright 2019 Peter Dimov // // 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 #include <boost/mp11/version.hpp> #include <boost/version.hpp> #include <boost/core/lightweight_test.hpp> int main() { BOOS...
davehorton/drachtio-server
deps/boost_1_77_0/libs/mp11/test/version.cpp
C++
mit
405
export * from './components/ajax-bar/index.js' export * from './components/avatar/index.js' export * from './components/badge/index.js' export * from './components/banner/index.js' export * from './components/bar/index.js' export * from './components/breadcrumbs/index.js' export * from './components/btn/index.js' expor...
rstoenescu/quasar-framework
ui/src/components.js
JavaScript
mit
3,696
/* */ define(['exports', 'core-js', 'aurelia-pal', 'aurelia-history'], function (exports, _coreJs, _aureliaPal, _aureliaHistory) { 'use strict'; exports.__esModule = true; var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = prop...
mbroadst/aurelia-plunker
jspm_packages/npm/aurelia-history-browser@1.0.0-beta.1/aurelia-history-browser.js
JavaScript
mit
10,044
# CallableSignature # === # A CallableSignature describes how something callable expects to be called. # Different implementation of this class are used for different types of callables. # # @api public # class Puppet::Pops::Evaluator::CallableSignature # Returns the names of the parameters as an array of strings. T...
jorgemancheno/boxen
vendor/bundle/ruby/2.0.0/gems/puppet-3.6.1/lib/puppet/pops/evaluator/callable_signature.rb
Ruby
mit
3,208
/** * Copyright (c) 2015-present, Alibaba Group Holding Limited. * All rights reserved. * * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * @providesModule ReactNavigatorNavigationBarStylesAndroid */ 'use strict'; import buildStyleInterpolator from './polyfills/buildStyleInterpolator'; im...
typesettin/NativeCMS
node_modules/react-web/Libraries/Navigator/NavigatorNavigationBarStylesAndroid.js
JavaScript
mit
4,250
package net.anotheria.moskito.webui.threads.api; import net.anotheria.anoplass.api.APIFactory; import net.anotheria.anoplass.api.APIFinder; import net.anotheria.anoprise.metafactory.ServiceFactory; /** * TODO comment this class * * @author lrosenberg * @since 14.02.13 11:46 */ public class ThreadAPIFactory imple...
esmakula/moskito
moskito-webui/src/main/java/net/anotheria/moskito/webui/threads/api/ThreadAPIFactory.java
Java
mit
594
require "spec_helper" require "hamster/sorted_set" describe Hamster::SortedSet do describe "#disjoint?" do [ [[], [], true], [["A"], [], true], [[], ["A"], true], [["A"], ["A"], false], [%w[A B C], ["B"], false], [["B"], %w[A B C], false], [%w[A B C], %w[D E], true], ...
dzjuck/hamster
spec/lib/hamster/sorted_set/disjoint_spec.rb
Ruby
mit
715
require 'spec_helper' describe Locomotive::Liquid::Tags::Extends do before(:each) do @home = FactoryGirl.build(:page, :raw_template => 'Hello world') @home.send :serialize_template @home.instance_variable_set(:@template, nil) @site = FactoryGirl.build(:site) @site.stubs(:pages).returns([@home])...
Vinagility/engine_old
spec/lib/locomotive/liquid/tags/extends_spec.rb
Ruby
mit
1,826
(function () { 'use strict'; /** This directive is used to render out the current variant tabs and properties and exposes an API for other directives to consume */ function tabbedContentDirective($timeout, $filter, contentEditingHelper, contentTypeHelper) { function link($scope, $element) { ...
umbraco/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbtabbedcontent.directive.js
JavaScript
mit
8,522
#include "time_alias_reflection.h" #include <bond/core/bond.h> #include <bond/stream/output_buffer.h> using namespace examples::time; int main() { Example obj, obj2; using namespace boost::gregorian; using namespace boost::posix_time; // In the generated code we use boost::posix_time_ptime::ptime t...
upsoft/bond
examples/cpp/core/time_alias/time_alias.cpp
C++
mit
971
<?php /** * */ namespace Mvc5\Plugin\Gem; interface Copy extends Gem { /** * @return object */ function config(); }
devosc/mvc5
src/Plugin/Gem/Copy.php
PHP
mit
142
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); Loader::block('page_list'); $previewMode = true; $nh = Loader::helper('navigation'); $controller = new PageListBlockController($b); $_REQUEST['num'] = ($_REQUEST['num'] > 0) ? $_REQUEST['num'] : 0; $_REQUEST['cThis'] = ($_REQUEST['cParentID'] == $controller...
markdev/markandkitty
concrete/blocks/date_nav/tools/preview_pane.php
PHP
mit
898
# frozen_string_literal: true class AvatarUploader < GitlabUploader include UploaderHelper include RecordsUploads::Concern include ObjectStorage::Concern prepend ObjectStorage::Extension::RecordsUploads MIME_WHITELIST = %w[image/png image/jpeg image/gif image/bmp image/tiff image/vnd.microsoft.icon].freeze ...
mmkassem/gitlabhq
app/uploaders/avatar_uploader.rb
Ruby
mit
746
<?php namespace Bolt\Tests\Controller\Backend; use Bolt\Storage\Entity; use Bolt\Tests\Controller\ControllerUnitTest; use Symfony\Component\Form\FormView; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; /** * Class to test correct operation of src/Controller/Back...
GawainLynch/bolt
tests/phpunit/unit/Controller/Backend/UsersTest.php
PHP
mit
13,704
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as ts from 'typescript'; // used as value and is provided at runtime import {locateSymbols} from './locate...
blesh/angular
packages/language-service/src/definitions.ts
TypeScript
mit
5,793
<?php defined('BX_DOL') or die('hack attempt'); /** * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/ * CC-BY License - http://creativecommons.org/licenses/by/3.0/ * * @defgroup Accounts Accounts * @ingroup DolphinModules * * @{ */ class BxAccntConfig extends BxBaseModGeneralConfig { prote...
camperjz/trident
modules/boonex/accounts/updates/8.0.1_8.0.2/source/classes/BxAccntConfig.php
PHP
mit
2,465
<?php use Automattic\Jetpack\Sync\Functions; require_once dirname( __FILE__ ) . '/class.json-api-site-jetpack-base.php'; require_once dirname( __FILE__ ) . '/class.json-api-post-jetpack.php'; // this code runs on Jetpack (.org) sites class Jetpack_Site extends Abstract_Jetpack_Site { protected function get_mock_op...
pjhooker/monferratopaesaggi
trunk/wp-content/plugins/jetpack/sal/class.json-api-site-jetpack.php
PHP
mit
7,587
# Copyright (c) 2005 Zed A. Shaw # You can redistribute it and/or modify it under the same terms as Ruby. # # Additional work donated by contributors. See http://mongrel.rubyforge.org/attributions.html # for more information. require 'test/testhelp' include Mongrel class URIClassifierTest < Test::Unit::TestCase ...
claudiobm/ClockingIT-In-CapellaDesign
vendor/gems/mongrel-1.1.5/test/test_uriclassifier.rb
Ruby
mit
7,361
require 'uri' module Idobata::Hook class PivotalTracker module Helper filters = [ ::HTML::Pipeline::MarkdownFilter ] filters << ::HTML::Pipeline::SyntaxHighlightFilter if defined?(Linguist) # This filter doesn't work on heroku Pipeline = ::HTML::Pipeline.new(filters, gfm: true, ...
SuzukiMasashi/idobata-hooks
lib/hooks/pivotal_tracker/helper.rb
Ruby
mit
1,098
import { __decorate } from 'tslib'; import { NgModule } from '@angular/core'; import { ANGULARTICS2_TOKEN, RouterlessTracking, Angulartics2, Angulartics2OnModule } from 'angulartics2'; var Angulartics2RouterlessModule_1; let Angulartics2RouterlessModule = Angulartics2RouterlessModule_1 = class Angulartics2RouterlessMo...
cdnjs/cdnjs
ajax/libs/angulartics2/8.3.0/routerlessmodule/fesm2015/angulartics2-routerlessmodule.js
JavaScript
mit
907
/******************************************************************************* * Copyright (c) 2012 David A Carlson. * 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...
drbgfc/mdht
cts2/plugins/org.openhealthtools.mdht.cts2.core/src/org/openhealthtools/mdht/cts2/codesystem/impl/CodeSystemFactoryImpl.java
Java
epl-1.0
5,866
/* * Copyright (c) 2013 Cisco Systems, Inc. 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 or...
xiaohanz/softcontroller
opendaylight/sal/yang-prototype/concepts-lang/src/main/java/org/opendaylight/controller/concepts/lang/Acceptor.java
Java
epl-1.0
516
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * 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 ...
kaloyan-raev/che
wsagent/che-core-api-git/src/main/java/org/eclipse/che/api/git/exception/GitInvalidRefNameException.java
Java
epl-1.0
1,446
/* * Copyright 2012 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.addon.javaee.jaxws; import org.jboss.forge.addon.javaee.JavaEEFacet; import org.jboss.forge.addon.projects.Project...
agoncal/core
javaee/api/src/main/java/org/jboss/forge/addon/javaee/jaxws/JAXWSFacet.java
Java
epl-1.0
550
package io.liveoak.scripts.resourcetriggered.interceptor; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import io.liveoak.common.DefaultResourceErrorResponse; import io.liveoak.scripts.objects.Util; import io.liveoak.scripts.objects.impl.exception.LiveOakException; impo...
liveoak-io/liveoak
modules/scripts/src/main/java/io/liveoak/scripts/resourcetriggered/interceptor/ScriptInterceptor.java
Java
epl-1.0
5,830
define(['events', 'libraryBrowser', 'imageLoader', 'listView', 'emby-itemscontainer'], function (events, libraryBrowser, imageLoader, listView) { return function (view, params, tabContent) { var self = this; var data = {}; function getPageData(context) { var key = g...
7illusions/Emby
MediaBrowser.WebDashboard/dashboard-ui/scripts/songs.js
JavaScript
gpl-2.0
7,309
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
somaen/scummvm
engines/tucker/detection.cpp
C++
gpl-2.0
4,298
#region License // Copyright (c) 2007 James Newton-King // // 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, including without limitation the rights to use, // copy, ...
MyvarHD/OpenIDE
OpenIDE/OpenIDE.Library/Base/JSON/JsonToken.cs
C#
gpl-2.0
2,797
var armorSetPvPSuperior = new armorSetObject("pvpsuperior"); armorSetPvPSuperior.slotsArray = new Array(); t = 0; armorSetPvPSuperior.slotsArray[t] = "head"; t++; armorSetPvPSuperior.slotsArray[t] = "shoulder"; t++; armorSetPvPSuperior.slotsArray[t] = "chest"; t++; armorSetPvPSuperior.slotsArray[t] = "hands"; t++; ar...
borgotech/Infinity_MaNGOS
sql/Tools & Optional/Websites/I_CSwowd/pvpmini/shared/wow-com/includes-client/armorsets/en/pvpsuperior.js
JavaScript
gpl-2.0
49,796
<?php /** * The Footer widget areas. * * @package Pilcrow * @since Pilcrow 1.0 */ ?> <?php /* The footer widget area is triggered if any of the areas * have widgets. So let's check that first. * * If none of the sidebars have widgets, then let's bail early. */ if ( ! is_active_sidebar( 'sidebar-4' ) &...
mearleycf/boltgun2
wp-content/themes/pilcrow/sidebar-footer.php
PHP
gpl-2.0
1,009
var _ = require('../util') var config = require('../config') var Dep = require('./dep') var arrayMethods = require('./array') var arrayKeys = Object.getOwnPropertyNames(arrayMethods) require('./object') /** * Observer class that are attached to each observed * object. Once attached, the observer converts target * o...
jumpcakes/plunkett
wp-content/themes/genesis-sample/assets/js/bower_components/vue/src/observer/index.js
JavaScript
gpl-2.0
4,867
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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; ei...
ohtacky/ECCUBE3
src/Eccube/Controller/BlockController.php
PHP
gpl-2.0
1,549
<?php /** * @file quiz.api.php * Hooks provided by Quiz module. * * These entity types provided by Quiz also have entity API hooks. There are a * few additional Quiz specific hooks defined in this file. * * quiz (settings for quiz nodes) * quiz_result (quiz attempt/result) * quiz_result_answer (answer to a sp...
bondjimbond/bcelnapps
sites/all/modules/quiz/quiz.api.php
PHP
gpl-2.0
4,847
--TEST-- Bug #67215 (php-cgi work with opcache, may be segmentation fault happen) --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_update_protection=0 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $file_c = __DIR__ . "/bug67215.c.php"; $file_p = __DIR__ . "/bug67215.p.php"; file_put_contents...
neonatura/crotalus
php/ext/opcache/tests/bug67215.phpt
PHP
gpl-2.0
721
// Example taken from http://bl.ocks.org/mbostock/3883245 jQuery( document ).ready(function() { var margin = {top: 20, right: 20, bottom: 30, left: 50}, width = 620 - margin.left - margin.right, height = 330 - margin.top - margin.bottom; var parseDate = d3.time.format("%d-%b-%y").parse; var x = d3...
DmitryDrozdik/ppdorg
docroot/sites/all/modules/custom/ppgetstat/ppcc/plugins/content_types/ppcc_visualization.js
JavaScript
gpl-2.0
1,739
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +----------------...
glocalcoop/activist-network
wp-content/plugins/civicrm/civicrm/CRM/Report/Form/Event/ParticipantListing.php
PHP
gpl-2.0
30,656
<?php ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // REPORTE: Formato de salida de Solicitud de Pago // ORGANISMO: MINISTERIO DEL PODER POPULAR PARA LA INFRAESTRUCTURA. ///////////////////////////////////////////////////////////...
ArrozAlba/huayra
cxp/reportes/sigesp_cxp_rfs_solicitudes_minfra.php
PHP
gpl-2.0
37,861
/* This file is part of Warzone 2100. Copyright (C) 2007 Giel van Schijndel Copyright (C) 2007-2015 Warzone 2100 Project Warzone 2100 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 th...
skiz/warzone2100
lib/framework/utf.cpp
C++
gpl-2.0
14,247
// PR c++/39866 // { dg-options "-std=c++0x" } struct A { A& operator=(const A&) = delete; // { dg-bogus "" } void operator=(int) {} // { dg-message "" } void operator=(char) {} // { dg-message "" } }; struct B {}; int main() { A a; a = B(); // { dg-error "no match" } a = 1.0; // { dg-error "ambiguous...
ccompiler4pic32/pic32-gcc
gcc/testsuite/g++.dg/cpp0x/defaulted14.C
C++
gpl-2.0
326