Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Daccu.c31 Py_ssize_t nsmall = PyList_GET_SIZE(acc->small); in flush_accumulator() local
32 if (nsmall) { in flush_accumulator()
43 if (PyList_SetSlice(acc->small, 0, nsmall, NULL)) { in flush_accumulator()
57 Py_ssize_t nsmall; in _PyAccu_Accumulate() local
62 nsmall = PyList_GET_SIZE(acc->small); in _PyAccu_Accumulate()
70 if (nsmall < 100000) in _PyAccu_Accumulate()
/external/jemalloc/test/unit/
Darena_reset.c84 unsigned arena_ind, nsmall, nlarge, nhuge, nptrs, i; in TEST_BEGIN() local
100 nsmall = get_nsmall(); in TEST_BEGIN()
103 nptrs = nsmall + nlarge + nhuge; in TEST_BEGIN()
108 for (i = 0; i < nsmall; i++) { in TEST_BEGIN()
116 ptrs[nsmall + i] = mallocx(sz, flags); in TEST_BEGIN()
122 ptrs[nsmall + nlarge + i] = mallocx(sz, flags); in TEST_BEGIN()
/external/jemalloc_new/test/unit/
Darena_reset.c100 unsigned nsmall, nlarge, i; in do_arena_reset_pre() local
107 nsmall = get_nsmall(); in do_arena_reset_pre()
109 *nptrs = nsmall + nlarge; in do_arena_reset_pre()
114 for (i = 0; i < nsmall; i++) { in do_arena_reset_pre()
122 (*ptrs)[nsmall + i] = mallocx(sz, flags); in do_arena_reset_pre()