Go to the source code of this file.
Macros | |
#define | CHUNK_SIZE 10024 /* 10 kb */ |
#define | CHUNKS_PER_WRITE 4096 |
#define | TOTAL_BYTES (WRITES * CHUNKS_PER_WRITE * CHUNK_SIZE) |
#define | WRITES 3 |
Functions | |
static void | alloc_cb (uv_handle_t *handle, size_t size, uv_buf_t *buf) |
static void | close_cb (uv_handle_t *handle) |
static void | connect_cb (uv_connect_t *req, int status) |
static void | read_cb (uv_stream_t *tcp, ssize_t nread, const uv_buf_t *buf) |
static void | shutdown_cb (uv_shutdown_t *req, int status) |
TEST_IMPL (tcp_writealot) | |
static void | write_cb (uv_write_t *req, int status) |
Variables | |
static size_t | bytes_received_done = 0 |
static size_t | bytes_sent = 0 |
static size_t | bytes_sent_done = 0 |
static int | close_cb_called = 0 |
static int | connect_cb_called = 0 |
static uv_connect_t | connect_req |
static char * | send_buffer |
static int | shutdown_cb_called = 0 |
static uv_shutdown_t | shutdown_req |
static int | write_cb_called = 0 |
static uv_write_t | write_reqs [WRITES] |
#define CHUNK_SIZE 10024 /* 10 kb */ |
Definition at line 34 of file test-tcp-writealot.c.
#define CHUNKS_PER_WRITE 4096 |
Definition at line 32 of file test-tcp-writealot.c.
#define TOTAL_BYTES (WRITES * CHUNKS_PER_WRITE * CHUNK_SIZE) |
Definition at line 36 of file test-tcp-writealot.c.
#define WRITES 3 |
Definition at line 28 of file test-tcp-writealot.c.
|
static |
Definition at line 53 of file test-tcp-writealot.c.
|
static |
Definition at line 59 of file test-tcp-writealot.c.
|
static |
Definition at line 113 of file test-tcp-writealot.c.
|
static |
Definition at line 84 of file test-tcp-writealot.c.
|
static |
Definition at line 65 of file test-tcp-writealot.c.
TEST_IMPL | ( | tcp_writealot | ) |
Definition at line 147 of file test-tcp-writealot.c.
|
static |
Definition at line 100 of file test-tcp-writealot.c.
|
static |
Definition at line 46 of file test-tcp-writealot.c.
|
static |
Definition at line 44 of file test-tcp-writealot.c.
|
static |
Definition at line 45 of file test-tcp-writealot.c.
|
static |
Definition at line 43 of file test-tcp-writealot.c.
|
static |
Definition at line 41 of file test-tcp-writealot.c.
|
static |
Definition at line 48 of file test-tcp-writealot.c.
|
static |
Definition at line 38 of file test-tcp-writealot.c.
|
static |
Definition at line 40 of file test-tcp-writealot.c.
|
static |
Definition at line 49 of file test-tcp-writealot.c.
|
static |
Definition at line 42 of file test-tcp-writealot.c.
|
static |
Definition at line 50 of file test-tcp-writealot.c.