Home
last modified time | relevance | path

Searched refs:a (Results 26 – 50 of 79) sorted by relevance

1234

/libuv/docs/src/
H A Dpipe.rst10 :c:type:`uv_pipe_t` is a 'subclass' of :c:type:`uv_stream_t`.
27 Only a connected pipe that will be passing the handles should have this flag
38 Initialize a pipe handle. The `ipc` argument is a boolean to indicate if
40 change the bytes on the wire). Only a connected pipe that will be
46 Open an existing file descriptor or HANDLE as a pipe.
52 it's required that it represents a valid pipe.
56 Bind the pipe to a file path (Unix) or a name (Windows).
69 Bind the pipe to a file path (Unix) or a name (Windows).
152 a handle of the given `type`, returned by :c:func:`uv_pipe_pending_type`
168 Create a pair of connected pipe handles.
H A Dpoll.rst17 It is possible that poll handles occasionally signal that a file descriptor is
25 The user should not close a file descriptor while it is being polled by an
28 closed immediately after a call to :c:func:`uv_poll_stop` or :c:func:`uv_close`.
75 Initialize the handle using a file descriptor.
81 Initialize the handle using a socket descriptor. On Unix this is identical
82 to :c:func:`uv_poll_init`. On windows it takes a SOCKET handle.
88 Starts polling the file descriptor. `events` is a bitmask made up of
109 Calling :c:func:`uv_poll_start` on a handle that is already active is
123 readable/writable and the callback did not conduct a read/write on
125 * The callback committed a read on the socket, and has not read all the
[all …]
H A Dtty.rst7 TTY handles represent a stream for the console.
9 :c:type:`uv_tty_t` is a 'subclass' of :c:type:`uv_stream_t`.
69 Initialize a new TTY stream with the given file descriptor. Usually the
78 refers to a TTY. This lets libuv put the tty in non-blocking mode without
94 .. versionchanged:: 1.5.0: trying to initialize a TTY stream with a file
95 descriptor that refers to a file returns `UV_EINVAL`
100 .. versionchanged:: 1.2.0: the mode is specified as a
H A Dthreadpool.rst7 libuv provides a threadpool which can be used to run user code and get notified
20 The threadpool is global and shared across all event loops. When a particular
23 ``UV_THREADPOOL_SIZE``. This causes a relatively minor memory overhead
27 Note that even though a global thread pool which is shared across all events
66 Initializes a work request which will run the given `work_cb` in a thread
H A Dprocess.rst7 Process handles will spawn a new process and allow the user to control it and
65 * Spawn the child process in a detached state - this will make it a process
91 * uv_process_options_t's file field, has a directory component,
100 Container for each stdio handle or fd passed to a child process.
114 Flags specifying how a stdio should be transmitted to the child process.
132 * Open a new pipe into `data.stream`, per the flags below. The
133 * `data.stream` field must point to a uv_pipe_t object that has
140 * The child process will be given a duplicate of the parent's
146 * The child process will be given a duplicate of the parent's
155 * flags may be specified to create a duplex data stream.
[all …]
H A Dhandle.rst109 Macro that expands to a series of invocations of `iter_macro` for
128 been started with a call to uv_check_start(), uv_idle_start(), etc.
130 Rule of thumb: if a handle of type `uv_foo_t` has a `uv_foo_start()`
151 It gives you a chance to free up any resources associated with the handle.
161 Reference the given handle. References are idempotent, that is, if a handle
199 On success, zero is returned. On error, a negative result is
216 On success, zero is returned. On error, a negative result is
232 If a handle doesn't have an attached file descriptor yet or the handle
265 Returns the name for the equivalent struct for a given handle type,
283 a counter, so both operations are idempotent.
[all …]
H A Ddns.rst20 complete. In case it was cancelled, `status` will have a value of
30 complete. In case it was cancelled, `status` will have a value of
44 Pointer to a `struct addrinfo` containing the result. Must be freed by the user
78 `hints` is a pointer to a struct addrinfo with additional address type
85 * status == 0, the res argument points to a valid `struct addrinfo`, or
95 Free the struct addrinfo. Passing NULL is allowed and is a no-op.
H A Derrors.rst7 In libuv errors are negative numbered constants. As a rule of thumb, whenever
8 there is a status parameter, or an API functions returns an integer, a negative
11 When a function which takes a callback returns an error, the callback will never
172 illegal operation on a directory
240 not a directory
351 Macro that expands to a series of invocations of `iter_macro` for
358 Returns the error message for the given error code. Leaks a few bytes
370 Returns the error name for the given error code. Leaks a few bytes
386 If `sys_errno` is already a libuv error, it is simply returned.
H A Dfs.rst7 libuv provides a wide variety of cross-platform sync and async file system
8 operations. All functions defined in this document take a callback, which is
17 a (sometimes significant) increase in throughput there should be no change in
182 Callback called when a request is completed asynchronously.
288 Opens `path` as a directory stream. On success, a `uv_dir_t` is allocated
392 copy-on-write, a fallback copy mechanism based on
587 If the path is not a directory, fail the open.
595 all data and a minimum of metadata are flushed to disk.
647 If the path is a symbolic link, fail the open.
679 use this as a hint to optimize file caching.
[all …]
H A Dmisc.rst57 Cross platform representation of a file handle.
61 Cross platform representation of a socket handle.
65 Abstract representation of a file descriptor. On Unix systems this is a
66 `typedef` of `int` and on Windows a `HANDLE`.
70 Cross platform representation of a `pid_t`.
378 use. Always returns a non-zero value.
430 Convert a string containing an IPv4 addresses to a binary structure.
434 Convert a string containing an IPv6 addresses to a binary structure.
438 Convert a binary structure containing an IPv4 address to a string.
442 Convert a binary structure containing an IPv6 address to a string.
[all …]
H A Dguide.rst8 and it hasn't gone through thorough review yet. If you spot a mistake please file an
9 issue, or better yet, open a pull request!
H A Dloop.rst72 Returns 0 on success or a UV_E* error code on failure. Be prepared to
77 - UV_LOOP_BLOCK_SIGNAL: Block a signal when polling for new events. The
81 to suppress unnecessary wakeups when using a sampling profiler.
108 This function is just a convenient way for having a global loop throughout
135 :c:func:`uv_run` is not reentrant. It must not be called from a callback.
164 Embedding a kqueue fd in another kqueue pollset doesn't work on all platforms. It's not
193 somewhat subjective but probably on the order of a millisecond or more.
204 a :man:`fork(2)` system call.
218 When possible, it is preferred to create a new loop in the child
219 process instead of reusing a loop created in the parent. New loops
H A Dudp.rst125 Membership type for a multicast address.
159 Initialize a new UDP handle. The actual socket is created lazily.
178 Opens an existing file descriptor or Windows SOCKET as a UDP handle.
190 it's required that it represents a valid datagram socket.
223 Associate the UDP handle to a remote address and port, so every
225 Calling this function with a `NULL` `addr` disconnects the handle.
227 in an `UV_EISCONN` error. Trying to disconnect a handle that is not
277 Set membership for a multicast address
292 Set membership for a source-specific multicast group.
379 (the "all interfaces" IPv4 address) and a random port number.
[all …]
H A Dasync.rst7 Async handles allow the user to "wakeup" the event loop and get a callback
55 It's safe to call this function from a signal handler.
60 times in a row before the callback is called, the callback will only be called once. If
/libuv/
H A DMAINTAINERS.md35 ## Storing a maintainer key in Git
37 It's quite handy to store a maintainer's signature as a git blob, and have
44 Store it as a blob on the repo:
48 The previous command returns a hash, copy it. For the sake of this explanation,
50 be garbage collected since nothing references it, so we'll create a tag for it:
H A DCONTRIBUTING.md19 or the stable branch. As a rule of thumb, bug fixes go into the stable branch
35 Okay, so you have decided on the proper branch. Create a feature branch
72 the top of a scope (function, if/for/while-block).
83 logic are either obvious to a reasonably skilled professional, or add a
99 1. The first line should be 50 characters or less and contain a short
110 Body of commit message is a few lines of text, explaining things
142 If you add a new test file, it needs to be registered in three places:
161 Pull requests are usually reviewed within a few days. If there are comments
162 to address, apply your changes in a separate commit and push that to your
163 feature branch. Post a comment in the pull request afterwards; GitHub does
H A Dlibuv-static.pc.in8 Description: multi-platform support library with a focus on asynchronous I/O.
11 Libs: -L${libdir} -l:libuv.a @LIBS@
H A Dlibuv.pc.in5 LIBUV_STATIC=-L${libdir} -l:libuv.a @LIBS@
9 Description: multi-platform support library with a focus on asynchronous I/O.
H A DLINKS.md4 * [BIND 9](https://bind.isc.org/): DNS software system including an authoritative server, a recursi…
15 * [Igropyr](https://github.com/guenchi/Igropyr): a async Scheme http server base on libuv.
26 * [MoarVM](https://github.com/MoarVM/MoarVM): a VM for [Rakudo](http://rakudo.org/) [Raku](http://r…
27 * [Mysocks](https://github.com/zhou0/mysocks): a cross-platform [Shadowsocks](https://shadowsocks.o…
36 * [pixie](https://github.com/pixie-lang/pixie): clojure-inspired lisp with a tracing JIT
42 …://suave.io/): A simple web development F# library providing a lightweight web server and a set of…
43 …ps://github.com/becls/swish/): Concurrency engine with Erlang-like concepts. Includes a web server.
82 …thub.com/MoarVM/MoarVM) [uses](http://6guts.wordpress.com/2013/05/31/moarvm-a-virtual-machine-for-…
H A DREADME.md5 libuv is a multi-platform support library with a focus on asynchronous I/O. It
40 SemVer. libuv will keep a stable ABI across major releases.
110 — Learn uv for fun and profit, a self guided workshop to libuv.
126 Importing a key the usual way:
132 Importing a key from a git blob object:
223 "ARCHS" flag. You can specify more than one by delimiting with a space
261 a child process:
280 When running the test from a child of the test driver process
281 (`build/uv_run_tests_a TEST_NAME`), use these tools in a fork-aware manner.
/libuv/src/
H A Dtimer.c40 const uv_timer_t* a; in timer_less_than() local
43 a = container_of(ha, uv_timer_t, node.heap); in timer_less_than()
46 if (a->timeout < b->timeout) in timer_less_than()
48 if (b->timeout < a->timeout) in timer_less_than()
54 return a->start_id < b->start_id; in timer_less_than()
H A Duv-common.h54 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) argument
55 #define ARRAY_END(a) ((a) + ARRAY_SIZE(a)) argument
/libuv/test/
H A Dbenchmark-udp-pummel.c223 #define X(a, b) \ argument
224 BENCHMARK_IMPL(udp_pummel_##a##v##b) { \
225 return pummel(a, b, 0); \
227 BENCHMARK_IMPL(udp_timed_pummel_##a##v##b) { \
228 return pummel(a, b, TEST_DURATION); \
/libuv/m4/
H A Dlibuv-check-flags.m416 dnl You should have received a copy of the GNU General Public License
21 dnl As a special exception, the copyright owners of the
32 dnl distribute a modified version of the Autoconf Macro, you may extend
43 AC_COMPILE_IFELSE([AC_LANG_SOURCE([int a;])],
122 dnl the current linker to avoid undefined references in a shared object.
134 dnl for a much more readable commandline, so that people can understand what
146 dnl Check for a -Werror flag or equivalent. -Werror is the GCC
189 [void __attribute__((constructor)) ctor() { int a; }],
260 [struct astructure { char a; int b; long c; void *d; } __attribute__((packed));],
298 int a = 3;
[all …]
/libuv/docs/
H A DMakefile31 @echo " singlehtml to make a single large HTML file"
34 @echo " htmlhelp to make HTML files and a HTML help project"
35 @echo " qthelp to make HTML files and a qthelp project"
36 @echo " devhelp to make HTML files and a Devhelp project"

Completed in 83 milliseconds

1234