Hashing Function for strings
Date/Time of Processing: Tuesday 24 May 1994 01:10:27Pm Overall Assessment of System: OK Classification of System: A Basis of Classification -- Syntax Errors PASS Completeness PASS Independence from External Libraries PASS Independence from a Specific Ada Compiler PASS Number of ... Files 2 Library Units 2 Lines 73 Statements 30 Comments 17
languages/ada/asr/abstractions/hashfcns: File Name Size --------- ---- hashfcns.zip 987 Totals ============== ============== 1 Files 987
This generic package contains one generic function, HASH_STRING, which generates a hashing number for a string, where the hashing number is in the range from 0 to PRIME-1, where PRIME is a POSITIVE number passed as a generic parameter. ABSTRACTIONS is used by NOSC/WIS tools 5.1.1, 5.1.2, 6.1.2, and 6.2. See also NEW_ABSTRACTIONS.
DATE VERSION AUTHOR HISTORY 03/85 1.0 Bill Toscano Initial Release
This prologue must be included in all copies of this software. This software is copyright by the author. This software is released to the Ada community. This software is released to the Public Domain (note: software released to the Public Domain is not subject to copyright protection). Restrictions on use or distribution: NONE
This software and its documentation are provided "AS IS" and without any expressed or implied warranties whatsoever. No warranties as to performance, merchantability, or fitness for a particular purpose exist. The user is advised to test the software thoroughly before relying on it. The user must assume the entire risk and liability of using this software. In no event shall any person or organization of people be held responsible for any direct, indirect, consequential or inconsequential damages or lost profits.