Searched refs:huge0 (Results 1 – 2 of 2) sorted by relevance
| /redis-3.2.3/deps/jemalloc/test/integration/ |
| H A D | xallocx.c | 266 assert_zu_lt(xallocx(p, large0, huge0 - large0, 0), huge0, in TEST_BEGIN() 303 assert_zu_ge(xallocx(p, huge0, 0, 0), huge0, in TEST_BEGIN() 311 assert_zu_eq(xallocx(p, huge0, huge2 - huge0, 0), huge2, in TEST_BEGIN() 315 assert_zu_eq(xallocx(p, huge0, huge1 - huge0, 0), huge1, in TEST_BEGIN() 317 assert_zu_ge(xallocx(p, largemax, huge0 - largemax, 0), huge0, in TEST_BEGIN() 320 assert_zu_ge(xallocx(p, huge0, 0, 0), huge0, in TEST_BEGIN() 328 assert_zu_ge(xallocx(p, huge0, 0, 0), huge0, in TEST_BEGIN() 331 assert_zu_le(xallocx(p, huge0, SIZE_T_MAX - huge0, 0), hugemax, in TEST_BEGIN() 334 assert_zu_ge(xallocx(p, huge0, 0, 0), huge0, in TEST_BEGIN() 337 assert_zu_le(xallocx(p, huge0, huge2 - huge0, 0), huge2, in TEST_BEGIN() [all …]
|
| H A D | chunk.c | 123 size_t old_size, new_size, large0, large1, huge0, huge1, huge2, sz; in TEST_BEGIN() local 160 assert_d_eq(mallctl("arenas.hchunk.0.size", &huge0, &sz, NULL, 0), 0, in TEST_BEGIN() 170 p = mallocx(huge0 * 2, 0); in TEST_BEGIN() 176 xallocx_success_a = (xallocx(p, huge0, 0, 0) == huge0); in TEST_BEGIN() 191 p = mallocx(huge0 * 2, 0); in TEST_BEGIN() 197 xallocx_success_b = (xallocx(p, huge0, 0, 0) == huge0); in TEST_BEGIN() 202 xallocx_success_c = (xallocx(p, huge0 * 2, 0, 0) == huge0 * 2); in TEST_BEGIN() 211 if (huge0 * 2 > huge2) { in TEST_BEGIN()
|