Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/iomgr/
Dtimer_heap_test.cc72 const size_t num_test_elements = 200; in test1() local
75 grpc_timer* test_elements = create_test_elements(num_test_elements); in test1()
76 uint8_t* inpq = static_cast<uint8_t*>(gpr_malloc(num_test_elements)); in test1()
81 memset(inpq, 0, num_test_elements); in test1()
84 for (i = 0; i < num_test_elements; ++i) { in test1()
91 for (i = 0; i < num_test_elements; ++i) { in test1()
97 GPR_ASSERT(pq.timer_count == num_test_elements); in test1()
102 size_t elem_num = static_cast<size_t>(rand()) % num_test_elements; in test1()