repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
ExOLever/ExOMaterial
plugins/covalent/core/notifications/notifications.module.ts
754
import { Type } from '@angular/core'; import { NgModule, ModuleWithProviders } from '@angular/core'; import { CommonModule } from '@angular/common'; import { CovalentCommonModule } from '../common/common.module'; import { TdNotificationCountComponent, TdNotificationCountPositionX, TdNotificationCountPositionY } from...
mit
spirozzi/TheMolecularPlayground
src/public/lib/jsmol/j2s/J/adapter/readers/xml/XmlVaspReader.js
5934
Clazz.declarePackage ("J.adapter.readers.xml"); Clazz.load (["J.adapter.readers.xml.XmlReader"], "J.adapter.readers.xml.XmlVaspReader", ["java.lang.Double", "JU.PT", "$.SB", "$.V3", "JU.Logger"], function () { c$ = Clazz.decorateAsClass (function () { this.data = null; this.name = null; this.ac = 0; this.iAtom = ...
mit
PKRoma/Newtonsoft.Json
Src/Newtonsoft.Json/Converters/BsonObjectIdConverter.cs
3765
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
mit
janhenke/corefx
src/System.IO.FileSystem/tests/FileStream/WriteAsync.cs
22950
// 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.Collections.Generic; using System.Runtime.InteropServices; using System.Threading; using System.Threadi...
mit
akhyarrh/grav-test
system/src/Grav/Common/Plugin.php
10887
<?php /** * @package Grav\Common * * @copyright Copyright (C) 2015 - 2019 Trilby Media, LLC. All rights reserved. * @license MIT License; see LICENSE file for details. */ namespace Grav\Common; use Grav\Common\Data\Blueprint; use Grav\Common\Data\Data; use Grav\Common\Page\Interfaces\PageInterface; use G...
mit
keichan100yen/ode-ext
boost/libs/python/config/tools/sphinx4scons.py
20572
"""SCons.Tool.spinx4scons Tool-specific initialization for the Sphinx document build system. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() selection method. It should be placed in e.g. ~/site_scons/site_tools/sphinx4scons/ direc...
mit
borisyankov/DefinitelyTyped
types/google-apps-script/apis/analyticsreporting_v4.d.ts
13844
// Type definitions for Google Apps Script 2019-03-25 // Project: https://developers.google.com/apps-script/ // Generator: https://github.com/grant/google-apps-script-dts // Definitions by: grant <https://github.com/grant/> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace GoogleApps...
mit
BrainCrumbz/NSpec.NetCore
sln/test/Samples/SampleSpecs/Model/User.cs
254
namespace SampleSpecs.Model { public class User { public User() { Id = 1; } public int Id { get; set; } public bool Terminated { get; set; } public bool Admin { get; set; } } }
mit
honix/godot
scene/2d/remote_transform_2d.cpp
7811
/*************************************************************************/ /* remote_transform_2d.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
mit
interpunkt/generator-craftskeleton
generators/app/templates/_plugins/imager/vendor/tinify/tinify/test/TinifySourceTest.php
13025
<?php use Tinify\CurlMock; class TinifySourceTest extends TestCase { private $dummyFile; public function setUp() { parent::setUp(); $this->dummyFile = __DIR__ . "/examples/dummy.png"; } public function testWithInvalidApiKeyFromFileShouldThrowAccountException() { Tinify\setKey...
mit
DanChadwick/ember-paper
app/components/paper-radio-group.js
105
import PaperRadioGroup from 'ember-paper/components/paper-radio-group'; export default PaperRadioGroup;
mit
MyRayTech/CMSFul
vendor/composer/b98878f8/symfony-symfony-9b02263/src/Symfony/Bridge/Monolog/Handler/ConsoleHandler.php
6144
<?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\Monolog\Handler; use Monolog\Formatter\LineFormatter; us...
mit
electron/electron
script/generate-zip-manifest.py
333
#!/usr/bin/env python import zipfile import sys def main(zip_path, manifest_out): with open(manifest_out, 'w') as manifest, \ zipfile.ZipFile(zip_path, 'r', allowZip64=True) as z: for name in sorted(z.namelist()): manifest.write(name + '\n') return 0 if __name__ == '__main__': sys.exit(main(*sy...
mit
andr3wmac/Torque6
src/platformWin32/winMath_ASM.cc
1984
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
mit
Isto/sf2.3-base
vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity/MappedSuperclass/AbstractTranslation.php
3044
<?php namespace Gedmo\Translatable\Entity\MappedSuperclass; use Doctrine\ORM\Mapping as ORM; /** * Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation * * @ORM\MappedSuperclass */ abstract class AbstractTranslation { /** * @var integer $id * * @ORM\Column(type="integer") * @ORM...
mit
jyrkij/devise-i18n
spec/locale_loading_spec.rb
2031
# encoding: utf-8 require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe 'Locale loading' do let(:app) do DeviseI18n::Spec::FakeApp end let(:translate_stuff) do lambda do <<-EOS.gsub(/^ */, '') In Arabic: #{I18n.t('devise.failure.locked', locale: :ar)} In Azerb...
mit
arvindvyas/fedena-upgradation
app/controllers/cce_weightages_controller.rb
3685
#Fedena #Copyright 2011 Foradian Technologies Private Limited # #This product includes software developed at #Project Fedena - http://www.projectfedena.org/ # #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 ...
mit
luanlv/lila
modules/hub/src/main/CaptchedForm.scala
859
package lila.hub import akka.pattern.ask import play.api.data._ import scala.concurrent.duration._ import actorApi.captcha._ import lila.common.Captcha trait CaptchedForm { import makeTimeout.large type CaptchedData = { def gameId: String def move: String } val captcher: actors.Captcher def any...
mit
enclose-io/compiler
current/test/abort/test-zlib-invalid-internals-usage.js
883
'use strict'; require('../common'); const assert = require('assert'); const os = require('os'); const cp = require('child_process'); if (process.argv[2] === 'child') { const { internalBinding } = require('internal/test/binding'); // This is the heart of the test. new (internalBinding('zlib').Zlib)(0).init(1, 2, ...
mit
pmq20/ruby-compiler
ruby/spec/ruby/core/argf/shared/eof.rb
626
describe :argf_eof, shared: true do before :each do @file1 = fixture __FILE__, "file1.txt" @file2 = fixture __FILE__, "file2.txt" end # NOTE: this test assumes that fixtures files have two lines each it "returns true when reaching the end of a file" do argf [@file1, @file2] do result = [] ...
mit
CoolProp/CoolProp
src/MatrixMath.cpp
6520
#include "MatrixMath.h" #include "CoolPropTools.h" #include "Exceptions.h" #include <string> #include <sstream> #include <vector> #include <numeric> #include <math.h> namespace CoolProp{ }; /* namespace CoolProp */ #ifdef ENABLE_CATCH #include <math.h> #include <iostream> #include "catch.hpp" TEST_CASE("Inte...
mit
satish860/autofac
Extras/Tests/Autofac.Extras.Tests.Multitenant.Wcf/Stubs/StubTenantIdentificationStrategy.cs
609
using System; using Autofac.Extras.Multitenant; namespace Autofac.Extras.Tests.Multitenant.Wcf.Stubs { public class StubTenantIdentificationStrategy : ITenantIdentificationStrategy { public bool IdentificationSuccess { get; set; } public object TenantId { get; set; } public ...
mit
HotFusionMan/inaturalist
lib/taxon_describers/lib/taxon_describers/eol.rb
1363
module TaxonDescribers class Eol < Base def describe(taxon) pages = eol_service.search(taxon.name, :exact => true) return if pages.blank? id = pages.at('entry/id').try(:content) return unless id page = eol_service.page(id, :text => 50, :subjects => "all", :details => true) retu...
mit
mcshaz/polyfill-service
polyfills/Symbol/split/detect.js
43
'Symbol' in this && 'split' in this.Symbol
mit
zahid/zmhr.me
cookbooks/mongodb/attributes/default.rb
4144
# # Cookbook Name:: mongodb # Attributes:: default # # Copyright 2010, edelight GmbH # # 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 # # Unl...
mit
Nep-gear/nep-bio
old/libzmq/libzmq/tests/test_msg_ffn.cpp
4586
/* Copyright (c) 2007-2017 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
mit
dhgwilliam/sensu-puppet
lib/puppet/type/sensu_check.rb
5716
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'puppet_x', 'sensu', 'boolean_property.rb')) require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'puppet_x', 'sensu', 'to_type.rb')) Puppet::Type.newtype(:sens...
mit
armersong/luaj
test/lua/errors/modulelibargs.lua
654
package.path = "?.lua;test/lua/errors/?.lua" require 'args' -- arg type tests for module library functions -- require banner('require') checkallpass('require',{{'math','coroutine','package','string','table'}},true) checkallerrors('require',{{anumber}},'not found') checkallerrors('require',{{anil,aboolean,afunction,at...
mit
schalpat/Humanizer
src/Humanizer.Tests/Localisation/nb/DateHumanizeTests.cs
3626
using Humanizer.Localisation; using Xunit.Extensions; namespace Humanizer.Tests.Localisation.nb { public class DateHumanizeTests : AmbientCulture { public DateHumanizeTests() : base("nb") { } [Theory] [InlineData(-2, "2 dager siden")] [InlineData(-1...
mit
flavour/eden
static/scripts/calendars/i18n/jquery.calendars.afghan.js
9223
/** * Afghan Solar Hijri Calendar * Based on the "Persian calendar for jQuery v2.0.0" by Keith Wood (http://keith-wood.name/calendars.html) * * @copyright 2015-2020 (c) Sahana Software Foundation * @license MIT */ (function($) { // Hide scope, no $ conflict /** * Implementation of the Aghan...
mit
khellang/FakeItEasy
Source/FakeItEasy/Core/IFakeScopeFactory.cs
179
namespace FakeItEasy.Core { internal interface IFakeScopeFactory { IFakeScope Create(); IFakeScope Create(IFakeObjectContainer container); } }
mit
ToonTownInfiniteRepo/ToontownInfinite
toontown/uberdog/DistributedSecurityMgr.py
941
import socket import datetime import os from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal from direct.distributed.DistributedObject import DistributedObject from toontown.toonbase import ToontownGlobals class DistributedSecurityMgr(DistributedObject): notify = directNotify.newCategory(...
mit
shairez/angular
aio/src/assets/js/prettify.js
15567
// Note that this version of prettify.js has been patched to be compatible with // Trusted Types !function(){/* Copyright (C) 2006 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
mit
CGA1123/helpy
db/migrate/20160310044144_add_doc_id_to_topic.rb
377
class AddDocIdToTopic < ActiveRecord::Migration def up add_column :topics, :doc_id, :integer, default: 0 add_column :docs, :topics_count, :integer, default: 0 add_column :docs, :allow_comments, :boolean, default: true end def down remove_column :topics, :doc_id remove_column :docs, :topics_c...
mit
yksalun/hugula
Client/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_AssetBundleCreateRequest.cs
1100
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_AssetBundleCreateRequest : LuaObject { [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static public int constructor(IntPtr l) { try { UnityEngine.AssetBundleCreateRequest o; ...
mit
IRWNetwork/Stakeholders
application/libraries/Gcloud/vendor/google/cloud/tests/unit/ClientTraitTest.php
6763
<?php /** * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
mit
chewbakartik/flow-development-collection
TYPO3.Flow/Classes/TYPO3/Flow/Mvc/Routing/ObjectPathMapping.php
2338
<?php namespace TYPO3\Flow\Mvc\Routing; /* * This file is part of the TYPO3.Flow package. * * (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE file which was distributed with this * source code....
mit
alex88/Gaufrette
spec/Gaufrette/Adapter/LocalSpec.php
4707
<?php namespace spec\Gaufrette\Adapter; //hack - mock php built-in functions require_once 'functions.php'; use PhpSpec\ObjectBehavior; class LocalSpec extends ObjectBehavior { function let() { $this->beConstructedWith('/home/somedir'); } function letgo() { global $iteratorToArra...
mit
axilleas/gitlabhq
lib/gitlab/background_migration/delete_conflicting_redirect_routes_range.rb
325
# frozen_string_literal: true # rubocop:disable Style/Documentation module Gitlab module BackgroundMigration class DeleteConflictingRedirectRoutesRange def perform(start_id, end_id) # No-op. # See https://gitlab.com/gitlab-com/infrastructure/issues/3460#note_53223252 end end end...
mit
ammarkhann/FinalSeniorCode
lib/python2.7/site-packages/google/cloud/monitoring/timeseries.py
7515
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
mit
jvillard/infer
infer/tests/codetoanalyze/java/biabduction/ReturnValueIgnored.java
350
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package codetoanalyze.java.infer; public class ReturnValueIgnored { private int m() { return 1; } public void returnVa...
mit
yuki24/force
src/v2/__generated__/GeneRelatedLinks_Test_Query.graphql.ts
6011
/* tslint:disable */ import { ConcreteRequest } from "relay-runtime"; import { FragmentRefs } from "relay-runtime"; export type GeneRelatedLinks_Test_QueryVariables = {}; export type GeneRelatedLinks_Test_QueryResponse = { readonly gene: { readonly " $fragmentRefs": FragmentRefs<"GeneRelatedLinks_gene">; ...
mit
enclose-io/compiler
current/test/parallel/test-worker-process-env-shared.js
1003
'use strict'; const common = require('../common'); const assert = require('assert'); const { Worker, parentPort, SHARE_ENV, workerData } = require('worker_threads'); if (!workerData) { process.env.SET_IN_PARENT = 'set'; assert.strictEqual(process.env.SET_IN_PARENT, 'set'); const w = new Worker(__filename, { ...
mit
kduma-archive/tmdb-api
lib/Tmdb/Api/Tv.php
8041
<?php /** * This file is part of the Tmdb PHP API created by Michael Roterman. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @package Tmdb * @author Michael Roterman <michael@wtfz.net> * @copyright (c) 2013, Michael Roterman *...
mit
Schumix/MonoLibraries
Mono.Libraries/Mono.Security/Mono.Security.Cryptography/MD2Managed.cs
6492
// // MD2Managed.cs - Message Digest 2 Managed Implementation // // Author: // Sebastien Pouliot (sebastien@ximian.com) // // (C) 2001-2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005,2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person...
mit
skor98/DtWPF
speechKit/NAudio-master/NAudio/CoreAudioApi/Interfaces/IMMNotificationClient.cs
1396
using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace NAudio.CoreAudioApi.Interfaces { /// <summary> /// IMMNotificationClient /// </summary> [Guid("7991EEC9-7E89-4D85-8390-6C703CEC60C0"), InterfaceType(ComInterfaceType.InterfaceIsI...
mit
yoshisuga/apidoc-generator
scala-generator/src/test/scala/models/FeatureMigrationSpec.scala
419
package scala.models import org.scalatest.{ShouldMatchers, FunSpec} class FeatureMigrationSpec extends FunSpec with ShouldMatchers { it("hasImplicit404s") { FeatureMigration("0.0.1").hasImplicit404s should be(true) FeatureMigration("0.9.4").hasImplicit404s should be(true) FeatureMigration("0.9.5").hasI...
mit
PaulHigin/PowerShell
src/System.Management.Automation/engine/remoting/client/remotingprotocolimplementation.cs
33038
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Management.Automation.Internal; using System.Management.Automation.Remoting.Client; using System.Management.Automation.Runspaces; using System.Management.Automation.Runspaces.Internal; using Dbg = System.Management.Automation.Diag...
mit
FelixNemis/intuit-quickbooks-php
Core/Configuration/CompressionFormat.php
162
<?php /** * This file contains enumeration for compression format. */ class CompressionFormat { const None = 1; const GZip = 2; const Deflate = 3; }
mit
FATruden/boto
tests/unit/cloudsearch/test_search.py
12233
#!/usr/bin env python from tests.unit import unittest from httpretty import HTTPretty import urlparse import json from boto.cloudsearch.search import SearchConnection, SearchServiceException HOSTNAME = "search-demo-userdomain.us-east-1.cloudsearch.amazonaws.com" FULL_URL = 'http://%s/2011-02-01/search' % HOSTNAME ...
mit
lumeet/rubocop
spec/rubocop/cop/performance/reverse_each_spec.rb
862
# frozen_string_literal: true describe RuboCop::Cop::Performance::ReverseEach do subject(:cop) { described_class.new } it 'registers an offense when each is called on reverse' do expect_offense(<<-RUBY.strip_indent) [1, 2, 3].reverse.each { |e| puts e } ^^^^^^^^^^^^ Use `reverse_each` in...
mit
jerryyeezus/nlp-summarization
maltparser/src/org/maltparser/parser/AbstractParserFactory.java
1026
package org.maltparser.parser; import org.maltparser.core.exception.MaltChainedException; import org.maltparser.core.feature.AbstractFeatureFactory; import org.maltparser.parser.guide.OracleGuide; import org.maltparser.parser.history.GuideUserHistory; /** * @author Johan Hall * */ public interface Abstrac...
mit
stevenuray/XChange
xchange-examples/src/main/java/org/knowm/xchange/examples/btcchina/trade/BTCChinaGetOrderDemo.java
2354
package org.knowm.xchange.examples.btcchina.trade; import java.io.IOException; import java.util.Date; import org.knowm.xchange.Exchange; import org.knowm.xchange.btcchina.dto.trade.BTCChinaOrder; import org.knowm.xchange.btcchina.dto.trade.BTCChinaOrderDetail; import org.knowm.xchange.btcchina.dto.trade.response.BTCC...
mit
TriumphantAkash/ember.js
packages/ember-runtime/tests/system/string/camelize_test.js
2471
import Ember from "ember-metal/core"; import {camelize} from "ember-runtime/system/string"; QUnit.module('EmberStringUtils.camelize'); if (!Ember.EXTEND_PROTOTYPES && !Ember.EXTEND_PROTOTYPES.String) { QUnit.test("String.prototype.camelize is not modified without EXTEND_PROTOTYPES", function() { ok("undefined" ...
mit
ApprecieOpenSource/Apprecie
public/a/node_modules/angular2/es6/prod/src/testing/utils.js
5164
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
mit
cdnjs/cdnjs
ajax/libs/prism/1.24.0/components/prism-tcl.js
1700
Prism.languages.tcl = { 'comment': { pattern: /(^|[^\\])#.*/, lookbehind: true }, 'string': { pattern: /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/, greedy: true }, 'variable': [ { pattern: /(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/, lookbehind: true }, { pattern: /(\$)\{[^}]+\}/, lookbehind: true },...
mit
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.27/node/Slide/Slide.js
9647
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.setTranslateValue = setTranslateValue; exports.default =...
mit
jongj/openhab2-addons
addons/binding/org.openhab.binding.max/src/main/java/org/openhab/binding/max/internal/discovery/MaxDeviceDiscoveryService.java
4778
/** * Copyright (c) 2014-2016 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
agoncal/core
resources/impl/src/main/java/org/jboss/forge/addon/resource/transaction/file/FileResourceTransactionImpl.java
16289
/** * Copyright 2013 Red Hat, Inc. and/or its affiliates. * <p/> * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package org.jboss.forge.addon.resource.transaction.file; import java.io.Closeable; import java.io.File; import java.io.IOException;...
epl-1.0
computergeek1507/openhab
bundles/binding/org.openhab.binding.dsmr/src/main/java/org/openhab/binding/dsmr/internal/messages/OBISMessage.java
7543
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
epl-1.0
computergeek1507/openhab
bundles/binding/org.openhab.binding.onkyo/src/main/java/org/openhab/binding/onkyo/internal/OnkyoActivator.java
1517
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
epl-1.0
johnjaylward/goclipse
plugin_tooling/src-lang/melnorme/lang/tooling/ops/SourceLineColumnRange.java
2795
/******************************************************************************* * Copyright (c) 2014, 2014 Bruno Medeiros and other Contributors. * 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 d...
epl-1.0
google-code-export/oregoncore
src/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp
5053
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * 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 l...
gpl-2.0
zhangpf/vbox
src/VBox/Additions/WINNT/Installer/InstallHelper/VBoxGuestInstallHelper.cpp
17360
/* $Id$ */ /** @file * VBoxGuestInstallHelper - Various helper routines for Windows guest installer. */ /* * Copyright (C) 2011-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute...
gpl-2.0
diorcety/rcmcarddav
inc/sabre-vobject/lib/Sabre/VObject/Splitter/VCard.php
1618
<?php namespace Sabre\VObject\Splitter; use Sabre\VObject, Sabre\VObject\Parser\MimeDir; /** * Splitter * * This class is responsible for splitting up VCard objects. * * It is assumed that the input stream contains 1 or more VCARD objects. This * class checks for BEGIN:VCARD and END:VCARD and parses ea...
gpl-2.0
qoswork/opennmszh
features/topology-map/plugins/org.opennms.features.topology.plugins.sandbox/widgets/GWTTerminal/test/org/opennms/gwtterminal/TermHandlerTest.java
5569
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
gpl-2.0
melvincarvalho/elgg
actions/user/default_access.php
852
<?php /** * Action for changing a user's default access level * * @package Elgg * @subpackage Core * @author Curverider Ltd * @link http://elgg.org/ */ global $CONFIG; if ($CONFIG->allow_user_default_access) { gatekeeper(); $default_access = get_input('default_access'); $user_id = get_input('guid'); $user...
gpl-2.0
mcberg2016/graal-core
graal/com.oracle.graal.lir.amd64/src/com/oracle/graal/lir/amd64/AMD64BlockEndOp.java
1842
/* * Copyright (c) 2015, 2015, 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
opendocman/opendocman
vendor/aura/di/src/Exception/ServiceNotFound.php
295
<?php /** * * This file is part of Aura for PHP. * * @license http://opensource.org/licenses/bsd-license.php BSD * */ namespace Aura\Di\Exception; use Aura\Di\Exception; /** * * The named service was not found. * * @package Aura.Di * */ class ServiceNotFound extends Exception { }
gpl-2.0
bjrambo/nurigo
modules/paypal/vendor/paypal/rest-api-sdk-php/sample/billing/UpdatePlan.php
1229
<?php // # Update a plan // // This sample code demonstrate how you can update a billing plan, as documented here at: // https://developer.paypal.com/webapps/developer/docs/api/#update-a-plan // API used: /v1/payments/billing-plans/<Plan-Id> // ### Making Plan Active // This example demonstrate how you could activat...
gpl-2.0
ellio167/lammps
src/GRANULAR/fix_pour.cpp
37318
// clang-format off /* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of ...
gpl-2.0
jamox/tmc-server
spec/controllers/exercise_status_controller_spec.rb
3000
require 'spec_helper' describe ExerciseStatusController, type: :controller do before :each do @organization = FactoryGirl.create(:accepted_organization) @course = FactoryGirl.create(:course) @course.organization = @organization @exercise = FactoryGirl.create(:exercise, course: @course) @exercise2...
gpl-2.0
maddy2101/TYPO3.CMS
typo3/sysext/backend/Resources/Public/JavaScript/Event/InteractionRequest.js
837
/* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, please read the * LICENSE.txt file ...
gpl-2.0
kazuma-fujita/taheebo-ec
tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_getShippingPrefTest.php
2166
<?php $HOME = realpath(dirname(__FILE__)) . "/../../../.."; require_once($HOME . "/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_TestBase.php"); /* * This file is part of EC-CUBE * * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * This program is free soft...
gpl-2.0
prculley/gramps
gramps/gui/editors/editeventref.py
10624
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2006 Donald N. Allingham # 2009 Gary Burton # 2011 Michiel D. Nauta # Copyright (C) 2011 Tim G L Lyons # # This program is free software; you can redistribute it and/or modify # it under the terms of the G...
gpl-2.0
DanCooper/xbmc
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEFilter.cpp
8881
/* * Copyright (C) 2010-2016 Team Kodi * http://kodi.tv * * 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. * * T...
gpl-2.0
zimmermant/dlvo_lammps
src/pair_yukawa.cpp
9613
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
gpl-2.0
sengithub/SenSourcecode
CmsData/DbUtil/Dynamic.cs
83672
//Copyright (C) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Text; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Threading; namespace System.Linq.Dynamic { public static class DynamicQueryable { ...
gpl-2.0
aakb/U21
sites/all/themes/mothership/content-field.tpl.php
1346
<?php // $Id$ /** * @file * content-field.tpl.php * Default theme implementation to display the value of a field. * * Available variables: * - $node: The node object. * - $field: The field array. * - $items: An array of values for each item in the field array. * - $teaser: Whether this is displayed as a teaser...
gpl-2.0
ffuenf/magento-turpentine
app/code/community/Nexcessnet/Turpentine/Model/Varnish/Configurator/Version3.php
2313
<?php /** * Nexcess.net Turpentine Extension for Magento * Copyright (C) 2012 Nexcess.net L.L.C. * * 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 * ...
gpl-2.0
pmoravec/katello
app/lib/actions/katello/organization/manifest_import.rb
1602
module Actions module Katello module Organization class ManifestImport < Actions::AbstractAsyncTask middleware.use Actions::Middleware::PropagateCandlepinErrors include Helpers::Notifications def plan(organization, path, force) action_subject organization manife...
gpl-2.0
project-zerus/mariadb
sql/sql_trigger.cc
77727
/* Copyright (c) 2004, 2011, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in the hope that it wi...
gpl-2.0
iskorr/nemo-mpi
src/mpi/Master.hpp
2006
#ifndef NEMO_MPI_MASTER_HPP #define NEMO_MPI_MASTER_HPP /* Copyright 2010 Imperial College London * * This file is part of nemo. * * This software is licenced for non-commercial academic use under the GNU * General Public Licence (GPL). You should have received a copy of this * licence along with nemo. If not, s...
gpl-2.0
mdaniel/svn-caucho-com-resin
modules/kernel/src/com/caucho/config/core/ResinEnv.java
2206
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
gpl-2.0
Llewellynvdm/joomla-cms
components/com_contact/src/Controller/DisplayController.php
2599
<?php /** * @package Joomla.Site * @subpackage com_contact * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Contact\Site\Controller; \defined('_JEXEC') or die; use Joomla...
gpl-2.0
joomla/joomla-platform
libraries/legacy/installer/helper.php
6969
<?php /** * @package Joomla.Platform * @subpackage Installer * * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; jimport('joomla.filesystem.file'); jimport('j...
gpl-2.0
ammarshadiq/stellarium-0.11.4
src/gui/ScriptConsole.hpp
1661
/* * Stellarium * Copyright (C) 2009 Matthew Gates * * 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 version. * * This...
gpl-2.0
lostdj/Jaklin-OpenJFX
modules/graphics/src/main/java/javafx/scene/layout/CornerRadii.java
23199
/* * Copyright (c) 2012, 2014, 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
nejads/MqttMoped
webportal/wordpress/wp-content/plugins/table-display-form-for-fresta/table-display-form-for-fresta.php
5325
<?php /** * @package table-display-form-for-fresta * @version 1.0 */ /* Plugin Name: table display form for fresta Plugin URI: Description: This is used to make a dedicated form for users to browse apps in the server. Version: 1.0 Author: Ze Ni Author URI: https://www.sics.se/people/ze-ni License: GPL */ require_o...
gpl-2.0
toanalien/mediawiki
tests/phpunit/MediaWikiTestCase.php
32145
<?php /** * @since 1.18 */ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase { /** * $called tracks whether the setUp and tearDown method has been called. * class extending MediaWikiTestCase usually override setUp and tearDown * but forget to call the parent. * * The array format takes a...
gpl-2.0
kreynen/civicrm-starterkit-drops-7
profiles/civicrm_starterkit/modules/civicrm/api/v3/examples/LineItem/Create.ex.php
2353
<?php /** * Test Generated example demonstrating the LineItem.create API. * * @return array * API result array */ function line_item_create_example() { $params = [ 'price_field_value_id' => 1, 'price_field_id' => 1, 'entity_table' => 'civicrm_contribution', 'entity_id' => 1, 'qty' => 1, ...
gpl-2.0
yterauchi/primecloud-controller
auto-project/auto-data/src/main/java/jp/primecloud/auto/entity/crud/BaseZabbixInstance.java
3961
/* * Copyright 2014 by SCSK Corporation. * * This file is part of PrimeCloud Controller(TM). * * PrimeCloud Controller(TM) 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 Licen...
gpl-2.0
Ultima-Lokai/ServUO-Test
Scripts/Custom Systems/VitaNexCore/Modules/EquipmentSets/Sets/PlateSet.cs
2007
#region Header // Vorspire _,-'/-'/ PlateSet.cs // . __,-; ,'( '/ // \. `-.__`-._`:_,-._ _ , . `` // `:-._,------' ` _,`--` -: `_ , ` ,' : // `---..__,,--' (C) 2014 ` -'. -' // # Vita-Nex [http://core.vita-nex.com] # // {o)xxx|===============- # -===============|xxx(o...
gpl-2.0
heqiaoliu/Viral-Dark-Matter
tmp/install_4f209ac5c5565/plugins/system/jat3/base-themes/default/html/com_newsfeeds/categories/default.php
1713
<?php defined('_JEXEC') or die('Restricted access'); $cparams = JComponentHelper::getParams ('com_media'); ?> <?php if ($this->params->get('show_page_title',1)) : ?> <h1 class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>"> <?php echo $this->escape($this->params->get('p...
gpl-2.0
kievo23/FreeRadiusManager
menu-home.php
1478
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>daloRADIUS</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="css/1.c...
gpl-2.0
popazerty/gui-test
lib/python/Components/Renderer/Picon.py
5038
import os, re, unicodedata from Renderer import Renderer from enigma import ePixmap, ePicLoad from Tools.Alternatives import GetWithAlternative from Tools.Directories import pathExists, SCOPE_SKIN_IMAGE, SCOPE_ACTIVE_SKIN, resolveFilename from Components.Harddisk import harddiskmanager from Components.config import con...
gpl-2.0
dthoe19/hubzero-cms
core/components/com_groups/models/orm/applicant.php
2170
<?php /** * HUBzero CMS * * Copyright 2005-2015 HUBzero Foundation, LLC. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
gpl-2.0
khusnulamri-upj/upj_tracmor
includes/qcodo/_core/qform/QDateTimeTextBox.class.php
4852
<?php class QDateTimeTextBox extends QTextBox { /////////////////////////// // Private Member Variables /////////////////////////// // MISC protected $dttMinimum = null; protected $dttMaximum = null; protected $strLabelForInvalid = 'For example, "Mar 20, 4:30pm" or "Mar 20"'; protected $calLinkedCo...
gpl-2.0
tajpure/SoScheme
src/main/java/org/jllvm/bindings/ltoJNI.java
4828
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.7 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
gpl-3.0
SoftwareEngineeringToolDemos/ICSE-2012-TraceLab
Main/external/WPFToolkit/Source/Input/Rating/System/Windows/Controls/Rating.cs
35643
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993] for details. // All other rights reserved. using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using Sys...
gpl-3.0