IOSS 2.0

Functions | Variables
tsl::rh::detail Namespace Reference

## Functions
template<unsigned int IPrime>
static constexpr std::size_t | mod (std::size_t hash)

## Variables
static constexpr const std::array< std::size_t, 40 > | PRIMES
static constexpr const std::array< std::size_t(*)(std::size_t), 40 > | MOD_PRIME

## Function Documentation

## ◆ mod()

template<unsigned int IPrime>

static constexpr std::size_t tsl::rh::detail::mod | ( | std::size_t | hash | ) |
| static

## Variable Documentation

## ◆ MOD_PRIME

constexpr const std::array<std::size_t (*)(std::size_t), 40> tsl::rh::detail::MOD_PRIME
| static

Initial value:
= {
{&mod<0>, &mod<1>, &mod<2>, &mod<3>, &mod<4>, &mod<5>, &mod<6>, &mod<7>,
&mod<8>, &mod<9>, &mod<10>, &mod<11>, &mod<12>, &mod<13>, &mod<14>, &mod<15>,
&mod<16>, &mod<17>, &mod<18>, &mod<19>, &mod<20>, &mod<21>, &mod<22>, &mod<23>,
&mod<24>, &mod<25>, &mod<26>, &mod<27>, &mod<28>, &mod<29>, &mod<30>, &mod<31>,
&mod<32>, &mod<33>, &mod<34>, &mod<35>, &mod<36>, &mod<37>, &mod<38>, &mod<39>}}

## ◆ PRIMES

constexpr const std::array<std::size_t, 40> tsl::rh::detail::PRIMES
| static

Initial value:
= {
{1ul, 5ul, 17ul, 29ul, 37ul, 53ul,
67ul, 79ul, 97ul, 131ul, 193ul, 257ul,
389ul, 521ul, 769ul, 1031ul, 1543ul, 2053ul,
3079ul, 6151ul, 12289ul, 24593ul, 49157ul, 98317ul,
196613ul, 393241ul, 786433ul, 1572869ul, 3145739ul, 6291469ul,
12582917ul, 25165843ul, 50331653ul, 100663319ul, 201326611ul, 402653189ul,
805306457ul, 1610612741ul, 3221225473ul, 4294967291ul}}