MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _tr_align

Function _tr_align

freebsd/contrib/zlib/trees.c:896–905  ·  view source on GitHub ↗

=========================================================================== * Send one empty static block to give enough lookahead for inflate. * This takes 10 bits, of which 7 may remain in the bit buffer. */

(s)

Source from the content-addressed store, hash-verified

894 * This takes 10 bits, of which 7 may remain in the bit buffer.
895 */
896void ZLIB_INTERNAL _tr_align(s)
897 deflate_state *s;
898{
899 send_bits(s, STATIC_TREES<<1, 3);
900 send_code(s, END_BLOCK, static_ltree);
901#ifdef ZLIB_DEBUG
902 s->compressed_len += 10L; /* 3 for block type, 7 for EOB */
903#endif
904 bi_flush(s);
905}
906
907/* ===========================================================================
908 * Determine the best encoding for the current block: dynamic trees, static

Callers 1

deflateFunction · 0.85

Calls 2

send_bitsFunction · 0.85
bi_flushFunction · 0.85

Tested by

no test coverage detected