Compute a stable 64‐bit hash of the given string.

Synopsis

Declared in <llvm/Support/SipHash.h>

uint64_t
getStableSipHash(StringRef Str);

Description

The exact algorithm is the little‐endian interpretation of the non‐doubled (i.e. 64‐bit) result of applying a SipHash‐2‐4 using a specific seed value which can be found in the source.

Return Value

Stable 64‐bit SipHash of Str.

Parameters

Name

Description

Str

String to hash.

Created with MrDocs