llvm::AppleAccelTableData::hash

Hash Buffer with the DJB hash used by Apple accelerator tables.

Synopsis

Declared in <llvm/CodeGen/AccelTable.h>

static
uint32_t
hash(StringRef Buffer);

Return Value

32-bit DJB hash of Buffer.

Parameters

NameDescription
BufferName string to hash.