Home | History | Annotate | Download | only in snapshot

Lines Matching defs:Checksum

321 class Checksum {
323 explicit Checksum(Vector<const byte> payload) {
325 // Computing the checksum includes padding bytes for objects like strings.
329 // Fletcher's checksum. Modified to reduce 64-bit sums to 32-bit.
357 DISALLOW_COPY_AND_ASSIGN(Checksum);
404 Checksum checksum(DataWithoutHeader());
405 SetHeaderValue(kChecksum1Offset, checksum.a());
406 SetHeaderValue(kChecksum2Offset, checksum.b());
426 if (!Checksum(DataWithoutHeader()).Check(c1, c2)) return CHECKSUM_MISMATCH;