MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / putShortMSB

Function putShortMSB

zlib/deflate.c:518–524  ·  view source on GitHub ↗

========================================================================= * Put a short in the pending buffer. The 16-bit value is put in MSB order. * IN assertion: the stream state is correct and there is enough room in * pending_buf. */

(s, b)

Source from the content-addressed store, hash-verified

516 * pending_buf.
517 */
518local void putShortMSB (s, b)
519 deflate_state *s;
520 uInt b;
521{
522 put_byte(s, (Byte)(b >> 8));
523 put_byte(s, (Byte)(b & 0xff));
524}
525
526/* =========================================================================
527 * Flush as much pending output as possible. All deflate() output goes

Callers 1

deflateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected