Home
last modified time | relevance | path

Searched refs:update_slow (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/crc32fast/src/
Dbaseline.rs58 update_slow(!crc, buf) in update_fast_16()
61 pub(crate) fn update_slow(prev: u32, buf: &[u8]) -> u32 { in update_slow() function
75 assert_eq!(super::update_slow(0, b""), 0); in slow()
78 assert_eq!(super::update_slow(!0x12345678, b""), !0x12345678); in slow()
79 assert_eq!(super::update_slow(!0xffffffff, b"hello world"), !0xf2b5ee7a); in slow()
80 assert_eq!(super::update_slow(!0xffffffff, b"hello"), !0xc9ef5979); in slow()
81 assert_eq!(super::update_slow(!0xc9ef5979, b" world"), !0xf2b5ee7a); in slow()
84 …assert_eq!(super::update_slow(0, b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0… in slow()
85 …assert_eq!(super::update_slow(0, b"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xF… in slow()
86 …assert_eq!(super::update_slow(0, b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0… in slow()
[all …]