Lines Matching refs:size

126 JEMALLOC_INLINE_C void gen_rand_array(sfmt_t *ctx, w128_t *array, int size);
131 JEMALLOC_INLINE_C void swap(w128_t *array, int size);
310 * @param size number of 128-bit pseudorandom numbers to be generated.
312 JEMALLOC_INLINE_C void gen_rand_array(sfmt_t *ctx, w128_t *array, int size) {
328 for (; i < size - N; i++) {
333 for (j = 0; j < 2 * N - size; j++) {
334 ctx->sfmt[j] = array[j + size - N];
336 for (; i < size; i++, j++) {
346 JEMALLOC_INLINE_C void swap(w128_t *array, int size) {
350 for (i = 0; i < size; i++) {
416 * The string shows the word size, the Mersenne exponent,
424 * This function returns the minimum size of array used for \b
426 * @return minimum size of array used for fill_array32() function.
433 * This function returns the minimum size of array used for \b
435 * @return minimum size of array used for fill_array64() function.
529 * is specified by the argument size, which must be at least 624 and a
543 * @param size the number of 32-bit pseudorandom integers to be
544 * generated. size must be a multiple of 4, and greater than or equal
551 void fill_array32(sfmt_t *ctx, uint32_t *array, int size) {
554 assert(size % 4 == 0);
555 assert(size >= N32);
557 gen_rand_array(ctx, (w128_t *)array, size / 4);
565 * is specified by the argument size, which must be at least 312 and a
579 * @param size the number of 64-bit pseudorandom integers to be
580 * generated. size must be a multiple of 2, and greater than or equal
587 void fill_array64(sfmt_t *ctx, uint64_t *array, int size) {
590 assert(size % 2 == 0);
591 assert(size >= N64);
593 gen_rand_array(ctx, (w128_t *)array, size / 2);
597 swap((w128_t *)array, size /2);
645 int size = N * 4;
654 if (size >= 623) {
656 } else if (size >= 68) {
658 } else if (size >= 39) {
663 mid = (size - lag) / 2;