Searched refs:BLOCKLEN (Results 1 – 4 of 4) 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 …]
30 #define BLOCKLEN 64 macro31 #define CENTER ((BLOCKLEN - 1) / 2)82 PyObject *data[BLOCKLEN];174 assert(BLOCKLEN >= 2); in deque_new()210 deque->rightindex = BLOCKLEN - 1; in deque_pop()240 if (deque->leftindex == BLOCKLEN) { in deque_popleft()279 if (deque->rightindex == BLOCKLEN - 1) { in deque_append_internal()325 deque->leftindex = BLOCKLEN; in deque_appendleft_internal()456 deque->leftindex = BLOCKLEN - 1; in deque_extendleft()457 deque->rightindex = BLOCKLEN - 2; in deque_extendleft()[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)
776 BLOCKLEN = 64778 blocksize = struct.calcsize('P%dPP' % BLOCKLEN)783 check(deque('a' * (BLOCKLEN - 1)), basesize + blocksize)784 check(deque('a' * BLOCKLEN), basesize + 2 * blocksize)785 check(deque('a' * (42 * BLOCKLEN)), basesize + 43 * blocksize)