Mercurial > hg > truffle
comparison src/share/vm/adlc/dict2.hpp @ 628:7bb995fbd3c0
Merge
author | trims |
---|---|
date | Thu, 12 Mar 2009 18:16:36 -0700 |
parents | 98cb887364d3 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
580:ce2272390558 | 628:7bb995fbd3c0 |
---|---|
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. |