src/slz.c
/* copies at most <len> litterals from <buf>, returns the amount of data
 * copied. <more> indicates that there are data past buf + <len>. It must not
 * be called with len <= 0.
 */
copies at most  litterals from , returns the amount of data
copied.  indicates that there are data past buf + . It must not
be called with len <= 0.
copies at most litterals from returns the amount of data copied . indicates that there are data past buf + . It must not be called with len < = 0 .
static unsigned int copy_lit_huff(struct slz_stream *strm, const unsigned char *buf, int len, int more)
{
	uint32_t pos;
	if (strm->state == SLZ_ST_EOB) {
	eob:
		strm->state = more ? SLZ_ST_FIXED : SLZ_ST_LAST;
		enqueue8(strm, 2 + !more, 3); 
	}
	else if (!more) {
		send_eob(strm);
		goto eob;
	}
	pos = 0;
	while (pos < (uint32_t)len) {
		send_huff(strm, buf[pos++]);
	}
	return len;
}
static unsigned int copy_lit_huff ( struct slz_stream * strm , const unsigned char * buf , int len , int more ) { uint32_t pos ; if ( strm -> state == SLZ_ST_EOB ) { eob : strm -> state = more ? SLZ_ST_FIXED : SLZ_ST_LAST ; enqueue8 ( strm , 2 + ! more , 3 ) ; } else if ( ! more ) { send_eob ( strm ) ; goto eob ; } pos = 0 ; while ( pos < ( uint32_t ) len ) { send_huff ( strm , buf [ pos ++ ] ) ; } return len ; }
copies at most <len> litterals from <buf>, returns the amount of data
 copied.
copies at most <len > litterals from <buf > returns the amount of data copied .
/* This ugly construct limits the mount of tests and optimizes for the
	 * most common case (more > 0).
	 */ // BFINAL = !more ; BTYPE = 01