]> git.saurik.com Git - apple/objc4.git/blob - runtime/phash.h
0b538a98a3fea2cd52393652d64ae7c45e433b4e
[apple/objc4.git] / runtime / phash.h
1 /* Perfect hash definitions */
2 #ifndef STANDARD
3 #include "standard.h"
4 #endif /* STANDARD */
5 #ifndef PHASH
6 #define PHASH
7
8 extern const ub1 tab[];
9 #define PHASHLEN 0x2000 /* length of hash mapping table */
10 #define PHASHNKEYS 29798 /* How many keys were hashed */
11 #define PHASHRANGE 32768 /* Range any input might map to */
12 #define PHASHSALT 0x5384540f /* internal, initialize normal hash */
13
14 ub4 phash();
15
16 #endif /* PHASH */
17