KJS::Lookup Class Reference
#include <lookup.h>
Static Public Member Functions | |
static int | find (const struct HashTable *table, const Identifier &s) |
static int | find (const struct HashTable *table, const UChar *c, unsigned int len) |
static const HashEntry * | findEntry (const struct HashTable *table, const Identifier &s) |
static const HashEntry * | findEntry (const struct HashTable *table, const UChar *c, unsigned int len) |
static unsigned int | hash (const Identifier &key) |
static unsigned int | hash (const UChar *c, unsigned int len) |
static unsigned int | hash (const char *s) |
Detailed Description
Member Function Documentation
◆ find()
|
static |
Find an entry in the table, and return its value (i.e.
the value field of HashEntry)
Definition at line 86 of file lookup.cpp.
◆ findEntry()
|
static |
Find an entry in the table, and return the entry This variant gives access to the other attributes of the entry, especially the attr field.
Definition at line 71 of file lookup.cpp.
◆ hash()
|
static |
Calculate the hash value for a given key.
Definition at line 101 of file lookup.cpp.
The documentation for this class was generated from the following files: