|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bench_Tests_D, seg_011a9d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Etat_D, Nombre_D, Point_D; use Etat_D, Nombre_D, Point_D; package body Bench_Tests_D is Max_Point_D : constant := 30; Max_Iter : constant := 100; ------------------------------------------------------------------------------ function Creation_Objets_Test (E : Etat_D.Object; N : Nombre_D.Object) return Boolean is begin return Etat_D.Value (E) = 0 and then Nombre_D.Value (N) < Max_Point_D; end Creation_Objets_Test; ------------------------------------------------------------------------------ function Fin_Creation_Test (E : Etat_D.Object; N : Nombre_D.Object) return Boolean is begin return Etat_D.Value (E) = 0 and then Nombre_D.Value (N) = Max_Point_D; end Fin_Creation_Test; ------------------------------------------------------------------------------ function Recherche_Objet_Test (E : Etat_D.Object; N : Nombre_D.Object; P : Point_D.Object) return Boolean is Ok : Boolean; begin return Etat_D.Value (E) > 0 and then Etat_D.Value (E) <= Max_Iter and then Point_D.X (P) = Nombre_D.Value (N); end Recherche_Objet_Test; ------------------------------------------------------------------------------ function Iteration_Test (E : Etat_D.Object; N : Nombre_D.Object) return Boolean is begin return Etat_D.Value (E) > 0 and then Etat_D.Value (E) <= Max_Iter and then Nombre_D.Value (N) = 0; end Iteration_Test; end Bench_Tests_D;
nblk1=4 nid=3 hdr6=4 [0x00] rec0=1c rec1=00 rec2=01 rec3=06e [0x01] rec0=12 rec1=00 rec2=04 rec3=000 [0x02] rec0=17 rec1=00 rec2=03 rec3=006 [0x03] rec0=0d rec1=00 rec2=04 rec3=000 tail 0x2170d7b26823967337621 0x42a00088462063c03 Free Block Chain: 0x3: 0000 00 02 03 fc 80 13 65 61 74 69 6f 6e 5f 4f 62 6a ┆ eation_Obj┆ 0x2: 0000 00 00 00 30 80 20 66 5f 43 6f 6c 6c 65 63 74 69 ┆ 0 f_Collecti┆