tudocomp
– The TU Dortmund Compression Framework
|
#include <Hash.hpp>
Public Member Functions | |
SizeManagerPow2 (Env &&env) | |
void | resize (const len_t) |
Public Member Functions inherited from tdc::Algorithm | |
virtual | ~Algorithm ()=default |
Algorithm (Algorithm const &)=default | |
Algorithm (Algorithm &&)=default | |
Algorithm & | operator= (Algorithm const &)=default |
Algorithm & | operator= (Algorithm &&)=default |
Algorithm (Env &&env) | |
Instantiates an algorithm in the specified environment. More... | |
Env & | env () |
Provides access to the environment that the algorithm works in. More... | |
const Env & | env () const |
Static Public Member Functions | |
static Meta | meta () |
static len_t | get_min_size (const len_t &hint) |
The lowest possible size larger than hint. More... | |
static len_t | mod_tablesize (const size_t &index, const len_t &tablesize, const size_t &, const size_t &) |
Compute index % tablesize Since tablesize is a power of two, a bitwise-AND is equivalent and faster. More... | |