encode_hash_HashLongestMatchQuickly
Overview
encode_hash_HashLongestMatchQuickly is a class in Aspose.Font FOSS for Python.
This class provides 4 methods for working with encode_hash_HashLongestMatchQuickly objects in Python programs.
Available methods include: FindLongestMatch, Reset, Store, __init__.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: buckets_, kBucketBits, kBucketSize, kBucketSweep, kUseDictionary, num_dict_lookups_, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
num_dict_matches_ | `` | Read | Gets the num dict matches . |
num_dict_lookups_ | `` | Read | Gets the num dict lookups . |
buckets_ | `` | Read | Gets the buckets . |
kBucketBits | `` | Read | Gets the k bucket bits. |
kBucketSweep | `` | Read | Gets the k bucket sweep. |
kUseDictionary | `` | Read | Gets the k use dictionary. |
kBucketSize | `` | Read | Gets the k bucket size. |
Methods
| Signature | Description |
|---|---|
__init__(kBucketBits, kBucketSweep, kUseDictionary) | Calls init on this encode_hash_HashLongestMatchQuickly instance. |
Reset() | Resets internal state for a new encoding session |
Store(data, data_off, ix) | Stores data at the given offset and index for hashing |
FindLongestMatch(ring_buffer, ring_buffer_mask, distance_cache, cur_ix, max_length, max_backward, best_len_out, best_len_code_out, best_distance_out, best_score_out) | Searches the ring buffer for the longest match using distance cache and outputs match details |