Searched refs:kTableInitial (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | indirect_reference_table_test.cc | 242 static const size_t kTableInitial = kTableMax / 2; in TEST_F() local 243 IndirectRef manyRefs[kTableInitial]; in TEST_F() 244 for (size_t i = 0; i < kTableInitial; i++) { in TEST_F() 252 ASSERT_EQ(kTableInitial + 1, irt.Capacity()); in TEST_F() 253 CheckDump(&irt, kTableInitial + 1, 1); in TEST_F() 255 for (size_t i = 0; i < kTableInitial; i++) { in TEST_F() 257 CheckDump(&irt, kTableInitial - i, 1); in TEST_F() 260 ASSERT_EQ(kTableInitial + 1, irt.Capacity()); in TEST_F()
|
/art/runtime/jni/ |
D | local_reference_table_test.cc | 256 static const size_t kTableInitial = max_count / 2; in BasicTest() local 257 IndirectRef manyRefs[kTableInitial]; in BasicTest() 258 for (size_t i = 0; i < kTableInitial; i++) { in BasicTest() 266 ASSERT_EQ(kTableInitial + 1, lrt.Capacity()); in BasicTest() 267 CheckDump(&lrt, kTableInitial + 1, 1); in BasicTest() 269 for (size_t i = 0; i < kTableInitial; i++) { in BasicTest() 271 CheckDump(&lrt, kTableInitial - i, 1); in BasicTest() 274 ASSERT_EQ(kTableInitial + 1, lrt.Capacity()); in BasicTest()
|