Lines Matching defs:blocks
32 * length blocks. This assures that appends or pops never move any
41 * element. By using fixed-length blocks, the link to data ratio is
43 * to malloc() and free(). The data blocks of consecutive pointers
46 * The list of blocks is never empty, so d.leftblock and d.rightblock
66 * d.rightindex become indices into distinct blocks and either may
106 * This happens when new blocks are added or whenever an existing
121 allocator. It accommodates common use cases where new blocks are being
122 added at about the same rate as old blocks are being freed.
572 deque empty before clearing the blocks and never refer to
765 more than once. Previously emptied blocks are immediately reused as a
1526 Py_ssize_t blocks;
1529 blocks = (size_t)(deque->leftindex + Py_SIZE(deque) + BLOCKLEN - 1) / BLOCKLEN;
1531 (blocks - 1) * BLOCKLEN + deque->rightindex);
1532 res += blocks * sizeof(block);