Searched refs:headCheckSum (Results 1 – 1 of 1) sorted by relevance
55 uint32_t headCheckSum = 0; // head checksum member78 oss << " headCheckSum:" << std::hex << headCheckSum; in ToDebugString()109 size_t headCheckSumLen = sizeof(UartHead) - sizeof(headCheckSum); in UpdateCheckSum()110 headCheckSum = std::accumulate(head, head + headCheckSumLen, 0u); in UpdateCheckSum()117 size_t headCheckSumLen = sizeof(UartHead) - sizeof(headCheckSum); in ValidateHead()118 return (headCheckSum == std::accumulate(head, head + headCheckSumLen, 0u)); in ValidateHead()