Rename load and store to peek and poke

This commit is contained in:
Nigel Tao committed 2021-01-17 22:44:39 +11:00
1 parent 0b6865e92c
commit a1c22caa15
18 files changed
+777 -647

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ wuffs_base__io_reader__match7(const uint8_t* iop_r,
uint32_t n = a & 7;
a >>= 8;
if ((io2_r - iop_r) >= 8) {
uint64_t x = wuffs_base__load_u64le__no_bounds_check(iop_r);
uint64_t x = wuffs_base__peek_u64le__no_bounds_check(iop_r);
uint32_t shift = 8 * (8 - n);
return ((a << shift) == (x << shift)) ? 0 : 2;
}