repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
jaywink/cartridge-reservable
cartridge/shop/management/__init__.py
1932
from __future__ import print_function from __future__ import unicode_literals from future.builtins import input import sys from django.conf import settings from django.core.management import call_command from django.db.models.signals import post_syncdb from mezzanine.utils.tests import copy_test_to_media from cartr...
bsd-2-clause
mahori/homebrew-cask
Casks/tunnelblick.rb
1767
cask "tunnelblick" do version "3.8.7a,5770" sha256 "bb5858619a58561d07d23df470b9548b82c1544cea9ffade30c4362dc8f3bd93" url "https://github.com/Tunnelblick/Tunnelblick/releases/download/v#{version.csv.first}/Tunnelblick_#{version.csv.first}_build_#{version.csv.second}.dmg", verified: "github.com/Tunnelblick/...
bsd-2-clause
justjoheinz/homebrew
Library/Formula/juju.rb
963
require 'formula' class Juju < Formula homepage 'https://juju.ubuntu.com' url 'https://launchpad.net/juju-core/1.18/1.18.3/+download/juju-core_1.18.3.tar.gz' sha1 '9290acb390d7bcefd56212de1a8a36c008f5db89' devel do url "https://launchpad.net/juju-core/trunk/1.19.1/+download/juju-core_1.19.1.tar.gz" sh...
bsd-2-clause
epiqc/ScaffCC
clang/test/OpenMP/taskloop_firstprivate_codegen.cpp
31291
// RUN: %clang_cc1 -verify -fopenmp -x c++ -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -triple x86_64-apple-darwin10 -emit-pch -o %t %s // RUN: %clang_cc1 -fopenmp -x c++ -triple x86_64-apple-darwin10 -std=c++11 -include-pch %t -verify %s -emit-llvm -o -...
bsd-2-clause
sjackman/homebrew-core
Formula/devdash.rb
1317
class Devdash < Formula desc "Highly Configurable Terminal Dashboard for Developers" homepage "https://thedevdash.com" url "https://github.com/Phantas0s/devdash/archive/v0.5.0.tar.gz" sha256 "633a0a599a230a93b7c4eeacdf79a91a2bb672058ef3d5aacce5121167df8d28" license "Apache-2.0" bottle do sha256 cellar:...
bsd-2-clause
zhengw1985/Update-Installer
external/win32cpp/WCE samples/Simple/SimpleApp.cpp
146
#include "SimpleApp.h" CSimpleApp::CSimpleApp() { } BOOL CSimpleApp::InitInstance() { //Create the Window m_View.Create(); return TRUE; }
bsd-2-clause
Pluto-tv/chromium-crosswalk
chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest2.java
19019
// Copyright 2015 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. package org.chromium.chrome.browser.infobar; import android.graphics.Rect; import android.graphics.Region; import android.test.FlakyTest; import android....
bsd-3-clause
manikkang/soligem
core/app/models/spree/stock/splitter/shipping_category.rb
848
module Spree module Stock module Splitter class ShippingCategory < Spree::Stock::Splitter::Base def split(packages) split_packages = [] packages.each do |package| split_packages += split_by_category(package) end return_next split_packages e...
bsd-3-clause
nwjs/chromium.src
chrome/browser/notifications/popups_only_ui_controller.cc
2041
// Copyright 2018 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 "chrome/browser/notifications/popups_only_ui_controller.h" #include "ui/message_center/message_center.h" #include "ui/message_center/views/deskt...
bsd-3-clause
yang1fan2/nematus
mosesdecoder-master/moses/WordLattice.cpp
8744
#include <map> #include "StaticData.h" #include "WordLattice.h" #include "PCNTools.h" #include "Util.h" #include "FloydWarshall.h" #include "TranslationOptionCollectionLattice.h" #include "TranslationOptionCollectionConfusionNet.h" #include "moses/FF/InputFeature.h" #include "moses/TranslationTask.h" namespace Moses {...
bsd-3-clause
endlessm/chromium-browser
third_party/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/Nios2MachineFunction.cpp
436
//===-- Nios2MachineFunctionInfo.cpp - Private data used for Nios2 --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
bsd-3-clause
chromium/chromium
content/browser/web_package/web_bundle_reader.cc
14986
// Copyright 2019 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 "content/browser/web_package/web_bundle_reader.h" #include <limits> #include "base/check_op.h" #include "base/numerics/safe_math.h" #include "b...
bsd-3-clause
chromium/chromium
chrome/utility/safe_browsing/mac/hfs_unittest.cc
7086
// Copyright 2015 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 "chrome/utility/safe_browsing/mac/hfs.h" #include <stddef.h> #include <stdint.h> #include <memory> #include "base/cxx17_backports.h" #include ...
bsd-3-clause
lecaoquochung/ddnb.django
django/utils/formats.py
8251
from __future__ import absolute_import # Avoid importing `importlib` from this package. import decimal import datetime from importlib import import_module import unicodedata from django.conf import settings from django.utils import dateformat, numberformat, datetime_safe from django.utils.encoding import force_str f...
bsd-3-clause
Instrument/react
npm-react-codemod/transforms/class.js
13414
/*eslint-disable no-comma-dangle*/ 'use strict'; function updateReactCreateClassToES6(file, api, options) { const j = api.jscodeshift; require('./utils/array-polyfills'); const ReactUtils = require('./utils/ReactUtils')(j); const printOptions = options.printOptions || {quote: 'single'}; const root = j(fil...
bsd-3-clause
ladams1776/zend_first
vendor/symfony/console/Helper/Table.php
19777
<?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\Console\Helper; use Symfony\Component\Console\Output\...
bsd-3-clause
vinayvinsol/spree
core/app/models/spree/stock_movement.rb
894
module Spree class StockMovement < Spree::Base QUANTITY_LIMITS = { max: 2**31 - 1, min: -2**31 }.freeze belongs_to :stock_item, class_name: 'Spree::StockItem', inverse_of: :stock_movements belongs_to :originator, polymorphic: true after_create :update_stock_item_quantity with_op...
bsd-3-clause
zhangfangyan/devide
modules/readers/dicomRDR.py
10649
# Copyright (c) Charl P. Botha, TU Delft # All rights reserved. # See COPYRIGHT for details. import gen_utils from module_kits.misc_kit import misc_utils import os from module_base import ModuleBase from module_mixins import \ IntrospectModuleMixin, FileOpenDialogModuleMixin import module_utils import stat impo...
bsd-3-clause
rainlike/justshop
vendor/sylius/sylius/src/Sylius/Bundle/ResourceBundle/Controller/ResourceUpdateHandlerInterface.php
827
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\ResourceBundle\Controller; use Doctrine\Common\Pers...
mit
wikimedia/mediawiki-vagrant
puppet/modules/stdlib/lib/puppet/parser/functions/is_ipv6_address.rb
797
# # is_ipv6_address.rb # module Puppet::Parser::Functions newfunction(:is_ipv6_address, :type => :rvalue, :doc => <<-EOS Returns true if the string passed to this function is a valid IPv6 address. EOS ) do |arguments| function_deprecation([:is_ipv6_address, 'This method is deprecated, please use the stdli...
mit
Sharjeel-Khan/Portfolio
js/ngmap/directives/map.js
2471
/** * @ngdoc directive * @memberof ngMap * @name ng-map * @param Attr2Options {service} * convert html attribute to Google map api options * @description * Implementation of {@link __MapController} * Initialize a Google map within a `<div>` tag * with given options and register events * * @attr {Expressio...
mit
tomgazit/University-Material-Manager
filters/FilterASCIIHexDecode.php
1498
<?php // // FPDI - Version 1.5.2 // // Copyright 2004-2014 Setasign - Jan Slabon // // 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...
mit
gnat42/symfony
src/Symfony/Component/Config/Resource/ClassExistenceResource.php
4708
<?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\Config\Resource; /** * ClassExistenceResource repres...
mit
davehorton/drachtio-server
deps/boost_1_77_0/boost/math/distributions/beta.hpp
19087
// boost\math\distributions\beta.hpp // Copyright John Maddock 2006. // Copyright Paul A. Bristow 2006. // Use, modification and distribution are 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) // http://en.wikipedia...
mit
JSMike/angular
modules/@angular/core/test/application_ref_spec.ts
15130
/** * @license * Copyright Google Inc. 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 {APP_BOOTSTRAP_LISTENER, APP_INITIALIZER, CompilerFactory, Component, NgModule, PlatformRef, TemplateRef, Typ...
mit
mlsnyder/developer-dot
public/code/blog/avatax-connector-app/AvaTaxConnector/Controllers/HomeController.cs
1045
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Mvc; namespace AvaTaxConnector.Controllers { public class HomeController : Controller { public ActionResult Index() { //ViewBag.Message = "AvaTax API V2...
mit
tuka217/Sylius
src/Sylius/Bundle/ThemeBundle/Collector/ThemeCollector.php
2528
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\ThemeBundle\Collector; use Sylius\Bundle\ThemeBundle\Context\ThemeContextInte...
mit
Amritesh/three.js
src/textures/DataTexture2DArray.js
714
/** * @author Takahiro https://github.com/takahirox */ import { Texture } from './Texture.js'; import { ClampToEdgeWrapping, NearestFilter } from '../constants.js'; function DataTexture2DArray( data, width, height, depth ) { Texture.call( this, null ); this.image = { data: data, width: width, height: height, de...
mit
Duoxilian/home-assistant
tests/components/tts/test_voicerss.py
7340
"""The tests for the VoiceRSS speech platform.""" import asyncio import os import shutil import homeassistant.components.tts as tts from homeassistant.components.media_player import ( SERVICE_PLAY_MEDIA, ATTR_MEDIA_CONTENT_ID, DOMAIN as DOMAIN_MP) from homeassistant.bootstrap import setup_component from tests.com...
mit
r22016/azure-sdk-for-net
src/Batch/Client/Tests/ObjectModel/Azure.Batch.Unit.Tests/OptionsUnitTests.cs
3223
// Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
mit
beanworks/doctrine2
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC425Test.php
1017
<?php namespace Doctrine\Tests\ORM\Functional\Ticket; use DateTime, Doctrine\DBAL\Types\Type; class DDC425Test extends \Doctrine\Tests\OrmFunctionalTestCase { protected function setUp() { parent::setUp(); $this->_schemaTool->createSchema( [ $this->_em->getClassMetadata(...
mit
symfony/symfony
src/Symfony/Bridge/Twig/Translation/TwigExtractor.php
2615
<?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\Bridge\Twig\Translation; use Symfony\Component\Finder\Finder; u...
mit
redheli/three.js
src/audio/Audio.js
4420
/** * @author mrdoob / http://mrdoob.com/ * @author Reece Aaron Lecrivain / http://reecenotes.com/ */ THREE.Audio = function ( listener ) { THREE.Object3D.call( this ); this.type = 'Audio'; this.context = listener.context; this.source = this.context.createBufferSource(); this.source.onended = this.onEnded.b...
mit
kentcdodds/eslint
tests/lib/config/config-rule.js
11740
/** * @fileoverview Tests for ConfigOps * @author Ian VanSchooten */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const assert = require("chai").assert, ConfigRule...
mit
ro0NL/symfony
src/Symfony/Component/OptionsResolver/Debug/OptionsResolverIntrospector.php
3183
<?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\OptionsResolver\Debug; use Symfony\Component\OptionsR...
mit
HasanSa/hackathon
node_modules/eslint-config-airbnb/rules/es6.js
1697
module.exports = { 'env': { 'es6': false }, 'ecmaFeatures': { 'arrowFunctions': true, 'blockBindings': true, 'classes': true, 'defaultParams': true, 'destructuring': true, 'forOf': true, 'generators': false, 'modules': true, 'objectLiteralComputedProperties': true, 'obj...
mit
snaewe/vboxweb
languages/fr_fr.py
27370
""" French / France language file $Id$ """ trans = { # General actions 'File' : 'Fichier', 'Edit' : 'Modifier', 'Save' : 'Enregistrer', 'OK' : 'OK', 'Cancel' : 'Annuler', 'Create' : 'Créer', 'Select' : 'Séléctionner', 'Up' : 'Haut', 'Down' : 'Bas', 'Yes' : 'Oui', 'No' : 'Non', 'C...
mit
pingjiang/imba
test/lib/syntax/selectors.js
521
(function(){ function check(sel,query){ return this.eq(sel.query(),query); }; describe("Syntax - Selectors",function() { return test("variations",function() { var a = 1; var s = "ok"; check(q$('ul li .item'),"ul li .item"); check(q$('ul ._custom.hello'),"ul ._custom.hello"); check(q$('u...
mit
darly/photobooth
typings/browser/ambient/yargs/index.d.ts
4480
// Generated by typings // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/6a287502dab374e7d4cbf18ea1ac5dff7f74726a/yargs/yargs.d.ts // Type definitions for yargs // Project: https://github.com/chevex/yargs // Definitions by: Martin Poelstra <https://github.com/poelstra> // Definitions: https:...
mit
SonarSystems/Cocos-Helper
External Cocos Helper Android Frameworks/Libs/MoPub/mopub-sdk/src/main/java/com/mopub/nativeads/ViewBinder.java
2511
package com.mopub.nativeads; import android.support.annotation.NonNull; import java.util.Collections; import java.util.HashMap; import java.util.Map; public class ViewBinder { public final static class Builder { private final int layoutId; private int titleId; private int textId; ...
mit
gabrielstuff/fusejs
test/unit/src/fixtures/json.js
112
var attackTarget; var Fixtures = { 'mixed_dont_enum': { 'a':'A', 'b':'B', 'toString':'bar', 'valueOf':'' } };
mit
dhairyagabha/opinion_base
db/migrate/20171118164047_add_attachment_avatar_to_users.rb
215
class AddAttachmentAvatarToUsers < ActiveRecord::Migration[5.1] def self.up change_table :users do |t| t.attachment :avatar end end def self.down remove_attachment :users, :avatar end end
mit
ScottHolden/azure-sdk-for-net
src/SDKs/ApiManagement/Management.ApiManagement/Generated/IRegionsOperations.cs
2053
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
mit
georgemarshall/DefinitelyTyped
types/honeybadger/index.d.ts
1945
// Type definitions for honeybadger 1.4 // Project: https://github.com/honeybadger-io/honeybadger-node // Definitions by: Ryan Skrzypek <https://github.com/rskrz> // Levi Bostian <https://github.com/levibostian> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2....
mit
YousefED/DefinitelyTyped
types/react-icons/md/brightness-6.d.ts
164
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class MdBrightness6 extends React.Component<IconBaseProps, any> { }
mit
gaow/pfar
src/include/armadillo_bits/fn_median.hpp
1689
// Copyright (C) 2009-2016 National ICT Australia (NICTA) // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // -----------------------------------------------------...
mit
mcrawshaw/DefinitelyTyped
types/navigation-react/index.d.ts
2333
// Type definitions for NavigationReact 2.0 // Project: http://grahammendick.github.io/navigation/ // Definitions by: Graham Mendick <https://github.com/grahammendick> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 import { StateNavigator } from 'navigation'; import { Com...
mit
cdnjs/cdnjs
ajax/libs/jQuery.mmenu/9.0.4/addons/navbars/navbar.title.min.js
302
import*as DOM from"../../_modules/dom";export default function(e){let a=DOM.create("a.mm-navbar__title");e.append(a),this.bind("openPanel:before",e=>{if(!e.parentElement.matches(".mm-listitem--vertical")){const t=e.querySelector(".mm-navbar__title");t&&(e=t.cloneNode(!0),a.after(e),a.remove(),a=e)}})}
mit
rajul/Pydev
plugins/org.python.pydev.refactoring/tests/python/coderefactoring/extractmethod/testExtractMethod1.py
423
class A: def test(self): ##|print "Initializing A"##| attribute = "hello" def my_method(self): print self.attribute a = A() a.test() ##r class A: def extracted_method(self): print "Initializing A" def test(self): self.extracted_method() a...
epl-1.0
kolo1477/kalista
Viktor/Properties/AssemblyInfo.cs
1396
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Vi...
gpl-2.0
sbamamoto/contro
grails-app/assets/javascripts/src-noconflict/snippets/text.js
330
; (function() { ace.require(["ace/snippets/text"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })(); ...
gpl-2.0
m-kuhn/QGIS
python/plugins/processing/algs/qgis/AddTableField.py
4301
# -*- coding: utf-8 -*- """ *************************************************************************** AddTableField.py --------------------- Date : August 2012 Copyright : (C) 2012 by Victor Olaya Email : volayaf at gmail dot com *************************...
gpl-2.0
isauragalafate/drupal8
vendor/drupal/console/src/Command/Module/DownloadCommand.php
7533
<?php /** * @file * Contains \Drupal\Console\Command\Module\DownloadCommand. */ namespace Drupal\Console\Command\Module; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Outp...
gpl-2.0
openjdk/jdk7u
jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/WebServiceContextDelegate.java
5870
/* * Copyright (c) 1997, 2010, 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
cw196/tiwal
zh/wp-content/plugins/so-widgets-bundle/widgets/so-google-map-widget/so-google-map-widget.php
21451
<?php /* Widget Name: Google Maps widget Description: A highly customisable Google Maps widget. Help your site find its place and give it some direction. Author: SiteOrigin Author URI: http://siteorigin.com */ class SiteOrigin_Widget_GoogleMap_Widget extends SiteOrigin_Widget { function __construct() { parent::_...
gpl-2.0
sivakgm/squid-3.4
helpers/external_acl/kerberos_ldap_group/support_netbios.cc
5816
/* * ----------------------------------------------------------------------------- * * Author: Markus Moeller (markus_moeller at compuserve.com) * * Copyright (C) 2007 Markus Moeller. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GN...
gpl-2.0
maxximino/dpacalc
dependencies/eigen/test/eigen2/eigen2_cwiseop.cpp
6697
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. Eigen itself is part of the KDE project. // // Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // Eigen is free software; you can redistribute it and/or // m...
gpl-2.0
liuyanghejerry/qtextended
examples/server/plugins/exampletask/exampletask.cpp
1421
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
gpl-2.0
itsimbal/gcc.cet
libsanitizer/asan/asan_memory_profile.cc
3060
//===-- asan_memory_profile.cc.cc -----------------------------------------===// // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file is a part of AddressSa...
gpl-2.0
aglne/pluotsorbet
java/midp/com/sun/j2me/crypto/MessageDigest.java
2179
/* * * * Copyright 1990-2009 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program 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
adamwinn/Jackett
src/Jackett/Models/IndexerConfig/ConfigurationDataBasicLoginWithRSS.cs
696
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jackett.Models.IndexerConfig { public class ConfigurationDataBasicLoginWithRSS : ConfigurationData { public StringItem Username { get; private set; ...
gpl-2.0
draekko/codelite
Plugin/EditDlg.cpp
1775
////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // copyright : (C) 2014 The CodeLite Team // file name : EditDlg.cpp // // --------------------------------------------------------------...
gpl-2.0
ruchong/d8
core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
22110
<?php /** * @file * Contains \Drupal\Tests\config_translation\Unit\ConfigNamesMapperTest. */ namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigNamesMapper; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\DependencyInjection\ContainerBuilder; use Drupal\Core\Languag...
gpl-2.0
liuyanghejerry/qtextended
qbuild/extensions/runlast.js
1698
/**************************************************************************** ** ** This file is part of the Qt Extended Opensource Package. ** ** Copyright (C) 2009 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public License ...
gpl-2.0
anhredweb/togtejendomme.dk
plugins/system/shlib/shl_packages/mvc/layouts/layout.php
799
<?php /** * Shlib - programming library * * @author Yannick Gaultier * @copyright (c) Yannick Gaultier 2013 * @package shlib * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @version 0.2.8.369 * @date 2013-12-21 */ /** ensure this file is being included by a parent fil...
gpl-2.0
yed30/PlatformUIBundle
Tests/js/views/navigation/assets/ez-navigationitemsubtreeview-tests.js
3530
/* * Copyright (C) eZ Systems AS. All rights reserved. * For full copyright and license information view LICENSE file distributed with this source code. */ YUI.add('ez-navigationitemsubtreeview-tests', function (Y) { var viewTest, matchTest, Assert = Y.Assert; viewTest = new Y.Test.Case({ ...
gpl-2.0
Lucoms/SkyMist-Core
src/server/scripts/Commands/cs_modify.cpp
45380
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.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 of the License, or (at your * option) any later ve...
gpl-2.0
CntEam/Corek-wlk
src/server/scripts/EasternKingdoms/BlackrockDepths/boss_coren_direbrew.cpp
42464
/*###### ## BrewFest Event ######*/ #include "ScriptPCH.h" #include "LFGMgr.h" /*#### ## brewfest_trigger 2 ####*/ enum eBrewfestBarkQuests { BARK_FOR_THE_THUNDERBREWS = 11294, BARK_FOR_TCHALIS_VOODOO_BREWERY = 11408, BARK_FOR_THE_BARLEYBREWS = 11293, BARK_FOR_DROHNS_DISTILLERY = 114...
gpl-2.0
stripjenga/wnpr
wp-content/plugins/dynamic-widgets/dynwid_admin_edit.php
14029
<?php /** * dynwid_admin_edit.php - Options settings * * @version $Id: dynwid_admin_edit.php 939272 2014-06-26 19:44:38Z qurl $ * @copyright 2011 Jacco Drabbe */ // Plugins support DW_BP::detect(); DW_QT::detect(); DW_WPSC::detect(); DW_WPML::detect(); // Sanitizing some stuff $widget_id = ( isset($_GET['...
gpl-2.0
NickDaly/GemRB-MultipleConfigs
gemrb/GUIScripts/iwd2/Name.py
2125
# GemRB - Infinity Engine Emulator # Copyright (C) 2003 The GemRB Project # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later versi...
gpl-2.0
gildaslemoal/elpi
framework/sql/src/org/ofbiz/sql/ConditionPlan.java
1864
/* * 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 ...
gpl-2.0
crtc-demos/gcc-ia16
libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc
1963
// Copyright (C) 2015-2016 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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, or (at your op...
gpl-2.0
joshmoore/bioformats
components/forks/poi/src/loci/poi/hssf/record/BoolErrRecord.java
10801
/* * #%L * Fork of Apache Jakarta POI. * %% * Copyright (C) 2008 - 2015 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
gpl-2.0
krichter722/gcc
libstdc++-v3/testsuite/tr1/5_numerical_facilities/random/subtract_with_carry_01/cons/default.cc
1330
// 2006-08-22 Paolo Carlini <pcarlini@suse.de> // // Copyright (C) 2006-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 S...
gpl-2.0
mashuai/OpenJDK-Research
hotspot/my-docs/interpreter/bytecode/invokespecial.java
3303
invokespecial 183 invokespecial [0x01cc57a0, 0x01cc58e0] 320 bytes 0x01cc57a0: sub $0x4,%esp 0x01cc57a3: fstps (%esp) 0x01cc57a6: jmp 0x01cc57c4 0x01cc57ab: sub $0x8,%esp 0x01cc57ae: fstpl (%esp) 0x01cc57b1: jmp 0x01cc57c4 0x01cc57b6: push %edx 0x01cc57b7: push %eax 0x01cc57b8: j...
gpl-2.0
dillonjerry/aws
AWS-ElasticBeanstalk-CLI-2.6.2/api/lib/aws/client/v2signaturehelper.rb
1919
require 'openssl' require 'base64' require 'time' module AWS module Client # # Performs AWS V2 signatures on QueryStringMap objects. # # Copyright:: Copyright (c) 2008, 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved. # class V2SignatureHelper def initialize(aws_access_k...
gpl-2.0
unofficial-opensource-apple/gccfast
libjava/java/nio/InvalidMarkException.java
1951
/* InvalidMarkException.java -- Copyright (C) 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath 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 yo...
gpl-2.0
astrophysicist87/iEBE-Plumberg
EBE-Node/EbeCollector/EbeCollectorShell_pureHydroOldFormat.py
798
#!/usr/bin/env python """ This is one of the shells to the EbeCollector class. This one creates a database using data from subfolders containing multiple pure hydro (with old format) events. """ from sys import argv, exit from os import path try: from_folder = path.abspath(argv[1]) except: print("...
gpl-3.0
isnnn/Sick-Beard-TPB
lib/guessit/patterns.py
10117
#!/usr/bin/env python # -*- coding: utf-8 -*- # # GuessIt - A library for guessing information from filenames # Copyright (c) 2011 Nicolas Wack <wackou@gmail.com> # Copyright (c) 2011 Ricard Marxer <ricardmp@gmail.com> # # GuessIt is free software; you can redistribute it and/or modify it under # the terms of the Lesse...
gpl-3.0
Bugex/SkyFireEMU
src/server/scripts/Northrend/Zones/isle_of_conquest.cpp
2651
/* * Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.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 Foun...
gpl-3.0
customizablebasicincome/cbi-tokensale
node_modules/zeppelin-solidity/migrations/2_deploy_contracts.js
132
//var Ownable = artifacts.require("ownership/Ownable.sol"); module.exports = function(deployer) { //deployer.deploy(Ownable); };
gpl-3.0
danmarsden/moodle
course/format/social/version.php
1194
<?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
kylethayer/bioladder
wiki/includes/libs/rdbms/defines.php
770
<?php use Wikimedia\Rdbms\ILoadBalancer; use Wikimedia\Rdbms\IDatabase; /**@{ * Database related constants */ define( 'DBO_DEBUG', IDatabase::DBO_DEBUG ); define( 'DBO_NOBUFFER', IDatabase::DBO_NOBUFFER ); define( 'DBO_IGNORE', IDatabase::DBO_IGNORE ); define( 'DBO_TRX', IDatabase::DBO_TRX ); define( 'DBO_DEFAULT',...
gpl-3.0
dickeyf/darkstar
scripts/zones/Den_of_Rancor/mobs/Tonberry_Tracker.lua
633
----------------------------------- -- Area: Den of Rancor -- MOB: Tonberry Tracker ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobDeath -----------------------...
gpl-3.0
elphinkuo/Androidpn
androidpn-code/androidpn-client/tags/androidpn-client-0.3.0/src/org/androidpn/sdk/InvalidFormatException.java
1051
/* * Copyright 2010 the original author or 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 applica...
gpl-3.0
ChloeG/artoolkit5
doc/apiref-ARWrapper/html/search/all_75.js
2897
var searchData= [ ['uid',['UID',['../class_a_r_marker.html#a574a7dfa20733eb751720425be6cb169',1,'ARMarker']]], ['unityrenderevent',['UnityRenderEvent',['../_a_r_tool_kit_wrapper_exported_a_p_i_8h.html#a8672fab0eadfec7bb97a8a0045033747',1,'UnityRenderEvent(int eventID):&#160;ARToolKitWrapperExportedAPI.cpp'],['../_a...
gpl-3.0
ebukoz/thrive
erpnext/demo/user/manufacturing.py
4593
# 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, random, erpnext from datetime import timedelta from frappe.utils.make_random import how_many from frappe.desk import query_report from e...
gpl-3.0
Reflexe/doc_to_pdf
Windows/program/python-core-3.5.0/lib/ast.py
12001
""" ast ~~~ The `ast` module helps Python applications to process trees of the Python abstract syntax grammar. The abstract syntax itself might change with each Python release; this module helps to find out programmatically what the current grammar looks like and allows modifications of it. ...
mpl-2.0
JasonGross/mozjs
js/src/tests/ecma_6/TypedObject/objecttype.js
971
// |reftest| skip-if(!this.hasOwnProperty("TypedObject")) var BUGNUMBER = 917454; var summary = 'objecttype'; /* * Any copyright is dedicated to the Public Domain. * http://creativecommons.org/licenses/publicdomain/ */ var T = TypedObject; function runTests() { var Point = T.float32.array(3); var Line = new T...
mpl-2.0
legatoproject/legato-docs
15_05/ccoding_stds_naming.js
1987
var ccoding_stds_naming = [ [ "Naming Overview", "ccoding_stds_naming.html#cstdsNaming", [ [ "Be Descriptive", "ccoding_stds_naming.html#descript", null ], [ "Prefixes", "ccoding_stds_naming.html#prefix", null ], [ "Component Interfaces", "ccoding_stds_naming.html#cstdsInterComponentInterfaces", n...
mpl-2.0
pgonda/servo
components/script/dom/storage.rs
7280
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::bindings::codegen::Bindings::StorageBinding; use dom::bindings::codegen::Bindings::StorageBinding::Storag...
mpl-2.0
guojianli/consul
consul/server.go
19079
package consul import ( "crypto/tls" "errors" "fmt" "log" "net" "net/rpc" "os" "path/filepath" "reflect" "strconv" "sync" "time" "github.com/hashicorp/consul/acl" "github.com/hashicorp/consul/tlsutil" "github.com/hashicorp/raft" "github.com/hashicorp/raft-boltdb" "github.com/hashicorp/serf/serf" ) /...
mpl-2.0
maljac/odoo-addons
evaluation/__init__.py
361
# -*- coding: utf-8 -*- ############################################################################## # For copyright and license notices, see __openerp__.py file in module root # directory ############################################################################## from . import survey # vim:expandtab:smartinde...
agpl-3.0
UniversityOfHawaii/kfs
kfs-ar/src/main/java/org/kuali/kfs/module/ar/web/struts/CustomerInvoiceWriteoffLookupSummaryAction.java
7059
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program 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 Softw...
agpl-3.0
josesam/latinos
modules/vCals/vCal.php
8214
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * This ...
agpl-3.0
salesagility-davidthomson/SuiteCRM
modules/Emails/EmailException.php
2301
<?php /** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2017 SalesAgility Ltd. * * This program is f...
agpl-3.0
lpellegr/programming
programming-test/src/test/java/functionalTests/activeobject/request/immediateservice/A.java
3153
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2012 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
agpl-3.0
EzyWebwerkstaden/n2cms
src/WebForms/WebFormsTemplates.Tests/Wiki/HtmlFilterTests.cs
1849
using N2.Web; using NUnit.Framework; namespace N2.Templates.Tests.Wiki { [TestFixture] public class HtmlFilterTests { public HtmlFilter filter = new HtmlFilter(); [Test] public void DoesntFilter_TextWithoutTags() { string result = filter.FilterHtml("Hello world!...
lgpl-2.1
iweiss/wildfly
clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/ComponentResourceDefinition.java
1690
/* * JBoss, Home of Professional Open Source. * Copyright 2015, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
lgpl-2.1
kerenby/nabus
src/org/jitsi/impl/neomedia/codec/audio/g729/DeAcelp.java
2119
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ /* * WARNING: The use of G.729 may require a license fee and/or royalty fee in * some countries and is licensed by * <a href="http://www.sipro.com">SIPRO Lab Telecom</a>...
lgpl-2.1