– The TU Dortmund Compression Framework
tdc::SizeManagerPrime Struct Reference

#include <Hash.hpp>

Inheritance diagram for tdc::SizeManagerPrime:

Public Member Functions

 SizeManagerPrime (Env &&env)
void resize (const len_t)
- Public Member Functions inherited from tdc::Algorithm
virtual ~Algorithm ()=default
 Algorithm (Algorithm const &)=default
 Algorithm (Algorithm &&)=default
Algorithmoperator= (Algorithm const &)=default
Algorithmoperator= (Algorithm &&)=default
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
Envenv ()
 Provides access to the environment that the algorithm works in. More...
const Envenv () const

Static Public Member Functions

static Meta meta ()
static len_t get_min_size (const len_t &hint)
static len_t mod_tablesize (const size_t &index, const len_t &tablesize, const size_t &, const size_t &)
static size_t next_prime (size_t __n)

Detailed Description

Definition at line 158 of file Hash.hpp.

Constructor & Destructor Documentation

◆ SizeManagerPrime()

tdc::SizeManagerPrime::SizeManagerPrime ( Env &&  env)

Definition at line 163 of file Hash.hpp.

Member Function Documentation

◆ get_min_size()

static len_t tdc::SizeManagerPrime::get_min_size ( const len_t hint)

Definition at line 165 of file Hash.hpp.

◆ meta()

static Meta tdc::SizeManagerPrime::meta ( )

Definition at line 159 of file Hash.hpp.

◆ mod_tablesize()

static len_t tdc::SizeManagerPrime::mod_tablesize ( const size_t &  index,
const len_t tablesize,
const size_t &  ,
const size_t &   

Definition at line 170 of file Hash.hpp.

◆ next_prime()

static size_t tdc::SizeManagerPrime::next_prime ( size_t  __n)

Definition at line 177 of file Hash.hpp.

◆ resize()

void tdc::SizeManagerPrime::resize ( const len_t  )

Definition at line 168 of file Hash.hpp.

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