File:  [Research Unix] / researchv8dc / cmd / spell / hash.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

/*      @(#)hash.h      1.1     */
#define HASHWIDTH 27
#define HASHSIZE 134217689L     /*prime under 2^HASHWIDTH*/
#ifdef pdp11
#define INDEXWIDTH 9
#else
#define INDEXWIDTH 10
#endif
#define INDEXSIZE (1<<INDEXWIDTH)
#define NI (INDEXSIZE+1)
#define BYTE 8

extern unsigned *table;
extern unsigned short index[];  /*into dif table based on hi hash bits*/

extern long hash();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.