code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
package amidst.settings;
import java.util.Objects;
import java.util.function.Consumer;
import java.util.function.UnaryOperator;
import amidst.documentation.ThreadSafe;
@ThreadSafe
public class SettingBase<T> implements Setting<T> {
private final Consumer<T> setter;
private volatile T value;
public SettingBase(T ... | BlueSteelAUS/amidst | src/main/java/amidst/settings/SettingBase.java | Java | gpl-3.0 | 674 |
/*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
Stockfish is free software: you can re... | sovaz1997/ChessProblemGenerator | stockfish-8-src/src/misc.cpp | C++ | gpl-3.0 | 5,207 |
#ifndef _WIN32
#include <dlfcn.h>
#else
#include <windows.h>
#endif
#include "SymbolMatcher.h"
#include "config.h" // For UNDERSCORE_NEEDED etc
#include <iostream>
#define FACTORY_PROC "getInstanceFor"
SymbolMatcher * SymbolMatcherFactory_getInstanceFor(Prog *prog, const char *sSymbolContainer, const char *hi... | aidanhs/boomerang | symbols/libidloader.cpp | C++ | gpl-3.0 | 2,186 |
/*
* 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... | s20121035/rk3288_android5.1_repo | libcore/luni/src/main/java/java/util/Timer.java | Java | gpl-3.0 | 19,820 |
# -*- coding: utf-8 -*-
# Copyright (C) 2012 VT SuperDARN Lab
# Full license can be found in LICENSE.txt
"""tsyganenko module
This modules containes the following object(s):
Classes
-------------------------------------------------------------
tsygTrace Wraps fortran subroutines in one convenient class
-----------... | aburrell/davitpy | davitpy/models/tsyganenko/__init__.py | Python | gpl-3.0 | 21,946 |
#!/usr/bin/env python
#Pools assigned OTUs with identical names and renumbers the remaining distinct
#OTUs. Also allows filtering out OTUs with less than "min_cts" in at least
#one sample.
# Copyright (C) <2012> <Benjamin C. Smith>
#
# This program is free software: you can redistribute it and/or modify
# it ... | benjsmith/mubiomics | scripts/pool_otus.py | Python | gpl-3.0 | 6,450 |
using System;
using System.Globalization;
using SmartStore.Utilities;
namespace SmartStore.Core.Search.Facets
{
[Serializable]
public class FacetValue : IEquatable<FacetValue>, ICloneable<FacetValue>
{
public FacetValue()
{
}
public FacetValue(object value, IndexTypeCode typeCode)
{
Value = value;
... | nitware/estore | src/Libraries/SmartStore.Core/Search/Facets/FacetValue.cs | C# | gpl-3.0 | 3,289 |
class CreateProjectSubjectTable < ActiveRecord::Migration[5.0]
def change
create_table :project_subjects do |t|
t.uuid :project_id, foreign_key: true
t.uuid :subject_id, foreign_key: true
end
end
end
| zdavis/manifold | api/db/migrate/20161112145302_create_project_subject_table.rb | Ruby | gpl-3.0 | 224 |
<?php
// Heading
$_['heading_title'] = '訂單計算項目(Order Totals)';
// Text
$_['text_install'] = '安裝(Install)';
$_['text_uninstall'] = '解除安裝(Uninstall)';
// Column
$_['column_name'] = '項目(Order Totals)';
$_['column_status'] = '狀態(Status)';
$_['column_sort_order'] = '排序(Sort Order)';
$_['column_action... | alvinhsian/Opencart1556 | upload/admin/language/zh-TW/extension/total.php | PHP | gpl-3.0 | 473 |
'use strict';
var desks = require('./helpers/desks');
describe('desks management', function () {
beforeEach(function() {
desks.openDesksSettings();
});
it('lists macros under the Macro tab for new desks', function () {
desks.newDeskBtn.click();
desks.showTab('macros');
e... | nistormihai/superdesk | client/spec/desks_management_spec.js | JavaScript | gpl-3.0 | 386 |
/*
* Copyright (C) 2010 Pavel Stastny
*
* 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 di... | moravianlibrary/kramerius | common/src/main/java/cz/incad/kramerius/security/impl/criteria/AbstractIPAddressFilter.java | Java | gpl-3.0 | 3,192 |
/*
* Copyright (c) 2006 Genome Research Limited.
*
* This program 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.
*
* T... | satta/GeneDB | ng/src/org/genedb/web/mvc/controller/BasketController.java | Java | gpl-3.0 | 3,651 |
<?php
namespace Alchemy\Tests\Phrasea\SearchEngine;
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
use Symfony\Component\HttpFoundation\Request;
/**
* @group functional
* @group legacy
*/
class SearchEngineOptionsTest extends \PhraseanetTestCase
{
/**
* @covers Alchemy\Phrasea\SearchEngine\SearchE... | kwemi/Phraseanet | tests/Alchemy/Tests/Phrasea/SearchEngine/SearchEngineOptionsTest.php | PHP | gpl-3.0 | 5,841 |
Bitrix 16.5 Business Demo = be1a97cd8e66f427f52f0ba0dc4d6ffb
| gohdan/DFC | known_files/hashes/bitrix/modules/photogallery/install/components/bitrix/photogallery_user/templates/old/bitrix/photogallery.section.edit/.default/lang/ru/template.php | PHP | gpl-3.0 | 61 |
<?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 ... | pramithkm/moodle | user/lib.php | PHP | gpl-3.0 | 54,890 |
var searchData=
[
['file',['File',['../class_gra_vito_n_1_1_utils_1_1_file.html',1,'GraVitoN::Utils']]]
];
| null--/graviton | doc/GraVitoN/html/search/classes_66.js | JavaScript | gpl-3.0 | 109 |
#include <AP_HAL/AP_HAL.h>
#if HAL_WITH_UAVCAN
#include "AP_RangeFinder_UAVCAN.h"
#include <AP_BoardConfig/AP_BoardConfig_CAN.h>
#include <AP_UAVCAN/AP_UAVCAN.h>
#include <uavcan/equipment/range_sensor/Measurement.hpp>
extern const AP_HAL::HAL& hal;
#define debug_range_finder_uavcan(level_debug, can_driver, fmt, ... | R-Lefebvre/ardupilot | libraries/AP_RangeFinder/AP_RangeFinder_UAVCAN.cpp | C++ | gpl-3.0 | 6,923 |
/**
* 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... | hellasmoon/graylog2-server | graylog2-server/src/main/java/org/graylog2/alerts/AlertScanner.java | Java | gpl-3.0 | 4,756 |
# coding: utf-8
from handlers import base
from common import functions
class IndexHandler(base.BaseHandler):
def get(self, *args, **kwargs):
self.render('index.html')
class InfoHandler(base.SocketHandler):
def on_message(self, message):
data = functions.jsonToObject(message)
if no... | tonybreak/Registered | handlers/index.py | Python | gpl-3.0 | 2,512 |
<?php
/**
+-----------------------------------------------------------------------+
| This file is part of the Roundcube Webmail client |
| |
| Copyright (C) 2011-2013, Kolab Systems AG |
| Copyri... | raoulbhatia/roundcubemail | program/lib/Roundcube/spellchecker/engine.php | PHP | gpl-3.0 | 2,697 |
/**
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2014
* This file is part of OpenEyes.
*
* OpenEyes 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... | openeyesarchive/eyedraw | src/ED/Drawing/Range.js | JavaScript | gpl-3.0 | 4,875 |
require 'package'
class Openjpeg < Package
description 'OpenJPEG is an open-source JPEG 2000 codec written in C language.'
homepage 'https://github.com/uclouvain/openjpeg/'
version '2.1.2'
source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz'
source_sha256 '4ce77b6ef538ef090d9bde1d5eeff8b3... | jam7/chromebrew | packages/openjpeg.rb | Ruby | gpl-3.0 | 1,284 |
package pneumaticCraft.client.gui;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.client.resources.I18n;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.MathHelper;
impor... | islanderz/pneumaticcraft | src/pneumaticCraft/client/gui/GuiPlasticMixer.java | Java | gpl-3.0 | 5,420 |
#ifndef _TUTTLE_PLUGIN_NORMALIZE_DEFINITIONS_HPP_
#define _TUTTLE_PLUGIN_NORMALIZE_DEFINITIONS_HPP_
#include <tuttle/plugin/global.hpp>
namespace tuttle {
namespace plugin {
namespace normalize {
static const std::string kParamHelpButton = "Help";
static const std::string kParamMode = "mode";
static const std::stri... | cchampet/TuttleOFX | plugins/image/process/color/Normalize/src/NormalizeDefinitions.hpp | C++ | gpl-3.0 | 2,016 |
/*
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 (c) 2014 Mozilla Corporation
Contributors:
Jeff Bryner jbryner@mozilla.com
Anthony Verez averez@mozilla.com
Yash ... | ameihm0912/MozDef | meteor/app/lib/collections.js | JavaScript | mpl-2.0 | 12,418 |
//////////////////////////////////////////////////////////////////////////////////
// //
// 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 t... | TiWinDeTea/Raoul-the-Game | src/main/java/com/github/tiwindetea/raoulthegame/model/livings/Pet.java | Java | mpl-2.0 | 2,638 |
/* 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/. */
package org.mozilla.gecko.background.bagheera;
import java.io.ByteArrayInputStream;
import java.io.IOException;
i... | mkodekar/Fennece-Browser | base/background/bagheera/BoundedByteArrayEntity.java | Java | mpl-2.0 | 2,490 |
////////////////////////////////////////////////////////////////////////////////
///
/// General FIR digital filter routines with MMX optimization.
///
/// Note : MMX optimized functions reside in a separate, platform-specific file,
/// e.g. 'mmx_win.cpp' or 'mmx_gcc.cpp'
///
/// Author : Copyright (c) Olli Pa... | Yukarumya/Yukarum-Redfoxes | media/libsoundtouch/src/FIRFilter.cpp | C++ | mpl-2.0 | 9,499 |
package org.openmrs.module.appframework.test;
import org.hamcrest.BaseMatcher;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.SelfDescribing;
import org.openmrs.util.OpenmrsUtil;
import java.util.Map;
public class Matchers {
/**
* @param key
* @param expected a Match... | openmrs-gci/openmrs-module-appframework | omod/src/test/java/org/openmrs/module/appframework/test/Matchers.java | Java | mpl-2.0 | 1,461 |
var FileBrowserComponent = BaseComponent.extend({
update: function(){
var myself = this,
$ph = $("#"+this.htmlObject),
root = this.rootFolder.charAt(this.rootFolder.length - 1) == "/" ? this.rootFolder : this.rootFolder+"/",
$content;
if (!this.fileExtensions)
this.fileEx... | jvelasques/cfr | cfr-core/resources/cdeComponents/FileBrowserComponent/FileBrowserComponent.js | JavaScript | mpl-2.0 | 2,715 |
/*
MusicXML Library
Copyright (C) Grame 2006-2013
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/.
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly... | dfober/libmusicxml | src/lilypond/messagesHandling.cpp | C++ | mpl-2.0 | 7,291 |
package terraform
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"log"
"reflect"
"runtime"
"sort"
"strings"
"sync"
"sync/atomic"
"testing"
"time"
"github.com/davecgh/go-spew/spew"
"github.com/go-test/deep"
"github.com/google/go-cmp/cmp"
"github.com/hashicorp/terraform/addrs"
"github.com/hashicorp/t... | pradeepbhadani/terraform | terraform/context_apply_test.go | GO | mpl-2.0 | 275,129 |
/* Haplo Safe View Templates http://haplo.org
* (c) Haplo Services Ltd 2015 - 2016 http://www.haplo-services.com
* 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:... | haplo-org/haplo-safe-view-templates | src/main/java/org/haplo/template/html/NodeTag.java | Java | mpl-2.0 | 6,747 |
/*
* 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/.
*/
package org.royaldev.royalcommands.rcommands;
import org.bukkit.Material;
import org.bukkit.command.Command;
i... | joansmith/RoyalCommands | modules/RoyalCommands/src/main/java/org/royaldev/royalcommands/rcommands/CmdUses.java | Java | mpl-2.0 | 10,138 |
/*----------------------------------------------------------
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/.
----------------------------------------------------------... | Faithfinder/OneScript | src/ScriptEngine.HostedScript/Library/EnvironmentVariablesImpl.cs | C# | mpl-2.0 | 5,140 |
import React from 'react';
import { OverlayTrigger, Tooltip, NavItem, Glyphicon } from 'react-bootstrap';
// This authenticates to Auth0 by opening a new Window where Auth0 will do its
// thing, then closing that window when login is complete.
export default class Auth0LoginMenuItem extends React.PureComponent {
st... | lundjordan/services | src/shipit/frontend/src/components/auth/Auth0LoginMenuItem.js | JavaScript | mpl-2.0 | 925 |
/*
PICCANTE
The hottest HDR imaging library!
http://vcg.isti.cnr.it/piccante
Copyright (C) 2014
Visual Computing Laboratory - ISTI CNR
http://vcg.isti.cnr.it
First author: Francesco Banterle
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 ... | banterle/piccante | include/filtering/filter_log_2d.hpp | C++ | mpl-2.0 | 1,225 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* This file is part of the libvisio 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.... | sdteffen/libvisio | src/lib/VSDStencils.cpp | C++ | mpl-2.0 | 6,217 |
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
(function () {... | SoftwareFactoryUPC/ProjectTemplates | Mobile/Windows Phone/Ejemplos Windows Phone 8.1/App tiles and badges sample/Shared/js/scenario9_imageProtocols.js | JavaScript | mpl-2.0 | 5,266 |
import React from 'react'
import { expect } from 'chai'
import { shallow } from 'enzyme'
import { AccountApp } from '../../app/js/account/AccountApp'
describe('AccountApp', () => {
let props
let wrapper
before(() => {
props = {
children: {},
storageConnected: true,
location: {
path... | blockstack/blockstack-portal | test/account/AccountApp.test.js | JavaScript | mpl-2.0 | 621 |
import DS from 'ember-data';
import Ember from 'ember';
const { decamelize } = Ember.String;
export default DS.RESTSerializer.extend({
primaryKey: 'name',
keyForAttribute: function(attr) {
return decamelize(attr);
},
normalizeSecrets(payload) {
if (payload.data.keys && Array.isArray(payload.data.keys... | Aloomaio/vault | ui/app/serializers/transit-key.js | JavaScript | mpl-2.0 | 1,606 |
#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | ouyangpeter/WinFormFileSystem_Client | Google.Protobuf/Reflection/EnumDescriptor.cs | C# | mpl-2.0 | 4,899 |
;
; *WARNING*
;
; DO NOT PUT THIS FILE IN YOUR WEBROOT DIRECTORY.
;
; *WARNING*
;
; Anyone can view your database password if you do!
;
debug = FALSE
;
;Database
;
db_type = "mysql"
db_host = "localhost"
db_user = "root"
db_password = ""
db_name = "openevsys"
db_table_prefix = "gacl_"
;
;Caching
;
cach... | huridocs/OpenEvSys | 3rd/phpgacl/gacl.ini.php | PHP | agpl-3.0 | 644 |
package org.ow2.proactive.resourcemanager.nodesource.infrastructure;/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRI... | sandrineBeauche/scheduling | rm/rm-infrastructure/rm-infrastructure-ec2/src/main/java/org/ow2/proactive/resourcemanager/nodesource/infrastructure/EC2Deployer.java | Java | agpl-3.0 | 17,047 |
<?php
/******* BEGIN LICENSE BLOCK *****
* BilboPlanet - An Open Source RSS feed aggregator written in PHP
* Copyright (C) 2010 By French Dev Team : Dev BilboPlanet
* Contact : dev@bilboplanet.com
* Website : www.bilboplanet.com
* Tracker : http://chili.kiwais.com/projects/bilboplanet
* Blog : www.bilboplanet.com
*
*
*... | theclimber/Bilboplanet | admin/manage-permissions.php | PHP | agpl-3.0 | 2,136 |
/*
YUI 3.10.0 (build a03ce0e)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('uploader', function (Y, NAME) {
/**
* Provides UI for selecting multiple files and functionality for
* uploading multiple files to the server with support for either... | miing/mci_migo | identityprovider/static/yui/3.10.0/uploader/uploader.js | JavaScript | agpl-3.0 | 1,747 |
class CourseColumn < ActiveRecord::Base
belongs_to :course
attr_accessible :slug, :name, :content, :position
before_save :save_show
def save_show
self.show = self.content.present?
true
end
named_scope :active, { :conditions => ["show = ?", true] }
acts_as_list :scope => :course
COLUMN_INTRO... | rup/Tarrax-1 | app/models/course_column.rb | Ruby | agpl-3.0 | 1,171 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/therapies/treatment/vo/DeepFrictionMassageRefVoCollection.java | Java | agpl-3.0 | 6,037 |
<?php
/**
* @author Joas Schilling <nickvergessen@owncloud.com>
*
* @copyright Copyright (c) 2016, Joas Schilling <nickvergessen@owncloud.com>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as ... | owncloud/announcementcenter | appinfo/routes.php | PHP | agpl-3.0 | 1,097 |
import SoftwareLibraries, { renderName } from "./software-libraries";
const COLUMNS = [
{
width: "60%",
title: "Library",
key: "library",
dataIndex: "name",
render: renderName,
},
{
width: "20%",
title: "R (systemwide)",
key: "r",
dataIndex: "r",
},
{
width: "20%",
... | DrXyzzy/cocalc | src/packages/next/components/landing/r-libraries.tsx | TypeScript | agpl-3.0 | 509 |
/* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | xionghuiCoder/db4o | src/main/java/com/db4o/nativequery/expr/AndExpression.java | Java | agpl-3.0 | 1,002 |
# -*- coding: utf-8 -*-
# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import models
from .hooks import post_init_hook
| open-synergy/contract | contract_payment_mode/__init__.py | Python | agpl-3.0 | 201 |
import { Alert, Input } from "antd";
import { useEffect, useState } from "react";
import apiPost from "lib/api/post";
import { capitalize } from "@cocalc/util/misc";
export function EditableTitle({
license_id,
title,
onChange,
}: {
license_id: string;
title: string;
onChange?: () => void;
}) {
return (
... | DrXyzzy/cocalc | src/packages/next/components/licenses/editable-license.tsx | TypeScript | agpl-3.0 | 2,354 |
// A frame represents the flow of game time, and is updated up to 60 times per second.
define(["data"], function (data) {
var Option = function () {
// The name of the option setting
this.name = "";
// The value of the option setting
this.value = false;
};
return data.de... | topiacloud/topia-online | src/plugins/core/data/option.js | JavaScript | agpl-3.0 | 349 |
#!/usr/bin/env python
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'alert.settings'
import sys
# append these to the path to make the dev machines and the server happy (respectively)
execfile('/etc/courtlistener')
sys.path.append(INSTALL_ROOT)
from django import db
from django.core.exceptions import MultipleObje... | shashi792/courtlistener | alert/corpus_importer/resource_org/import_f2.py | Python | agpl-3.0 | 23,715 |
// Copyright 2011-2012 Paulo Augusto Peccin. See licence.txt distributed with this file.
package org.javatari.general.m6502.instructions;
import org.javatari.general.m6502.Instruction;
import org.javatari.general.m6502.M6502;
import org.javatari.general.m6502.OperandType;
public final class BIT extends Instr... | admazzola/javatari-deeplearn | javatari/src/org/javatari/general/m6502/instructions/BIT.java | Java | agpl-3.0 | 1,049 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | IMS-MAXIMS/openMAXIMS | Source Library/openmaxims_workspace/ClinicalAdmin/src/ims/clinicaladmin/forms/dailypatternandshifts/Handlers.java | Java | agpl-3.0 | 6,150 |
#!env/python3
# coding: utf-8
import ipdb
import os
import json
import datetime
import uuid
import psycopg2
import hashlib
import asyncio
import ped_parser
from config import *
from core.framework.common import *
from core.model import *
# ==================================================================... | REGOVAR/Annso | annso/core/annso/filter_manager.py | Python | agpl-3.0 | 34,605 |
<?php
namespace hierarchy;
class Controller_Table extends \AbstractController {
public $class_name;
public $child_ref;
public $parent_ref;
function init(){
parent::init();
$this->owner->hierarchy_controller=$this;
}
function useField($field){
if(!$this->class_name)$this->... | xavoctechnocratspvtltd/property | atk4-addons/hierarchy/lib/Controller/Table.php | PHP | agpl-3.0 | 1,421 |
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Pu... | HBEE/odoo-addons | report_extended_stock/__openerp__.py | Python | agpl-3.0 | 1,603 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Clinical/src/ims/clinical/forms/outpatientstreatmentplan/BaseAccessLogic.java | Java | agpl-3.0 | 5,236 |
/*
* RapidMiner
*
* Copyright (C) 2001-2013 by Rapid-I and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapid-i.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 pub... | aborg0/RapidMiner-Unuk | src/com/rapidminer/operator/preprocessing/transformation/aggregation/LogProductAggregationFunction.java | Java | agpl-3.0 | 2,633 |
//-----------------------------------------------------------------------------
// Platform-dependent functionality.
//
// Copyright 2017 whitequark
//-----------------------------------------------------------------------------
#if defined(__APPLE__)
// Include Apple headers before solvespace.h to avoid identifier cla... | KmolYuan/python-solvespace | src/platform/platform.cpp | C++ | agpl-3.0 | 17,403 |
<?php decorate_with('layout_1col.php') ?>
<?php slot('title') ?>
<h1 class="multiline">
<?php echo __('Edit %1% - ISDF', array('%1%' => sfConfig::get('app_ui_label_function'))) ?>
<span class="sub"><?php echo render_title($resource->getLabel()) ?></span>
</h1>
<?php end_slot() ?>
<?php slot('content') ?>
... | PeaceWorksTechnologySolutions/atom | plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/editSuccess.php | PHP | agpl-3.0 | 8,993 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/ocrr/vo/OrdersRequiringAuthorisationSearchCriteriaVo.java | Java | agpl-3.0 | 12,173 |
<?php
/**
* @package plugins.caption
* @subpackage model.data
*/
class kCopyCaptionsJobData extends kJobData
{
/** entry Id
* @var string
*/
private $entryId;
/**
* the sources start time and duration
* @var array
*/
private $clipsDescriptionArray;
/**
* @var bool
*/
priv... | DBezemer/server | plugins/content/caption/base/lib/model/kCopyCaptionsJobData.php | PHP | agpl-3.0 | 1,140 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2010 SugarCRM Inc.
*
* This program is free ... | gcoop-libre/Advanced-Workflows-For-Sugar-CRM | install_dir/modules/gcoop_notificaciones/metadata/popupdefs.php | PHP | agpl-3.0 | 2,445 |
# 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.utils import flt, cint, cstr
from frappe import _
from frappe.model.mapper import get_mapped_doc
from frappe.model.document i... | gsnbng/erpnext | erpnext/hr/doctype/salary_structure/salary_structure.py | Python | agpl-3.0 | 8,133 |
var status = 0;
var request;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0 && status == 0) {
cm.dispose();
return;
}
if (mode == 1)
... | ronancpl/MapleSolaxiaV2 | scripts/npc/2042009.js | JavaScript | agpl-3.0 | 511 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/emergency/vo/AttendanceHistoryDialogParamsVoCollection.java | Java | agpl-3.0 | 8,947 |
//////////////////////////////////////////////////////////////////////////
// //
// This is a generated file. You can view the original //
// source in your browser if your browser supports source maps. //
// Source maps are s... | clinical-meteor/meteor-on-fhir | cordova-build-release/www/application/packages/clinical_accounts-oauth.js | JavaScript | agpl-3.0 | 10,784 |
# frozen_string_literal: true
# This migration comes from decidim (originally 20210310120640)
class AddFollowableCounterCacheToUsers < ActiveRecord::Migration[5.2]
def change
add_column :decidim_users, :follows_count, :integer, null: false, default: 0, index: true
reversible do |dir|
dir.up do
... | diputacioBCN/decidim-diba | db/migrate/20220203073236_add_followable_counter_cache_to_users.decidim.rb | Ruby | agpl-3.0 | 503 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/RefMan/src/ims/RefMan/forms/booktheatreslot/BaseLogic.java | Java | agpl-3.0 | 9,878 |
/*File: tagsService.js
*
* Copyright (c) 2013-2016
* Centre National d’Enseignement à Distance (Cned), Boulevard Nicephore Niepce, 86360 CHASSENEUIL-DU-POITOU, France
* (direction-innovation@cned.fr)
*
* GNU Affero General Public License (AGPL) version 3.0 or later version
*
* This file is part of a program whi... | cnedDI/AccessiDys | app/scripts/services/tagsService.js | JavaScript | agpl-3.0 | 1,918 |
/*
* Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi
*
* 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 the License, or
* (at your option) any l... | JavierPeris/kunagi | src/main/java/scrum/server/css/CssServlet.java | Java | agpl-3.0 | 2,099 |
#include "InformationParser.h"
InformationParser::InformationParser()
{
}
bool InformationParser::readJSON()
{
//Place Function Code Here
return true;
}
| UCSolarCarTeam/Recruit-Resources | Recruit-Training/Advanced-Recruit-Training/Viscomm-Teaser/Viscomm-Teaser-Training/src/InformationParser.cpp | C++ | agpl-3.0 | 164 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package qa.qcri.aidr.dbmanager.ejb.remote.facade.imp;
import static org.junit.Assert.assertEquals;
import static org.junit.Ass... | qcri-social/Crisis-Computing | aidr-db-manager/src/test/java/qa/qcri/aidr/dbmanager/ejb/remote/facade/imp/TestDocumentNominalLabelResourceFacadeImp.java | Java | agpl-3.0 | 15,577 |
#!/usr/bin/env python
import argparse
import os
import sys
from loomengine import server
from loomengine import verify_has_connection_settings, \
get_server_url, verify_server_is_running, get_token
from loomengine_utils.connection import Connection
from loomengine_utils.exceptions import LoomengineUtilsError
cla... | StanfordBioinformatics/loom | client/loomengine/run_label.py | Python | agpl-3.0 | 7,876 |
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Addons modules by CLEARCORP S.A.
# Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>).
#
# This program is free software: you can redistribute... | ClearCorp/odoo-clearcorp | TODO-9.0/budget/stock.py | Python | agpl-3.0 | 3,050 |
<?php
/**
* @file classes/file/wrappers/HTTPFileWrapper.inc.php
*
* Copyright (c) 2000-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @package file.wrappers
* @ingroup file_wrappers
*
* Class providing a wrapper for the HTTP protocol.
* (for when allow_u... | ingmarschuster/MindResearchRepository | ojs-2.3.8/lib/pkp/classes/file/wrappers/HTTPFileWrapper.inc.php | PHP | agpl-3.0 | 4,336 |
describe('Markdown plugin', function() {
const Vue = require('vue');
Vue.use(require('plugins/markdown'));
Vue.config.async = false;
afterEach(function() {
fixture.cleanup();
});
/**
* Remove invisible nodes generated by Vue.js
*/
function strip(el) {
[...el.chil... | opendatateam/udata | specs/plugins/markdown.specs.js | JavaScript | agpl-3.0 | 6,254 |
# -*- encoding : utf-8 -*-
module GrabName
protected
def self.grab_name(id)
e = self.find(id,:select => 'name')
e = e.nil? ? '' : e.name
end
end
| codeforeurope/samenspel | lib/grab_name.rb | Ruby | agpl-3.0 | 167 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Core/src/ims/core/forms/nokdetails/BaseAccessLogic.java | Java | agpl-3.0 | 4,011 |
require "uri"
module Noosfero
module API
class Session < Grape::API
# Login to get token
#
# Parameters:
# login (*required) - user login or email
# password (required) - user password
#
# Example Request:
# POST http://localhost:3000/api/v1/login?login=admin... | tallysmartins/noosfero | lib/noosfero/api/session.rb | Ruby | agpl-3.0 | 5,667 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Hybrasyl.Plugins
{
// TODO: interface
public class Message
{
public string Sender = string.Empty;
public string Recipient = string.Empty;
public Xml.MessageType Type { get; set; }
public string Tex... | hybrasyl/server | hybrasyl/Plugins/Message.cs | C# | agpl-3.0 | 697 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2014 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* This program is free software: you can redistribute it and/or modi... | zheguang/voltdb | src/ee/expressions/parametervalueexpression.cpp | C++ | agpl-3.0 | 2,859 |
<?php
$TRANSLATIONS = array(
"Unable to load list from App Store" => "앱 스토어에서 목록을 가져올 수 없습니다",
"Authentication error" => "인증 오류",
"Group already exists" => "그룹이 이미 존재함",
"Unable to add group" => "그룹을 추가할 수 없음",
"Email saved" => "이메일 저장됨",
"Invalid email" => "잘못된 이메일 주소",
"Unable to delete group" => "그룹을 삭제할 수 없음",
"Una... | ipit-international/learning-environment | owncloud/settings/l10n/ko.php | PHP | agpl-3.0 | 7,680 |
package io.scrollback.neighborhoods.bundle;
import android.support.annotation.NonNull;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public cl... | wesley1001/io.scrollback.neighborhoods | android/app/src/main/java/io/scrollback/neighborhoods/bundle/Checksum.java | Java | agpl-3.0 | 1,065 |
/*!
* CanJS - 2.2.9
* http://canjs.com/
* Copyright (c) 2015 Bitovi
* Fri, 11 Sep 2015 23:12:43 GMT
* Licensed MIT
*/
/*can@2.2.9#util/hashchange*/
define(['can/util/can'], function (can) {
(function () {
var addEvent = function (el, ev, fn) {
if (el.addEventListener) {
... | et304383/passbolt_api | app/webroot/js/lib/can/dist/amd/can/hashchange.js | JavaScript | agpl-3.0 | 719 |
<?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-2011 SugarCRM Inc.
*
* This ... | shahrooz33ce/sugarcrm | include/database/MssqlManager.php | PHP | agpl-3.0 | 51,509 |
# -*- coding: utf-8; -*-
#
# This file is part of Superdesk.
#
# Copyright 2013, 2014 Sourcefabric z.u. and contributors.
#
# For the full copyright and license information, please see the
# AUTHORS and LICENSE files distributed with this source code, or
# at https://www.sourcefabric.org/superdesk/license
from bson i... | sivakuna-aap/superdesk | server/apps/archive/archive_test.py | Python | agpl-3.0 | 14,852 |
require File.expand_path(File.dirname(__FILE__) + '/../../qti_helper')
if Qti.migration_executable
describe "QTI 1.2 zip with id prepender value" do
before(:all) do
@archive_file_path = File.join(BASE_FIXTURE_DIR, 'qti', 'plain_qti.zip')
unzipped_file_path = File.join(File.dirname(@archive_file_path),... | arrivu/hoodemo | vendor/plugins/qti_exporter/spec_canvas/lib/qti/qti_1_2_zip_spec.rb | Ruby | agpl-3.0 | 8,059 |
<?php
/**
* @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
* 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 ... | annando/friendica | src/Module/Magic.php | PHP | agpl-3.0 | 4,902 |
define([
'collections/catalog_collection',
'test/mock_data/catalogs'
],
function(CatalogCollection,
MockCatalogs) {
'use strict';
var collection,
response = MockCatalogs;
beforeEach(function() {
collection = new CatalogCollection();
});
... | eduNEXT/edunext-ecommerce | ecommerce/static/js/test/specs/collections/catalog_collection_spec.js | JavaScript | agpl-3.0 | 924 |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/quote.hpp" header
// -- DO NOT modify by hand!
namespace abt_boost{} namesp... | jbruestle/aggregate_btree | tiny_boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp | C++ | agpl-3.0 | 2,290 |
@extends('layouts/default')
@section('title0')
@if ((Input::get('company_id')) && ($company))
{{ $company->name }}
@endif
@if (Input::get('status'))
@if (Input::get('status')=='Pending')
{{ trans('general.pending') }}
@elseif (Input::get('status')=='RTD')
{{ trans('general.ready_to_deploy') }}
... | madd15/snipe-it | resources/views/hardware/index.blade.php | PHP | agpl-3.0 | 3,507 |
<?php
$module_name = 'OfficeReportsHistory';
$metafiles[$module_name] = array(
'detailviewdefs' => 'modules/' . $module_name . '/metadata/detailviewdefs.php',
'editviewdefs' => 'modules/' . $module_name . '/metadata/editviewdefs.php',
'listviewdefs' => 'modules/' . $module_name . '/metadata/listviewdef... | MarStan/sugar_work | modules/OfficeReportsHistory/metadata/metafiles.php | PHP | agpl-3.0 | 581 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.contrib.gis.db.models.fields
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.CreateModel(
name... | ibamacsr/casv | casv/core/migrations/0002_areasoltura.py | Python | agpl-3.0 | 2,089 |
//
// FakeEnvironment.cs
//
// Author:
// Giacomo Tesio <giacomo@tesio.it>
//
// Copyright (c) 2010-2013 Giacomo Tesio
//
// This file is part of Epic.NET.
//
// Epic.NET is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as publishe... | Shamar/Epic.NET | Code/UnitTests/Epic.Core.UnitTests/Fakes/FakeEnvironment.cs | C# | agpl-3.0 | 1,300 |
(function (plugin, core, scene) {
var plug = new plugin.GlobalRendering({
name: "Axes",
tooltip: "Show world space axes",
icon: "img/icons/axis.png",
toggle: true,
on: false
});
var DEFAULTS = {
planeSize: 10,
gridSpacing: 10,
gridColor:... | cignoni/meshlabjs | js/mlj/plugins/rendering/Axes.js | JavaScript | agpl-3.0 | 16,533 |