Searched refs:setsize (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | random.py | 327 setsize = 21 # size of a small set minus size of an empty list 329 setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets 330 if n <= setsize or hasattr(population, "keys"):
|
/external/python/cpython2/Modules/ |
D | almodule.c | 1609 int setsize = 32, qualsize = 0, nvals, i; in al_QueryValues() local 1624 setsize = 32; in al_QueryValues() 1625 return_set = PyMem_NEW(ALvalue, setsize); in al_QueryValues() 1632 nvals = alQueryValues(resource, param, return_set, setsize, quals, qualsize); in al_QueryValues() 1635 if (nvals > setsize) { in al_QueryValues() 1637 setsize = nvals; in al_QueryValues() 1638 PyMem_RESIZE(return_set, ALvalue, setsize); in al_QueryValues()
|