repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
ArrozAlba/huayra | soc/class_folder/sigesp_soc_c_solicitud_cotizacion_ajax.php | 48003 | <?php
session_start();
require_once("../../shared/class_folder/grid_param.php");
$io_grid=new grid_param();
require_once("class_funciones_soc.php");
$io_funciones_soc=new class_funciones_soc();
$ruta = '../../';
require_once("../../shared/class_folder/sigesp_conexiones.php");
$io_conexiones=new cone... | gpl-2.0 |
ppiotr/Bibedit-some-refactoring | modules/bibcirculation/lib/bibcirculation_daemon.py | 5884 | # -*- coding: utf-8 -*-
##
## This file is part of CDS Invenio.
## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 CERN.
##
## CDS Invenio 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... | gpl-2.0 |
GreenLunar/psi | src/changepwdlg.cpp | 4204 | /*
* changepwdlg.cpp - dialog for changing password
* Copyright (C) 2001, 2002 Justin Karneges
*
* 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... | gpl-2.0 |
webian/TYPO3.CMS | typo3/sysext/core/Classes/Utility/DebugUtility.php | 8806 | <?php
namespace TYPO3\CMS\Core\Utility;
/*
* 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 informat... | gpl-2.0 |
TimurMG/mg-red | wp-content/plugins/creative-image-slider/includes/admin/items.php | 7443 | <?php
global $wpdb;
$task = isset($_REQUEST['task']) ? $_REQUEST['task'] : '';
$ids = isset($_REQUEST['ids']) ? $_REQUEST['ids'] : array();
$filter_state = isset($_REQUEST['filter_state']) ? (int) $_REQUEST['filter_state'] : 2;
$filter_slider = isset($_REQUEST['filter_slider']) ? (int) $_REQUEST['filter_slider... | gpl-2.0 |
swebtechno/livingsm | wp-content/plugins/event-espresso/gateways/moneris_hpp/moneris_hpp_vars.php | 7181 | <?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { exit('No direct script access allowed'); }
//echo '<h3>'. basename( __FILE__ ) . ' LOADED <br /><span style="font-size:10px;font-weight:normal;">' . __FILE__ . '<br />line no: ' . __LINE__ . '</span></h3>';
function espresso_display_moneris_hpp( $payment_data ) {
glo... | gpl-2.0 |
RADobson/bausscock | mysqlAdmin/doc/conf.py | 9188 | # -*- coding: utf-8 -*-
#
# phpMyAdmin documentation build configuration file, created by
# sphinx-quickstart on Wed Sep 26 14:04:48 2012.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# ... | gpl-2.0 |
mnbogner/storymaker | external/WordpressJavaAndroid/src/net/bican/wordpress/Page.java | 9542 | /*
*
* Wordpress-java
* http://code.google.com/p/wordpress-java/
*
* Copyright 2012 Can Bican <can@bican.net>
* See the file 'COPYING' in the distribution for licensing terms.
*
*/
package net.bican.wordpress;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOEx... | gpl-2.0 |
hpeetoom/hpwp | wp-includes/script-loader.php | 42202 | <?php
/**
* WordPress scripts and styles default loader.
*
* Most of the functionality that existed here was moved to
* {@link http://backpress.automattic.com/ BackPress}. WordPress themes and
* plugins will only be concerned about the filters and actions set in this
* file.
*
* Several constants are u... | gpl-2.0 |
virhi/wp-vagrant | wp-content/themes/responsive/index.php | 1867 | <?php
// Exit if accessed directly
if( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* Index Template
*
*
* @file index.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2014 CyberChimps
* @license license.txt
* @version Release: 1.0
* ... | gpl-2.0 |
brosland/FRI_vstupne-zadanie | app/Models/ArticleModel.php | 1410 | <?php
namespace App\Models;
use DibiConnection;
class ArticleModel extends \Nette\Object
{
const TABLE = 'article';
/**
* @var \DibiConnection
*/
private $database;
/**
* @param \DibiConnection
*/
public function __construct(DibiConnection $database)
{
$this->database = $database;
}
/**
* @p... | gpl-2.0 |
elabayoub/ezpublish-kernel | eZ/Publish/Core/Persistence/Elasticsearch/Content/Search/CriterionVisitor/ContentTypeGroupIdIn.php | 2187 | <?php
/**
* File containing the ContentTypeGroupIdIn criterion visitor class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
*/
namespace eZ\Publish\Core\Persisten... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/experimental/propagate_const/requirements1.cc | 1384 | // { dg-do compile { target c++14 } }
// Copyright (C) 2013-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Found... | gpl-2.0 |
pgfoster/p4-phylogenetics | share/Examples/L_mcmc/G_posteriorSamples/Protein_2parts/sMcmc.py | 808 | read("d.nex")
read('sets.nex')
a = var.alignments[0]
a.setCharPartition('p1')
d = Data()
t = func.randomTree(taxNames=d.taxNames)
t.data = d
pNum = 0
t.newComp(partNum=pNum, free=1, spec='empirical')
t.newRMatrix(partNum=pNum, free=0, spec='wag')
t.setNGammaCat(partNum=pNum, nGammaCat=4)
t.newGdasrv(partNum=pNum, free... | gpl-2.0 |
timp21337/melati-old | melati/src/main/java/org/melati/util/IoUtils.java | 9268 | /*
* $Source$
* $Revision$
*
* Copyright (C) 2000 William Chesters
*
* Part of Melati (http://melati.org), a framework for the rapid
* development of clean, maintainable web applications.
*
* Melati is free software; Permission is granted to copy, distribute
* and/or modify this software under the terms eithe... | gpl-2.0 |
bchareyre/ratchet | core/IGeom.hpp | 996 | /*************************************************************************
* Copyright (C) 2004 by Olivier Galizzi *
* olivier.galizzi@imag.fr *
* *
* This program is f... | gpl-2.0 |
samskivert/ikvm-openjdk | build/linux-amd64/impsrc/com/sun/org/apache/xalan/internal/xsltc/cmdline/SecuritySupport.java | 3867 | /*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2002-2004 The Apache Software Foundation.
*
* 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.... | gpl-2.0 |
Angeldude/MuseScore | libmscore/tremolobar.cpp | 6290 | //=============================================================================
// MuseScore
// Music Composition & Notation
//
// Copyright (C) 2010-2011 Werner Schweer
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2
// ... | gpl-2.0 |
daineseh/kodi-plugin.video.ted-talks-chinese | youtube_dl/extractor/iqiyi.py | 21992 | # coding: utf-8
from __future__ import unicode_literals
import hashlib
import itertools
import math
import os
import random
import re
import time
import uuid
from .common import InfoExtractor
from ..compat import (
compat_parse_qs,
compat_str,
compat_urllib_parse_urlencode,
compat_urllib_parse_urlpars... | gpl-2.0 |
nds32/gcc | libstdc++-v3/testsuite/20_util/shared_ptr/observers/unique.cc | 1678 | // { dg-options "-std=gnu++11" }
// Copyright (C) 2005-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation... | gpl-2.0 |
darconeous/sdcc | sim/ucsim/cmd.src/newcmd.cc | 11314 | /*
* Simulator of microcontrollers (cmd.src/newcmd.cc)
*
* Copyright (C) 1999,99 Drotos Daniel, Talker Bt.
* Copyright (C) 2006, Borut Razem - borut.razem@siol.net
*
* To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
*
*/
/* This file is part of microcontroller simulator: ucsim.
UCSIM is free... | gpl-2.0 |
josh571/Redmine | lib/redmine/nested_set/project_nested_set.rb | 5525 | # Redmine - project management software
# Copyright (C) 2006-2015 Jean-Philippe Lang
#
# 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... | gpl-2.0 |
Gurgel100/gcc | libstdc++-v3/testsuite/26_numerics/random/uniform_int_distribution/operators/equal.cc | 1168 | // { dg-do run { target c++11 } }
// { dg-require-cstdint "" }
//
// 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
//
// Copyright (C) 2010-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under th... | gpl-2.0 |
lbartoletti/QGIS | src/app/qgsapplayertreeviewmenuprovider.cpp | 45711 | /***************************************************************************
qgsapplayertreeviewmenuprovider.cpp
---------------------
begin : May 2014
copyright : (C) 2014 by Martin Dobias
email : wonder dot sk at gmail dot com
*****************************... | gpl-2.0 |
johnparker007/mame | src/mame/machine/kikikai.cpp | 12829 | // license:BSD-3-Clause
// copyright-holders:Ernesto Corvi
#include "emu.h"
#include "includes/kikikai.h"
/*
$f008 - write
bit 7 = ? (unused?)
bit 6 = ? (unused?)
bit 5 = ? (unused?)
bit 4 = ? (usually set in game)
bit 3 = ? (usually set in game)
bit 2 = sound cpu reset line
bit 1 = microcontroller reset line
bit 0 = ... | gpl-2.0 |
Distrotech/icedtea7-2.3 | test/jtreg/com/sun/javatest/tool/Deck.java | 4051 | /*
* $Id$
*
* Copyright 1996-2008 Sun Microsystems, Inc. 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 S... | gpl-2.0 |
spacecadet9/justmywordpressblog | wp-content/themes/spacecadet9/sidebar.php | 233 | <?php
?>
<aside>
<ul id = "menu-menu">
<li><a href=<?php bloginfo('url'); ?>>Home</a></li>
<?php wp_list_pages('title_li='); ?></ul>
<ul class="widgets">
<?php if ( !dynamic_sidebar() ) : ?>
<?php endif; ?>
</ul>
</aside>
<?php
?> | gpl-2.0 |
tartina/ardour | share/scripts/_dialog_test.lua | 2629 | ardour { ["type"] = "Snippet", name = "Dialog Test" }
function factory () return function ()
local md = LuaDialog.Message ("title", "hello", LuaDialog.MessageType.Info, LuaDialog.ButtonType.Close)
print (md:run())
md = nil
collectgarbage ()
-----------------------------------------------------------------
func... | gpl-2.0 |
yidongxiainl/lammps | src/USER-OMP/pair_lj_cut_coul_msm_omp.cpp | 6720 | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
This software is distributed under the GNU General Public License.
See t... | gpl-2.0 |
lucaseverini/C-compiler-for-IBM-1401 | assignment3/wci/intermediate/SymTabFactory.java | 1194 | package wci.intermediate;
import wci.intermediate.symtabimpl.*;
/**
* <h1>SymTabFactory</h1>
*
* <p>A factory for creating objects that implement the symbol table.</p>
*
* <p>Copyright (c) 2009 by Ronald Mak</p>
* <p>For instructional purposes only. No warranties.</p>
*/
public class SymTabFactory
{
/**
... | gpl-2.0 |
cpowersoft/zencart-1.5.4 | admin/includes/languages/schinese/downloads_manager.php | 2792 | <?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | ... | gpl-2.0 |
paoloalbera/renew | wp-content/themes/genesis/lib/functions/admin.php | 454 | <?php
/**
* The functions that were in this file have been deprecated or moved to other files.
*
* @category Genesis
* @package Deprecated
* @author StudioPress
* @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later)
* @link http://www.studiopress.com/themes/genesis
*
* @depre... | gpl-2.0 |
rart/studio2 | src/main/webapp/default-site/static-assets/modules/editors/tiny_mce/plugins/paste/editor_plugin-min.js | 13958 | (function(){var f=tinymce.each,e={paste_auto_cleanup_on_paste:true,paste_enable_default_filters:true,paste_block_drop:false,paste_retain_style_properties:"none",paste_strip_class_attributes:"mso",paste_remove_spans:false,paste_remove_styles:false,paste_remove_styles_if_webkit:true,paste_convert_middot_lists:true,paste_... | gpl-3.0 |
WordBenchNagoya/WordFes2017 | wp/wp-content/themes/wfn2017/parts/content-home.php | 397 | <?php
$sec_count = get_query_var('sec_count') ? get_query_var('sec_count') : '';
//var_dump($post);
$sec_id = sprintf( "sec-%s", str_replace( 'home-', '', $post->post_name ) );
?>
<div id="<?php echo esc_attr( $sec_id ); ?>" class="section text-center">
<div class="section-inner text-left clearfix">
<?php ... | gpl-3.0 |
BigBoss424/a-zplumbing | Magento-CE-2/vendor/magento/module-wishlist/Test/Unit/Controller/Index/PluginTest.php | 4020 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Wishlist\Test\Unit\Controller\Index;
class PluginTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Customer\Model\Session|\PHPUnit_Framework_MockObject_MockObject
*/
... | gpl-3.0 |
BigBoss424/a-zplumbing | Magento-CE-2/vendor/magento/module-catalog/Model/ResourceModel/Category/Attribute/Frontend/Image.php | 1310 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\ResourceModel\Category\Attribute\Frontend;
/**
* Category image attribute frontend
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Image extends \Magento\Ea... | gpl-3.0 |
XianliangJ/collections | Jellyfish/pox/pox/lib/util.py | 10875 | # Copyright 2011 James McCauley
#
# This file is part of POX.
#
# POX 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.
#
# POX is distri... | gpl-3.0 |
awsmug/Questions | src/vendor/felixarntz/plugin-lib/src/db-objects/cli-models-command.php | 19506 | <?php
/**
* CLI models command class
*
* @package Leaves_And_Love\Plugin_Lib
* @since 1.0.0
*/
namespace Leaves_And_Love\Plugin_Lib\DB_Objects;
use Leaves_And_Love\Plugin_Lib\CLI_Command_Aggregate;
use WP_Error;
if ( ! class_exists( 'Leaves_And_Love\Plugin_Lib\DB_Objects\CLI_Models_Command' ) ) :
/**
* Clas... | gpl-3.0 |
technologiescollege/Blockly-rduino-communication | scripts/Lib/site-packages/websockets/test_uri.py | 884 | import unittest
from .exceptions import InvalidURI
from .uri import *
VALID_URIS = [
('ws://localhost/', (False, 'localhost', 80, '/')),
('wss://localhost/', (True, 'localhost', 443, '/')),
('ws://localhost/path?query', (False, 'localhost', 80, '/path?query')),
('WS://LOCALHOST/PATH?QUERY', (False, '... | gpl-3.0 |
sabel83/metashell | 3rd/mindent/include/mindent/impl/parser.hpp | 5422 | #ifndef MINDENT_IMPL_PARSER_HPP
#define MINDENT_IMPL_PARSER_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// 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)
#include <mindent/syntax_node.h... | gpl-3.0 |
stuart23/cmake-OpenFOAM | src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/nutWallFunctions/nutWallFunction/nutWallFunctionFvPatchScalarField.C | 5015 | /*---------------------------------------------------------------------------* \
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------... | gpl-3.0 |
Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/net/minecraft/util/ReportedException.java | 708 | package net.minecraft.util;
import net.minecraft.crash.CrashReport;
public class ReportedException extends RuntimeException
{
private final CrashReport theReportedExceptionCrashReport;
private static final String __OBFID = "CL_00001579";
public ReportedException(CrashReport p_i1356_1_)
{
this... | gpl-3.0 |
TLQPQPQ/tlq_git_study | src/com/sun/corba/se/impl/oa/poa/POAPolicyMediator.java | 4060 | /*
* Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.impl.oa.poa ;
import org.omg.PortableServer.Servant ;
import org.omg.Portable... | gpl-3.0 |
lynnlyc/for-honeynet-reviewers | CallbackDroid/android-environment/src/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/DESEngine.java | 17458 | package org.bouncycastle.crypto.engines;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.DataLengthException;
import org.bouncycastle.crypto.params.KeyParameter;
/**
* a class that provides a basic DES engine.
*/
public class DESEngine
... | gpl-3.0 |
AlienCowEatCake/ImageViewer | src/ThirdParty/libde265/libde265-1.0.8/acceleration-speed/acceleration-speed.cc | 5769 | /*
* H.265 video codec.
* Copyright (c) 2015 struktur AG, Dirk Farin <farin@struktur.de>
*
* This file is part of libde265.
*
* libde265 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... | gpl-3.0 |
emmanuel-keller/opensearchserver | src/main/java/com/jaeksoft/searchlib/scheduler/task/TaskFlushCrawlCache.java | 2239 | /**
* License Agreement for OpenSearchServer
*
* Copyright (C) 2010-2014 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | gpl-3.0 |
yu-yuxuan/algs4_exercise | src/main/java/edu/princeton/cs/algs4/TransitiveClosure.java | 5114 | /******************************************************************************
* Compilation: javac TransitiveClosure.java
* Execution: java TransitiveClosure filename.txt
* Dependencies: Digraph.java DepthFirstDirectedPaths.java In.java StdOut.java
* Data files: http://algs4.cs.princeton.edu/42digraph/t... | gpl-3.0 |
Unofficial-Extend-Project-Mirror/openfoam-extend-foam-extend-3.1 | src/dynamicMesh/dynamicFvMesh/dynamicBodyFvMesh/dynamicBodyFvMesh.C | 6780 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration |
\\ / A nd | For copyright notice see file Copyright
\\/ M anipulation |
---------------------... | gpl-3.0 |
wiki2014/Learning-Summary | alps/art/tools/dexfuzz/src/dexfuzz/rawdex/EncodedAnnotation.java | 1739 | /*
* Copyright (C) 2014 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 |
mabdullah353/algs4 | src/main/java/edu/princeton/cs/algs4/AssignmentProblem.java | 7805 | /******************************************************************************
* Compilation: javac AssignmentProblem.java
* Execution: java AssignmentProblem N
* Dependencies: DijkstraSP.java DirectedEdge.java
*
* Solve an N-by-N assignment problem in N^3 log N time using the
* successive shortest path... | gpl-3.0 |
TWSSYesterday/PlotMe-Core | src/main/java/com/worldcretornica/plotme_core/storage/Database.java | 20198 | package com.worldcretornica.plotme_core.storage;
import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
import com.google.common.collect.ImmutableList;
import com.worldcretornica.plotme_core.Plot;
import com.worldcretornica.plotme_core.PlotId;
import com.worldcretornica.plotme_core.Plo... | gpl-3.0 |
yuan-/sipdroid-pro | jni/aac/libAACdec/src/rvlcbit.cpp | 6118 |
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2012 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION... | gpl-3.0 |
BashtonLtd/varnish-purge-proxy | vendor/cloud.google.com/go/datastore/save_test.go | 3755 | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | gpl-3.0 |
mcustiel/php-simple-request | tests/integration/Validators/PropertiesTest.php | 1366 | <?php
/**
* This file is part of php-simple-request.
*
* php-simple-request is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version... | gpl-3.0 |
malin1993ml/h-store | src/benchmarks/edu/brown/api/results/ResultsPrinter.java | 12019 | /* This file is part of VoltDB.
* Copyright (C) 2008-2010 VoltDB L.L.C.
*
* 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-3.0 |
novayadi85/galatema | app/code/core/Mage/GoogleBase/controllers/SelectionController.php | 1421 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | gpl-3.0 |
Dino0631/RedRain-Bot | lib/youtube_dl/extractor/xhamster.py | 8072 | from __future__ import unicode_literals
import re
from .common import InfoExtractor
from ..utils import (
clean_html,
dict_get,
ExtractorError,
int_or_none,
parse_duration,
unified_strdate,
)
class XHamsterIE(InfoExtractor):
_VALID_URL = r'(?P<proto>https?)://(?:.+?\.)?xhamster\.com/movi... | gpl-3.0 |
vanpouckesven/cosnics | src/Chamilo/Application/Weblcms/Tool/Implementation/CourseSections/Package/Installer.php | 357 | <?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\CourseSections\Package;
use Chamilo\Application\Weblcms\Tool\ToolInstaller;
/**
* Installs the tool data tables, settings, tracking, reporting
*
* @package application\weblcms\tool\course_sections
* @author Sven Vanpoucke - Hogeschool Gent
*/
class... | gpl-3.0 |
dandrocec/PaaSInterop | AiPlanningServices/build/generated-sources/jax-ws/hr/org/foi/appengine/api/services/GetDataTypesInCurrentDataResponse.java | 1921 |
package hr.org.foi.appengine.api.services;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getDataTypes... | gpl-3.0 |
virtualrobotix/MissionPlanner | SikRadio/RFDLib/Array.cs | 362 | using System;
namespace RFDLib
{
public static class Array
{
public static T[] CherryPickArray<U, T>(U[] x, Func<U, T> PickFn)
{
T[] Result = new T[x.Length];
for (int n = 0; n < x.Length; n++)
{
Result[n] = PickFn(x[n]);
}
... | gpl-3.0 |
arun06eee/ZydeFood | extensions/banners_module/controllers/Banners_module.php | 4109 | <?php if ( ! defined('BASEPATH')) exit('No direct access allowed');
class Banners_module extends Main_Controller {
public function index($module = array(), $data = array()) {
$this->load->model('Layouts_model'); // load the menus model
$this->load->model('Banners_model'); //... | gpl-3.0 |
bnvk/LookingGlass | app/parsers/param_parser.rb | 1354 | module ParamParser
include GeneralUtils
# Processes parameters for search query generation
def process_params
processed_params = Hash.new
if @params[:q] then processed_params = {field: "_all", searchterm: @params[:q]} # Search all fields
else # For searching individua... | gpl-3.0 |
Scrik/Cauldron-1 | eclipse/Clean/src/main/java/net/minecraft/client/gui/GuiScreenAddServer.java | 5012 | package net.minecraft.client.gui;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.multiplayer.ServerData;
import net.minecraft.client.resources.I18n;
import org.lwjgl.input.Keyboard;
@SideOnly(Side.CLIENT)
public class GuiScreenAddServer extends GuiScreen
{
... | gpl-3.0 |
BigBoss424/a-zplumbing | Magento-CE-2/vendor/magento/module-cms/Model/Page/Source/Theme.php | 874 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Cms\Model\Page\Source;
use Magento\Framework\Data\OptionSourceInterface;
use Magento\Framework\View\Design\Theme\Label\ListInterface;
/**
* Class Theme
*/
class Theme implements OptionSourceInte... | gpl-3.0 |
kehh/providence | app/controllers/administrate/setup/relationship_type_editor/RelationshipTypeEditorController.php | 4515 | <?php
/* ----------------------------------------------------------------------
* app/controllers/administrate/setup/relationship_type_editor/RelationshipTypeEditorController.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management softw... | gpl-3.0 |
TransitionZH/green | typo3conf/ext/theme_default/Configuration/TypoScript/Extension/FluidStyledContent/constants.ts | 4920 | styles.templates {
# cat=content/templates/b1; type=string; label= Path of Fluid Templates for all defined content elements
templateRootPath =
# cat=content/templates/b2; type=string; label= Path of Fluid Partials for all defined content elements
partialRootPath =
# cat=content/templates/b3; type=string; label= Pa... | gpl-3.0 |
iamgreaser/iceball | pkg/base/ent/gun_rifle.lua | 1392 | --[[
This file is part of Ice Lua Components.
Ice Lua Components is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | gpl-3.0 |
kaikim/flamingo2 | flamingo2-web/src/main/webapp/resources/app/view/dashboard/information/WorkflowInformationModel.js | 2515 | /*
* Copyright (C) 2011 Flamingo Project (http://www.cloudine.io).
*
* 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 versio... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fc.lua | 1062 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Titan's Gate
-- @pos 260 -34 -71 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
LBPHacker/The-Powder-Toy | src/simulation/SaveRenderer.cpp | 4344 | #include "SaveRenderer.h"
#include "client/GameSave.h"
#include "graphics/Graphics.h"
#include "graphics/Renderer.h"
#include "Simulation.h"
SaveRenderer::SaveRenderer(){
g = new Graphics();
sim = new Simulation();
ren = new Renderer(g, sim);
ren->decorations_enable = true;
ren->blackDecorations = true;
#if d... | gpl-3.0 |
hartsock/vault | builtin/logical/pki/path_revoke.go | 2829 | package pki
import (
"context"
"fmt"
"strings"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/vault/sdk/framework"
"github.com/hashicorp/vault/sdk/helper/consts"
"github.com/hashicorp/vault/sdk/helper/errutil"
"github.com/hashicorp/vault/sdk/logical"
)
func pathRevoke(b *backend) *framework.Path {
ret... | mpl-2.0 |
TheRestOfMe/sensorhub | sensorhub-core/src/main/java/org/sensorhub/impl/comm/USBConfig.java | 1018 | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
Software distributed under the License is distri... | mpl-2.0 |
adevress/armadillo | include/armadillo_bits/operator_minus.hpp | 7392 | // Copyright (C) 2008-2015 Conrad Sanderson
// Copyright (C) 2008-2015 NICTA (www.nicta.com.au)
// Copyright (C) 2012 Ryan Curtin
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozill... | mpl-2.0 |
kjmkznr/terraform-provider-aws | vendor/github.com/aws/aws-sdk-go/service/codeartifact/errors.go | 2441 | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package codeartifact
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// The operation did not succeed because of an unauthorized ac... | mpl-2.0 |
InPvP/MiNET | src/MiNET/MiNET/Blocks/LapisBlock.cs | 148 | namespace MiNET.Blocks
{
public class LapisBlock : Block
{
public LapisBlock() : base(22)
{
BlastResistance = 15;
Hardness = 3;
}
}
} | mpl-2.0 |
afrjorge/ccc | package-res/lib/protovis-compat.js | 1634 | /*!
* Copyright 2002 - 2017 Webdetails, a Hitachi Vantara company. All rights reserved.
*
* This software was developed by Webdetails and is provided under the terms
* of the Mozilla Public License, Version 2.0, or any later version. You may not use
* this file except in compliance with the license. If you need ... | mpl-2.0 |
mozilla/webmaker-browser | src/util/i18n.js | 1219 | var assign = require ('react/lib/Object.assign');
var messages = require ('../locales');
var locale = navigator.language.split('-');
locale = locale[1] ? `${locale[0]}-${locale[1].toUpperCase()}` : navigator.language;
var strings = messages[locale] ? messages[locale] : messages['en-US'];
module.exports = {
intlData... | mpl-2.0 |
mbj36/community-app | app/scripts/controllers/system/AddAccountNumberPreferencesController.js | 2055 | (function (module) {
mifosX.controllers = _.extend(module, {
AddAccountNumberPreferencesController: function (scope, resourceFactory, location, routeParams) {
scope.formData = {};
scope.addPrefix = true;
resourceFactory.accountNumberTemplateResource.get(function(data){
... | mpl-2.0 |
aihua/opennms | opennms-config-model/src/main/java/org/opennms/netmgt/xml/rtc/EuiLevel.java | 4494 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2017 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2017 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | agpl-3.0 |
consul/consul | db/migrate/20170102170125_add_published_to_polls.rb | 140 | class AddPublishedToPolls < ActiveRecord::Migration[4.2]
def change
add_column :polls, :published, :boolean, default: false
end
end
| agpl-3.0 |
jobiols/management-system | mgmtsystem_nonconformity_analytic/models/__init__.py | 948 | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2012 Daniel Reis
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software... | agpl-3.0 |
sagemathinc/smc | src/test/puppeteer/src/test_driver.ts | 3106 | /*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
// top-level front end test driver
const path = require("path");
const this_file: string = path.basename(__filename, ".js");
const debuglog = require("util").debuglog("cc-" + ... | agpl-3.0 |
DerDu/SPHERE-Framework | Library/MOC-V/Core/SecureKernel/Vendor/PhpSecLib/2.0.0/tests/Unit/Crypt/Hash/SHA256Test.php | 2712 | <?php
/**
* @author Andreas Fischer <bantu@phpbb.com>
* @copyright 2014 Andreas Fischer
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*/
use phpseclib\Crypt\Hash;
class Unit_Crypt_Hash_SHA256Test extends Unit_Crypt_Hash_TestCase
{
public static function hashData()
{
... | agpl-3.0 |
ow2-proactive/scheduling | scheduler/scheduler-server/src/main/java/org/ow2/proactive/scheduler/core/db/DBTaskDataParameters.java | 3612 | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | agpl-3.0 |
bytepark/snipe-it | resources/lang/mi/mail.php | 4147 | <?php
return array(
'a_user_canceled' => 'Kua whakakorea e tetahi kaiwhakamahi tetahi tonoemi i runga i te paetukutuku',
'a_user_requested' => 'Kua tono tetahi kaiwhakamahi i tetahi mea i runga i te paetukutuku',
'accessory_name' => 'Ingoa Whakauru:',
'additional_notes' => 'Nga Tuhipoka Atu:',
'adm... | agpl-3.0 |
sespivak/pydio-core | core/src/plugins/core.authfront/AbstractAuthFrontend.php | 1603 | <?php
/*
* Copyright 2007-2013 Charles du Jeu - Abstrium SAS <team (at) pyd.io>
* This file is part of Pydio.
*
* Pydio is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Lice... | agpl-3.0 |
DerDu/SPHERE-Framework | Library/MOC-V/Core/SecureKernel/Component/IBridgeInterface.php | 468 | <?php
namespace MOC\V\Core\SecureKernel\Component;
/**
* Interface IBridgeInterface
*
* @package MOC\V\Core\SecureKernel\Component
*/
interface IBridgeInterface
{
/**
* @param string $Host
* @param int $Port
* @param int $Timeout
*
* @return IBridgeInterface
*/
public f... | agpl-3.0 |
fronteerio/canvas-lms | app/models/asset_user_access.rb | 10002 | #
# Copyright (C) 2011 - 2014 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hop... | agpl-3.0 |
colosa/processmaker | vendor/symfony/http-kernel/DataCollector/DumpDataCollector.php | 10599 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\DataCollector;
use Symfony\Component\HttpF... | agpl-3.0 |
studio666/gnu-social | plugins/Gravatar/GravatarPlugin.php | 2602 | <?php
/*
* StatusNet - the distributed open-source microblogging tool
* Copyright (C) 2009,2011 StatusNet, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | agpl-3.0 |
colosa/processmaker | vendor/aws/aws-sdk-php/src/Api/AbstractModel.php | 1677 | <?php
namespace Aws\Api;
/**
* Base class that is used by most API shapes
*/
abstract class AbstractModel implements \ArrayAccess
{
/** @var array */
protected $definition;
/** @var ShapeMap */
protected $shapeMap;
/**
* @param array $definition Service description
* @param ShapeMa... | agpl-3.0 |
jessport1/platform-install-packages | RPM/scripts/postinst/init.php | 3083 | <?php
require_once('/opt/kaltura/app/alpha/config/kConf.php');
$configPath = '/opt/kaltura/bin/sanity_config.ini';
if(!file_exists($configPath))
{
echo "Configuration file [$configPath] does not exist\n";
exit(-1);
}
$config = parse_ini_file($configPath, true);
if(!$config)
{
echo "unable to ... | agpl-3.0 |
ACS-Community/ACS | LGPL/CommonSoftware/ACSLaser/gp/src/cern/gp/explorer/test/TestListExplorer.java | 1295 | /*
* TestTreeExplorer.java
*
* Created on September 20, 2002, 5:02 PM
*/
package cern.gp.explorer.test;
import cern.gp.explorer.ListExplorer;
import cern.gp.explorer.test.helpers.SimpleDemoBean;
import cern.gp.nodes.NodeFactory;
import cern.gp.windows.WindowUtils;
import cern.gp.nodes.GPNode;
/**
* A simple tes... | lgpl-2.1 |
maui-packages/qt-creator | src/plugins/projectexplorer/nodesvisitor.cpp | 3579 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | lgpl-2.1 |
rpm-software-management/libdnf | tests/libdnf/repo/DependencyTest.cpp | 905 | #include <solv/pool.h>
#include <memory>
#include <solv/repo.h>
#include <solv/poolarch.h>
#include "DependencyTest.hpp"
CPPUNIT_TEST_SUITE_REGISTRATION(DependencyTest);
void DependencyTest::setUp()
{
sack = dnf_sack_new();
dependency = std::unique_ptr<libdnf::Dependency>(new libdnf::Dependency(sack, "foo =... | lgpl-2.1 |
limb-php-framework/limb | macro/src/tags/core/trim.tag.php | 296 | <?php
/**
* class lmbMacroTrimTag.
* @tag trim
* @restrict_self_nesting
*/
class lmbMacroTrimTag extends lmbMacroTag
{
protected function _generateContent($code)
{
lmbMacroTextNode :: setTrim(true);
parent :: _generateContent($code);
lmbMacroTextNode :: setTrim(false);
}
}
| lgpl-2.1 |
yersan/wildfly-core | server/src/main/java/org/jboss/as/server/parsing/CommonXml.java | 15399 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | lgpl-2.1 |
spotbugs/spotbugs | spotbugs/src/main/java/edu/umd/cs/findbugs/ba/AccessibleEntity.java | 1956 | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2003-2007 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, o... | lgpl-2.1 |
spotbugs/spotbugs | spotbugsTestCases/src/java/bugIdeas/Ideas_2010_06_23.java | 952 | package bugIdeas;
import java.sql.Date;
import org.joda.time.DateTimeConstants;
public class Ideas_2010_06_23 {
public long daysAgo(int days) {
return System.currentTimeMillis() - days * DateTimeConstants.MILLIS_PER_DAY;
}
public long daysFromNow(int days) {
return System.currentTimeMil... | lgpl-2.1 |
karansapra/OpenDwarfs | dynamic-programming/swat/alignments.cpp | 1619 | #include "global.h"
#include "functions.h"
int preProcessing(int rowNum,
int columnNum,
int *threadNum,
int *diffPos,
int& matrixIniElem)
{
int launchNum = rowNum + columnNum - 1;
int launchNo;
int preColumnNum, tempDiffPos,lastEndFlagPos;
int threadPerLaunch;
int coalescedOffset = COALESCED_OFFSET;
int ... | lgpl-2.1 |