Lines Matching refs:static_assert
35 static_assert(MEM_SIZE % 4096 == 0, "invalid mem size");
36 static_assert(MEM_TEST_SIZE % 4096 == 0, "invalid mem test size");
48 static_assert(MEM_SIZE_MAP % 4096 == 0, "invalid map test region size");
49 static_assert(MEM_TEST_MAP_SIZE % 4096 == 0, "invalid map test region size");
50 static_assert(MEM_TEST_MAP_SIZE_PAGES % 2 == 0, "invalid map test region size");
51 static_assert(MEM_TEST_MAP_SIZE_PAGES > 2, "invalid map test region size");
61 static_assert(MEM_TEST_UNMAP_SIZE <= MEM_TEST_SIZE,
63 static_assert(MEM_TEST_UNMAP_SIZE % 4096 == 0,
65 static_assert(MEM_TEST_UNMAP_SIZE_PAGES %
83 static_assert(MEM_TEST_MOVE_SIZE <= MEM_TEST_SIZE,
116 static_assert(ATOMIC_BOOL_LOCK_FREE == 2, "atomic bool is not lockless");