- Jul 24, 2024
-
-
mr cino authored
-
- Jan 03, 2023
-
-
mr cino authored
-
- Apr 25, 2022
-
-
mr_cino authored
-
- Mar 27, 2022
-
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
-
Mark Adler authored
0xffffffffffffffffULL was causing warnings for C99 usage. The suffix for the constant is not necessary anyway, so this commit removes them.
-
Mark Adler authored
Note intentional switch case fall throughs to avoid gcc warnings.
-
- Jan 01, 2022
-
-
Mark Adler authored
Also fix Makefile test target and permit added compile options.
-
Mark Adler authored
The issue is that unztell64() does not return the correct value if the position in the current file (in the ZIP archive) is beyond 4 GB. The cause is that unzReadCurrentFile() does not account for pfile_in_zip_read_info->stream.total_out at line 1854 of unzip.c wrapping around (it is a 32-bit variable). So, on line 1860 uTotalOutAfter can be *less* than uTotalOutBefore, propagating the wraparound to uOutThis, which in turn is added to pfile_in_zip_read_info->total_out_64. That has the effect of subtracting 4 GB.
-
Mark Adler authored
-
Mark Adler authored
-
- Jul 08, 2021
-
-
Mark Adler authored
-
- Feb 10, 2021
-
-
Mark Adler authored
-
- Jan 18, 2021
-
-
Mark Adler authored
-
- Sep 17, 2020
-
-
Mark Adler authored
-
- Aug 31, 2020
-
-
Mark Adler authored
-
- Jul 09, 2019
-
-
Mark Adler authored
-
- May 26, 2019
-
-
Mark Adler authored
Thank you Adam Richter.
-
- Apr 14, 2019
-
-
Mark Adler authored
-
- Apr 05, 2019
-
-
Mark Adler authored
-
- Feb 18, 2019
-
-
Mark Adler authored
The ARM crc32 instructions will be used only if an architecture is explicitly specified at compile time that has those instructions. For example, -march=armv8.1-a or -march=armv8-a+crc, or if the machine being compiled on has the instructions, -march=native.
-
Mark Adler authored
Define the macro Z_ARM_CRC32 at compile time to use the ARMv8 (aarch64) crc32x and crc32b instructions. This code does not check for the presence of the crc32 instructions. Those instructions are optional for ARMv8.0, though mandatory for ARMv8.1 and later. The use of the crc32 instructions is about ten times as fast as the software braided calculation of the CRC-32. This can noticeably speed up the decompression of gzip streams.
-
- Feb 04, 2019
-
-
Mark Adler authored
-
- Jan 03, 2019
-
-
Mark Adler authored
inflateSync() is used to skip invalid deflate data, which means that the check value that was being computed is no longer useful. This commit turns off the check value computation, and furthermore allows a successful return if the compressed data terminated in a graceful manner. This commit also fixes a bug in the case that inflateSync() is used before a header is ever processed. In that case, there is no knowledge of a trailer, so the remainder is treated as raw.
-
- Dec 26, 2018
-
-
Mark Adler authored
-
Mark Adler authored
Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination.
-
- Nov 04, 2018
-
-
Mark Adler authored
When the same len2 is used repeatedly, it is faster to use crc32_combine_gen() to generate an operator, that is then used to combine CRCs with crc32_combine_op().
-
Mark Adler authored
-
- Oct 14, 2018
-
-
Mark Adler authored
-
- Oct 07, 2018
-
-
Mark Adler authored
-
- Aug 06, 2018
-
-
Mark Adler authored
-
Mark Adler authored
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.
-
Mark Adler authored
-
- Aug 02, 2018
-
-
Mark Adler authored
-
- Aug 01, 2018
-
-
Mark Adler authored
-
Mark Adler authored
-
- Apr 20, 2018
-
-
Mark Adler authored
-