* This function generates pseudorandom 32-bit integers in the * specified array[] by one call. The number of pseudorandom integers * is specified by the argument size, which must be at least 624 and a * multiple of four. The generation by this function is much faster * than the following gen_rand function. * * For initialization, init_gen_rand or init_by_array must be called * before the f
| 549 | * returns the pointer to the aligned memory block. |
| 550 | */ |
| 551 | void fill_array32(sfmt_t *ctx, uint32_t *array, int size) { |
| 552 | assert(ctx->initialized); |
| 553 | assert(ctx->idx == N32); |
| 554 | assert(size % 4 == 0); |
| 555 | assert(size >= N32); |
| 556 | |
| 557 | gen_rand_array(ctx, (w128_t *)array, size / 4); |
| 558 | ctx->idx = N32; |
| 559 | } |
| 560 | #endif |
| 561 | |
| 562 | /** |
no test coverage detected