LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
frozen::bits::pmh_buckets< M > Struct Template Reference

#include <pmh.h>

Collaboration diagram for frozen::bits::pmh_buckets< M >:

Classes

struct  bucket_ref

Public Types

using bucket_t = cvector<std::size_t, bucket_max>

Public Member Functions

template<std::size_t... Is>
carray< bucket_ref, M > constexpr make_bucket_refs (std::index_sequence< Is... >) const
carray< bucket_ref, M > constexpr get_sorted_buckets () const

Public Attributes

carray< bucket_t, M > buckets
std::uint64_t seed

Static Public Attributes

static constexpr auto bucket_max = 2 * (1u << (log(M) / 2))

Member Typedef Documentation

◆ bucket_t

template<std::size_t M>
using frozen::bits::pmh_buckets< M >::bucket_t = cvector<std::size_t, bucket_max>

Member Function Documentation

◆ get_sorted_buckets()

template<std::size_t M>
carray< bucket_ref, M > constexpr frozen::bits::pmh_buckets< M >::get_sorted_buckets ( ) const
inlineconstexpr

◆ make_bucket_refs()

template<std::size_t M>
template<std::size_t... Is>
carray< bucket_ref, M > constexpr frozen::bits::pmh_buckets< M >::make_bucket_refs ( std::index_sequence< Is... > ) const
inlineconstexpr

References buckets.

Referenced by get_sorted_buckets().

Member Data Documentation

◆ bucket_max

template<std::size_t M>
auto frozen::bits::pmh_buckets< M >::bucket_max = 2 * (1u << (log(M) / 2))
staticconstexpr

◆ buckets

template<std::size_t M>
carray<bucket_t, M> frozen::bits::pmh_buckets< M >::buckets

Referenced by make_bucket_refs().

◆ seed

template<std::size_t M>
std::uint64_t frozen::bits::pmh_buckets< M >::seed

The documentation for this struct was generated from the following file: