repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
endlessm/chromium-browser
third_party/llvm/llvm/unittests/Analysis/ValueLatticeTest.cpp
9059
//===- ValueLatticeTest.cpp - ScalarEvolution unit tests --------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===-------------------------------...
bsd-3-clause
glennq/scikit-learn
sklearn/mixture/bayesian_mixture.py
32737
"""Bayesian Gaussian Mixture Model.""" # Author: Wei Xue <xuewei4d@gmail.com> # Thierry Guillemot <thierry.guillemot.work@gmail.com> # License: BSD 3 clause import math import numpy as np from scipy.special import betaln, digamma, gammaln from .base import BaseMixture, _check_shape from .gaussian_mixture impo...
bsd-3-clause
guybedford/babel
packages/babel-core/test/fixtures/config/config-files/babelrc-js/.babelrc.js
40
module.exports = { comments: true, };
mit
vebin/odata.net
test/FunctionalTests/Taupo/Source/Taupo.Query/Contracts/IQueryTypeWithProperties.cs
780
//--------------------------------------------------------------------- // <copyright file="IQueryTypeWithProperties.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //----------------------------...
mit
sergeybykov/orleans
test/Grains/TestGrains/MultipleConstructorsSimpleGrain.cs
790
using Microsoft.Extensions.Logging; using UnitTests.GrainInterfaces; namespace UnitTests.Grains { public class MultipleConstructorsSimpleGrain : SimpleGrain, ISimpleGrain { public const string MultipleConstructorsSimpleGrainPrefix = "UnitTests.Grains.MultipleConstructorsS"; public const int Val...
mit
hotchandanisagar/odata.net
test/FunctionalTests/Service/Microsoft/OData/Service/ServiceActionRights.cs
754
//--------------------------------------------------------------------- // <copyright file="ServiceActionRights.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //---------------------------------...
mit
hotchandanisagar/odata.net
test/FunctionalTests/Tests/DataOData/Common/OData/Json/TextAnnotations/JsonStartObjectTextAnnotation.cs
1172
//--------------------------------------------------------------------- // <copyright file="JsonStartObjectTextAnnotation.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------...
mit
akaspin/soil
vendor/github.com/hashicorp/consul/agent/consul/state/state_store_test.go
4873
package state import ( crand "crypto/rand" "fmt" "testing" "time" "github.com/hashicorp/consul/agent/structs" "github.com/hashicorp/consul/types" "github.com/hashicorp/go-memdb" ) func testUUID() string { buf := make([]byte, 16) if _, err := crand.Read(buf); err != nil { panic(fmt.Errorf("failed to read r...
mit
ikkosatrio/nexapp
assets/js/pages/uploader_bootstrap.js
9588
/* ------------------------------------------------------------------------------ * * # Bootstrap multiple file uploader * * Specific JS code additions for uploader_bootstrap.html page * * Version: 1.2 * Latest update: Aug 10, 2016 * * ---------------------------------------------------------------------------- */ ...
mit
PanJ/SimplerCityGlide
node_modules/lodash-es/nthArg.js
715
import baseNth from './_baseNth.js'; import rest from './rest.js'; import toInteger from './toInteger.js'; /** * Creates a function that gets the argument at index `n`. If `n` is negative, * the nth argument from the end is returned. * * @static * @memberOf _ * @since 4.0.0 * @category Util * @param {number} [...
mit
Microsoft/CodeContracts
Microsoft.Research/Contracts/MsCorlib/Sources/System.Security.Principal.IdentityReference.cs
2911
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
mit
pygillier/bolt
src/Storage/QuerySet.php
1208
<?php namespace Bolt\Storage; use Doctrine\DBAL\Query\QueryBuilder; /** * This class works keeps a set of queries that will eventually * be executed sequentially. */ class QuerySet extends \ArrayIterator { /** * @param QueryBuilder $qb A QueryBuilder instance */ public function append($qb) {...
mit
r1k/vlc
modules/demux/adaptive/playlist/BaseAdaptationSet.cpp
3324
/* * BaseAdaptationSet.cpp ***************************************************************************** * Copyright (C) 2010 - 2011 Klagenfurt University * * Created on: Aug 10, 2010 * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at> * Christian Timmerer <christian.timmerer@itec.u...
gpl-2.0
Gargamel1989/ThreesandUO
Scripts/Engines/Virtues/Justice.cs
8300
using System; using System.Collections; using Server; using Server.Items; using Server.Gumps; using Server.Mobiles; using Server.Targeting; namespace Server { public class JusticeVirtue { private static TimeSpan LossDelay = TimeSpan.FromDays( 7.0 ); private const int LossAmount = 950; public st...
gpl-2.0
pedroresende/ezpublish-kernel
eZ/Publish/Core/FieldType/RichText/InternalLinkValidator.php
2116
<?php /** * File containing the eZ\Publish\Core\FieldType\RichText\InternalLinkValidator class. * * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. * * @version //autogentag// */ namespace eZ\...
gpl-2.0
johndj/cineallo
modules/contrib/multiversion/src/Tests/CommentStatisticsTest.php
3980
<?php namespace Drupal\multiversion\Tests; use Drupal\comment\Entity\Comment; use Drupal\node\Entity\Node; /** * Tests comment statistics. * * @group multiversion */ class CommentStatisticsTest extends MultiversionWebTestBase { /** * The profile to install as a basis for testing. * * @var string *...
gpl-2.0
lzpfmh/oceanbase
oceanbase_0.4/src/common/ob_libeasy_mem_pool.cpp
747
/* (C) 2010-2012 Alibaba Group Holding Limited. * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * Version: 0.1 * * Authors: * Wu Di <lide.wd@alipay.com> */ #includ...
gpl-2.0
dmlloyd/openjdk-modules
hotspot/test/compiler/jvmci/errors/TestInvalidOopMap.java
4170
/* * Copyright (c) 2015, 2016, 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 ...
gpl-2.0
JohnsonYuan/MuseScore
libmscore/pitchspelling.cpp
31477
//============================================================================= // MuseScore // Music Composition & Notation // // Copyright (C) 2007-2011 Werner Schweer // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 // ...
gpl-2.0
ryandougherty/mwa-capstone
MWA_Tools/build/matplotlib/doc/mpl_examples/pylab_examples/demo_bboximage.py
1805
import matplotlib.pyplot as plt import numpy as np from matplotlib.image import BboxImage from matplotlib.transforms import Bbox, TransformedBbox if __name__ == "__main__": fig = plt.figure(1) ax = plt.subplot(121) txt = ax.text(0.5, 0.5, "test", size=30, ha="center", color="w") kwargs = dict() ...
gpl-2.0
princehektor/torcs
src/libs/confscreens/simuconfig.cpp
5508
/*************************************************************************** file : simuconfig.cpp created : Wed Nov 3 21:48:26 CET 2004 copyright : (C) 2004 by Eric Espi� email : eric.espie@free.fr version : $Id: simuconfig.cpp,v 1.4.2.3 2011/12/29 ...
gpl-2.0
ibm2431/darkstar
scripts/globals/items/flask_of_poison_potion.lua
511
----------------------------------------- -- ID: 4157 -- Item: Poison Potion -- Item Effect: Poison 1HP / Removes 60 HP over 180 seconds ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") function onItemCheck(target) return 0 end function onItemUse(target) ...
gpl-3.0
nbcloud/fluorescence
src/fluorescence/net/packets/65_weather.hpp
1195
/* * fluorescence is a free, customizable Ultima Online client. * Copyright (C) 2011-2012, http://fluorescence-client.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 3 o...
gpl-3.0
kristina-san/CONRAD
src/edu/stanford/rsl/conrad/physics/materials/utils/AttenuationRetrievalMode.java
385
package edu.stanford.rsl.conrad.physics.materials.utils; /** * Gives developer option on how to retrieve mass attenuation * @author Rotimi X Ojo * */ public enum AttenuationRetrievalMode { LOCAL_RETRIEVAL, ONLINE_RETRIEVAL; } /* * Copyright (C) 2010-2014 Rotimi X Ojo * CONRAD is developed as an Op...
gpl-3.0
zynjec/darkstar
scripts/globals/items/corsair_die.lua
289
----------------------------------------- -- ID: 5493 -- Corsair Die -- Teaches the job ability Corsair's Roll ----------------------------------------- function onItemCheck(target) return target:canLearnAbility(98) end function onItemUse(target) target:addLearnedAbility(98) end
gpl-3.0
thepurpleblob/gumoodle
blocks/html/lib.php
3272
<?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...
gpl-3.0
calgaryscientific/consul
agent/consul/flood.go
1387
package consul import ( "time" "github.com/hashicorp/consul/agent/router" "github.com/hashicorp/serf/serf" ) // FloodNotify lets all the waiting Flood goroutines know that some change may // have affected them. func (s *Server) FloodNotify() { s.floodLock.RLock() defer s.floodLock.RUnlock() for _, ch := range...
mpl-2.0
bjalon/nuxeo-features
nuxeo-webengine-features/nuxeo-webengine-base/src/main/resources/skin/resources/script/tiny_mce/plugins/preview/langs/fr.js
142
// FR lang variables // Modified by Motte, last updated 2006-03-23 tinyMCE.addToLang('',{ preview_desc : 'Pr&eacute;visualisation' });
lgpl-2.1
ibkim11/dealii
source/fe/fe_data.cc
3687
// --------------------------------------------------------------------- // // Copyright (C) 2001 - 2014 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
lgpl-2.1
daniel-he/community-edition
projects/repository/source/test-resources/org/alfresco/repo/replication/script/test_replicationService.js
4322
// Test that we can work with the definition properly function testReplicationDefinition() { // Check the empty one test.assertEquals(EmptyName, Empty.replicationName); test.assertEquals("Empty", Empty.description); test.assertEquals(null, Empty.targetName); test.assertEquals(0, Empty.payload.length); // Check ...
lgpl-3.0
brentonhouse/brentonhouse.alloy
test/apps/testing/ALOY-665/_generated/mobileweb/alloy/controllers/index.js
2464
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function doSwipe(e) { Ti.API.info("swipe: " + e.direction); } require("/alloy/controllers/BaseController").apply(this, Array....
apache-2.0
GunoH/intellij-community
java/java-impl/src/com/intellij/refactoring/rename/PsiPackageRenameValidator.java
2098
/* * Copyright 2000-2016 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...
apache-2.0
sergecodd/FireFox-OS
B2G/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/CipherDESedeTest.java
2164
/* * Copyright (C) 2008 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...
apache-2.0
ern/elasticsearch
test/framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java
2340
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
xuanyuanking/spark
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala
27776
/* * 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 ...
apache-2.0
mistic100/selectize.js
src/defaults.js
1670
Selectize.count = 0; Selectize.defaults = { plugins: [], delimiter: ',', persist: true, diacritics: true, create: false, createOnBlur: false, highlight: true, openOnFocus: true, maxOptions: 1000, maxItems: null, hideSelected: null, addPrecedence: false, selectOnTab: false, preload: false, scrollDuration...
apache-2.0
dogless/airavata
modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/XBayaConsolidatedTestSuite.java
2568
///* // * // * 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 //...
apache-2.0
GunoH/intellij-community
java/java-impl/src/com/intellij/codeInsight/template/macro/MethodParameterTypesMacro.java
1455
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.template.macro; import com.intellij.codeInsight.template.*; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiElement; impo...
apache-2.0
ryano144/intellij-community
plugins/git4idea/src/git4idea/repo/GitRepositoryManager.java
1887
/* * 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...
apache-2.0
LucHermitte/ITK
Modules/ThirdParty/pygccxml/src/pygccxml/declarations/algorithms_cache.py
4298
# Copyright 2014 Insight Software Consortium. # Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. # See http://www.boost.org/LICENSE_1_0.txt """ defines class that will keep results of different calculations. """ class declaration_algs_cache_t(object): def __init_...
apache-2.0
GunoH/intellij-community
plugins/coverage-common/src/com/intellij/coverage/view/ElementColumnInfo.java
788
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.coverage.view; import com.intellij.coverage.CoverageBundle; import com.intellij.ide.util.treeView.AlphaComparator; import com.intellij.ide.util.treeView.Node...
apache-2.0
ricardocerq/elasticsearch
modules/transport-netty3/src/main/java/org/elasticsearch/transport/netty3/ChannelBufferBytesReference.java
2784
/* * 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...
apache-2.0
medicayun/medicayundicom
dcm4jboss-all/tags/DCM4JBOSS_2_5_3/dcm4jboss-ejb/src/java/org/dcm4chex/archive/ejb/entity/CodeBean.java
5389
/* $Id: CodeBean.java 1541 2005-02-21 13:20:59Z javawilli $ * Copyright (c) 2002,2003 by TIANI MEDGRAPH AG * * This file is part of dcm4che. * * 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 F...
apache-2.0
porkybrain/Kvasir
Lib/Chip/Unknown/Fujitsu/MB9AF31xL/CRG.hpp
15632
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Clock Unit Registers namespace CrgScmCtl{ ///<System Clock Mode Control Register using Addr = Register::Address<0x40010000,0xffffff05,0x00000000,unsigned char>; ///Master clock switch control bits constexpr Register::Fiel...
apache-2.0
shrimpma/phabricator
src/applications/oauthserver/controller/PhabricatorOAuthServerTokenController.php
5276
<?php final class PhabricatorOAuthServerTokenController extends PhabricatorAuthController { public function shouldRequireLogin() { return false; } public function shouldAllowRestrictedParameter($parameter_name) { if ($parameter_name == 'code') { return true; } return parent::shouldAllow...
apache-2.0
GunoH/intellij-community
platform/util/testSrc/com/intellij/util/io/SafeFileOutputStreamTest.java
7758
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.io; import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.util.io.IoTestUtil; import com.intellij.testFramework.rules.TempDirectory; ...
apache-2.0
enj/origin
vendor/github.com/docker/docker/daemon/create.go
9773
package daemon // import "github.com/docker/docker/daemon" import ( "fmt" "net" "runtime" "strings" "time" "github.com/docker/docker/api/types" containertypes "github.com/docker/docker/api/types/container" networktypes "github.com/docker/docker/api/types/network" "github.com/docker/docker/container" "github...
apache-2.0
ern/elasticsearch
server/src/main/java/org/elasticsearch/http/HttpInfo.java
3025
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
mghosh4/druid
processing/src/main/java/org/apache/druid/query/groupby/epinephelinae/collection/MemoryOpenHashTable.java
12927
/* * 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 ...
apache-2.0
holmes/intellij-community
platform/lang-impl/src/com/intellij/ide/util/TreeFileChooserDialog.java
16269
/* * Copyright 2000-2015 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...
apache-2.0
jinfenw/runv
vendor/github.com/kardianos/osext/osext_go18.go
106
//+build go1.8 package osext import "os" func executable() (string, error) { return os.Executable() }
apache-2.0
rmarting/camel
camel-core/src/main/java/org/apache/camel/model/dataformat/CastorDataFormat.java
6297
/** * 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...
apache-2.0
ltilve/ChromiumGStreamerBackend
net/quic/quic_flow_controller_test.cc
15923
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quic/quic_flow_controller.h" #include "base/format_macros.h" #include "base/strings/stringprintf.h" #include "net/quic/quic_flags.h" #inclu...
bsd-3-clause
scheib/chromium
third_party/blink/web_tests/dom/legacy_dom_conformance/xhtml/level3/core/nodesettextcontent03.js
2881
/* Copyright © 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University). All Rights Reserved. This work is distributed under the W3C® Software License [1] in the hope that it will be useful, but WITHOUT ANY WARRANTY; wi...
bsd-3-clause
sahiljain/catapult
third_party/py_vulcanize/third_party/rjsmin/bench/write.py
10696
#!/usr/bin/env python # -*- coding: ascii -*- r""" ========================= Write benchmark results ========================= Write benchmark results. :Copyright: Copyright 2014 Andr\xe9 Malo or his licensors, as applicable :License: Licensed under the Apache License, Version 2.0 (the "License"); you may not...
bsd-3-clause
mazimm/AliPhysics
PWGHF/vertexingHF/macros/AddTaskDmesonMCPerform.C
1457
AliAnalysisTaskDmesonMCPerform *AddTaskDmesonMCPerform(TString suffix="", Int_t centOpt=AliRDHFCuts::kCentOff, TString dpluscutfilename="") { // AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager(); if (!mgr) { ::Error("AddTaskMCPerform", "No analysis manager to conne...
bsd-3-clause
Razzwan/yii2
tests/data/ar/OrderItem.php
1017
<?php namespace yiiunit\data\ar; /** * Class OrderItem * * @property integer $order_id * @property integer $item_id * @property integer $quantity * @property string $subtotal */ class OrderItem extends ActiveRecord { public static $tableName; public static function tableName() { return sta...
bsd-3-clause
vamage/consul
vendor/google.golang.org/grpc/resolver/dns/go18.go
789
// +build go1.8 /* * * Copyright 2017 gRPC 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 applic...
mpl-2.0
titanium-as/titanium-as.github.io
js/inspinia.js
550
// INSPINIA Landing Page Custom scripts $(document).ready(function () { // Highlight the top nav as scrolling $('body').scrollspy({ target: '.navbar-fixed-top', offset: 80 }) // Page scrolling feature $('a.page-scroll').bind('click', function(event) { var link = $(this); ...
mit
sashberd/cdnjs
ajax/libs/rusha/0.8.7/rusha.js
21144
(function () { function Rusha(chunkSize) { 'use strict'; var util = { getDataType: function (data) { if (typeof data === 'string') { return 'string'; } if (data instanceof Array) { return 'array'; ...
mit
Donavan/dotenv
spec/dotenv/rails_spec.rb
1750
require "spec_helper" ENV["RAILS_ENV"] = "test" require "rails" require "dotenv/rails" describe Dotenv::Railtie do # Fake watcher for Spring class SpecWatcher attr_reader :items def initialize @items = [] end def add(*items) @items |= items end end before do allow(Rails)....
mit
ExoSkeleton321/expressjs-cf
node_modules/cloudinary/lib/v2/index.js
299
// Generated by CoffeeScript 1.10.0 (function() { var _, v1, v2; v1 = require('../../cloudinary.js'); _ = require('lodash'); v2 = _.clone(v1); v2.api = require('./api'); v2.uploader = require('./uploader'); module.exports = v2; }).call(this); //# sourceMappingURL=index.js.map
mit
Promptus/errbit
config/mongo.rb
369
Mongoid.configure do |config| uri = if Errbit::Config.mongo_url == 'mongodb://localhost' "mongodb://localhost/errbit_#{Rails.env}" else Errbit::Config.mongo_url end config.load_configuration({ sessions: { default: { uri: uri } }, options: { ...
mit
seogi1004/cdnjs
ajax/libs/froala-editor/2.7.2/js/languages/ru.js
24636
/*! * froala_editor v2.7.2 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2017 Froala Labs */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory)...
mit
srinikumar11/symfony2
vendor/symfony/src/Symfony/Component/Security/Http/RememberMe/AbstractRememberMeServices.php
9413
<?php namespace Symfony\Component\Security\Http\RememberMe; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Core\User\UserInterface; use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken; use Symfony\Component\Security\Http\Logout\LogoutHandlerI...
mit
ensemblr/llvm-project-boilerplate
include/llvm/lib/Fuzzer/test/StrstrTest.cpp
754
// This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // Test strstr and strcasestr hooks. #include <string> #include <string.h> #include <cstdint> #include <cstdio> #include <cstdlib> // Windows does not have strcasestr and memmem, so we are not testing the...
mit
doktordirk/aurelia-authentication-loopback-sample
client-cli-es2015/aurelia_project/generators/element.js
1178
import {inject} from 'aurelia-dependency-injection'; import {Project, ProjectItem, CLIOptions, UI} from 'aurelia-cli'; @inject(Project, CLIOptions, UI) export default class ElementGenerator { constructor(project, options, ui) { this.project = project; this.options = options; this.ui = ui; } execute(...
mit
merongivian/opal
spec/lib/compiler_spec.rb
4386
require 'lib/spec_helper' describe Opal::Compiler do describe 'requiring' do it 'calls #require' do expect_compiled("require 'pippo'").to include('self.$require("pippo")') end end describe 'requirable' do it 'executes the file' do expect_compiled("").to include('(function(Opal) {') ...
mit
jechnd/BlogProject
vendor/symfony/src/Symfony/Component/HttpFoundation/Response.php
23491
<?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\HttpFoundation; /** * Response represents an HTTP re...
mit
hypnoscope/let-s-code-an-indie-game
episode_23/src/graphics/sprite.lua
582
local view = require("src.graphics.view") local sprite = {} local draw = function (self, view, x, y) view:inContext(function () local xOffset = self.image:getWidth() / 2 local yOffset = self.image:getHeight() / 2 love.graphics.draw(self.image, x - xOffset, y - yOffset, 0) if DEBUG then love.g...
mit
willduff/OpenLiveWriter-1
src/managed/OpenLiveWriter.Interop/Com/ActiveDocuments/IOleClientSite.cs
976
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; namespace OpenLiveWriter.Interop.Com.ActiveDocuments { /// <summary> /// /// </su...
mit
kenzierocks/SpongeCommon
src/main/java/org/spongepowered/common/profile/query/package-info.java
1352
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
mit
alexa-infra/negine
thirdparty/boost-python/libs/python/pyste/tests/nestedUT.py
600
# Copyright Bruno da Silva de Oliveira 2003. 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) import unittest from _nested import * class NestedTest(unittest.TestCase): ...
mit
ISKCON-Cultural-Centre/eISKCON
src/app/shared/sdk/services/core/error.service.ts
623
/* tslint:disable */ import { Injectable } from '@angular/core'; import { Response } from '@angular/http'; import { Observable } from 'rxjs/Observable'; //import { ErrorObservable } from 'rxjs/observable/ErrorObservable'; import 'rxjs/add/observable/throw'; /** * Default error handler */ @Injectable() export class Er...
mit
pail23/openhab2-addons
addons/binding/org.openhab.binding.mihome/src/main/java/org/openhab/binding/mihome/internal/ColorUtil.java
3164
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * 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 */...
epl-1.0
misilot/vufind
module/VuFind/src/VuFind/Search/Options/PluginFactory.php
2276
<?php /** * Search options plugin factory * * PHP version 5 * * Copyright (C) Villanova University 2010. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * This program ...
gpl-2.0
TKTL-SDN/SoftOffload-Agent
elements/userlevel/mcastsocket.hh
5190
// -*- mode: c++; c-basic-offset: 2 -*- #ifndef CLICK_MCASTSOCKET_HH #define CLICK_MCASTSOCKET_HH #include <click/element.hh> #include <click/string.hh> #include <click/task.hh> #include <click/notifier.hh> #include <sys/un.h> CLICK_DECLS /* =c McastSocket(MCASTIP, MCASTPORT [, SOURCEIP] [, SOURCEPORT] [, I<KEYWORDS>...
gpl-2.0
LiJingBiao/desktop-app
public/tinymce/plugins/image/plugin.min.js
276
tinymce.PluginManager.add("image",function(i,t){function e(){win=i.windowManager.open({title:"Insert/edit image",file:t+"/dialog.htm",width:550,height:345})}i.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:e,stateSelector:"img:not([data-mce-object])"})});
gpl-2.0
anthonyryan1/xbmc
xbmc/windows/GUIWindowSplash.cpp
1440
/* * Copyright (C) 2015-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #include "GUIWindowSplash.h" #include "guilib/GUIImage.h" #include "guilib/GUIWindowManager.h" #include "settings/AdvancedSetti...
gpl-2.0
minhhoangle/firstproject.dev
wp-content/plugins/types/includes/classes/page/listing/abstract.php
1321
<?php /** * Represents an abstract listing page. */ abstract class WPCF_Page_Listing_Abstract extends WPCF_Page_Abstract { protected function __construct() { add_filter( 'wpcf_admin_menu_get_subpages', array( $this, 'add_submenu' ) ); } /** * Add submenu for the page. * * Hooked into the wpcf_admin_men...
gpl-2.0
ouyangjie/oceanbase
oceanbase_0.4/src/updateserver/ob_schema_mgr.cpp
16135
////=================================================================== // // ob_schema_mgr.cpp updateserver / Oceanbase // // Copyright (C) 2010 Taobao.com, Inc. // // Created on 2010-10-08 by Yubai (yubai.lk@taobao.com) // // ------------------------------------------------------------------- // // Descrip...
gpl-2.0
shenzeyu/3dweb
src/main/webapp/scripts/framework/ckeditor/_source/lang/lt.js
23620
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Lithuanian language. */ /**#@+ @type String @example */ /** * Constains the dictionary of...
gpl-2.0
serviciodeempleo/PaginaSPE
components/com_komento/themes/kuro/profile/activities.php
820
<?php /** * @package Komento * @copyright Copyright (C) 2012 Stack Ideas Private Limited. All rights reserved. * @license GNU/GPL, see LICENSE.php * * Komento is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of...
gpl-2.0
wisdom-garden/dotcms
src/com/dotmarketing/portlets/campaigns/model/Click.java
1179
package com.dotmarketing.portlets.campaigns.model; import java.io.Serializable; import com.dotmarketing.util.InodeUtils; /** @author Hibernate CodeGenerator */ public class Click extends com.dotmarketing.beans.Inode implements Serializable { private static final long serialVersionUID = 1L; /** nullable persisten...
gpl-3.0
CBSkarmory/AWGW
src/main/java/info/gridworld/gui/PseudoInfiniteViewport.java
4321
/* * AP(r) Computer Science GridWorld Case Study: * Copyright(c) 2002-2006 College Entrance Examination Board * (http://www.collegeboard.com). * * This code 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 Foundat...
gpl-3.0
devtsit/opencart
upload/admin/controller/module/special.php
4509
<?php class ControllerModulespecial extends Controller { private $error = array(); public function index() { $this->load->language('module/special'); $this->document->setTitle($this->language->get('heading_title')); $this->load->model('setting/setting'); if (($this->request->server['...
gpl-3.0
monzonj/core
dotCMS/html/js/dojo/release/dojo/dojox/editor/plugins/nls/zh-tw/Breadcrumb.js
297
//>>built define("dojox/editor/plugins/nls/zh-tw/Breadcrumb",({"nodeActions":"${nodeName} 動作","selectContents":"選取內容","selectElement":"選取元素","deleteElement":"刪除元素","deleteContents":"刪除內容","moveStart":"將游標移到開頭","moveEnd":"將游標移到末尾"}));
gpl-3.0
sli7246/canvas_branch
spec/models/media_object_spec.rb
3051
# # Copyright (C) 2011 Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that ...
agpl-3.0
NullVoxPopuli/aeonvera
vendor/bundle/ruby/2.4.0/gems/powerpack-0.1.1/lib/powerpack.rb
170
require 'powerpack/version' require 'powerpack/enumerable' require 'powerpack/hash' require 'powerpack/numeric' require 'powerpack/string' require 'powerpack/array'
agpl-3.0
dnoegel/shopware-aop
engine/Shopware/Models/Order/Status.php
4404
<?php /** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * perm...
agpl-3.0
indictranstech/biggift-erpnext
erpnext/controllers/buying_controller.py
10127
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe import _, msgprint from frappe.utils import flt from erpnext.setup.utils import get_company_currency from erpnext.accounts.pa...
agpl-3.0
guttulus/CRM-Guttulus-
application/views/notifier/ticket_change.php
2188
------------------------------------------------------------ <?php echo lang('do not reply warning') ?> ------------------------------------------------------------ <?php echo lang('new comment posted', $ticket->getSummary()) ?>. <?php /* Send the message body unless the configuration file specifically says not to...
agpl-3.0
Livit/Livit.Learn.EdX
lms/static/js/groups/views/cohort_discussions_course_wide.js
4516
;(function (define) { 'use strict'; define(['jquery', 'underscore', 'backbone', 'gettext', 'js/groups/views/cohort_discussions', 'edx-ui-toolkit/js/utils/html-utils'], function ($, _, Backbone, gettext, CohortDiscussionConfigurationView, HtmlUtils) { var CourseWideDiscussions...
agpl-3.0
j1fig/fiware-orion
scripts/managedb/list-entities.py
4483
#!/usr/bin/python # -*- coding: latin-1 -*- # Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U # # This file is part of Orion Context Broker. # # Orion Context Broker is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public License as # published by the Fr...
agpl-3.0
marchelbling/osg
src/osg/ScissorIndexed.cpp
1766
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2014 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
lgpl-2.1
harikrushna-Huawei/hackathon
protocols/isis/api/src/main/java/org/onosproject/isis/controller/IsisPduType.java
2537
/* * Copyright 2016-present Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
apache-2.0
nicolaferraro/camel
components/camel-netty/src/test/java/org/apache/camel/component/netty/DatagramPacketByteArrayCodecTest.java
3163
/* * 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 ...
apache-2.0
amckee23/drools
drools-pmml/src/main/java/org/drools/pmml/pmml_4_2/PMMLError.java
1030
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under t...
apache-2.0
gnanam336/auto
value/src/it/functional/src/main/java/PackagelessNestedValueType.java
1023
/* * Copyright (C) 2012 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...
apache-2.0
christophd/camel
components/camel-cxf/src/test/java/org/apache/camel/component/cxf/ssl/SslGlobalTest.java
4219
/* * 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 ...
apache-2.0