Add an iterate step argument

This commit is contained in:
Nigel Tao committed 2018-05-03 22:34:24 +10:00
1 parent 92682e6ccc
commit a73e56712d
9 files changed
+120 -57

No files matched your search

+8 -8
View File
@@ -1668,28 +1668,28 @@ uint32_t wuffs_adler32__hasher__update(wuffs_adler32__hasher* self,
while (v_p < i_end0_p) {
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
v_s1 += ((uint32_t)(*v_p));
v_s2 += v_s1;
v_p++;
v_p += 1;
}
uint8_t* i_end1_p = i_slice_p.ptr + i_slice_p.len;
while (v_p < i_end1_p) {