StuBS
|
Public Member Functions | |
virtual Block | fix (uint64_t block_number)=0 |
virtual void | unfix (Block *block)=0 |
virtual int | sync (Block *block)=0 |
virtual int | sync ()=0 |
bool | set_blocksize (unsigned int blocksize) |
template<typename T > | |
T | divide_by_blocksize (T val) const |
template<typename T > | |
T | modulo_blocksize (T val) const |
Public Attributes | |
unsigned int | blocksize |
unsigned int | blocksize_bits |