Expand description
Utility related to block size part of the fuzzy hash.
See also: “Block Size” section of FuzzyHashData
Constants
- The minimum block size of a fuzzy hash.
- The number of valid block sizes.
Functions
- Compares two base 2 logarithm form of the block size values for ordering.
- Compare two base 2 logarithm form of the block size values to determine the relation between two block sizes.
- Converts base 2 logarithm form of the block size to the actual one.
- Checks whether base 2 logarithm form of the block size is valid.
- Checks whether two base 2 logarithm form of the block size values form a near relation (one of the three near cases).
- Checks whether two base 2 logarithm form of the block size values form a
BlockSizeRelation::NearEqrelation. - Checks whether two base 2 logarithm form of the block size values form a
BlockSizeRelation::NearGtrelation. - Checks whether two base 2 logarithm form of the block size values form a
BlockSizeRelation::NearLtrelation. - Computes the base 2 logarithm form of a valid block size.
- log_from_valid_unchecked⚠
unsafeComputes the base 2 logarithm form of a valid block size but do not check whether the block size is valid.