HomeSort by: relevance | last modified time | path
    Searched defs:PING (Results 1 - 3 of 3) sorted by relevancy

  /src/external/mit/libuv/dist/test/
benchmark-ping-udp.c 43 static char PING[] = "PING\n";
81 buf = uv_buf_init(PING, sizeof(PING) - 1);
102 ASSERT(buf->base[i] == PING[pinger->state]);
103 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1);
126 /* Try to do NUM_PINGS ping-pongs (connection-less). */
benchmark-ping-pongs.c 46 static char PING[] = "PING\n";
103 buf = uv_buf_init(PING, sizeof(PING) - 1);
147 ASSERT(buf->base[i] == PING[pinger->state]);
148 pinger->state = (pinger->state + 1) % (sizeof(PING) - 1);
191 /* Try to connect to the server and do NUM_PINGS ping-pongs. */
test-ping-pong.c 37 static char PING[] = "PING\n";
95 uv_buf_t bufs[sizeof PING - 1];
103 bufs[0] = uv_buf_init(PING, sizeof PING - 1);
106 nbufs = sizeof PING - 1;
108 bufs[i] = uv_buf_init(&PING[i], 1);
117 puts("PING");
214 /* same ping-pong test, but using IPv6 connection */
227 pinger->pong = PING;
    [all...]

Completed in 82 milliseconds