fft_small_op_pool_scratch_take, fft_small_op_pool_scratch_give
Synopsis
#include <flint/fft_small.h>ulong * fft_small_op_pool_scratch_take(fft_small_op_pool_t pool, ulong limbs, int use_slabs)sourcevoid fft_small_op_pool_scratch_give(fft_small_op_pool_t pool, ulong * t)sourceReturn scratch space for limbs limbs and give it back. The space is the staging region if it is free and large enough, otherwise a free slab if use_slabs is nonzero and one is large enough, otherwise a fresh allocation; concurrent requests never share it.
Cite this page
The FLINT team, “fft_small_op_pool_scratch_take, fft_small_op_pool_scratch_give (fft_small.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fft_small/fft_small_op_pool_scratch_take.html (generated 2026-10-20).
@misc{flint-doc-fft-small-fft-small-op-pool-scratch-take,
author = {{The FLINT team}},
title = {{fft\_small\_op\_pool\_scratch\_take, fft\_small\_op\_pool\_scratch\_give (fft\_small.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fft_small/fft_small_op_pool_scratch_take.html},
note = {Generated 2026-10-20}
}