341 size_t numChunks = seedLength / k_RNGOUTPUTSIZE;
342 size_t remainder = seedLength % k_RNGOUTPUTSIZE;
344 for (
size_t i = 0; i != numChunks; ++i) {
345 result_type rand = RANDOM_NUM_GEN::operator()();
346 memcpy(seedLocation + i *
sizeof(rand), &rand,
sizeof(rand));
350 result_type rand = RANDOM_NUM_GEN::operator()();
351 memcpy(seedLocation + numChunks *
sizeof(rand), &rand, remainder);