Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 38) sorted by relevance

12

/libuv/.github/workflows/
H A DCI-sample.yml9 - 'docs/code/**'
26 run: cmake -E make_directory ${{runner.workspace}}/libuv/docs/code/build
30 working-directory: ${{runner.workspace}}/libuv/docs/code/build
33 working-directory: ${{runner.workspace}}/libuv/docs/code/build
H A DCI-docs.yml7 - '!docs/code/**'
/libuv/docs/src/guide/
H A Dnetworking.rst14 The code samples in this chapter exist to show certain libuv APIs. They are
15 not examples of good quality code. They leak memory and don't always close
40 .. literalinclude:: ../../code/tcp-echo-server/main.c
63 .. literalinclude:: ../../code/tcp-echo-server/main.c
112 .. literalinclude:: ../../code/udp-dhcp/main.c
135 write callbacks will receive a status code of < 0 if something went wrong.
148 .. literalinclude:: ../../code/udp-dhcp/main.c
174 .. code::block:: c
199 .. literalinclude:: ../../code/dns/main.c
216 .. literalinclude:: ../../code/dns/main.c
[all …]
H A Dutilities.rst19 .. code-block:: c
29 .. code-block:: c
143 .. code-block:: c
155 .. code-block:: c
171 .. code-block:: c
220 .. literalinclude:: ../../code/uvwget/main.c
241 .. literalinclude:: ../../code/uvwget/main.c
258 .. literalinclude:: ../../code/uvwget/main.c
279 .. literalinclude:: ../../code/uvwget/main.c
297 .. literalinclude:: ../../code/uvwget/main.c
[all …]
H A Dfilesystem.rst31 .. code-block:: c
41 .. code-block:: c
48 .. code-block:: c
56 .. literalinclude:: ../../code/uvcat/main.c
66 .. literalinclude:: ../../code/uvcat/main.c
91 .. literalinclude:: ../../code/uvcat/main.c
105 .. literalinclude:: ../../code/uvcat/main.c
125 .. code-block:: c
177 .. code-block:: c
212 .. literalinclude:: ../../code/uvtee/main.c
[all …]
H A Dprocesses.rst29 .. literalinclude:: ../../code/spawn/main.c
59 .. literalinclude:: ../../code/spawn/main.c
110 .. literalinclude:: ../../code/detach/main.c
148 .. literalinclude:: ../../code/signal/main.c
181 .. literalinclude:: ../../code/proc-streams/test.c
190 .. code-block:: c
209 .. literalinclude:: ../../code/proc-streams/main.c
228 .. literalinclude:: ../../code/cgi/tick.c
235 .. literalinclude:: ../../code/cgi/main.c
245 .. literalinclude:: ../../code/cgi/main.c
[all …]
H A Dthreads.rst41 .. literalinclude:: ../../code/thread-create/main.c
58 .. literalinclude:: ../../code/thread-create/main.c
81 .. code-block:: c
128 .. literalinclude:: ../../code/locks/main.c
213 .. literalinclude:: ../../code/queue-work/main.c
227 .. literalinclude:: ../../code/queue-work/main.c
255 .. literalinclude:: ../../code/queue-cancel/main.c
302 .. literalinclude:: ../../code/progress/main.c
328 .. literalinclude:: ../../code/progress/main.c
339 .. literalinclude:: ../../code/progress/main.c
[all …]
H A Dintroduction.rst50 This book and the code is based on libuv version `v1.42.0`_.
55 All the example code and the source of the book is included as part of
64 ``docs/code/`` directory.
H A Dbasics.rst18 .. code-block:: python
89 .. literalinclude:: ../../code/helloworld/main.c
113 .. literalinclude:: ../../code/default-loop/main.c
145 .. code-block:: c
220 .. literalinclude:: ../../code/idle-basic/main.c
H A Deventloops.rst46 .. literalinclude:: ../../code/uvstop/main.c
/libuv/docs/src/
H A Derrors.rst358 Returns the error message for the given error code. Leaks a few bytes
359 of memory when you call it with an unknown error code.
363 Returns the error message for the given error code. The zero-terminated
370 Returns the error name for the given error code. Leaks a few bytes
371 of memory when you call it with an unknown error code.
375 Returns the error name for the given error code. The zero-terminated
382 Returns the libuv error code equivalent to the given platform dependent error
383 code: POSIX error codes on Unix (the ones stored in `errno`), and Win32 error
H A Dudp.rst206 :returns: 0 on success, or an error code < 0 on failure.
236 :returns: 0 on success, or an error code < 0 on failure.
255 :returns: 0 on success, or an error code < 0 on failure
273 :returns: 0 on success, or an error code < 0 on failure.
288 :returns: 0 on success, or an error code < 0 on failure.
305 :returns: 0 on success, or an error code < 0 on failure.
321 :returns: 0 on success, or an error code < 0 on failure.
334 :returns: 0 on success, or an error code < 0 on failure.
347 :returns: 0 on success, or an error code < 0 on failure.
360 :returns: 0 on success, or an error code < 0 on failure.
[all …]
H A Dthreading.rst79 .. versionchanged:: 1.4.1 returns a UV_E* error code on failure
174 Functions return 0 on success or an error code < 0 (unless the
187 Functions return 0 on success or an error code < 0 (unless the
202 Functions return 0 on success or an error code < 0 (unless the
214 Functions return 0 on success or an error code < 0 (unless the
238 Functions return 0 on success or an error code < 0 (unless the
H A Dasync.rst38 :returns: 0 on success, or an error code < 0 on failure.
47 :returns: 0 on success, or an error code < 0 on failure.
H A Dmigration_010_100.rst48 to fetch the error code, which was a positive number.
50 In 1.0, functions and status parameters contain the actual error code, which is 0 for success, or
61 /* err.code contains UV_EADDRINUSE */
H A Ddns.rst81 Returns 0 on success or an error code < 0 on failure. If successful, the
101 Returns 0 on success or an error code < 0 on failure. If successful, the
H A Dversion.rst10 will allow you to write or compile code conditionally, in order to work with
H A Dindex.rst31 * ANSI escape code controlled TTY
H A Dthreadpool.rst7 libuv provides a threadpool which can be used to run user code and get notified
H A Dfs_poll.rst64 by the user. Returns 0 on success or an error code < 0 in case of failure.
H A Drequest.rst73 Returns 0 on success, or an error code < 0 on failure.
H A Dtty.rst111 code ``UV_EBUSY`` if you call it when execution is inside
/libuv/
H A DCONTRIBUTING.md46 Please adhere to libuv's code style. In general it follows the conventions from
53 * Source code that is Windows-specific goes into `src/win`, and related
77 * When documenting APIs and/or source code, don't make assumptions or make
81 * Remember that source code usually gets written once and read often: ensure
H A DSECURITY.md13 …Hub's private vulnerability reporting feature](https://docs.github.com/en/code-security/security-a…
H A DChangeLog60 * misc: run sample CI when code changes (Jameson Nash)
369 * unix: match kqueue and epoll code (Trevor Norris)
476 * include: update outdated code comment (Ben Noordhuis)
581 * include: map ENODATA error code (Ben Noordhuis)
659 * docs: delete code Makefile (Jameson Nash)
979 * doc/guide: update content and sample code (woclass)
1147 * doc: fix code highlighting (Darshan Sen)
1508 * android: remove patch code for below 21 (gengjiawen)
2036 * include: map EILSEQ error code (cjihrig)
5431 * windows: uv_spawn code refactor (Alexis Campailla)
[all …]

Completed in 45 milliseconds

12