30 #ifndef CORE_UTIL_CHECKSUM_H
31 #define CORE_UTIL_CHECKSUM_H 1
40 std::size_t total_size = (
sizeof(T)*length)/
sizeof(4);
41 int* ptr =
reinterpret_cast<int*
>(
data);
43 for (std::size_t q=0; q< total_size; q++) sum += ptr[q];
int compute_checksum(T *data, std::size_t length)
Definition: CheckSum.h:38
dictionary data
Definition: eabLatVolData.py:11