aboutsummaryrefslogtreecommitdiff
path: root/examples/zran.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded dependency on limits.h in examples/zran.c.Mark Adler2024-09-011-4/+4
|
* Update zran version.Mark Adler2024-02-041-2/+6
|
* Allocate the dictionaries in examples/zran.c.Mark Adler2024-02-041-21/+25
| | | | | This reduces the memory needed for dictionaries, and avoids the need to reallocate the index at the end to return unused memory.
* Provide a reusable inflate engine in the index in example/zran.c.Mark Adler2024-02-041-76/+77
| | | | | Avoids the overhead of creating a new inflate engine for each random access extraction.
* Stop decoding in zran.c once request is satisfied.Mark Adler2024-02-041-2/+6
|
* Set returned index to NULL on an index build error in zran.c.Mark Adler2024-02-041-0/+4
| | | | | | An attempt to use the returned pointer in deflate_index_extract() will now return cleanly with an error. The returned pointer can now also be used with deflate_index_free() even on error.
* Fix random typos over several source and text files.THE-Spellchecker2024-01-171-1/+1
|
* Add a NOPRIME #define to zran.c to not use inflatePrime().Mark Adler2023-04-131-2/+91
| | | | | This supports zlib versions earlier than 1.2.3 (July 2005), as well as incomplete clones of zlib that do not have inflatePrime().
* Rewrite of zran in examples. See version history in zran.c.Mark Adler2023-02-181-343/+308
|
* Fix some typos.Mark Adler2022-08-231-1/+1
| | | | No code changes.
* Fix the zran.c example to work on a multiple-member gzip file.Mark Adler2018-10-141-93/+163
|
* Fix some typos.Mark Adler2016-10-301-1/+1
|
* Fix memory allocation error in examples/zran.c [Nor].Mark Adler2012-09-291-3/+8
|
* zlib 1.2.3.1v1.2.3.1Mark Adler2011-09-091-1/+1
|
* zlib 1.2.2.4v1.2.2.4Mark Adler2011-09-091-0/+404