encode_hash_HashLongestMatchRécemment

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

NameTypeAccessDescription
num_dict_matches_``ReadGets the num dict matches .
num_dict_lookups_``ReadGets the num dict lookups .
buckets_``ReadGets the buckets .
kBucketBits``ReadGets the k bucket bits.
kBucketSweep``ReadGets the k bucket sweep.
kUseDictionary``ReadGets the k use dictionary.
kBucketSize``ReadGets the k bucket size.

méthodes

SignatureDescription
__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
 Français