doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
0bff38bc-bb53-47ca-a484-64d24da860bd | {
"language": "ABAP"
} | ```abap
*&---------------------------------------------------------------------*
*& Report ZUSR_LISP_REPL
*& https://github.com/mydoghasworms/abap-lisp
*& Simple REPL for Lisp Interpreter written in ABAP
*& Martin Ceronio, June 2015
*& martin.ceronio@infosize.co.za
*&---------------------------------------------------... | ```abap
*&---------------------------------------------------------------------*
*& Report ZUSR_LISP_REPL
*& https://github.com/mydoghasworms/abap-lisp
*& Simple REPL for Lisp Interpreter written in ABAP
*& Martin Ceronio, June 2015
*& martin.ceronio@infosize.co.za
*&---------------------------------------------------... |
ba9d1535-10d1-4824-8ff1-3ce77d19a61a | {
"language": "ActionScript"
} | ```actionscript
package {
import stdio.Sprite
[SWF(width=0, height=0)]
public class flash_test extends Sprite {
public function main(): void {
test_body()
}
}
}
```
Add colors to Flash test to ease debugging. | ```actionscript
package {
import stdio.Sprite
[SWF(width=100, height=100)]
public class flash_test extends Sprite {
public function flash_test(): void {
graphics.beginFill(0xff0000)
graphics.drawRect(10, 10, 80, 80)
graphics.endFill()
}
public function main(): void {
graphics... |
0c15c298-39eb-4d09-a9d0-16f9e064f004 | {
"language": "ActionScript"
} | ```actionscript
/*
#
# Copyright (c) 2009 rPath, Inc.
#
# This program is distributed under the terms of the MIT License as found
# in a file called LICENSE. If it is not present, the license
# is always available at http://www.opensource.org/licenses/mit-license.php.
#
# This program is distributed in the hope that i... | ```actionscript
/*
#
# Copyright (c) 2009 rPath, Inc.
#
# This program is distributed under the terms of the MIT License as found
# in a file called LICENSE. If it is not present, the license
# is always available at http://www.opensource.org/licenses/mit-license.php.
#
# This program is distributed in the hope that i... |
077979a5-f824-4a44-bc19-f292ead05ec1 | {
"language": "ActionScript"
} | ```actionscript
package io.github.jwhile.impetus
{
import flash.media.Sound;
import flash.media.SoundChannel;
public class ImpetusSound
{
private var url:String;
private var sound:Sound;
private var channels:Vector.<SoundChannel>;
public function ImpetusSound(url:Strin... | ```actionscript
package io.github.jwhile.impetus
{
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.net.URLRequest;
public class ImpetusSound
{
private var sound:Sound;
private var channels:Vector.<SoundChannel>;
public function ImpetusSound(url:Stri... |
0235b687-f244-43f3-8008-ddaea90dfe92 | {
"language": "ActionScript"
} | ```actionscript
package org.flexunit.experimental.theories.internals.cases
{
import org.flexunit.Assert;
import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
public class ParameterizedAssertionErrorCase
{
//TODO: Ensure that these tests and this test case are being implemented ... | ```actionscript
package org.flexunit.experimental.theories.internals.cases
{
import org.flexunit.Assert;
import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
public class ParameterizedAssertionErrorCase
{
//TODO: Ensure that these tests and this test case are being implemented correct... |
05461e39-8bad-4e2f-8f2f-db308a3da44b | {
"language": "ActionScript"
} | ```actionscript
import Drawable;
import Lobe;
import Core;
class Brain{
static var brain = new Array();
var mSelectionManager:SelectionManager;
static function makenewlobe(){
var newmov=(new Lobe(_root,_root.getNextHighestDepth()));
var topleft = new Point(100,40);
var botright ... | ```actionscript
import Drawable;
import Lobe;
import Core;
class Brain{
static var brain = new Array();
var mSelectionManager:SelectionManager;
static function makenewlobe(){
var newmov=(new Lobe(_root,_root.getNextHighestDepth()));
var topleft = new Point(100,40);
var botright ... |
80f13bbe-60ff-4003-8b24-240cd7cbfb91 | {
"language": "ActionScript"
} | ```actionscript
```
Add a roadmap (of sorts) | ```actionscript
// [ ] Variable declaration
let name: type = expression;
// [ ] Basic types (arrow)
/*
byte (8-bit, unsigned)
bool (1-bit[*])
int8
int16
int32
int64
int128
uint8
uint16
uint32
uint64
uint128
intptr (size of a pointer, signed)
uintptr (size of a pointer, unsigned)
char (32-bit, unsigned)
float16
f... |
2141180a-7f2b-4e06-bf21-df3e079f63e2 | {
"language": "ActionScript"
} | ```actionscript
//
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser Gener... | ```actionscript
//
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser Gener... |
a7cc2552-a887-45db-b838-84826fbc178f | {
"language": "ActionScript"
} | ```actionscript
package com.threerings.flex {
import mx.containers.HBox;
import mx.controls.Label;
import mx.controls.sliderClasses.Slider;
import mx.events.SliderEvent;
/**
* A simple component that displays a label to the left of a slider.
*/
public class LabeledSlider extends HBox
{
/** The slider, all pu... | ```actionscript
package com.threerings.flex {
import mx.containers.HBox;
import mx.controls.Label;
import mx.controls.sliderClasses.Slider;
import mx.events.SliderEvent;
/**
* A simple component that displays a label to the left of a slider.
*/
public class LabeledSlider extends HBox
{
/** The actual slider.... |
fffbafc4-6033-4f3d-9a02-cec0393e4ffc | {
"language": "ActionScript"
} | ```actionscript
package org.denivip.osmf.utils
{
import org.osmf.utils.URL;
public class Utils
{
public static function createFullUrl(rootUrl:String, url:String):String{
if(url.search(/(ftp|file|https?):\/\/\/?/) == 0)
return url;
// other manipulations :)
if(url.charAt(0) == '/'){
retur... | ```actionscript
package org.denivip.osmf.utils
{
import org.osmf.utils.URL;
public class Utils
{
public static function createFullUrl(rootUrl:String, url:String):String {
if(url.search(/(ftp|file|https?):\/\/\/?/) == 0)
return url;
// other manipulations :)
if(url.charAt(0) == '/'){
return U... |
9b8191e7-e2d7-4d15-8e5c-dec651ba5a0b | {
"language": "ActionScript"
} | ```actionscript
package com.threerings.util {
import flash.net.URLRequest;
//import flash.net.navigateToURL; // function import
public class NetUtil
{
/**
* Convenience method to load a web page in the browser window without
* having to worry about SecurityErrors in various conditions.
*/
publi... | ```actionscript
package com.threerings.util {
import flash.net.URLRequest;
//import flash.net.navigateToURL; // function import
public class NetUtil
{
/**
* Convenience method to load a web page in the browser window without
* having to worry about SecurityErrors in various conditions.
*
* @re... |
2dd74d66-7ae0-4f68-93f9-623fdb972fc3 | {
"language": "ActionScript"
} | ```actionscript
package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
public class Skin extends Sprite implements ISkin {
public function getBitmapByName(alias:String):DisplayObject {
if(hasOwnProperty(alias)) {
return new this[alias]() as DisplayObject;
}
retu... | ```actionscript
package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
import mx.core.BitmapAsset;
import mx.core.FontAsset;
import mx.core.IFlexAsset;
import mx.core.IFlexDisplayObject;
import mx.core.SpriteAsset;
public class Skin extends Sprite implements ISkin {
priva... |
9fe8b35a-e78c-4ca4-ad8b-7c980b33da89 | {
"language": "ActionScript"
} | ```actionscript
package Components
{
[Bindable]
public class Association
{
public var associatedNode:String;
public var associatedLink:String;
public var operatorIndex:int;
public function Association(associatedNode:String,associatedLink:String,operatorIndex:int)
{
this.associatedLink = as... | ```actionscript
package Components
{
[Bindable]
public class Association
{
public var associatedNode:String;
public var associatedLink:String;
public var operatorIndex:int;
public var order:int=0;
public function Association(associatedNode:String,associatedLink:String,operatorIndex:int,order:i... |
afc24d9a-1822-4195-b21c-dc6bece1fb46 | {
"language": "ActionScript"
} | ```actionscript
package org.osflash.signals {
import asunit4.ui.MinimalRunnerUI;
import org.osflash.signals.AllTests;
public class AllTestsRunner extends MinimalRunnerUI
{
public function AllTestsRunner()
{
run(org.osflash.signals.AllTests);
}
}
}
```
Put [SWF] tag in test runner app. | ```actionscript
package org.osflash.signals {
import asunit4.ui.MinimalRunnerUI;
import org.osflash.signals.AllTests;
[SWF(width='1000', height='800', backgroundColor='#333333', frameRate='31')]
public class AllTestsRunner extends MinimalRunnerUI
{
public function AllTestsRunner()
{
run(org.osfl... |
1c8b9b02-f55c-4c0c-a6cd-d23fcfc2acb0 | {
"language": "ActionScript"
} | ```actionscript
package com.axis.rtspclient {
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.utils.ByteArray;
public class NALU extends Event {
public static const NEW_NALU:String = "NEW_NALU";
private var data:ByteArray;
public var ntype:uint;
public var nri:... | ```actionscript
package com.axis.rtspclient {
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.utils.ByteArray;
public class NALU extends Event {
public static const NEW_NALU:String = "NEW_NALU";
private var data:ByteArray;
public var ntype:uint;
public var nri:... |
f0553c91-4005-4992-913a-1fea0c49d008 | {
"language": "ActionScript"
} | ```actionscript
package {
import stdio.flash.Sprite
import stdio.process
import stdio.Interactive
[SWF(width=0, height=0)]
public class test_readline_flash extends Sprite implements Interactive {
public function main(): void {
process.prompt = "What’s your name? "
process.gets(function (name:... | ```actionscript
package {
import stdio.colorize
import stdio.flash.Sprite
import stdio.process
import stdio.Interactive
[SWF(width=0, height=0)]
public class test_readline_flash extends Sprite implements Interactive {
public function main(): void {
process.prompt = "What’s your name? "
proc... |
8721bdc4-e423-4e9f-a346-ecd449938ce7 | {
"language": "ActionScript"
} | ```actionscript
package org.openforis.collect.i18n {
import mx.resources.ResourceManager;
/**
* @author Mino Togna
* */
public class Message {
public function Message() {
}
public static function get(resource:String, parameters:Array=null, bundle:String="messages"):String {
return Res... | ```actionscript
package org.openforis.collect.i18n {
import mx.resources.ResourceManager;
/**
* @author Mino Togna
* @author S. Ricci
* */
public class Message {
public function Message() {
}
public static function get(resource:String, parameters:Array=null, bundle:String="messages"):S... |
e670c6a6-e0aa-42b9-8d90-95f3fd9c1100 | {
"language": "ActionScript"
} | ```actionscript
package dolly.data {
public class PropertyLevelCopyableClass {
[Copyable]
public static var staticProperty1:String = "Value of first-level static property 1.";
public static var staticProperty2:String = "Value of first-level static property 2.";
[Cloneable]
private var _writableField1:String = ... | ```actionscript
package dolly.data {
public class PropertyLevelCopyableClass {
[Copyable]
public static var staticProperty1:String = "Value of first-level static property 1.";
public static var staticProperty2:String = "Value of first-level static property 2.";
[Copyable]
private var _writableField1:String = "... |
bb3b5d76-c7a7-44d4-96fe-aebd8f185997 | {
"language": "ActionScript"
} | ```actionscript
package {
import asunit.framework.TestSuite;
public class Suite extends TestSuite {
public function Suite() {
super();
addTest(new PlayerTest("testPass"));
}
}
}
```
Add URI tests to the asunit test suite | ```actionscript
package {
import asunit.framework.TestSuite;
public class Suite extends TestSuite {
public function Suite() {
super();
addTest(new PlayerTest("testPass"));
addTest(new UriTest("test_isSafe"));
}
}
}
``` |
1168a0f5-7261-45f4-b1a3-1b621adb8c7e | {
"language": "ActionScript"
} | ```actionscript
package
{
import flash.media.Sound;
import flash.net.URLRequest;
public class ImpetusSound
{
private var sound:Sound;
private var channels:Vector.<ImpetusChannel>;
public function ImpetusSound(url:String):void
{
this.sound = new Sound();
... | ```actionscript
package
{
import flash.media.Sound;
import flash.net.URLRequest;
public class ImpetusSound
{
private var url:String;
private var sound:Sound;
private var channels:Vector.<ImpetusChannel>;
public function ImpetusSound(url:String):void
{
... |
63106c3e-3873-4673-a7c2-80a21447c547 | {
"language": "ActionScript"
} | ```actionscript
package {
class ClassA
{
public function ClassA()
{
trace('A');
}
protected function foo() : void
{
trace('a');
}
protected function bar() : void
{
trace('b');
}
}
class ClassC extends ClassA
{
public function ClassC()
{
tra... | ```actionscript
package {
class ClassA
{
public function ClassA()
{
trace('A');
}
protected function foo() : void
{
trace('a');
}
protected function bar() : void
{
trace('b');
}
}
class ClassC extends ClassA
{
public function ClassC()
{
tra... |
77d7a1b5-43c1-4086-94b4-8c3a087e4c55 | {
"language": "ActionScript"
} | ```actionscript
package flails.mxml {
import com.asfusion.mate.actions.AbstractServiceInvoker;
import com.asfusion.mate.actionLists.IScope;
import com.asfusion.mate.actions.IAction;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import flails.request.RequestPipe;
import flails.resour... | ```actionscript
package flails.mxml {
import com.asfusion.mate.actions.AbstractServiceInvoker;
import com.asfusion.mate.actionLists.IScope;
import com.asfusion.mate.actions.IAction;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import flails.request.RequestPipe;
import flails.resour... |
439c36c2-69f5-4fda-bedf-6fd7453066a0 | {
"language": "ActionScript"
} | ```actionscript
/**
* Generated by Gas3 v2.3.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package org.openforis.collect.metamodel.proxy {
import mx.collections.IList;
import org.openforis.collect.util.Collection... | ```actionscript
/**
* Generated by Gas3 v2.3.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package org.openforis.collect.metamodel.proxy {
import mx.collections.IList;
import org.openforis.collect.util.Collection... |
98611f9c-ebdb-49d3-9e3c-a3c3ba426d9a | {
"language": "ActionScript"
} | ```actionscript
package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
public class Skin extends Sprite implements ISkin {
public function getBitmapByName(alias:String):DisplayObject {
if(hasOwnProperty(alias)) {
return new this[alias]() as DisplayObject;
}
retu... | ```actionscript
package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
import mx.core.BitmapAsset;
import mx.core.FontAsset;
import mx.core.IFlexAsset;
import mx.core.IFlexDisplayObject;
import mx.core.SpriteAsset;
public class Skin extends Sprite implements ISkin {
priva... |
e74b2bdb-bcc0-4de8-8950-554741d97d15 | {
"language": "ActionScript"
} | ```actionscript
/**
* Copyright (c) 2009 Lance Carlson
* See LICENSE for full license information.
*/
package flails.resource {
import flails.request.RequestPipe;
import flails.request.HTTPClient;
import flails.request.ResourcePathBuilder;
import flails.request.JSONFilter;
import flash.utils.getQualified... | ```actionscript
/**
* Copyright (c) 2009 Lance Carlson
* See LICENSE for full license information.
*/
package flails.resource {
import flails.request.RequestPipe;
import flails.request.HTTPClient;
import flails.request.ResourcePathBuilder;
import flails.request.JSONFilter;
import mx.core.IMXMLObject;
... |
d938f49f-b887-4894-b3c6-0d633ece1be1 | {
"language": "ActionScript"
} | ```actionscript
package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Type;
use namespace dolly_internal;
public class CloningOfCompositeCloneableClassTest {
private var compositeCloneableClass:CompositeCloneableClass;
private var compositeClon... | ```actionscript
package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertNotNull;
use namespace dolly_internal;
public class Cloning... |
ab4c1403-f118-4865-aab2-3d93530f2111 | {
"language": "ActionScript"
} | ```actionscript
package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertNotNull;
use namespace dolly_internal;
public class Cloning... | ```actionscript
package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertFalse;
import org.flexunit.asserts.assertNotNull;
import org.... |
624cf402-c0ac-4ed6-8bea-8c10136eff0d | {
"language": "ActionScript"
} | ```actionscript
package org.flexunit.events
{
import flash.events.ErrorEvent;
import flash.events.Event;
public class UnknownError extends Error
{
public function UnknownError( event:Event )
{
var error:Error;
if ( event.hasOwnProperty( "error" ) ) {
var errorGeneric:* = event[ "error" ];
i... | ```actionscript
package org.flexunit.events
{
import flash.events.ErrorEvent;
import flash.events.Event;
public class UnknownError extends Error
{
public function UnknownError( event:Event )
{
var error:Error;
if ( event.hasOwnProperty( "error" ) ) {
var errorGeneric:* = event[ "error" ];
i... |
13a155c1-13b4-4fa4-9c62-9bb5e51bde48 | {
"language": "ActionScript"
} | ```actionscript
package com.kaltura.kdpfl.plugin
{
import org.osmf.traits.LoaderBase;
public class WVLoader extends LoaderBase
{
public function WVLoader()
{
super();
}
}
}```
Fix a bug that caused "ChangeMedia" to fail | ```actionscript
package com.kaltura.kdpfl.plugin
{
import flash.external.ExternalInterface;
import org.osmf.media.MediaResourceBase;
import org.osmf.traits.LoaderBase;
public class WVLoader extends LoaderBase
{
public function WVLoader()
{
super();
}
override public function canHand... |
249133d3-e291-4bb7-96b1-e0a4c714ab1f | {
"language": "ActionScript"
} | ```actionscript
package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
p... | ```actionscript
package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
p... |
346ae0d7-d6af-4908-bdca-3a2638898fa6 | {
"language": "ActionScript"
} | ```actionscript
package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicProperties;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public cl... | ```actionscript
package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicProperties;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public cl... |
62232652-63a1-4449-813d-bd2cec107a7a | {
"language": "ActionScript"
} | ```actionscript
package dolly {
public class ClassWithSomeCopyableFields {
public static var staticProperty1:String;
[Cloneable]
public static var staticProperty2:String;
[Cloneable]
public static var staticProperty3:String;
private var _writableField:String;
private var _readOnlyField:String = "read-only fi... | ```actionscript
package dolly {
public class ClassWithSomeCopyableFields {
public static var staticProperty1:String;
[Copyable]
public static var staticProperty2:String;
[Copyable]
public static var staticProperty3:String;
private var _writableField:String;
private var _readOnlyField:String = "read-only fiel... |
f448557c-6514-4b30-8b7c-9977958a6c81 | {
"language": "ActionScript"
} | ```actionscript
package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
p... | ```actionscript
package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
p... |
30e6c78f-99f6-44a2-9582-b84d3285448c | {
"language": "ActionScript"
} | ```actionscript
//
// Flump - Copyright 2012 Three Rings Design
package flump.export {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.geom.Point;
import flash.geom.Rectangle;
import flump.xfl.XflTexture;
public class PackedTexture
{
public const holder :Sprite = new Sprite();
... | ```actionscript
//
// Flump - Copyright 2012 Three Rings Design
package flump.export {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.geom.Point;
import flash.geom.Rectangle;
import flump.xfl.XflTexture;
public class PackedTexture
{
public const holder :Sprite = new Sprite();
... |
9af3f023-8ebd-4d45-a0a3-3e01b74e284e | {
"language": "ActionScript"
} | ```actionscript
//
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser Gener... | ```actionscript
//
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser Gener... |
3c16188b-8e47-4ca3-8e8b-50ca357f0c8c | {
"language": "ActionScript"
} | ```actionscript
package stdio {
import flash.display.*
import flash.utils.getQualifiedClassName
import flash.utils.setTimeout
public class Sprite extends flash.display.Sprite {
public function Sprite() {
stage.scaleMode = StageScaleMode.NO_SCALE
stage.align = StageAlign.TOP_LEFT
// Let t... | ```actionscript
package stdio {
import flash.display.*
import flash.utils.getQualifiedClassName
import flash.utils.setTimeout
public class Sprite extends flash.display.Sprite {
public function Sprite() {
if (stage) {
stage.scaleMode = StageScaleMode.NO_SCALE
stage.align = StageAlign.T... |
b5b824ce-454d-45d6-a7e6-52cc0974d83a | {
"language": "ActionScript"
} | ```actionscript
Scene@ newScene_;
Scene@ scene_;
Camera@ camera_;
void Start()
{
StartScene("Scenes/Level1.xml");
SubscribeToEvent("LevelComplete", "HandleLevelComplete");
}
void Stop()
{
}
void HandleLevelComplete(StringHash type, VariantMap& data)
{
log.Debug("Level Complete. I should be loading "+data["NextLev... | ```actionscript
Scene@ newScene_;
Scene@ scene_;
Camera@ camera_;
Timer timer_;
void Start()
{
StartScene("Scenes/Level1.xml");
SubscribeToEvent("LevelComplete", "HandleLevelComplete");
}
void Stop()
{
}
void HandleLevelComplete(StringHash type, VariantMap& data)
{
log.Debug("Level Complete. I should be loading "... |
97512c71-5403-4c0c-a068-909afbb425af | {
"language": "ActionScript"
} | ```actionscript
//
// $Id$
package com.threerings.flash {
import flash.display.Sprite;
import flash.events.Event;
/**
* Convenience superclass to use for sprites that need to update every frame.
* (One must be very careful to remove all ENTER_FRAME listeners when not needed, as they
* will prevent an object from... | ```actionscript
//
// $Id$
package com.threerings.flash {
import flash.display.Sprite;
import flash.events.Event;
/**
* Convenience superclass to use for sprites that need to update every frame.
* (One must be very careful to remove all ENTER_FRAME listeners when not needed, as they
* will prevent an object from... |
eb437f96-32bb-42f8-b6d7-4e43e68008c6 | {
"language": "ActionScript"
} | ```actionscript
package org.servebox.cafe.core.application
{
import org.servebox.cafe.core.spring.ApplicationContext;
import spark.components.Application;
public class Application extends spark.components.Application implements CafeApplication
{
private var _context : ApplicationContext;
public function ... | ```actionscript
package org.servebox.cafe.core.application
{
import org.servebox.cafe.core.spring.ApplicationContext;
import spark.components.Application;
public class Application extends spark.components.Application implements CafeApplication
{
private var _context : ApplicationContext;
public function ... |
4cbdba3e-635a-4177-b5e8-ebbfb2436a99 | {
"language": "ActionScript"
} | ```actionscript
```
Add bead to draw solid background | ```actionscript
////////////////////////////////////////////////////////////////////////////////
//
// 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.
// ... |
48576f57-7002-43d2-b95a-99782054c393 | {
"language": "ActionScript"
} | ```actionscript
```
Add template for writing SWF unit tests | ```actionscript
/* -*- Mode: java; indent-tabs-mode: nil -*- */
/*
Compiled with:
java -jar utils/asc.jar -import playerglobal.abc -swf Template,100,100,10 test/swfs/test_TemplateTest.as
This template is for writing test SWFs using pure AS3. It allows for testing
UI events, screen and program state using t... |
28b438de-c338-4a04-be1f-95fa4f5f5766 | {
"language": "ActionScript"
} | ```actionscript
```
Create a dummy textbox class for the sole purpose of writing the XML loader | ```actionscript
package Classes
{
public class Textbox
{
public var contents:String;
public function Textbox()
{
contents="";
}
public function Textbox(text)
{
contents=text;
}
public setContents(text)
{
contents=text;
}
}
}``` |
f774d37a-b3fb-44bb-a0ae-48ef03d29984 | {
"language": "ActionScript"
} | ```actionscript
```
Add AngelScript Http Request demo sample. | ```actionscript
// Http request example.
// This example demonstrates:
// - How to use Http request API
#include "Scripts/Utilities/Sample.as"
String message;
Text@ text;
HttpRequest@ httpRequest;
void Start()
{
// Execute the common startup for samples
SampleStart();
// Create the user interface
... |
6799172e-1ae0-456c-b5b7-b0f3e8bb70d1 | {
"language": "ActionScript"
} | ```actionscript
```
Add a simple terminal-like output. | ```actionscript
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.net.XMLSocket;
public class swfcat extends Sprite
{
private var output_text:TextField;
private function puts(s:String):void
{
output_text.appendText(s + "\n");
... |
ea845e7e-5c35-4ccb-8b94-3bb9d9f47a30 | {
"language": "ActionScript"
} | ```actionscript
```
Test case base class -- all AS test classes extend this. | ```actionscript
/*
Copyright 2009, Matthew Eernisse (mde@fleegix.org) and Slide, Inc.
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 req... |
586dae08-ef62-4d86-89b7-c1208725b2ca | {
"language": "ActionScript"
} | ```actionscript
```
Add stub class for Equivalence class testing | ```actionscript
package unittests
{
public class TestEquivalence
{
[Before]
public function setUp():void
{
}
[After]
public function tearDown():void
{
}
[BeforeClass]
public static function setUpBeforeClass():void
{
}
[AfterClass]
public static function tearD... |
4302384e-392e-49d0-a838-95419197b839 | {
"language": "ActionScript"
} | ```actionscript
```
Add VertexUvShader (vertex streams must have an uv component) | ```actionscript
package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public class VertexUVShader extends BasicShader
{
public fun... |
bf352493-4454-4de4-ab23-47ca1b9f0890 | {
"language": "ActionScript"
} | ```actionscript
```
Add empty test for PropertyUtil class. | ```actionscript
package dolly.utils {
import dolly.core.dolly_internal;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
use namespace dolly_internal;
public class PropertyUtilTests {
private var sourceObj:Object;
private var targetObj:Object;
[Before]
public function before():void {
s... |
95405165-afbd-465f-8400-a223b9b24a85 | {
"language": "ActionScript"
} | ```actionscript
```
Fix 525654 - added test for runtime Vector specialization | ```actionscript
/* ***** 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 License. You may obtain a copy of the License at
* http://www.mozi... |
d40949f6-87cf-45dc-ae35-171b4159cbad | {
"language": "ActionScript"
} | ```actionscript
```
Test class for cloning of PropertyLevelCopyableCloneableClass. | ```actionscript
package dolly {
import dolly.core.dolly_internal;
import dolly.data.PropertyLevelCopyableCloneableClass;
import org.as3commons.reflect.Type;
use namespace dolly_internal;
public class CloningOfPropertyLevelCopyableCloneableClassTest {
private var propertyLevelCopyableCloneable:PropertyLevelCopyabl... |
e3ba8118-68e4-4e42-aef6-fe705faeb2d1 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- util-events -- Events
-- Copyright (C) 2001, 2002, 2003, 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... | ```ada
-----------------------------------------------------------------------
-- util-events -- Events
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
18109fd3-6279-4758-adfc-e4935bb1e59b | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-info -- Collect and give information about the project
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... | ```ada
-----------------------------------------------------------------------
-- gen-commands-info -- Collect and give information about the project
-- Copyright (C) 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Licen... |
48b6939a-7d65-4582-85a3-07d847bdbb75 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-docs -- Extract and generate documentation for the project
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License... | ```ada
-----------------------------------------------------------------------
-- gen-commands-docs -- Extract and generate documentation for the project
-- Copyright (C) 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "L... |
94da1bcc-3760-4726-a18d-33c020330a30 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-page -- Page creation command for dynamo
-- Copyright (C) 2011, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... | ```ada
-----------------------------------------------------------------------
-- gen-commands-page -- Page creation command for dynamo
-- Copyright (C) 2011, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License... |
d385c9dd-b2d8-4325-be9a-937209b45f77 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-questions-services-tests -- Unit tests for question service
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | ```ada
-----------------------------------------------------------------------
-- awa-questions-services-tests -- Unit tests for question service
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
8a15e2b2-2cd3-4416-aef4-0938c0811f06 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-layout -- Layout creation command for dynamo
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... | ```ada
-----------------------------------------------------------------------
-- gen-commands-layout -- Layout creation command for dynamo
-- Copyright (C) 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
adb7ffcc-138f-4b04-8d2a-2f04879e51fe | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-readers-files -- Reader for files
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... | ```ada
-----------------------------------------------------------------------
-- mat-readers-files -- Reader for files
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
0e069df0-379c-46f3-8eb8-b80681a6c825 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- ado-drivers-tests -- Unit tests for database drivers
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... | ```ada
-----------------------------------------------------------------------
-- ado-drivers-tests -- Unit tests for database drivers
-- Copyright (C) 2014, 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
51279b01-96b5-4fd1-a1b9-ae43cba0e73b | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- druss-commands-status -- Druss status commands
-- Copyright (C) 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... | ```ada
-----------------------------------------------------------------------
-- druss-commands-status -- Druss status commands
-- Copyright (C) 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
93b44a2d-a7de-4d9f-9dbd-0f05a8f063a5 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... | ```ada
-----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
7e7158d6-06f3-4438-9604-eed8e4ec856b | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- AWA - Unit tests
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... | ```ada
-----------------------------------------------------------------------
-- AWA - Unit tests
-- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... |
d529fde5-154c-44cf-8037-67616c417a7d | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... | ```ada
-----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
75b25783-b064-4778-97d5-be435a029437 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- locales.tests -- Unit tests for Locales
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... | ```ada
-----------------------------------------------------------------------
-- util-locales-tests -- Unit tests for Locales
-- Copyright (C) 2009, 2010, 2011, 2022 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
a84c3cf5-01e4-47c1-be59-b1ac5eb9c5a9 | {
"language": "Ada"
} | ```ada
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package Definitions is
pragma Pure;
synth_version_major : constant String := "1";
synth_version_minor : constant String := "21";
copyright_years : constant String := "2015-2016";
host_lo... | ```ada
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package Definitions is
pragma Pure;
synth_version_major : constant String := "1";
synth_version_minor : constant String := "22";
copyright_years : constant String := "2015-2016";
host_lo... |
45db441d-3e1b-46d8-80fb-5c28918badd9 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-commands-tests -- Test the AWA.Commands
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... | ```ada
-----------------------------------------------------------------------
-- awa-commands-tests -- Test the AWA.Commands
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
a88f44c3-0731-42ab-b854-3382fa312cce | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... | ```ada
-----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
15ee4d6e-abed-4bae-8d73-36a0f21e0a70 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... | ```ada
-----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
6f64b82a-2b32-465d-8aba-dc3c2a94f7cd | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Util -- Utilities
-- Copyright (C) 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... | ```ada
-----------------------------------------------------------------------
-- Util -- Utilities
-- Copyright (C) 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... |
192be3f1-885f-4ab9-9d98-25f2c88da942 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | ```ada
-----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License"... |
e7b7e655-38eb-40d6-8b42-79510ce93fb0 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-workspaces -- Module workspaces
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... | ```ada
-----------------------------------------------------------------------
-- awa-workspaces -- Module workspaces
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
3cce35d8-b017-4126-b770-a1a6f2a50fe9 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... | ```ada
-----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
791cb44d-7da4-453a-a384-b8bfdb0a0e70 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- util-commands -- Support to make command line tools
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... | ```ada
-----------------------------------------------------------------------
-- util-commands -- Support to make command line tools
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
ceb8bb79-f46f-4fd8-a3e9-7e3a59ef05e7 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... | ```ada
-----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
2c787f3e-1240-4a52-9a2a-1fa4d7cab002 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-changelogs-tests -- Tests for changelogs
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... | ```ada
-----------------------------------------------------------------------
-- awa-changelogs-tests -- Tests for changelogs
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... |
e96c4b9c-3c4f-486c-a19d-32577c0b32ca | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-sysadmin --
-- Copyright (C) 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... | ```ada
-----------------------------------------------------------------------
-- awa-sysadmin -- sysadmin module
-- Copyright (C) 2019, 2022 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
4836d0e1-582c-4a6e-8009-43f61f08790f | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- AUnit utils - Helper for writing unit tests
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... | ```ada
-----------------------------------------------------------------------
-- AUnit utils - Helper for writing unit tests
-- Copyright (C) 2009, 2010, 2011, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
4e280e18-5e00-4e51-b1da-089cb0803b97 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-propset -- Set a property on dynamo project
-- Copyright (C) 2011, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");... | ```ada
-----------------------------------------------------------------------
-- gen-commands-propset -- Set a property on dynamo project
-- Copyright (C) 2011, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Lice... |
b022cd5f-0510-4cb0-8f03-04e9e73a782f | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Gen -- Code Generator
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... | ```ada
-----------------------------------------------------------------------
-- gen -- Code Generator
-- Copyright (C) 2009, 2010, 2011, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fil... |
2c755047-23ae-4f8d-aa46-786407a91f66 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... | ```ada
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... |
04ee5238-fa4f-47b4-8161-14198597caea | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... | ```ada
-----------------------------------------------------------------------
-- mat-formats - Format various types for the console or GUI interface
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... |
9f019000-4ae3-46c6-ad26-be18775af6a0 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-types -- Global types
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... | ```ada
-----------------------------------------------------------------------
-- mat-types -- Global types
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
d8a9ccc1-4588-450e-98dc-9d9ef08fec4b | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... | ```ada
-----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
834c6aac-cc60-4a0f-b725-dd7ecf572fed | {
"language": "Ada"
} | ```ada
-- t0026.adb - Sat Jan 11 23:18:41 2014
--
-- (c) Warren W. Gay VE3WWG ve3wwg@gmail.com
--
-- Protected under the following license:
-- GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999
with Ada.Text_IO;
with Posix;
use Posix;
procedure T0026 is
use Ada.Text_IO;
Child : pid_t := -1;... | ```ada
-- t0026.adb - Sat Jan 11 23:18:41 2014
--
-- (c) Warren W. Gay VE3WWG ve3wwg@gmail.com
--
-- Protected under the following license:
-- GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999
with Ada.Text_IO;
with Posix;
use Posix;
procedure T0026 is
use Ada.Text_IO;
Child : pid_t := -1;... |
bd84a29a-7cbe-44e1-a635-21285db2ffbd | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | ```ada
-----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License"... |
383e0753-13f8-4a2b-b5cb-6cd623d6b488 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-distrib -- Distrib command for dynamo
-- Copyright (C) 2012, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... | ```ada
-----------------------------------------------------------------------
-- gen-commands-distrib -- Distrib command for dynamo
-- Copyright (C) 2012, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");... |
b71de5dd-80d5-4dcb-94db-972878627d95 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-project -- Project creation command for dynamo
-- Copyright (C) 2011, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License... | ```ada
-----------------------------------------------------------------------
-- gen-commands-project -- Project creation command for dynamo
-- Copyright (C) 2011, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "L... |
e79da755-09e0-4617-b0bb-5ef52cd1f411 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Aawa-tests-helpers - Helpers for AWA unit tests
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... | ```ada
-----------------------------------------------------------------------
-- awa-tests-helpers - Helpers for AWA unit tests
-- Copyright (C) 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
3758136e-230f-4864-be7d-2f202363539e | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- babel-files-signatures -- Signatures calculation
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may n... | ```ada
-----------------------------------------------------------------------
-- babel-files-signatures -- Signatures calculation
-- Copyright (C) 2014, 2015, 2016 Stephane.Carrez
-- Written by Stephane.Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you... |
ce549587-5b9e-4b32-96bd-3a3fd3d9c984 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- util-streams-tests -- Unit tests for encoding buffered streams
-- Copyright (C) 2017, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");... | ```ada
-----------------------------------------------------------------------
-- util-streams-tests -- Unit tests for encoding buffered streams
-- Copyright (C) 2017, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");... |
a15ddfd6-c208-474e-8497-b1740104a77e | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... | ```ada
-----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
46787232-3f91-48db-8467-e23727e6b3b8 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- ADO Tests -- Database sequence generator
-- Copyright (C) 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... | ```ada
-----------------------------------------------------------------------
-- ADO Tests -- Database sequence generator
-- Copyright (C) 2009, 2010, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
cffaf373-9137-49f6-b85e-97ef69931cdf | {
"language": "Ada"
} | ```ada
-- RUN: %llvmgcc -S -O2 %s -I%p/Support -o - | grep 105 | count 2
package body Element_Copy is
function F return VariableSizedField is
X : VariableSizedField;
begin
return X;
end;
end;
```
Adjust this test for recent sroa improvements. | ```ada
-- RUN: %llvmgcc -S -O2 %s -I%p/Support -o - | grep 6899714
package body Element_Copy is
function F return VariableSizedField is
X : VariableSizedField;
begin
return X;
end;
end;
``` |
23057053-afca-421b-8b7c-75ccb0a2a9de | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- security -- Security
-- Copyright (C) 2010, 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file excep... | ```ada
-----------------------------------------------------------------------
-- security -- Security
-- Copyright (C) 2010, 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file excep... |
8de29fc6-701a-4b14-8d41-cccbb8f86a6f | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- widgets-factory -- Factory for widget Components
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... | ```ada
-----------------------------------------------------------------------
-- widgets-factory -- Factory for widget Components
-- Copyright (C) 2013, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may n... |
5af45c87-6e3c-488a-9ac1-0da2238bf191 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gen-commands-plugins -- Plugin creation and management commands for dynamo
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Lice... | ```ada
-----------------------------------------------------------------------
-- gen-commands-plugins -- Plugin creation and management commands for dynamo
-- Copyright (C) 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the... |
6e5c7c85-e20b-4c52-a33a-d92f61c41c1e | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- wiki-plugins -- Wiki plugins
-- Copyright (C) 2016 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... | ```ada
-----------------------------------------------------------------------
-- wiki-plugins -- Wiki plugins
-- Copyright (C) 2016 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
02a03de6-3d31-42fa-ae30-38d292743216 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- mat-types -- Global types
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... | ```ada
-----------------------------------------------------------------------
-- mat-types -- Global types
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
7f750a5d-68a4-45b8-89da-48647b3e0695 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-workspaces-tests -- Unit tests for workspaces and invitations
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... | ```ada
-----------------------------------------------------------------------
-- awa-workspaces-tests -- Unit tests for workspaces and invitations
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... |
b1196042-c642-4d63-824f-e558a17b19b1 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- awa-storages -- Storage module
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file e... | ```ada
-----------------------------------------------------------------------
-- awa-storages -- Storage module
-- Copyright (C) 2012, 2016 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file e... |
81251073-c3fa-4b27-92d8-18c062d99ad3 | {
"language": "Ada"
} | ```ada
-----------------------------------------------------------------------
-- gtkmatp -- Gtk MAT application
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... | ```ada
-----------------------------------------------------------------------
-- gtkmatp -- Gtk MAT application
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.