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

⟦f0989a4ca⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Root, seg_03b00a

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



with Unchecked_Deallocation;

package body Root is

    type State is
        record
            Offspring : Natural := 0;
            Heir : Object;
        end record;


    procedure Free is new Unchecked_Deallocation (State, Object);


    function Create (Offspring : Natural := 0) return Object is separate;


    procedure Delete (This_Object : in out Object;
                      Marker : Boolean := False) is separate;


    procedure Set_Heir (This_Object : in out Object; Heir : Object) is
    begin
        This_Object.Heir := Heir;
    end Set_Heir;


    function Get_Heir (This_Object : Object) return Object is
    begin  
        if This_Object = null then  
            return This_Object;
        else
            return This_Object.Heir;
        end if;
    end Get_Heir;

end Root;

E3 Meta Data

    nblk1=3
    nid=2
    hdr6=2
        [0x00] rec0=27 rec1=00 rec2=01 rec3=000
        [0x01] rec0=0a rec1=00 rec2=02 rec3=000
        [0x02] rec0=0a rec1=00 rec2=03 rec3=000
    tail 0x217383c9a85126bd9ab9a 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 03 00 f6 80 2e 74 5f 48 65 69 72 20 28 54 68  ┆     .t_Heir (Th┆
  0x3: 0000  00 00 00 1f 80 01 3b 01 00 00 00 00 00 00 00 00  ┆      ;         ┆