src/share/vm/adlc/dict2.hpp

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

mercurial