|
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 Gestion_Table, seg_041e4a, seg_049433
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Nos_Chaines; package body Gestion_Table is procedure Trouve (Item : Element; Tab : Objet_Table; Index_Courant : in out Integer; Succes : out Boolean) is Debut : Integer := 1; Fin : Integer := Tab'Last; begin Succes := False; loop Index_Courant := (Debut + Fin) / 2; if Egal (Tab (Index_Courant), Item) then Succes := True; exit; end if; if Debut - Fin = 1 then if Egal (Tab (Index_Courant + 1), Item) then Succes := True; Index_Courant := Index_Courant + 1; end if; exit; end if; if Superieur (Tab (Index_Courant), Item) then Debut := Index_Courant; else Fin := Index_Courant; end if; end loop; end Trouve; end Gestion_Table;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=21 rec1=00 rec2=01 rec3=026 [0x01] rec0=07 rec1=00 rec2=02 rec3=001 tail 0x2153cdfa8862868199b5a 0x42a00088462060003