Home
last modified time | relevance | path

Searched refs:memo_size (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
D_pickle.c663 size_t memo_size; /* Capacity of the memo array */ member
1510 assert(new_size > self->memo_size); in _Unpickler_ResizeMemoList()
1519 for (i = self->memo_size; i < new_size; i++) in _Unpickler_ResizeMemoList()
1521 self->memo_size = new_size; in _Unpickler_ResizeMemoList()
1529 if (idx >= self->memo_size) in _Unpickler_MemoGet()
1542 if (idx >= self->memo_size) { in _Unpickler_MemoPut()
1545 assert(idx < self->memo_size); in _Unpickler_MemoPut()
1581 i = self->memo_size; in _Unpickler_MemoCleanup()
1616 self->memo_size = 32; in _Unpickler_New()
1618 self->memo = _Unpickler_NewMemo(self->memo_size); in _Unpickler_New()
[all …]
/external/python/cpython3/Lib/test/
Dtest_pickle.py307 def check_unpickler(data, memo_size, marks_size): argument
312 check(u, stdsize + memo_size * P + marks_size * n)