MCPcopy Create free account
hub / github.com/beefytech/Beef / XXH_readLE64_align

Function XXH_readLE64_align

BeefySysLib/util/Hash.cpp:244–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244FORCE_INLINE U64 XXH_readLE64_align(const U64* ptr, XXH_endianess endian, XXH_alignment align)
245{
246 if (align==XXH_unaligned)
247 return endian==XXH_littleEndian ? A64(ptr) : XXH_swap64(A64(ptr));
248 else
249 return endian==XXH_littleEndian ? *ptr : XXH_swap64(*ptr);
250}
251
252FORCE_INLINE U64 XXH_readLE64(const U64* ptr, XXH_endianess endian)
253{

Callers 1

XXH_readLE64Function · 0.85

Calls 1

XXH_swap64Function · 0.85

Tested by

no test coverage detected