![]() |
VISR
0.11.6
Versatile Interactive Scene Renderer
|
Functions | |
constexpr uint64_t | fnv1 (uint64_t h, const char *s) |
constexpr uint64_t | compileTimeHashFNV1 (const char *s) |
constexpr uint64_t visr::detail::compileTimeHashFNV1 | ( | const char * | s | ) |
Compute a hash value (64bit unsigned int) from a string. This function is 'constexpr, i.e., can be used at compile time. Adapted from https://github.com/elbeno/constexpr Licence of original code: MIT
s | String to be hashed. Must be a compile-time literal to enable use as a constexpr function. |
constexpr uint64_t visr::detail::fnv1 | ( | uint64_t | h, |
const char * | s | ||
) |
Internal implementation function