code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Paypal\Test\Unit\Model\Payflow\Service\Response\Validator; use Magento\Framework\DataObject; use Magento\Paypal\Model\Payflow\Transparent; use Magento\Paypal\Model\Payflowpro; use Magento\Paypal\Mo...
rajmahesh/magento2-master
vendor/magento/module-paypal/Test/Unit/Model/Payflow/Service/Response/Validator/ResponseValidatorTest.php
PHP
gpl-3.0
3,762
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
/* This file is part of Cute Chess. Copyright (C) 2008-2018 Cute Chess authors Cute Chess 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 optio...
joergoster/cutechess
projects/lib/src/enginebuilder.h
C
gpl-3.0
1,472
--- title: Introducing Hydejack 8 image: /assets/img/blog/hydejack-8.png description: > Hydejack 8 is the best version of Hydejack yet. It introduces Cover Pages, Offline Support, and soon... Dark Mode. --- After a long wait, Hydejack 8 finally sees the day of its release. It makes Hydejack look more elegant (no m...
vvrs/vvrs.github.io
hydejack/_posts/2018-06-30-introducing-hydejack-8.md
Markdown
gpl-3.0
2,379
/* * 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
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <stddef.h> #include <stdint.h> #include <qnnpack/common.h> #include <qnnpack/...
lavima/MLLib
src/torch/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8lut32norm.h
C
gpl-3.0
686
################################################################################ # Add user packages to RPM database after update ################################################################################ cernvm_start() { if ls /var/lib/cernvm-update/run/*.rpm >/dev/null 2>&1; then echo for PKG in /va...
cernvm/cernvm-config
etc/cernvm/cernvm.d/S90reinstallpackages.sh
Shell
gpl-3.0
568
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: HypothesisList.proto #ifndef PROTOBUF_HypothesisList_2eproto__INCLUDED #define PROTOBUF_HypothesisList_2eproto__INCLUDED #include <string> #include <google/protobuf/stubs/common.h> #if GOOGLE_PROTOBUF_VERSION < 3001000 #error This file was gener...
sangwook236/SWDT
sw_dev/cpp/rnd/test/object_representation/pictorial_structures_revisited_lib/libPictStruct/HypothesisList.pb.h
C
gpl-3.0
15,720
/* binw$ routine for long long's */ #include "fb.h" /*:::::*/ FBCALL FB_WCHAR *fb_WstrBinEx_l ( unsigned long long num, int digits ) { FB_WCHAR *dst, *buf; int i, totdigs; if( digits > 0 ) { totdigs = (digits < sizeof( long long ) << 3? digits: sizeof( long long ) << 3); if( digits > sizeof( long long ) << 3...
rvega/pd-bbb-gpio
vendors/FreeBASIC-0.90.0-source/src/rtlib/strw_bin_lng.c
C
gpl-3.0
1,188
/* This file is part of Cute Chess. Copyright (C) 2008-2018 Cute Chess authors Cute Chess 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 optio...
joergoster/cutechess
projects/lib/src/board/pocketknightboard.h
C
gpl-3.0
2,056
<?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
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */ #ifndef nsCycleCollector_h__ #defi...
DragonZX/fdm
Gecko.SDK/30/include/nsCycleCollector.h
C
gpl-3.0
2,645
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= [ ['booltobyte',['boolToByte',['../convert_8cpp.html#a86cb12eecbe381c8a16ab8334bb3d96f',1,'boolToByte(bool b):&#160;convert.cpp'],['../convert_8h.html#a86cb12eecbe381c8a16ab8334bb3d96f',1,'boolToByte(bool b):&#160;convert.cpp']]], ['bytetoint',['byteToInt',['../convert_8cpp.html#a5ceb93f16a36822ce84...
ttomasini/AWS
dist/Doxygen/html/search/functions_0.js
JavaScript
gpl-3.0
510
----------------------------------- -- -- Zone: Abyssea - Vunkerl -- ----------------------------------- local ID = require("scripts/zones/Abyssea-Vunkerl/IDs") require("scripts/globals/quests") ----------------------------------- function onInitialize(zone) end function onZoneIn(player,prevZone) local cs = -1 ...
TeoTwawki/darkstar
scripts/zones/Abyssea-Vunkerl/Zone.lua
Lua
gpl-3.0
808
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
#!/bin/sh mkdir /etc/ssl/private-copy; mv /etc/ssl/private/* /etc/ssl/private-copy/; rm -r /etc/ssl/private; mv /etc/ssl/private-copy /etc/ssl/private; chmod -R 0700 /etc/ssl/private; chown -R postgres /etc/ssl/private sudo -u postgres /usr/lib/postgresql/9.4/bin/postgres -D /var/lib/postgresql/9.4/main -c config_file=...
Terry-Weymouth/transmart-docker
1.2.4/embedded/start-postgres.sh
Shell
gpl-3.0
361
----------------------------------------- -- Spell: Barblind ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target,spell) return 0; end; function onSp...
ffxinfinity/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/barblind.lua
Lua
gpl-3.0
792
<?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
#include "platform.h" #include <libxml/parser.h> #include <libxml/xpathInternals.h> #include <libxml/c14n.h> static bool xmlC14nizeFile(const char *filename) { xmlDocPtr doc = xmlParseFile(filename); if (doc == NULL) { fprintf(stderr, "Unable to open %s for canonicalization\n", filename); ...
jooooooon/core
tests/acceptance/xml-c14nize.c
C
gpl-3.0
1,068
/** * (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
/* * Copyright (C) 2012 Google Inc. 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 retain the above copyright * notice, this list of conditions ...
cs-au-dk/Artemis
WebKit/Source/WebCore/Modules/speech/SpeechRecognitionAlternative.h
C
gpl-3.0
2,088
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
/* * Copyright (c) 2012 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government * retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
polymec/polyglot-dev
3rdparty/exodus/exodus/cbind/src/ex_get_sets.c
C
mpl-2.0
3,284
{% load i18n crispy_forms_tags %} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <head xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}"> <!-- - CDR-Stats License - http://www.cdr-stats.org - ...
cdr-stats/cdr-stats
cdr_stats/frontend/templates/frontend/master.html
HTML
mpl-2.0
6,513
/* 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
/* 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/. */ //! CSS table formatting contexts. #![deny(unsafe_code)] use block::{BlockFlow, ISizeAndMarginsComputer, Margins...
pyecs/servo
components/layout/table_cell.rs
Rust
mpl-2.0
14,810
//////////////////////////////////////////////////////////////////////////////// /// /// 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
# -*- coding: utf-8 -*- # 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 import pytest import requests from unittest.mock import ...
garbas/mozilla-releng-services
src/shipit_pipeline/tests/test_pipeline.py
Python
mpl-2.0
4,166
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
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=constant.F_UNLCK.html"> </head> <body> <p>Redirecting to <a href="constant.F_UNLCK.html">constant.F_UNLCK.html</a>...</p> <script>location.replace("constant.F_UNLCK.html" + location.search + location.hash);</script> </body> </...
surrsurus/edgequest
doc/libc/unix/notbsd/linux/other/b64/x86_64/F_UNLCK.v.html
HTML
mpl-2.0
325
{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} {-# L...
kim/amazonka
amazonka-ec2/gen/Network/AWS/EC2/CreateInstanceExportTask.hs
Haskell
mpl-2.0
5,345
package googlecompute import ( "errors" "fmt" "time" "github.com/mitchellh/multistep" "github.com/mitchellh/packer/packer" ) // StepCreateInstance represents a Packer build step that creates GCE instances. type StepCreateInstance struct { Debug bool } func (config *Config) getImage() Image { project := confi...
ephemeralsnow/packer
builder/googlecompute/step_create_instance.go
GO
mpl-2.0
4,045
/* 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 file contains several functions to perform model-based initializers. Created: Wei-Chen Chen on 2009/03/04. */ #include <R.h> #include <Rinternals.h> #include <Rmath.h> #include <math.h> /* These are all required for EMCluster and defined at other files provided by Dr. Ranjan Maitra and Volodymyr Melnyk...
snoweye/EMCluster
src/mb_tool.h
C
mpl-2.0
5,741
/* * 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
<html xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vim2="urn:vim2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> <sc...
hooklift/govsphere
reference/vim.fault.VsanFault.html
HTML
mpl-2.0
4,197
/* 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/. */ //! Exports macros for use in other Servo crates. #[macro_export] macro_rules! bitfield( ($bitfieldname:ident...
fabricedesre/servo
components/plugins/macros.rs
Rust
mpl-2.0
811
// Usage: // - Start rtc_server.js first: // ./rtc_server --port 8000 // // - Then use a docker build of slimerjs to run the test: // IP_ADDR=$(hostname -I | awk '{print $1}') // docker run -it -v `pwd`/test:/test slimerjs-0.9.6 slimerjs /test/test_up.js http://${IP_ADDR}:8000/ var common = require('common'), ...
moquist/raft.js
test/test_up.js
JavaScript
mpl-2.0
1,370
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
package generator import ( "bytes" "encoding/json" "net/http" "net/http/httptest" "testing" "github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cloudflare/cfssl/csr" ) func csrData(t *testing.T) *bytes.Reader { req := &csr.CertificateRequest{ Names: []csr.Name{ { C: "US", ST: "Calif...
bifurcation/boulder
Godeps/_workspace/src/github.com/cloudflare/cfssl/api/generator/generator_test.go
GO
mpl-2.0
1,702
/* 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 https://mozilla.org/MPL/2.0/. */ use backtrace; use msg::constellation_msg::{HangProfile, HangProfileSymbol}; use std::ptr; const MAX_NATIVE_FRAM...
nnethercote/servo
components/background_hang_monitor/sampler.rs
Rust
mpl-2.0
2,840
//// 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
oscript "..\utils\precommit1c\v8files-extractor.os" --decompile "..\tests" "..\src\tests"
wizi4d/TaskManagerFor1C
scripts/decompile.cmd
Batchfile
mpl-2.0
89
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
//------------------------------------------------------------------------------ // <auto-generated> // Este código se generó a partir de una plantilla. // // Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación. // Los cambios manuales en este archivo se sobrescribi...
loconomics/loconomics
iCalendarLib/CalendarDll/Data/address.cs
C#
mpl-2.0
1,479
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
package schema import ( "errors" "fmt" "github.com/hashicorp/terraform/terraform" ) // Resource represents a thing in Terraform that has a set of configurable // attributes and a lifecycle (create, read, update, delete). // // The Resource schema is an abstraction that allows provider writers to // worry only abo...
jefferai/terraform
helper/schema/resource.go
GO
mpl-2.0
5,452
QA_DOCKER_IMAGE=parkmanager/phpqa:latest QA_DOCKER_COMMAND=docker run --init -t --rm --env "COMPOSER_HOME=/composer" --user "$(shell id -u):$(shell id -g)" --volume /tmp/tmp-phpqa-$(shell id -u):/tmp:delegated --volume "$(shell pwd):/project:delegated" --volume "${HOME}/.composer:/composer:delegated" --workdir /project...
park-manager/park-manager
Makefile
Makefile
mpl-2.0
3,502
#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
/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it and/or mod...
cfelipesouza/qgroundcontrol
src/FirmwarePlugin/FirmwarePlugin.h
C
agpl-3.0
5,604
//############################################################################# //# # //# 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
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
Fiware/data.Orion
test/unittests/ngsi10/SubscribeContextRequest_test.cpp
C++
agpl-3.0
12,342
/* * * Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
telefonicaid/fiware-orion
test/unittests/orionTypes/EntityTypeResponse_test.cpp
C++
agpl-3.0
1,452
/* * 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
require 'test_helper' class PlaceSharesHelperTest < ActionView::TestCase end
0612800232/sns_shop
test/unit/helpers/place_shares_helper_test.rb
Ruby
agpl-3.0
78
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2015 Tanaguru.org * * This file is part of Tanaguru. * * Tanaguru 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 versio...
medsob/Tanaguru
rules/accessiweb2.1/src/test/java/org/tanaguru/rules/accessiweb21/Aw21Rule08012Test.java
Java
agpl-3.0
9,718
<?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