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.rs1977 let mut sum1: u16 = 0; in fletcher_16_checksum() localVariable
1980 sum1 = (sum1 + (c as u16)) % 0xff; in fletcher_16_checksum()
1981 sum2 = (sum1 + sum2) & 0xff; in fletcher_16_checksum()
1983 return (sum2 << 8) | sum1; in fletcher_16_checksum()