26 #ifndef DELTA_SIG_BLOCK_SIZE_HPP 27 #define DELTA_SIG_BLOCK_SIZE_HPP 29 #include "../my_config.h" bool equals_default()
whether structure has default values
U_I min_block_len
calculated block len will never be lower than that
void check() const
check the sanity of the provided values
defines how to calculate delta signature block size based of file size to delta sign ...
fs_function_t
defines the function to use to derivate block size from file size
U_I max_block_len
calculated block len will never be higer than that except if this field is set to zero (disabling thi...
void reset()
reset to default value
block size is proportional to log2(file size)
infinint divisor
function dependently used divisor
switch module to limitint (32 ou 64 bits integers) or infinint
block size is independant from file size
block size is proportional to filesize^2
the arbitrary large positive integer class
block size if proportionnal to file size
infinint multiplier
function dependently used multiplier
libdar namespace encapsulate all libdar symbols
block size if proportional to filesize^3
U_I calculate(const infinint &filesize) const
calculate the value of the block size given the file size