|
| constexpr uint32_t | constexpr_xxh3::swap32 (uint32_t x) noexcept |
| |
| template<typename T > |
| constexpr uint32_t | constexpr_xxh3::readLE32 (const T *ptr) noexcept |
| |
| constexpr uint64_t | constexpr_xxh3::swap64 (uint64_t x) noexcept |
| |
| template<typename T > |
| constexpr uint64_t | constexpr_xxh3::readLE64 (const T *ptr) noexcept |
| |
| constexpr void | constexpr_xxh3::writeLE64 (uint8_t *dst, uint64_t v) noexcept |
| |
| constexpr std::pair< uint64_t, uint64_t > | constexpr_xxh3::mult64to128 (uint64_t lhs, uint64_t rhs) noexcept |
| |
| constexpr uint64_t | constexpr_xxh3::mul128_fold64 (uint64_t lhs, uint64_t rhs) noexcept |
| |
| constexpr uint64_t | constexpr_xxh3::XXH64_avalanche (uint64_t h) noexcept |
| |
| constexpr uint64_t | constexpr_xxh3::XXH3_avalanche (uint64_t h) noexcept |
| |
| constexpr uint64_t | constexpr_xxh3::rrmxmx (uint64_t h, uint64_t len) noexcept |
| |
| template<typename T , typename S > |
| constexpr uint64_t | constexpr_xxh3::mix16B (const T *input, const S *secret, uint64_t seed) noexcept |
| |
| template<typename T , typename S > |
| constexpr void | constexpr_xxh3::accumulate_512 (uint64_t *acc, const T *input, const S *secret) noexcept |
| |
| template<typename T , typename S > |
| constexpr uint64_t | constexpr_xxh3::hashLong_64b_internal (const T *input, size_t len, const S *secret, size_t secretSize) noexcept |
| |
| template<typename T , typename S , typename HashLong > |
| constexpr uint64_t | constexpr_xxh3::XXH3_64bits_internal (const T *input, size_t len, uint64_t seed, const S *secret, size_t secretLen, HashLong f_hashLong) noexcept |
| |
| template<BytesType Bytes> |
| constexpr size_t | constexpr_xxh3::bytes_size (const Bytes &bytes) noexcept |
| |
| template<ByteType T, size_t N> |
| constexpr size_t | constexpr_xxh3::bytes_size (T(&)[N]) noexcept |
| |
| template<ByteType T> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_const (const T *input, size_t len) noexcept |
| | Basic interfaces.
|
| |
| template<ByteType T, ByteType S> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_withSecret_const (const T *input, size_t len, const S *secret, size_t secretSize) noexcept |
| |
| template<ByteType T> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_withSeed_const (const T *input, size_t len, uint64_t seed) noexcept |
| |
| template<BytesType Bytes> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_const (const Bytes &input) noexcept |
| | Convenient interfaces.
|
| |
| template<BytesType Bytes, BytesType Secret> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_withSecret_const (const Bytes &input, const Secret &secret) noexcept |
| |
| template<BytesType Bytes> |
| consteval uint64_t | constexpr_xxh3::XXH3_64bits_withSeed_const (const Bytes &input, uint64_t seed) noexcept |
| |
- Copyright
- BSD 2-Clause License
-
constexpr-xxh3 - C++20 constexpr implementation of the XXH3 64-bit variant of xxHash Copyright (c) 2021-2023, chys admin.nosp@m.@chy.nosp@m.s.inf.nosp@m.o <chys87@github> All rights reserved.
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
This file uses code from Yann Collet's xxHash implementation. Original xxHash copyright notice:
-
xxHash - Extremely Fast Hash algorithm Header File Copyright (C) 2012-2020 Yann Collet
- Author
- Chys admin.nosp@m.@chy.nosp@m.s.inf.nosp@m.o <chys87@github>; Yann Collet
- Date
- 2025
Definition in file ConstexprXXH3.h.