Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_pickle.c647 size_t memo_size; /* Capacity of the memo array */ member
1380 assert(new_size > self->memo_size); in _Unpickler_ResizeMemoList()
1389 for (i = self->memo_size; i < new_size; i++) in _Unpickler_ResizeMemoList()
1391 self->memo_size = new_size; in _Unpickler_ResizeMemoList()
1399 if (idx >= self->memo_size) in _Unpickler_MemoGet()
1412 if (idx >= self->memo_size) { in _Unpickler_MemoPut()
1415 assert(idx < self->memo_size); in _Unpickler_MemoPut()
1451 i = self->memo_size; in _Unpickler_MemoCleanup()
1484 self->memo_size = 32; in _Unpickler_New()
1486 self->memo = _Unpickler_NewMemo(self->memo_size); in _Unpickler_New()
[all …]
/external/python/cpython3/Lib/test/
Dtest_pickle.py293 def check_unpickler(data, memo_size, marks_size): argument
298 check(u, stdsize + memo_size * P + marks_size * n)