MCPcopy Create free account

hub / github.com/boazsegev/iodine / functions

Functions1,281 in github.com/boazsegev/iodine

↓ 4 callersFunctioniodine_pubsub_make_C_engine
ext/iodine/iodine_pubsub.c:231
↓ 4 callersFunctionmustache__data_segment_read
data segment serialization, reads data from raw stream. */
ext/iodine/mustache_parser.h:682
↓ 4 callersMethodon_open
(client)
examples/tcp_client.rb:29
↓ 4 callersFunctionredis_free
cleans up and frees the engine data. */
ext/iodine/redis_engine.c:85
↓ 4 callersFunctionredis_send_next_command_unsafe
send command within lock, to ensure flag integrity */
ext/iodine/redis_engine.c:316
↓ 4 callersFunctionsys_alloc
* allocates memory using `mmap`, but enforces block size alignment. * requires page aligned `len`. * * `align_shift` is used to move the memory pag
ext/iodine/fio.c:7760
↓ 4 callersFunctionwebsocket_close
Closes a websocket connection. */
ext/iodine/websockets.c:738
↓ 4 callersFunctionwebsocket_udata_get
Returns the opaque user data associated with the websocket. */
ext/iodine/websockets.c:708
↓ 4 callersFunctionwebsocket_xmask
Message masking ***************************************************************************** */ used internally to mask and unmask client messages. *
ext/iodine/websocket_parser.h:147
↓ 3 callersFunctionFIO_IGNORE_MACRO
* Schedules a protected connection task. The task will run within the * connection's lock. * * If an error ocuurs or the connection is closed befor
ext/iodine/fio.c:4206
↓ 3 callersFunctionadd_content_length
ext/iodine/http.c:69
↓ 3 callersFunctionadd_date
ext/iodine/http.c:91
↓ 3 callersFunctionbig_alloc
allocates directly from the system adding size header - no lock required. */
ext/iodine/fio.c:8107
↓ 3 callersFunctionblock_new
intializes the block header for an available block of memory. */
ext/iodine/fio.c:8029
↓ 3 callersFunctionfio_atol_skip_test
returns true if there's data to be skipped */
ext/iodine/fio.c:4791
↓ 3 callersFunctionfio_atol_skip_zero
ext/iodine/fio.c:4771
↓ 3 callersFunctionfio_base64_decode
This will decode a Base64 encoded string of a specified length (len) and place the decoded data into the target byte buffer (target). The target buff
ext/iodine/fio.c:9450
↓ 3 callersFunctionfio_calloc
ext/iodine/fio.c:7647
↓ 3 callersFunctionfio_channel_dup
Increases a channel's reference count. */
ext/iodine/fio.c:5984
↓ 3 callersFunctionfio_clear_handle
ext/iodine/fio.c:2906
↓ 3 callersFunctionfio_cluster_client_sender
ext/iodine/fio.c:7114
↓ 3 callersFunctionfio_cluster_data_cleanup
ext/iodine/fio.c:6699
↓ 3 callersFunctionfio_cluster_server_sender
ext/iodine/fio.c:6931
↓ 3 callersFunctionfio_defer_clear_tasks
ext/iodine/fio.c:1278
↓ 3 callersFunctionfio_defer_perform_single_task_for_queue
* Performs a single task from the queue, returning -1 if the queue was empty. */
ext/iodine/fio.c:1269
↓ 3 callersFunctionfio_defer_thread_pool_join
joins a thread pool */
ext/iodine/fio.c:1368
↓ 3 callersFunctionfio_detect_cpu_cores
ext/iodine/fio.c:1807
↓ 3 callersFunctionfio_engine
* Returns a C string detailing the IO engine selected during compilation. * * Valid values are "kqueue", "epoll" and "poll". */
ext/iodine/fio.c:1953
↓ 3 callersFunctionfio_fd2uuid
public API. */
ext/iodine/fio.c:597
↓ 3 callersFunctionfio_filter_dup_lock_internal
some comon tasks extracted */
ext/iodine/fio.c:6194
↓ 3 callersFunctionfio_json_parse
* Returns the number of bytes consumed. Stops as close as possible to the end * of the buffer or once an object parsing was completed. */
ext/iodine/fio_json_parser.h:310
↓ 3 callersFunctionfio_ls_embd_unshift
Adds a node to the list's tail. */
ext/iodine/fio.h:3289
↓ 3 callersFunctionfio_msg_internal_send_dup
ext/iodine/fio.c:6173
↓ 3 callersFunctionfio_poll
ext/iodine/fio.c:2040
↓ 3 callersFunctionfio_pubsub_reattach
* Engines can ask facil.io to call the `subscribe` callback for all active * channels. * * This allows engines that lost their connection to their
ext/iodine/fio.c:6459
↓ 3 callersFunctionfio_rw_hook_replace_unsafe
* Replaces an existing read/write hook with another from within a read/write * hook callback. * * Does NOT call any cleanup callbacks. * * Return
ext/iodine/fio.c:3851
↓ 3 callersFunctionfio_siphash_xy
ext/iodine/fio_siphash.c:39
↓ 3 callersFunctionfio_state_callback_ensure
ext/iodine/fio.c:4038
↓ 3 callersFunctionfio_str_utf8_valid
Returns 1 if the String is UTF-8 valid and 0 if not. */
ext/iodine/fio.h:4209
↓ 3 callersFunctionfio_thread_new
OVERRIDE THIS to replace the default pthread implementation. */
ext/iodine/iodine_defer.c:129
↓ 3 callersFunctionfio_tls_build_context
Called when the library specific data for the context should be built */
ext/iodine/fio_tls_missing.c:246
↓ 3 callersFunctionfio_tls_build_context
Called when the library specific data for the context should be built */
ext/iodine/fio_tls_openssl.c:422
↓ 3 callersFunctionfio_tls_dup
* Increase the reference count for the TLS object. * * Decrease with `fio_tls_destroy`. */
ext/iodine/fio.c:5204
↓ 3 callersFunctionfio_tls_handshake
ext/iodine/fio_tls_missing.c:409
↓ 3 callersFunctionfio_tls_handshake
ext/iodine/fio_tls_openssl.c:703
↓ 3 callersFunctionfio_touch
public API. */
ext/iodine/fio.c:632
↓ 3 callersFunctionfio_url_parse
* Parses the URI returning it's components and their lengths (no decoding * performed, doesn't accept decoded URIs). * * The returned string are NO
ext/iodine/fio.c:5629
↓ 3 callersFunctionfio_write
* `fio_write` copies `legnth` data from the buffer and schedules the data to * be sent over the socket. * * The data isn't necessarily written to t
ext/iodine/fio.h:1250
↓ 3 callersFunctionfiobj_ary_shift
Shifts an object from the beginning of the Array. */
ext/iodine/fiobj_ary.c:176
↓ 3 callersFunctionfiobj_mustache_find_obj
ext/iodine/fiobj_mustache.c:102
↓ 3 callersFunctionfiobj_mustache_find_obj
ext/iodine/iodine_mustache.c:108
↓ 3 callersFunctionfiobj_mustache_find_obj_absolute
ext/iodine/fiobj_mustache.c:80
↓ 3 callersFunctionfiobj_mustache_find_obj_absolute
ext/iodine/iodine_mustache.c:60
↓ 3 callersFunctionfiobj_str_hash
* Calculates a String's SipHash value for use as a HashMap key. */
ext/iodine/fiobj_str.c:337
↓ 3 callersFunctionget_data
ext/iodine/iodine_rack_io.c:82
↓ 3 callersFunctionheaders2str
ext/iodine/http1.c:98
↓ 3 callersFunctionhpack_string_unpack
ext/iodine/hpack.h:271
↓ 3 callersFunctionhttp1_new
Creates an HTTP1 protocol object and handles any unread data in the buffer * (if any). */
ext/iodine/http1.c:785
↓ 3 callersFunctionhttp1_on_path
called when a request path (excluding query) is parsed. */
ext/iodine/http1.c:590
↓ 3 callersFunctionhttp1_vtable
ext/iodine/http1.c:545
↓ 3 callersFunctionhttp_date2str
Writes an HTTP date string to the `target` buffer. This requires ~32 bytes of space to be available at the target buffer (unless it's a super funky y
ext/iodine/http.h:922
↓ 3 callersFunctionhttp_mime_parser_on_partial_data
Called when partial data is available. */
ext/iodine/http.c:1871
↓ 3 callersFunctionhttp_sendfile2
* Sends the response headers and the specified file (the response's body). * * Returns -1 eton error and 0 on success. * * AFTER THIS FUNCTION IS
ext/iodine/http.c:379
↓ 3 callersFunctionhttp_settings_free
ext/iodine/http.c:867
↓ 3 callersFunctionhttp_sse_copy2str
ext/iodine/http.c:1214
↓ 3 callersFunctionhttp_sse_try_free
ext/iodine/http_internal.h:178
↓ 3 callersFunctionhttp_tolower
ext/iodine/http1_parser.h:287
↓ 3 callersFunctionhttp_upgrade2ws
ext/iodine/http.c:689
↓ 3 callersFunctioniodine_connect_args_cleanup
cleans up any resources used by the argument list processing */
ext/iodine/iodine.c:630
↓ 3 callersFunctioniodine_enterGVL
Calls a C function within the GVL. */
ext/iodine/iodine_caller.c:107
↓ 3 callersFunctionmustache_free
free the mustache template */
ext/iodine/mustache_parser.h:125
↓ 3 callersFunctionmustache_write_text
* This helper function should be used to write text to the output * stream (often used within the `mustache_on_arg` callback). */
ext/iodine/mustache_parser.h:607
↓ 3 callersMethodon_shutdown
@deprecated use {Iodine.on_state}. Sets a block of code to run once a Worker process shuts down (both in single process mode and cluster mode).
lib/iodine.rb:121
↓ 3 callersFunctionredis_attach_cmd
attach a command to the queue */
ext/iodine/redis_engine.c:329
↓ 3 callersFunctionredis_internal_reset
releases any resources used by an internal engine*/
ext/iodine/redis_engine.c:72
↓ 3 callersFunctionresp_on_end_string
a local static callback, called when a String object had finished * streaming. */
ext/iodine/redis_engine.c:260
↓ 3 callersFunctionresp_on_start_string
* a local static callback, called when a String should be allocated. * * `str_len` is the expected number of bytes that will fill the final string
ext/iodine/redis_engine.c:246
↓ 3 callersFunctionresp_on_string_chunk
a local static callback, called as String objects are streamed. */
ext/iodine/redis_engine.c:252
↓ 3 callersFunctionswallow_ch
* This seems to be faster on some systems, especially for smaller distances. * * On newer systems, `memchr` should be faster. */
ext/iodine/fiobj_data.c:258
↓ 3 callersFunctionsys_free
frees memory using `munmap`. requires exact, page aligned, `len` */
ext/iodine/fio.c:7801
↓ 3 callersFunctionwebsocket_buffer_peek
* Returns all known information regarding the upcoming message. * * @returns a struct websocket_packet_info_s. * * On protocol error, the `head_le
ext/iodine/websocket_parser.h:385
↓ 3 callersFunctionwebsocket_on_protocol_error
ext/iodine/websockets.c:210
↓ 3 callersFunctionwebsocket_on_pubsub_message_direct_internal
ext/iodine/websockets.c:544
↓ 3 callersFunctionwebsocket_on_unwrapped
ext/iodine/websockets.c:156
↓ 3 callersFunctionwebsocket_optimize
ext/iodine/websockets.c:426
↓ 3 callersFunctionwebsocket_server_wrap
* Wraps a WebSocket server message and writes it to the target buffer. * * The `first` and `last` flags can be used to support message fragmentation
ext/iodine/websocket_parser.h:293
↓ 3 callersFunctionwebsocket_write
Writes data to the websocket. Returns -1 on failure (0 on success). */
ext/iodine/websockets.c:729
↓ 2 callersFunctionalpn_default
Returns a pointer to the default (first) ALPN object in the TLS (if any). */
ext/iodine/fio_tls_missing.c:200
↓ 2 callersFunctionalpn_find
Returns a pointer to the ALPN data (callback, etc') IF exists in the TLS. */
ext/iodine/fio_tls_openssl.c:160
↓ 2 callersFunctionalpn_select
Schedules the ALPN protocol callback. */
ext/iodine/fio_tls_missing.c:221
↓ 2 callersFunctionbig_free
reads size header and frees memory back to the system */
ext/iodine/fio.c:8119
↓ 2 callersFunctionblock_init_root
ext/iodine/fio.c:7976
↓ 2 callersFunctionblock_slice_free
handle's a bock's reference count - called without a lock */
ext/iodine/fio.c:8096
↓ 2 callersFunctiondeferred_on_ready
ext/iodine/fio.c:2683
↓ 2 callersFunctionfio_atof
A helper function that converts between String data to a signed double. */
ext/iodine/fio.c:4914
↓ 2 callersFunctionfio_atol_consume
consumes any digits in the string (base 2-10), returning their value */
ext/iodine/fio.c:4780
↓ 2 callersFunctionfio_atol_skip_hex_test
returns true if there's data to be skipped */
ext/iodine/fio.c:4826
↓ 2 callersFunctionfio_attach__internal
managing the protocol pointer array and the `on_close` callback */
ext/iodine/fio.c:3931
↓ 2 callersFunctionfio_base64_encode_internal
* The actual encoding logic. The map can be switched for encoding variations. */
ext/iodine/fio.c:9361
↓ 2 callersFunctionfio_channel_find_dup_internal
common internal tasks */
ext/iodine/fio.c:6514
← previousnext →201–300 of 1,281, ranked by callers