ATLAS Offline Software
Namespaces | Functions
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

 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. More...
 
template<typename Cont >
std::uint64_t xxh3::hash64 (const Cont &cont)
 Hash a container with data() and size() members. More...
 
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. More...
 

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.