|
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 Memo_Stream_Old, seg_0525f3
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Document; with Message_Transport; with Identifier; with Max; package body Memo_Stream_Old is function "=" (L, R : Message_Transport.Stream_Id) return Boolean renames Message_Transport."="; T : File; procedure Init is Val : Message_Transport.Stream_Id; begin for I in T.Value'Range loop T.Value (I) := Val; end loop; end Init; procedure Add (Where : Natural; Element : Message_Transport.Stream_Id) is begin T.Value (Where) := Element; end Add; procedure Delete (Where : Natural; Element : Message_Transport.Stream_Id) is Val : Message_Transport.Stream_Id; begin T.Value (Where) := Val; end Delete; function Search (Where : Natural) return Message_Transport.Stream_Id is begin return T.Value (Where); end Search; function Search (What : Message_Transport.Stream_Id) return Natural is Found : Boolean := False; begin for I in T.Value'Range loop if not Found then if T.Value (I) = What then Found := True; return I; end if; end if; end loop; if not Found then raise Unknown; end if; end Search; end Memo_Stream_Old;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=2b rec1=00 rec2=01 rec3=08e [0x01] rec0=13 rec1=00 rec2=02 rec3=001 tail 0x2154bb03087a0735148c5 0x42a00088462060003