repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
Ephemera/homebrew-cask | Casks/el34-eddie.rb | 423 | cask 'el34-eddie' do
version '3.4'
sha256 'b4f7d00ca86c20abab9861052c0d182fc08a9a917d03ab64e4afd348db6aba6b'
# el34software.com was verified as official when first introduced to the cask
url "https://el34software.com/latest/Eddie%20OSX%20#{version}.zip"
appcast 'http://www.el34.com/EddieReleaseNotes.html'
... | bsd-2-clause |
robhoes/xenadmin | XenModel/Actions/VM/VMDestroyAction.cs | 5368 | /* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice,... | bsd-2-clause |
endlessm/chromium-browser | buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.cap/operator_bool.pass.cpp | 673 | //===----------------------------------------------------------------------===//
//
// 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 |
dragos/scala-ide | org.scala-ide.sdt.core/src/org/scalaide/ui/internal/editor/outline/OutlineHelper.scala | 377 | package org.scalaide.ui.internal.editor.outline
import org.eclipse.jface.viewers.TreeViewer
object OutlineHelper {
def foldImportNodes(viewer: TreeViewer, input: Any): Unit = {
input match {
case n: ImportsNode => viewer.collapseToLevel(n, 1)
case n: ContainerNode => n.children.values.foreach { x =>... | bsd-3-clause |
spakzad/ocs | bundle/jsky.app.ot/src/main/scala/jsky/app/ot/vcs/VcsStatusPanel.scala | 3276 | package jsky.app.ot.vcs
import edu.gemini.shared.util.VersionComparison
import edu.gemini.shared.util.VersionComparison.{Conflicting, Newer, Older, Same}
import jsky.app.ot.util.OtColor._
import scala.swing.{Alignment, BorderPanel, Label}
import scala.swing.Swing.EmptyBorder
import java.awt.Color
import javax.swing.I... | bsd-3-clause |
mou4e/zirconium | components/password_manager/core/browser/password_syncable_service_unittest.cc | 24894 | // 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 "components/password_manager/core/browser/password_syncable_service.h"
#include <algorithm>
#include <string>
#include <vector>
#include "base/... | bsd-3-clause |
chandler14362/panda3d | tests/showbase/test_PythonUtil.py | 2343 | from direct.showbase import PythonUtil
def test_queue():
q = PythonUtil.Queue()
assert q.isEmpty()
q.clear()
assert q.isEmpty()
q.push(10)
assert not q.isEmpty()
q.push(20)
assert not q.isEmpty()
assert len(q) == 2
assert q.front() == 10
assert q.back() == 20
assert q.t... | bsd-3-clause |
sencha/chromium-spacewalk | chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc | 11776 | // Copyright 2013 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/chromeos/extensions/device_local_account_external_policy_loader.h"
#include <string>
#include "base/callback.h"
#include "base/... | bsd-3-clause |
gfrodriguez/yii2-ckeditor | assets/ckeditor/plugins/pastetext/lang/ar.js | 347 | /*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'ar', {
button: 'لصق كنص بسيط',
pasteNotification: 'Your browser does not allow you to paste plain text this way. Press %1 to paste.' /... | bsd-3-clause |
BenLand100/rat-pac | src/gen/ESgen.cc | 6334 | // Generates an neutrino-elastic scattering event, based on the
// cross-section as function of neutrino energy and the electron's
// recoil energy. Allow for variations in the weak mixing angle and
// the possibility of a neutrino magnetic moment
//
// J. Formaggio (UW) -02/09/2005
// Converted to Geant4+GLG4Sim+RAT... | bsd-3-clause |
pra85/final_project-master | db/migrate/20120902143549_add_moderation_log.rb | 382 | class AddModerationLog < ActiveRecord::Migration
def up
add_column "users", "is_moderator", :boolean, :default => false
create_table "moderations" do |t|
t.timestamps
t.integer "moderator_user_id"
t.integer "story_id"
t.integer "comment_id"
t.integer "user_id"
t.text "acti... | bsd-3-clause |
Ryman/Comparison-Programming-Languages-Economics | RBC_CS.cs | 6034 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EconomicsCSharp {
class Program {
static void Main(string[] args) {
var stopWatch = new System.Diagnostics.Stopwatch();
stopWatch.Restart();
run();
stopWatch.Stop... | mit |
pavelhristov/CSharpOOP | Exam-11July2016-Morning/FastAndFurious/Resource-1555-FastAndFurious/2. FastAndFurious/FastAndFurious - Skeleton/FastAndFurious.ConsoleApplication/Models/Motors/CentaurPulseMotor.cs | 1158 | using FastAndFurious.ConsoleApplication.Common.Enums;
using FastAndFurious.ConsoleApplication.Contracts;
using FastAndFurious.ConsoleApplication.Models.Motors.Abstract;
namespace FastAndFurious.ConsoleApplication.Models.Motors
{
public class CentaurPulseMotor : Motor, IMotor, ITunningPart, IAccelerateable, ITopSp... | mit |
manojdobbala/angular2 | node_modules/angular2/es6/prod/src/compiler/output/js_emitter.js | 2526 | import { isPresent, isBlank } from 'angular2/src/facade/lang';
import { EmitterVisitorContext } from './abstract_emitter';
import { AbstractJsEmitterVisitor } from './abstract_js_emitter';
import { getImportModulePath, ImportEnv } from './path_util';
export class JavaScriptEmitter {
constructor() {
}
... | mit |
tombogle/libpalaso | SIL.Windows.Forms.Tests/SpellChecking/TextBoxSpellChecker.cs | 557 | using System.Windows.Forms;
using NUnit.Framework;
namespace SIL.Windows.Forms.Tests.SpellChecking
{
[TestFixture]
public class TextBoxSpellChecker
{
[Test, Ignore("By hand only")]
public void TryInUI()
{
var form = new Form();
var checker = new global::SIL.Windows.Forms.Spelling.TextBoxSpellChecker();... | mit |
BrettJaner/csla | Samples/Mobile/cs/SimpleNTier/WpfUI/Properties/AssemblyInfo.cs | 2229 | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit |
victorisildur/Graphite | tests/unit/frequency_scaling_remote/frequency_scaling_remote.cc | 2073 | #include <pthread.h>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include "carbon_user.h"
int num_threads;
int num_iterations;
double min_frequency;
double max_frequency;
pthread_barrier_t global_barrier;
void *do_work(void*)
{
SInt32 tile_id = CarbonGetTileId();
SInt32 remote_tile_id;
// Wait for... | mit |
hyonholee/azure-sdk-for-net | sdk/eventhub/Microsoft.Azure.Management.EventHub/src/Generated/Models/MessagingRegionsProperties.cs | 1805 | // <auto-generated>
// 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
// re... | mit |
gencer/TwigBridge | tests/Extension/Laravel/TranslatorTest.php | 1365 | <?php
namespace TwigBridge\Tests\Extension\Laravel;
use TwigBridge\Tests\Base;
use Mockery as m;
use TwigBridge\Extension\Laravel\Translator;
class TranslatorTest extends Base
{
public function tearDown()
{
m::close();
}
public function testName()
{
$this->assertInternalType('str... | mit |
jantman/travis-core | lib/travis/addons/archive.rb | 162 | module Travis
module Addons
module Archive
require 'travis/addons/archive/event_handler'
require 'travis/addons/archive/task'
end
end
end
| mit |
AndyButland/Umbraco-CMS | src/Umbraco.Web/umbraco.presentation/umbraco/uQuery/DocumentExtensions.cs | 8980 | using System;
using System.Collections.Generic;
using System.Linq;
using umbraco;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.web;
using umbraco.NodeFactory;
namespace umbraco
{
/// <summary>
/// uQuery extensions for the Document object
/// </summary>
public static class DocumentExt... | mit |
sticksnleaves/ghost-blog | node_modules/grunt-jscs/node_modules/jscs/node_modules/unicode-6.3.0/blocks/Batak/regex.js | 32 | module.exports=/[\u1BC0-\u1BFF]/ | mit |
edwardtoday/PolyU_MScST | COMP5517/JavaSpeech/festival/src/modules/Text/text_aux.cc | 3417 | /*************************************************************************/
/* */
/* Centre for Speech Technology Research */
/* University of Edinburgh, UK */
/* ... | mit |
extend1994/cdnjs | ajax/libs/jquery-form-validator/2.3.78/sepa.js | 5728 | (function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof module === 'object' && module.exports) {
// Node. Does not work with st... | mit |
NatWeiss/RGP | src/cocos2d-js/frameworks/js-bindings/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TransitionMoveInR.lua | 554 |
--------------------------------
-- @module TransitionMoveInR
-- @extend TransitionMoveInL
-- @parent_module cc
--------------------------------
-- Creates a transition with duration and incoming scene.<br>
-- param t Duration time, in seconds.<br>
-- param scene A given scene.<br>
-- return A autoreleased Transitio... | mit |
fliptop2/fliptop2.github.io | js/src/collapse.js | 10402 | import $ from 'jquery'
import Util from './util'
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.0.0-beta): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ------------------------------------------------------------------... | mit |
chenDoInG/jenkins | core/src/main/java/jenkins/slaves/WorkspaceLocator.java | 1066 | package jenkins.slaves;
import hudson.ExtensionList;
import hudson.ExtensionPoint;
import hudson.FilePath;
import hudson.model.Node;
import hudson.model.TopLevelItem;
import jenkins.model.Jenkins;
/**
* Allow extensions to override workspace locations
* on given slaves or projects.
*
* @author ryan.campbell@gmai... | mit |
sherriously/netsuite | lib/netsuite/records/journal_entry_line_list.rb | 205 | module NetSuite
module Records
class JournalEntryLineList < Support::Sublist
include Namespaces::TranGeneral
sublist :line, JournalEntryLine
alias :lines :line
end
end
end
| mit |
mam1/Pcon-TNG | node_modules/highcharts/es-modules/parts/OHLCSeries.js | 10153 | /**
* (c) 2010-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import H from './Globals.js';
import './Utilities.js';
import './Point.js';
var each = H.each,
Point = H.Point,
seriesType = H.seriesType,
seriesTypes = H.seriesTypes;
/**
* The ohlc series type.
*
* @constru... | mit |
AndyButland/Umbraco-CMS | src/Umbraco.Web/umbraco.presentation/helper.cs | 7383 | using System;
using System.Collections;
using System.Text.RegularExpressions;
using System.Web;
using Umbraco.Core;
using Umbraco.Core.CodeAnnotations;
using Umbraco.Core.Profiling;
using umbraco.BusinessLogic;
using System.Xml;
using umbraco.presentation;
namespace umbraco
{
/// <summary>
/// Su... | mit |
malizadehq/zombie-run | ZombieRun/src/net/peterd/zombierun/service/remote/GameServerBridge.java | 5122 | package net.peterd.zombierun.service.remote;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.peterd.zombierun.util.Log;
import net.peterd.zombierun.constants.Multipla... | mit |
Vrian7ipx/cascadadev | vendor/league/oauth2-server/src/League/OAuth2/Server/Storage/PDO/Db.php | 316 | <?php
namespace League\OAuth2\Server\Storage\PDO;
class Db
{
/**
* Db constructor
* @param array|string $dsn Connection DSN string or array of parameters
* @return void
*/
public function __construct($dsn = '')
{
$db = \ezcDbFactory::create($dsn);
\ezcDbInstance::set($db);
}
} | mit |
OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Diagnostics/ILogger.cs | 917 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Diagnostics
{
/// <summary>
/// Interface for Logging
/// </summary>
public interface ILogger
{
/// <summary>
/// Log Information
... | mit |
nsanta/openoverflow | vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb | 11123 | require File.dirname(__FILE__) + '/../../spec_helper.rb'
module Spec
module Runner
describe Reporter do
attr_reader :formatter_output, :options, :backtrace_tweaker, :formatter, :reporter, :example_group, :example_group_proxy, :example_proxy
before(:each) do
@formatter_output = StringIO.new
... | mit |
satgod/appinventor | appinventor/appengine/src/com/google/appinventor/client/explorer/commands/CopyYoungAndroidProjectCommand.java | 9469 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.client.explorer.commands;
import com.google.ap... | mit |
silliemunkie/typoBlog | lang/en_US.rb | 89 | Localization.define('en_US') do |l|
l.store "Login successful", "Login successful"
end
| mit |
sean-johnson/sean-johnson.github.io | node_modules/jss-plugin-nested/src/index.d.ts | 84 | import {Plugin} from 'jss'
export default function jssPluginSyntaxNested(): Plugin
| mit |
chenlu0616/WindowsProtocolTestSuites | ProtoSDK/MS-SMB2/Client/Smb2ClientOpen.cs | 3374 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
/// <summary>
/// OperationBucket
/// </summary>
public class O... | mit |
bparli/traefik | vendor/github.com/docker/libcompose/docker/service/convert.go | 10355 | package service
import (
"fmt"
"strings"
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/network"
"github.com/docker/docker/api/types/strslice"
"github.com/docker/docker/runconfig/opts"
"github.com/docker/go-connections/nat"
"github.com/docker/go-units"
"github.com/docker/l... | mit |
yannisgu/Umbraco-CMS | src/Umbraco.Core/Persistence/Caching/InMemoryCacheProvider.cs | 5286 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Models.EntityBase;
namespace Umbraco.Core.Persistence.Caching
{
/// <summary>
/// The InMemory registry looks up objects in an in-memory dictionary for fast retrival
/// </s... | mit |
gregkalapos/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/JumpStubNode.cs | 778 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace ILCompiler.DependencyAnalysis
{
public abstract partial class JumpStubNode : AssemblyStubNode
{
... | mit |
jandsu/ironjacamar | common/src/main/java/org/ironjacamar/common/api/metadata/spec/Activationspec.java | 1596 | /*
* IronJacamar, a Java EE Connector Architecture implementation
* Copyright 2014, 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... | epl-1.0 |
jandsu/ironjacamar | common/src/main/java/org/ironjacamar/common/spi/metadata/package-info.java | 1075 | /*
* IronJacamar, a Java EE Connector Architecture implementation
* Copyright 2013, 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... | epl-1.0 |
YSATools/The-Ward-Menu | vendor/rails/activesupport/test/ordered_hash_test.rb | 1166 | require 'abstract_unit'
class OrderedHashTest < Test::Unit::TestCase
def setup
@keys = %w( blue green red pink orange )
@values = %w( 000099 009900 aa0000 cc0066 cc6633 )
@ordered_hash = ActiveSupport::OrderedHash.new
@keys.each_with_index do |key, index|
@ordered_hash[key] = @values... | gpl-2.0 |
dibber-org/blog | wp-content/plugins/login-security-solution/tests/PasswordExpirationTest.php | 8115 | <?php
/**
* Test the password expiration functionality
*
* @package login-security-solution
* @author Daniel Convissor <danielc@analysisandsolutions.com>
* @copyright The Analysis and Solutions Company, 2012
* @license http://www.gnu.org/licenses/gpl-2.0.html GPLv2
*/
/**
* Get the class we will use for testi... | gpl-2.0 |
sunnyden/reactos | dll/opengl/glu32/src/libnurbs/internals/slicer.cc | 30991 | /*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 1.1 (the "License"), the contents of this
** file are subject only to the provisions of the License. You may not use
** this file except in co... | gpl-2.0 |
carolinux/QGIS | src/gui/editorwidgets/qgsrangewidgetfactory.cpp | 3549 | /***************************************************************************
qgsrangewidgetfactory.cpp
--------------------------------------
Date : 5.1.2014
Copyright : (C) 2014 Matthias Kuhn
Email : matthias at opengis dot ch
****************************... | gpl-2.0 |
dbethala/longwood-volunteers | modules/yamlform/src/Element/YamlFormLocation.php | 5308 | <?php
namespace Drupal\yamlform\Element;
use Drupal\Core\Form\FormStateInterface;
/**
* Provides a form element for a location element.
*
* @FormElement("yamlform_location")
*/
class YamlFormLocation extends YamlFormCompositeBase {
/**
* {@inheritdoc}
*/
public function getInfo() {
return parent::... | gpl-2.0 |
md-5/jdk10 | src/jdk.jdeps/share/classes/com/sun/tools/javap/ClassWriter.java | 34042 | /*
* Copyright (c) 2007, 2019, 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 |
artatum/D8poei | modules/contrib/facets/src/FacetSource/FacetSourceDeriverBase.php | 3724 | <?php
namespace Drupal\facets\FacetSource;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface;
use Drupal\Core\StringTranslation\StringTranslationTrait;
use Drupal\search_api\Display\DisplayPluginManager;
use Symfony\... | gpl-2.0 |
g-raph/pmtools | sites/all/modules/contrib/wysiwyg/editors/js/fckeditor-2.6.js | 7813 | // $Id$
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.fckeditor = function(context, params, settings) {
var FCKinstance = new FCKeditor(params.field, settings.Width, settings.Height, settings.ToolbarSet);
// Apply editor instance settings.
FCKinstance.BasePath = s... | gpl-2.0 |
educacionbe/educacion | administrator/components/com_acymailing/views/newsletter/tmpl/preview.php | 2715 | <?php
/**
* @package AcyMailing for Joomla!
* @version 4.8.1
* @author acyba.com
* @copyright (C) 2009-2014 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div id="acy_content" >
<div id="iframedoc"></div>
<tab... | gpl-2.0 |
byzhang/ft-index | ft/tests/cachetable-clock-eviction4.cc | 8525 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
This program is free software; you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License as
published by th... | gpl-2.0 |
laurensdeb/wordpress-3.5-PagodaBox | wp-content/plugins/options-framework-plugin-master/options-framework.php | 17600 | <?php
/*
Plugin Name: Options Framework
Plugin URI: http://www.wptheming.com
Description: A framework for building theme options.
Version: 1.4
Author: Devin Price
Author URI: http://www.wptheming.com
License: GPLv2
*/
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU... | gpl-2.0 |
gbeauchesne/xbmc | xbmc/android/activity/unzip.cpp | 4771 | /*
* Copyright (C) 2012 Team XBMC
* http://www.xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* T... | gpl-2.0 |
lastpass/joomla-saml | plugins/authentication/lpsaml/simplesamlphp/modules/authorize/lib/Auth/Process/Authorize.php | 3754 | <?php
/**
* Filter to authorize only certain users.
* See docs directory.
*
* @author Ernesto Revilla, Yaco Sistemas SL., Ryan Panning
* @package simpleSAMLphp
* @version $Id$
*/
class sspmod_authorize_Auth_Process_Authorize extends SimpleSAML_Auth_ProcessingFilter {
/**
* Flag to deny/unauthorize the user ... | gpl-2.0 |
luzpaz/QGIS | python/plugins/processing/algs/qgis/VectorLayerHistogram.py | 3997 | # -*- coding: utf-8 -*-
"""
***************************************************************************
VectorLayerHistogram.py
---------------------
Date : January 2013
Copyright : (C) 2013 by Victor Olaya
Email : volayaf at gmail dot com
*****************... | gpl-2.0 |
MonsieurTweek/PitchMyGame | kernel/private/api/content/criteria/depth.php | 863 | <?php
/**
* File containing ezpContentDepthCriteria class
*
* @copyright Copyright (C) 1999-2012 eZ Systems AS. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
* @version 2012.6
* @package kernel
*/
/**
* Depth criteria
* @package API
*/
class ezpContent... | gpl-2.0 |
RJRetro/mame | src/mame/video/rallyx.cpp | 19382 | // license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
/***************************************************************************
The video mixer of this hardware is peculiar.
There are two 16-colors palette banks: the first is used for characters and
sprites, the second for "bullets".
When a bullet is on sc... | gpl-2.0 |
livi17/buddypress | wp-content/plugins/events-manager/classes/em-categories-taxonomy.php | 6640 | <?php
class EM_Categories_Taxonomy{
public static function init(){
add_action( EM_TAXONOMY_CATEGORY.'_edit_form_fields', array('EM_Categories_Taxonomy','form'), 10, 1);
add_action( EM_TAXONOMY_CATEGORY.'_add_form_fields', array('EM_Categories_Taxonomy','form'), 10, 1);
add_action( 'edited_'.EM_TAXONOMY_CATEGORY,... | gpl-2.0 |
HoHBDev/FutureClimate | wp-content/themes/enfold/search.php | 2134 | <?php
global $avia_config;
/*
* get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
*/
get_header();
// allows to customize the layout
do_action( 'ava_search_after_get_header' );
$results = avia_which_archive();
echo avia_title(array('title' => $... | gpl-2.0 |
CntEam/Corek-wlk | src/server/game/Movement/Spline/MoveSplineInit.cpp | 6377 | /*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* 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.
*
... | gpl-2.0 |
pulibrary/recap | core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php | 1269 | <?php
namespace Drupal\Tests\forum\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
/**
* Tests migration of Forum's variables to configuration.
*
* @group forum
*/
class MigrateForumSettingsTest extends MigrateDrupal7TestBase {
/**
* Modules to enable.
*
* Don't a... | gpl-2.0 |
netroby/jdk8u-dev | jdk/src/share/classes/sun/security/pkcs11/P11RSACipher.java | 24830 | /*
* Copyright (c) 2003, 2013, 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 |
RJRetro/mame | src/devices/bus/nubus/nubus_m2hires.cpp | 8957 | // license:BSD-3-Clause
// copyright-holders:R. Belmont
/***************************************************************************
Apple Hi-Resolution Video Card emulation
RAMDAC: control at Fs0940e0, data at Fs0940e4
Fs090010 bit 16 is vbl status, bit 17 must be "1" for proper operation
Fs08000x are the co... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/unload007/TestDescription.java | 2451 | /*
* Copyright (c) 2017, 2018, 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 |
peter-b/livecode | engine/src/srvspec.cpp | 15785 | /* Copyright (C) 2003-2015 LiveCode Ltd.
This file is part of LiveCode.
LiveCode is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License v3 as published by the Free
Software Foundation.
LiveCode is distributed in the hope that it will be useful, but WITHOUT ANY
WA... | gpl-3.0 |
minhphung171093/GreenERP_V9 | openerp/addons/auth_signup/res_users.py | 13881 | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from datetime import datetime, timedelta
import random
from urlparse import urljoin
import werkzeug
from openerp.addons.base.ir.ir_mail_server import MailDeliveryException
from openerp.osv import osv, fields
from openerp... | gpl-3.0 |
simonwydooghe/ansible | lib/ansible/modules/network/fortios/fortios_firewall_multicast_address.py | 14527 | #!/usr/bin/python
from __future__ import (absolute_import, division, print_function)
# Copyright 2019 Fortinet, Inc.
#
# 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 of the Lic... | gpl-3.0 |
BigBoss424/a-zplumbing | Magento-CE-2/dev/tests/functional/tests/app/Magento/Reports/Test/Block/Adminhtml/Product/Downloads/Grid.php | 634 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Reports\Test\Block\Adminhtml\Product\Downloads;
/**
* Class Grid
* Downloads Report grid
*/
class Grid extends \Magento\Backend\Test\Block\Widget\Grid
{
/**
* Filters array mapping
... | gpl-3.0 |
syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/support/v7/app/ActionBarActivity.java | 812 | /*
* Copyright (C) 2012 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... | gpl-3.0 |
VertigeASBL/Caravelle | plugins-dist/medias/lang/medias_oc_prv.php | 9818 | <?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
// extrait automatiquement de http://www.spip.net/trad-lang/
// ** ne pas modifier le fichier **
if (!defined('_ECRIRE_INC_VERSION')) return;
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'aucun_audio' => 'Aucune bande son', # NEW
'aucun... | gpl-3.0 |
novayadi85/galatema | lib/Zend/Pdf/Element/String.php | 7876 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | gpl-3.0 |
tomkralidis/geonode | geonode/static/geonode/js/utils/batch_ops.js | 2907 | /*globals define: true, requirejs: true */
'use strict';
requirejs.config({
config: {
text: {
useXhr: function (url, protocol, hostname, port) {
// allow cross-domain requests
// remote server allows CORS
return true;
}
},
waitSeconds: 5
},
baseUrl: sta... | gpl-3.0 |
josephyzhou/MaidSafe | src/third_party_libs/boost_process/libs/process/example/env.cpp | 619 | // Copyright (c) 2006, 2007 Julio M. Merino Vidal
// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
// Copyright (c) 2009 Boris Schaeling
// Copyright (c) 2010 Felipe Tanus, Boris Schaeling
// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
//
// Distributed under the Boost Software License, Version 1.0. (See ac... | gpl-3.0 |
khaslu/design-pattern | design-pattern-state/src/main/java/br/com/khaslu/dp/Item.java | 435 | package br.com.khaslu.dp;
public class Item {
private String nome;
private double valor;
public Item(final String nome, final double valor) {
this.nome = nome;
this.valor = valor;
}
public String getNome() {
return this.nome;
}
public void setNome(final String nome) {
this.nome = nome;
}
public do... | gpl-3.0 |
EShamaev/MissionPlanner | Swarm/Swarm.cs | 2612 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;
using System.Reflection;
using MissionPlanner.Utilities;
using MissionPlanner;
namespace MissionPlanner.Swarm
{
abstract class Swarm
{
internal static readonly ILog log = LogManager.GetLog... | gpl-3.0 |
gitmeri/studio3 | plugins/com.aptana.syncing.ui/src/com/aptana/ide/syncing/ui/actions/UncloakAction.java | 3310 | /**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | gpl-3.0 |
rinodung/yii2-shop-cms | modules/shop/views/backend-order/items.php | 1610 | <?php
/**
* @var \app\modules\shop\models\OrderItem[] $allItems
* @var \app\modules\shop\models\OrderItem[] $items
* @var \yii\web\View $this
*/
use kartik\editable\Editable;
use kartik\helpers\Html;
?>
<?php foreach ($items as $item): ?>
<?php if (empty($item->product)) continue; ?>
<tr>
<td><?=$... | gpl-3.0 |
jeremiahyan/odoo | addons/sms/wizard/sms_cancel.py | 1636 | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import _, api, fields, models
class SMSCancel(models.TransientModel):
_name = 'sms.cancel'
_description = 'Dismiss notification for resend by model'
model = fields.Char(string='Model', required=T... | gpl-3.0 |
sbbic/core | nlpsolver/ThirdParty/EvolutionarySolver/src/net/adaptivebox/knowledge/Library.java | 3028 |
/**
* Description: Contains a set of points.
*
* Author Create/Modi Note
* Xiaofeng Xie Mar 7, 2003
* Xiaofeng Xie May 3, 2003
* Xiaofeng Xie May 11, 2004
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Lic... | gpl-3.0 |
ta2-1/pootle | pootle/apps/pootle_fs/delegate.py | 735 | # -*- coding: utf-8 -*-
#
# Copyright (C) Pootle contributors.
#
# This file is a part of the Pootle project. It is distributed under the GPL3
# or later license. See the LICENSE file for a copy of the license and the
# AUTHORS file for copyright and authorship information.
from pootle.core.plugin.delegate import Gett... | gpl-3.0 |
richardcs/ansible | lib/ansible/plugins/inventory/constructed.py | 5103 | # Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = '''
name: constructed
plugin_type: inventory
version_added: "2.4"
sh... | gpl-3.0 |
cuckoosandbox/monitor | src/capstone/bindings/java/TestArm64.java | 3874 | // Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013
import capstone.Capstone;
import capstone.Arm64;
import static capstone.Arm64_const.*;
public class TestArm64 {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a... | gpl-3.0 |
anweshknayak/sunflower-fm | application/gui/preferences/plugins.py | 9055 | import os
import gtk
import locale
from ConfigParser import ConfigParser
from widgets.settings_page import SettingsPage
class Column:
ACTIVE = 0
LOCATION = 1
NAME = 2
AUTHOR = 3
VERSION = 4
CONTACT = 5
SITE = 6
DESCRIPTION = 7
class Section:
NAME = 'Name'
DESCRIPTION = 'Description'
VERSION = 'Version'
... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm10.lua | 478 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm10 (???)
-- Spawns Tefnet
-- !pos -127 15 239 45
-----------------------------------
require("scripts/globals/abyssea");
-----------------------------------
function onTrade(player,npc,trade)
abysseaOnTrade(player,npc,trade);
end;
function o... | gpl-3.0 |
meee1/MissionPlanner | ExtLibs/BouncyCastle/src/asn1/x509/Target.cs | 3160 | using System;
using Org.BouncyCastle.Utilities;
namespace Org.BouncyCastle.Asn1.X509
{
/**
* Target structure used in target information extension for attribute
* certificates from RFC 3281.
*
* <pre>
* Target ::= CHOICE {
* targetName [0] GeneralName,
* targetGroup [... | gpl-3.0 |
ysfox/MonaServer | MonaBase/sources/Parameters.cpp | 1501 | /*
Copyright 2014 Mona
mathieu.poux[a]gmail.com
jammetthomas[a]gmail.com
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 of the License, or
(at your option) any later version.
This ... | gpl-3.0 |
kempj/OpenFOAM-win | applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/TEqn.H | 357 | {
kappat = turbulence->nut()/Prt;
kappat.correctBoundaryConditions();
volScalarField kappaEff("kappaEff", turbulence->nu()/Pr + kappat);
fvScalarMatrix TEqn
(
fvm::div(phi, T)
- fvm::Sp(fvc::div(phi), T)
- fvm::laplacian(kappaEff, T)
);
TEqn.relax();
TEqn.solve();
... | gpl-3.0 |
micaelbatista/neeist_wiki | wiki/profileinfo.php | 12011 | <?php
/**
* Show profiling data.
*
* Copyright 2005 Kate Turner.
*
* 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 us... | gpl-3.0 |
zakuro9715/lettuce | lettuce/django/management/commands/harvest.py | 10191 | # -*- coding: utf-8 -*-
# <Lettuce - Behaviour Driven Development for python>
# Copyright (C) <2010-2012> Gabriel Falcão <gabriel@nacaolivre.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 Foundatio... | gpl-3.0 |
sithUO/JustUO | Scripts/Custom Systems/VitaNex/Core/Modules/Toolbar/Entries/ToolbarEntry.cs | 12318 | #region Header
// Vorspire _,-'/-'/ ToolbarEntry.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2014 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============- # -=========... | gpl-3.0 |
phassoa/openelisglobal-core | app/src/us/mn/state/health/lims/reports/action/implementation/reportBeans/ICSVColumnCustomStrategy.java | 821 | /**
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* ba... | mpl-2.0 |
peppelinux/tcexam | public/code/tce_page_footer.php | 1113 | <?php
//============================================================+
// File name : tce_page_footer.php
// Begin : 2001-09-02
// Last Update : 2009-09-30
//
// Description : Outputs default XHTML page footer.
//
// Author: Nicola Asuni
//
// (c) Copyright:
// Nicola Asuni
// Tecnick... | agpl-3.0 |
wcardona/a2billing | agent/Public/graph_stat.php | 13000 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of A2Billing (http://www.a2billing.net/)
*
* A2Billing, Commercial Open Source Telecom Billing platform,
* powered by Star2billing S.L. <http://www.star2billing.com/>
*
* @copyright Copyright (C) 2004-2015 - Star2bill... | agpl-3.0 |
dreispt/maintainer-quality-tools | tests/test_repo/broken_uninstallable/__openerp__.py | 412 | # -*- coding: utf-8 -*-
{
'name': 'Broken uninstallable module for tests',
# missing license
'author': 'Many People', # Missing oca author
'description': 'Should be a README.rst file',
'version': '1.0',
'depends': ['base'],
'data': ['model_view.xml'],
'test': ['test.yml'],
'installa... | agpl-3.0 |
moh-alsheikh/canvas-lms | spec/selenium/admin/site_admin_authorization_configs_spec.rb | 1004 | require File.expand_path(File.dirname(__FILE__) + '/../common')
describe "Account Authorization Configs" do
include_examples "in-process server selenium tests"
context "Server errors " do
it "should show the error message generated by the server" do
site_admin_logged_in
Account.default.account_aut... | agpl-3.0 |
rdkgit/opennms | features/events/api/src/main/java/org/opennms/netmgt/events/api/EventWriter.java | 1551 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2002-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | agpl-3.0 |
mirkobeine/shopware-4 | recovery/update/index.php | 1084 | <?php
// check for composer autoloader
if (!file_exists(__DIR__ . '/../common/autoload.php')) {
header('Content-type: text/html; charset=utf-8', true, 503);
echo '<h2>Error</h2>';
echo 'Please execute "composer install" from the command line to install the required dependencies for Shopware 4';
echo '... | agpl-3.0 |
ayhankerim/html2pdf | unittest/css/test.parser.10.php | 385 | <?php
require_once(HTML2PS_DIR.'css/stream.string.php');
class TestCSSParser10 extends PHPUnit_Framework_TestCase {
function test() {
$stream = new CSSStreamString(file_get_contents(dirname(__FILE__).'/test.parser.10.css'));
$lexer = new CSSLexer($stream);
$parser = new CSSParser($lexer);
$result = ... | lgpl-2.1 |