52 template<
class PrimitiveType>
60 unsigned operator()(
const PrimitiveType&
p,
unsigned seed)
const
111 unsigned operator()(
const string&
p,
unsigned seed)
const
214 unsigned operator()(
const void*
const&
p,
unsigned seed)
const
219 unsigned operator()(
const void*
const&
p)
const
Misc. hashing functions, mostly from Bob Jenkins.
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
unsigned operator()(const PrimitiveType &p, unsigned seed) const
A class for handling file names.
A class for handling keywords in dictionaries.
Hashing function class, shared by all the derived classes.
A class for handling character strings derived from std::string.
A wordRe is a word, but can also have a regular expression for matching words.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
unsigned Hasher(const void *data, size_t len, unsigned seed=0)
Bob Jenkins's 96-bit mixer hashing function (lookup3)