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

⟦30afeaeaf⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Test_Set, seg_028b8e

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 Po_Conditions;
with Po_Access_Modes;
with Po_Handle;
with Test_Set_Element;
with System;

package Test_Set is

  type Object is private;

  function Constructor (Heap : System.Segment) return Object;

  procedure Destructor (Of_The_Obj : in out Object);

  procedure Append (The_Test_Set_Element : in     Test_Set_Element.Object;
                    In_Test_Set          : in out Object);

  procedure Insert (The_Test_Set_Element : in     Test_Set_Element.Object;
                    In_Test_Set          : in out Object;
                    After_The_Position   : in     Natural);

  -- return value of 0 measn it wasn't there
  function Position (The_Test_Set_Element : in Test_Set_Element.Object;
                     In_Test_Set          : in Object) return Natural;

  procedure Remove_Element (From_Test_Set : in out Object;
                            At_Position   : in     Positive);

  type Iterator is private;

  function  Init  (The_Test_Set : Object) return Iterator;
  function  Done  (The_Iter : Iterator)   return Boolean;
  function  Value (The_Iter : Iterator)   return Test_Set_Element.Object;
  procedure Next  (The_Iter : in out Iterator);

  function Test_Case_Context_Loc (Of_Test_Set : Object) return String;

  procedure Set_Test_Case_Context_Loc
             (The_Test_Set : in out Object; The_Context_Loc : String);


  package Persistent_Operations is

    procedure Get_Condition (Obj  : in     Object;
                             Into : in out Po_Conditions.Condition);


    procedure Open (The_Obj : in out Object;
                    Mode    : in     Po_Access_Modes.Modes;
                    Handle  : in     Po_Handle.Object);


    procedure Create (The_Obj : in out Object; Handle : in Po_Handle.Object);

    function Name (For_Obj : Object) return String;

    procedure Save (The_Obj : in out Object);

    procedure Save_As (The_Obj         : in out Object;
                       With_New_Handle :        Po_Handle.Object);

    procedure Close (The_Obj : in out Object; Abandon : Boolean := False);


  end Persistent_Operations;

end Test_Set;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=20 rec1=00 rec2=01 rec3=032
        [0x01] rec0=1d rec1=00 rec2=03 rec3=00a
        [0x02] rec0=09 rec1=00 rec2=04 rec3=000
        [0x03] rec0=90 rec1=00 rec2=28 rec3=66c
    tail 0x2172264fe83c55e2e9945 0x42a00044462022803
Free Block Chain:
  0x2: 0000  00 00 00 c9 80 38 20 20 20 20 20 20 20 20 20 20  ┆     8          ┆