Searched refs:kMaxAttempts (Results 1 – 5 of 5) sorted by relevance
65 const int kMaxAttempts = 4; in InitReservation() local66 for (int attempt = 0; attempt < kMaxAttempts; ++attempt) { in InitReservation()94 bool overreserve = (attempt == kMaxAttempts - 1); in InitReservation()
99 const int kMaxAttempts = 1000000; in TEST() local103 while (count < kMaxAttempts) { in TEST()118 ASSERT_LT(count, kMaxAttempts) << "Expected average was " << in TEST()
129 const int kMaxAttempts = 3; in Allocate() local131 for (int i = 0; i < kMaxAttempts; ++i) { in Allocate()
832 const int kMaxAttempts = 3; in Allocate() local834 for (int i = 0; i < kMaxAttempts; ++i) { in Allocate()
920 const int kMaxAttempts = 10; in CreateSnapshot() local932 for (int attempt = 0; attempt < kMaxAttempts; ++attempt) { in CreateSnapshot()