HomeSort by: relevance | last modified time | path
    Searched refs:NALLOCS (Results 1 - 6 of 6) sorted by relevancy

  /src/external/bsd/jemalloc/dist/test/stress/
fill_flush.c 6 #define NALLOCS 1000
12 void *volatile allocs[NALLOCS];
16 for (int i = 0; i < NALLOCS; i++) {
21 for (int i = 0; i < NALLOCS; i++) {
28 for (int i = 0; i < NALLOCS; i++) {
45 for (int i = 0; i < NALLOCS; i++) {
50 for (int i = 0; i < NALLOCS; i++) {
57 for (int i = 0; i < NALLOCS; i++) {
  /src/external/bsd/jemalloc.old/dist/test/stress/
fill_flush.c 6 #define NALLOCS 1000
12 void *volatile allocs[NALLOCS];
16 for (int i = 0; i < NALLOCS; i++) {
21 for (int i = 0; i < NALLOCS; i++) {
28 for (int i = 0; i < NALLOCS; i++) {
45 for (int i = 0; i < NALLOCS; i++) {
50 for (int i = 0; i < NALLOCS; i++) {
57 for (int i = 0; i < NALLOCS; i++) {
  /src/external/bsd/jemalloc/dist/test/unit/
sec.c 76 size_t nallocs, edata_list_active_t *results,
82 for (size_t i = 0; i < nallocs; i++) {
94 return nallocs;
174 enum { NALLOCS = 11 };
175 edata_t *one_page[NALLOCS];
176 edata_t *two_page[NALLOCS];
179 /* max_bytes */ 2 * (NALLOCS * PAGE + NALLOCS * 2 * PAGE));
180 for (int i = 0; i < NALLOCS; i++) {
192 expect_zu_le(2 * NALLOCS, max_allocs
    [all...]
hpa.c 258 enum {NALLOCS = 8};
260 edata_t *allocs[NALLOCS];
265 for (size_t i = 0; i < NALLOCS / 2; i++) {
273 size_t nsuccess = pai_alloc_batch(tsdn, &shard->pai, PAGE, NALLOCS / 2,
275 expect_zu_eq(NALLOCS / 2, nsuccess, "Unexpected oom");
276 for (size_t i = NALLOCS / 2; i < NALLOCS; i++) {
286 expect_contiguous(allocs, NALLOCS);
291 for (size_t i = 0; i < NALLOCS / 2; i++) {
296 for (size_t i = NALLOCS / 2; i < NALLOCS; i++)
    [all...]
  /src/external/bsd/jemalloc.old/dist/test/unit/
sec.c 76 size_t nallocs, edata_list_active_t *results,
82 for (size_t i = 0; i < nallocs; i++) {
94 return nallocs;
174 enum { NALLOCS = 11 };
175 edata_t *one_page[NALLOCS];
176 edata_t *two_page[NALLOCS];
179 /* max_bytes */ 2 * (NALLOCS * PAGE + NALLOCS * 2 * PAGE));
180 for (int i = 0; i < NALLOCS; i++) {
192 expect_zu_le(2 * NALLOCS, max_allocs
    [all...]
hpa.c 258 enum {NALLOCS = 8};
260 edata_t *allocs[NALLOCS];
265 for (size_t i = 0; i < NALLOCS / 2; i++) {
273 size_t nsuccess = pai_alloc_batch(tsdn, &shard->pai, PAGE, NALLOCS / 2,
275 expect_zu_eq(NALLOCS / 2, nsuccess, "Unexpected oom");
276 for (size_t i = NALLOCS / 2; i < NALLOCS; i++) {
286 expect_contiguous(allocs, NALLOCS);
291 for (size_t i = 0; i < NALLOCS / 2; i++) {
296 for (size_t i = NALLOCS / 2; i < NALLOCS; i++)
    [all...]

Completed in 18 milliseconds