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

⟦bd43ff9a9⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Recency, seg_03c13b, seg_03c457, seg_03c5fe

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Output_Stream;
package Recency is

    subtype Size_Type                      is Natural range 0 .. 10;
    type    Object (Size : Size_Type := 0) is private;
    Null_Object : constant Object;

    function "<" (Left, Right : Object) return Boolean;
    function ">" (Left, Right : Object) return Boolean;

    procedure Initialize;  
    procedure Get (The_Recency : out Object);
    procedure Increase;
    procedure Put (The_Object : Object; Where : Output_Stream.Object);



private

    Max_Recency_Value : constant := 65535;

    type Recency_Number  is range 0 .. Max_Recency_Value;
    type Recency_Numbers is array (Size_Type range <>) of Recency_Number;

    type Object (Size : Size_Type := 0) is
        record
            The_Value : Recency_Numbers (1 .. Size);
        end record;

    Null_Object : constant Object := Object'(Size      => 0,  
                                             The_Value => (others => 1));

end Recency;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=22 rec1=00 rec2=01 rec3=012
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x2173a20a2857a7c2df315 0x42a00088462063c03