repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
GreatWorksCopenhagen/gw-xmascard
src/lib/bower/modernizr@3.2.0/test/browser/src/prefixedCSS.js
1054
/* */ "format global"; describe('prefixedCSS', function() { var ModernizrProto = {_config: {usePrefixes: true}, _q: []}; var prefixedCSS; var cleanup; before(function(done) { define('ModernizrProto', [], function() {return ModernizrProto;}); define('package', [], function() {return {version: 'v9999'};...
gpl-3.0
privamov/accio
accio/java/fr/cnrs/liris/infra/thriftserver/WebhookAuthStrategy.scala
2605
/* * Accio is a platform to launch computer science experiments. * Copyright (C) 2016-2018 Vincent Primault <v.primault@ucl.ac.uk> * * Accio 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...
gpl-3.0
PrestaShop/prestonbot
src/AppBundle/PullRequests/Repository.php
4368
<?php namespace AppBundle\PullRequests; use AppBundle\Search\Repository as SearchRepository; use Github\Api\Issue\Comments as KnpCommentsApi; use Github\Exception\RuntimeException; use PrestaShop\Github\Entity\Comment; use PrestaShop\Github\Entity\PullRequest; /** * Get the pull requests according to some filters ...
gpl-3.0
ericmjonas/pybm3d
pybm3d/__init__.py
90
"""PyBM3D package for image denoising.""" import pybm3d.bm3d as bm3d __all__ = ['bm3d']
gpl-3.0
gausie/croud
public/modules/points/config/points.client.config.js
289
'use strict'; // Configuring the Points module angular.module('points').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', '<i class="fa fa-map-marker"></i> Add a point!', 'createPoint', 'button', undefined, undefined, undefined, -1); } ]);
gpl-3.0
Booksonic-Server/madsonic-main
src/test/java/org/madsonic/domain/TranscodeSchemeTestCase.java
1601
/* This file is part of Madsonic. Madsonic 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. Madsonic is distributed in the hope that i...
gpl-3.0
StanShebs/gdb-doxy-test
gdbserver/search/variables_73.js
12044
var searchData= [ ['s390_5fbreakpoint',['s390_breakpoint',['../linux-s390-low_8c.html#a884b4915122741248c43f95f666f19fd',1,'linux-s390-low.c']]], ['s390_5fregmap',['s390_regmap',['../linux-s390-low_8c.html#a4b484b0afbb9bea8668d65622219ff8d',1,'linux-s390-low.c']]], ['s390_5fregsets',['s390_regsets',['../linux-s39...
gpl-3.0
voidALPHA/cgc_viz
Assets/Packages/Plugins/Mono/FileDialog.cs
5289
// Copyright 2017 voidALPHA, Inc. // This file is part of the Haxxis video generation system and is provided // by voidALPHA in support of the Cyber Grand Challenge. // Haxxis 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 Softwar...
gpl-3.0
SpaceGroupUCL/qgisSpaceSyntaxToolkit
esstoolkit/external/networkx/algorithms/centrality/tests/test_closeness_centrality.py
10220
""" Tests for closeness centrality. """ import pytest import networkx as nx from networkx.testing import almost_equal class TestClosenessCentrality: @classmethod def setup_class(cls): cls.K = nx.krackhardt_kite_graph() cls.P3 = nx.path_graph(3) cls.P4 = nx.path_graph(4) cls.K5 ...
gpl-3.0
Antokolos/NLB_Legacy
NLB_Bldr/DialogTriggeredStringConditionProperties.cpp
6213
// DialogTriggeredStringConditionProperties.cpp : implementation file // #include "stdafx.h" #include "NLB_Bldr.h" #include "NLB_BldrDoc.h" #include "MainFrm.h" #include "DialogTriggeredStringConditionProperties.h" #include "CBookVar.h" #include "CStringVar.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE stat...
gpl-3.0
wh1t3cAt1k/whitemath
whiteMath/WhiteMath/ArithmeticLong/LongArithmeticMethods.cs
29216
using System; using System.Collections.Generic; using System.Linq; using WhiteMath.General; using WhiteStructs.Conditions; using WhiteStructs.Collections; namespace WhiteMath.ArithmeticLong { /// <summary> /// This class provides static methods for various long /// integer calculation purposes. /// </...
gpl-3.0
Moony22/Compact_Crafting
src/main/java/moony/compactcrafting/worldgenerators/WorldGeneratorCNR.java
1130
package moony.compactcrafting.worldgenerators; import java.util.Random; import moony.compactcrafting.CCMain; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class WorldGenerat...
gpl-3.0
aristide/playSMS
web/plugin/feature/simplerate/simplerate.php
7078
<?php /** * This file is part of playSMS. * * playSMS 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. * * playSMS is distribut...
gpl-3.0
c-pari22/dressme
dressme/dressme/wsgi.py
392
""" WSGI config for dressme project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
gpl-3.0
manuelp/todo-events
src/main/java/com/github/manuelp/todoEvents/listView/UpdateTodo.java
1317
package com.github.manuelp.todoEvents.listView; import com.github.manuelp.todoEvents.events.TodoUpdated; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.skife.jdbi.v2.DBI; import rx.Observer; import java.sql.Timestamp; import java.time.LocalDateTime; public class Update...
mpl-2.0
paragonie/halite
test/unit/FileTest.php
31508
<?php declare(strict_types=1); use ParagonIE\Halite\File; use ParagonIE\Halite\KeyFactory; use ParagonIE\Halite\Stream\{ MutableFile, ReadOnlyFile, WeakReadOnlyFile }; use ParagonIE\Halite\Symmetric\EncryptionKey; use ParagonIE\Halite\Util; use ParagonIE\Halite\Alerts as CryptoException; use ParagonIE\Hidd...
mpl-2.0
oracle/terraform-provider-baremetal
vendor/github.com/oracle/oci-go-sdk/v46/email/list_suppressions_request_response.go
7730
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei...
mpl-2.0
servinglynk/hmis-lynk-open-source
hmis-service-v2014/src/main/java/com/servinglynk/hmis/warehouse/service/converter/VeteranInfoConverter.java
6348
package com.servinglynk.hmis.warehouse.service.converter; import com.servinglynk.hmis.warehouse.core.model.VeteranInfo; import com.servinglynk.hmis.warehouse.enums.VeteranInfoAfghanistanOefEnum; import com.servinglynk.hmis.warehouse.enums.VeteranInfoDesertStormEnum; import com.servinglynk.hmis.warehouse.enums.Veteran...
mpl-2.0
oracle/terraform-provider-baremetal
vendor/github.com/oracle/oci-go-sdk/v46/goldengate/stop_deployment_details.go
1605
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei...
mpl-2.0
nisun/tel
Libraries/Telehire.Core/Infrastructure/Fake/FakeHttpSessionState.cs
1630
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Web; using System.Web.SessionState; namespace Telehire.Core.Infrastructure.Fake { public class FakeHttpSessionState : HttpSessionStateBase ...
mpl-2.0
Ninir/terraform-provider-aws
aws/resource_aws_dms_endpoint_test.go
19588
package aws import ( "fmt" "testing" "github.com/aws/aws-sdk-go/aws" dms "github.com/aws/aws-sdk-go/service/databasemigrationservice" "github.com/hashicorp/terraform/helper/acctest" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" ) func TestAccAwsDmsEndpointBasic(t ...
mpl-2.0
CoderLine/alphaTab
src/rendering/BarRendererBase.ts
18514
import { Bar } from '@src/model/Bar'; import { Beat } from '@src/model/Beat'; import { Note } from '@src/model/Note'; import { SimileMark } from '@src/model/SimileMark'; import { Voice } from '@src/model/Voice'; import { ICanvas } from '@src/platform/ICanvas'; import { BeatXPosition } from '@src/rendering/BeatXPosition...
mpl-2.0
walac/taskcluster-worker
plugins/artifacts/artifacts_test.go
2778
package artifacts import ( "encoding/json" "fmt" "net/http" "net/http/httptest" "testing" "github.com/taskcluster/slugid-go/slugid" "github.com/taskcluster/taskcluster-client-go/tcqueue" "github.com/taskcluster/taskcluster-worker/plugins/plugintest" "github.com/taskcluster/taskcluster-worker/runtime/client" ...
mpl-2.0
JustBru00/RenamePlugin
src/com/gmail/justbru00/epic/rename/utils/v3/MaterialPermManager.java
1591
package com.gmail.justbru00.epic.rename.utils.v3; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import com.gmail.justbru00.epic.rename.enums.v3.EpicRenameCommands; public class MaterialPermManager { public static final String MATERIAL_PERM = "epicrename.{CMD}.material.{MATERIAL}"...
mpl-2.0
testdouble/axe-matchers
lib/axe/api/options.rb
497
require 'forwardable' require 'axe/api/rules' module Axe module API class Options extend Forwardable def_delegators :@rules, :according_to, :checking, :checking_only, :skipping def_delegator :@custom, :merge!, :with_options def initialize @rules = Rules.new @custom = {} ...
mpl-2.0
denigma/drugage
app/js/src/main/scala/org/denigma/drugage/FrontEnd.scala
2107
package org.denigma.drugage import org.denigma.binding.binders.{GeneralBinder, NavigationBinding} import org.denigma.binding.extensions._ import org.denigma.binding.views.BindableView import org.denigma.controls.login.{AjaxSession, LoginView} import org.denigma.drugage.views.{SidebarView, MenuView} import org.querki.j...
mpl-2.0
Bertware/bukkitgui2
bukkitgui2/MinecraftServers/Servers/JsonApi2Server.cs
1867
// JsonApi2Server.cs in bukkitgui2/bukkitgui2 // Created 2014/09/05 // // 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/. // // ©Bertware, visit http://bertware.net ...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
addon-sdk/source/lib/sdk/ui/sidebar.js
10346
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 'use strict'; module.metadata = { 'stability': 'experimental', 'engines': { 'Firefox': '*' } }; const {...
mpl-2.0
gabyx/ExecutionGraph
include/executionGraph/common/Log.hpp
3710
//! ======================================================================================== //! ExecutionGraph //! Copyright (C) 2014 by Gabriel Nützi <gnuetzi (at) gmail (døt) com> //! //! @date Mon Jan 08 2018 //! @author Gabriel Nützi, <gnuetzi (at) gmail (døt) com> //! //! This Source Code Form is subject to ...
mpl-2.0
SingleSO/singleso
views/admin/settings.php
6561
<?php /** * @var yiiwebView $this * @var yii\bootstrap\ActiveForm $form * @var app\models\admin\SettingsForm $model */ use yii\helpers\Html; use yii\bootstrap\ActiveForm; use yii\captcha\Captcha; $this->title = 'Settings'; ?> <?= $this->render('_alert') ?> <div class="row"> <div class="col-sm-10 col-sm-offset...
mpl-2.0
marcelohenrique/jsc
src/misc/dwr/bean/Contato.java
1078
package misc.dwr.bean; public class Contato { private int id; private String nome; private String endereco; private String telefone; private long timestamp; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getNome() { return nome; } public void setNom...
mpl-2.0
tmhorne/celtx
security/manager/pki/src/nsPKIModule.cpp
3605
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
mpl-2.0
ellipsonic/thebuggenige_app
vendor/realityking/pchart/Example19.php
1491
<?php /* Example19 : Error reporting */ // Standard inclusions include("src/pData.php"); include("src/pChart.php"); // Dataset definition $DataSet = new pData; $DataSet->AddPoint(array(10,4,3,2,3,3,2,1,0,7,4,3,2,3,3,5,1,0,7),"Serie1"); $DataSet->AddPoint(array(1,4,2,6,2,3,0,1,-5,1,2,4,5,2,1,0,6,4,30),"S...
mpl-2.0
blitzagency/rich
demos/src/static/js/app/demos/auto-layout-demo/views/content.js
319
define(function (require, exports, module) { var rich = require('rich'); var utils = require('app/utils'); var RectangleView = require('app/shared/views/rectangle-view').RectangleView; var Content = RectangleView.extend({ autoLayoutTransition: { duration: 500 }, }); exports.Content = Content; });
mpl-2.0
fiji-flo/servo
components/style_derive/to_animated_zero.rs
2423
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use animate::{AnimationVariantAttrs, AnimationFieldAttrs}; use cg; use quote; use syn; use synstructure; pub fn d...
mpl-2.0
logicmonitor/k8s-argus
vendor/github.com/logicmonitor/lm-sdk-go/models/n_map_netscan.go
17318
// Code generated by go-swagger; DO NOT EDIT. package models // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "bytes" "context" "encoding/json" "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com...
mpl-2.0
dimy93/sports-cubed-android
osmdroid-android/src/main/java/org/osmdroid/tileprovider/BitmapPool.java
1498
package org.osmdroid.tileprovider; import java.util.LinkedList; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Build; public class BitmapPool { final LinkedList<Bitmap> mPool = new LinkedList<Bitmap>(); private static BitmapPool sInstance; public static Bit...
mpl-2.0
rhelmer/socorro-webapp
crashstats/api/tests/test_views.py
70979
import datetime import json import re from django.contrib.auth.models import User, Permission from django.core.urlresolvers import reverse from django.conf import settings import mock from nose.tools import eq_, ok_ from waffle import Switch from crashstats.base.tests.testbase import TestCase from crashstats.crashst...
mpl-2.0
kovaloid/infoarchive-sip-sdk
core/src/test/java/com/opentext/ia/sdk/dto/WhenFetchingJobInstance.java
779
/* * Copyright (c) 2016-2017 by OpenText Corporation. All Rights Reserved. */ package com.opentext.ia.sdk.dto; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import org.junit.Test; public class WhenFetchingJobInstance { private static final String STATUS = "SCHEDULED...
mpl-2.0
CODEiverse/Open-Source-Tools
Microsoft/CommandLineTools/CLBCStaticDataToUpdateInsertSqlData/Properties/AssemblyInfo.cs
1578
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("CLB...
mpl-2.0
akissa/baruwa-go
api/client.go
6199
// BaruwaAPI Golang bindings for Baruwa REST API // Copyright (C) 2019 Andrew Colin Kissa <andrew@topdog.za.net> // 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/. pac...
mpl-2.0
DiamondLovesYou/rust-ppapi
src/libhelper/builtin_defines.hpp
10946
#define _GNU_SOURCE 1 #define _ILP32 1 #define __ATOMIC_ACQUIRE 2 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_CONSUME 1 #define __ATOMIC_RELAXED 0 #define __ATOMIC_RELEASE 3 #define __ATOMIC_SEQ_CST 5 #define __BIGGEST_ALIGNMENT__ 8 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __CHAR16_TYPE__ unsigned short #...
mpl-2.0
shavac/gexpect
pty/terminal.go
1710
package pty import "os" type Terminal struct { Pty *os.File Tty *os.File Recorder []*os.File Log *os.File oldState State } func (t *Terminal) Write(b []byte) (n int, err error) { return t.Pty.Write(b) } func (t *Terminal) Read(b []byte) (n int, err error) { n, err = t.Pty.Read(b) for _, r := ...
mpl-2.0
hashicorp/vault
command/token_lookup.go
3079
package command import ( "fmt" "strings" "github.com/hashicorp/vault/api" "github.com/mitchellh/cli" "github.com/posener/complete" ) var ( _ cli.Command = (*TokenLookupCommand)(nil) _ cli.CommandAutocomplete = (*TokenLookupCommand)(nil) ) type TokenLookupCommand struct { *BaseCommand flagAcces...
mpl-2.0
jembi/openhim-mediator-engine-java
src/test/java/org/openhim/mediator/engine/CoreResponseTest.java
4991
/* * 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.openhim.mediator.engine; import org.apache.commons.io.IOUtils; import org.junit.Test; import jav...
mpl-2.0
AlexanderOMara/mozilla-add-on-tutorials
native-dev-panel/lib/panel-model.js
644
'use strict'; // A model class to handle communication with the debuggee. function PanelModel(debuggee) { this._debuggee = debuggee; this._debuggee.start(); } exports.PanelModel = PanelModel; PanelModel.prototype = { constructor: PanelModel, dispose: function() { this._debuggee = null; }, listTabs: function() ...
mpl-2.0
openMF/self-service-app
app/src/main/java/org/mifos/mobile/presenters/BeneficiaryApplicationPresenter.java
6045
package org.mifos.mobile.presenters; import android.content.Context; import android.view.View; import org.mifos.mobile.R; import org.mifos.mobile.api.DataManager; import org.mifos.mobile.injection.ApplicationContext; import org.mifos.mobile.models.beneficiary.BeneficiaryPayload; import org.mifos.mobile.models.benefic...
mpl-2.0
jfschwarz/jsxgettext
lib/cli.js
2696
#!/usr/bin/env node var fs = require('fs'); var path = require('path'); var jsxgettext = require('./jsxgettext'); var opts = require("nomnom") .script('jsxgettext') .option('output', { abbr: 'o', metavar: 'FILE', default: 'messages.po', help: 'write output to specified file'...
mpl-2.0
miracle-as/kitos
Core.DomainModel/ItSystem/AccessType.cs
581
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.DomainModel.ItSystem { public class AccessType : Entity, ISystemModule { public AccessType() { this.ItSystemUsages = new List<ItSystemUsage.ItSystemUsa...
mpl-2.0
Jumoo/Taskily
TaskilyWeb/Scripts/public/taskily.js
2332
/* taskily.js */ var Taskily = function (pickNo) { var tskly = {}; closebtn = '<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>'; var pickTotal = pickNo; tskly.updatePickerBar = function () { var pick...
mpl-2.0
cj3kim/commonly-famous
math/Utilities.js
1076
/* 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/. * * Owner: mark@famo.us * @license MPL 2.0 * @copyright Famous Industries, Inc. 2014 */ /** * A few stati...
mpl-2.0
shkim/ServerCore
samples/timer/timer.cpp
1951
/* ServerCore Sample, Timer With timer, the server can periodically send data to the client regardless of the client's request. */ #include "timer.h" IServerCore* g_pCore; class TimerServerModule : public IServerModule { virtual bool Create(IServerCore* pCore) { g_pCore = pCore; pCore->RegisterClientListene...
mpl-2.0
lorgan3/GG2server
objects/Hitboxes/Point.cs
788
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GG2server.objects.Hitboxes { public struct Point { public float x1; public float y1; /// <summary> /// Defines a point. /// </summary> /// ...
mpl-2.0
rhelmer/socorro-lib
socorro/unittest/external/elasticsearch/test_search.py
20182
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. import datetime import mock from nose.plugins.attrib import attr from nose.tools import eq_, ok_ from .unittestbase imp...
mpl-2.0
ArtMares/PQStudio
Builder/plastiq/include/widgets/PlastiQQGraphicsWidget/plastiqqgraphicswidget.cpp
56286
#include "plastiqmethod.h" #include "plastiqqgraphicswidget.h" #include "widgets/PlastiQQGraphicsObject/plastiqqgraphicsobject.h" #include "widgets/PlastiQQGraphicsLayoutItem/plastiqqgraphicslayoutitem.h" #include <QGraphicsWidget> #include <QFont> #include <QGraphicsLayout> #include <QPainter> #include <QStyleOption...
mpl-2.0
itesla/ipst-core
iidm/iidm-impl/src/main/java/eu/itesla_project/iidm/network/impl/ShuntCompensatorAdderImpl.java
2402
/** * Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium) * 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 eu...
mpl-2.0
lucksus/PJob
src/PJobFile/PJobResultFile.cpp
809
#include "PJobResultFile.h" PJobResultFile::PJobResultFile(void) { m_type = PJobResultFile::SINGLE_VALUE; } QString PJobResultFile::filename() const{ return m_filename; } void PJobResultFile::setFilename(QString filename){ m_filename = filename; } QList<PJobResult> PJobResultFile::results() con...
mpl-2.0
PawelGutkowski/openmrs-module-webservices.rest
omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/CustomDatatypeHandlerResource1_9.java
3563
/** * 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/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
mpl-2.0
finjin/finjin-common
cpp/library/src/MemorySize.cpp
7623
//Copyright (c) 2017 Finjin // //This file is part of Finjin Common (finjin-common). // //Finjin Common is distributed in the hope that it will be useful, //but WITHOUT ANY WARRANTY; without even the implied warranty of //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // //This Source Code Form is subject to the ...
mpl-2.0
lundjordan/services
src/codecoverage/bot/code_coverage_bot/codecov.py
7319
# -*- coding: utf-8 -*- import json import os import tempfile from datetime import datetime from datetime import timedelta import hglib import requests from cli_common.log import get_logger from cli_common.taskcluster import get_service from cli_common.utils import ThreadPoolExecutorResult from code_coverage_bot imp...
mpl-2.0
DISTORTEC/distortos
include/distortos/SignalsReceiver.hpp
1735
/** * \file * \brief SignalsReceiver class header * * \author Copyright (C) 2015-2019 Kamil Szczygiel https://distortec.com https://freddiechopin.info * * \par License * 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...
mpl-2.0
C6H2Cl2/YukariLib
src/main/java/c6h2cl2/YukariLib/ASM/YukariLibClassTransformer.java
1131
package c6h2cl2.YukariLib.ASM; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassWriter; import net.minecraft.launchwrapper.IClassTransformer; import net.minecraftforge.fml.relauncher.FMLLaunchHandler; import java.util.LinkedList; import java.util.List; /** * @author C6H2Cl2 */ public class Yukar...
mpl-2.0
Cempl/http-server-ws
ws_server/sources/VShared/FBL/publ/Algorithms/FBL_Algs_Table.cpp
9517
/**********************************************************************************************/ /* FBL_Algs_Table.cpp */ /* */ /* Copyright Paradigma, 1998-2017 */ /* All Rights...
mpl-2.0
NetlifeBackupSolutions/Winium.StoreApps
Winium/Winium.StoreApps.Common/Properties/AssemblyInfo.cs
1051
#region using System.Reflection; using System.Resources; #endregion // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Winium.StoreApps.Common")] [assemb...
mpl-2.0
das-praktische-schreinerlein/your-all-in-one
yaio-app-core/src/main/java/de/yaio/app/core/datadomain/DataDomain.java
2855
/** * software for projectmanagement and documentation * * @FeatureDomain Collaboration * @author Michael Schreiner <michael.schreiner@your-it-fellow.de> * @category collaboration * @copyright Copyright (c) 2014, Michael Schreiner * @...
mpl-2.0
Orange-OpenSource/ocara
app/src/test/java/com/orange/ocara/ui/presenter/TutorialDisplayPresenterCompleteOnboardingTest.java
2398
package com.orange.ocara.ui.presenter; import com.orange.ocara.business.interactor.UseCase; import com.orange.ocara.business.interactor.UseCaseHandler; import org.junit.Test; import static com.orange.ocara.business.interactor.ChangeOnboardingStepTask.ChangeOnboardingStepRequest; import static com.orange.ocara.busine...
mpl-2.0
jixiuf/go_spider
core/scheduler/scheduler_queue.go
1451
// Copyright 2014 Hu Cong. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package scheduler import ( "container/list" "crypto/md5" "github.com/jixiuf/go_spider/core/common/request" "sync" //"fmt" ) type QueueScheduler struct { loc...
mpl-2.0
fromonesrc/terraform
terraform/context_apply_test.go
86572
package terraform import ( "fmt" "os" "reflect" "sort" "strings" "sync" "sync/atomic" "testing" "time" "github.com/hashicorp/terraform/config/module" ) func TestContext2Apply(t *testing.T) { m := testModule(t, "apply-good") p := testProvider("aws") p.ApplyFn = testApplyFn p.DiffFn = testDiffFn ctx := ...
mpl-2.0
sunjay/turtle
examples/star.rs
265
use turtle::Turtle; fn main() { let mut turtle = Turtle::new(); turtle.right(90.0); turtle.set_pen_size(4.0); turtle.set_pen_color("yellow"); for _ in 0..5 { turtle.forward(300.0); turtle.right(180.0 - (180.0 / 5.0)); } }
mpl-2.0
ufal/udpipe
src/model/pipeline.cpp
3079
// This file is part of UDPipe <http://github.com/ufal/udpipe/>. // // Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of // Mathematics and Physics, Charles University in Prague, Czech Republic. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy ...
mpl-2.0
milescrabill/reaper_fork
securityGroup.go
613
package main import ( "github.com/aws/aws-sdk-go/service/ec2" ) type SecurityGroups []*SecurityGroup type SecurityGroup struct { AWSResource } func NewSecurityGroup(region string, sg *ec2.SecurityGroup) *SecurityGroup { s := SecurityGroup{ AWSResource{ ID: *sg.GroupID, Name: *sg.GroupName,...
mpl-2.0
geek/joyent-portal
packages/my-joy-instances/src/components/create-instance/__tests__/title.ui.js
1034
import React from 'react'; import { toMatchImageSnapshot } from 'jest-image-snapshot'; import screenshot from 'react-screenshot-renderer'; import { NameIcon } from 'joyent-ui-toolkit'; import Title from '../title'; import Theme from '@mocks/theme'; expect.extend({ toMatchImageSnapshot }); it('<Title />', async ()...
mpl-2.0
communityshare/communityshare
community_share/__init__.py
3968
import os import logging import sys from functools import wraps from typing import Any, Callable from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker, scoped_session from sqlalchemy.ext.declarative import declarative_base from community_share.config import load_app_config from community_share...
mpl-2.0
sideci-sample/sideci-sample-devdocs
lib/docs/scrapers/chai.rb
617
module Docs class Chai < UrlScraper self.name = 'Chai' self.type = 'chai' self.version = '1.10.0' self.base_url = 'http://chaijs.com' self.root_path = '/api/' self.initial_paths = %w(/guide/installation/) html_filters.push 'chai/entries', 'chai/clean_html' options[:container] = '#con...
mpl-2.0
oracle/terraform-provider-baremetal
vendor/github.com/oracle/oci-go-sdk/v46/core/change_cross_connect_compartment_details.go
1342
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei...
mpl-2.0
deanhiller/channelmanager2
input/javasrc/org/playorm/nio/api/libs/PacketProcessor.java
487
package org.playorm.nio.api.libs; import java.io.IOException; import java.nio.ByteBuffer; public interface PacketProcessor { public ByteBuffer processOutgoing(ByteBuffer b); /** * processIncoming reads from the ByteBuffer * @param true if we passed data to downstream listener, false if not * @return ...
mpl-2.0
openWMail/openWMail
src/scenes/mailboxes/src/ui/Mailbox/Google/GoogleMailboxMeetTab.js
2312
const React = require('react') const MailboxTabSleepable = require('../MailboxTabSleepable') const Mailbox = require('shared/Models/Mailbox/Mailbox') const { settingsStore } = require('../../../stores/settings') const URL = window.nativeRequire('url') const REF = 'mailbox_tab' module.exports = React.createClass({ /...
mpl-2.0
Aris-t2/ClassicThemeRestorer
xpi/defaults/preferences/options.js
19299
// tab settings pref("extensions.classicthemerestorer.tabs","tabs_squared"); pref("extensions.classicthemerestorer.tabsontop",'unset'); pref("extensions.classicthemerestorer.ctabheightcb",false); pref("extensions.classicthemerestorer.ctabheight",28); pref("extensions.classicthemerestorer.square_edges",false); pref("ext...
mpl-2.0
mcarton/rust-herbie-lint
tests/compile-fail/no-db/test.rs
165
#![feature(plugin)] //~ERROR: Could not initialize Herbie-Lint #![plugin(herbie_lint)] #![allow(unused_variables)] #![deny(herbie)] fn main() { let a = 42.; }
mpl-2.0
Helioviewer-Project/JHelioviewer-SWHV
src/org/helioviewer/jhv/timelines/Timelines.java
2344
package org.helioviewer.jhv.timelines; import java.util.ArrayList; import java.util.List; import javax.swing.JComponent; import org.helioviewer.jhv.events.JHVRelatedEvents; import org.helioviewer.jhv.gui.JHVFrame; import org.helioviewer.jhv.gui.interfaces.MainContentPanelPlugin; import org.helioviewer.jhv.layers.Mov...
mpl-2.0
ranjib/nomad
api/allocations.go
2978
package api import ( "sort" "time" ) // Allocations is used to query the alloc-related endpoints. type Allocations struct { client *Client } // Allocations returns a handle on the allocs endpoints. func (c *Client) Allocations() *Allocations { return &Allocations{client: c} } // List returns a list of all of th...
mpl-2.0
dominictassio/galactic
tmp/cache/mustache/__Mustache_9364d51abd17b3b61f965ffbbb181505.php
4210
<?php class __Mustache_9364d51abd17b3b61f965ffbbb181505 extends Mustache_Template { public function renderInternal(Mustache_Context $context, $indent = '') { $buffer = ''; $newContext = array(); $buffer .= $indent . '<!doctype html> '; $buffer .= $indent . '<html lang="en"> '; ...
mpl-2.0
okriuchykhin/scinote-web
app/controllers/search_controller.rb
10031
class SearchController < ApplicationController include IconsHelper before_action :load_vars, only: :index def index redirect_to new_search_path unless @search_query @search_id = params[:search_id] ? params[:search_id] : generate_search_id count_search_results search_projects if @search_categor...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
dom/media/directshow/DirectShowDecoder.cpp
1461
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* 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....
mpl-2.0
numericillustration/sdc-imgapi
test/channels.public-test.js
28127
/* * 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, Joyent, Inc. */ /* * Test channels handling. * * We do this as a "public-test" ...
mpl-2.0
biosistemika/scinote-web
app/controllers/api/v1/project_comments_controller.rb
1094
# frozen_string_literal: true module Api module V1 class ProjectCommentsController < BaseController before_action :load_team before_action :load_project before_action :check_read_permissions before_action :load_project_comment, only: :show def index project_comments = @proj...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js
1517
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /** * Test setting breakpoints on an eval script */ const TAB_URL = EXAMPLE_URL + "doc_script-eval.html...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js
3278
/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_style_attr_test_runner.js */ "use strict"; // Test CSS state is correctly determined and the corresponding suggestions are // displayed. i.e. CSS p...
mpl-2.0
biosistemika/scinote-web
spec/controllers/invitations_controller_spec.rb
1147
# frozen_string_literal: true require 'rails_helper' describe Users::InvitationsController, type: :controller do login_user let(:user) { subject.current_user } let!(:team) { create :team, created_by: user } let!(:user_team) { create :user_team, :admin, user: user, team: team } describe 'POST invite_users'...
mpl-2.0
Yukarumya/Yukarum-Redfoxes
uriloader/exthandler/tests/mochitest/handlerApps.js
4306
/* 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/. */ // handlerApp.xhtml grabs this for verification purposes via window.opener var testURI = "webcal://127.0.0.1/rheee...
mpl-2.0
grafana/grafana
packages/grafana-e2e/test/cypress/integration/0.cli.ts
78
describe('CLI', () => { it('compiles this file and runs it', () => {}); });
agpl-3.0
hongtaolee/crm
app/controllers/opportunities_controller.rb
11968
# Fat Free CRM # Copyright (C) 2008-2011 by Michael Dvorkin # # 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 later version. # #...
agpl-3.0
rohitdatta/pepper
migrations/versions/5fe2987ca442_.py
1005
"""empty message Revision ID: 5fe2987ca442 Revises: 87a51f844ed4 Create Date: 2016-07-18 23:52:38.165444 """ # revision identifiers, used by Alembic. revision = '5fe2987ca442' down_revision = '87a51f844ed4' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
agpl-3.0
afshinnj/php-mvc
vendor/framework/widgets/ckeditor/Ckfinder.php
148
<?php /** * */ class Ckfinder { public static function view(){ include_once 'CkfinderView.php'; } public static function load(){} }
agpl-3.0
PRX/www.prx.org
src/common/angular-player-hater.js
11855
(function(){ 'use strict'; var module = angular.module('ngPlayerHater', []); module.factory('globalSoundManager', function ($window) { return $window.soundManager; }); var soundManager2Provider = { $get: getSoundManager, options: { url: '/assets', flashVersion: 9, preferFlash: f...
agpl-3.0
admpub/nging
vendor/github.com/andybalholm/brotli/static_dict.go
17114
package brotli import "encoding/binary" /* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Class to model the static dictionary. */ const maxStaticDictionaryMatchLen = 37 const kInvalidMatch uint3...
agpl-3.0
steromano87/Gawain
common/php/classes/controllers/Authentication.php
3794
<?php /** * Gawain * Copyright (C) 2016 Stefano Romanò (rumix87 (at) gmail (dot) 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 the License, or * (at y...
agpl-3.0
TiarkRompf/lancet
src/main/scala/lancet/core/Core_TIR_Opt.scala
17387
/* * Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * 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 Fou...
agpl-3.0
emitter-io/emitter
internal/errors/error.go
2895
/********************************************************************************** * Copyright (c) 2009-2019 Misakai Ltd. * 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 ...
agpl-3.0
dpausp/arguments
src/ekklesia_portal/concepts/argument_relation/argument_relation_views.py
3692
import logging from ekklesia_common.lid import LID from morepath import redirect from webob.exc import HTTPBadRequest from ekklesia_portal.app import App from ekklesia_portal.datamodel import Argument, ArgumentRelation, ArgumentVote, Proposition from ekklesia_portal.enums import ArgumentType from ekklesia_portal.perm...
agpl-3.0