Rename ~+ to ~mod+; add ~mod-.

This commit is contained in:
Nigel Tao committed 2018-04-26 10:05:19 +10:00
1 parent de5bded395
commit a698b47cb6
11 files changed
+218 -206

No files matched your search

+1 -1
View File
@@ -3540,7 +3540,7 @@ static wuffs_deflate__status wuffs_deflate__decoder__decode_huffman_slow(
goto label_6_break;
}
v_hlen -= v_n_copied;
v_hdist = (v_hdist + v_n_copied);
v_hdist += v_n_copied;
status = WUFFS_DEFLATE__SUSPENSION_SHORT_WRITE;
WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(10);
}
+10 -12
View File
@@ -2079,18 +2079,16 @@ wuffs_gzip__status wuffs_gzip__decoder__decode(wuffs_gzip__decoder* self,
? (size_t)(b_wptr_dst - a_dst.private_impl.mark)
: 0,
}));
v_decoded_length_got =
(v_decoded_length_got +
((uint32_t)((
((uint64_t)(((wuffs_base__slice_u8){
.ptr = a_dst.private_impl.mark,
.len = a_dst.private_impl.mark
? (size_t)(b_wptr_dst -
a_dst.private_impl.mark)
: 0,
})
.len)) &
4294967295))));
v_decoded_length_got += ((uint32_t)((
((uint64_t)(
((wuffs_base__slice_u8){
.ptr = a_dst.private_impl.mark,
.len = a_dst.private_impl.mark
? (size_t)(b_wptr_dst - a_dst.private_impl.mark)
: 0,
})
.len)) &
4294967295)));
}
if (v_z == 0) {
goto label_2_break;