Brotli::Enc::ForgetfulChainHasher
Inherits Brotli::Enc::Hasher < Reference < Object
Port of hash_forgetful_chain_inc.h (H40/H41/H42 instantiations; BUCKET_BITS 15, CAPPED_CHAINS 0).
Constructors
h40(quality : Int32) : ForgetfulChainHasher
Sourceh41(quality : Int32) : ForgetfulChainHasher
Sourceh42(quality : Int32) : ForgetfulChainHasher
Sourcenew(num_last_distances_to_check : Int32, num_banks : Int32, bank_bits : Int32, quality : Int32)
SourceInstance methods
common
Sourcefind_longest_match(dict : EncoderDictionary, data : Bytes, ring_buffer_mask : Int32, distance_cache : Slice(Int32), cur_ix : Int32, max_length : Int32, max_backward : Int32, dictionary_distance : Int32, max_distance : Int32, sr : HasherSearchResult) : Nil
hash_forgetful_chain_inc.h:193
hash_type_length
Sourceprepare(data : Bytes, one_shot : Bool, input_size : Int32) : Nil
hash_forgetful_chain_inc.h:93
stitch_to_previous_block(num_bytes : Int32, position : Int32, ringbuffer : Bytes, ringbuffer_mask : Int32) : Nil
hash_forgetful_chain_inc.h:161
store_lookahead
Sourcestore_range(data : Bytes, mask : Int32, ix_start : Int32, ix_end : Int32) : Nil
hash_forgetful_chain_inc.h:151