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
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\db\pgsql;
use yii\base\InvalidArgumentException;
use yii\db\Constraint;
use yii\db\Expression;
use yii\db\ExpressionInterface;
use yii\db\Query;
use yii\... | Pgans/yii2a-devices | vendor/yiisoft/yiisoft/yii2/db/pgsql/QueryBuilder.php | PHP | gpl-3.0 | 22,618 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | ngcurrier/ProteusCFD | TPLs/hdf5/hdf5-1.10.2/test/enc_dec_plist.c | C | gpl-3.0 | 16,932 |
package org.triplea.modules.game.lobby.watcher;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import ... | triplea-game/triplea | spitfire-server/lobby-module/src/test/java/org/triplea/modules/game/lobby/watcher/ChatUploadModuleTest.java | Java | gpl-3.0 | 1,885 |
package us.talabrek.ultimateskyblock.handler;
import net.milkbowl.vault.economy.Economy;
import net.milkbowl.vault.item.ItemInfo;
import net.milkbowl.vault.item.Items;
import net.milkbowl.vault.permission.Permission;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStac... | swan201/uSkyBlock | uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/handler/VaultHandler.java | Java | gpl-3.0 | 2,682 |
C
C
C Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
C
C This program is free software; you can redistribute it and/or modify it
C under the terms of version 2.1 of the GNU Lesser General Public License
C as published by the Free Software Foundation.
C
C This program is distributed in the h... | pumpkin83/OpenUH-OpenACC | osprey/libu/util/c1/xpfmt.f | FORTRAN | gpl-3.0 | 34,802 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NeoComp.LogicalEvolution
{
public abstract class LogicalNetworkGene
{
protected LogicalNetworkGene(int index)
{
Index = index;
}
public int Index { get; private ... | unbornchikken/Neuroflow | _vault/NFBak/Neuroflow_vsonline/Neuroflow/OldStuff/NeoComp/Neocomp Framework/NeoComp/LogicalEvolution/LogicalNetworkGene.cs | C# | gpl-3.0 | 337 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_socket::assign</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_asio.html" ... | gwq5210/litlib | thirdparty/sources/boost_1_60_0/doc/html/boost_asio/reference/basic_socket/assign.html | HTML | gpl-3.0 | 4,940 |
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 Martijn Voncken <mvoncken@gmail.com>
#
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with
# the additional special exception to link portions of this program with the OpenSSL library.
# See LICENSE for more details.
#
import... | rkokkelk/Gulliver | deluge/core/filtermanager.py | Python | gpl-3.0 | 9,642 |
/* Set file access and modification times.
Copyright (C) 2003-2021 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, or any
... | nanasess/emacs | lib/utimens.c | C | gpl-3.0 | 21,338 |
/*
This project 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.
Deviation is distributed in the hope that it will be useful,
but WITHO... | TheRealMoeder/deviation | src/pages/320x240x16/model_loadsave.c | C | gpl-3.0 | 4,003 |
#
# BioPerl module for Bio::Seq::RichSeqI
#
# Please direct questions and support issues to <bioperl-l@bioperl.org>
#
# Cared for by Ewan Birney <birney@ebi.ac.uk>
#
# Copyright Ewan Birney
#
# You may distribute this module under the same terms as perl itself
# POD documentation - main docs before the code
=head1 N... | pcantalupo/bioperl-live | Bio/Seq/RichSeqI.pm | Perl | gpl-3.0 | 5,554 |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | jirif/betaflight | src/main/target/ANYFCF7/target.h | C | gpl-3.0 | 4,399 |
// David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2017
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.2 (2016/11/14)
#include <GTEnginePCH.h>
#include <Appli... | yijiangh/FrameFab | ext/GTEngine/Source/Applications/GLX/GteWindow.cpp | C++ | gpl-3.0 | 7,631 |
#!/usr/bin/env python
# encoding: utf-8
"""A ${VISUAL} placeholder that will use the text that was last visually
selected and insert it here. If there was no text visually selected, this will
be the empty string. """
import re
import textwrap
from UltiSnips import _vim
from UltiSnips.indent_util import IndentUtil
fr... | eduardomallmann/vim-and-bash | pythonx/UltiSnips/text_objects/_visual.py | Python | gpl-3.0 | 2,074 |
import { Observable } from 'rxjs';
import { each, filter, has, isUndefined, isFunction } from 'lodash';
import { IFilter, Filter } from '../filter';
export interface IFilterGroupSettings<TItemType> {
label: string;
type: string;
options: IFilterOption<TItemType>[];
serialize?: {( activeOption: IFilterOption<TItem... | TheOriginalJosh/TypeScript-Angular-Components | source/components/cardContainer/filters/filterGroup/filterGroup.service.ts | TypeScript | gpl-3.0 | 3,263 |
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Tile/WFS.js
* @requires OpenLay... | shamoxiaoniqiu2008/jeecg-framework | src/main/webapp/plug-in/OpenLayers-2.11/lib/OpenLayers/Layer/WFS.js | JavaScript | gpl-3.0 | 21,204 |
namespace WowPacketParser.Enums
{
public enum MailActionType
{
Send = 0,
MoneyTaken = 1,
AttachmentExpired = 2,
ReturnedToSender = 3,
Deleted = 4,
MadePermanent = 5
}
}
| DrEhsan/WowPacketParser | WowPacketParser/Enums/MailActionType.cs | C# | gpl-3.0 | 264 |
<?php
/**
* Kiwitrees: Web based Family History software
* Copyright (C) 2012 to 2022 kiwitrees.net
*
* Derived from webtrees (www.webtrees.net)
* Copyright (C) 2010 to 2012 webtrees development team
*
* Derived from PhpGedView (phpgedview.sourceforge.net)
* Copyright (C) 2002 to 2010 PGV Development Team
* ... | kiwi3685/kiwitrees | modules_v4/yahrzeit/help_text.php | PHP | gpl-3.0 | 1,119 |
/*!
@file
@author Albert Semenov
@date 09/2009
*/
#include "Precompiled.h"
#include "InputManager.h"
#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
#include <windows.h>
#endif
namespace input
{
#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
MyGUI::Char translateWin32Text(MyGUI::KeyCode kc)
{
s... | tizbac/ror-ng | deps/MyGUI/Common/Input/OIS/InputManager.cpp | C++ | gpl-3.0 | 5,367 |
@SET WIRESHARKVERSION=1.4.4
@SET WIRESHARKSOURCEDIR=D:\workspace\wireshark-1.4.4
@SET WIRESHARKINSTALLDIR=C:\Program Files\Wireshark
@SET WIRESHARKDEFINITIONSDIR=D:\workspace\converter\install\asterix
@SET ASTERIXSOURCEDIR=D:\workspace\converter\src\asterix
@SET ASTERIXSOURCEDIR=D:\workspace\converter\src\asterix
cd /... | nabilbendafi/asterix | src/asterix/wireshark-plugin/1.8.4/copy_and_build.bat | Batchfile | gpl-3.0 | 2,961 |
/* -*- c++ -*- */
/*
* Copyright 2007,2008 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 3, or (at your... | JohnOrlando/gnuradio-bitshark | usrp/limbo/apps-inband/test_usrp_inband_underrun.cc | C++ | gpl-3.0 | 18,388 |
#ifndef BOOST_GEOMETRY_PROJECTIONS_GSTMERC_HPP
#define BOOST_GEOMETRY_PROJECTIONS_GSTMERC_HPP
// Boost.Geometry - extensions-gis-projections (based on PROJ4)
// This file is automatically generated. DO NOT EDIT.
// Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands.
// This file was modified by Oracl... | zcobell/MetOceanViewer | thirdparty/boost_1_67_0/boost/geometry/srs/projections/proj/gstmerc.hpp | C++ | gpl-3.0 | 9,523 |
<?php
/* Copyright (C) 2013-2016 Olivier Geffroy <jeff@jeffinfo.com>
* Copyright (C) 2013-2016 Alexandre Spangaro <aspangaro@zendsi.com>
* Copyright (C) 2014-2015 Ari Elbaz (elarifr) <github@accedinfo.com>
* Copyright (C) 2014-2016 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014 Juanjo Mene... | All-3kcis/dolibarr | htdocs/accountancy/customer/lines.php | PHP | gpl-3.0 | 17,729 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../../libc/constant.SYS_umount2.html">
</head>
<body>
<p>Redirecting to <a href="../../../../../../../libc/constant.SYS_umount2.html">../../../../../../../libc/constant.SYS_umount2.html</a>...</p>
<script>locati... | surrsurus/edgequest | doc/libc/unix/notbsd/linux/other/b64/not_x32/constant.SYS_umount2.html | HTML | mpl-2.0 | 445 |
// Constructing calls should throw if !callee->isInterpretedConstructor().
// This tests the polymorphic call path.
for (var i=0; i<20; i++)
Function.prototype();
var funs = [
function() { return 1; },
function() { return 2; },
function() { return 3; },
function() { return 4; },
function() { r... | kostaspl/SpiderMonkey38 | js/src/jit-test/tests/baseline/bug892787-2.js | JavaScript | mpl-2.0 | 771 |
/*
Copyright 2014 SAP SE
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 applicable law or agreed to in writing, software
distribu... | calgaryscientific/consul | vendor/github.com/SAP/go-hdb/driver/connector.go | GO | mpl-2.0 | 6,345 |
package lux.query.parser;
import org.apache.commons.lang.StringUtils;
import org.apache.lucene.queryparser.ext.ExtensionQuery;
import org.apache.lucene.queryparser.ext.ParserExtension;
import org.apache.lucene.queryparser.xml.ParserException;
import org.apache.lucene.queryparser.classic.ParseException;
class NodePars... | coyotesqrl/lux | src/main/java/lux/query/parser/NodeParser.java | Java | mpl-2.0 | 1,682 |
<?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | wlwwt/shopware | engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/ListProductQueryHelper.php | PHP | agpl-3.0 | 8,405 |
'use strict';
var mongoose = require('mongoose');
exports.register = function(server, options, next) {
server.route({
method: 'GET',
path: '/account',
handler: function(request, reply) {
var User = mongoose.model('User');
User.findById(request.auth.credentials.userId, function(err, user) {... | Claw24/tutsoketio | server/web/account/index.js | JavaScript | agpl-3.0 | 581 |
/*
Released as open source by NCC Group Plc - http://www.nccgroup.com/
Developed by David.Middlehurst (@dtmsecurity), david dot middlehurst at nccgroup dot com
https://github.com/nccgroup/UPnP-Pentest-Toolkit
Released under AGPL see LICENSE for more information
This tool is a proof of concept and is intended to b... | Ike-Clinton/UPnP-Pentest-Toolkit | WinUPnPFun/Learn.cs | C# | agpl-3.0 | 12,208 |
#pragma once
// MESSAGE HIL_STATE_QUATERNION PACKING
#define MAVLINK_MSG_ID_HIL_STATE_QUATERNION 115
typedef struct __mavlink_hil_state_quaternion_t {
uint64_t time_usec; /*< [us] Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot... | diydrones/apm_planner | libs/mavlink/include/mavlink/v2.0/common/mavlink_msg_hil_state_quaternion.h | C | agpl-3.0 | 28,062 |
<?php
/**
* A collection of Event_Results.
*
* @since 4.9.13
*
* @package Tribe\Events\Views\V2\Repository
*/
namespace Tribe\Events\Views\V2\Repository;
use Tribe\Utils\Collection_Interface;
use Tribe\Utils\Collection_Trait;
use Tribe__Utils__Array as Arr;
/**
* Class Events_Result_Set
*
* @since 4.9.1... | akvo/akvo-sites-zz-template | code/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Repository/Events_Result_Set.php | PHP | agpl-3.0 | 6,157 |
<?php
/**
* Generic_Sniffs_WhiteSpace_DisallowTabIndentSniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006 Squiz Pty Ltd (ABN 77 084 670 600)
* @license http://matrix.squi... | mikesname/ehri-ica-atom | plugins/sfAuditPlugin/lib/vendor/PHP/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php | PHP | agpl-3.0 | 2,562 |
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# ThinkOpen Solutions Brasil
# Copyright (C) Thinkopen Solutions <http://www.tkobr.com>.
#
# This... | elego/tkobr-addons | unported/tko_purchase_show_only_supplier_products/__init__.py | Python | agpl-3.0 | 1,094 |
var path = require('path');
module.exports = function(project_dir){
return {
'cordova':
{ 'platform':'*', 'scriptSrc': path.join(project_dir,'cordova','version') },
'cordova-plugman':
{ 'platform':'*', 'currentVersion': require('../../../package.json').version },
'co... | fau-amos-2014-team-2/root | phonegap/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/default-engines.js | JavaScript | agpl-3.0 | 1,948 |
<?php $TRANSLATIONS = array(
"Welcome to ownCloud" => "Benvenite a ownCloud",
"Your personal web services. All your files, contacts, calendar and more, in one place." => "Tu servicios personal de web. Omne tu files, contactos, calendario e alteres, in un placia.",
"Get the apps to sync your files" => "Obtene le apps (a... | ipit-international/learning-environment | owncloud/apps/thirstrunwizard/l10n/ia.php | PHP | agpl-3.0 | 1,040 |
class EventPlugin::EventBlock < Block
attr_accessible :all_env_events, :limit, :future_only, :date_distance_limit, :display_as_calendar
settings_items :all_env_events, :type => :boolean, :default => false
settings_items :limit, :type => :integer, :default => 4
settings_items :future_only, :type => :boolean, :d... | coletivoEITA/noosfero-ecosol | plugins/event/lib/event_plugin/event_block.rb | Ruby | agpl-3.0 | 1,971 |
<div class="legend no-select" *ngIf="data">
<div class="legend-box"
*ngFor="let trace of data.series; index as i"
[style.backgroundColor]="backgroundColor"
[style.border]="'1px solid ' + borderColor"
[style.borderLeft]="'3px solid ' + trace.color"
[style.paddingRight]="closable && i... | fqqb/yamcs | yamcs-web/src/main/webapp/src/app/shared/widgets/ParameterLegend.html | HTML | agpl-3.0 | 687 |
#!/usr/bin/env node
/**
* Build script for /tg/station 13 codebase.
*
* This script uses Juke Build, read the docs here:
* https://github.com/stylemistake/juke-build
*
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
*/
import fs from 'fs';
import { DreamDaemon, DreamMaker } from './lib/byond.js';
imp... | Citadel-Station-13/Citadel-Station-13 | tools/build/build.js | JavaScript | agpl-3.0 | 7,802 |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Order.name'
db.add_column('valueaccounting_order', 'name',
self.gf('dj... | thierrymarianne/valuenetwork | valuenetwork/valueaccounting/migrations/0003_auto__add_field_order_name__add_field_economicresource_independent_dem.py | Python | agpl-3.0 | 47,400 |
<?php
// lib/php/init.php 20150101 - 20170305
// Copyright (C) 2015-2017 Mark Constable <markc@renta.net> (AGPL-3.0)
class Init
{
private $t = null;
public function __construct($g)
{
error_log(__METHOD__);
$g->self = str_replace('index.php', '', $_SERVER['PHP_SELF']);
foreach ($g->in as ... | markc/spe | 05-Autoload/lib/php/init.php | PHP | agpl-3.0 | 1,329 |
package rocks.inspectit.agent.java.proxy;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation for methods which will be proxied.
*
* For every method of a {@link IProxySubject} with this an... | inspectIT/inspectIT | inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/proxy/ProxyMethod.java | Java | agpl-3.0 | 1,651 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SFML - Simple and Fast Multimedia Library</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta c... | S4m41/WorldMaker | WorldMaker/External/SFML-2.4.0/doc/html/functions_eval_z.html | HTML | agpl-3.0 | 5,475 |
/*
* Copyright (c) 2006-2009 Erin Catto http://www.box2d.org
*
* 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... | DaTa-/Hypersomnia | src/3rdparty/Box2D/Collision/b2BroadPhase.cpp | C++ | agpl-3.0 | 3,661 |
<?php
App::uses('ImageStorage', 'FileStorage.Model');
App::uses('FileStorageTestCase', 'FileStorage.TestSuite');
/**
* Image Storage Test
*
* @author Florian Krämer
* @copyright 2012 Florian Krämer
* @license MIT
*/
class ImageStorageTest extends FileStorageTestCase {
/**
* Fixtures
*
* @var array
*/
public... | et304383/passbolt_api | app/Plugin/FileStorage/Test/Case/Model/ImageStorageTest.php | PHP | agpl-3.0 | 5,227 |
var rpc = require('../src/jsonrpc');
/*
Each uses a different syntax
Responses can not be assigned to a source request if the socket version
... it sucks
Moreover jsonrpc2 knows no stream ... it may be helpful, but it is not JSON-RPC2
Michal <misablaha@gmail.com>
*/
/*
Connect to HTTP server
*/
var client = ... | gandalfleal/coin | node_modules/json-rpc2/examples/stream-client.js | JavaScript | agpl-3.0 | 1,279 |
/********
* This file is part of Ext.NET.
*
* Ext.NET 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
* License, or (at your option) any later version.
*
* Ext.NE... | daowzq/ExtNet | ext.net.community/Ext.Net/Factory/ConfigOptions/FadeOutConfigOptions.cs | C# | agpl-3.0 | 2,006 |
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import api, models
class IRActionsWindow(models.Model):
_inherit = 'ir.actions.act_window'
@api.multi
def read(self, fields=None, context=None, load='_classic_read'):
actions = super(IRActionsW... | brain-tec/partner-contact | partner_contact_in_several_companies/models/ir_actions.py | Python | agpl-3.0 | 922 |
"""
Logistration API View Tests
"""
from unittest.mock import patch
from urllib.parse import urlencode
import socket
import ddt
from django.conf import settings
from django.urls import reverse
from rest_framework.test import APITestCase
from common.djangoapps.student.models import Registration
from common.djangoapps.s... | edx/edx-platform | openedx/core/djangoapps/user_authn/api/tests/test_views.py | Python | agpl-3.0 | 7,808 |
// Copyright 2020 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package azure_test
import (
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-08-01/network"
"github.com/Azure/go-autorest/autorest/to"
"github.com/juju/errors"
jc "github.com/juju/testing/checkers"
gc "gopkg... | freyes/juju | provider/azure/environ_network_test.go | GO | agpl-3.0 | 1,844 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- 1. Redistributions of source c... | papyrussolution/OpenPapyrus | Src/OSF/leptonica/prog/fmorphauto_reg.c | C | agpl-3.0 | 5,692 |
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from erpnext.accounts.report.accounts_receivable.accounts_receivable import ReceivablePayableReport
def execute(filters=None):
args =... | gangadharkadam/v5_erp | erpnext/accounts/report/accounts_payable/accounts_payable.py | Python | agpl-3.0 | 461 |
require 'rails_helper'
feature 'Valuation budgets' do
background do
@valuator = create(:valuator, user: create(:user, username: 'Rachel', email: 'rachel@valuators.org'))
login_as(@valuator.user)
end
scenario 'Disabled with a feature flag' do
Setting['feature.budgets'] = nil
expect{ visit valuat... | artofhuman/consul | spec/features/valuation/budgets_spec.rb | Ruby | agpl-3.0 | 1,165 |
'use strict';
var _ = require('lodash');
module.exports = function calcDelta (oldData, newData) {
var delta = {'delta': true};
var changesFound = false;
// if there's no updates done so far, just return the full set
if (!oldData.sgvs) { return newData; }
function nsArrayTreatments(oldArray, newArray) {
... | ramstrand/cgm-remote-monitor | lib/data/calcdelta.js | JavaScript | agpl-3.0 | 4,119 |
//
//
// Description: This file is part of FET
//
//
// Author: Lalescu Liviu <Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)>
// Copyright (C) 2003 Liviu Lalescu <http://lalescu.ro/liviu/>
//
/****************************************... | fet-project/fet | src/interface/savetimetableconfirmationform.cpp | C++ | agpl-3.0 | 3,292 |
shared_examples_for 'Delayed::Worker' do
def job_create(opts = {})
Delayed::Job.create({:payload_object => SimpleJob.new, :queue => Delayed::Worker.queue}.merge(opts))
end
def worker_create(opts = {})
Delayed::Worker.new(opts.merge(:max_priority => nil, :min_priority => nil, :quiet => true))
end
befo... | moh-alsheikh/canvas-lms | vendor/plugins/delayed_job/spec_canvas/worker_spec.rb | Ruby | agpl-3.0 | 9,288 |
default_app_config = 'apps.datasetmanager.apps.datasetmanagerConfig'
| almey/policycompass-services | apps/datasetmanager/__init__.py | Python | agpl-3.0 | 69 |
/*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#ifndef FORAGINGEVENT_H_
#define FORAGINGEVENT_H_
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/Zone.h"
#include "server/zone/managers/minigames/ForageManager.h"
namespace server {
namespace zone {
namespace manag... | Chilastra-Reborn/Chilastra-source-code | src/server/zone/managers/minigames/events/ForagingEvent.h | C | agpl-3.0 | 1,108 |
/*
* DataImportOptionsUiMongo.java
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Pu... | jar1karp/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/views/environment/dataimport/DataImportOptionsUiMongo.java | Java | agpl-3.0 | 1,851 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM... | noelhunter/SuiteCRM | modules/Import/views/view.step3.php | PHP | agpl-3.0 | 34,985 |
/****************************************************************
* *
* Copyright 2001 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the li... | CoherentLogic/fis-gtm-netbsd | sr_vvms/dbcx_ref.c | C | agpl-3.0 | 1,575 |
'use strict';
var expect = require('chai').expect;
var bitcore = require('bitcore-lib');
var Message = require('bitcore-message');
var secp256k1 = require('secp256k1');
var KeyPair = require('../../lib/crypto-tools/keypair');
var prvk = '4d548b387bed22aff9ca560416d7b13ecbad16f28bc41ef5acaff3019bfa5134';
var prvk2 = '0... | Storj/core | test/crypto-tools/keypair.unit.js | JavaScript | agpl-3.0 | 3,706 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Schedulers determine how worker's queues get filled. They control which
locations get scanned, in what order, at what time. This allows further
optimizations to be easily added, without having to modify the existing
overseer and worker thread code.
Schedulers will recieve... | slgphantom/RocketMap | pogom/schedulers.py | Python | agpl-3.0 | 46,757 |
# -*- coding: utf-8 -*-
#
# privacyIDEA is a fork of LinOTP
# May 08, 2014 Cornelius Kölbel
# License: AGPLv3
# contact: http://www.privacyidea.org
#
# 2014-10-17 Fix the empty result problem
# Cornelius Kölbel, <cornelius@privacyidea.org>
#
# Copyright (C) 2010 - 2014 LSE Leading Security Experts G... | woddx/privacyidea | privacyidea/lib/auditmodules/base.py | Python | agpl-3.0 | 7,831 |
<!-- $Id$ -->
<!-- PARAGRAPHE 1 -->
<p class="help_title">{t}Administration tab allows you to do the following operations{/t}:</p>
<ul>
<li><strong>{t}Import data{/t},</strong></li>
<li><strong>{t}manage user accounts{/t},</strong></li>
<li><strong>{t}customise alerts emitted by Onlogistics and assign them to users... | danilo-cesar/onlogistics | lib/templates/HelpPage/Administration.html | HTML | agpl-3.0 | 456 |
/*
* MobileV2.java
*
* Tigase Jabber/XMPP Server
* Copyright (C) 2004-2013 "Tigase, Inc." <office@tigase.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... | wangningbo/tigase-server | src/main/java/tigase/xmpp/impl/MobileV2.java | Java | agpl-3.0 | 8,860 |
"""
Django Admin pages for DiscountRestrictionConfig.
"""
from django.contrib import admin
from django.utils.translation import gettext_lazy as _
from openedx.core.djangoapps.config_model_utils.admin import StackedConfigModelAdmin
from .models import DiscountPercentageConfig, DiscountRestrictionConfig
class Disco... | edx/edx-platform | openedx/features/discounts/admin.py | Python | agpl-3.0 | 2,665 |
@CHARSET "UTF-8";
body {
background-color: #f0f0f0;
}
#wrapper {
margin: 100px auto;
width: 310px;
}
#email {
width: 248px;
}
#text {
width: 248px;
height: 70px;
}
#waiting {
color: #767676;
text-align: center;
}
fieldset {
margin-top: 10px;
background: #fff;
border: 1... | kuali/kc | coeus-webapp/src/main/webapp/scripts/jquery/css/main.css | CSS | agpl-3.0 | 825 |
require File.expand_path(File.dirname(__FILE__) + '/../common')
require File.expand_path(File.dirname(__FILE__) + '/../helpers/users_common')
require File.expand_path(File.dirname(__FILE__) + '/../helpers/basic/users_specs')
describe "admin courses tab" do
include_context "in-process server selenium tests"
include... | narigone/canvas | spec/selenium/admin/admin_users_spec.rb | Ruby | agpl-3.0 | 1,831 |
<?php
/*
* Copyright (C) 2021 Xibo Signage Ltd
*
* Xibo - Digital Signage - http://www.xibo.org.uk
*
* This file is part of Xibo.
*
* Xibo 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... | xibosignage/xibo-cms | tests/integration/UserGroupTest.php | PHP | agpl-3.0 | 2,253 |
// OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2013-201... | jmaurice/openvpn3 | openvpn/client/cliconstants.hpp | C++ | agpl-3.0 | 1,779 |
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | TheTimmy/spack | lib/spack/external/__init__.py | Python | lgpl-2.1 | 2,139 |
var classambhas_1_1stats_1_1SpatOutlier =
[
[ "__init__", "classambhas_1_1stats_1_1SpatOutlier.html#ae600249e9fcbda069e9fbad0ba6983ef", null ],
[ "fill_with_nan", "classambhas_1_1stats_1_1SpatOutlier.html#a826d8579b25e76a53c18617ff226f575", null ],
[ "index", "classambhas_1_1stats_1_1SpatOutlier.html#a4b5bb... | tectronics/ambhas | docs/html/classambhas_1_1stats_1_1SpatOutlier.js | JavaScript | lgpl-2.1 | 563 |
package test.beast.evolution.alignment;
import java.util.List;
import org.junit.Test;
import beast.evolution.alignment.Alignment;
import beast.evolution.alignment.Sequence;
import beast.evolution.datatype.DataType;
import beast.evolution.tree.Tree;
import beast.util.TreeParser;
import junit.framework.TestCase;
pub... | tgvaughan/beast2 | src/test/beast/evolution/alignment/UncertainAlignmentTest.java | Java | lgpl-2.1 | 4,019 |
/* **********************************************************
* Copyright (c) 2012 Google, Inc. All rights reserved.
* Copyright (c) 2007-2009 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
*... | AmesianX/dynamorio | core/nudge.h | C | lgpl-2.1 | 2,881 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2017, Red Hat, Inc., and individual contributors as indicated
* by the @authors tag.
*
* 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 Licen... | darranl/wildfly-core | testsuite/shared/src/main/java/org/jboss/as/test/integration/management/api/ClientCompatibilityUnitTestBase.java | Java | lgpl-2.1 | 13,609 |
#include <string.h>
#include "utest_helper.hpp"
static void compiler_fill_image_1d(void)
{
const size_t w = 2048;
cl_image_format format;
cl_image_desc desc;
memset(&desc, 0x0, sizeof(cl_image_desc));
memset(&format, 0x0, sizeof(cl_image_format));
format.image_channel_order = CL_RGBA;
format.image_chan... | wdv4758h/beignet | utests/compiler_fill_image_1d.cpp | C++ | lgpl-2.1 | 1,313 |
#wowslider-container$GallerySuffix$ .ws_thumbs a.ws_selthumb{
background-color: #f5b50c;
}
#wowslider-container$GallerySuffix$ .ws_thumbs a{
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
border-radius:5px;
-moz-border-radius:5px;
background-color: #4e463f;
... | dingdong2310/sir | adm/extend/wowslider/templates/backgnd/dominion/style-thumb.css | CSS | lgpl-2.1 | 326 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!--
This library is part of OpenCms -
the Open Source Content Management System
Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com)
This library is free software; you can redistribute it and/or
modify it under the terms of ... | ggiudetti/opencms-core | src/org/opencms/file/types/package.html | HTML | lgpl-2.1 | 1,395 |
/*****************************************************************************
* dialog.c: User dialog functions
*****************************************************************************
* Copyright © 2009 Rémi Denis-Courmont
* Copyright © 2016 VLC authors and VideoLAN
*
* This program is free software; you c... | xkfz007/vlc | src/interface/dialog.c | C | lgpl-2.1 | 24,677 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
// =========================================================================
//
// sampleApplications-sax.html - The SAX sample applications included with XML for <SCRIPT>
//
// ==============================================... | inswave/xmljs | website/sampleApplications-sax.html | HTML | lgpl-2.1 | 6,138 |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_scale_f16.c
* Description: Multiplies a floating-point vector by a scalar
*
* $Date: 23 April 2021
* $Revision: V1.9.0
*
* Target Processor: Cortex-M and Cortex-A cores
* -... | prefetchnta/crhack | src/naked/cmsis/DSP/Source/BasicMathFunctions/arm_scale_f16.c | C | lgpl-2.1 | 4,523 |
FROM base/archlinux
MAINTAINER Omar Padron <omar.padron@kitware.com>
ENV SPACK_ROOT=/spack \
FORCE_UNSAFE_CONFIGURE=1 \
DISTRO=arch
RUN pacman -Sy --noconfirm \
base-devel \
ca-certificates \
curl \
gcc \
gcc-fortran ... | mfherbst/spack | share/spack/docker/build/arch.dockerfile | Dockerfile | lgpl-2.1 | 2,310 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ru">
<context>
<name>AnimationSaveWidget</name>
<message>
<location filename="../tools/qvfb/qvfb.cpp" line="+850"/>
<location line="+204"/>
<source>Record</source>
<translation>Записать</translation>... | RLovelett/qt | translations/qvfb_ru.ts | TypeScript | lgpl-2.1 | 12,255 |
/*
* gnome-keyring
*
* Copyright (C) 2008 Stefan Walter
*
* This program 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) any later versio... | Distrotech/gcr | egg/egg-padding.h | C | lgpl-2.1 | 5,231 |
/*
* Pooling Allocator
* (C) 1999-2008 Jack Lloyd
* 2005 Matthew Gregan
* 2005-2006 Matt Johnston
*
* Distributed under the terms of the Botan license
*/
#include <botan/mem_pool.h>
#include <botan/util.h>
#include <botan/mem_ops.h>
#include <algorithm>
#include <exception>
namespace Botan {
namespace {
/*
... | enricoros/k-qt-creator-inspector | src/libs/3rdparty/botan/src/alloc/mem_pool/mem_pool.cpp | C++ | lgpl-2.1 | 5,618 |
from __future__ import absolute_import, unicode_literals
from case import Mock, patch
from amqp.five import text_t
from amqp.utils import (NullHandler, bytes_to_str, coro, get_errno, get_logger,
str_to_bytes)
class test_get_errno:
def test_has_attr(self):
exc = KeyError('foo')
... | pexip/os-python-amqp | t/unit/test_utils.py | Python | lgpl-2.1 | 2,126 |
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | wscullin/spack | var/spack/repos/builtin/packages/lzma/package.py | Python | lgpl-2.1 | 1,935 |
/* 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.h | C | lgpl-2.1 | 18,288 |
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "MITMappedObject.h"
#import "MITManagedObject.h"
#import "CoreLocation+MITAdditions.h"
@class MITToursDirectionsToStop, MITToursImage, MITToursTour;
@interface MITToursStop : MITManagedObject <MITMappedObject>
@property (nonatomic, retain) NSStr... | smartcop/MIT-Mobile-for-iOS | Modules/Tours/MITToursStop.h | C | lgpl-2.1 | 1,566 |
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt3Support module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL... | kobolabs/qt-everywhere-4.8.0 | src/qt3support/network/q3socketdevice.cpp | C++ | lgpl-2.1 | 20,956 |
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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... | numediart/MotionMachine | libs/armadillo/include/armadillo_bits/gmm_diag_meat.hpp | C++ | lgpl-2.1 | 65,539 |
/****************************************************************************
**
** 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:LGPL$
** Commercial License Usage
** Licensees... | BadSingleton/pyside2 | doc/codesnippets/doc/src/snippets/customstyle/main.cpp | C++ | lgpl-2.1 | 2,252 |
/*
* Hexadecimal modes for QEmacs.
*
* Copyright (c) 2000, 2001 Fabrice Bellard.
* Copyright (c) 2002-2008 Charlie Gordon.
*
* 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... | sonald/qemacs | hex.c | C | lgpl-2.1 | 10,042 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (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 So... | it-tavis/opencms-core | src/org/opencms/file/types/CmsResourceTypeXmlContainerPage.java | Java | lgpl-2.1 | 13,782 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.backendtck.batchfetching;
import static org.fest.... | DavideD/hibernate-ogm | core/src/test/java/org/hibernate/ogm/backendtck/batchfetching/BatchFetchingTest.java | Java | lgpl-2.1 | 7,666 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template reference<Converter, TypeOut, void></title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="h... | qianqians/abelkhan | cpp_component/3rdparty/boost/libs/convert/doc/html/boost/cnv/reference_Convert_idm10586.html | HTML | lgpl-2.1 | 8,668 |
<?php
/*
@version v5.21.0-dev ??-???-2016
@copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.
@copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licens... | ipso/ADOdb | drivers/adodb-mysql.inc.php | PHP | lgpl-2.1 | 23,092 |
/**
* @author : Paul Taylor
* @author : Eric Farng
*
* Version @version:$Id$
*
* MusicTag Copyright (C)2003,2004
*
* 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 ver... | craigpetchell/Jaudiotagger | src/org/jaudiotagger/tag/id3/framebody/FrameBodyTSOT.java | Java | lgpl-2.1 | 2,188 |
/* Generated from ../../../git/cloog/test/forwardsub-3-1-2.cloog by CLooG 0.14.0-136-gb91ef26 gmp bits in 0.02s. */
S3(2,1) ;
S1(3,1) ;
S1(4,1) ;
S4(4,2) ;
for (i=5;i<=M+1;i++) {
S1(i,1) ;
for (j=2;j<=floord(i-1,2);j++) {
S2(i,j) ;
}
if (i%2 == 0) {
S4(i,i/2) ;
}
}
for (i=M+2;i<=2*M-1;i++) {
for (j=... | epowers/cloog | test/forwardsub-3-1-2.c | C | lgpl-2.1 | 418 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.