Displaying 2 results from an estimated 2 matches for "send_code".
2007 Sep 22
0
rsync build on IA64 using icc
.../trees.c(755): remark #310: old-style parameter list (anachronism)
int max_code; /* and its largest code of non zero frequency */
^
zlib/trees.c(773): remark #810: conversion from "int" to "ush={unsigned short}" may lose significant bits
do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
^
zlib/trees.c(773): remark #810: conversion from "int" to "ush={unsigned short}" may lose significant bits
do { send_code(s, curlen, s->bl_tree); } while (--count != 0);
^...
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...fdef DEBUG
s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L;
s->compressed_len += (stored_len + 4) << 3;
-
+#endif
copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
}
@@ -889,7 +896,9 @@
{
send_bits(s, STATIC_TREES<<1, 3);
send_code(s, END_BLOCK, static_ltree);
+#ifdef DEBUG
s->compressed_len += 10L; /* 3 for block type, 7 for EOB */
+#endif
bi_flush(s);
/* Of the 10 bits for the empty block, we have already sent
* (10 - bi_valid) bits. The lookahead for the last real code (before
@@ -899,7 +908,9 @@...