|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Tblcmp, seg_030ab2
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Misc_Defs;
use Misc_Defs;
package Tblcmp is
-- bldtbl - build table entries for dfa state
procedure Bldtbl (State : in Unbounded_Int_Array;
Statenum, Totaltrans, Comstate, Comfreq : in Integer);
procedure Cmptmps;
-- expand_nxt_chk - expand the next check arrays
procedure Expand_Nxt_Chk;
-- find_table_space - finds a space in the table for a state to be placed
function Find_Table_Space
(State : in Unbounded_Int_Array; Numtrans : in Integer)
return Integer;
-- inittbl - initialize transition tables
procedure Inittbl;
-- mkdeftbl - make the default, "jam" table entries
procedure Mkdeftbl;
-- mkentry - create base/def and nxt/chk entries for transition array
procedure Mkentry (State : in Unbounded_Int_Array;
Numchars, Statenum, Deflink, Totaltrans : in Integer);
-- mk1tbl - create table entries for a state (or state fragment) which
-- has only one out-transition
procedure Mk1tbl (State, Sym, Onenxt, Onedef : in Integer);
-- mkprot - create new proto entry
procedure Mkprot (State : in Unbounded_Int_Array;
Statenum, Comstate : in Integer);
-- mktemplate - create a template entry based on a state, and connect the state
-- to it
procedure Mktemplate (State : in Unbounded_Int_Array;
Statenum, Comstate : in Integer);
-- mv2front - move proto queue element to front of queue
procedure Mv2front (Qelm : in Integer);
-- place_state - place a state into full speed transition table
procedure Place_State (State : in Unbounded_Int_Array;
Statenum, Transnum : in Integer);
-- stack1 - save states with only one out-transition to be processed later
procedure Stack1 (Statenum, Sym, Nextstate, Deflink : in Integer);
-- tbldiff - compute differences between two state tables
procedure Tbldiff (State : in Unbounded_Int_Array;
Pr : in Integer;
Ext : out Unbounded_Int_Array;
Result : out Integer);
end Tblcmp;
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by John Self of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and this paragraph are
-- duplicated in all such forms and that any documentation,
-- advertising materials, and other materials related to such
-- distribution and use acknowledge that the software was developed
-- by the University of California, Irvine. The name of the
-- University may not be used to endorse or promote products derived
-- from this software without specific prior written permission.
-- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-- TITLE template manager
-- AUTHOR: John Self (UCI)
-- DESCRIPTION supports output of internalized templates for the IO and DFA
-- packages.
-- NOTES This package is quite a memory hog, and is really only useful on
-- virtual memory systems. It could use an external file to store the
-- templates like the skeleton manager. This would save memory at the
-- cost of a slight reduction in speed and the necessity of keeping
-- copies of the template files in a known place.
-- $Header: /co/ua/self/arcadia/aflex/ada/src/RCS/template_managerB.a,v 1.20 90/10/15 20:00:53 self Exp Locker: self $
nblk1=4
nid=0
hdr6=8
[0x00] rec0=25 rec1=00 rec2=01 rec3=03a
[0x01] rec0=1b rec1=00 rec2=02 rec3=066
[0x02] rec0=17 rec1=00 rec2=03 rec3=02a
[0x03] rec0=10 rec1=00 rec2=04 rec3=000
tail 0x2152980d284a64eb018a0 0x42a00088462060003