Lines Matching refs:batch
29 batch_alloc_wrapper(size_t batch) {
31 {batch_ptrs + batch_ptrs_next, batch, SIZE, 0};
36 assert_zu_eq(filled, batch, "");
40 item_alloc_wrapper(size_t batch) {
41 for (size_t i = item_ptrs_next, end = i + batch; i < end; ++i) {
57 batch_alloc_without_free(size_t batch) {
58 batch_alloc_wrapper(batch);
59 batch_ptrs_next += batch;
63 item_alloc_without_free(size_t batch) {
64 item_alloc_wrapper(batch);
65 item_ptrs_next += batch;
69 batch_alloc_with_free(size_t batch) {
70 batch_alloc_wrapper(batch);
71 release_and_clear(batch_ptrs + batch_ptrs_next, batch);
72 batch_ptrs_next += batch;
76 item_alloc_with_free(size_t batch) {
77 item_alloc_wrapper(batch);
78 release_and_clear(item_ptrs + item_ptrs_next, batch);
79 item_ptrs_next += batch;
83 compare_without_free(size_t batch, size_t iter,
88 assert(batch * iter <= LEN);
98 "batch allocation", batch_alloc_without_free_func,
107 compare_with_free(size_t batch, size_t iter,
112 assert(batch * iter <= LEN);
120 "batch allocation", batch_alloc_with_free_func,