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

#include <Hash.hpp>

Inheritance diagram for tdc::SizeManagerPrime:
tdc::Algorithm

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

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

Definition at line 163 of file Hash.hpp.

Member Function Documentation

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

Definition at line 165 of file Hash.hpp.

static Meta tdc::SizeManagerPrime::meta ( )
inlinestatic

Definition at line 159 of file Hash.hpp.

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

Definition at line 170 of file Hash.hpp.

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

Definition at line 177 of file Hash.hpp.

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

Definition at line 168 of file Hash.hpp.


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