aboutsummaryrefslogtreecommitdiff
path: root/examples/enough.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid use of uintmax_t in enough.c.Mark Adler2024-07-291-12/+12
|
* Fix some typos.Mark Adler2022-08-231-1/+1
| | | | No code changes.
* Show all the codes for the maximum tables size in enough.c.Mark Adler2018-08-051-160/+191
|
* Clarify that prefix codes are counted in enough.c.Mark Adler2018-08-051-15/+15
| | | | | | | | There is no assurance that all prefix codes are reachable as optimal Huffman codes for the numbers of symbols encountered in a deflate block. This code considers all possible prefix codes, which might be a larger set than all possible Huffman codes, depending on the constraints.
* Use inline function instead of macro for index in enough.c.Mark Adler2018-08-051-4/+8
|
* Clean up code style in enough.c, update version.Mark Adler2018-08-011-211/+202
|
* Use a macro for the printf format of big_t in enough.c.Mark Adler2018-08-011-7/+3
|
* Use a structure to make globals in enough.c evident.Mark Adler2018-08-011-86/+89
|
* Avoid shift equal to bits in type (caused endless loop).Mark Adler2012-08-181-18/+21
| | | | | | | | | | | Also clean up comparisons between different types, and some odd indentation problems that showed up somehow. A new endless loop was introduced by the clang compiler, which apparently does odd things when the right operand of << is equal to or greater than the number of bits in the type. The C standard in fact states that the behavior of << is undefined in that case. The loop was rewritten to use single-bit shifts.
* zlib 1.2.3.8v1.2.3.8Mark Adler2011-09-091-8/+8
|
* zlib 1.2.3.4v1.2.3.4Mark Adler2011-09-091-0/+569