Searched refs:add_to_hash (Results 1 – 1 of 1) sorted by relevance
78 fn add_to_hash(&mut self, i: usize) { in add_to_hash() method94 hash.add_to_hash(read_usize(bytes) as usize); in write()98 hash.add_to_hash(u32::from_ne_bytes(bytes[..4].try_into().unwrap()) as usize); in write()102 hash.add_to_hash(u16::from_ne_bytes(bytes[..2].try_into().unwrap()) as usize); in write()106 hash.add_to_hash(bytes[0] as usize); in write()113 self.add_to_hash(i as usize); in write_u8()118 self.add_to_hash(i as usize); in write_u16()123 self.add_to_hash(i as usize); in write_u32()129 self.add_to_hash(i as usize); in write_u64()130 self.add_to_hash((i >> 32) as usize); in write_u64()[all …]