diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2018-10-16 16:46:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 16:46:54 +0200 |
commit | f7cbc97c96d998d2e0b0299b9a9dab0a3b7a8521 (patch) | |
tree | 0f725da8472efda07ae8a35d961d986dbd7ffda7 /c/enc/hash.h | |
parent | cc7a74f15fff163319be63a13ae822513336544e (diff) | |
download | brotli-f7cbc97c96d998d2e0b0299b9a9dab0a3b7a8521.tar.gz |
Fix typo / minor formatting (#716)
* Fix typo / minor formatting / pull computable constant to the place of use.
Diffstat (limited to 'c/enc/hash.h')
-rw-r--r-- | c/enc/hash.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/c/enc/hash.h b/c/enc/hash.h index 2602490..8c5a7bb 100644 --- a/c/enc/hash.h +++ b/c/enc/hash.h @@ -149,9 +149,9 @@ static BROTLI_INLINE score_t BackwardReferencePenaltyUsingLastDistance( } static BROTLI_INLINE BROTLI_BOOL TestStaticDictionaryItem( - const BrotliEncoderDictionary* dictionary, size_t item, const uint8_t* data, - size_t max_length, size_t max_backward, size_t max_distance, - HasherSearchResult* out) { + const BrotliEncoderDictionary* dictionary, size_t item, + const uint8_t* data, size_t max_length, size_t max_backward, + size_t max_distance, HasherSearchResult* out) { size_t len; size_t word_idx; size_t offset; @@ -208,7 +208,8 @@ static BROTLI_INLINE void SearchInStaticDictionary( self->dict_num_lookups++; if (item != 0) { BROTLI_BOOL item_matches = TestStaticDictionaryItem( - dictionary, item, data, max_length, max_backward, max_distance, out); + dictionary, item, data, + max_length, max_backward, max_distance, out); if (item_matches) { self->dict_num_matches++; } |