lookup.cpp
const UChar * data() const
returns a UChar pointer to the string of the identifier with a size defined by size().
Definition: identifier.h:62
static int find(const struct HashTable *table, const Identifier &s)
Find an entry in the table, and return its value (i.e.
Definition: lookup.cpp:86
static const HashEntry * findEntry(const struct HashTable *table, const Identifier &s)
Find an entry in the table, and return the entry This variant gives access to the other attributes of...
Definition: lookup.cpp:71
static unsigned int hash(const Identifier &key)
Calculate the hash value for a given key.
Definition: lookup.cpp:101
A hash table Usually the hashtable is generated by the create_hash_table script, from a ....
Definition: lookup.h:71
const HashEntry *const entries
pointer to the array of entries Mind that some entries in the array are null (0,0,...
Definition: lookup.h:86