encode_hash_HashLongestMatchQuickly

encode_hash_HashLongestMatchQuickly

Összefoglaló

encode_hash_HashLongestMatchQuickly egy osztály a Aspose.Font FOSS-ben Pythonban.

Ez a osztály 4 módszert kínál az encode_hash_HashLongestMatchQuickly objektumokkal való munkavégzéshez Python programokban. A rendelkezésre álló módszerek közé tartozik: FindLongestMatch, ⌒Reset , ゚Store és ゙__init__ . Minden nyilvános tag bármely Python alkalmazás számára elérhető a Aspose.Font FOSS for Python csomag telepítése után. tulajdonságok: ¬buckets_,,kBucketBits ,, ¬k BucketSize “, ̋k bucketSweep", ∂kUseDictionary " , ¬numm dict_lookups_ヽ és 1 további.

A tulajdonságok

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ódszerek

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

Lásd még:

  • Aspose.Font Vállalkozás API referenciája
 Magyar