encode_hash_HashLongestMatch
encode_hash_HashLongestMatch
Összefoglaló
encode_hash_HashLongestMatch egy osztály a Aspose.Font FOSS-ben Python számára.
Ez a osztály 5 módszert kínál az encode_hash_HashLongestMatch objektumokkal való munkavégzéshez Python programokban. A rendelkezésre álló módszerek közé tartozik: FindAllMatches, ゚FindLongestMatch⌒’, ゙Reset,, ̋Store,. ∂__init . Minden nyilvános tag hozzáférhető bármely Python alkalmazáshoz a {PLOCHAGYALÓSZÁLATÉS FOSS for Python] csomag telepítése után. tulajdonságai: ¬ ¬ buckets_ , ¬ kBlockBits., ¬kBlokMask-, ¬KBlocSize,- ¬-BucketBitŸ¤‹, ¬¬bucketSiZE és még sok más.
A tulajdonságok
| 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 . |
num_ | `` | Read | Gets the num . |
kBucketBits | `` | Read | Gets the k bucket bits. |
kBlockBits | `` | Read | Gets the k block bits. |
kNumLastDistancesToCheck | `` | Read | Gets the k num last distances to check. |
kBucketSize | `` | Read | Gets the k bucket size. |
kBlockSize | `` | Read | Gets the k block size. |
kBlockMask | `` | Read | Gets the k block mask. |
Módszerek
| Signature | Description |
|---|---|
__init__(kBucketBits, kBlockBits, kNumLastDistancesToCheck) | Calls init on this encode_hash_HashLongestMatch instance. |
Reset() | Resets the matcher’s internal buffers and counters |
Store(data, data_off, ix) | Stores a hash entry for data at offset data_off with index ix |
FindLongestMatch(data, ring_buffer_mask, distance_cache, cur_ix, max_length, max_backward, best_len_out, best_len_code_out, best_distance_out, best_score_out) | Method scans the ring buffer to locate the longest backward match, returning length, code, distance, and score for optimal compression |
FindAllMatches(data, ring_buffer_mask, cur_ix, max_length, max_backward, num_matches, num_matches_off, matches, matches_off) | Finds all matches at the current index and writes them into the matches array |
Lásd még:
- Aspose.Font Vállalkozás API referenciája