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
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
okboy5555/demo
基于angular的图书管理/src/framework/angular-1.5.8/i18n/angular-locale_luo.js
JavaScript
apache-2.0
2,946
/* * Copyright (C) 2009,2010,2011,2012 Samuel Audet * * This file is part of JavaCV. * * JavaCV is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) an...
JanesR/javacv
src/main/java/com/googlecode/javacv/ProCamTransformer.java
Java
gpl-2.0
23,990
<?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...
mattsimpson/entrada-1x
www-root/core/library/Zend/Service/Rackspace/Files/Object.php
PHP
gpl-3.0
8,137
/** * 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...
CandleCandle/camel
components/camel-jaxb/src/test/java/org/apache/camel/example/Bar.java
Java
apache-2.0
1,514
<?php /** * @file * Sample hooks demonstrating usage in Webform. */ /** * @defgroup webform_hooks Webform Module Hooks * @{ * Webform's hooks enable other modules to intercept events within Webform, such * as the completion of a submission or adding validation. Webform's hooks also * allow other modules to pr...
nandoalvarado022/colombianime
sitios/inmobiliaria/sites/all/modules/webform/webform.api.php
PHP
gpl-2.0
44,278
<?php /** * Social Login * * @version 1.0 * @author SmokerMan, Arkadiy, Joomline * @copyright © 2012. All rights reserved. * @license GNU/GPL v.3 or later. */ // защита от прямого доступа defined('_JEXEC') or die('@-_-@'); jimport('joomla.form.formfield'); class JFormFieldCallbackUrl extends...
IYEO/Sweettaste
tmp/install_5680f69da1732/install_5680f6ad8ef2b/element/callbackurl.php
PHP
gpl-2.0
1,284
# $Id: admonitions.py 7681 2013-07-12 07:52:27Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Admonition directives. """ __docformat__ = 'reStructuredText' from docutils.parsers.rst import Directive from docutils.parsers.rst import states, di...
JulienMcJay/eclock
windows/Python27/Lib/site-packages/docutils/parsers/rst/directives/admonitions.py
Python
gpl-2.0
2,413
class Blazeblogger < Formula desc "CMS for the command-line" homepage "http://blaze.blackened.cz/" url "https://blazeblogger.googlecode.com/files/blazeblogger-1.2.0.tar.gz" sha1 "280894fca6594d0c0df925aa0a16b9116ee19f17" bottle do cellar :any sha1 "2576ceff864dd2059bcd73af26f735725dd7274c" => :yosemi...
kyanny/homebrew
Library/Formula/blazeblogger.rb
Ruby
bsd-2-clause
883
require 'formula' class Mad < Formula desc "MPEG audio decoder" homepage 'http://www.underbit.com/products/mad/' url 'https://downloads.sourceforge.net/project/mad/libmad/0.15.1b/libmad-0.15.1b.tar.gz' sha1 'cac19cd00e1a907f3150cc040ccc077783496d76' bottle do cellar :any revision 1 sha1 "ec69697...
karlhigley/homebrew
Library/Formula/mad.rb
Ruby
bsd-2-clause
1,122
import { constant } from "../fp"; export = constant;
BigBoss424/portfolio
v8/development/node_modules/@types/lodash/ts3.1/fp/constant.d.ts
TypeScript
apache-2.0
53
/* 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 not...
nelsonsilva/libgdx
backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/DirectReadWriteFloatBufferAdapter.java
Java
apache-2.0
4,412
/** * @module Ink.UI.DatePicker_1 * @version 1 * Date selector */ Ink.createModule('Ink.UI.DatePicker', '1', ['Ink.UI.Common_1','Ink.Dom.Event_1','Ink.Dom.Css_1','Ink.Dom.Element_1','Ink.Dom.Selector_1','Ink.Util.Array_1','Ink.Util.Date_1', 'Ink.Dom.Browser_1'], function(Common, Event, Css, InkElement, Selector, I...
siscia/jsdelivr
files/ink/3.0.0/js/ink.datepicker.js
JavaScript
mit
52,609
package dns import ( "crypto" "crypto/dsa" "crypto/ecdsa" "crypto/rsa" "io" "math/big" "strconv" "strings" ) // NewPrivateKey returns a PrivateKey by parsing the string s. // s should be in the same form of the BIND private key files. func (k *DNSKEY) NewPrivateKey(s string) (crypto.PrivateKey, error) { if s...
turbosquid/gloon
vendor/src/github.com/miekg/dns/dnssec_keyscan.go
GO
mit
5,521
// 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.Net.Sockets; using System.Runtime.InteropServices; using System.Text; internal static pa...
nbarbettini/corefx
src/Common/src/Interop/Windows/Winsock/Interop.GetAddrInfoW.cs
C#
mit
789
/** * @license AngularJS v1.3.16 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; /** * @ngdoc object * @name angular.mock * @description * * Namespace from 'angular-mocks.js' which contains testing related code. */ angular.mock = {}; ...
DreamInSun/OneRing
xdiamond/bower_components/angular-mocks/angular-mocks.js
JavaScript
apache-2.0
82,636
<?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...
jsRuner/wuwenfu.cn
wp-includes/phpQuery/phpQuery/Zend/Validate/File/NotExists.php
PHP
gpl-2.0
2,520
class MemberDetail < ActiveRecord::Base belongs_to :member belongs_to :organization has_one :member_type, :through => :member end
maccman/dtwitter
vendor/rails/activerecord/test/models/member_detail.rb
Ruby
mit
136
<?php /** * WordPress CRON API * * @package WordPress */ /** * Schedules a hook to run only once. * * Schedules a hook which will be executed once by the WordPress actions core at * a time which you specify. The action will fire off when someone visits your * WordPress site, if the schedule time has passed. ...
andres-torres-marroquin/casa-camila
wp-includes/cron.php
PHP
gpl-2.0
12,428
/* Copyright 2014 The Kubernetes 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 ag...
StevenLudwig/kubernetes
cmd/kube-proxy/proxy.go
GO
apache-2.0
1,176
import parse = require('xml-parser'); declare var assert: { equal<T>(a: T, b: T): void }; var doc: parse.Document = parse( '<?xml version="1.0" encoding="utf-8"?>' + '<mydoc><child a="1">foo</child><child/></mydoc>'); var declaration: parse.Declaration = doc.declaration; assert.equal(declaration.attributes['vers...
aaronryden/DefinitelyTyped
types/xml-parser/xml-parser-tests.ts
TypeScript
mit
693
let arr = []; for(let i = 0; i < 10; i++) { for (let i = 0; i < 10; i++) { arr.push(() => i); } }
ellbee/babel
test/core/fixtures/transformation/es6.block-scoping/issue-973/actual.js
JavaScript
mit
106
// basic_types.hpp --------------------------------------------------------------// // Copyright 2010 Vicente J. Botet Escriba // Copyright 2015 Andrey Semashev // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #ifndef BOOST_DETAIL_WINAPI_BASIC_TYPES_HPP ...
nealkruis/kiva
vendor/boost-1.61.0/boost/detail/winapi/basic_types.hpp
C++
gpl-3.0
5,732
<?php /** * Exception for 503 Service Unavailable responses * * @package Requests */ /** * Exception for 503 Service Unavailable responses * * @package Requests */ class Requests_Exception_HTTP_503 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 503; /...
dexxtr/osbb-web-manager
www/wp-includes/Requests/Exception/HTTP/503.php
PHP
gpl-3.0
411
/*! * jQuery Cycle Plugin (with Transition Definitions) * Examples and documentation at: http://jquery.malsup.com/cycle/ * Copyright (c) 2007-2013 M. Alsup * Version: 3.0.3 (11-JUL-2013) * Dual licensed under the MIT and GPL licenses. * http://jquery.malsup.com/license.html * Requires: jQuery v1.7.1 or later */...
delfintrinidadIV/firstproject
wp-content/themes/simple-catch/js/jquery.cycle.all.js
JavaScript
gpl-2.0
52,026
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize modern exports="node" -o ./modern/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and In...
tspires/personal
zillow/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node/modern/internals/baseUniq.js
JavaScript
mit
2,014
/* Copyright 2015 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, ...
humblec/external-storage
vendor/k8s.io/kubernetes/pkg/controller/service/doc.go
GO
apache-2.0
736
var browser_history_support = (window.history != null ? window.history.pushState : null) != null; createTest('Nested route with the many children as a tokens, callbacks should yield historic params', { '/a': { '/:id': { '/:id': function(a, b) { if (!browser_history_support) { shared.fired...
WAPMADRID/server
wapmadrid/node_modules/forever/node_modules/flatiron/node_modules/director/test/browser/html5-routes-test.js
JavaScript
gpl-2.0
14,089
/// <reference types="easeljs"/> var target = new createjs.DisplayObject(); // source : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html // Chainable modules : target.alpha = 1; createjs.Tween.get(target).wait(500, false).to({ alpha: 0, visible: false }, 1000).call(onComplete); function onComplete() { /...
zuzusik/DefinitelyTyped
types/tweenjs/tweenjs-tests.ts
TypeScript
mit
337
#ifndef BOOST_MPL_LOWER_BOUND_HPP_INCLUDED #define BOOST_MPL_LOWER_BOUND_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2001-2004 // // 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.org/...
hpl1nk/nonamegame
xray/SDK/include/boost/mpl/lower_bound.hpp
C++
gpl-3.0
3,713
/** * @license AngularJS v1.0.6 * (c) 2010-2012 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; /** * @ngdoc overview * @name ngResource * @description */ /** * @ngdoc object * @name ngResource.$resource * @requires $http * * @description * A fac...
bacardi55/b-55-log
web/jocs/components/angular-resource/angular-resource.js
JavaScript
mit
17,163
/* * 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 ...
esi-mineset/spark
sql/core/src/main/java/org/apache/spark/sql/api/java/package-info.java
Java
apache-2.0
942
import { Duration, isDuration } from './constructor'; import toInt from '../utils/to-int'; import hasOwnProp from '../utils/has-own-prop'; import { DATE, HOUR, MINUTE, SECOND, MILLISECOND } from '../units/constants'; import { cloneWithOffset } from '../units/offset'; import { createLocal } from '../create/local'; // A...
krasnyuk/e-liquid-MS
wwwroot/assets/js/moment/src/lib/duration/create.js
JavaScript
mit
3,948
// { dg-do assemble } template <class T> void foo(); // { dg-message "" } candidate void (*bar)() = foo<void>; void (*baz)() = foo; // { dg-error "" } can't deduce T
selmentdev/selment-toolchain
source/gcc-latest/gcc/testsuite/g++.old-deja/g++.pt/overload5.C
C++
gpl-3.0
169
<?php namespace Illuminate\Validation; use Exception; class ValidationException extends Exception { /** * The validator instance. * * @var \Illuminate\Validation\Validator */ public $validator; /** * The recommended response to send to the client. * * @var \Illuminate\...
goldenscarab/scriba
vendor/laravel/framework/src/Illuminate/Validation/ValidationException.php
PHP
mit
997
/* jshint -W100 */ /* jslint maxlen: 86 */ define(function () { // Farsi (Persian) return { errorLoading: function () { return 'امکان بارگذاری نتایج وجود ندارد.'; }, inputTooLong: function (args) { var overChars = args.input.length - args.maximum; var message = 'لطفاً ' + overChars + ...
krasnyuk/e-liquid-MS
wwwroot/assets/js/select2/src/js/select2/i18n/fa.js
JavaScript
mit
1,152
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
joethefox/xbmc
xbmc/filesystem/MusicDatabaseDirectory/DirectoryNodeAlbumCompilations.cpp
C++
gpl-2.0
1,817
/** * 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...
tseen/Federated-HDFS
tseenliu/FedHDFS-hadoop-src/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/oncrpc/RpcMessage.java
Java
apache-2.0
2,009
// 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.ExceptionServices; using System.Threading; namespace System.Threading.Tasks { ...
krytarowski/corefx
src/System.Runtime.WindowsRuntime/src/System/Threading/Tasks/ExceptionDispatchHelper.cs
C#
mit
1,835
<?php /* * This file is part of the symfony package. * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ require_once(dirname(__FILE__).'/../../bootstrap/unit.php'); class...
voota/voota
www/lib/vendor/symfony/test/unit/widget/sfWidgetFormSelectCheckboxTest.php
PHP
mit
6,638
/* TwoWire.cpp - TWI/I2C library for Wiring & Arduino Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 ...
chcbaram/FPGA
zap-2.3.0-windows/papilio-zap-ide/hardware/arduino/avr/libraries/Wire/Wire.cpp
C++
mit
7,532
//! moment.js locale configuration //! locale : belarusian (be) //! author : Dmitry Demidov : https://github.com/demidov91 //! author: Praleska: http://praleska.pro/ //! Author : Menelion Elensúle : https://github.com/Oire import moment from '../moment'; function plural(word, num) { var forms = word.split('_'); ...
LilShy/test
新建文件夹/material_admin_v-1.5-2/Template/jquery/vendors/bower_components/moment/src/locale/be.js
JavaScript
apache-2.0
5,171
// 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 main import ( "go/ast" "go/parser" "go/token" "os" "path" "runtime" "strings" ) func isGoFile(dir os.FileInfo) bool { return !dir.IsDir() && ...
shishkander/go
test/stress/parsego.go
GO
bsd-3-clause
4,212
<?php /** * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; jimport('joomla.application.component.modellist'); /** * Messages Component Messages Model ...
baxri/cvote
tmp/install_54bd2998c811f/administrator/components/com_messages/models/messages.php
PHP
gpl-2.0
3,562
#!/usr/bin/env node require("./bin/npm-cli.js")
nikste/visualizationDemo
zeppelin-web/node/npm/cli.js
JavaScript
apache-2.0
48
package client import ( "bufio" "crypto/tls" "fmt" "net" "net/http" "net/http/httputil" "net/url" "strings" "time" "github.com/docker/docker/api/types" "github.com/docker/docker/pkg/tlsconfig" "github.com/docker/go-connections/sockets" "github.com/pkg/errors" "golang.org/x/net/context" ) // tlsClientCo...
aleksandra-malinowska/autoscaler
vertical-pod-autoscaler/vendor/github.com/docker/docker/client/hijack.go
GO
apache-2.0
5,955
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
JorikVartanov/zf2
zf2_project/vendor/zendframework/zendframework/library/Zend/Filter/StringToUpper.php
PHP
bsd-3-clause
1,560
<?php /** * @package Joomla.Site * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; jimport('joomla.application.categories'); /** * Build the route for the com_contact comp...
baxri/cvote
tmp/install_54bd2998c811f/components/com_contact/router.php
PHP
gpl-2.0
4,706
var vows = require("vows"), _ = require("../../"), load = require("../load"), assert = require("../assert"); var suite = vows.describe("d3.max"); suite.addBatch({ "max": { topic: load("arrays/max").expression("d3.max"), "returns the greatest numeric value for numbers": function(max) { asse...
MoonApps/barelyalive
www/js/vendor/d3-master/test/arrays/max-test.js
JavaScript
gpl-2.0
1,919
require "openssl" module ActiveMerchant #:nodoc: module Billing #:nodoc: module Integrations #:nodoc: module Dwolla module Common def verify_signature(checkoutId, amount, notification_signature, secret) if secret.nil? raise ArgumentError, "You need to provide the...
jinutm/silvfinal
vendor/bundle/ruby/2.1.0/gems/activemerchant-1.42.4/lib/active_merchant/billing/integrations/dwolla/common.rb
Ruby
mit
772
/* * 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...
mkis-/elasticsearch
src/main/java/org/elasticsearch/index/analysis/DelimitedPayloadTokenFilterFactory.java
Java
apache-2.0
2,762
var name; switch (name) { case "Kamol": doSomething(); default: doSomethingElse(); } switch (name) { default: doSomethingElse(); break; case "Kamol": doSomething(); }
bryantaylor/Epic
wp-content/themes/epic/node_modules/grunt-contrib-jshint/node_modules/jshint/tests/stable/unit/fixtures/switchDefaultFirst.js
JavaScript
gpl-2.0
173
require "language/java" class JavaRequirement < Requirement fatal true cask "java" download "http://www.oracle.com/technetwork/java/javase/downloads/index.html" satisfy :build_env => false do args = %w[--failfast] args << "--version" << "#{@version}" if @version @java_home = Utils.popen_read("/usr...
rokn/Count_Words_2015
fetched_code/ruby/java_requirement.rb
Ruby
mit
1,171
// { dg-do assemble } // Copyright (C) 2000 Free Software Foundation // by Alexandre Oliva <aoliva@cygnus.com> // distilled from libg++'s Fix.cc struct Integer { ~Integer () {} }; void foo (const Integer& y); Integer bar (const Integer& x); void show (const Integer& x) { foo (bar (x)); }
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.old-deja/g++.oliva/stkalign.C
C++
gpl-2.0
299
// { dg-do assemble } // GROUPS passed patches // patches file // From: david.binderman@pmsr.philips.co.uk // Date: Wed, 6 Oct 93 17:05:54 BST // Subject: Reno 1.2 bug fix // Message-ID: <9310061605.AA04160@pmsr.philips.co.uk> int type(float) { return 1; } int type(double) { return 2; } int type(long ...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/g++.old-deja/g++.law/patches1.C
C++
gpl-2.0
546
<?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 ...
ernestovi/ups
moodle/mod/assign/submission/file/backup/moodle2/restore_assignsubmission_file_subplugin.class.php
PHP
gpl-3.0
2,645
<?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\Factory\Resource; /** * A resource is something fo...
nickopris/musicapp
www/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/IteratorResourceInterface.php
PHP
apache-2.0
493
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "db/log_writer.h" #include <stdint.h> #include "leveldb/env.h" #include "util/coding.h" #incl...
february29/Learning
web/vue/AccountBook-Express/node_modules/.staging/leveldown-d5bd0bf6/deps/leveldb/leveldb-1.18.0/db/log_writer.cc
C++
mit
2,844
import { addFormatToken } from '../format/format'; import { addUnitAlias } from './aliases'; import { addUnitPriority } from './priorities'; import { addRegexToken, match1to2, matchWord, regexEscape } from '../parse/regex'; import { addWeekParseToken } from '../parse/token'; import toInt from '../utils/to-int'; import ...
Nucleo-235/roupa-livre-ionic
www/lib/moment/src/lib/units/day-of-week.js
JavaScript
gpl-3.0
11,793
//! moment.js locale configuration //! locale : Chinese (Hong Kong) [zh-hk] //! author : Ben : https://github.com/ben-lin //! author : Chris Lam : https://github.com/hehachris //! author : Konstantin : https://github.com/skfd ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined...
stevemoore113/ch_web_-
資源/CCEI/handsontable/dist/moment/locale/zh-hk.js
JavaScript
mit
3,363
var assert = require('assert'); var cookie = require('..'); suite('parse'); test('basic', function() { assert.deepEqual({ foo: 'bar' }, cookie.parse('foo=bar')); assert.deepEqual({ foo: '123' }, cookie.parse('foo=123')); }); test('ignore spaces', function() { assert.deepEqual({ FOO: 'bar', baz: 'raz' }...
BrowenChen/classroomDashboard
zzishwebsite/node_modules/express/node_modules/connect/node_modules/cookie/test/parse.js
JavaScript
mit
800
package reflectwalk //go:generate stringer -type=Location location.go type Location uint const ( None Location = iota Map MapKey MapValue Slice SliceElem Struct StructField WalkLoc )
bakins/terraform-provider-etcd
vendor/src/github.com/mitchellh/reflectwalk/location.go
GO
mpl-2.0
195
<?php /* * $Id: TarTask.php 220 2007-08-21 00:03:13Z hans $ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN...
voota/voota
www/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/phing/tasks/ext/TarTask.php
PHP
mit
14,247
// Boost.Assign library // // Copyright Thorsten Ottosen 2003-2004. Use, modification and // distribution is subject to 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) // // For more information, see http://www.boost.org/libs/ass...
hpl1nk/nonamegame
xray/SDK/include/boost/assign/std/map.hpp
C++
gpl-3.0
1,085
/*============================================================================= Copyright (c) 2001 Doug Gregor Copyright (c) 1999-2003 Jaakko Jarvi Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ht...
gwq5210/litlib
thirdparty/sources/boost_1_60_0/boost/fusion/container/generation/ignore.hpp
C++
gpl-3.0
1,129
<?php namespace Drupal\system\Controller; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface; use Drupal\Core\Render\BareHtmlPageRendererInterface; use Drupal\Core\Ses...
windtrader/drupalvm-d8
web/core/modules/system/src/Controller/DbUpdateController.php
PHP
gpl-2.0
25,829
"use strict"; exports.__esModule = true; var _typeof2 = require("babel-runtime/helpers/typeof"); var _typeof3 = _interopRequireDefault(_typeof2); var _keys = require("babel-runtime/core-js/object/keys"); var _keys2 = _interopRequireDefault(_keys); var _getIterator2 = require("babel-runtime/core-js/get-iterator");...
jintoppy/react-training
step8-unittest/node_modules/babel-plugin-transform-decorators/node_modules/babel-traverse/lib/visitors.js
JavaScript
mit
8,665
var gulp = require('gulp'); var paths = require('../paths'); var del = require('del'); var vinylPaths = require('vinyl-paths'); // deletes all files in the output path gulp.task('clean', function() { return gulp.src([paths.output]) .pipe(vinylPaths(del)); });
victorzki/doclify
workspace/build/tasks/clean.js
JavaScript
mit
267
var test = require('tap').test var server = require('./lib/server.js') var common = require('./lib/common.js') var client = common.freshClient() function nop () {} var URI = 'http://localhost:1337/rewrite' var TOKEN = 'b00b00feed' var PARAMS = { auth: { token: TOKEN } } test('logout call contract', function...
markredballoon/clivemizen
wp-content/themes/redballoon/bootstrap/npm/node_modules/npm-registry-client/test/logout.js
JavaScript
gpl-2.0
1,584
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/store/JsonRest",["../_base/xhr","../_base/lang","../json","../_base/declare","./util/QueryResults"],f...
mbouami/pme
web/js/dojo/store/JsonRest.js
JavaScript
mit
2,702
require File.expand_path('../helper', __FILE__) require 'open3' class TestRakeReduceCompat < Rake::TestCase include RubyRunner def invoke_normal(task_name) rake task_name.to_s @out end def test_no_deprecated_dsl rakefile %q{ task :check_task do Module.new { p defined?(task) } ...
emineKoc/WiseWit
wisewitapi/vendor/bundle/gems/rake-11.1.2/test/test_rake_reduce_compat.rb
Ruby
gpl-3.0
532
#!/usr/bin/env python import os import re import subprocess import sys import tempfile CC = "gcc" CFLAGS = "-fmax-errors=4 -std=c99 -pipe -D_POSIX_C_SOURCE=200809L -W -Wall -Wno-unused-variable -Wno-unused-parameter -Wno-unused-label -Wno-unused-value -Wno-unused-but-set-variable -Wno-unused-function -Wno-main".split...
wm4/boringlang
run_tests.py
Python
isc
5,430
var cx = require('classnames'); var blacklist = require('blacklist'); var React = require('react'); module.exports = React.createClass({ displayName: 'Field', getDefaultProps() { return { d: null, t: null, m: null, label: '' } }, renderError() { if(!this.props.error) retur...
wangzuo/feng-ui
react/field.js
JavaScript
isc
1,218
package info.faceland.loot.data; public class PriceData { private int price; private boolean rare; public PriceData (int price, boolean rare) { this.price = price; this.rare = rare; } public int getPrice() { return price; } public void setPrice(int price) { this.price = price; } ...
TealCube/loot
src/main/java/info/faceland/loot/data/PriceData.java
Java
isc
435
#include "kvazaarfilter.h" #include "statisticsinterface.h" #include "common.h" #include "settingskeys.h" #include "logger.h" #include <kvazaar.h> #include <QtDebug> #include <QTime> #include <QSize> enum RETURN_STATUS {C_SUCCESS = 0, C_FAILURE = -1}; KvazaarFilter::KvazaarFilter(QString id, StatisticsInterface *...
ultravideo/kvazzup
src/media/processing/kvazaarfilter.cpp
C++
isc
12,600
/* @flow */ import { PropTypes } from 'react' export default PropTypes.oneOfType([ // [Number, Number] PropTypes.arrayOf(PropTypes.number), // {lat: Number, lng: Number} PropTypes.shape({ lat: PropTypes.number, lng: PropTypes.number, }), // {lat: Number, lon: Number} PropTypes.shape({ lat: P...
wxtiles/wxtiles-map
node_modules/react-leaflet/src/types/latlng.js
JavaScript
isc
373
// Arguments: Doubles, Doubles, Doubles #include <stan/math/prim/scal.hpp> using std::vector; using std::numeric_limits; using stan::math::var; class AgradCdfGumbel : public AgradCdfTest { public: void valid_values(vector<vector<double> >& parameters, vector<double>& cdf) { vector<double> param(3); ...
ariddell/httpstan
httpstan/lib/stan/lib/stan_math/test/prob/gumbel/gumbel_cdf_test.hpp
C++
isc
2,497
module Users::FollowHelper end
smlsml/snappitt
app/helpers/users/follow_helper.rb
Ruby
isc
31
import { modulo } from './Math.js' export function random(x) { return modulo(Math.sin(x) * 43758.5453123, 1) }
damienmortini/dlib
packages/core/math/PRNG.js
JavaScript
isc
114
'use strict'; var main = { expand:true, cwd: './build/styles/', src:['*.css'], dest: './build/styles/' }; module.exports = { main:main };
ariosejs/bui
grunt/config/cssmin.js
JavaScript
isc
161
package de.klimek.spacecurl.activities; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.content.pm.ActivityInfo; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.u...
Tetr4/Spacecurl
app/src/main/java/de/klimek/spacecurl/activities/BasicTrainingActivity.java
Java
isc
14,055
// C++ entry point #include "Elf32.h" // autogen.h contains the full kernel binary in a char array #include "autogen.h" extern "C" { volatile unsigned char *uart1 = (volatile unsigned char*) 0x4806A000; volatile unsigned char *uart2 = (volatile unsigned char*) 0x4806C000; volatile unsigned char *uart3 = (volatile un...
jmolloy/pedigree
src/system/boot/arm/main_beagle.cc
C++
isc
26,018
/** * QUnit v1.3.0pre - A JavaScript Unit Testing Framework * * http://docs.jquery.com/QUnit * * Copyright (c) 2011 John Resig, Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * or GPL (GPL-LICENSE.txt) licenses. * Pulled Live from Git Sat Jan 14 01:10:01 UTC 2012 * Last Commit: 0712230bb203c262...
crgwbr/flakeyjs
tests/qunit.js
JavaScript
isc
41,188
import AddLearningToStoryDescription from '../../../../src/content_scripts/pivotal_tracker/use_cases/add_learning_to_story_description' import WWLTWRepository from '../../../../src/content_scripts/repositories/wwltw_repository'; import StoryTitleProvider from '../../../../src/content_scripts/utilities/story_title_provi...
oliverswitzer/wwltw-for-pivotal-tracker
test/content_scripts/pivotal_tracker/use_cases/add_learning_to_story_description_spec.js
JavaScript
isc
2,332
# ignore-together.py - a distributed ignore list engine for IRC. from __future__ import print_function import os import sys import yaml weechat_is_fake = False try: import weechat except: class FakeWeechat: def command(self, cmd): print(cmd) weechat = FakeWeechat() weechat_is_fak...
kaniini/ignore-together
ignoretogether.py
Python
isc
3,250
"use strict"; var Template = function (options) { this._pageTitle = ''; this._titleSeparator = options.title_separator; this._siteTitle = options.site_title; this._req = null; this._res = null; }; Template.prototype.bindMiddleware = function(req, res) { this._req = req; this._re...
mythos-framework/mythos-lib-template
Template.js
JavaScript
isc
1,091
/* eslint-env mocha */ const mockBot = require('../mockBot') const assert = require('assert') const mockery = require('mockery') const sinon = require('sinon') const json = JSON.stringify({ state: 'normal', nowTitle: 'Midnight News', nowInfo: '20/03/2019', nextStart: '2019-03-20T00:30:00Z', nextTitle: 'Book ...
zuzakistan/civilservant
test/modules/radio.js
JavaScript
isc
1,122
/* * Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S)...
BBBSnowball/ori
oridbg/cmd_listobj.cc
C++
isc
1,918
package com.evanbyrne.vending_machine_kata.ui; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; import java.util.Scanner; import java.util.SortedMap; import org.jooq.lambda.tuple.Tuple2; import com.evanbyrne.vending_machine_kata.coin.Cents; import com.evanbyrne.vending_machine_kata.c...
evantbyrne/vending-machine-kata
src/main/java/com/evanbyrne/vending_machine_kata/ui/Console.java
Java
isc
4,553
import { Accessor, AnimationSampler, Document, Root, Transform, TransformContext } from '@gltf-transform/core'; import { createTransform, isTransformPending } from './utils'; const NAME = 'resample'; export interface ResampleOptions {tolerance?: number} const RESAMPLE_DEFAULTS: Required<ResampleOptions> = {toleranc...
damienmortini/dlib
node_modules/@gltf-transform/functions/src/resample.ts
TypeScript
isc
4,825
describe("Membrane Panel Operations with flat files:", function() { "use strict"; var window; beforeEach(async function() { await getDocumentLoadPromise("base/gui/index.html"); window = testFrame.contentWindow; window.LoadPanel.testMode = {fakeFiles: true}; let p1 = MessageEventPromise(window, "...
ajvincent/es7-membrane
docs/gui/tests/membranePanel.js
JavaScript
isc
9,110
// License: The Unlicense (https://unlicense.org) #include "EventHandler.hpp" #include <SDL2/SDL.h> int EventFilter(void *userData, SDL_Event *event); void SetUpEvents(void) { SDL_EventState(SDL_APP_TERMINATING, SDL_IGNORE); SDL_EventState(SDL_APP_LOWMEMORY, SDL_IGNORE); SDL_EventState(SDL_APP_WILLENTERBACK...
tblyons/goon
src/EventHandler.cpp
C++
isc
3,005
var DND_START_EVENT = 'dnd-start', DND_END_EVENT = 'dnd-end', DND_DRAG_EVENT = 'dnd-drag'; angular .module( 'app' ) .config( [ 'iScrollServiceProvider', function(iScrollServiceProvider){ iScrollServiceProvider.configureDefaults({ iScroll: { momentum: false, mouseWheel: true...
kosich/ng-hammer-iscroll-drag
main.js
JavaScript
isc
1,547
/* * Copyright © 2016 <code@io7m.com> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
io7m/jcanephora
com.io7m.jcanephora.tests.lwjgl3/src/test/java/com/io7m/jcanephora/tests/lwjgl3/LWJGL3FramebuffersTestGL33.java
Java
isc
1,726
'use strict' let _ = require('lodash') let HttpClient = require('./http-client') /** * Server configuration and environment information * @extends {HttpClient} */ class Config extends HttpClient { /** * @constructs Config * @param {Object} options General configuration options * @param {Object} options...
alanhoff/node-lxd
lib/config.js
JavaScript
isc
1,927
import $ from 'jquery'; import { router } from 'src/router'; import './header.scss'; export default class Header { static selectors = { button: '.header__enter', search: '.header__search' }; constructor($root) { this.elements = { $root, $window: $(window) ...
ksukhova/Auction
src/components/header/header.js
JavaScript
isc
658
import re from exchange.constants import ( CURRENCIES, CURRENCY_NAMES, DEFAULT_CURRENCY, CURRENCY_EUR, CURRENCY_UAH, CURRENCY_USD, CURRENCY_SESSION_KEY) def round_number(value, decimal_places=2, down=False): assert decimal_places > 0 factor = 1.0 ** decimal_places sign = -1 ...
pmaigutyak/mp-shop
exchange/utils.py
Python
isc
1,571
package org.apollo.game.event.handler.impl; import org.apollo.game.event.handler.EventHandler; import org.apollo.game.event.handler.EventHandlerContext; import org.apollo.game.event.impl.ItemOnItemEvent; import org.apollo.game.model.Inventory; import org.apollo.game.model.Item; import org.apollo.game.model.Player; /*...
DealerNextDoor/ApolloDev
src/org/apollo/game/event/handler/impl/ItemOnItemVerificationHandler.java
Java
isc
1,001
"use strict"; describe("This package", function(){ it("rubs the lotion on its skin, or else", function(){ 2..should.equal(2); // In this universe, it'd damn well better }); it("gets the hose again", function(){ this.should.be.extensible.and.ok; // Eventually }); it("should not fail", function(){ NaN....
Alhadis/Atom-Mocha
spec/basic-spec.js
JavaScript
isc
1,958
'use strict'; var yeoman = require('yeoman-generator'), chalk = require('chalk'), yosay = require('yosay'), bakery = require('../../lib/bakery'), feedback = require('../../lib/feedback'), debug = require('debug')('bakery:generators:cm-bash:index'), glob = require('glob'), path = require('path'), _ = req...
datapipe/generator-bakery
generators/cm-bash/index.js
JavaScript
isc
1,256
package com.leychina.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.WebChromeClient; import android.widget.ImageView; import android.widget.TextView; import com.leychina.R; import com.leychina.mo...
yuandunlong/leychina-android
app/src/main/java/com/leychina/activity/ArtistDetailActivity.java
Java
isc
2,114