repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
dostodabsi/jasp-desktop
JASP-Desktop/widgets/tablemodelpairsassigned.cpp
7073
// // Copyright (C) 2013-2016 University of Amsterdam // // 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
freyes/juju
api/backups/info_test.go
1091
// Copyright 2014 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package backups_test import ( jc "github.com/juju/testing/checkers" gc "gopkg.in/check.v1" "github.com/juju/juju/api/backups" apiserverbackups "github.com/juju/juju/apiserver/facades/client/backups" "github.com/juju/juj...
agpl-3.0
tobiasd/friendica
src/Model/Search.php
1326
<?php /** * @copyright Copyright (C) 2010-2021, 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 ...
agpl-3.0
wlwwt/shopware
themes/Backend/ExtJs/backend/index/controller/main.js
24405
/** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * permission...
agpl-3.0
ivansenic/inspectIT
inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/sensor/method/impl/HttpSensorConfig.java
3370
package rocks.inspectit.shared.cs.ci.sensor.method.impl; import java.util.Map; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import rocks.inspectit.shared.all.instrumentation.config.PriorityEnum; import rocks.inspectit.shared.cs.ci.sensor.StringConstraintSensorConfig...
agpl-3.0
ExpandeNegocio/crm
custom/modulebuilder/packages/ExpandeFran/modules/Franquicia/Dashlets/Expan_FranquiciaDashlet/Expan_FranquiciaDashlet.php
3203
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * This ...
agpl-3.0
LinxHQ/LinxCloud
linxbooks/protected/modules/lbBankAccount/controllers/DefaultController.php
117
<?php class DefaultController extends Controller { public function actionIndex() { $this->render('index'); } }
agpl-3.0
admpub/nging
vendor/github.com/admpub/frp/pkg/util/metric/metrics.go
998
// Copyright 2020 fatedier, fatedier@gmail.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
agpl-3.0
arno01/rainloop-webmail
dev/Model/Filter.js
7436
(function () { 'use strict'; var _ = require('_'), ko = require('ko'), Enums = require('Common/Enums'), Utils = require('Common/Utils'), Translator = require('Common/Translator'), Cache = require('Common/Cache'), FilterConditionModel = require('Model/FilterCondition'), AbstractModel = require('...
agpl-3.0
ankithbti/canvas_lms
public/javascripts/learning_outcomes.js
23237
/** * Copyright (C) 2011 Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distributed in the...
agpl-3.0
rbramwell/runbook
src/web/templates/monitors/http-post.js
456
<script type="text/javascript"> $(document).ready(function() { $.each([ '#http-post-url', '#http-post-host', '#http-post-payload', '#http-post-extra_headers', '#http-post-response_regex', '#http-post-response_headers', ], function(_, value) { $(value).po...
agpl-3.0
JimMackin/SuiteCRM
modules/Contacts/ContactsJjwg_MapsLogicHook.php
811
<?php // custom/modules/Contacts/ContactsJjwg_MapsLogicHook.php if (!defined('sugarEntry') || !sugarEntry) { die('Not A Valid Entry Point'); } class ContactsJjwg_MapsLogicHook { public $jjwg_Maps; public function __construct() { $this->jjwg_Maps = get_module_info('jjwg_Maps'); } p...
agpl-3.0
kaltura/server
api_v3/lib/types/enums/KalturaBaseEntryCloneOptions.php
257
<?php /** * @package api * @subpackage enum */ class KalturaBaseEntryCloneOptions extends KalturaDynamicEnum implements BaseEntryCloneOptions { public static function getEnumClass() { return 'BaseEntryCloneOptions'; } }
agpl-3.0
marwoodandrew/superdesk-client-core
scripts/apps/desks/controllers/DeskListController.ts
1718
import _ from 'lodash'; DeskListController.$inject = ['$scope', 'desks', 'superdesk', 'privileges', 'tasks', 'api', 'betaService']; export function DeskListController($scope, desks, superdesk, privileges, tasks, api, beta) { var userDesks; function sorted(result) { var items = result._items || []; ...
agpl-3.0
Khamull/CommunityServer
module/ASC.Mail.Server/DnsCheckerTests/DnsCheckerTests.cs
2880
/* * * (c) Copyright Ascensio System Limited 2010-2015 * * This program is freeware. You can redistribute it and/or modify it under the terms of the GNU * General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html). * In accordance with Section 7(a...
agpl-3.0
ecino/compassion-modules
crm_compassion/wizards/portal_wizard.py
1558
# -*- coding: utf-8 -*- ############################################################################## # # Copyright (C) 2014 Compassion CH (http://www.compassion.ch) # Releasing children from poverty in Jesus' name # @author: Emanuel Cino <ecino@compassion.ch> # # The licence is in the file __manifest__.py...
agpl-3.0
Chilastra-Reborn/Chilastra-source-code
bin/scripts/mobile/lair/creature_dynamic/lok_spined_snake_pack2_neutral_none.lua
340
lok_spined_snake_pack2_neutral_none = Lair:new { mobiles = {{"giant_spined_snake",1}}, spawnLimit = 15, buildingsVeryEasy = {}, buildingsEasy = {}, buildingsMedium = {}, buildingsHard = {}, buildingsVeryHard = {}, buildingType = "none" } addLairTemplate("lok_spined_snake_pack2_neutral_none", lok_spined_snake_...
agpl-3.0
fritzSF/superdesk-client-core
spec/ingest_settings_spec.js
5017
var openUrl = require('./helpers/utils').open, ingestSettings = require('./helpers/pages').ingestSettings, utils = require('./helpers/utils'); describe('ingest_settings', () => { beforeEach((done) => { openUrl('/#/settings/ingest').then(done); }); xit('unselecting options in dropdown list...
agpl-3.0
winni67/AndroidAPS
app/src/main/java/info/nightscout/androidaps/plugins/general/automation/triggers/TriggerBg.java
5778
package info.nightscout.androidaps.plugins.general.automation.triggers; import android.widget.LinearLayout; import androidx.fragment.app.FragmentManager; import com.google.common.base.Optional; import org.json.JSONException; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impor...
agpl-3.0
YannickB/vertical-community
__unreviewed__/account_wallet/__openerp__.py
2328
# -*- coding: utf-8 -*- ############################################################################## # # Author: Yannick Buron. Copyright Yannick Buron # # 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 t...
agpl-3.0
wiiam/taylorswift.old
bot/info/User.java
1454
package bot.info; import java.util.ArrayList; public class User { protected String host; protected String user; protected String modes; protected String realname; protected String nickname; private ArrayList<String> channels; public User(String nick, String host, String user, String modes, String realname)...
agpl-3.0
feemjmeem/-tg-station
tools/WebhookProcessor/github_webhook_processor.php
28594
<?php /* * Github webhook In-game PR Announcer and Changelog Generator for /tg/Station13 * Author: MrStonedOne * For documentation on the changelog generator see https://tgstation13.org/phpBB/viewtopic.php?f=5&t=5157 * To hide prs from being announced in game, place a [s] in front of the title * All runtime errors...
agpl-3.0
flyingSkull/dl-shopware
engine/Shopware/Controllers/Backend/ModelManager.php
10226
<?php /** * Shopware 4.0 * Copyright © 2012 shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional *...
agpl-3.0
kpawelski/ITManager
resources/lang/de/general.php
8366
<?php return [ 'accessories' => 'Zubehör', 'activated' => 'Aktiviert', 'accessory' => 'Zubehör', 'accessory_report' => 'Zubehör Bericht', 'action' => 'Aktion', 'activity_report' => 'Aktivitätsreport', 'address' => 'Supplier Address', 'admin' => 'Admin...
agpl-3.0
venturehive/canvas-lms
spec/selenium/helpers/files_common.rb
6986
# # Copyright (C) 2012 - present Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the ...
agpl-3.0
lucee/unoffical-Lucee-no-jre
source/java/core/src/lucee/transformer/bytecode/visitor/WhileVisitor.java
2391
/** * Copyright (c) 2014, the Railo Company Ltd. * Copyright (c) 2015, Lucee Assosication Switzerland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
lgpl-2.1
KDE/android-qt-creator
src/plugins/qmlprofiler/codaqmlprofilerrunner.cpp
3032
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
lgpl-2.1
tjizep/treestore1
src/poco-1.4.6p1-all/Foundation/src/HexBinaryDecoder.cpp
3050
// // HexBinaryDecoder.cpp // // $Id: //poco/1.4/Foundation/src/HexBinaryDecoder.cpp#2 $ // // Library: Foundation // Package: Streams // Module: HexBinary // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, ...
lgpl-2.1
modius/railo
railo-java/railo-core/src/railo/transformer/cfml/evaluator/func/impl/IsDefined.java
2052
package railo.transformer.cfml.evaluator.func.impl; import railo.commons.lang.StringList; import railo.runtime.exp.TemplateException; import railo.runtime.interpreter.VariableInterpreter; import railo.runtime.type.Collection; import railo.runtime.type.scope.Scope; import railo.runtime.type.util.ArrayUtil; import railo...
lgpl-2.1
echosting/xe-core14
modules/module/lang/es.lang.php
7311
<?php /** * @archivo modules/module/lang/es.lang.php * @autor NHN (developers@xpressengine.com) * @sumario Paquete del idioma español **/ $lang->virtual_site = "Virtual Site"; $lang->module_list = "Lista de Módulos"; $lang->module_index = "Lista de Módulos"; $lang->...
lgpl-2.1
ghostsintju/hivedb
src/main/java/org/hivedb/util/validators/NonNegativeValidator.java
879
package org.hivedb.util.validators; import org.hivedb.HiveRuntimeException; import org.hivedb.util.classgen.ReflectionTools; public class NonNegativeValidator implements Validator { public boolean isValid(Object instance, String propertyName) { Object obj = ReflectionTools.invokeGetter(instance, propertyName); ...
lgpl-2.1
TheTimmy/spack
var/spack/repos/builtin/packages/xf86miscproto/package.py
1753
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
lgpl-2.1
fjardon/motif
config/util/mergelib.cpp
2426
XCOMM!/bin/sh XCOMM XCOMM $TOG: mergelib.cpp /main/5 1998/02/06 11:24:31 kaleb $ XCOMM XCOMM Motif XCOMM XCOMM Copyright (c) 1987-2012, The Open Group. All rights reserved. XCOMM XCOMM These libraries and programs are free software; you can XCOMM redistribute them and/or modify them under the terms of the GNU XCOMM Le...
lgpl-2.1
bcosenza/patus
src/cetus/hir/Label.java
1910
package cetus.hir; import java.io.*; import java.lang.reflect.*; import java.util.*; /** * Represents a label for use with goto statements. */ public class Label extends Statement { private static Method class_print_method; static { Class<?>[] params = new Class<?>[2]; try { params[0] = Label....
lgpl-2.1
davidfoerster/javaFlacEncoder
src/javaFlacEncoder/MetadataBlockHeader.java
3099
/* * Copyright (C) 2010 Preston Lacey http://javaflacencoder.sourceforge.net/ * All Rights Reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the ...
lgpl-2.1
rpelisse/rhq-sync-tool
src/main/java/org/jboss/rhq/sync/tool/cli/QualifierTypeConverter.java
1509
/* * * RHQ Sync Tool * Copyright (C) 2012-2013 Red Hat, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * * This program is distributed in the ...
lgpl-2.1
4aiman/MineClone
mods/death/init.lua
494
--if minetest.setting_get("keepInventory") == false then minetest.register_on_dieplayer(function(player) local inv = player:get_inventory() local pos = player:getpos() for i,stack in ipairs(inv:get_list("main")) do local x = math.random(0, 9)/3 local z = math.random(0, 9)/3 pos.x = pos.x + x ...
lgpl-2.1
martinlaz/lenskit
lenskit-eval/src/main/java/org/grouplens/lenskit/eval/traintest/ExternalEvalJob.java
12635
/* * LensKit, an open source recommender systems toolkit. * Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md. * Work on LensKit has been funded by the National Science Foundation under * grants IIS 05-34939, 08-08692, 08-12148, and 10-17697. * * This program is free software; you can redistribute it...
lgpl-2.1
heuermh/biojava
biojava-structure/src/main/java/org/biojava/nbio/structure/DatabasePDBRevRecord.java
1513
package org.biojava.nbio.structure; import org.biojava.nbio.structure.io.cif.CifBean; /** * Represents revision records for use by {@link PDBHeader}. * @author Sebastian Bittrich * @since 6.0.0 */ public class DatabasePDBRevRecord implements CifBean { private static final long serialVersionUID = 1L; priva...
lgpl-2.1
dianhu/Kettle-Research
src-db/org/pentaho/di/core/database/DatabaseFactoryInterface.java
986
/* * Copyright (c) 2010 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
lgpl-2.1
uugaa/hibernate-ogm
cassandra/src/main/java/org/hibernate/ogm/datastore/cassandra/logging/impl/Log.java
1699
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.cassandra.logging.impl; import static o...
lgpl-2.1
ace20022/libbluray
src/libbluray/bdj/java/org/bluray/ti/TitleImpl.java
3297
package org.bluray.ti; import javax.tv.locator.Locator; import javax.tv.service.SIException; import javax.tv.service.SIRequest; import javax.tv.service.SIRequestor; import javax.tv.service.ServiceType; import org.bluray.net.BDLocator; import org.davic.net.InvalidLocatorException; import org.videolan.Libbluray; import...
lgpl-2.1
modius/railo
railo-java/railo-core/src/railo/runtime/tag/Servlet.java
1853
package railo.runtime.tag; import railo.runtime.exp.ExpressionException; import railo.runtime.ext.tag.TagImpl; /** * Executes a Java servlet on a JRun engine. This tag is used in conjunction with the * cfserletparam tag, which passes data to the servlet. * * * **/ public final class Servlet extends TagImpl { pri...
lgpl-2.1
litalidev/sipxtapi
sipXportLib/src/test/utl/UtlDListIterator.cpp
18656
// // Copyright (C) 2004-2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ /////////////////////////////////////////////////////////////////////////////// #include <c...
lgpl-2.1
deadcyclo/nuxeo-features
nuxeo-automation/nuxeo-automation-client/src/main/java/org/nuxeo/ecm/automation/client/AdapterFactory.java
971
/* * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ...
lgpl-2.1
bawn92/kurento-java
kurento-integration-tests/kurento-test/src/test/java/org/kurento/test/stability/webrtc/WebRtcStabilitySwitchRtpH264Test.java
5165
/* * (C) Copyright 2015 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
lgpl-2.1
timvideos/flumotion
flumotion/component/bouncers/base.py
834
# -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Flumotion - a streaming media server # Copyright (C) 2004,2005,2006,2007,2008,2009 Fluendo, S.L. # Copyright (C) 2010,2011 Flumotion Services, S.A. # All rights reserved. # # This file may be distributed and/or modified under the terms of # the GNU Lesser General Pub...
lgpl-2.1
nate250/jrs-rest-java-client
src/test/java/com/jaspersoft/jasperserver/jaxrs/client/apiadapters/permissions/SinglePermissionRecipientRequestAdapterTest.java
11451
package com.jaspersoft.jasperserver.jaxrs.client.apiadapters.permissions; import com.jaspersoft.jasperserver.dto.permissions.RepositoryPermission; import com.jaspersoft.jasperserver.jaxrs.client.core.Callback; import com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest; import com.jaspersoft.jasperserver.jaxrs....
lgpl-3.0
eenbp/OpenNaaS-0.14-Marketplace
utils/old-cim/NetworkPortCapabilities.java
7031
/** * This file was auto-generated by mofcomp -j version 1.0.0 on Wed Jan 12 * 09:21:06 CET 2011. */ package org.opennaas.extensions.router.model; import java.io.*; import java.lang.Exception; /** * This Class contains accessor and mutator methods for all properties defined in the CIM class NetworkPortCapabiliti...
lgpl-3.0
David-Desmaisons/MVVM.CEF.Glue
Tests/JavascriptFramework/Vuejs/Vue.Navigation.ChromiumFx.Tests/DoubleNavigation_Vue_Cfx_Tests.cs
464
using Tests.Universal.NavigationTests; using Vue.Navigation.ChromiumFx.Tests.Infra; using Xunit; using Xunit.Abstractions; namespace Vue.Navigation.ChromiumFx.Tests.Tests { [Collection("Cfx Window Integrated")] public class DoubleNavigation_Vue_Cfx_Tests : DoubleNavigationTests { public DoubleNavi...
lgpl-3.0
TrimbleSolutionsCorporation/VSSonarQubeExtension
VSSonarExtensionUi/Model/Helpers/BindingProxy.cs
2705
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BindingProxy.cs" company="Copyright © 2014 Tekla Corporation. Tekla is a Trimble Company"> // Copyright (C) 2014 [Jorge Costa, Jorge.Costa@tekla.com] // </copyright> // --...
lgpl-3.0
whilei/go-ethereum
eth/backend_test.go
2715
// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
lgpl-3.0
kidaa/Awakening-Core3
bin/scripts/commands/creatureAreaPoison.lua
2371
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
aurelieladier/openturns
python/doc/pyplots/VisualTest_DrawQQplot.py
257
import openturns as ot from openturns.viewer import View ot.RandomGenerator.SetSeed(0) size = 100 normal = ot.Normal(1) sample = normal.getSample(size) QQPlot = ot.VisualTest_DrawQQplot(sample, normal) View(QQPlot, figure_kwargs={'figsize': (4.5, 4.5)})
lgpl-3.0
JerryCao1985/apitest
src/solutions/dynamicstreamingsoln.cpp
63
#include "pch.h" #include "solutions/dynamicstreamingsoln.h"
unlicense
persandstrom/home-assistant
homeassistant/components/device_tracker/tesla.py
1787
""" Support for the Tesla platform. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/device_tracker.tesla/ """ import logging from homeassistant.components.tesla import DOMAIN as TESLA_DOMAIN from homeassistant.helpers.event import track_utc_time_change f...
apache-2.0
NightOwl888/lucenenet
src/Lucene.Net.Analysis.Kuromoji/TokenAttributes/BaseFormAttributeImpl.cs
1870
using Lucene.Net.Util; namespace Lucene.Net.Analysis.Ja.TokenAttributes { /* * 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 ...
apache-2.0
qiulim/myBatis-framework-4eclipse
src/test/java/org/apache/ibatis/submitted/usesjava8/default_method/DefaultMethodTest.java
2675
/** * Copyright 2009-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
apache-2.0
google-code-export/elmah-loganalyzer
src/ElmahLogAnalyzer.Core/Domain/ICsvParser.cs
201
using System; using System.Collections.Generic; namespace ElmahLogAnalyzer.Core.Domain { public interface ICsvParser { IEnumerable<KeyValuePair<Uri, DateTime>> Parse(string content); } }
apache-2.0
pickettd/code-dot-org
apps/src/craft/game/CommandQueue/CommandQueue.js
2421
import BaseCommand from "./BaseCommand"; import CommandState from "./CommandState.js"; export default class CommandQueue { constructor(gameController) { this.gameController = gameController; this.game = gameController.game; this.reset(); } addCommand(command) { // if we're handling a while comm...
apache-2.0
lihongqiang/kettle-4.4.0-stable
src-ui/org/pentaho/di/ui/job/entries/createfile/JobEntryCreateFileDialog.java
12137
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
apache-2.0
bmwshop/brooklyn
utils/common/src/main/java/brooklyn/util/text/Strings.java
27063
/* * Copyright (c) 2009-2013 Cloudsoft Corporation Ltd. */ package brooklyn.util.text; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Collections; import java.util.Map; import java.util.StringTokenizer; import javax.annotation.Nullable; import brooklyn.util.collections.MutableMap; ...
apache-2.0
jiulongzaitian/kubernetes
pkg/printers/internalversion/describe.go
141242
/* Copyright 2014 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
raphaelning/resteasy-client-android
jaxrs/examples/oreilly-jaxrs-2.0-workbook/ex14_1/src/main/java/com/restfully/shop/services/ShoppingApplication.java
200
package com.restfully.shop.services; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; @ApplicationPath("/services") public class ShoppingApplication extends Application { }
apache-2.0
foxish/kubernetes
pkg/cloudprovider/providers/azure/azure_test.go
93179
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
glevand/coreos--etcd
integration/metrics_test.go
4579
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
apache-2.0
RobotControlTechnologies/lego_communication_library
EV3/Commands.cs
24456
using System; using System.Text; using MonoBrick; using System.Collections.Generic; namespace MonoBrick.EV3 { /// <summary> /// Encoded Parameter format /// </summary> [Flags] public enum ParameterFormat : byte { #pragma warning disable Short = 0x00, Long = 0x80 #pragma warning restore } /// <sum...
apache-2.0
smanvi-pivotal/geode
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/SizedBasedLoadProbe.java
3005
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
apache-2.0
halober/ovirt-engine
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/storage/ImportIscsiStorageView.java
9818
package org.ovirt.engine.ui.common.widget.uicommon.storage; import java.util.ArrayList; import java.util.List; import com.google.gwt.user.client.ui.SplitLayoutPanel; import com.google.gwt.view.client.MultiSelectionModel; import com.google.gwt.view.client.SelectionModel; import org.ovirt.engine.core.common.businessent...
apache-2.0
ParBLiSS/parconnect
ext/CombBLAS/ReleaseTests/SpAsgnTiming.cpp
2631
#include <mpi.h> #include <sys/time.h> #include <iostream> #include <functional> #include <algorithm> #include <vector> #include <sstream> #include "../CombBLAS.h" using namespace std; #define ITERATIONS 10 #define EDGEFACTOR 8 int main(int argc, char* argv[]) { int nprocs, myrank; MPI_Init(&argc, &argv); MPI_Co...
apache-2.0
ckamm/gerrit
gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/container/HttpAuthFilter.java
6541
// Copyright (C) 2009 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
apache-2.0
gemxd/gemfirexd-oss
gemfirexd/tools/src/testing/java/org/apache/derbyTesting/functionTests/tests/store/Derby3625Test.java
10912
package org.apache.derbyTesting.functionTests.tests.store; import org.apache.derbyTesting.junit.BaseJDBCTestCase; import org.apache.derbyTesting.junit.CleanDatabaseTestSetup; import org.apache.derbyTesting.junit.DatabasePropertyTestSetup; import org.apache.derbyTesting.junit.TestConfiguration; import com.pivotal.gemf...
apache-2.0
mbebenita/shumway.ts
tests/baselines/reference/aliasUsageInFunctionExpression.js
983
//// [aliasUsageInFunctionExpression_backbone.js] var Model = (function () { function Model() { } return Model; })(); exports.Model = Model; //// [aliasUsageInFunctionExpression_moduleA.js] var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]...
apache-2.0
li-ang/kubernetes
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go
14143
/* Copyright 2019 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
AdityaMili95/Wallte
vendor/github.com/knq/sysutil/sysutil_linux.go
536
// +build linux package sysutil import ( "bytes" "io/ioutil" "strconv" "time" ) var ( btimePrefix = []byte("btime ") lineEnd = []byte("\n") ) func init() { buf, err := ioutil.ReadFile("/proc/stat") if err != nil { btime = time.Now() return } for _, line := range bytes.SplitN(buf, lineEnd, -1) { ...
apache-2.0
arju88nair/projectCulminate
venv/lib/python3.5/site-packages/astroid/brain/brain_collections.py
1406
# Copyright (c) 2016 Claudiu Popa <pcmanticore@gmail.com> # Licensed under the LGPL: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html # For details: https://github.com/PyCQA/astroid/blob/master/COPYING.LESSER import astroid def _collections_transform(): return astroid.parse(''' class defaultdict(d...
apache-2.0
peridotperiod/isis
mothballed/component/viewer/dnd/impl/src/main/java/org/apache/isis/viewer/dnd/DndViewer.java
20039
/* * 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")...
apache-2.0
tomaszrogalski/gwt-jackson
gwt-jackson/src/test/java/com/github/nmorel/gwtjackson/jackson/annotations/JsonPropertyOrderJacksonTest.java
2657
/* * Copyright 2013 Nicolas Morel * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
ocono-tech/presto
presto-main/src/main/java/com/facebook/presto/type/DecimalParametricType.java
1752
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
apache-2.0
contextio/contextio-ruby
lib/contextio/message_collection.rb
1242
require_relative 'api/resource_collection' require_relative 'message' class ContextIO class MessageCollection include ContextIO::API::ResourceCollection self.resource_class = ContextIO::Message self.association_name = :messages belongs_to :account # You can pass a Folder object and this'll use...
apache-2.0
nickjvm/grommet
src/js/components/icons/base/DocumentExe.js
1828
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component, PropTypes } from 'react'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Props'; const CLASS_ROOT = ...
apache-2.0
adinath/AxonFramework
core/src/main/java/org/axonframework/commandhandling/GenericCommandMessage.java
3522
/* * Copyright (c) 2010-2016. Axon Framework * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
apache-2.0
etirelli/jbpm
jbpm-human-task/jbpm-human-task-core/src/test/java/org/jbpm/services/task/TaskReminderBaseTest.java
6582
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
kjniemi/activemq-artemis
artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
39609
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
jcshen007/cloudstack
test/integration/smoke/test_affinity_groups.py
5577
#!/usr/bin/env python # 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 # "Li...
apache-2.0
jawilson/home-assistant
homeassistant/components/brother/const.py
235
"""Constants for Brother integration.""" from __future__ import annotations from typing import Final DATA_CONFIG_ENTRY: Final = "config_entry" DOMAIN: Final = "brother" PRINTER_TYPES: Final = ["laser", "ink"] SNMP: Final = "snmp"
apache-2.0
svagionitis/aws-sdk-cpp
aws-cpp-sdk-elasticache/source/model/Parameter.cpp
7215
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
apache-2.0
amdharness/amdharness-app
lib/dojotoolkit.org/dojox/mobile/ComboBox.js
10509
define([ "dojo/_base/kernel", "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/window", "dojo/dom-geometry", "dojo/dom-style", "dojo/dom-attr", "dojo/window", "dojo/touch", "dijit/form/_AutoCompleterMixin", "dijit/popup", "./_ComboBoxMenu", "./TextBox", "./sniff" ], function(kernel, declare, lang, win...
apache-2.0
foryou2030/incubator-carbondata
core/src/main/java/org/apache/carbondata/scan/expression/conditional/BinaryConditionalExpression.java
1326
/* * 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 ...
apache-2.0
rhdedgar/openshift-tools
ansible/roles/lib_gcloud/build/lib/base.py
16433
# pylint: skip-file ''' GcloudCLI class that wraps the oc commands in a subprocess ''' import atexit import json import os import random # Not all genearated modules use this. # pylint: disable=unused-import import re import shutil import string import subprocess import tempfile import yaml # Not all genearated mo...
apache-2.0
gurbuzali/hazelcast-jet
hazelcast-jet-core/src/test/java/com/hazelcast/jet/pipeline/SourceBuilder_TopologyChangeTest.java
5969
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
apache-2.0
AutorestCI/azure-sdk-for-node
lib/services/networkManagement2/lib/models/azureReachabilityReportParameters.js
2974
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
apache-2.0
BrynCooke/incubator-tinkerpop
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/GraphWritePerformanceTest.java
5493
/* * 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 ...
apache-2.0
elevennl/stagemonitor
stagemonitor-web/src/main/java/org/stagemonitor/web/monitor/widget/RequestTraceServlet.java
2976
package org.stagemonitor.web.monitor.widget; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.concurrent.TimeUnit; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletReque...
apache-2.0
karuradev/open-source-search-engine
test_norm.cpp
799
#include "gb-include.h" //#include <unicode/unorm.h> #include "Unicode.h" bool mainShutdown ( bool urgent ) ; bool mainShutdown ( bool urgent ) {return true;} // Test first 255 chars of unicode (iso-8859-1) for normalization int main(int argc, char*argv){ ucInit(); long count = 0; for (UChar32 c = 0; c < 0x10000...
apache-2.0
keighrim/kaldi-yesno-tutorial
steps/cleanup/make_biased_lms.py
4190
#!/usr/bin/env python from __future__ import print_function import sys import argparse import math import subprocess from collections import defaultdict parser = argparse.ArgumentParser(description=""" This script is a wrapper for make_one_biased_lm.py that reads a Kaldi archive of (integerized) text data from the st...
apache-2.0
sonatype/owf
web-app/js-lib/dojo-release-1.5.0/dijit/_HasDropDown.js
13475
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dijit._HasDropDown"]){ //_hasResource checks added by build. Do not use _hasResource directly...
apache-2.0
googleapis/google-cloud-php-compute
src/V1/AllocationSpecificSKUReservation.php
4932
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/compute/v1/compute.proto namespace Google\Cloud\Compute\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * This reservation type allows to pre alloca...
apache-2.0
atxwebs/lxd
lxd/db/query/objects_test.go
4617
package query_test import ( "database/sql" "testing" "github.com/lxc/lxd/lxd/db/query" "github.com/mpvl/subtest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // Exercise possible failure modes. func TestSelectObjects_Error(t *testing.T) { cases := []struct { dest query.Dest ...
apache-2.0
lincoln-lil/flink
flink-runtime/src/test/java/org/apache/flink/runtime/scheduler/MergingSharedSlotProfileRetrieverTest.java
10048
/* * 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 ...
apache-2.0