|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Uncanvas, seg_026d43, seg_02721b
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Field_Parser; with Socket_Defs; with Socket_Port; package body Uncanvas is -- pos: integer; -- the_value: socket_defs.msg; -- last: positive; Handler_Field_Position : Positive := 4; package Message_Parser is new Field_Parser; function Get_Handler (From : in String) return Socket_Port.Object is Pos : Integer; The_Value : String (1 .. From'Length); Last : Positive; Field_Position : Positive := 1; begin Message_Parser.Open (From, Pos); while not Message_Parser.Done (From, Pos) and then Field_Position /= Handler_Field_Position + 1 loop Message_Parser.Value (From, Pos, The_Value, Last); Message_Parser.Next (From, Pos); Field_Position := Field_Position + 1; end loop; if Field_Position = Handler_Field_Position + 1 then return Socket_Port.Create (Natural'Value (The_Value (1 .. Last))); else return Socket_Port.Undefined; end if; end Get_Handler; end Uncanvas;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=27 rec1=00 rec2=01 rec3=038 [0x01] rec0=0a rec1=00 rec2=02 rec3=001 tail 0x21720a20483a457f890ad 0x42a00088783c7f403