GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.waspscripts.com — Archive Map Archive Map¶An id-keyed container for the TArchive records of one index, laid out the same way TFileMap is. Config archives can also be addressed by their EConfigArchive name. TArchiveMap._Init¶procedure TArchiveMap._Init(expectedCount: Integer); Empties the map and sizes its hash table for roughly The table is deliberately over-allocated - see MapHashSize - so that probing stays short; TArchiveMap._Grow doubles it again if it ever fills past 60%. TArchiveMap._FindSlot¶function TArchiveMap._FindSlot(key: Integer): Integer; The hash slot belonging to TArchiveMap._Grow¶procedure TArchiveMap._Grow(); Doubles the hash table and reinserts every key into it. Entry order is untouched - only the slots that point at the entries are rebuilt. ArchiveMap.Build¶procedure TArchiveMap.Build(const keys: TIntegerArray; count: Integer); Fills the map in one pass with an empty TArchive per key, sizing the key, value and hash arrays exactly once instead of regrowing them on every insert. Only the first TArchiveMap.Exists¶function TArchiveMap.Exists(key: Integer): Boolean; Whether the map holds an entry with this id. TArchiveMap.IndexOf¶function TArchiveMap.IndexOf(key: Integer): Integer; The position of this id in TArchiveMap.Value¶property TArchiveMap.Value(key: Integer; const val: TArchive); property TArchiveMap.Value(key: Integer): TArchive; property TArchiveMap.Value(key: EConfigArchive; const val: TArchive); property TArchiveMap.Value(key: EConfigArchive): TArchive; Reads or writes the archive stored under Writing keeps TArchiveMap.Clear¶procedure TArchiveMap.Clear(); Drops every entry and the hash table with them, leaving the map as if it had never been used. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |