Searched refs:set_table_resize (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Objects/ |
D | setobject.c | 100 static int set_table_resize(PySetObject *, Py_ssize_t); 163 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4); in set_add_entry() 218 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() function 564 if (set_table_resize(so, (so->used + other->used)*2) != 0) in set_merge() 888 if (set_table_resize(so, (so->used + dictsize)*2) != 0) in set_update_internal() 1451 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4); in set_difference_update_internal()
|
/external/python/cpython2/Objects/ |
D | setobject.c | 271 set_table_resize(PySetObject *so, Py_ssize_t minused) in set_table_resize() function 373 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4); in set_add_entry() 397 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4); in set_add_key() 666 if (set_table_resize(so, (so->used + other->used)*2) != 0) in set_merge() 951 if (set_table_resize(so, (so->used + dictsize)*2) != 0) in set_update_internal() 1508 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4); in set_difference_update_internal()
|