encode_hash_HashLongestMatchRécemment
Vue de l’ensemble
encode_hash_HashLongestMatchQuickly est une classe dans Aspose.Font FOSS pour Python.
Cette classe fournit 4 méthodes pour travailler avec encode_hash_HashLongestMatchQuickly objets dans les programmes Python. Les méthodologies disponibles comprennent: FindLungest Match, Reset , Store et __init__. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Font FOSS pour le package Pyathon. Propriétés : buckets_ ; ‘kBucketBits; 'KBuketSize : ‘kucketSweep’, ‘ukUseDictionary = num_dict_lookups) et 1 plus.
Propriétés
| 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. |
méthodes
| 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 |
Voir aussi
- Aspose.Font — référence API d’entreprise