repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
JoshuaEstes/apostrophePlugin | modules/a/templates/revertSuccess.php | 646 | <?php
// Compatible with sf_escaping_strategy: true
$cancel = isset($cancel) ? $sf_data->getRaw('cancel') : null;
$name = isset($name) ? $sf_data->getRaw('name') : null;
$preview = isset($preview) ? $sf_data->getRaw('preview') : null;
$revert = isset($revert) ? $sf_data->getRaw('revert') : null;
?>
<?php use_... | mit |
andreychernih/railsbox | spec/support/test_helpers/zip_contents.rb | 944 | module TestHelpers
module ZipContents
def zip_list_of_files(data)
files = []
process_zip_data(data) do |zipfile|
files = zipfile.entries.map(&:name)
end
files
end
# the client is reponsible for deleting dir
def extract_zip(data)
dir = Dir.mktmpdir
process_z... | mit |
Peter-Maximilian/settlers-remake | jsettlers.mapcreator/src/main/java/jsettlers/mapcreator/tools/landscape/FixHeightsTool.java | 4022 | /*******************************************************************************
* Copyright (c) 2015
*
* 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 withou... | mit |
guillochon/FriendlyFit | mosfit/model.py | 40106 | """Definitions for the `Model` class."""
import importlib
import inspect
import json
import os
from collections import OrderedDict
from copy import deepcopy
from difflib import get_close_matches
from math import isnan
import inflect
import numpy as np
from astrocats.catalog.quantity import QUANTITY
from mosfit.constan... | mit |
mekajay04/wanderlist | node_modules/sequelize/lib/dialects/abstract/connection-manager.js | 9421 | 'use strict';
const Pooling = require('generic-pool');
const Promise = require('../../promise');
const _ = require('lodash');
const Utils = require('../../utils');
const debug = Utils.getLogger().debugContext('pool');
const semver = require('semver');
const timers = require('timers');
const defaultPoolingConfig = {
... | mit |
gilsondev/login-cidadao | src/PROCERGS/LoginCidadao/NotificationBundle/Entity/PlaceholderRepository.php | 1165 | <?php
namespace PROCERGS\LoginCidadao\NotificationBundle\Entity;
use Doctrine\ORM\EntityRepository;
use PROCERGS\LoginCidadao\CoreBundle\Model\PersonInterface;
use PROCERGS\OAuthBundle\Model\ClientInterface;
use Doctrine\ORM\QueryBuilder;
class PlaceholderRepository extends EntityRepository
{
public function fi... | mit |
dgreisen-cfpb/moirai | node_modules/pantheon-helpers/lib/loggers.js | 915 | // Generated by IcedCoffeeScript 1.8.0-c
(function() {
var bunyan, loggers, utils;
bunyan = require('bunyan');
utils = require('./utils');
loggers = {
makeLogger: function(defaultConfig, customConfig, logger) {
var config;
if (logger == null) {
logger = bunyan;
}
config = ... | cc0-1.0 |
markoer/kura | kura/org.eclipse.kura.linux.net/src/main/java/org/eclipse/kura/internal/board/BoardPowerState.java | 642 | /*******************************************************************************
* Copyright (c) 2018 Eurotech and/or its affiliates
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | epl-1.0 |
theoweiss/openhab2 | bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/internal/handler/GenericMQTTThingHandler.java | 7824 | /**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | epl-1.0 |
RallySoftware/eclipselink.runtime | jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/jpa/metadata/FileBasedProjectCache.java | 5155 | /*******************************************************************************
* Copyright (c) 2012, 2016 Oracle and/or its affiliates, IBM Corporation. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distributio... | epl-1.0 |
Lsty/ygopro-scripts | c18489208.lua | 1571 | --カースド・フィグ
function c18489208.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(18489208,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c18489208.con)
e1:SetTarget... | gpl-2.0 |
moveable-dev1/rep1 | wp-content/plugins/gravityforms/entry_list.php | 58835 | <?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
class GFEntryList {
public static function all_leads_page() {
if ( ! GFCommon::ensure_wp_version() ) {
return;
}
$forms = RGFormsModel::get_forms( null, 'title' );
$id = RGForms::get( 'id' );
if ( sizeof( $forms ) == 0 ) {
?>
<div style="m... | gpl-2.0 |
mrkn/aquaskk | src/engine/editor/SKKTextBuffer.cpp | 2301 | /* -*- C++ -*-
MacOS X implementation of the SKK input method.
Copyright (C) 2008 Tomotaka SUWA <t.suwa@mac.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 Li... | gpl-2.0 |
Debian/openjfx | modules/web/src/main/native/Source/JavaScriptCore/tests/es6/default_function_parameters_basic_functionality.js | 147 | function test() {
return (function (a = 1, b = 2) { return a === 3 && b === 2; }(3));
}
if (!test())
throw new Error("Test failed");
| gpl-2.0 |
sunqueen/vlc-2.1.4.32.subproject-2013 | modules/gui/qt4/util/customwidgets.hpp | 4925 | /*****************************************************************************
* customwidgets.hpp: Custom widgets
****************************************************************************
* Copyright (C) 2006 the VideoLAN team
* Copyright (C) 2004 Daniel Molkentin <molkentin@kde.org>
* $Id: 37fce1d4515dd95131b... | gpl-2.0 |
impulze/newSOS | core/api/src/main/java/org/n52/sos/ogc/om/ObservationValue.java | 2311 | /**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | gpl-2.0 |
md-5/jdk10 | test/hotspot/jtreg/runtime/cds/appcds/customLoader/ClassListFormatE.java | 4957 | /*
* Copyright (c) 2015, 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 |
lewurm/graal | src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 33720 | /*
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
vnataraju/SProject | plugins/system/zend/Zend/Gdata/Photos/Extension/Client.php | 1867 | <?php defined( '_JEXEC') or die( 'Restricted Access' );
/**
* 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... | gpl-2.0 |
brunno18/AndroidAppThree | src/com/owncloud/android/ui/fragment/LocalFileListFragment.java | 8646 | /* ownCloud Android client application
* Copyright (C) 2011 Bartek Przybylski
* Copyright (C) 2012-2013 ownCloud Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation... | gpl-2.0 |
Diegoromeropanes/glpi | front/change.php | 1387 | <?php
/*
* @version $Id$
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2015-2016 Teclib'.
http://glpi-project.org
based on GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2014 by the INDEPNET Development ... | gpl-2.0 |
noamoss/littlebird | sites/all/modules/restful/src/Resource/EnabledArrayIterator.php | 551 | <?php
/**
* @file
* Contains \Drupal\restful\Resource\EnabledArrayIterator.
*/
namespace Drupal\restful\Resource;
class EnabledArrayIterator extends \FilterIterator {
/**
* Check whether the current element of the iterator is acceptable.
*
* @return bool
* TRUE if the current element is acceptabl... | gpl-2.0 |
tunghoang/snmp-ts-stt-icingaweb2 | library/vendor/Zend/Cloud/DocumentService/Exception.php | 1071 | <?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-2.0 |
thebagmaster/WEB_COT | php/PEAR/phing/parser/NestedElementHandler.php | 6919 | <?php
/*
* $Id: NestedElementHandler.php 123 2006-09-14 20:19:08Z mrook $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE ... | gpl-2.0 |
wp-cbos-ca/b100-sci | wp-content/plugins/wp-site-dna/post-type/post-type-block/post-type-block.php | 2543 | <?php
defined( 'ABSPATH' ) || die();
function install_post_type_block( $user_id = 1 ){
require_once dirname( __FILE__) . '/data.php';
global $wpdb;
$now = date( 'Y-m-d H:i:s' );
$now_gmt = date( 'Y-m-d H:i:s' ); //adjust
$items = get_post_type_block_data();
for ( $i=1; $i <= $items['cnt']; $i+... | gpl-2.0 |
VitaliyProdan/bmm | wp-content/plugins/polylang/modules/wpml/wpml-compat.php | 14088 | <?php
/**
* Compatibility with WPML API. See http://wpml.org/documentation/support/wpml-coding-api/
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // don't access directly
};
/**
* defines two WPML constants once the language has been defined
* the compatibility with WPML is not perfect on admin side as the constants... | gpl-2.0 |
mohapatrasiddhartha/bookmyguitar | wp-content/plugins/wp-members/admin/post.php | 8903 | <?php
/**
* WP-Members Admin Functions
*
* Functions to manage the post/page editor screens.
*
* This file is part of the WP-Members plugin by Chad Butler
* You can find out more about this plugin at http://rocketgeek.com
* Copyright (c) 2006-2014 Chad Butler
* WP-Members(tm) is a trademark of butlerblog.com
... | gpl-2.0 |
pioto/paludis-pioto | paludis/args/args_dumper.hh | 2369 | /* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
* Copyright (c) 2006 Stephen Bennett
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
* Public License, version 2, as published by the Free Software Foun... | gpl-2.0 |
gongleiarei/qemu | tests/qemu-iotests/iotests.py | 14847 | # Common utilities and Python wrappers for qemu-iotests
#
# Copyright (C) 2012 IBM Corp.
#
# 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) ... | gpl-2.0 |
pawelbrzycki/joomla | media/editors/tinymce/jscripts/tiny_mce/langs/pl.js | 5478 | // PL lang variables UTF-8
// ***********************************************************************
// ** Title.........: TinyMCE RC2 polish lang
// ** Version.......: 1.0
// ** Author........: Stefan Wajda, Diabl0/MAO, danieladrinka
// ** Filename......: pl.js (polish language file)
// ** Last changed..:... | gpl-2.0 |
am-immanuel/quercus | modules/resin/src/com/caucho/amp/AmpQueryCallback.java | 1482 | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | gpl-2.0 |
onkelhotte/test | src/Geo/Flat/FlatGeoPoint.hpp | 5815 | /* 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 |
shamsbd71/digicom | components/com_digicom/helpers/category.php | 717 | <?php
/**
* @package DigiCom
* @author ThemeXpert http://www.themexpert.com
* @copyright Copyright (c) 2010-2015 ThemeXpert. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE.txt
* @since 1.0.0
*/
defined('_JEXEC') or die;
/**
* DigiCom Component Category Tree
*
... | gpl-2.0 |
jagnoha/website | profiles/varbase/profiles/varbase/libraries/ckeditor/plugins/toolbar/lang/ku.js | 743 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'toolbar', 'ku', {
toolbarCollapse: 'شاردنەوی هێڵی تووڵامراز',
toolbarExpand: 'نیشاندانی هێڵی تووڵامراز',
toolbarGroups: {
document: 'پەڕه',
cli... | gpl-2.0 |
ezsystems/ezpublish-api | Repository/UserService.php | 17546 | <?php
/**
* File containing the eZ\Publish\API\Repository\UserService 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.
*/
namespace eZ\Publish\API\Repository;
use eZ\Publish\API\Repos... | gpl-2.0 |
betauserj/DOLSharp | GameServer/packets/Server/PacketLib185.cs | 1483 | /*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* 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 lat... | gpl-2.0 |
MESH-Dev/Enclave-Capital | wp-content/plugins/wppusher/Pusher/WordPress/ThemeUpgrader.php | 2110 | <?php
namespace Pusher\WordPress;
include_once(ABSPATH . 'wp-admin/includes/theme.php');
include_once(ABSPATH . 'wp-admin/includes/file.php');
include_once(ABSPATH . 'wp-admin/includes/class-wp-upgrader.php');
include_once(ABSPATH . 'wp-admin/includes/misc.php');
use Pusher\Dashboard;
use Pusher\Log\Logger;
use Them... | gpl-2.0 |
doneself/agit | wp-content/plugins/content-views-query-and-display-post-page/public/templates/_view_type_/js/main.js | 212 | /**
* Script Name: View type
*
* @package PT_Content_Views
* @author PT Guy <palaceofthemes@gmail.com>
* @license GPL-2.0+
* @link http://www.contentviewspro.com/
* @copyright 2014 PT Guy
*/
| gpl-2.0 |
wnsonsa/destin-foot | vendor/friendsofsymfony/http-cache-bundle/Tests/Unit/UserContext/RequestMatcherTest.php | 1438 | <?php
/*
* This file is part of the FOSHttpCacheBundle package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FOS\HttpCacheBundle\Tests\Unit\UserContext;
... | gpl-2.0 |
saddays/jdk7u-jdk | src/share/classes/com/sun/security/ntlm/Client.java | 8215 | /*
* Copyright (c) 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 Softwa... | gpl-2.0 |
leominov/artup | wp-admin/post.php | 8877 | <?php
/**
* Edit post administration panel.
*
* Manage Post actions: post, edit, delete, etc.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once('./admin.php');
$parent_file = 'edit.php';
$submenu_file = 'edit.php';
wp_reset_vars( arra... | gpl-2.0 |
victoralex/gameleon | includes/node_modules/pgriess-node-msgpack-4c430f7/deps/msgpack/msgpack_test.cpp | 26778 | #include "msgpack.hpp"
#include <math.h>
#include <string>
#include <vector>
#include <map>
#include <deque>
#include <set>
#include <list>
#include <gtest/gtest.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
using namespace std;
const unsigned int kLoop = 10000;
const unsigned int kElements = 100;
const doubl... | gpl-2.0 |
vvanherk/oscar_emr | src/main/java/org/oscarehr/util/NotAuthorisedException.java | 1306 | /**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published... | gpl-2.0 |
folbo/MuseScore | zerberus/sfz.cpp | 23829 | //=============================================================================
// Zerberos
// Zample player
//
// Copyright (C) 2013 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
// as published by the F... | gpl-2.0 |
Laniax/Project-Extinct | src/server/game/Server/Protocol/Handlers/MovementHandler.cpp | 21532 | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 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 ver... | gpl-2.0 |
unofficial-opensource-apple/gcc_jaguar | libjava/javax/naming/ldap/ControlFactory.java | 1735 | /* Copyright (C) 2001 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package javax.naming.ldap;
import javax.naming.*;
import java.util.StringTokenizer;
import jav... | gpl-2.0 |
johnbeard/kicad-git | bitmaps_png/cpp_26/gerber_recent_files.cpp | 10362 |
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0... | gpl-2.0 |
vnataraju/SProject | plugins/system/zend/Zend/Pdf/Action/GoToR.php | 1212 | <?php defined( '_JEXEC') or die( 'Restricted Access' );
/**
* 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
... | gpl-2.0 |
kolab-groupware/kdelibs | nepomuk/utils/proxyfacet.cpp | 5734 | /*
This file is part of the Nepomuk KDE project.
Copyright (C) 2010 Sebastian Trueg <trueg@kde.org>
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 ... | gpl-2.0 |
albertghtoun/gcc-libitm | gcc/testsuite/g++.dg/cpp0x/enum2.C | 142 | // PR c++/38637
// { dg-do compile }
// { dg-options "-std=c++11" }
template<int> enum E : int { e }; // { dg-error "declaration|expected" }
| gpl-2.0 |
nextgis/NextGIS_QGIS_open | python/plugins/processing/ui/ui_DlgAlgorithmBase.py | 4271 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'DlgAlgorithmBase.ui'
#
# Created: Fri Nov 21 13:25:46 2014
# by: PyQt4 UI code generator 4.11.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
exce... | gpl-2.0 |
mmplayer/MySQL | sql/rpl_info_factory.cc | 30289 | /* Copyright (c) 2010, 2011, 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 t... | gpl-2.0 |
Jacob-Kroeze/mdl4biz | lib/classes/event/content_viewed.php | 3878 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | gpl-3.0 |
mateusop/LogEvolut | src/com/cburch/logisim/prefs/PrefMonitorString.java | 2608 | /*******************************************************************************
* This file is part of logisim-evolution.
*
* logisim-evolution 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, eithe... | gpl-3.0 |
slombard54/graylog2-server | graylog2-shared/src/main/java/org/graylog2/shared/rest/resources/RestResource.java | 6191 | /**
* This file is part of Graylog.
*
* Graylog 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.
*
* Graylog is distributed in t... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Everbloom_Hollow/Zone.lua | 717 | -----------------------------------
--
-- Zone: Everbloom_Hollow
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Everbloom_Hollow/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Everbloom_Hollow/TextIDs");
----------------------------... | gpl-3.0 |
wisdom-garden/dotcms | src/com/dotmarketing/portlets/structure/factories/RelationshipFactory.java | 24994 | package com.dotmarketing.portlets.structure.factories;
import java.util.ArrayList;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.List;
import com.dotcms.content.elasticsearch.business.ESContentFactoryImpl;
import com.dotmarketing.beans.Identifier;
import com.dotmarketing.beans.Tree;... | gpl-3.0 |
siteserverekun/cms | BaiRong.Core/ThirdParty/Alipay/openapi/Response/AlipayOpenPublicLifeMsgRecallResponse.cs | 243 | using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayOpenPublicLifeMsgRecallResponse.
/// </summary>
public class AlipayOpenPublicLifeMsgRecallResponse : AopResponse
{
}
}
| gpl-3.0 |
chirag52999/thinkAgain | node_modules/grunt-bower-installer/node_modules/bower/node_modules/bower-registry-client/test/core/util/Cache.js | 1724 | var Cache = require('../../../lib/util/Cache');
var expect = require('expect.js');
describe('Cache', function () {
beforeEach(function () {
this.cache = new Cache();
});
describe('Constructor', function () {
describe('instantiating cache', function () {
it('should pro... | gpl-3.0 |
SoftwareEngineeringToolDemos/ICSE-2012-TraceLab | Main/TraceLab/TraceLab.UI.GTK/DrawingLibrary/Locators/AbsoluteLocator.cs | 2364 | // MonoHotDraw. Diagramming Framework
//
// Authors:
// Manuel Cerón <ceronman@gmail.com>
//
// Copyright (C) 2006, 2007, 2008, 2009 MonoUML Team (http://www.monouml.org)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... | gpl-3.0 |
deependhulla/archive-plus-ediscovery | files/groupoffice/modules/calendar/language/el.php | 7215 | <?php
$l["addressbook"]='Ευρετήριο Διευθύνσεων';
$l["appointments"]= 'Συναντήσεις';
$l["recurrence"]= 'Επανάληψη';
$l["options"]= 'επιλογές';
$l["repeatForever"]= 'Επανάληψη για πάντα';
$l["repeatEvery"]= 'Επανάληψη κάθε';
$l["repeatUntil"]= 'Επανάληψη μέχρι';
$l["busy"]= 'Εμφάνιση σαν απασχολημένος';
$l["allDay"]= '... | gpl-3.0 |
rmackay9/rmackay9-ardupilot | libraries/AP_GPS/AP_GPS_NMEA.cpp | 20920 | /*
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 program is distributed in the hope that it will be usefu... | gpl-3.0 |
bernte/monstra-cms | plugins/box/filesmanager/languages/ja.lang.php | 673 | <?php
return array(
'filesmanager' => array(
'Files' => 'ファイル',
'Files manager' => 'ファイルの管理',
'Name' => '名前',
'Actions' => '操作',
'Delete' => '削除',
'Upload' => 'アップロード',
'directory' => 'ディレクトリ',
'Delete directory... | gpl-3.0 |
Walt280/cosmos | code/mathematical-algorithms/reverse_number/reverse_number.cpp | 276 | #include<iostream>
using namespace std;
// Part of Cosmos by OpenGenus Foundation
int reverse_number(int n){
int ans = 0;
while(n != 0){
ans *= 10;
ans += n % 10;
n /= 10;
}
return ans;
}
int main(){
int n;
cin >> n;
cout << reverse_number(n);
return 0;
}
| gpl-3.0 |
materemias/sentrifugo | application/modules/default/controllers/PrefixController.php | 12125 | <?php
/*********************************************************************************
* This file is part of Sentrifugo.
* Copyright (C) 2015 Sapplica
*
* Sentrifugo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... | gpl-3.0 |
deependhulla/archive-plus-ediscovery | files/groupoffice/go/vendor/swift/lib/classes/Swift/Mime/ContentEncoder.php | 1020 | <?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Interface for all Transfer Encoding schemes.
*
* @package Swift
* @subpackage Mime
* @author ... | gpl-3.0 |
kgao/MediaDrop | PasteScript-1.7.5-py2.7.egg/paste/script/templates.py | 10040 | # (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
import sys
import os
import inspect
import copydir
import command
from paste.util.template import paste_script_template_renderer
class Template(objec... | gpl-3.0 |
Rinnegatamante/easyrpg-player-3ds | src/plane.cpp | 1800 | /*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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.
*
* EasyRPG Player... | gpl-3.0 |
Waikato/moa | moa/src/main/java/moa/tasks/TaskCompletionListener.java | 1385 | /*
* TaskCompletionListener.java
* Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
* @author Richard Kirkby (rkirkby@cs.waikato.ac.nz)
*
* 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
* ... | gpl-3.0 |
mcseemka/frostwire-desktop | lib/jars-src/jaudiotagger/srctest/org/jaudiotagger/tag/id3/NewInterfaceTest.java | 60368 | package org.jaudiotagger.tag.id3;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.jaudiotagger.AbstractTestCase;
import org.jaudiotagger.audio.AudioFile;
import org.jaudiotagger.audio.AudioFileIO;
import org.jaudiotagger.audio.mp3.MP3File;
import org.jaudiotag... | gpl-3.0 |
XG-Project/XG-Project-v2 | styles/views/fleet/fleet2_mission_row.php | 190 | <tr height="20">
<th>
<input{id}type="radio" name="mission" value="{value}"{checked}/>
<label for="inpuT_{input}">{mission}</label>
<br />
{expedition_message}
</th>
</tr>
| gpl-3.0 |
rkapka/Rubberduck | RubberduckTests/QuickFixes/MakeSingleLineParamegerQuickFixTests.cs | 1032 | using NUnit.Framework;
using Rubberduck.Inspections.Concrete;
using Rubberduck.Inspections.QuickFixes;
using Rubberduck.Parsing.Inspections.Abstract;
using Rubberduck.Parsing.VBA;
namespace RubberduckTests.QuickFixes
{
[TestFixture]
public class MakeSingleLineParamegerQuickFixTests : QuickFixTestBase
{
... | gpl-3.0 |
Niky4000/UsefulUtils | projects/others/eclipse-platform-parent/eclipse.jdt.core-master/org.eclipse.jdt.core.tests.model/workspace/Converter/src/test0210/Test.java | 97 | package test0210;
import java.util.*;
public class Test {
/** JavaDoc Comment*/
int i;/**/
} | gpl-3.0 |
OpenFOAM/OpenFOAM-5.x | src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C | 7323 | /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
--------... | gpl-3.0 |
deependhulla/archive-plus-ediscovery | files/groupoffice/modules/tasks/language/pl.php | 3143 | <?php
$l["noTask"]= 'Brak zadań do wyświetlenia';
$l["tasks"]= 'Zadania';
$l["addTask"]= 'Dodaj zadanie ...';
$l["tasklist"]= 'Lista zadań';
$l["tasklists"]= 'Listy zadań';
$l["showCompletedTasks"]= 'Pokaż zakończone zadania';
$l["filter"]= 'Filtr';
$l["dueDate"]= 'Termin zakończenia';
$l["dueAt"]= 'Zakończenie';
$l[... | gpl-3.0 |
jeremiahyan/odoo | addons/point_of_sale/static/src/js/Screens/ProductScreen/ProductsWidget.js | 3742 | odoo.define('point_of_sale.ProductsWidget', function(require) {
'use strict';
const { useState } = owl.hooks;
const PosComponent = require('point_of_sale.PosComponent');
const { useListener } = require('web.custom_hooks');
const Registries = require('point_of_sale.Registries');
class ProductsW... | gpl-3.0 |
yesbox/ansible | test/units/plugins/test_plugins.py | 3459 | # (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com>
#
# This file is part of Ansible
#
# Ansible 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) an... | gpl-3.0 |
FilippoLeon/ProjectPorcupine | Assets/Scripts/Models/CharacterAnimation.cs | 3812 | #region License
// ====================================================
// Project Porcupine Copyright(C) 2016 Team Porcupine
// This program comes with ABSOLUTELY NO WARRANTY; This is free software,
// and you are welcome to redistribute it under certain conditions; See
// file LICENSE, which is part of this source... | gpl-3.0 |
Rydra/OpenRA | OpenRA.Mods.RA/Air/AttackHeli.cs | 801 | #region Copyright & License Information
/*
* Copyright 2007-2014 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see COP... | gpl-3.0 |
rodolfochicone/djangoecommerce | checkout/admin.py | 149 | # coding=utf-8
from django.contrib import admin
from .models import CartItem, Order, OrderItem
admin.site.register([CartItem, Order, OrderItem])
| gpl-3.0 |
s1yf0x/java-for-testing | saop-sample/src/main/java/net/webservicex/GetGeoIP.java | 1571 |
package net.webservicex;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex typ... | gpl-3.0 |
jmcPereira/overture | ide/plugins/combinatorialtesting/src/main/java/org/overture/ide/plugins/combinatorialtesting/views/internal/TraceNodeSorter.java | 1459 | /*
* #%~
* Combinatorial Testing
* %%
* Copyright (C) 2008 - 2014 Overture
* %%
* 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) an... | gpl-3.0 |
SoftwareEngineeringToolDemos/ICSE-2012-TraceLab | Main/external/ikvm/src/openjdk/sun/jdbc/odbc/JdbcOdbcStatement.java | 9067 | /*
Copyright (C) 2009, 2011 Volker Berlin (i-net software)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
i... | gpl-3.0 |
axmetishe/serna-free | serna/i18n/ts/qscintilla_fr.ts | 68017 | <!DOCTYPE TS><TS>
<context>
<name>QextScintillaCommand</name>
<message>
<source>Move down one line</source>
<translation>Déplacement d'une ligne vers le bas</translation>
</message>
<message>
<source>Extend selection down one line</source>
<translation>Extension de l... | gpl-3.0 |
flikas/WinAuth7 | WinAuth7/BouncyCastle/src/bcpg/ElGamalSecretBcpgKey.cs | 1019 | using System;
using Org.BouncyCastle.Math;
namespace Org.BouncyCastle.Bcpg
{
/// <remarks>Base class for an ElGamal secret key.</remarks>
public class ElGamalSecretBcpgKey
: BcpgObject, IBcpgKey
{
internal MPInteger x;
/**
* @param in
*/
public ElGamalSecretBcpgKey(
BcpgInputStream ... | gpl-3.0 |
collectiveaccess/pawtucket2 | vendor/hoa/event/Test/Unit/Event.php | 9528 | <?php
/**
* Hoa
*
*
* @license
*
* New BSD License
*
* Copyright © 2007-2017, Hoa community. 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 ... | gpl-3.0 |
ThinkUpLLC/ThinkUp | webapp/plugins/insightsgenerator/tests/TestOfOutreachPunchcardInsight.php | 18997 | <?php
/**
*
* ThinkUp/webapp/plugins/insightsgenerator/tests/TestOfOutreachPunchcardInsight.php
*
* Copyright (c) 2013 Nilaksh Das, Gina Trapani
*
* LICENSE:
*
* This file is part of ThinkUp (http://thinkup.com).
*
* ThinkUp is free software: you can redistribute it and/or modify it under the terms of the GNU... | gpl-3.0 |
danmar/cppcheck | test/bug-hunting/cve/CVE-2019-15939/precomp.hpp | 2392 | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | gpl-3.0 |
LeChuckDE/open-expanse-pool | proxy/proto.go | 816 | package proxy
import "encoding/json"
type JSONRpcReq struct {
Id *json.RawMessage `json:"id"`
Method string `json:"method"`
Params *json.RawMessage `json:"params"`
}
type StratumReq struct {
JSONRpcReq
Worker string `json:"worker"`
}
// Stratum
type JSONPushMessage struct {
// FIXME: Temporarily... | gpl-3.0 |
ebukoz/thrive | erpnext/manufacturing/doctype/workstation/workstation.py | 4451 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe import _
from erpnext.support.doctype.issue.issue import get_holidays
from frappe.utils import (flt, cint, getdate, formatdate... | gpl-3.0 |
hmorrin/uk.ac.nsamr.journal | jsamr/lib/pkp/classes/note/NoteDAO.inc.php | 7236 | <?php
/**
* @file classes/note/NoteDAO.inc.php
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2000-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class NoteDAO
* @ingroup note
* @see Note
*
* @brief Operations for retrievin... | gpl-3.0 |
wfrog/wfrog | wfrender/renderer/openweathermap.py | 9177 | ## Copyright 2013 Jordi Puigsegur <jordi.puigsegur@gmail.com>
##
## This file is part of wfrog
##
## wfrog 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... | gpl-3.0 |
beppec56/core | qadevOOo/runner/lib/Status.java | 4362 | /*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | gpl-3.0 |
saddieeiddas/Camelot-Unchained | library/src/components/ErrorBoundary.tsx | 1660 | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import * as React from 'react';
export interface ErrorBoundaryProps {
renderError?: (error: Error, info: {... | mpl-2.0 |
danlrobertson/servo | tests/wpt/web-platform-tests/wasm/jsapi/module/constructor.any.js | 1935 | // META: global=jsshell
// META: script=/wasm/jsapi/wasm-constants.js
// META: script=/wasm/jsapi/wasm-module-builder.js
// META: script=/wasm/jsapi/assertions.js
let emptyModuleBinary;
setup(() => {
emptyModuleBinary = new WasmModuleBuilder().toBuffer();
});
test(() => {
assert_function_name(WebAssembly.Module, ... | mpl-2.0 |
BrunoChauvet/timetrex | classes/smarty/libs/plugins/modifier.number_format.php | 628 | <?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty number_format modifier plugin
*
* Type: modifier<br>
* Name: number_format<br>
* Purpose: format number via number_format
* @link http://smarty.php.net/manual/en/language.modifier.number.format.php
* number_format (Smarty onl... | agpl-3.0 |
arbrandes/edx-platform | openedx/core/djangoapps/api_admin/api/v1/serializers.py | 478 | """
API v1 serializers.
"""
from rest_framework import serializers
from openedx.core.djangoapps.api_admin.models import ApiAccessRequest
class ApiAccessRequestSerializer(serializers.ModelSerializer):
"""
ApiAccessRequest serializer.
"""
class Meta:
model = ApiAccessRequest
fields = (... | agpl-3.0 |
auf/crm_auf_org | cache/modules/TemplateSectionLine/TemplateSectionLinevardefs.php | 8796 | <?php
$GLOBALS["dictionary"]["TemplateSectionLine"]=array (
'table' => 'templatesectionline',
'audited' => true,
'inline_edit' => true,
'duplicate_merge' => true,
'fields' =>
array (
'id' =>
array (
'name' => 'id',
'vname' => 'LBL_ID',
'type' => 'id',
'required' => true,
... | agpl-3.0 |
RobertBierbauer/spatial | src/main/java/org/neo4j/gis/spatial/rtree/SpatialIndexWriter.java | 1115 | /**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Foundati... | agpl-3.0 |
msegado/edx-platform | lms/djangoapps/shoppingcart/migrations/0001_initial.py | 18329 | # -*- coding: utf-8 -*-
import django.db.models.deletion
import django.utils.timezone
import model_utils.fields
from django.conf import settings
from django.db import migrations, models
from opaque_keys.edx.django.models import CourseKeyField
class Migration(migrations.Migration):
dependencies = [
migr... | agpl-3.0 |