Searched refs:BLOCKLEN (Results 1 – 2 of 2) sorted by relevance
18 #define BLOCKLEN 62 macro19 #define CENTER ((BLOCKLEN - 1) / 2)51 PyObject *data[BLOCKLEN];65 if (len >= PY_SSIZE_T_MAX - 2*BLOCKLEN) { in newblock()143 assert(BLOCKLEN >= 2); in deque_new()184 deque->rightindex = BLOCKLEN - 1; in deque_pop()208 if (deque->leftindex == BLOCKLEN) { in deque_popleft()234 if (deque->rightindex == BLOCKLEN-1) { in deque_append()264 deque->leftindex = BLOCKLEN; in deque_appendleft()318 if (deque->rightindex == BLOCKLEN-1) { in deque_extend()[all …]
525 BLOCKLEN = 62527 blocksize = struct.calcsize('%dP2P' % BLOCKLEN)532 check(deque('a' * (BLOCKLEN // 2)), basesize + blocksize)533 check(deque('a' * (BLOCKLEN // 2 + 1)), basesize + 2 * blocksize)534 check(deque('a' * (42 * BLOCKLEN)), basesize + 43 * blocksize)