Searched refs:kMaxAttempts (Results 1 – 8 of 8) sorted by relevance
84 const int kMaxAttempts = 1000000; in TEST() local88 while (count < kMaxAttempts) { in TEST()103 ASSERT_LT(count, kMaxAttempts) << "Expected average was " << in TEST()
168 const int kMaxAttempts = 5; in GenKeyAndSignChallenge() local170 for (attempt = 0; attempt < kMaxAttempts; ++attempt) { in GenKeyAndSignChallenge()192 if (attempt == kMaxAttempts) { in GenKeyAndSignChallenge()
26 static const unsigned kMaxAttempts = 16; in ReduceNode() local28 for (unsigned attempts = 0; attempts <= kMaxAttempts; ++attempts) { in ReduceNode()
43 const int kMaxAttempts = 3; in VerifyCanSendAndReceive() local48 while (last_packet_.empty() && attempts++ < kMaxAttempts) { in VerifyCanSendAndReceive()
340 const int kMaxAttempts = 1000000; in TEST() local348 while (count < kMaxAttempts) { in TEST()363 ASSERT_LT(count, kMaxAttempts) << "Expected average was " << in TEST()
173 const int kMaxAttempts = 10000; in TEST_F() local176 for (int i=0; i<kMaxAttempts; ++i) { in TEST_F()
89 const int kMaxAttempts = 100; in InstallExtension() local90 for (int i = 0; i < kMaxAttempts; ++i) { in InstallExtension()
468 static const int kMaxAttempts = 100; member in wifi::WiFiServiceImpl858 if (attempt > kMaxAttempts) { in WaitForNetworkConnect()859 LOG(ERROR) << kMaxAttempts << " attempts exceeded waiting for connect to " in WaitForNetworkConnect()