src/share/vm/libadt/dict.hpp

changeset 1040
98cb887364d3
parent 435
a61af66fc99e
child 1907
c18cbe5936b8
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
84 void print(); 84 void print();
85 }; 85 };
86 86
87 // Hashing functions 87 // Hashing functions
88 int hashstr(const void *s); // Nice string hash 88 int hashstr(const void *s); // Nice string hash
89 // Slimey cheap hash function; no guarenteed performance. Better than the 89 // Slimey cheap hash function; no guaranteed performance. Better than the
90 // default for pointers, especially on MS-DOS machines. 90 // default for pointers, especially on MS-DOS machines.
91 int hashptr(const void *key); 91 int hashptr(const void *key);
92 // Slimey cheap hash function; no guarenteed performance. 92 // Slimey cheap hash function; no guaranteed performance.
93 int hashkey(const void *key); 93 int hashkey(const void *key);
94 94
95 // Key comparators 95 // Key comparators
96 int32 cmpstr(const void *k1, const void *k2); 96 int32 cmpstr(const void *k1, const void *k2);
97 // Slimey cheap key comparator. 97 // Slimey cheap key comparator.

mercurial