repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
chujieyang/ice | cpp/src/Ice/EventHandler.cpp | 920 | // **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | gpl-2.0 |
svn2github/voreen | src/core/datastructures/datetime.cpp | 5867 | /**********************************************************************
* *
* Voreen - The Volume Rendering Engine *
* *
* Created between 2005 and 2012... | gpl-2.0 |
quang-ha/lammps | src/USER-MISC/fix_flow_gauss.cpp | 7270 | /* ----------------------------------------------------------------------
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 |
lokanaft/icms2 | system/languages/en/controllers/messages/messages.php | 3380 | <?php
define('LANG_MESSAGES_CONTROLLER', 'Private messages');
define('LANG_PM_MY_MESSAGES', 'My Messages');
define('LANG_PM_NO_MESSAGES', 'You have no private messages');
define('LANG_PM_NO_NOTICES', 'No notifications');
define('LANG_PM_NO_ACCESS', 'P... | gpl-2.0 |
burguin/test01 | typo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php | 3301 | <?php
namespace TYPO3\CMS\Extbase\Tests\Unit\Core;
/*
* 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 licen... | gpl-2.0 |
sribits/ctorrent | bencode.cpp | 5631 | #include "./def.h"
#include "bencode.h"
#ifndef WINDOWS
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <limits.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#ifndef HAVE_SNPRINTF
#include "compat.h"
#endif
static const char* next_key(const char *keylist... | gpl-2.0 |
gromver/yii2-platform-basic | modules/news/views/frontend/post/index.php | 694 | <?php
/**
* @var $this yii\web\View
*/
use yii\helpers\Html;
/** @var \gromver\platform\basic\modules\menu\models\MenuItem $menu */
$menu = Yii::$app->menuManager->getActiveMenu();
if ($menu) {
$this->title = $menu->isProperContext() ? $menu->title : Yii::t('gromver.platform', 'News');
$this->params['breadc... | gpl-2.0 |
trasher/glpi | front/ruleasset.form.php | 1297 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | gpl-2.0 |
damianob/xcsoar | src/Replay/DemoReplay.hpp | 1472 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2012 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
SuriyaaKudoIsc/wikia-app-test | extensions/Wikidata/Database scripts/Incremental/ReadPatch.php | 4846 | <?php
/* Read a .sql file and apply it to tables with the defined prefix.
NOTE: Since LocalSettings.php loads App.php, which depends on a whole lot of
Wikidata crud, in some circumstances (when your code refers to tables that
no longer exist) it may be wise to comment out the require_once line
in LocalSettings.php ... | gpl-2.0 |
ygstand/test2 | modules/contrib/panelizer/src/Tests/PanelizerNodeFunctionalTest.php | 5364 | <?php
namespace Drupal\panelizer\Tests;
use Drupal\simpletest\WebTestBase;
/**
* Basic functional tests of using Panelizer with nodes.
*
* @group panelizer
*/
class PanelizerNodeFunctionalTest extends WebTestBase {
use PanelizerTestTrait;
/**
* {@inheritdoc}
*/
protected $profile = 'standard';
/... | gpl-2.0 |
TheZoker/anspress | theme/default/edit.php | 280 | <?php
/**
* Edit page
*
* @link http://anspress.io
* @since 2.0.1
* @license GPL 2+
* @package AnsPress
*/
if($editing_post->post_type == 'question')
ap_edit_question_form();
elseif($editing_post->post_type == 'answer')
ap_edit_answer_form($editing_post->post_parent);
| gpl-2.0 |
paolodedios/uncrustify | tests/expected/cpp/30918-Issue_2345-4.cpp | 59 | namespace fooD {
void a();
void b();
void c();
void d();
}
| gpl-2.0 |
hexgnu/Bueno | page.php | 1362 | <?php get_header(); ?>
<div id="content" class="col-full">
<div id="main" class="col-left">
<?php if ( get_option( 'woo_breadcrumbs' ) == 'true') { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
<?php if (have_posts()) : $count = 0; ?>
<?... | gpl-2.0 |
ampproject/amp-wp | templates/meta-taxonomy.php | 1402 | <?php
/**
* Post taxonomy term list template part.
*
* 🚫🚫🚫
* DO NOT EDIT THIS FILE WHILE INSIDE THE PLUGIN! Changes You make will be lost when a new version
* of the AMP plugin is released. You need to copy this file out of the plugin and put it into your
* custom theme, for example. To learn about how to cust... | gpl-2.0 |
haiweiosu/Angular2.0-Simple-Project-Demo | node_modules/angular2/src/core/compiler/shadow_css.d.ts | 578 | /**
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
*
* Please make sure to keep to edits in sync with the source file.
*
* Source:
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
*
* The original file level comment is reproduced belo... | gpl-2.0 |
Taichi-SHINDO/jdk9-jdk | src/java.naming/share/classes/sun/security/provider/certpath/ldap/LDAPCertStore.java | 44025 | /*
* Copyright (c) 2000, 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 |
JT5D/Alfred-Popclip-Sublime | Sublime Text 2/Git/status.py | 2111 | import os
import re
import sublime
from git import GitWindowCommand, git_root
class GitStatusCommand(GitWindowCommand):
force_open = False
def run(self):
self.run_command(['git', 'status', '--porcelain'], self.status_done)
def status_done(self, result):
self.results = filter(self.status... | gpl-2.0 |
ctrueden/bioformats | components/formats-gpl/test/loci/formats/utests/MDBServiceTest.java | 3323 | /*
* #%L
* OME Bio-Formats package for reading and converting biological file formats.
* %%
* Copyright (C) 2005 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* This program is free software: you ca... | gpl-2.0 |
BenMacLean/beyondBiceps | wp-content/plugins/easy-google-fonts/views/customizer/control/positioning/margin/left.php | 1079 | <?php
/**
* Left Margin Control
*
* Outputs a jquery ui slider to allow the
* user to control the left margin of an
* element.
*
* @package Easy_Google_Fonts
* @author Sunny Johal - Titanium Themes <support@titaniumthemes.com>
* @license GPL-2.0+
* @link http://wordpress.org/plugins/easy-google... | gpl-2.0 |
janicak/C-Db | sites/all/modules/openid_selector/openid_selector_fbconnect.js | 1106 | (function ($) {
openid.fbconnect_replace_i = -1;
var replace_id = null;
for (var provider_id in providers_large) {
openid.fbconnect_replace_i++;
replace_id = provider_id;
}
var replace_providers = {};
replace_providers[replace_id] = providers_large[replace_id];
providers_small = $.extend(replace_providers, provide... | gpl-2.0 |
kosmosby/medicine-prof | components/com_comprofiler/plugin/user/plug_cbgroupjive/templates/default/overview_message.php | 3343 | <?php
if ( ! ( defined( '_VALID_CB' ) || defined( '_JEXEC' ) || defined( '_VALID_MOS' ) ) ) { die( 'Direct Access to this location is not allowed.' ); }
class HTML_groupjiveOverviewMessage {
/**
* render frontend overview message
*
* @param array $input
* @param moscomprofilerUser $user
* @param ... | gpl-2.0 |
AndriyTsok/atsok.net | vendor/bundle/ruby/2.4.0/gems/nuggets-1.0.0/lib/nuggets/env/user_home.rb | 79 | require 'nuggets/env/user_home_mixin'
ENV.extend(Nuggets::Env::UserHomeMixin)
| gpl-2.0 |
svn2github/voreen | modules/plotting/utils/parser/plotfunctiontoken.cpp | 3254 | /**********************************************************************
* *
* Voreen - The Volume Rendering Engine *
* *
* Created between 2005 and 2012... | gpl-2.0 |
kylecunningham/agk3 | examples/AGK/misc/number_to_words.py | 899 | def number_to_words(number):
number=int(number)
ones=["one","two","three","four","five","six","seven","eight","nine"]
teens=["ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"]
tens=["twenty","thirty","fourty","fifty","sixty","seventy","eighty","ninety"]
if number<1... | gpl-2.0 |
tav/confluence | languages/messages/MessagesCrh_cyrl.php | 179277 | <?php
/** Crimean Turkish (Cyrillic) (Qırımtatarca (Cyrillic))
*
* See MessagesQqq.php for message documentation incl. usage of parameters
* To improve a translation please visit http://translatewiki.net
*
* @ingroup Language
* @file
*
* @author AlefZet
* @author Alessandro
* @author Don Alessandro
* @author... | gpl-2.0 |
simonchisnall-online/simonchisnall_online_website | modules/contrib/devel/webprofiler/src/Profiler/DatabaseProfilerStorage.php | 3823 | <?php
/**
* @file
* Contains \Drupal\webprofiler\Profiler\DatabaseProfilerStorage.
*/
namespace Drupal\webprofiler\Profiler;
use Drupal\Core\Database\Connection;
use Symfony\Component\HttpKernel\Profiler\Profile;
use Symfony\Component\HttpKernel\Profiler\ProfilerStorageInterface;
/**
* Implements a profiler sto... | gpl-2.0 |
icebreaker/mm3d | src/commands/subdividecmd.cc | 1540 | /* Misfit Model 3D
*
* Copyright (c) 2004-2007 Kevin Worcester
*
* 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 v... | gpl-2.0 |
awesomerobot/discourse | lib/validators/email_validator.rb | 1279 | class EmailValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
unless EmailValidator.allowed?(value)
record.errors.add(attribute, I18n.t(:'user.email.not_allowed'))
end
if record.errors[attribute].blank? && value && ScreenedEmail.should_block?(value)
record.err... | gpl-2.0 |
spixi/wesnoth | src/serialization/string_utils.cpp | 22365 | /*
Copyright (C) 2003 by David White <dave@whitevine.net>
Copyright (C) 2005 by Guillaume Melquiond <guillaume.melquiond@gmail.com>
Copyright (C) 2005 - 2018 by Philippe Plantier <ayin@anathas.org>
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
This program is free software; you can red... | gpl-2.0 |
NathanW2/QGIS | src/gui/qgsoptionsdialoghighlightwidgetsimpl.cpp | 9494 | /***************************************************************************
qgsoptionsdialoghighlightwidgetsimpl.cpp
-------------------------------
Date : February 2018
Copyright : (C) 2018 Denis Rouzaud
Email : denis.rouzaud@gmail.com
******************... | gpl-2.0 |
fahimc/mintcreations | wp-content/themes/mintcreations/lib/com/greensock/plugins/ScrollToPlugin.js | 2659 | /**
* VERSION: beta 1.30
* DATE: 2012-07-25
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
* Copyright (c) 2008-2012, GreenSock. All rights reserved.
* This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for
* corporate Club GreenSock members, the software agreem... | gpl-2.0 |
scztt/sc3-plugins | source/MCLDUGens/MCLDFilterUGens.cpp | 10660 | /*
This code (c) Dan Stowell, published under the GPL, v2 or later
*/
#include "SC_PlugIn.h"
#define TWOPI 6.28318530717952646f
static InterfaceTable *ft;
struct Friction : public Unit
{
float m_V, m_beltpos, m_x, m_dx;
};
struct Crest : public Unit
{
float *m_circbuf;
unsigned int m_circbufpos;
unsigned int m_... | gpl-2.0 |
infoalex/huayra | saf/sigesp_saf_c_condicion.php | 9050 | <?php
require_once("../shared/class_folder/class_sql.php");
require_once("../shared/class_folder/class_datastore.php");
require_once("../shared/class_folder/class_mensajes.php");
require_once("../shared/class_folder/sigesp_include.php");
require_once("../shared/class_folder/sigesp_c_seguridad.php");
require_once(... | gpl-2.0 |
fsg-ict/PARD-gem5 | src/dev/cellx/I82094AX.py | 2414 | # Copyright (c) 2015 Institute of Computing Technology, CAS
# Copyright (c) 2008 The Regents of The University of Michigan
# 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 sour... | gpl-2.0 |
pgena/instance-portal | plugins/p_fckeditor/fckeditor/editor/lang/es.js | 19102 | /*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www... | gpl-2.0 |
Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/sampling/graphField/makeGraph.C | 2497 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | gpl-2.0 |
ConceptHaus/atra | wp-content/themes/Zephyr/404.php | 463 | <?php
define('IS_FULLWIDTH', TRUE);
get_header(); ?>
<div class="l-submain">
<div class="l-submain-h g-html i-cf">
<div class="l-content">
<div class="page-404">
<i class="mdfi_action_explore"></i>
<h1><?php esc_html_e('Error 404 - page not found', 'us') ?></h1>
<p><?php esc_html_e('... | gpl-2.0 |
worldwideinterweb/joomla-173 | components/com_joomgallery/views/upload/tmpl/default_java.php | 8933 | <?php defined('_JEXEC') or die('Direct Access to this location is not allowed.'); ?>
<!-- --------------------------------------------------------------------------------------------------- -->
<!-- -------- A DUMMY APPLET, THAT ALLOWS THE NAVIGATOR TO CHECK THAT JAVA IS INSTALLED ---------- -->
<!-- -------- ... | gpl-2.0 |
peternixon/opennms-mirror | opennms-services/src/test/java/org/opennms/netmgt/eventd/EventUtilTest.java | 8917 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-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(... | gpl-2.0 |
mariocontext/elcentro | ecp/plugins/gravity-forms-constant-contact/plugin-upgrade.php | 5109 | <?php
class RGConstantContactUpgrade{
public static function set_version_info($version_info){
if ( function_exists('set_site_transient') )
set_site_transient("gforms_constantcontact_version", $version_info, 60*60*12);
else
set_transient("gforms_constantcontact_version", $ve... | gpl-2.0 |
intelie/esper | esper/src/main/java/com/espertech/esper/epl/view/FilterExprView.java | 4038 | /**************************************************************************************
* Copyright (C) 2008 EsperTech, Inc. All rights reserved. *
* http://esper.codehaus.org *
* http://www.espertech.com ... | gpl-2.0 |
atodorov/anaconda | tests/nosetests/pyanaconda_tests/signal_test.py | 5383 | #
# Martin Kolman <mkolman@redhat.com>
#
# Copyright 2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2. This program is distributed in the hope that it
# will be use... | gpl-2.0 |
Orphis/ppsspp | Qt/Debugger/debugger_memorytex.cpp | 2606 | #include "debugger_memorytex.h"
#include "gfx/GLStateCache.h"
#include "gfx/gl_common.h"
#include "gfx/gl_lost_manager.h"
#include "ui_debugger_memorytex.h"
#include "Core/MemMap.h"
#include <QImage>
#include <QTimer>
#include "Core/HLE/sceDisplay.h"
#include "GPU/GPUInterface.h"
#include "base/display.h"
Debugger_Mem... | gpl-2.0 |
mxkmp29/joomla-cms | libraries/cms/html/html.php | 33535 | <?php
/**
* @package Joomla.Libraries
* @subpackage HTML
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
use Joomla\Utilities\ArrayHelper;
jimport('jooml... | gpl-2.0 |
zookeepr/zookeepr | zk/model/travel.py | 1388 | """The application's model objects"""
import sqlalchemy as sa
from meta import Base
from person import Person
from pylons.controllers.util import abort
from beaker.cache import CacheManager
from meta import Session
import datetime
import random
class Travel(Base):
"""Stores the details of an individuals travel... | gpl-2.0 |
hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/grid/enhanced/plugins/Pagination.js.uncompressed.js | 34461 | require({cache:{
'url:dojox/grid/enhanced/templates/Pagination.html':"<div dojoAttachPoint=\"paginatorBar\"\n\t><table cellpadding=\"0\" cellspacing=\"0\" class=\"dojoxGridPaginator\"\n\t\t><tr\n\t\t\t><td dojoAttachPoint=\"descriptionTd\" class=\"dojoxGridDescriptionTd\"\n\t\t\t\t><div dojoAttachPoint=\"descriptionD... | gpl-2.0 |
hariomkumarmth/champaranexpress | wp-content/plugins/dojo/dojox/editor/plugins/nls/zh/SafePaste.js | 305 | //>>built
define("dojox/editor/plugins/nls/zh/SafePaste",({"instructions":"禁用了直接粘贴。请使用标准浏览器键盘或菜单粘贴控件在此对话框中粘贴内容。一旦您满意要插入的内容,请按“粘贴”按钮。要中止插入内容,请按“取消”按钮。"}));
| gpl-2.0 |
trasher/glpi | front/cluster.php | 1391 | <?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2021 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | gpl-2.0 |
jacenkow/inspire-next | tests/unit/workflows/test_proxies.py | 993 | # -*- coding: utf-8 -*-
#
# This file is part of INSPIRE.
# Copyright (C) 2016 CERN.
#
# INSPIRE 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... | gpl-2.0 |
DavidSalzer/nadlan-city | wp-content/themes/Tyler/event-framework/lib/style-switcher/style-switcher.php | 2536 | <?php
if ( ! is_admin() ) {
add_action( 'wp_head' , 'style_switcher_enqueue_scripts' );
add_action( 'init' , 'style_switcher_display' );
}
function style_switcher_enqueue_scripts() {
wp_enqueue_style( 'css-style-switcher', EF_LIB_URL . '/style-switcher/style-switcher.css' );
wp_enqueue_script( 'js-style-switc... | gpl-2.0 |
tvcnet/pharmtest | sandbox/Sandbox1/wp-content/plugins/iwp-client/backup.class.php | 104543 | <?php
/************************************************************
* This plugin was modified by Revmakx *
* Copyright (c) 2012 Revmakx *
* www.revmakx.com *
* *
************************************************************/
/**********************************************... | gpl-2.0 |
edmundgentle/schoolscript | SchoolScript/bin/Debug/pythonlib/Lib/test/ssl_servers.py | 6561 | import os
import sys
import ssl
import pprint
import socket
import urllib.parse
# Rename HTTPServer to _HTTPServer so as to avoid confusion with HTTPSServer.
from http.server import (HTTPServer as _HTTPServer,
SimpleHTTPRequestHandler, BaseHTTPRequestHandler)
from test import support
threading = support... | gpl-2.0 |
gtessier/OPTZ | wp-content/themes/simple/framework/widgets/most-read.php | 8884 | <?php
/**
* Most_Read_Posts Widget Class
*/
class Wt_Widget_Most_Read_Posts extends WP_Widget {
function Wt_Widget_Most_Read_Posts() {
$widget_ops = array('classname' => 'widget_most_read_posts', 'description' => esc_html__( "The most read posts on your site", 'wt_admin') );
$this->WP_Widget('most_read_... | gpl-2.0 |
joomla-projects/GSoC17_publishing_workflow | libraries/src/MVC/Controller/AdminController.php | 10388 | <?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\MVC\Controller;
defined('JPATH_PLATFORM') or die;
use Joomla\CMS\MVC\Factory... | gpl-2.0 |
TakingInitiative/wesnoth | src/units/unit.hpp | 21711 | /*
Copyright (C) 2003 - 2016 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.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 v... | gpl-2.0 |
ARudik/feelpp.ginac | check/check_lsolve.cpp | 6165 | /** @file check_lsolve.cpp
*
* These test routines do some simple checks on solving linear systems of
* symbolic equations. They are a well-tried resource for cross-checking
* the underlying symbolic manipulations. */
/*
* GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
*
* This... | gpl-2.0 |
ylahav/joomla-cms | libraries/joomla/http/response.php | 460 | <?php
/**
* @package Joomla.Platform
* @subpackage HTTP
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
use Joomla\Http\Response;
/**
* HTTP response da... | gpl-2.0 |
tom-fallon/free-commerce | modules/contrib/commerce/modules/price/src/Event/PriceEvents.php | 632 | <?php
/**
* @file
* Contains \Drupal\commerce_price\Event\PriceEvents.
*/
namespace Drupal\commerce_price\Event;
/**
* Defines events for the price module.
*/
final class PriceEvents {
/**
* Name of the event fired when loading a number format.
*
* This event allows modules to alter the loaded numbe... | gpl-2.0 |
cyberalpha/GarbageSocial | modules/mod_roknavmenu/lib/includes.php | 594 | <?php
/**
* @version 1.13 July 2, 2012
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
require_once(dirname(__FILE__) . '/common/includes.php');
require_once(dirname(__FILE__) . '/... | gpl-2.0 |
mauriciofauth/phpmyadmin | libraries/classes/Dbal/DbalInterface.php | 21915 | <?php
declare(strict_types=1);
namespace PhpMyAdmin\Dbal;
use PhpMyAdmin\ConfigStorage\Relation;
use PhpMyAdmin\DatabaseInterface;
use PhpMyAdmin\FieldMetadata;
use PhpMyAdmin\SystemDatabase;
use PhpMyAdmin\Table;
/**
* Main interface for database interactions
*/
interface DbalInterface
{
public const FETCH_N... | gpl-2.0 |
ForcerKing/ShaoqunXu-mysql5.7 | storage/ndb/nodejs/Adapter/impl/common/src/async_common.cpp | 1949 | /*
Copyright (c) 2012, Oracle and/or its affiliates. All rights
reserved.
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 tha... | gpl-2.0 |
monsdar/BoostSymLinkError | thirdparty/Boost/boost/context/detail/config.hpp | 1155 |
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_CONTEXT_DETAIL_CONFIG_H
#define BOOST_CONTEXT_DETAIL_CONFIG_H
#include <boost/confi... | gpl-2.0 |
kaji-project/pynag | examples/Parsers/get_timeperiod.py | 494 | #!/usr/bin/python
import sys
if len(sys.argv) != 2:
sys.stderr.write("Usage: %s 'Timeperiod Name'\n" % (sys.argv[0]))
sys.exit(2)
## This is for the custom nagios module
sys.path.insert(1, '../')
from pynag.Parsers import config
target_item = sys.argv[1]
## Create the plugin option
nc = config('/etc/nagios... | gpl-2.0 |
seem-sky/fceuxd | output/luaScripts/Galaxian.lua | 5609 | --Galaxian
--Written by XKeeper
--Accesses the Music Player Easter Egg and displays the songs & information
require "x_functions";
require "x_interface";
if not x_requires then
-- Sanity check. If they require a newer version, let them know.
timer = 1;
while (true) do
timer = timer + 1;
for i = 0, 32 do
gui... | gpl-2.0 |
gxwangdi/practice | grpc-java/examples/src/test/java/io/grpc/examples/helloworld/HelloWorldClientTest.java | 3906 | /*
* Copyright 2015, Google 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, this list of conditions a... | gpl-2.0 |
rorist/maps-lib-nutiteq | src/com/nutiteq/location/cellid/OpenCellIdDataFeeder.java | 1930 | package com.nutiteq.location.cellid;
import com.nutiteq.cache.Cache;
import com.nutiteq.components.Cell;
import com.nutiteq.components.WgsPoint;
import com.nutiteq.core.MappingCore;
import com.nutiteq.io.ResourceRequestor;
import com.nutiteq.location.LocationListener;
import com.nutiteq.log.Log;
public class OpenCell... | gpl-2.0 |
WholeFoodsCoop/Scannie | ScannieV2/common/lib/javascript/javascript/CoreChart.js | 2643 |
/**
Wrapper for Chart.js so commonly used
chart formats can be repeated easily
*/
var CoreChart = (function () {
var mod = {};
var colors = [
"#3366cc",
"#dc3912",
"#ff9900",
"#109618",
"#990099",
"#0099c6",
"#dd4477",
"#66aa00",
"#b8... | gpl-2.0 |
certik/ginac | check/time_lw_H.cpp | 2352 | /** @file time_lw_H.cpp
*
* Test H from the paper "Comparison of Polynomial-Oriented CAS" by Robert H.
* Lewis and Michael Wester. */
/*
* GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms... | gpl-2.0 |
CZ-NIC/dionaea | modules/python/dionaea/smb/include/asn1/mib.py | 5664 | #*************************************************************************
#* Dionaea
#* - catches bugs -
#*
#*
#*
#* Copyright (C) 2010 Markus Koetter
#*
#* This program is free software; you can redistribute it and/or
#* modify it under the terms of the GNU Gen... | gpl-2.0 |
blitztech/rev4 | src/server/scripts/EasternKingdoms/ThroneOfTheTides/instance_throne_of_the_tides.cpp | 10464 | /*
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 3 of the License, or (at your
* option) any l... | gpl-2.0 |
artur-kink/7kaa | src/file/ODIR.cpp | 5227 | /*
* Seven Kingdoms: Ancient Adversaries
*
* Copyright 1997,1998 Enlight Software Ltd.
*
* 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 op... | gpl-2.0 |
nekrozar/ygopro-scripts | c33656832.lua | 2258 | --曲芸の魔術師
function c33656832.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EVENT_DESTROYED)
e1:SetCountLimit(1,... | gpl-2.0 |
eq0rip/Hamroreview.com | wp-content/themes/hueman/header.php | 2433 | <!DOCTYPE html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
... | gpl-2.0 |
Lasanha/Gambiarra | libs/olpcgames/textsprite.py | 1641 | """Simple Sprite sub-class that renders via a PangoFont"""
from pygame import sprite
from olpcgames import pangofont
class TextSprite( sprite.Sprite ):
"""Sprite with a simple text renderer"""
image = rect = text = color = background = None
def __init__( self, text=None, family=None, size=None, bold=False... | gpl-2.0 |
Froxlor/Froxlor | lib/tables.inc.php | 2393 | <?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2003-2009 the SysCP Team (see authors).
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
... | gpl-2.0 |
yad/mangos-d3 | src/scriptdev2/scripts/kalimdor/azuremyst_isle.cpp | 8647 | /* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* 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 opti... | gpl-2.0 |
dtiguarulhos/suporteguarulhos | front/notificationmailsetting.form.php | 1671 | <?php
/*
* @version $Id: notificationmailsetting.form.php 23305 2015-01-21 15:06:28Z moyo $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.... | gpl-2.0 |
onkelhotte/XCSoar | src/Form/TabDisplay.hpp | 3935 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
dubrousky/preon | preon-samples/preon-sample-bmp/src/main/java/org/codehaus/preon/sample/bmp/BitmapInformation.java | 2794 | /**
* Copyright (C) 2009-2010 Wilfred Springer
*
* This file is part of Preon.
*
* Preon 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.
*
* Pr... | gpl-2.0 |
rompe/digikam-core-yolo | project/scripts/cleanup_headers/cleanup_headers.py | 8065 | #!/usr/bin/env python
# ============================================================
#
# This file is a part of digiKam project
# http://www.digikam.org
#
# Date : 2009-10-12
# Description : a helper script for formatting the digiKam source code
#
# Copyright (C) 2009-2012 by Andi Clemens <andi dot clemens a... | gpl-2.0 |
Regis85/gepi | mod_ooo/extractions/extrait_AID_1_fichier.php | 2015 | <?php
/*
*
* Copyright 2015 Régis Bouguin
*
* This file is part of GEPI.
*
* GEPI 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 vers... | gpl-2.0 |
sanjanjetan/lba-website | library/core/class.email.php | 15503 | <?php
/**
* @copyright 2009-2016 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
*/
/**
* Email layer abstraction
*
* This class implements fluid method chaining.
*
* @author Mark O'Sullivan <markm@vanillaforums.com>
* @author Todd Burry <todd@vanillaforums.com>
* @pa... | gpl-2.0 |
secatoriuris/vista-theme | modules/contrib/webform/src/Plugin/WebformSourceEntity/RouteParametersWebformSourceEntity.php | 2348 | <?php
namespace Drupal\webform\Plugin\WebformSourceEntity;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Plugin\PluginBase;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\webform\Plugin\WebformSourceEntityInterface;
use Symfony\Component\Depen... | gpl-2.0 |
DRIZO/xcsoar | src/Audio/Sound.cpp | 1694 | /*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2013 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | gpl-2.0 |
KDE/calligra-history | kformula/flake/elements/AnnotationElement.cpp | 1071 | /* This file is part of the KDE project
Copyright (C) 2010 Inge Wallin <inge@lysator.liu.se>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, o... | gpl-2.0 |
austinv11/PeripheralsPlusPlus | src/api/resources/reference/miscperipherals/tile/TileSignalController.java | 11414 | package miscperipherals.tile;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.WeakHashMap;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
import miscperipherals.core.TickHandler;
import miscperipherals.util.Util;
import mods.railcraft.api.core.Wo... | gpl-2.0 |
uhef/fs-uae-gles | src/jit/compemu_support_codegen.cpp | 156384 | /*
* compiler/compemu_support.cpp - Core dynamic translation engine
*
* Original 68040 JIT compiler for UAE, copyright 2000-2002 Bernd Meyer
*
* Adaptation for Basilisk II and improvements, copyright 2000-2005
* Gwenole Beauchesne
*
* Basilisk II (C) 1997-2008 Christian Bauer
*
* This program is fre... | gpl-2.0 |
teamfx/openjfx-9-dev-rt | modules/javafx.web/src/main/native/Source/JavaScriptCore/jit/JITSubGenerator.cpp | 3391 | /*
* Copyright (C) 2015 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | gpl-2.0 |
dieterv/gobject-introspection | giscanner/message.py | 6152 | #!/usr/bin/env python
# -*- Mode: Python -*-
# GObject-Introspection - a framework for introspecting GObject libraries
# Copyright (C) 2010 Red Hat, Inc.
# Copyright (C) 2010 Johan Dahlin
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as... | gpl-2.0 |
redpois0n/yontma | yontma/WiredEthernetMonitor.cpp | 3825 | #include "stdafx.h"
HRESULT GetInternetAdapterAddresses(__inout PIP_ADAPTER_ADDRESSES* ppAdapterAddresses,__inout PULONG pAdapterAddressesSize);
HRESULT GetInternetAdapterAddresses(__inout PIP_ADAPTER_ADDRESSES* ppAdapterAddresses,__inout PULONG pAdapterAddressesSize)
{
HRESULT hr;
ULONG rc = 0;
rc = Get... | gpl-2.0 |
SCADA-LTS/Scada-LTS | src/com/serotonin/mango/rt/dataSource/virtual/VirtualDataSourceRT.java | 2454 | /*
Mango - Open Source M2M - http://mango.serotoninsoftware.com
Copyright (C) 2006-2011 Serotonin Software Technologies Inc.
@author Matthew Lohbihler
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
th... | gpl-2.0 |
AppleWin/AppleWin | source/Configuration/PageConfigTfe.cpp | 7361 | /*
AppleWin : An Apple //e emulator for Windows
Copyright (C) 1994-1996, Michael O'Brien
Copyright (C) 1999-2001, Oliver Schmidt
Copyright (C) 2002-2005, Tom Charlesworth
Copyright (C) 2006-2014, Tom Charlesworth, Michael Pohoreski, Nick Westgate
AppleWin is free software; you can redistribute it and/or modif... | gpl-2.0 |
penberg/classpath | tools/gnu/classpath/tools/gjdoc/Main.java | 58258 | /* gnu.classpath.tools.gjdoc.Main
Copyright (C) 2001, 2012 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... | gpl-2.0 |
jaimefreire/wordpress | wp-content/themes/zinnia/image.php | 789 | <?php get_header(); ?>
<section class="section-wide" role="main">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article <?php post_class( "article" ); ?> id="post-<?php the_ID(); ?>" itemscope itemtype="http://schema.org/Article">
<header class="post-header">
<h1 class... | gpl-2.0 |
ratbird/hope | lib/include/deprecated_tabs_layout.php | 732 | <div id="layout_page">
<? if (PageLayout::isHeaderEnabled() && is_object($GLOBALS['user']) && $GLOBALS['user']->id != 'nobody' && Navigation::hasItem('/course') && Navigation::getItem('/course')->isActive() && $_SESSION['seminar_change_view_'.$GLOBALS['SessionSeminar']]) : ?>
<?= $GLOBALS["template_... | gpl-2.0 |
Kev/maybelater | static/ext-2.1/source/locale/ext-lang-nl.js | 8692 | /*
* Ext JS Library 2.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
/*
* List compiled by mystix on the extjs.com forums.
* Thank you Mystix!
*
* Dutch Translations
* by Ido Sebastiaan Bas van Oostveen (12 Oct 2007)
*/
/* Ext Core translations */
E... | gpl-2.0 |
lucasicf/metricgenerator-jdk-compiler | test/tools/javac/generics/Crash02.java | 1455 | /*
* Copyright (c) 2003, 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 |
opinkerfi/check_mk | web/plugins/config/bi.py | 1626 | #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ /... | gpl-2.0 |
ehiggs/easybuild-easyblocks | easybuild/easyblocks/i/inspector.py | 3554 | # #
# Copyright 2013 Ghent University
#
# This file is part of EasyBuild,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
# the Hercules foundation (http://... | gpl-2.0 |