code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
<?php
/*
* LibreNMS
*
* Copyright (c) 2018 Søren Friis Rosiak <sorenrosiak@gmail.com>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option... | arrmo/librenms | includes/html/pages/oxidized.inc.php | PHP | gpl-3.0 | 7,347 |
<?php defined('SYSPATH') or die('No direct script access.');?>
<?if ($widget->rss_title!=''):?>
<div class="panel-heading">
<h3 class="panel-title"><?=$widget->rss_title?></h3>
</div>
<?endif?>
<div class="panel-body">
<ul>
<?foreach ($widget->rss_items as $item):?>
<li><a target="_blank" href="<?=$item['li... | oliverds/open-eshop | oc/common/modules/widgets/views/widget/widget_rss.php | PHP | gpl-3.0 | 428 |
package edu.isi.bmkeg.lapdf.xml.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlR... | benmccann/lapdftext | src/main/java/edu/isi/bmkeg/lapdf/xml/model/LapdftextXMLDocument.java | Java | gpl-3.0 | 1,272 |
/*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver 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 ... | mich181189/crtmpserver-YSTV | sources/thelib/src/mediaformats/readers/mp4/atomtrak.cpp | C++ | gpl-3.0 | 2,029 |
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
... | ArsenShnurkov/gitextensions | GitCommands/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 413 |
/*
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
See the accompanying file LICENSE, version 2000-Apr-09 or later
(the contents of which are also included in unzip.h) for terms of use.
If, for some reason, all these files are missing, the Info-ZIP license
also may be found at: ftp://ftp.info-zip.or... | asimonov-im/boinc | zip/unzip/unzipstb.c | C | gpl-3.0 | 2,328 |
var Conditions;
Conditions = function() {
var self = this;
this.compare = function( leftValue, rightValue, operator ) {
switch ( operator ) {
/* eslint-disable eqeqeq */
case '==':
return leftValue == rightValue;
case '!=':
return leftValue != rightValue;
/* eslint-enable eqeqeq */
case '!=... | ramiy/elementor | assets/dev/js/editor/utils/conditions.js | JavaScript | gpl-3.0 | 1,771 |
/**
* SqueezeBox - Expandable Lightbox
*
* Allows to open various content as modal,
* centered and animated box.
*
* Dependencies: MooTools 1.2
*
* Inspired by
* ... Lokesh Dhakar - The original Lightbox v2
*
* @version 1.1 rc4
*
* @license MIT-style license
* @author Harald Kirschner <mail [at] digi... | luizwbr/MoIP-VirtueMart-3 | assets/js/SqueezeBox.js | JavaScript | gpl-3.0 | 12,254 |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayOpenPublicInfoModifyResponse.
/// </summary>
public class AlipayOpenPublicInfoModifyResponse : AopResponse
{
/// <summary>
/// 服务窗审核状态描述,如果审核驳回则有相关的驳回理由
/// </summary>
... | ColgateKas/cms | source/BaiRong.Core/ThirdParty/Alipay/openapi/Response/AlipayOpenPublicInfoModifyResponse.cs | C# | gpl-3.0 | 748 |
##
## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2014 Uwe Hermann <uwe@hermann-uwe.de>
##
## 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... | sigrokproject/libsigrokdecode | decoders/eeprom24xx/lists.py | Python | gpl-3.0 | 5,965 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
<head>
<title>File used for navigation testing: 1.1 Section in chapter</title>
<meta name="description" content="File used for navigation testi... | cfx-next/toolchain_texinfo | tp/tests/layout/res_parser/navigation_section_vertical/section.html | HTML | gpl-3.0 | 6,107 |
use vars qw(%result_texis %result_texts %result_trees %result_errors
%result_indices %result_sectioning %result_nodes %result_menus
%result_floats %result_converted %result_converted_errors
%result_elements %result_directions_text);
use utf8;
$result_trees{'implicit_quoting_recursion'} = {
'contents' => ... | cfx-next/toolchain_texinfo | tp/t/results/macro/implicit_quoting_recursion.pl | Perl | gpl-3.0 | 3,692 |
<?php
/**
* PHPUnit
*
* Copyright (c) 2002-2011, Sebastian Bergmann <sebastian@phpunit.de>.
* 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 ... | seiyar81/phpui | tests/library/PHPUnit/Extensions/TestDecorator_1.php | PHP | gpl-3.0 | 4,521 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which gener... | s20121035/rk3288_android5.1_repo | frameworks/base/docs/html/sdk/api_diff/20/changes/constructors_index_changes.html | HTML | gpl-3.0 | 2,458 |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved.
// +-----------------------------------------... | zning1994/newscentersystem | ThinkPHP/Extend/Driver/Template/TemplateSmarty.class.php | PHP | gpl-3.0 | 1,999 |
package edu.dfci.cccb.mev.annotation.elasticsearch.perf.alltypes;
public class PerfTestNumerify_AllTypes_100Krows_10cols extends PerfTestNumerify_AllTypes_Base {
// run 1 each index about 45M
// samples: 3
// max: 17080
// average: 14201.333333333334
// median: 10171
@Override
protected long getNUMCOL... | apartensky/mev | annotation/elasticsearch/src/test/java/edu/dfci/cccb/mev/annotation/elasticsearch/perf/alltypes/PerfTestNumerify_AllTypes_100Krows_10cols.java | Java | gpl-3.0 | 419 |
//
// C++ Implementation: stopwatch
//
// Description:
//
//
// Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "stopwatch.h"
#include <iostream>
using namespace std;
... | lizh06/src-highlite | lib/srchilite/stopwatch.cpp | C++ | gpl-3.0 | 486 |
/*
* Copyright (c) 2010, SQL Power Group Inc.
*
* This file is part of Wabit.
*
* Wabit 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... | SQLPower/wabit | src/main/java/ca/sqlpower/wabit/rs/ResultSetProducerStatusInformant.java | Java | gpl-3.0 | 853 |
<?php
/*
* 2007-2015 PrestaShop
*
* 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... | rjpalermo1/paymentsandbox_ps | src/modules/ps_checkpayment/upgrade/upgrade-2.5.8.php | PHP | gpl-3.0 | 1,241 |
#!/usr/bin/env /usr/bin/python
#
# Copyright 2014 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio 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 o... | mrjacobagilbert/gnuradio | gr-dtv/python/dtv/atsc_rx_filter.py | Python | gpl-3.0 | 2,537 |
<?php
echo("Processors : ");
// Include all discovery modules
$include_dir = "includes/discovery/processors";
include("includes/include-dir.inc.php");
// Last-resort discovery here
include("processors-ucd-old.inc.php");
// Remove processors which weren't redetected here
$sql = "SELECT * FROM `processors` WHERE `... | wojons/librenms | includes/discovery/processors.inc.php | PHP | gpl-3.0 | 1,080 |
##
## This file is part of the libsigrok project.
##
## Copyright (C) 2014 Martin Ling <martin-sigrok@earth.li>
##
## 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 Lice... | mtitinger/libsigrok | bindings/swig/doc.py | Python | gpl-3.0 | 4,655 |
// Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_
#define V8_ARM_MACRO_ASSEMBLER_ARM_H_
#include "src/assembler.h"
#include "src/bailout-reason.h"
#include "src/fr... | zhangf911/fibjs | vender/v8/src/arm/macro-assembler-arm.h | C | gpl-3.0 | 63,551 |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | qtproject/qt-creator | src/plugins/qmldesigner/designercore/filemanager/addarraymembervisitor.cpp | C++ | gpl-3.0 | 4,529 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>org.apache.commons.codec Class Hierarchy (Apache Commons Codec 1.9 API)</title>
<link rel="styleshee... | LordTerbium/Ampl | libs/commons-codec-1.9/apidocs/org/apache/commons/codec/package-tree.html | HTML | gpl-3.0 | 7,521 |
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Mtf\Client\Element;
use Magento\Mtf\Client\Locator;
use Magento\Mtf\Client\ElementInterface;
/**
* Class MultiselectgrouplistElement
* Typified element class for multiselect with group
*/
clas... | rajmahesh/magento2-master | vendor/magento/magento2-base/dev/tests/functional/lib/Magento/Mtf/Client/Element/MultiselectgrouplistElement.php | PHP | gpl-3.0 | 9,293 |
/*++ BUILD Version: 0001 // Increment this if a change has global effects
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
ntddstor.h
Abstract:
This is the include file that defines all common constants and types
accessing the storage class drivers
Author:
Peter Wieland 1... | vldbhw/sector_level_mapping_FTL | installer/ntddstor.h | C | gpl-3.0 | 24,817 |
<?php
/**
* @package WPSEO\Admin
*/
/**
* Represents the values for a single Yoast Premium extension plugin.
*/
class WPSEO_License_Page_Manager implements WPSEO_WordPress_Integration {
const VERSION_LEGACY = '1';
const VERSION_BACKWARDS_COMPATIBILITY = '2';
/**
* Registers all hooks to WordPress.
*/
pub... | WordBenchNagoya/WordFes2017 | wp/wp-content/plugins/wordpress-seo/admin/class-license-page-manager.php | PHP | gpl-3.0 | 5,869 |
-----------------------------------
--
-- Zone: Windurst_Walls (239)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/zones/... | FFXIOrgins/FFXIOrgins | scripts/zones/Windurst_Walls/Zone.lua | Lua | gpl-3.0 | 2,810 |
#!/bin/env ruby
require 'xml'
resolutions = {
'mdpi' => 1,
'hdpi' => 1.5,
'xhdpi' => 2,
'xxhdpi' => 3,
'xxxhdpi' => 4,
}
images = {
'main_logo.svg' => ['conversations/main_logo', 200],
'quicksy_main_logo.svg' => ['quicksy/main_logo', 200],
'splash_logo.svg' => ['conversations/splash_logo', 144],
'... | cijo7/Conversations | art/render.rb | Ruby | gpl-3.0 | 6,801 |
<style>
.blinking_alarm {
-webkit-animation-name: blinker;
-webkit-animation-duration: 0.7s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: blinker;
-moz-animation-duration: 0.7s;
-moz-animation-timing-function: linear;
-m... | davidwallis3101/HomeGenie | BaseFiles/Common/html/pages/control/widgets/homegenie/generic/securitysystem.html | HTML | gpl-3.0 | 3,055 |
package chat.tox.antox.utils
import java.io.File
import java.sql.Timestamp
import chat.tox.antox.fragments.ContactItemType.ContactItemType
import chat.tox.antox.wrapper.ContactKey
import im.tox.tox4j.core.enums.ToxUserStatus
class LeftPaneItem(
val viewType: ContactItemType,
v... | wiiam/Antox | app/src/main/scala/chat/tox/antox/utils/LeftPaneItem.scala | Scala | gpl-3.0 | 1,064 |
/* Copyright 2014 the SumatraPDF project authors (see AUTHORS file).
License: Simplified BSD */
/* Wrappers around dbghelp.dll that load it on demand and provide
utility functions related to debugging like getting callstacs etc.
This module is carefully written to not allocate memory as it
can be us... | ibb-zimmers/betsynetpdf | sumatrapdf/src/utils/DbgHelpDyn.cpp | C++ | gpl-3.0 | 21,447 |
"use strict";
/*global define, ajaxify, app, socket, utils, bootbox, RELATIVE_PATH*/
define('admin/general/dashboard', ['semver', 'Chart'], function(semver, Chart) {
var Admin = {},
intervals = {
rooms: false,
graphs: false
},
isMobile = false,
isPrerelease = /^v?\d+\.\d+\.\d+-.+$/,
graphData = {
r... | rockq-org/cnodebb | public/src/admin/general/dashboard.js | JavaScript | gpl-3.0 | 13,348 |
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
* AP_EPM.h
*
* Created on: DEC 06, 2013
* Author: Andreas Jochum
*
* Set-up Wiki: http://copter.ardupilot.com/wiki/common-electro-permanent-magnet-gripper/
*/
/// @file AP_EPM.h
/// @brief AP_EPM control class
#pragma on... | busyStone/ardupilot | libraries/AP_EPM/AP_EPM.h | C | gpl-3.0 | 2,448 |
//===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | reinhrst/panda | usr/lib/llvm-3.0/include/llvm/Pass.h | C | gpl-3.0 | 14,333 |
// Copyright (c) Aura development team - Licensed under GNU GPL
// For more information, see license file in the main folder
using Aura.Mabi.Const;
using Aura.Shared.Database;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
namespace Aura.Msgr.Database
{
public class MsgrDb : AuraDb
{... | xeroplz/aura | src/MsgrServer/Database/MsgrDb.cs | C# | gpl-3.0 | 18,465 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Kiddinglife/gecoengine | thirdparty/apr/test/testshm.c | C | gpl-3.0 | 9,081 |
package org.impact2585.lib2585;
/**
* SAM interface with a destroy() method
*/
@FunctionalInterface
public interface Destroyable{
/**
* destroy object
*/
public void destroy();
}
| 2585Robophiles/Lib2585 | src/org/impact2585/lib2585/Destroyable.java | Java | gpl-3.0 | 205 |
/*
===========================================================================
ARX FATALIS GPL Source Code
Copyright (C) 1999-2010 Arkane Studios SA, a ZeniMax Media company.
This file is part of the Arx Fatalis GPL Source Code ('Arx Fatalis Source Code').
Arx Fatalis Source Code is free software: you can red... | johndrinkwater/arx-fatalis | src/DANAE/ARX_SpellFx_Lvl04.h | C | gpl-3.0 | 7,681 |
# -*- coding: utf-8 -*-
from datetime import date, datetime, timedelta
from odoo import api, fields, models, SUPERUSER_ID, _
from odoo.exceptions import UserError
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT
class MaintenanceStage(models.Model):
""" Model for case stages. Th... | richard-willowit/odoo | addons/maintenance/models/maintenance.py | Python | gpl-3.0 | 20,858 |
package command
import (
"fmt"
"io/ioutil"
"os"
"path"
"runtime"
"time"
getter "github.com/hashicorp/go-getter"
"github.com/hashicorp/nomad/helper/discover"
)
// fetchBinary fetches the nomad binary and returns the temporary directory where it exists
func fetchBinary(bin string) (string, error) {
nomadBinar... | nak3/nomad | e2e/cli/command/util.go | GO | mpl-2.0 | 1,122 |
/* 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/. */
use CompositorProxy;
use compositor_task;
use devtools_traits::{DevtoolsControlMsg, ScriptToDevtoolsControlMsg};
u... | RenaudParis/servo | components/compositing/pipeline.rs | Rust | mpl-2.0 | 17,123 |
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Object Storage Service API
//
// Common set of Object Storage and Archive Storage APIs for managing buckets, objects, and related resources.
//
package objectstorage
import (
"github.com/oracle/o... | joelthompson/vault | vendor/github.com/oracle/oci-go-sdk/objectstorage/work_request_log_entry.go | GO | mpl-2.0 | 807 |
# 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/.
from __future__ import absolute_import
try:
from setuptools import setup
except ImportError:
from distutils.core... | CYBAI/servo | python/mach/setup.py | Python | mpl-2.0 | 1,204 |
{# 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/. -#}
{% extends "firefox/whatsnew/whatsnew-base-42.html" %}
{% add_lang_files "firefox/whatsnew_42" %}
{% block page... | glogiotatidis/bedrock | bedrock/firefox/templates/firefox/whatsnew/whatsnew-zh-tw-49.html | HTML | mpl-2.0 | 1,952 |
/* 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/. */
// Copyright 2013, Schmidt and Chen
#include "pblas.h"
// R.h and Rinternals.h needs to be included after Rconf... | cran/pbdBASE | src/base_pblas_level3.c | C | mpl-2.0 | 1,581 |
"""add timezone to each station
Revision ID: 4d0be367f095
Revises: 6722b0ef4e1
Create Date: 2014-03-19 16:43:00.326820
"""
# revision identifiers, used by Alembic.
revision = '4d0be367f095'
down_revision = '6722b0ef4e1'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated ... | rootio/rootio_web | alembic/versions/4d0be367f095_station_timezone.py | Python | agpl-3.0 | 644 |
<?php
/**
* $Id: ml.php,v 1.3 2005/10/03 15:07:27 mike Exp $
*/
$this->codes = array(
'ADP' => 'Andorran Peseta',
'AED' => 'United Arab Emirates Dirham',
'AFA' => 'Afghani (1927-2002)',
'AFN' => 'Afghani',
'ALL' => 'Albanian Lek',
'AMD' => 'Armenian Dram',
'ANG' => 'Netherlands Antillan Gu... | alachaum/timetrex | classes/pear/I18Nv2/Currency/ml.php | PHP | agpl-3.0 | 8,992 |
<?php
/*********************************************************************************
* TimeTrex is a Payroll and Time Management program developed by
* TimeTrex Software Inc. Copyright (C) 2003 - 2014 TimeTrex Software Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the... | alachaum/timetrex | classes/modules/core/LogDetailListFactory.class.php | PHP | agpl-3.0 | 4,974 |
# Copyright (C) 2016 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 hope that it... | matematikk-mooc/canvas-lms | spec/models/lti/content_migration_service_spec.rb | Ruby | agpl-3.0 | 2,970 |
# -*- coding: utf-8 -*-
from . import models
from .hooks import set_default_map_settings
| brain-tec/partner-contact | partner_external_map/__init__.py | Python | agpl-3.0 | 90 |
# -*- coding: utf-8 -*-
##############################################################################
#
# Author: Yannick Vaucher
# Copyright 2013 Camptocamp SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# pub... | Antiun/carrier-delivery | delivery_carrier_label_postlogistics/delivery.py | Python | agpl-3.0 | 10,691 |
# Tableless model to handle updating multiple models at once from a single form
class ModelSet
include ActiveModel::Conversion
extend ActiveModel::Naming
attr_accessor :collection
def initialize(klass, collection, attributes={}, reject_if=nil, delete_if=nil)
@klass, @collection, @reject_if, @delete_if = k... | levent/openfoodnetwork | app/models/model_set.rb | Ruby | agpl-3.0 | 1,775 |
/*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#ifndef _FABRIC_CG_SCOPE_H
#define _FABRIC_CG_SCOPE_H
#include <Fabric/Core/CG/BasicBlockBuilder.h>
#include <Fabric/Core/CG/ExprValue.h>
#include <Fabric/Core/CG/Adapter.h>
#include <Fabric/Core/CG/Error.h>
#include <Fabric/Core/CG/Location.h>
#i... | chbfiv/fabric-engine-old | Native/Core/CG/Scope.h | C | agpl-3.0 | 8,376 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU... | jmesteve/saas3 | openerp/addons/account/wizard/account_report_account_balance.py | Python | agpl-3.0 | 1,729 |
class CreatePollWhiteResults < ActiveRecord::Migration[4.2]
def change
create_table :poll_white_results do |t|
t.integer :author_id
t.integer :amount
t.string :origin
t.date :date
t.integer :booth_assignment_id
t.integer :officer_assignment_id
t.text :amount_log, ... | AyuntamientoPuertoReal/decidePuertoReal | db/migrate/20170203163304_create_poll_white_results.rb | Ruby | agpl-3.0 | 591 |
<?php
/*********************************************************************************
* TimeTrex is a Payroll and Time Management program developed by
* TimeTrex Software Inc. Copyright (C) 2003 - 2014 TimeTrex Software Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the... | maestrano/timetrex | classes/modules/install/InstallSchema.class.php | PHP | agpl-3.0 | 4,618 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (c) 2009 Zikzakmedia S.L. (http://zikzakmedia.com) All Rights Reserved.
# Jordi Esteve <jesteve@zikzakmedia.com>
# $Id$
#
# Th... | jmesteve/saas3 | openerp/addons_extra/l10n_es_fiscal_year_closing/wizard/__init__.py | Python | agpl-3.0 | 1,141 |
// Sifer Aseph
// Empty
| Surufel/Personal | 1.sifer--/Out of Date/Empty.h | C | agpl-3.0 | 24 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2013-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | aihua/opennms | features/topology-map/plugins/org.opennms.features.topology.plugins.browsers/src/test/java/org/opennms/features/topology/plugins/browsers/OnmsDaoContainerTest.java | Java | agpl-3.0 | 2,542 |
class AddLastInlineViewToAttachments < ActiveRecord::Migration[4.2]
tag :predeploy
def self.up
add_column :attachments, :last_inline_view, :datetime
end
def self.down
remove_column :attachments, :last_inline_view
end
end
| matematikk-mooc/canvas-lms | db/migrate/20130521223335_add_last_inline_view_to_attachments.rb | Ruby | agpl-3.0 | 241 |
// Copyright 2012 Evrytania LLC (http://www.evrytania.com)
//
// Written by James Peroulas <james@evrytania.com>
//
// 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 ... | hongyunnchen/LTE-Cell-Scanner | src/CellSearch.cpp | C++ | agpl-3.0 | 53,734 |
/*
* 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... | ShatalovYaroslav/scheduling | rest/rest-server/src/main/java/org/ow2/proactive_grid_cloud_portal/common/StatHistoryCaching.java | Java | agpl-3.0 | 4,896 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>strategy::transform::translate_transformer</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href... | ntonjeta/iidea-Docker | examples/sobel/src/boost_1_63_0/libs/geometry/doc/html/geometry/reference/strategies/strategy_transform_translate_transformer.html | HTML | agpl-3.0 | 7,837 |
--TEST--
package-validate command
--SKIPIF--
<?php
if (!getenv('PHP_PEAR_RUNTESTS')) {
echo 'skip';
}
?>
--FILE--
<?php
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'setup.php.inc';
$savedir = getcwd();
chdir($temp_path);
copy(dirname(__FILE__) . '/packagefiles/validv1.xml', $temp_path . DIRECTO... | aydancoskun/timetrex-community-edition | vendor/pear/pear/tests/PEAR_Command_Package/package-validate/test.phpt | PHP | agpl-3.0 | 5,778 |
<%inherit file="/template.html" />
<%namespace name="components" file="/components.html" />
<%namespace name="admin_tiles" file="/admin/tiles.html" />
<%def name="title()">${_("Site administration")}</%def>
<%block name="headline">
${admin_tiles.headline()}
</%block>
<%block name="main_content">
<dl>
<dt>Adhocra... | phihag/adhocracy | src/adhocracy/templates/admin/index.html | HTML | agpl-3.0 | 454 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/s3/model/DefaultRetention.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <utili... | uroni/urbackup_backend | external/aws-cpp-sdk/aws-cpp-sdk-s3/source/model/DefaultRetention.cpp | C++ | agpl-3.0 | 2,540 |
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='../../static_content.html'/>
<%namespace file='../../main.html' import="login_query"/>
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
%>
<div class="collapse navbar-collapse" id="navbarSupporte... | pepeportela/edx-platform | lms/templates/navigation/bootstrap/navbar-authenticated.html | HTML | agpl-3.0 | 2,743 |
odoo.define('mail/static/src/models/activity/activity/js', function (require) {
'use strict';
const { registerNewModel } = require('mail/static/src/model/model_core.js');
const { attr, many2many, many2one } = require('mail/static/src/model/model_field.js');
const { clear } = require('mail/static/src/model/model_field_... | rven/odoo | addons/mail/static/src/models/activity/activity.js | JavaScript | agpl-3.0 | 11,677 |
// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package state
import (
"time"
"github.com/juju/errors"
"github.com/juju/loggo"
"github.com/juju/names"
"github.com/juju/utils"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
"gopkg.in/mgo.v2/txn"
)
var actionLogger = logg... | cmars/juju | state/action.go | GO | agpl-3.0 | 14,225 |
# -*- encoding: utf-8 -*-
##############################################################################
#
# Account Cut-off Base module for OpenERP
# Copyright (C) 2013 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
#
# This program is free software: you can re... | AlceConsorcio/account-closing | account_cutoff_base/__openerp__.py | Python | agpl-3.0 | 2,130 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... | CodeDJ/qt5-hidpi | qt/qtdoc/doc/src/snippets/printing-qprinter/main.cpp | C++ | lgpl-2.1 | 2,290 |
/* Create sockets for use in tests (client side).
Copyright (C) 2011-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, o... | foxban/libvirt-0.9.12-centos5 | gnulib/tests/socket-client.h | C | lgpl-2.1 | 1,909 |
/* Clear given exceptions in current floating-point environment.
Copyright (C) 2013 Imagination Technologies Ltd.
This file is part of the GNU C Library.
The GNU C 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 ... | wbx-github/uclibc-ng | libm/metag/fclrexcpt.c | C | lgpl-2.1 | 1,254 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* JBoss, Home of Professional Open Source
* Copyright 2012 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual ... | anistor/hibernate-hql-parser | parser/src/test/java/org/hibernate/hql/test/tree/HQLTreeWalkerTest.java | Java | lgpl-2.1 | 1,231 |
package org.fosstrak.epcis.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotat... | Jonnychen/fosstrak-epcis | epcis-commons/src/main/java/org/fosstrak/epcis/model/VocabularyElementType.java | Java | lgpl-2.1 | 5,818 |
<?php
namespace wcf\system\worker;
/**
* Every worker has to implement this interface.
*
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.worker
* @catego... | ramiusGitHub/WCF | wcfsetup/install/files/lib/system/worker/IWorker.class.php | PHP | lgpl-2.1 | 1,302 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) Alkacon Software (http://www.alkacon.com)
*
* 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... | it-tavis/opencms-core | src/org/opencms/ade/configuration/I_CmsConfigurationObject.java | Java | lgpl-2.1 | 2,390 |
/*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | liujed/polyglot-eclipse | src/polyglot/ext/jl5/translate/JL5TypeNodeToJL_c.java | Java | lgpl-2.1 | 1,793 |
include ../../../config.mak
vpath %.c $(SRC_PATH)/applications/generators/MPEG4
CFLAGS= $(OPTFLAGS) -I"$(SRC_PATH)/include"
ifeq ($(DEBUGBUILD), yes)
CFLAGS+=-g
LDFLAGS+=-g
endif
ifeq ($(GPROFBUILD), yes)
CFLAGS+=-pg
LDFLAGS+=-pg
endif
#common obj
OBJS= main.o
ifeq ($(CONFIG_WIN32),yes)
EXE=.exe
PROG=MPEG4Gen$(EX... | wipple/GPAC-old | applications/generators/MPEG4/Makefile | Makefile | lgpl-2.1 | 804 |
<?php
/*
* Limb PHP Framework
*
* @link http://limb-project.com
* @copyright Copyright © 2004-2009 BIT(http://bit-creative.com)
* @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/macro/src/tags/form/lmbMacroFormElementTag.class.php');
/**
* Macro analog for html <label> tag
... | anoam/limb | macro/src/tags/form/label.tag.php | PHP | lgpl-2.1 | 621 |
/*
* Copyright (c) 2003 by Hewlett-Packard Company. All rights reserved.
*
* 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
... | prefetchnta/crhack | src/ex3rd/atom/atomic_ops/sysdeps/generic_pthread.h | C | lgpl-2.1 | 11,341 |
/* **********************************************************
* Copyright 2006 VMware, Inc. All rights reserved.
* **********************************************************/
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from so... | vyos/open-vm-tools | lib/string/bsd_vsnwprintf.c | C | lgpl-2.1 | 51,656 |
{
//
//This macro produces the flowchart of TFormula::Analyze
//Author: Rene Brun
gROOT->Reset();
c1 = new TCanvas("c1","Analyze.mac",620,790);
c1->Range(-1,0,19,30);
TPaveLabel pl1(0,27,3.5,29,"Analyze");
pl1.SetFillColor(42);
pl1.Draw();
TPaveText pt1(0,22.8,4,25.2);
TText *t1=pt1.Ad... | smuzaffar/root | tutorials/graphics/analyze.C | C++ | lgpl-2.1 | 3,841 |
/*
* Copyright © 1999/2000 by Henning Zabel <henning@uni-paderborn.de>
*
* 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 ve... | Asofa/libgphoto2 | camlibs/mustek/rs232.c | C | lgpl-2.1 | 5,097 |
// AForge Fuzzy Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2011
// contacts@aforgenet.com
//
namespace Accord.Fuzzy
{
using System;
using System.Collections.Generic;
/// <summary>
/// Interface which specifies set of methods required to b... | anders9ustafsson/framework | Sources/Accord.Fuzzy/Defuzzification/IDefuzzifier.cs | C# | lgpl-2.1 | 1,774 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2011, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | fluidware/Eastwood-Charts | source/org/jfree/chart/labels/HighLowItemLabelGenerator.java | Java | lgpl-2.1 | 8,308 |
/****************************************************************************
**
** 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... | farseerri/git_code | src/plugins/coreplugin/find/itemviewfind.cpp | C++ | lgpl-2.1 | 10,991 |
/*
Copyright (C) 1998-2001 by Jorrit Tyberghein
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, or (at your option) any later version.
... | garinh/cs | apps/walktest/bot.h | C | lgpl-2.1 | 2,134 |
#include <mingpp.h>
#include <cstdlib>
int main()
{
try {
SWFMovie *m = new SWFMovie(8);
SWFBitmap *bmp = new SWFBitmap(MEDIADIR "/image01.png");
SWFFillStyle *fill = SWFFillStyle::BitmapFillStyle(bmp, SWFFILL_CLIPPED_BITMAP);
SWFShape *shape = new SWFShape();
shape->setRightFillStyle(fill);
shape->se... | pombredanne/libming | test/FillStyle/test05-cxx.C | C++ | lgpl-2.1 | 634 |
/*
qgvdial is a cross platform Google Voice Dialer
Copyright (C) 2009-2014 Yuvraaj Kelkar
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, or (at your option... | alexuser01/qgvdial | qgvdial/common/LibGvPhones.cpp | C++ | lgpl-2.1 | 11,192 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | CodeDJ/qt5-hidpi | qt/qtxmlpatterns/src/xmlpatterns/data/qvalidationerror.cpp | C++ | lgpl-2.1 | 3,188 |
/****************************************************************************
**
** 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... | maui-packages/qt-creator | src/plugins/texteditor/fontsettingspage.cpp | C++ | lgpl-2.1 | 22,484 |
import Graphics.UI.Gtk
main :: IO ()
main = do
initGUI
window <- windowNew
set window [windowTitle := "Paned Window", containerBorderWidth := 10,
windowDefaultWidth := 400, windowDefaultHeight := 400 ]
pw <- vPanedNew
panedSetPosition pw 250
containerAdd window pw
a... | thiagoarrais/gtk2hs | docs/tutorial/Tutorial_Port/Example_Code/GtkChap6-4.hs | Haskell | lgpl-2.1 | 830 |
#!/usr/bin/env python
import os, sys
usage = "usage: %s [infile [outfile]]" % os.path.basename(sys.argv[0])
if len(sys.argv) < 1:
print (usage)
else:
stext = "<insert_a_suppression_name_here>"
rtext = "memcheck problem #"
input = sys.stdin
output = sys.stdout
hit = 0
if len(sys.argv) > 1:
... | lubosz/gst-plugins-vr | valgrind_helpers/valgrind-make-fix-list.py | Python | lgpl-2.1 | 628 |
/*
* Bytecode Analysis Framework
* Copyright (C) 2005, 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, or (at your opt... | sewe/spotbugs | spotbugs/src/main/java/edu/umd/cs/findbugs/ba/constant/ConstantAnalysis.java | Java | lgpl-2.1 | 4,051 |
/* XMMS2 - X Music Multiplexer System
* Copyright (C) 2003-2012 XMMS2 Team
*
* PLUGINS ARE NOT CONSIDERED TO BE DERIVED WORK !!!
*
* 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 Foundat... | krad-radio/xmms2-krad | src/include/xmmsclient/xmmsclient-glib.h | C | lgpl-2.1 | 1,011 |
\hypertarget{dir_6ca7175fe5193725769f75a368e0096d}{}\section{Cqrs.\+Mongo\+DB Directory Reference}
\label{dir_6ca7175fe5193725769f75a368e0096d}\index{Cqrs.\+Mongo\+D\+B Directory Reference@{Cqrs.\+Mongo\+D\+B Directory Reference}}
\subsection*{Directories}
\begin{DoxyCompactItemize}
\item
directory \hyperlink{dir_a0dd... | Chinchilla-Software-Com/CQRS | wiki/docs/2.1/latex/dir_6ca7175fe5193725769f75a368e0096d.tex | TeX | lgpl-2.1 | 924 |
/* permutation/gsl_permute_vector_double.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
*
* 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 Lice... | PeterWolf-tw/NeoPraat | sources_5401/external/gsl/gsl_permute_vector_double.h | C | lgpl-3.0 | 1,443 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.