Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs1975 let mut sum1: u16 = 0; in fletcher_16_checksum() localVariable
1978 sum1 = (sum1 + (c as u16)) % 0xff; in fletcher_16_checksum()
1979 sum2 = (sum1 + sum2) & 0xff; in fletcher_16_checksum()
1981 return (sum2 << 8) | sum1; in fletcher_16_checksum()