ATLAS Offline Software
Loading...
Searching...
No Matches
XXH.h File Reference

C++ native wrapper for the C xxhash API. More...

#include <cstdint>
#include <type_traits>
Include dependency graph for XXH.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  xxh3
 Wrapper namespace for our xxhash (xxh3) wrapper function.

Functions

std::uint64_t xxh3::hash64 (const void *data, std::size_t size)
 Passthrough to XXH3_64bits.
template<typename Cont>
std::uint64_t xxh3::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 xxh3::hash64 (const POD &pod)
 Hash a POD value / struct.

Detailed Description

C++ native wrapper for the C xxhash API.

Author
Beojan Stanislaus bstan.nosp@m.isla.nosp@m.us@lb.nosp@m.l.go.nosp@m.v
Date
August 2023

Definition in file XXH.h.