Searched refs:TEST_MEMORY_SIZE (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 24 const uint32_t TEST_MEMORY_SIZE = 1 << 20; // 1 MiB variable 61 mem_segment_.reset(new char[TEST_MEMORY_SIZE]); in PersistentMemoryAllocatorTest() 66 ::memset(mem_segment_.get(), 0, TEST_MEMORY_SIZE); in SetUp() 68 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp() 109 EXPECT_EQ(TEST_MEMORY_SIZE, meminfo0.total); in TEST_F() 217 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F() 232 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F() 324 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F() 325 AllocatorThread t2("t2", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F() 326 AllocatorThread t3("t3", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F() [all …]
|