mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Rename load and store to peek and poke
This commit is contained in:
1 parent
0b6865e92c
commit
a1c22caa15
18 files changed
+777
-647
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user