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

⟦dc27cc171⟧ Ada Source

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

Derivation

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

E3 Source Code



with Bounded_String;
with Transport_Defs;
with Byte_Defs;

package Orb_Tools is

    Length_Command_String : constant Natural := 7;
    -- 6 caracteres pour l'image d'une commande

    subtype Command_String is String (1 .. Length_Command_String);
    -- type de l'image d'une commande

    subtype Content_String is Bounded_String.Variable_String (246);
    -- contenu de la commande a 246 char max

    subtype Data_String is Bounded_String.Variable_String (256);
    -- contenu de la chaine a transmettre contient au maximum 256 caracteres

    subtype Ident_String is Bounded_String.Variable_String (3);
    -- type de l'image de l'identificateur d'objets

    subtype Socket_String is Bounded_String.Variable_String (10);
    -- type de l'image d'une socket

    subtype Host_String is Bounded_String.Variable_String (16);
    -- type de l'image d'un host

    procedure Copy (Source : in String;
                    Target : in out Bounded_String.Variable_String);

    procedure Copy (Source : in Bounded_String.Variable_String;
                    Target : in out Bounded_String.Variable_String);

    procedure Copy (Source : in Transport_Defs.Host_Id;
                    Target : in out Bounded_String.Variable_String);

    procedure Copy (Source : in Transport_Defs.Socket_Id;
                    Target : in out Bounded_String.Variable_String);

    function Image (Source : Bounded_String.Variable_String) return String;

    procedure Append (Source : in Bounded_String.Variable_String;
                      Target : in out Bounded_String.Variable_String);

    procedure Append (Source : in String;
                      Target : in out Bounded_String.Variable_String);

    function Vstring_To_Host (Source : Bounded_String.Variable_String)
                             return Transport_Defs.Host_Id;

    function Vstring_To_Socket (Source : Bounded_String.Variable_String)
                               return Transport_Defs.Socket_Id;

    function Vstring_To_Byte_String (Source : Bounded_String.Variable_String)
                                    return Byte_Defs.Byte_String;

    procedure Copy (Source : in Byte_Defs.Byte_String;
                    Target : in out Bounded_String.Variable_String);

    function Extract (Source : Bounded_String.Variable_String;
                      Start_Pos : Positive;
                      End_Pos : Natural) return String;

end Orb_Tools;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=6
        [0x00] rec0=1e rec1=00 rec2=01 rec3=070
        [0x01] rec0=17 rec1=00 rec2=03 rec3=046
        [0x02] rec0=0d rec1=00 rec2=02 rec3=000
        [0x03] rec0=06 rec1=1c rec2=e0 rec3=142
    tail 0x2154de1c687c59e55b5f9 0x42a00088462060003
Free Block Chain:
  0x4: 0000  00 00 00 15 80 0c 62 6c 65 5f 53 74 72 69 6e 67  ┆      ble_String┆