Home
last modified time | relevance | path

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

/libuv/docs/code/locks/
H A Dmain.c10 int num = *(int *)n; in reader() local
14 printf("Reader %d: acquired lock\n", num); in reader()
15 printf("Reader %d: shared num = %d\n", num, shared_num); in reader()
17 printf("Reader %d: released lock\n", num); in reader()
24 int num = *(int *)n; in writer() local
28 printf("Writer %d: acquired lock\n", num); in writer()
30 printf("Writer %d: incremented shared num = %d\n", num, shared_num); in writer()
32 printf("Writer %d: released lock\n", num); in writer()
/libuv/test/
H A Dbenchmark-pound.c36 typedef void (*setup_fn)(int num, void* arg);
38 typedef int (*connect_fn)(int num, make_connect_fn make_connect, void* arg);
177 static void tcp_do_setup(int num, void* arg) { in tcp_do_setup() argument
180 for (i = 0; i < num; i++) { in tcp_do_setup()
186 static void pipe_do_setup(int num, void* arg) { in pipe_do_setup() argument
189 for (i = 0; i < num; i++) { in pipe_do_setup()
247 static int tcp_do_connect(int num, make_connect_fn make_connect, void* arg) { in tcp_do_connect() argument
250 for (i = 0; i < num; i++) { in tcp_do_connect()
259 static int pipe_do_connect(int num, make_connect_fn make_connect, void* arg) { in pipe_do_connect() argument
262 for (i = 0; i < num; i++) { in pipe_do_connect()
H A Dtask.h300 # define TEST_FILE_LIMIT(num) \ argument
303 lim.rlim_cur = (num); \
311 # define TEST_FILE_LIMIT(num) do {} while (0) argument
/libuv/docs/code/uvwget/
H A Dmain.c40 void add_download(const char *url, int num) { in add_download() argument
42 sprintf(filename, "%d.download", num); in add_download()
/libuv/docs/src/sphinx-plugins/
H A Dmanpage.py24 ref = s.substitute(num=manpage_num, topic=name)

Completed in 8 milliseconds