|
|
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_Value_Manager, seg_0045df
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
--| @SUMMARY Keeps a list of descrete values within a specified range
with Discrete_Hole_Manager;
package Discrete_Value_Manager is
type Value_List is private;
--| @DESCRIPTION Initialize value range to be the range Lo..Hi
procedure Init_Values (Values : out Value_List; Lo, Hi : Long_Integer);
--| @DESCRIPTION Add value range is unsuccessful iff Lo..Hi is
--| completely contained in the current set of values
procedure Add_Value_Range (Values : in out Value_List;
Lo, Hi : Long_Integer;
Success : out Boolean);
procedure Init_Iteration (Values : in out Value_List);
procedure Next_Range (Values : in out Value_List;
Lo, Hi : out Long_Integer);
--| @DESCRIPTION Usage is:
--| Init_Iteration (My_List)
--| while More_Values (My_list) loop
--| Next_Range (My_List, Lo, Hi);
--| "Process" (Hi, Lo);
--| end loop;
function More_Values (Values : Value_List) return Boolean;
private
type Value_List is
record
Holes : Discrete_Hole_Manager.Hole_List;
Constraint_Lower_Bound : Long_Integer;
Constraint_Upper_Bound : Long_Integer;
Next_Low : Long_Integer;
Current_Lower : Long_Integer;
Current_Upper : Long_Integer;
end record;
end Discrete_Value_Manager;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=19 rec1=00 rec2=01 rec3=066
[0x01] rec0=13 rec1=00 rec2=02 rec3=000
tail 0x215003f72815c65762c9f 0x42a00088462061e03