|
|
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: 654 (0x28e)
Types: TextFile
Names: »B«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
separate (Halstead_List)
procedure Get (New_Node : out List) is
--
-- gets a new node either from the free-list or system;
-- we ASSUME that there will be no OVERFLOW!!!
--
Free_Node : List;
begin
-- Get
-- check whether the free-list is empty or not
if Free_List = null then
-- free-list is empty, so get a new node from the system
New_Node := new Node;
else
-- free-list is NOT empty
-- get the free node from the free-list
Free_Node := Free_List;
Free_List := Free_List.Next;
Free_Node.Next := null;
New_Node := Free_Node;
end if;
end Get;