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
↓ 2 callers
Function
fio_channel_free
Frees a channel (reference counting). */
ext/iodine/fio.c:5976
↓ 2 callers
Function
fio_cli_set_arg
ext/iodine/fio_cli.c:121
↓ 2 callers
Function
fio_cluster_protocol_alloc
ext/iodine/fio.c:6903
↓ 2 callers
Function
fio_cluster_signal_children
Signals children (or self) to shutdown) - NOT signal safe. */
ext/iodine/fio.c:7358
↓ 2 callers
Function
fio_ct_if
Returns `a` if `cond` is boolean and true, returns b otherwise. */
ext/iodine/fio.h:2156
↓ 2 callers
Function
fio_ct_true
Returns 1 if the expression is true (input isn't zero). */
ext/iodine/fio.h:2144
↓ 2 callers
Function
fio_cycle_schedule_events
reactor pattern cycling - common actions */
ext/iodine/fio.c:4474
↓ 2 callers
Function
fio_defer_clear_tasks_for_queue
same as fio_defer_clear_queue , just inlined */
ext/iodine/fio.c:1251
↓ 2 callers
Function
fio_defer_thread_pool_new
creates a thread pool */
ext/iodine/fio.c:1376
↓ 2 callers
Function
fio_expected_concurrency
* Returns the number of expected threads / processes to be used by facil.io. * * The pointers should start with valid values that match the expected
ext/iodine/fio.c:1833
↓ 2 callers
Function
fio_flush
* `fio_flush` attempts to write any remaining data in the internal buffer to * the underlying file descriptor and closes the underlying file descript
ext/iodine/fio.c:3651
↓ 2 callers
Function
fio_ftoa
* A helper function that converts between a double to a string. * * No overflow guard is provided, make sure there's at least 130 bytes * available
ext/iodine/fio.c:5100
↓ 2 callers
Function
fio_handle2fd
ext/iodine/fio.c:2859
↓ 2 callers
Function
fio_io2str
ext/iodine/fiobj_data.c:203
↓ 2 callers
Function
fio_json_on_null
a NULL object was detected */
ext/iodine/fiobj_json.c:68
↓ 2 callers
Function
fio_json_on_string
a String was detected (int / float). update `pos` to point at ending */
ext/iodine/fiobj_json.c:88
↓ 2 callers
Function
fio_json_unescape_str
ext/iodine/fio_json_parser.h:638
↓ 2 callers
Function
fio_mem_init
ext/iodine/fio.c:7666
↓ 2 callers
Function
fio_message_metadata_callback_set
ext/iodine/fio.c:6486
↓ 2 callers
Function
fio_on_fork
Called within a child process after it starts. */
ext/iodine/fio.c:4227
↓ 2 callers
Function
fio_pending
* Returns the number of `fio_write` calls that are waiting in the socket's * queue and haven't been processed. */
ext/iodine/fio.c:3567
↓ 2 callers
Function
fio_poll_init
ext/iodine/fio.c:1967
↓ 2 callers
Function
fio_postoffice_meta_copy_free
frees a temporary copy created by postoffice_meta_copy_new */
ext/iodine/fio.c:6081
↓ 2 callers
Function
fio_postoffice_meta_copy_new
returns a temporary fio_meta_ary_s with a copy of the metadata array */
ext/iodine/fio.c:6069
↓ 2 callers
Function
fio_pubsub_attach
* Attaches an engine, so it's callback can be called by facil.io. * * The `subscribe` callback will be called for every existing channel. * * NOTE
ext/iodine/fio.c:6419
↓ 2 callers
Function
fio_pubsub_on_channel_create
runs in lock(!) let'm all know */
ext/iodine/fio.c:6378
↓ 2 callers
Function
fio_pubsub_on_fork
ext/iodine/fio.c:7319
↓ 2 callers
Function
fio_realloc2
ext/iodine/fio.c:7657
↓ 2 callers
Function
fio_rw_hook_set
Sets a socket hook state (a pointer to the struct). */
ext/iodine/fio.c:3870
↓ 2 callers
Function
fio_rw_hook_validate
ext/iodine/fio.c:3830
↓ 2 callers
Function
fio_send2cluster
ext/iodine/fio.c:7186
↓ 2 callers
Function
fio_sha2_openssl_speed_test
ext/iodine/fio.c:11146
↓ 2 callers
Function
fio_siphash24
ext/iodine/fio.c:8582
↓ 2 callers
Function
fio_siphash_xy
ext/iodine/fio.c:8496
↓ 2 callers
Function
fio_str_compact
Performs a best attempt at minimizing memory consumption. */
ext/iodine/fio.h:4101
↓ 2 callers
Function
fio_str_free2
* Frees the String's resources as well as the container. * * Note: the container is freed using `free`, make sure `malloc` was used to * allocate i
ext/iodine/fio.h:3865
↓ 2 callers
Function
fio_str_freeze
* Prevents further manipulations to the String's content. */
ext/iodine/fio.h:4585
↓ 2 callers
Function
fio_subscription_free
to be used for reference counting (subtructing) */
ext/iodine/fio.c:6275
↓ 2 callers
Function
fio_tcp_addr_cpy
ext/iodine/fio.c:2843
↓ 2 callers
Function
fio_tcp_socket
Creates a TCP/IP socket - returning it's uuid (or -1) */
ext/iodine/fio.c:3009
↓ 2 callers
Function
fio_thread_signal
wake up a single thread */
ext/iodine/fio.c:965
↓ 2 callers
Function
fio_timer_add_order
Places a timer in an ordered linked list. */
ext/iodine/fio.c:1497
↓ 2 callers
Function
fio_timer_calc_due
Calculates the due time for a task, given it's interval */
ext/iodine/fio.c:1442
↓ 2 callers
Function
fio_timer_compare
simple a<=>b if "a" is bigger a negative result is returned, eq == 0. */
ext/iodine/fio.c:1483
↓ 2 callers
Function
fio_tls_accept
* Establishes an SSL/TLS connection as an SSL/TLS Server, using the specified * context / settings object. * * The `uuid` should be a socket UUID t
ext/iodine/fio.c:5171
↓ 2 callers
Function
fio_tls_alpn_add
* Adds an ALPN protocol callback to the SSL/TLS context. * * The first protocol added will act as the default protocol to be selected. */
ext/iodine/http.c:48
↓ 2 callers
Function
fio_tls_attach2uuid
ext/iodine/fio_tls_missing.c:460
↓ 2 callers
Function
fio_tls_attach2uuid
ext/iodine/fio_tls_openssl.c:888
↓ 2 callers
Function
fio_tls_connect
* Establishes an SSL/TLS connection as an SSL/TLS Client, using the specified * context / settings object. * * The `uuid` should be a socket UUID t
ext/iodine/fio.c:5190
↓ 2 callers
Function
fio_tls_destroy_context
Called when the library specific data for the context should be destroyed */
ext/iodine/fio_tls_missing.c:240
↓ 2 callers
Function
fio_tls_destroy_context
Called when the library specific data for the context should be destroyed */
ext/iodine/fio_tls_openssl.c:396
↓ 2 callers
Function
fio_tls_flush
* When implemented, this function will be called to flush any data remaining * in the internal buffer. * * The function should return the number of
ext/iodine/fio_tls_missing.c:325
↓ 2 callers
Function
fio_tmpfile
ext/iodine/fio_tmpfile.h:25
↓ 2 callers
Function
fio_uuid_link
public API. */
ext/iodine/fio.c:692
↓ 2 callers
Function
fio_worker_cleanup
performs all clean-up / shutdown requirements except for the exit sequence */
ext/iodine/fio.c:4559
↓ 2 callers
Function
fio_worker_startup
TODO: fixme */
ext/iodine/fio.c:4526
↓ 2 callers
Function
fiobj2rb
ext/iodine/iodine_fiobj2rb.h:25
↓ 2 callers
Function
fiobj2resp___internal
ext/iodine/redis_engine.c:109
↓ 2 callers
Function
fiobj_ary_alloc
ext/iodine/fiobj_ary.c:81
↓ 2 callers
Function
fiobj_ary_set
* Sets an object at the requested position. */
ext/iodine/fiobj_ary.c:139
↓ 2 callers
Function
fiobj_data_assert_dynamic
* Makes sure the IO object isn't attached to a static or external string. * * If the IO object is attached to a static or external string, the data
ext/iodine/fiobj_data.c:941
↓ 2 callers
Function
fiobj_data_newstr
Creates a new local in-memory IO object */
ext/iodine/fiobj_data.c:331
↓ 2 callers
Function
fiobj_data_newtmpfile
Creates a new local tempfile IO object */
ext/iodine/fiobj_data.c:362
↓ 2 callers
Function
fiobj_data_slice
Creates a slice from an existing Data object. */
ext/iodine/fiobj_data.c:371
↓ 2 callers
Function
fiobj_hash_get
* Returns a temporary handle to the object associated with the Symbol, NULL * if none. */
ext/iodine/fiobj_hash.c:323
↓ 2 callers
Function
fiobj_iseq_simple
ext/iodine/fiobject.c:423
↓ 2 callers
Function
fiobj_mustache_find_obj_tree
ext/iodine/fiobj_mustache.c:88
↓ 2 callers
Function
fiobj_mustache_find_obj_tree
ext/iodine/iodine_mustache.c:95
↓ 2 callers
Function
fiobj_num_tmp
Creates a temporary Number object. This ignores `fiobj_free`. */
ext/iodine/fiobj_numbers.c:165
↓ 2 callers
Function
fiobj_str_freeze
Prevents the String object from being changed. */
ext/iodine/fiobj_str.c:211
↓ 2 callers
Function
fiobj_str_printf
* Writes data at the end of the string, resizing the string as required. * Returns the new length of the String */
ext/iodine/fiobj_str.c:283
↓ 2 callers
Function
fiobj_str_readfile
Dumps the `filename` file's contents at the end of a String. If `limit == * 0`, than the data will be read until EOF. * * If the file can't be loca
ext/iodine/fiobj_str.c:312
↓ 2 callers
Function
free_ws_buffer
ext/iodine/websockets.c:91
↓ 2 callers
Function
h1_reset
ext/iodine/http1.c:43
↓ 2 callers
Function
http1_atol
Converts a String to a number using base 10 */
ext/iodine/http1_parser.h:297
↓ 2 callers
Function
http1_consume_data
ext/iodine/http1.c:680
↓ 2 callers
Function
http1_on_body_chunk
called when a body chunk is parsed. */
ext/iodine/http1.c:646
↓ 2 callers
Function
http1_on_version
called when a the HTTP/1.x version is parsed. */
ext/iodine/http1.c:603
↓ 2 callers
Function
http_add2hash2
* Adds a named parameter to the hash, resolving nesting references. * * i.e.: * * * "name[]" references a nested Array (nested in the Hash). * *
ext/iodine/http.c:1598
↓ 2 callers
Function
http_decode_path
ext/iodine/http.c:2464
↓ 2 callers
Function
http_hijack
* Hijacks the socket away from the HTTP protocol and away from facil.io. */
ext/iodine/http.c:793
↓ 2 callers
Function
http_listen
ext/iodine/http.c:921
↓ 2 callers
Function
http_mimetype_stats
Registers a Mime-Type to be associated with the file extension. */
ext/iodine/http.c:2536
↓ 2 callers
Function
http_parse_cookies_cookie_str
ext/iodine/http.c:1495
↓ 2 callers
Function
http_parse_cookies_setcookie_str
ext/iodine/http.c:1521
↓ 2 callers
Function
http_send_body
* Sends the response headers and body. * * Returns -1 on error and 0 on success. * * AFTER THIS FUNCTION IS CALLED, THE `http_s` OBJECT IS NO LONG
ext/iodine/http.c:326
↓ 2 callers
Function
http_send_error2
ext/iodine/http_internal.c:97
↓ 2 callers
Function
http_set_header2
* Sets a response header. * * Returns -1 on error and 0 on success. */
ext/iodine/http.c:174
↓ 2 callers
Function
http_settings_new
ext/iodine/http.c:811
↓ 2 callers
Function
http_time2str
* Prints Unix time to a HTTP time formatted string. * * This variation implements cached results for faster processing, at the * price of a less ac
ext/iodine/http.c:2369
↓ 2 callers
Function
init_each_at_key_ptr
ext/iodine/fiobj_hash.c:79
↓ 2 callers
Function
init_num_str_buffer_ptr
ext/iodine/fiobj_numbers.c:246
↓ 2 callers
Function
init_num_vt_buffer_ptr
ext/iodine/fiobj_numbers.c:43
↓ 2 callers
Function
iodine_connect_args
Accepts: func(settings) Supported Settigs: - `:url` - `:handler` (deprecated: `app`) - `:service` (raw / ws / wss / http / https ) - `:address`
ext/iodine/iodine.c:671
↓ 2 callers
Function
iodine_connection_CData
ext/iodine/iodine_connection.h:48
↓ 2 callers
Function
iodine_connection_ruby2C
ext/iodine/iodine_connection.c:141
↓ 2 callers
Function
iodine_defer_run
* Runs a block of code asyncronously (adds the code to the event queue). * * Always returns the block of code to executed (Proc object). * * Code
ext/iodine/iodine_defer.c:202
↓ 2 callers
Function
iodine_join_io_thread
ext/iodine/iodine_defer.c:55
↓ 2 callers
Function
iodine_json_convert
ext/iodine/iodine_json.c:161
↓ 2 callers
Function
iodine_json_update_settings
ext/iodine/iodine_json.c:192
← previous
next →
301–400 of 1,281, ranked by callers