|
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 - metrics - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Queue_Parametre_Utils, seg_0560fc
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; -- pour tests with Parametre; -- pour tests with Bounded_String; with Liste_Parametre; with Queue_Parametre; package body Queue_Parametre_Utils is function Length (Queue : Queue_Parametre.Queue) return Natural is Iter : Queue_Parametre.Iterator; N : Natural := 0; begin Queue_Parametre.Init (Iter, Queue); while (Queue_Parametre.Done (Iter) = False) loop Queue_Parametre.Next (Iter); N := N + 1; if Queue_Parametre.Done (Iter) = False then Text_Io.Put_Line ("boucle encore"); end if; end loop; return N; end Length; function Add_Queue_To_List (Target : Liste_Parametre.List; Source : Queue_Parametre.Queue) return Liste_Parametre.List is Iter : Queue_Parametre.Iterator; A_List : Liste_Parametre.List; begin A_List := Target; Queue_Parametre.Init (Iter, Source); while (Queue_Parametre.Done (Iter) = False) loop A_List := Liste_Parametre.Make (Queue_Parametre.Value (Iter), A_List); Queue_Parametre.Next (Iter); end loop; return A_List; end Add_Queue_To_List; end Queue_Parametre_Utils;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1d rec1=00 rec2=01 rec3=020 [0x01] rec0=0e rec1=00 rec2=02 rec3=000 tail 0x21761ba8e87c35816b01b 0x42a00088462060003