Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashvardanian/ForkUnion
/ functions
Functions
446 in github.com/ashvardanian/ForkUnion
⨍
Functions
446
◇
Types & classes
101
Function
test_for_threads
scripts/test.cpp:122
Function
test_indexed_split
scripts/test.cpp:31
Function
test_mixed_restart
scripts/test.cpp:366
Function
test_oversubscribed_threads
scripts/test.cpp:341
Function
test_try_spawn_success
scripts/test.cpp:113
Function
test_try_spawn_zero
scripts/test.cpp:107
Function
test_uncomfortable_input_size
scripts/test.cpp:224
Function
test_unsafe_for_threads
scripts/test.cpp:140
Method
thread_local_index
* @brief Converts a @p `global_thread_index` to a local thread index within a @b colocation. * @retval Same value as @p `global_thread_index`,
include/fork_union.hpp:3027
Method
thread_local_index
* @brief Converts a @p `global_thread_index` to a local thread index within a @b colocation. * @retval 0 if the thread-pool is not initialized,
include/fork_union.hpp:3678
Method
threads_count
include/fork_union.hpp:2105
Method
threads_count
* @brief Returns the number of threads in the thread-pool, including the main thread. * @retval 0 if the thread-pool is not initialized, 1 if o
include/fork_union.hpp:2626
Method
threads_count
* @brief Returns the number of threads in the thread-pool, including the main thread. * @retval 0 if the thread-pool is not initialized, 1 if o
include/fork_union.hpp:3396
Method
total_memory_bytes
include/fork_union.hpp:1960
Method
trampoline
(ctx: *mut c_void, thread_index: usize, colocation_index: usize)
rust/lib.rs:3453
Method
try_change
* @brief Attempts to reserve huge pages of a specific size on the current NUMA node. * @param[in] page_size_bytes The size of huge pages to res
include/fork_union.hpp:1975
Method
try_harvest
* @brief Fetches all available huge page sizes for the given NUMA node. * @note Kernel support doesn't mean that pages of that size have a vali
include/fork_union.hpp:1849
Method
try_lock
Attempts to acquire the lock without blocking. Returns `Some(guard)` if the lock was successfully acquired, or `None` if the lock is currently held b
rust/lib.rs:172
Method
try_lock
include/fork_union.hpp:611
Method
try_named_spawn
Creates a new named thread pool with the specified number of threads. The thread pool name can be useful for debugging, profiling, and system monitor
rust/lib.rs:658
Method
try_named_spawn_with_exclusivity
( name: Option<&str>, threads: usize, exclusivity: CallerExclusivity, )
rust/lib.rs:581
Method
try_spawn
* @brief Creates a thread-pool addressing all cores on the given NUMA @p node. * @param[in] node Describes the NUMA node to use, with its ID, m
include/fork_union.hpp:2643
Method
try_spawn
* @brief Creates a thread-pool addressing all cores across all NUMA nodes. * @param[in] threads The number of threads to be used. * @para
include/fork_union.hpp:3413
Method
try_spawn_with_exclusivity
( threads: usize, exclusivity: CallerExclusivity, )
rust/lib.rs:574
Method
unique_padded_buffer
include/fork_union.hpp:513
Method
unlock
include/fork_union.hpp:612
Method
unsafe_for_slices
include/fork_union.hpp:2969
Method
unsafe_for_threads
include/fork_union.hpp:2816
Method
unsafe_for_threads
include/fork_union.hpp:3539
Method
unsafe_join
@brief Blocks the calling thread until the currently broadcasted task finishes. */
include/fork_union.hpp:2854
Method
unsafe_join
@brief Blocks the calling thread until the currently broadcasted task finishes. */
include/fork_union.hpp:3548
Function
version
Returns the library version as a tuple of (major, minor, patch).
rust/lib.rs:519
Method
volume_any_pages
Returns the volume of any pages (huge or regular) available on this allocator's NUMA node.
rust/lib.rs:1074
Method
volume_huge_pages
Returns the volume of huge pages available on this allocator's NUMA node.
rust/lib.rs:1069
Method
white
include/fork_union.hpp:3755
Method
with_capacity_in
Creates a new `PinnedVec` with the specified capacity using the given allocator. # Arguments `allocator` - The `PinnedAllocator` to use for memory a
rust/lib.rs:1372
Method
with_capacity_per_colocation
Creates a new `RoundRobinVec` with pre-allocated capacity on each NUMA node. # Arguments `capacity_per_node` - The capacity to allocate on each NUMA
rust/lib.rs:1957
Method
with_schedule
( self, pool: &'pool mut ThreadPool, schedule: S, )
rust/lib.rs:2795
Function
worst_case_search
Performs unbalanced search where threads work on any NUMA node (for comparison)
scripts/search.rs:190
Method
~basic_pool
include/fork_union.hpp:1062
Method
~broadcast_join
include/fork_union.hpp:338
Method
~linux_colocated_pool
include/fork_union.hpp:2582
Method
~linux_distributed_pool
include/fork_union.hpp:3363
Method
~numa_topology
include/fork_union.hpp:2090
Method
~pool_variants_t
c/lib.cpp:75
Method
~unique_padded_buffer
include/fork_union.hpp:539
← previous
401–446 of 446, ranked by callers