|
|
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 Discrete_Hole_Manager, seg_0045de
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
--| @SUMMARY Keeps track of holes left in a discrete range
package Discrete_Hole_Manager is
type Hole_List is private;
--| @DESCRIPTION Initialize Holes to be the range Lo..Hi
procedure Init_Holes (Holes : out Hole_List; Lo, Hi : Long_Integer);
--| @DESCRIPTION Delete Hole is unsuccessful iff Lo..Hi is not contained
--| in Holes
procedure Delete_Hole (Holes : in out Hole_List;
Lo, Hi : Long_Integer;
Success : out Boolean);
--| @DESCRIPTION Holes is moved to the next item of the Hole_List
procedure Next_Hole (Holes : in out Hole_List; Lo, Hi : out Long_Integer);
--| @DESCRIPTION Usage is:
--| while More_Holes (My_list) loop
--| Next_Hole (My_List, Lo, Hi);
--| "Process" (Hi, Lo);
--| end loop;
function More_Holes (Holes : Hole_List) return Boolean;
private
type Hole_Descriptor is
record
Lo, Hi : Long_Integer;
Next : Hole_List;
end record;
type Hole_List is access Hole_Descriptor;
end Discrete_Hole_Manager;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1b rec1=00 rec2=01 rec3=026
[0x01] rec0=09 rec1=00 rec2=02 rec3=000
tail 0x21700231e815c6574d4c6 0x42a00088462061e03