Home
last modified time | relevance | path

Searched refs:num_queries (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_stress_test.cpp43 unsigned num_queries) { in RunGetAddrInfoStressTest() argument
56 thread = std::thread([&mappings, num_queries]() { in RunGetAddrInfoStressTest()
57 for (unsigned i = 0; i < num_queries; ++i) { in RunGetAddrInfoStressTest()
82 num_queries, std::chrono::duration<double>(t1 - t0).count()); in RunGetAddrInfoStressTest()
102 const unsigned num_queries = 100; in TEST_F() local
103 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F()
109 const unsigned num_queries = 100; in TEST_F() local
110 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest(num_hosts, num_threads, num_queries)); in TEST_F()
Dresolv_tls_unit_test.cpp209 const int num_queries = 10000; in TEST_F() local
210 results.reserve(num_queries); in TEST_F()
211 for (int i = 0; i < num_queries; ++i) { in TEST_F()
355 const int num_queries = 65536; in TEST_F() local
358 FakeSocketDelay::sDelay = num_queries + 1; in TEST_F()
364 results.reserve(num_queries); in TEST_F()
365 for (int i = 0; i < num_queries; ++i) { in TEST_F()
593 const int num_queries = 10 * FakeSocketLimited::sLimit; in TEST_F() local
594 std::vector<bytevec> queries(num_queries); in TEST_F()
596 results.reserve(num_queries); in TEST_F()
[all …]
Dresolv_integration_test.cpp4961 constexpr int num_queries = 20; in TEST_F() local
4975 for (int i = 0; i < num_queries; ++i) { in TEST_F()
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp471 int64_t num_queries; in loop() local
472 ssize_t res = read(mEventFd.get(), &num_queries, sizeof(num_queries)); in loop()
479 } else if (res != sizeof(num_queries)) { in loop()
480 LOG(ERROR) << "Int size mismatch: " << res << " != " << sizeof(num_queries); in loop()
482 } else if (num_queries < 0) { in loop()