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
↓ 1 callers
Function
iodine_workers_set
* Sets the number of worker processes that will be used when {Iodine.start} * is called. * * Negative numbers are translated as fractions of the nu
ext/iodine/iodine.c:231
↓ 1 callers
Function
iodine_ws_attach
ext/iodine/iodine_http.c:199
↓ 1 callers
Function
iodine_ws_connect
Connects to a (remote) WebSocket service. */
ext/iodine/iodine_http.c:1072
↓ 1 callers
Function
mustache__data_segment_write
data segment serialization, returns the number of bytes written. */
ext/iodine/mustache_parser.h:657
↓ 1 callers
Function
mustache__file_is_loaded
* Returns the instruction's position if the template is already existing. * * Returns `(uint32_t)-1` if the template is missing (not loaded, yet).
ext/iodine/mustache_parser.h:786
↓ 1 callers
Function
mustache__write_escaped
* used internally to write escaped text rather than clear text. */
ext/iodine/mustache_parser.h:502
↓ 1 callers
Function
mustache_on_formatting_error
* Called for cleanup in case of error. */
ext/iodine/fiobj_mustache.c:231
↓ 1 callers
Function
mustache_on_section_start
* Called when entering a nested section. * * `index` is a zero based index indicating the number of repetitions that * occurred so far (same as the
ext/iodine/fiobj_mustache.c:215
↓ 1 callers
Function
mustache_on_section_test
* Called for nested sections, must return the number of objects in the new * subsection (depending on the argument's name). * * Arrays should retur
ext/iodine/fiobj_mustache.c:191
↓ 1 callers
Function
mustache_save2file
ext/iodine/fiobj_mustache.c:241
↓ 1 callers
Function
mustache_section_text
* Returns the section's unparsed content as a non-NUL terminated byte array. * * The length of the data will be placed in the `size_t` variable poin
ext/iodine/mustache_parser.h:467
↓ 1 callers
Function
new_websocket
ext/iodine/websockets.c:316
↓ 1 callers
Function
on_close
ext/iodine/websockets.c:233
↓ 1 callers
Function
patch_env
Any patches required by the running environment for consistent behavior */
ext/iodine/iodine.c:17
↓ 1 callers
Function
redis_engine_send
publishes a Redis command to Root's filter -2 */
ext/iodine/redis_engine.c:778
↓ 1 callers
Function
redis_on_facil_start
ext/iodine/redis_engine.c:810
↓ 1 callers
Function
redis_on_publish_root
ext/iodine/redis_engine.c:638
↓ 1 callers
Function
resp_on_err_msg
a local static callback, called an error message is received. */
ext/iodine/redis_engine.c:266
↓ 1 callers
Function
resp_on_number
a local static callback, called when a Number object is parsed. */
ext/iodine/redis_engine.c:220
↓ 1 callers
Function
resp_on_okay
a local static callback, called when a OK message is received. */
ext/iodine/redis_engine.c:226
↓ 1 callers
Function
resp_on_start_array
* a local static callback, called when an Array should be allocated. * * `array_len` is the expected number of objects that will fill the Array * o
ext/iodine/redis_engine.c:285
↓ 1 callers
Function
resp_parse
* Returns the number of bytes to be resent. i.e., for a return value 5, the * last 5 bytes in the buffer need to be resent to the parser. */
ext/iodine/resp_parser.h:182
↓ 1 callers
Function
rio_gets
Gets returns a line. this is okay for small lines, but shouldn't really be used. Limited to ~ 1Mb of a line length. */
ext/iodine/iodine_rack_io.c:100
↓ 1 callers
Function
rio_rewind
ext/iodine/iodine_rack_io.c:87
↓ 1 callers
Function
ruby2c_response_send
ext/iodine/iodine_http.c:549
↓ 1 callers
Function
ruby2c_review_upgrade
ext/iodine/iodine_http.c:597
↓ 1 callers
Method
run
(app, options = {})
lib/rack/handler/iodine.rb:8
↓ 1 callers
Function
sample_task
ext/iodine/fio.c:10495
↓ 1 callers
Function
seek2ch
* This seems to be faster on some systems, especially for smaller distances. * * On newer systems, `memchr` should be faster. */
ext/iodine/resp_parser.h:109
↓ 1 callers
Function
seek2eos
ext/iodine/fio_json_parser.h:268
↓ 1 callers
Function
utf8_from_u32
converts a uint32_t to UTF-8 and returns the number of bytes written */
ext/iodine/fio_json_parser.h:528
↓ 1 callers
Function
wait
ext/iodine/fio.c:266
↓ 1 callers
Function
websocket_on_protocol_close
ext/iodine/websockets.c:206
↓ 1 callers
Function
websocket_on_protocol_ping
ext/iodine/websockets.c:182
↓ 1 callers
Function
websocket_on_protocol_pong
ext/iodine/websockets.c:201
↓ 1 callers
Function
websocket_uuid
Returns the the process specific connection's UUID (see `libsock`). */
ext/iodine/websockets.c:711
↓ 1 callers
Function
websocket_write_impl
ext/iodine/websockets.c:393
Function
(mustache_load)
The parsing implementation, converts a template to an instruction array */
ext/iodine/mustache_parser.h:1166
Function
AVOID_MACRO
ext/iodine/fio_cli.c:310
Function
FIO_DEALLOC_NOOP
A noop function for fio_write2 in cases not deallocation is required. */
ext/iodine/fio.c:3561
Function
FIO_IGNORE_MACRO
sublime text marker */ * Connects to an HTTP server as a client. * * Upon a successful connection, the `on_response` callback is called with an * e
ext/iodine/http.c:1036
Function
FIO_LOG2STDERR
ext/iodine/fio.h:463
Function
FIO_NAME(_test)
* Removes any FIO_ARY_TYPE_INVALID *pointers* from an Array, keeping all other * data in the array. * * This action is O(n) where n in the length
ext/iodine/fio.h:5272
Function
FIO_NAME(capa)
* Returns a temporary theoretical Set capacity. * This could be used for testing performance and memory consumption. */
ext/iodine/fio.h:6265
Function
FIO_NAME(count)
Returns the number of objects currently in the Set. */
ext/iodine/fio.h:6257
Function
FIO_NAME(is_fragmented)
* Returns non-zero if the Set is fragmented (more than 50% holes). */
ext/iodine/fio.h:6289
Function
Init_iodine_ext
Ruby loads the library and invokes the Init_<lib_name> function... Here we connect all the C code to the Ruby interface, completing the bridge betwee
ext/iodine/iodine.c:1328
Function
__attribute__
ext/iodine/fiobject.c:39
Function
after_fork
(*args, &block)
lib/iodine.rb:219
Function
after_fork_in_master
(*args, &block)
lib/iodine.rb:237
Method
after_fork_in_master
@deprecated use {Iodine.on_state}. Sets a block of code to run in the master / root process, after a new worker process is forked (cluster mode only)
lib/iodine.rb:114
Function
after_fork_in_worker
(*args, &block)
lib/iodine.rb:228
Method
after_fork_in_worker
@deprecated use {Iodine.on_state}. Sets a block of code to run in the worker process, after a new worker process is forked (cluster mode only).
lib/iodine.rb:107
Function
alpn_find
Returns a pointer to the ALPN data (callback, etc') IF exists in the TLS. */
ext/iodine/fio_tls_missing.c:170
Function
alpn_select___task
ext/iodine/fio_tls_missing.c:212
Function
alpn_select___task
ext/iodine/fio_tls_openssl.c:205
Function
before_fork
(*args, &block)
lib/iodine.rb:264
Method
before_fork
@deprecated use {Iodine.on_state}. Sets a block of code to run before a new worker process is forked (cluster mode only).
lib/iodine.rb:91
Function
benchmark_mustache
bin/mustache_bench.rb:7
Function
call_async_signal
used for GVL signalling */
ext/iodine/iodine_defer.c:75
Function
close_rack_io
ext/iodine/iodine_rack_io.c:234
Function
copy_s
ext/iodine/fio.c:10580
Function
create_ruby_thread_gvl
Within the GVL, creates a Ruby thread using an API call */
ext/iodine/iodine_defer.c:99
Function
date_str
Takes an optional Integer for Unix Time and returns a faster (though less localized) HTTP Date formatted String. Iodine::Rack.time2str => "S
ext/iodine/iodine_helpers.c:137
Function
defer_thread_inGVL
the thread's GVL release */
ext/iodine/iodine_defer.c:88
Function
defer_thread_start
ext/iodine/iodine_defer.c:80
Function
deferred_on_close
ext/iodine/fio.c:2623
Function
deferred_on_data
ext/iodine/fio.c:2699
Function
deferred_on_ready_usr
ext/iodine/fio.c:2667
Function
deferred_on_shutdown
ext/iodine/fio.c:2633
Function
deferred_ping
ext/iodine/fio.c:2736
Method
dettach
(engine)
lib/iodine.rb:128
Function
each_cookie_ws_client_task
ext/iodine/iodine_http.c:1031
Function
each_header_ws_client_task
ext/iodine/iodine_http.c:1025
Function
fio_accept_after_fork
ext/iodine/fio.c:7243
Function
fio_alpn_cmp
ext/iodine/fio_tls_missing.c:122
Function
fio_alpn_cmp
ext/iodine/fio_tls_openssl.c:108
Function
fio_alpn_copy
ext/iodine/fio_tls_missing.c:125
Function
fio_alpn_copy
ext/iodine/fio_tls_openssl.c:111
Function
fio_atof
* We include this in case the parser is used outside of facil.io. */
ext/iodine/fiobject.c:81
Function
fio_atol
* We include this in case the parser is used outside of facil.io. */
ext/iodine/fiobject.c:73
Function
fio_atol_skip
consumes any digits in the string (base 2-10), returning the count skipped */
ext/iodine/fio.c:4796
Function
fio_atol_skip_hex
consumes any digits in the string (base 2-10), returning the count skipped */
ext/iodine/fio.c:4832
Function
fio_attach_fd
Attaches (or updates) a protocol object to a socket UUID. * Returns -1 on error and 0 on success. */
ext/iodine/fio.c:4000
Function
fio_base64url_encode
Same as fio_base64_encode, but using Base64URL encoding. */
ext/iodine/fio.c:9424
Function
fio_channel_cmp
Tests if two channels are equal. */
ext/iodine/fio.c:5990
Function
fio_channel_copy
Used internally by the Set object to create a new channel. */
ext/iodine/fio.c:5960
Function
fio_cli_end_promise
ext/iodine/fio_cli.c:304
Function
fio_cluster_at_exit
ext/iodine/fio.c:7251
Function
fio_cluster_cleanup
ext/iodine/fio.c:6717
Function
fio_cluster_client_handler
ext/iodine/fio.c:7092
Function
fio_cluster_listen_on_close
Called when the connection was closed, but will not run concurrently */
ext/iodine/fio.c:7045
Function
fio_cluster_on_close
ext/iodine/fio.c:6871
Function
fio_cluster_on_connect
The address of the server we are connecting to. */ char *address; The port on the server we are connecting to. */ char *port; * The `on_connect` callb
ext/iodine/fio.c:7136
Function
fio_cluster_on_data
ext/iodine/fio.c:6777
Function
fio_cluster_on_fail
* The `on_fail` is called when a socket fails to connect. The old sock UUID * is passed along. */
ext/iodine/fio.c:7165
Function
fio_cluster_on_shutdown
ext/iodine/fio.c:6766
Function
fio_cluster_ping
ext/iodine/fio.c:6862
Function
fio_cluster_server_handler
ext/iodine/fio.c:6945
Function
fio_connect2cluster
ext/iodine/fio.c:7175
← previous
next →
701–800 of 1,281, ranked by callers