![]() |
ATLAS Offline Software
|
Wrapper namespace for our xxhash (xxh3) wrapper function. More...
Functions | |
| std::uint64_t | hash64 (const void *data, std::size_t size) |
| Passthrough to XXH3_64bits. | |
| template<typename Cont> | |
| std::uint64_t | hash64 (const Cont &cont) |
| Hash a container with data() and size() members. | |
| template<typename POD, typename = std::enable_if_t<std::is_standard_layout_v<POD> && std::is_trivial_v<POD>>> | |
| std::uint64_t | hash64 (const POD &pod) |
| Hash a POD value / struct. | |
Wrapper namespace for our xxhash (xxh3) wrapper function.
| std::uint64_t xxh3::hash64 | ( | const Cont & | cont | ) |
Hash a container with data() and size() members.
Examples include std::string, std::vector, std::string_view
| cont | Container to be hashed |
Definition at line 39 of file XXH.h.
| std::uint64_t xxh3::hash64 | ( | const POD & | pod | ) |
| std::uint64_t xxh3::hash64 | ( | const void * | data, |
| std::size_t | size ) |
Passthrough to XXH3_64bits.
| data | Pointer to data to be hashed |
| size | Size of data to be hashed (in bytes) |
Definition at line 9 of file XXH.cxx.