|
|
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, procedure Test_View_Support, seg_03beba
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Directory;
with Extensions_Support;
with View_Support;
with Io;
procedure Test_View_Support is
package Es renames Extensions_Support;
package Vs renames View_Support;
package Naming renames Directory.Naming;
-- Test the view support package
begin
-- Get the referencers of !rc.low_level_operations.rev4_0_spec
declare
Referencers : constant Vs.Unit_List :=
Vs.Get_Referencers
(Es.Get_Object ("!rc.low_level_operations.rev4_0_spec"), True);
begin
for Index in Referencers.Data'First .. Referencers.Data'Last loop
Io.Put_Line (Naming.Get_Full_Name (Referencers.Data (Index)));
end loop;
end;
-- Get the imports of !rc.user_interface.rev4_working
declare
Imports : constant Vs.Unit_List :=
Vs.Get_Imports
(Es.Get_Object ("!rc.user_interface.rev4_working"), True);
begin
Io.Put_Line ("------------------------------------------");
for Index in Imports.Data'First .. Imports.Data'Last loop
Io.Put_Line (Naming.Get_Full_Name (Imports.Data (Index)));
end loop;
end;
-- Check if !rc.low_level_operations.rev4_0_spec is in the
-- import closure of !rc.user_interface.rev4_working
declare
Imports : constant Vs.Unit_List :=
Vs.Get_Imports
(Es.Get_Object ("!rc.user_interface.rev4_working"), True);
begin
Io.Put_Line ("------------------------------------------");
if Vs.Is_Member (Es.Get_Object ("!rc.low_level_operations.rev4_0_spec"),
Imports) then
Io.Put_Line ("Yes");
else
Io.Put_Line ("No");
end if;
end;
end Test_View_Support;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=034
[0x01] rec0=1a rec1=00 rec2=02 rec3=000
tail 0x215348414856575c00b13 0x42a00088462062803