|
Fairport
v1.0.38
|
Collaboration diagram for Utility Functions:Functions | |
| template<typename T > | |
| ushort | fairport::disk::compute_signature (T id, T address) |
| Calculate the signature of an item. | |
| template<typename T > | |
| ushort | fairport::disk::compute_signature (const block_reference< T > &reference) |
| Calculate the signature of an item. | |
| ulong | fairport::disk::compute_crc (const void *pdata, ulong cb) |
| Compute the CRC of a block of data. | |
Variables | |
| const ulong | fairport::disk::crc_table [] |
| Precalulated CRC table, used by compute_crc. | |
| const byte | fairport::disk::table1 [] |
| Data table1 used by permute and cyclic. | |
| const byte | fairport::disk::table2 [] |
| Data table2 used by permute and cyclic. | |
| const byte | fairport::disk::table3 [] |
| Data table3 used by permute and cyclic. | |
| fairport::ulong fairport::disk::compute_crc | ( | const void * | pdata, |
| ulong | cb | ||
| ) | [inline] |
| fairport::ushort fairport::disk::compute_signature | ( | T | id, |
| T | address | ||
| ) | [inline] |
| ushort fairport::disk::compute_signature | ( | const block_reference< T > & | reference | ) |
Calculate the signature of an item.
| [in] | reference | A block_reference to the item |
| const ulong fairport::disk::crc_table[] |
Precalulated CRC table, used by compute_crc.
| const byte fairport::disk::table1[] |
| const byte fairport::disk::table2[] |
| const byte fairport::disk::table3[] |