MCPcopy Index your code
hub / github.com/RsyncProject/rsync / _tr_align

Function _tr_align

zlib/trees.c:863–871  ·  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. */

Source from the content-addressed store, hash-verified

861 * This takes 10 bits, of which 7 may remain in the bit buffer.
862 */
863void ZLIB_INTERNAL _tr_align(deflate_state *s)
864{
865 send_bits(s, STATIC_TREES<<1, 3);
866 send_code(s, END_BLOCK, static_ltree);
867#ifdef DEBUG
868 s->compressed_len += 10L; /* 3 for block type, 7 for EOB */
869#endif
870 bi_flush(s);
871}
872
873/* ===========================================================================
874 * 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