Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boazsegev/iodine
/ functions
Functions
1,281 in github.com/boazsegev/iodine
⨍
Functions
1,281
◇
Types & classes
139
↓ 4 callers
Function
iodine_pubsub_make_C_engine
ext/iodine/iodine_pubsub.c:231
↓ 4 callers
Function
mustache__data_segment_read
data segment serialization, reads data from raw stream. */
ext/iodine/mustache_parser.h:682
↓ 4 callers
Method
on_open
(client)
examples/tcp_client.rb:29
↓ 4 callers
Function
redis_free
cleans up and frees the engine data. */
ext/iodine/redis_engine.c:85
↓ 4 callers
Function
redis_send_next_command_unsafe
send command within lock, to ensure flag integrity */
ext/iodine/redis_engine.c:316
↓ 4 callers
Function
sys_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 callers
Function
websocket_close
Closes a websocket connection. */
ext/iodine/websockets.c:738
↓ 4 callers
Function
websocket_udata_get
Returns the opaque user data associated with the websocket. */
ext/iodine/websockets.c:708
↓ 4 callers
Function
websocket_xmask
Message masking ***************************************************************************** */ used internally to mask and unmask client messages. *
ext/iodine/websocket_parser.h:147
↓ 3 callers
Function
FIO_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 callers
Function
add_content_length
ext/iodine/http.c:69
↓ 3 callers
Function
add_date
ext/iodine/http.c:91
↓ 3 callers
Function
big_alloc
allocates directly from the system adding size header - no lock required. */
ext/iodine/fio.c:8107
↓ 3 callers
Function
block_new
intializes the block header for an available block of memory. */
ext/iodine/fio.c:8029
↓ 3 callers
Function
fio_atol_skip_test
returns true if there's data to be skipped */
ext/iodine/fio.c:4791
↓ 3 callers
Function
fio_atol_skip_zero
ext/iodine/fio.c:4771
↓ 3 callers
Function
fio_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 callers
Function
fio_calloc
ext/iodine/fio.c:7647
↓ 3 callers
Function
fio_channel_dup
Increases a channel's reference count. */
ext/iodine/fio.c:5984
↓ 3 callers
Function
fio_clear_handle
ext/iodine/fio.c:2906
↓ 3 callers
Function
fio_cluster_client_sender
ext/iodine/fio.c:7114
↓ 3 callers
Function
fio_cluster_data_cleanup
ext/iodine/fio.c:6699
↓ 3 callers
Function
fio_cluster_server_sender
ext/iodine/fio.c:6931
↓ 3 callers
Function
fio_defer_clear_tasks
ext/iodine/fio.c:1278
↓ 3 callers
Function
fio_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 callers
Function
fio_defer_thread_pool_join
joins a thread pool */
ext/iodine/fio.c:1368
↓ 3 callers
Function
fio_detect_cpu_cores
ext/iodine/fio.c:1807
↓ 3 callers
Function
fio_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 callers
Function
fio_fd2uuid
public API. */
ext/iodine/fio.c:597
↓ 3 callers
Function
fio_filter_dup_lock_internal
some comon tasks extracted */
ext/iodine/fio.c:6194
↓ 3 callers
Function
fio_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 callers
Function
fio_ls_embd_unshift
Adds a node to the list's tail. */
ext/iodine/fio.h:3289
↓ 3 callers
Function
fio_msg_internal_send_dup
ext/iodine/fio.c:6173
↓ 3 callers
Function
fio_poll
ext/iodine/fio.c:2040
↓ 3 callers
Function
fio_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 callers
Function
fio_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 callers
Function
fio_siphash_xy
ext/iodine/fio_siphash.c:39
↓ 3 callers
Function
fio_state_callback_ensure
ext/iodine/fio.c:4038
↓ 3 callers
Function
fio_str_utf8_valid
Returns 1 if the String is UTF-8 valid and 0 if not. */
ext/iodine/fio.h:4209
↓ 3 callers
Function
fio_thread_new
OVERRIDE THIS to replace the default pthread implementation. */
ext/iodine/iodine_defer.c:129
↓ 3 callers
Function
fio_tls_build_context
Called when the library specific data for the context should be built */
ext/iodine/fio_tls_missing.c:246
↓ 3 callers
Function
fio_tls_build_context
Called when the library specific data for the context should be built */
ext/iodine/fio_tls_openssl.c:422
↓ 3 callers
Function
fio_tls_dup
* Increase the reference count for the TLS object. * * Decrease with `fio_tls_destroy`. */
ext/iodine/fio.c:5204
↓ 3 callers
Function
fio_tls_handshake
ext/iodine/fio_tls_missing.c:409
↓ 3 callers
Function
fio_tls_handshake
ext/iodine/fio_tls_openssl.c:703
↓ 3 callers
Function
fio_touch
public API. */
ext/iodine/fio.c:632
↓ 3 callers
Function
fio_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 callers
Function
fio_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 callers
Function
fiobj_ary_shift
Shifts an object from the beginning of the Array. */
ext/iodine/fiobj_ary.c:176
↓ 3 callers
Function
fiobj_mustache_find_obj
ext/iodine/fiobj_mustache.c:102
↓ 3 callers
Function
fiobj_mustache_find_obj
ext/iodine/iodine_mustache.c:108
↓ 3 callers
Function
fiobj_mustache_find_obj_absolute
ext/iodine/fiobj_mustache.c:80
↓ 3 callers
Function
fiobj_mustache_find_obj_absolute
ext/iodine/iodine_mustache.c:60
↓ 3 callers
Function
fiobj_str_hash
* Calculates a String's SipHash value for use as a HashMap key. */
ext/iodine/fiobj_str.c:337
↓ 3 callers
Function
get_data
ext/iodine/iodine_rack_io.c:82
↓ 3 callers
Function
headers2str
ext/iodine/http1.c:98
↓ 3 callers
Function
hpack_string_unpack
ext/iodine/hpack.h:271
↓ 3 callers
Function
http1_new
Creates an HTTP1 protocol object and handles any unread data in the buffer * (if any). */
ext/iodine/http1.c:785
↓ 3 callers
Function
http1_on_path
called when a request path (excluding query) is parsed. */
ext/iodine/http1.c:590
↓ 3 callers
Function
http1_vtable
ext/iodine/http1.c:545
↓ 3 callers
Function
http_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 callers
Function
http_mime_parser_on_partial_data
Called when partial data is available. */
ext/iodine/http.c:1871
↓ 3 callers
Function
http_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 callers
Function
http_settings_free
ext/iodine/http.c:867
↓ 3 callers
Function
http_sse_copy2str
ext/iodine/http.c:1214
↓ 3 callers
Function
http_sse_try_free
ext/iodine/http_internal.h:178
↓ 3 callers
Function
http_tolower
ext/iodine/http1_parser.h:287
↓ 3 callers
Function
http_upgrade2ws
ext/iodine/http.c:689
↓ 3 callers
Function
iodine_connect_args_cleanup
cleans up any resources used by the argument list processing */
ext/iodine/iodine.c:630
↓ 3 callers
Function
iodine_enterGVL
Calls a C function within the GVL. */
ext/iodine/iodine_caller.c:107
↓ 3 callers
Function
mustache_free
free the mustache template */
ext/iodine/mustache_parser.h:125
↓ 3 callers
Function
mustache_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 callers
Method
on_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 callers
Function
redis_attach_cmd
attach a command to the queue */
ext/iodine/redis_engine.c:329
↓ 3 callers
Function
redis_internal_reset
releases any resources used by an internal engine*/
ext/iodine/redis_engine.c:72
↓ 3 callers
Function
resp_on_end_string
a local static callback, called when a String object had finished * streaming. */
ext/iodine/redis_engine.c:260
↓ 3 callers
Function
resp_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 callers
Function
resp_on_string_chunk
a local static callback, called as String objects are streamed. */
ext/iodine/redis_engine.c:252
↓ 3 callers
Function
swallow_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 callers
Function
sys_free
frees memory using `munmap`. requires exact, page aligned, `len` */
ext/iodine/fio.c:7801
↓ 3 callers
Function
websocket_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 callers
Function
websocket_on_protocol_error
ext/iodine/websockets.c:210
↓ 3 callers
Function
websocket_on_pubsub_message_direct_internal
ext/iodine/websockets.c:544
↓ 3 callers
Function
websocket_on_unwrapped
ext/iodine/websockets.c:156
↓ 3 callers
Function
websocket_optimize
ext/iodine/websockets.c:426
↓ 3 callers
Function
websocket_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 callers
Function
websocket_write
Writes data to the websocket. Returns -1 on failure (0 on success). */
ext/iodine/websockets.c:729
↓ 2 callers
Function
alpn_default
Returns a pointer to the default (first) ALPN object in the TLS (if any). */
ext/iodine/fio_tls_missing.c:200
↓ 2 callers
Function
alpn_find
Returns a pointer to the ALPN data (callback, etc') IF exists in the TLS. */
ext/iodine/fio_tls_openssl.c:160
↓ 2 callers
Function
alpn_select
Schedules the ALPN protocol callback. */
ext/iodine/fio_tls_missing.c:221
↓ 2 callers
Function
big_free
reads size header and frees memory back to the system */
ext/iodine/fio.c:8119
↓ 2 callers
Function
block_init_root
ext/iodine/fio.c:7976
↓ 2 callers
Function
block_slice_free
handle's a bock's reference count - called without a lock */
ext/iodine/fio.c:8096
↓ 2 callers
Function
deferred_on_ready
ext/iodine/fio.c:2683
↓ 2 callers
Function
fio_atof
A helper function that converts between String data to a signed double. */
ext/iodine/fio.c:4914
↓ 2 callers
Function
fio_atol_consume
consumes any digits in the string (base 2-10), returning their value */
ext/iodine/fio.c:4780
↓ 2 callers
Function
fio_atol_skip_hex_test
returns true if there's data to be skipped */
ext/iodine/fio.c:4826
↓ 2 callers
Function
fio_attach__internal
managing the protocol pointer array and the `on_close` callback */
ext/iodine/fio.c:3931
↓ 2 callers
Function
fio_base64_encode_internal
* The actual encoding logic. The map can be switched for encoding variations. */
ext/iodine/fio.c:9361
↓ 2 callers
Function
fio_channel_find_dup_internal
common internal tasks */
ext/iodine/fio.c:6514
← previous
next →
201–300 of 1,281, ranked by callers