Home
last modified time | relevance | path

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

/libuv/test/
H A Dbenchmark-ping-udp.c43 static char PING[] = "PING\n"; variable
81 buf = uv_buf_init(PING, sizeof(PING) - 1); in pinger_write_ping()
102 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb()
103 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()
H A Dtest-ping-pong.c37 static char PING[] = "PING\n"; variable
95 uv_buf_t bufs[sizeof PING - 1]; in pinger_write_ping()
103 bufs[0] = uv_buf_init(PING, sizeof PING - 1); in pinger_write_ping()
106 nbufs = sizeof PING - 1; in pinger_write_ping()
108 bufs[i] = uv_buf_init(&PING[i], 1); in pinger_write_ping()
227 pinger->pong = PING; in tcp_pinger_v6_new()
258 pinger->pong = PING; in tcp_pinger_new()
287 pinger->pong = PING; in pipe_pinger_new()
366 pinger->pong = PING; in pipe2_pinger_new()
H A Dbenchmark-ping-pongs.c46 static char PING[] = "PING\n"; variable
103 buf = uv_buf_init(PING, sizeof(PING) - 1); in pinger_write_ping()
147 ASSERT_EQ(buf->base[i], PING[pinger->state]); in pinger_read_cb()
148 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1); in pinger_read_cb()

Completed in 7 milliseconds