The Bernstein hash function used by the DWARF accelerator tables.
Synopsis
Declared in <llvm/Support/DJB.h>
uint32_t
djbHash(
StringRef Buffer,
uint32_t H = 5381);
Return Value
The Bernstein hash of the input.
Parameters
Name |
Description |
Buffer |
Input bytes to hash. |
H |
Initial hash value (defaults to 5381). |
Created with MrDocs