Lines Matching refs:checksum
96 void PGOProfilerEncoder::SamplePandaFileInfo(uint32_t checksum, const CString &abcName)
99 pandaFileInfos_->Sample(checksum);
286 // first, calculate the version field's checksum.
289 uint32_t checksum = adler32(0, reinterpret_cast<const Bytef *>(buffer->data()), PGOProfilerHeader::VERSION_SIZE);
290 // second, calculate the checksum for remaining content(exclude checksum field).
297 checksum = adler32(checksum, reinterpret_cast<const Bytef *>(buffer->data()), readSize);
299 // third, write the checksum back to the checksum field in the output stream.
301 fileStream.write(reinterpret_cast<char *>(&checksum), sizeof(checksum));