Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Hash sum. More...
#include "roc_core/stddefs.h"
Go to the source code of this file.
Namespaces | |
roc | |
Root namespace. | |
roc::core | |
General-purpose building blocks and platform abstraction layer. | |
Typedefs | |
typedef size_t | roc::core::hashsum_t |
Hash type. More... | |
Functions | |
hashsum_t | roc::core::hashsum_int (int16_t) |
Compute hash of 16-bit integer. More... | |
hashsum_t | roc::core::hashsum_int (uint16_t) |
Compute hash of 16-bit integer. More... | |
hashsum_t | roc::core::hashsum_int (int32_t) |
Compute hash of 32-bit integer. More... | |
hashsum_t | roc::core::hashsum_int (uint32_t) |
Compute hash of 32-bit integer. More... | |
hashsum_t | roc::core::hashsum_int (int64_t) |
Compute hash of 64-bit integer. More... | |
hashsum_t | roc::core::hashsum_int (uint64_t) |
Compute hash of 64-bit integer. More... | |
template<class T > | |
hashsum_t | roc::core::hashsum_int (T t) |
Compute hash of an integer. This fallback is needed for the cases when the overloads above do not cover all builtin types. E.g. if none of the overloads above covers unsigned long or unsigned long long. More... | |
hashsum_t | roc::core::hashsum_str (const char *str) |
Compute hash of zero-terminated string. More... | |
hashsum_t | roc::core::hashsum_mem (const void *data, size_t size) |
Compute hash of byte range. More... | |
void | roc::core::hashsum_add (hashsum_t &hash, const void *data, size_t size) |
Incrementally compute hash of memory chunks. On first invocation, hash should be zero. More... | |
Hash sum.
Definition in file hashsum.h.