1
0
mirror of https://github.com/facebook/zstd.git synced 2024-12-04 19:45:15 +02:00

Merge pull request #4205 from DimitriPapadopoulos/codespell

Fix new typos found by codespell
This commit is contained in:
Yann Collet 2024-11-26 09:59:25 -08:00 committed by GitHub
commit 7f11e6d2b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1120,7 +1120,7 @@ For the purpose of counting total allocated probability points, it counts as one
Symbols probabilities are read one by one, in order.
After each probability is decoded, the total nb of probability points is updated.
This is used to dermine how many bits must be read to decode the probability of next symbol.
This is used to determine how many bits must be read to decode the probability of next symbol.
When a symbol has a __probability__ of `zero` (decoded from reading a Value `1`),
it is followed by a 2-bits repeat flag.

View File

@ -75,7 +75,7 @@ unsigned HIST_count_simple(unsigned* count, unsigned* maxSymbolValuePtr,
const void* src, size_t srcSize);
/*! HIST_add() :
* Lowest level: just add nb of occurences of characters from @src into @count.
* Lowest level: just add nb of occurrences of characters from @src into @count.
* @count is not reset. @count array is presumed large enough (i.e. 1 KB).
@ This function does not need any additional stack memory.
*/