MCPcopy Create free account

hub / github.com/boazsegev/iodine / functions

Functions1,281 in github.com/boazsegev/iodine

↓ 7 callersFunctionfio_parent_pid
returns facil.io's parent (root) process pid. */
ext/iodine/fio.c:1805
↓ 7 callersFunctionfio_publish2process
Publishes the message to the current process and frees the strings. */
ext/iodine/fio.c:6616
↓ 7 callersFunctionfio_read
* `fio_read` attempts to read up to count bytes from the socket into the * buffer starting at `buffer`. * * `fio_read`'s return values are wildly d
ext/iodine/fio.c:3463
↓ 7 callersFunctionfio_timer_clear_all
ext/iodine/fio.c:1543
↓ 7 callersFunctionfiobj_data_get_fd_size
ext/iodine/fiobj_data.c:66
↓ 7 callersFunctionfiobj_data_pre_write
ext/iodine/fiobj_data.c:140
↓ 7 callersFunctionfiobj_data_pread
* Reads up to `length` bytes starting at `start_at` position and returns a * temporary(!) C string object. The reading position is ignored and * unc
ext/iodine/fiobj_data.c:909
↓ 7 callersFunctionfiobj_data_read
* Reads up to `length` bytes and returns a temporary(!) C string object. * * The C string object will be invalidate the next time a function call to
ext/iodine/fiobj_data.c:598
↓ 7 callersFunctionhttp_urlstr2fiobj
URL decodes a string, returning a `FIOBJ`. */
ext/iodine/http.c:1423
↓ 7 callersFunctionprotocol_unlock
See `fio_protocol_try_lock` for details. */
ext/iodine/fio.c:566
↓ 7 callersFunctionwebsocket_optimize4broadcasts
* Enables (or disables) broadcast optimizations. * * When using WebSocket pub/sub system is originally optimized for either * non-direct transmissi
ext/iodine/websockets.c:500
↓ 6 callersFunctionfio_accept
* `fio_accept` accepts a new socket connection from a server socket - see the * server flag on `fio_socket`. * * NOTE: this function does NOT attac
ext/iodine/fio.c:2921
↓ 6 callersFunctionfio_ls_any
Tests if the list is NOT empty (contains any nodes). */
ext/iodine/fio.h:3370
↓ 6 callersFunctionfio_poll_remove_read
ext/iodine/fio.c:2280
↓ 6 callersFunctionfio_poll_remove_write
ext/iodine/fio.c:2290
↓ 6 callersFunctionfio_reschedule_thread
* Nanosleep seems to be the most effective and efficient thread rescheduler. */
ext/iodine/fio.h:3008
↓ 6 callersFunctionfio_sha1_result
ext/iodine/fio.c:8763
↓ 6 callersFunctionfio_sha1_write
Writes data to the sha1 buffer. */
ext/iodine/fio.c:8738
↓ 6 callersFunctionfio_state_callback_clear
Clears all the existing callbacks for the event. */
ext/iodine/fio.c:4144
↓ 6 callersFunctionfio_state_callback_remove
Removes a callback from the list of callbacks to be called for the event. */
ext/iodine/fio.c:4063
↓ 6 callersFunctionfiobj_data_len
* Returns the length of the stream. */
ext/iodine/fiobj_data.c:754
↓ 6 callersFunctionfiobj_hash_new2
* Creates a mutable empty Hash object with an initial capacity of `capa`. Use * `fiobj_free` when done. * * Notice that these Hash objects are desi
ext/iodine/fiobj_hash.c:201
↓ 6 callersFunctionfiobj_str_tmp
* Returns a thread-static temporary string. Avoid calling `fiobj_dup` or * `fiobj_free`. */
ext/iodine/fiobj_str.c:198
↓ 6 callersFunctionhpack_huffman_unpack
ext/iodine/hpack.h:307
↓ 6 callersFunctionhttp1_after_finish
cleanup an HTTP/1.1 handler object */
ext/iodine/http1.c:51
↓ 6 callersFunctionhttp1_on_header
called when a header is parsed. */
ext/iodine/http1.c:616
↓ 6 callersFunctionhttp_settings
* Returns the settings used to setup the connection. * * Returns NULL on error (i.e., connection was lost). */
ext/iodine/http.c:952
↓ 6 callersMethodon_message
(client, data)
examples/tcp_client.rb:37
↓ 6 callersFunctionprotocol_try_lock
locks a connection's protocol returns a pointer that need to be unlocked. */
ext/iodine/fio.c:542
↓ 5 callersFunctionalpn_select
Schedules the ALPN protocol callback. */
ext/iodine/fio_tls_openssl.c:218
↓ 5 callersFunctionblock_free
intializes the block header for an available block of memory. */
ext/iodine/fio.c:7998
↓ 5 callersFunctionfio_cli_set
* Sets the argument's value as a NUL terminated C String (no copy!). * * Note: this does NOT copy the C strings to memory. Memory should be kept *
ext/iodine/fio_cli.c:428
↓ 5 callersFunctionfio_ls_push
Adds an object to the list's head. */
ext/iodine/fio.h:3336
↓ 5 callersFunctionfio_ls_remove
Removes an object from the containing node. */
ext/iodine/fio.h:3323
↓ 5 callersFunctionfio_mmap
ext/iodine/fio.c:7662
↓ 5 callersFunctionfio_poll_add_write
ext/iodine/fio.c:2019
↓ 5 callersFunctionfio_protocol_try_lock
public API. */
ext/iodine/fio.c:578
↓ 5 callersFunctionfio_protocol_unlock
public API. */
ext/iodine/fio.c:588
↓ 5 callersFunctionfio_set_non_block
Sets a socket to non blocking state. This function is called automatically for the new socket, when using `fio_accept` or `fio_connect`. */
ext/iodine/fio.c:2822
↓ 5 callersFunctionfio_sha1_init
Initialize or reset the `sha1` object. This must be performed before hashing data using sha1. */
ext/iodine/fio.c:8727
↓ 5 callersFunctionfio_sock_packet_rotate_unsafe
ext/iodine/fio.c:3315
↓ 5 callersFunctionfio_str_utf8_select
* Takes a UTF-8 character selection information (UTF-8 position and length) and * updates the same variables so they reference the raw byte slice inf
ext/iodine/fio.h:4255
↓ 5 callersFunctionfiobj_ary_pop
Pops an object from the end of the Array. */
ext/iodine/fiobj_ary.c:159
↓ 5 callersFunctionfiobj_data_seek
* Moves the reading position to the requested position. */
ext/iodine/fiobj_data.c:763
↓ 5 callersFunctionfiobj_float_new
Creates a Float object. Remember to use `fiobj_free`. */
ext/iodine/fiobj_numbers.c:184
↓ 5 callersFunctionhex2byte
ext/iodine/http.c:2404
↓ 5 callersFunctionhpack_int_unpack
ext/iodine/hpack.h:208
↓ 5 callersFunctionhttp_decode_url
ext/iodine/http.c:2421
↓ 5 callersFunctionhttp_gmtime
A faster (yet less localized) alternative to `gmtime_r`. See the libc `gmtime_r` documentation for details. Falls back to `gmtime_r` for dates befor
ext/iodine/http.c:2101
↓ 5 callersFunctionhttp_mimetype_find
* Finds the mime-type associated with the file extension. * Remember to call `fiobj_free`. */
ext/iodine/http.c:2546
↓ 5 callersFunctioniodine_tcp_attch_uuid
assigns a protocol and IO object to a handler */
ext/iodine/iodine_tcp.c:313
↓ 5 callersFunctioniodine_tls2c
ext/iodine/iodine_tls.c:72
↓ 5 callersFunctionmustache__data_segment_length
ext/iodine/mustache_parser.h:677
↓ 5 callersFunctionmustache__stand_alone_adjust
ext/iodine/mustache_parser.h:696
↓ 5 callersFunctionpwrite
ext/iodine/fio.c:248
↓ 5 callersFunctionresp_add_obj
a local helper to add parsed objects to the data store. */
ext/iodine/redis_engine.c:204
↓ 5 callersFunctionset_header_add
sets an outgoing header, collecting duplicates in an Array (i.e. cookies) */
ext/iodine/http_internal.h:210
↓ 4 callersFunctionalpn_default
Returns a pointer to the default (first) ALPN object in the TLS (if any). */
ext/iodine/fio_tls_openssl.c:193
↓ 4 callersFunctionfio_capa
* Returns the maximum number of open files facil.io can handle per worker * process. * * Total OS limits might apply as well but aren't shown. *
ext/iodine/fio.c:446
↓ 4 callersFunctionfio_cli_end
ext/iodine/fio_cli.c:380
↓ 4 callersFunctionfio_cluster_inform_root_about_channel
ext/iodine/fio.c:7206
↓ 4 callersFunctionfio_defer_has_queue
Returns true if there are deferred functions waiting for execution. */
ext/iodine/fio.c:1333
↓ 4 callersFunctionfio_force_close_in_poll
ext/iodine/fio.c:529
↓ 4 callersFunctionfio_is_master
* Returns 1 if the current process is the master (root) process. * * Otherwise returns 0. */
ext/iodine/fio.c:1800
↓ 4 callersFunctionfio_ls_pop
Removes an object from the list's head. */
ext/iodine/fio.h:3355
↓ 4 callersFunctionfio_mark_time
Marks the current time as facil.io's cycle time */
ext/iodine/fio.c:1437
↓ 4 callersFunctionfio_memcpy
used internally, only when memory addresses are known to be aligned */
ext/iodine/fio.c:7675
↓ 4 callersFunctionfio_message_defer
defers the callback (mark only) */
ext/iodine/fio.c:6547
↓ 4 callersFunctionfio_message_metadata
Finds the message's metadata by it's type ID. */
ext/iodine/fio.c:6498
↓ 4 callersFunctionfio_packet_free
ext/iodine/fio.c:456
↓ 4 callersFunctionfio_poll_add2
ext/iodine/fio.c:1990
↓ 4 callersFunctionfio_poll_add_read
ext/iodine/fio.c:2013
↓ 4 callersFunctionfio_poll_close
ext/iodine/fio.c:1958
↓ 4 callersFunctionfio_pubsub_detach
Detaches an engine, so it could be safely destroyed. */
ext/iodine/fio.c:6427
↓ 4 callersFunctionfio_sha1_perform_all_rounds
Process the buffer once full. */
ext/iodine/fio.c:8601
↓ 4 callersFunctionfio_sha2_speed_test
ext/iodine/fio.c:11112
↓ 4 callersFunctionfio_str_hash
* Return's the String's Risky Hash (see fio_risky_hash). * * This value is machine/instance specific (hash seed is a memory address). * * NOTE: th
ext/iodine/fio.h:3996
↓ 4 callersFunctionfio_str_new2
* Allocates a new fio_str_s object on the heap and initializes it. * * Use `fio_str_free2` to free both the String data and the container. * * NOT
ext/iodine/fio.h:3795
↓ 4 callersFunctionfio_str_utf8_len
Returns the String's length in UTF-8 characters. */
ext/iodine/fio.h:4224
↓ 4 callersFunctionfio_suspend
ext/iodine/fio.c:2775
↓ 4 callersFunctionfio_throttle_thread
Nanosleep the thread - a blocking throttle. */
ext/iodine/fio.h:3014
↓ 4 callersFunctionfio_timer_schedule
schedules all timers that are due to be performed. */
ext/iodine/fio.c:1529
↓ 4 callersFunctionfio_tls_alpn_count
* Returns the number of registered ALPN protocol names. * * This could be used when deciding if protocol selection should be delegated to * the ALP
ext/iodine/fio.c:5156
↓ 4 callersFunctionfio_tls_cert_add
* Adds a certificate a new SSL/TLS context / settings object. */
ext/iodine/fio_tls_missing.c:502
↓ 4 callersFunctionfio_tls_destroy
* Destroys the SSL/TLS context / settings object and frees any related * resources / memory. */
ext/iodine/fio.c:5215
↓ 4 callersFunctionfiobj_ary_new
Creates a mutable empty Array object. Use `fiobj_free` when done. */
ext/iodine/fiobj_ary.c:100
↓ 4 callersFunctionfiobj_data_alloc
ext/iodine/fiobj_data.c:159
↓ 4 callersFunctionfiobj_data_i
ext/iodine/fiobj_data.c:190
↓ 4 callersFunctionfiobj_data_write
* Writes `length` bytes at the end of the IO stream, ignoring the reading * position. * * Behaves and returns the same value as the system call `wr
ext/iodine/fiobj_data.c:957
↓ 4 callersFunctionfiobj_each2
* Single layer iteration using a callback for each nested fio object. * * Accepts any `FIOBJ ` type but only collections (Arrays and Hashes) are *
ext/iodine/fiobject.c:341
↓ 4 callersFunctionfiobj_hash_delete2
* Deletes a key-value pair from the Hash, if it exists, freeing the * associated object. * * This function takes a `uintptr_t` Hash value (see `fio
ext/iodine/fiobj_hash.c:315
↓ 4 callersFunctionfiobj_obj2float
* Returns a Float's value. * * If a String or Symbol are passed to the function, they will be * parsed assuming base 10 numerical data. * * Hashe
ext/iodine/fiobject.h:579
↓ 4 callersFunctionfiobj_obj2json
Formats an object into a JSON string. Remember to `fiobj_free`. */
ext/iodine/fiobj_json.c:441
↓ 4 callersFunctionfiobj_type_name
Returns a C string naming the objects dynamic type. */
ext/iodine/fiobject.h:412
↓ 4 callersFunctionhpack_huffman_pack
ext/iodine/hpack.h:348
↓ 4 callersFunctionhpack_int_pack
ext/iodine/hpack.h:159
↓ 4 callersFunctionhttp_s_destroy
ext/iodine/http_internal.h:110
↓ 4 callersFunctionhttp_s_new
ext/iodine/http_internal.h:95
↓ 4 callersFunctionhttp_sse_write
* Writes data to an EventSource (SSE) connection. */
ext/iodine/http.c:1355
↓ 4 callersFunctioninit_iodine_GVL_state_init
ext/iodine/iodine_caller.c:15
← previousnext →101–200 of 1,281, ranked by callers