Home
last modified time | relevance | path

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

/libuv/test/
H A Dbenchmark-tcp-write-batch.c29 #define NUM_WRITE_REQS (1000 * 1000) macro
60 for (i = 0; i < NUM_WRITE_REQS; i++) { in connect_cb()
105 write_reqs = malloc(sizeof(*write_reqs) * NUM_WRITE_REQS); in BENCHMARK_IMPL()
109 for (i = 0; i < NUM_WRITE_REQS; i++) { in BENCHMARK_IMPL()
134 ASSERT_EQ(write_cb_called, NUM_WRITE_REQS); in BENCHMARK_IMPL()
139 (long)NUM_WRITE_REQS, in BENCHMARK_IMPL()
H A Dtest-tcp-close.c28 #define NUM_WRITE_REQS 32 macro
47 for (i = 0; i < NUM_WRITE_REQS; i++) { in connect_cb()
129 printf("%d of %d write reqs seen\n", write_cb_called, NUM_WRITE_REQS); in TEST_IMPL()
131 ASSERT_EQ(write_cb_called, NUM_WRITE_REQS); in TEST_IMPL()

Completed in 7 milliseconds