DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦235fb103a⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Allocator_Test, seg_004398

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



procedure Allocator_Test is
    type T is new Integer;
    type U is
        record
            Real, Imag : Float;
        end record;
    type Tptr is access T;
    type Uptr is access U;

    A_T_Ptr : Tptr := new T;
    B_T_Ptr : Tptr;  
    C_T_Ptr : Tptr := new T'(123);
    A_U_Ptr : Uptr;

    procedure P (Tp : Tptr := new T) is
    begin
        null;
    end P;

begin  
    B_T_Ptr := new T;
    A_U_Ptr := new U'(1.0, 2.0);
    P (new T);
end Allocator_Test;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1a rec1=00 rec2=01 rec3=001
    tail 0x217001634815c62f95db4 0x42a00088462061e03