KvConfigHash
KvConfigHash
Description
Hash a Str for use as config key.
Parameters
| Name | Direction | Description |
|---|---|---|
data |
in | Pointer to Str. |
size |
in | Ignored. Included for generic hash compatibility. |
Success
Stable hash of the string bytes.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
KvConfig.c:113:
}
u64 KvConfigHash(const void *data, u32 ignored_size) {
const Str *str = data;
u64 hash = 1469598103934665603ULL;- In
KvConfig.h:46:
#define KvConfigInit() \
MapInitWithDeepCopyAndValueCompare( \
KvConfigHash, \
KvConfigCompare, \
KvConfigCompare, \
Last updated on