Searched defs:rightindex (Results 1 - 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
H A D_collectionsmodule.c25 * d.rightblock[rightindex]; note that, unlike as for Python slice
33 * The indices, d.leftindex and d.rightindex are always in the range
36 * (d.leftindex + d.len - 1) % BLOCKLEN == d.rightindex.
39 * d.leftindex == CENTER+1; and d.rightindex == CENTER.
43 * d.leftindex + d.len - 1 == d.rightindex.
45 * However, when d.leftblock != d.rightblock, d.leftindex and d.rightindex
101 Py_ssize_t rightindex; /* in range(BLOCKLEN) */ member in struct:__anon19288
147 deque->rightindex = CENTER;
166 item = deque->rightblock->data[deque->rightindex];
167 deque->rightindex
522 Py_ssize_t rightindex = deque->rightindex; local
[all...]
/external/python/cpython3/Modules/
H A D_collectionsmodule.c43 * and its last element is at d.rightblock[rightindex].
49 * The indices, d.leftindex and d.rightindex are always in the range:
53 * (d.leftindex + d.len - 1) % BLOCKLEN == d.rightindex
56 * d.leftindex + d.len - 1 == d.rightindex
59 * d.rightindex become indices into distinct blocks and either may
66 * d.rightindex == CENTER
82 Py_ssize_t rightindex; /* 0 <= rightindex < BLOCKLEN */ member in struct:__anon19881
170 deque->rightindex = CENTER;
188 item = deque->rightblock->data[deque->rightindex];
792 Py_ssize_t rightindex = deque->rightindex; local
930 Py_ssize_t rightindex = deque->rightindex; local
[all...]

Completed in 170 milliseconds