mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-16 15:40:31 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
2
third_party/zlib/deflate.c
vendored
2
third_party/zlib/deflate.c
vendored
|
@ -1393,7 +1393,7 @@ static void check_match(struct DeflateState *s, IPos start, IPos match,
|
|||
*
|
||||
* deflate_stored() is written to minimize the number of times an input
|
||||
* byte is copied. It is most efficient with large input and output
|
||||
* buffers, which maximizes the opportunities to have a single copy from
|
||||
* buffers, which maximizes the opportunites to have a single copy from
|
||||
* next_in to next_out.
|
||||
*/
|
||||
static block_state deflate_stored(struct DeflateState *s, int flush) {
|
||||
|
|
2
third_party/zlib/inftrees.internal.h
vendored
2
third_party/zlib/inftrees.internal.h
vendored
|
@ -9,7 +9,7 @@
|
|||
/* Maximum size of the dynamic table. The maximum number of code structures is
|
||||
1444, which is the sum of 852 for literal/length codes and 592 for distance
|
||||
codes. These values were found by exhaustive searches using the program
|
||||
examples/enough.c found in the zlib distribution. The arguments to that
|
||||
examples/enough.c found in the zlib distribtution. The arguments to that
|
||||
program are the number of symbols, the initial root table size, and the
|
||||
maximum bit length of a code. "enough 286 9 15" for literal/length codes
|
||||
returns returns 852, and "enough 30 6 15" for distance codes returns 592.
|
||||
|
|
4
third_party/zlib/puff.c
vendored
4
third_party/zlib/puff.c
vendored
|
@ -52,7 +52,7 @@ asm(".include \"libc/disclaimer.inc\"");
|
|||
* - Use pointers instead of long to specify source and
|
||||
* destination sizes to avoid arbitrary 4 GB limits
|
||||
* 1.2 17 Mar 2002 - Add faster version of decode(), doubles speed (!),
|
||||
* but leave simple version for readability
|
||||
* but leave simple version for readabilty
|
||||
* - Make sure invalid distances detected if pointers
|
||||
* are 16 bits
|
||||
* - Fix fixed codes table error
|
||||
|
@ -599,7 +599,7 @@ static int fixed(struct state *s) {
|
|||
* are themselves compressed using Huffman codes and run-length encoding. In
|
||||
* the list of code lengths, a 0 symbol means no code, a 1..15 symbol means
|
||||
* that length, and the symbols 16, 17, and 18 are run-length instructions.
|
||||
* Each of 16, 17, and 18 are followed by extra bits to define the length of
|
||||
* Each of 16, 17, and 18 are follwed by extra bits to define the length of
|
||||
* the run. 16 copies the last length 3 to 6 times. 17 represents 3 to 10
|
||||
* zero lengths, and 18 represents 11 to 138 zero lengths. Unused symbols
|
||||
* are common, hence the special coding for zero lengths.
|
||||
|
|
2
third_party/zlib/trees.c
vendored
2
third_party/zlib/trees.c
vendored
|
@ -272,7 +272,7 @@ static void tr_static_init(void) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Generate the file trees.h describing the static trees.
|
||||
* Genererate the file trees.h describing the static trees.
|
||||
*/
|
||||
#ifdef GEN_TREES_H
|
||||
|
||||
|
|
6
third_party/zlib/zlib.h
vendored
6
third_party/zlib/zlib.h
vendored
|
@ -636,7 +636,7 @@ int deflateSetDictionary(z_streamp strm, const Bytef *dictionary,
|
|||
* to dictionary. dictionary must have enough space, where 32768 bytes is
|
||||
* always enough. If deflateGetDictionary() is called with dictionary equal to
|
||||
* Z_NULL, then only the dictionary length is returned, and nothing is copied.
|
||||
* Similarly, if dictLength is Z_NULL, then it is not set.
|
||||
* Similary, if dictLength is Z_NULL, then it is not set.
|
||||
*
|
||||
* deflateGetDictionary() may return a length less than the window size, even
|
||||
* when more than the window size in input has been provided. It may return up
|
||||
|
@ -881,7 +881,7 @@ int inflateSetDictionary(z_streamp strm, const Bytef *dictionary,
|
|||
* to dictionary. dictionary must have enough space, where 32768 bytes is
|
||||
* always enough. If inflateGetDictionary() is called with dictionary equal to
|
||||
* Z_NULL, then only the dictionary length is returned, and nothing is copied.
|
||||
* Similarly, if dictLength is Z_NULL, then it is not set.
|
||||
* Similary, if dictLength is Z_NULL, then it is not set.
|
||||
*
|
||||
* @return Z_OK on success, or Z_STREAM_ERROR if the stream state is
|
||||
* inconsistent.
|
||||
|
@ -1411,7 +1411,7 @@ int gzread(gzFile file, voidp buf, unsigned len);
|
|||
* provided, but could be inferred from the result of gztell(). This behavior
|
||||
* is the same as the behavior of fread() implementations in common libraries,
|
||||
* but it prevents the direct use of gzfread() to read a concurrently written
|
||||
* file, resetting and retrying on end-of-file, when size is not 1.
|
||||
* file, reseting and retrying on end-of-file, when size is not 1.
|
||||
*/
|
||||
size_t gzfread(voidp buf, size_t size, size_t nitems, gzFile file);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue