|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 5908 (0x1714)
Types: TextFile
Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
└─⟦124ff5788⟧ »DATA«
└─⟦this⟧
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
└─⟦6f12a12be⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
with Directory;
with Object_Editor;
with Text_Io;
with Pool;
procedure Test_Pool is
package Ao renames Directory.Any_Object;
O1, O2, O3 : Directory.Object := Directory.Nil;
E1_1, E1_2, E2, E3 : Object_Editor.Instance := Object_Editor.Nil;
Ao_Status : Ao.Status;
Pool_Status : Pool.Status;
begin
Object_Editor.Create (Editor => E1_1);
Object_Editor.Create (Editor => E1_2);
Object_Editor.Create (Editor => E2);
Object_Editor.Create (Editor => E3);
Ao.Create (The_Object => O1, Object_Name => "/u/pam", Status => Ao_Status);
Text_Io.Put_Line ("create o1 " & Ao.Status'Image (Ao_Status));
Ao.Create (The_Object => O2,
Object_Name => "/u/pam/experiment",
Status => Ao_Status);
Text_Io.Put_Line ("create o2 " & Ao.Status'Image (Ao_Status));
Ao.Create (The_Object => O3,
Object_Name => "/u/pam/experiment/test",
Status => Ao_Status);
Text_Io.Put_Line ("create o3 " & Ao.Status'Image (Ao_Status));
Text_Io.New_Line;
Pool.Control (Object => O1, Status => Pool_Status);
Text_Io.Put_Line ("control o1 " & Pool.Status'Image (Pool_Status));
Pool.Control (Object => O2, Status => Pool_Status);
Text_Io.Put_Line ("control o2 " & Pool.Status'Image (Pool_Status));
Pool.Control (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("control o3 " & Pool.Status'Image (Pool_Status));
Pool.Control (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("control o3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Text_Io.Put_Line ("Is_controlled o1 = " &
Boolean'Image (Pool.Is_Controlled (O1)));
Text_Io.Put_Line ("Is_controlled o2 = " &
Boolean'Image (Pool.Is_Controlled (O2)));
Text_Io.Put_Line ("Is_controlled o3 = " &
Boolean'Image (Pool.Is_Controlled (O3)));
Text_Io.New_Line;
Pool.Read (Object => O1, Editor => E1_1, Status => Pool_Status);
Text_Io.Put_Line ("read o1 e1_1 " & Pool.Status'Image (Pool_Status));
Pool.Read (Object => O1, Editor => E1_2, Status => Pool_Status);
Text_Io.Put_Line ("read o1 e1_2 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Update (Object => O2, Editor => E2, Status => Pool_Status);
Text_Io.Put_Line ("update o2 e2 " & Pool.Status'Image (Pool_Status));
Pool.Update (Object => O2, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("update o2 e3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Abandon (Object => O2, Editor => E2, Status => Pool_Status);
Text_Io.Put_Line ("abandon o2 e2 " & Pool.Status'Image (Pool_Status));
Pool.Update (Object => O2, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("update o2 e3 " & Pool.Status'Image (Pool_Status));
Pool.Read (Object => O2, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("read o2 e3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Read (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("read o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Uncontrol (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("uncontrol o3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Uncontrol (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("uncontrol o3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Control (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("control o3 " & Pool.Status'Image (Pool_Status));
Pool.Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("update o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Uncontrol (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("uncontrol o3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Uncontrol (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("uncontrol o3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Control (Object => O3, Status => Pool_Status);
Text_Io.Put_Line ("control o3 " & Pool.Status'Image (Pool_Status));
Pool.Read (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("read o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon_Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon update o3 e3 " &
Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("update o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon_Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon update o3 e3 " &
Pool.Status'Image (Pool_Status));
Pool.Abandon (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon o3 e3 " & Pool.Status'Image (Pool_Status));
Text_Io.New_Line;
Pool.Read (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("read o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("update o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon o3 e3 " & Pool.Status'Image (Pool_Status));
Pool.Abandon_Update (Object => O3, Editor => E3, Status => Pool_Status);
Text_Io.Put_Line ("abandon update o3 e3 " &
Pool.Status'Image (Pool_Status));
end Test_Pool;