Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_pickle.c613 size_t mt_allocated; member
736 memo->mt_allocated = MT_MINSIZE; in PyMemoTable_New()
757 new->mt_allocated = self->mt_allocated; in PyMemoTable_Copy()
762 new->mt_table = PyMem_NEW(PyMemoEntry, self->mt_allocated); in PyMemoTable_Copy()
768 for (size_t i = 0; i < self->mt_allocated; i++) { in PyMemoTable_Copy()
772 sizeof(PyMemoEntry) * self->mt_allocated); in PyMemoTable_Copy()
786 Py_ssize_t i = self->mt_allocated; in PyMemoTable_Clear()
792 memset(self->mt_table, 0, self->mt_allocated * sizeof(PyMemoEntry)); in PyMemoTable_Clear()
864 self->mt_allocated = new_size; in _PyMemoTable_ResizeTable()
925 if (SIZE_MAX / 3 >= self->mt_used && self->mt_used * 3 < self->mt_allocated * 2) { in PyMemoTable_Set()
[all …]