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
main
()
scripts/nbody.rs:354
Function
main
()
scripts/search.rs:296
Method
make_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:1290
Method
make_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:2943
Method
make_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:3600
Method
memory_usage
* @brief Estimates the amount of memory managed by this pool handle and internal structures. * @note This API is @b not synchronized. */
include/fork_union.hpp:2588
Method
memory_usage
* @brief Estimates the amount of memory managed by this pool handle and internal structures. * @note This API is @b not synchronized. */
include/fork_union.hpp:3383
Function
named_spawn
Spawns a named pool with the specified number of threads.
rust/lib.rs:3617
Method
new
Creates a new spin mutex in the unlocked state. # Arguments `data` - The value to be protected by the mutex # Examples ```rust use fork_union::*;
rust/lib.rs:118
Method
new
(colocation_index: usize)
scripts/search.rs:42
Method
new_in
Creates a new empty `PinnedVec` using the specified allocator. # Arguments `allocator` - The `PinnedAllocator` to use for memory allocation # Examp
rust/lib.rs:1341
Function
numa_aware_search
Performs NUMA-aware search using Fork Union's for_threads API for optimal colocation
scripts/search.rs:123
Function
numa_enabled
Returns true if NUMA support was compiled into the library.
rust/lib.rs:499
Method
numa_node
Returns the NUMA node this memory was allocated on.
rust/lib.rs:956
Method
numa_node_id
* @brief Returns the NUMA node ID this thread-pool is pinned to. * @retval -1 as this thread-pool is not NUMA-aware. */
include/fork_union.hpp:1077
Method
numa_node_id
* @brief Returns the NUMA node ID this thread-pool is pinned to. * @retval -1 if the thread-pool is not initialized or the NUMA node ID is unkn
include/fork_union.hpp:2600
Function
numa_socket_id_t get_socket_id_for_core
* @brief Fetches the socket ID for a given CPU core. * @param[in] core_id The CPU core ID to query. * @retval Socket ID (>= 0) if successful. *
include/fork_union.hpp:1715
Method
numa_topology
include/fork_union.hpp:2065
Method
opaque_pool_t
c/lib.cpp:224
Method
operator!=
scripts/test.cpp:247
Method
operator!=
include/fork_union.hpp:741
Method
operator!=
include/fork_union.hpp:2463
Method
operator()
@brief A shim to redirect unsafe callbacks to the current context. */
c/lib.cpp:228
Method
operator()
include/fork_union.hpp:299
Method
operator()
include/fork_union.hpp:811
Method
operator()
include/fork_union.hpp:828
Method
operator()
include/fork_union.hpp:872
Method
operator()
include/fork_union.hpp:1432
Method
operator()
include/fork_union.hpp:1473
Method
operator()
include/fork_union.hpp:1498
Method
operator()
include/fork_union.hpp:1533
Method
operator()
include/fork_union.hpp:1553
Method
operator()
include/fork_union.hpp:1590
Method
operator()
include/fork_union.hpp:3181
Method
operator()
include/fork_union.hpp:3203
Method
operator()
include/fork_union.hpp:3244
Method
operator()
include/fork_union.hpp:3774
Method
operator()
include/fork_union.hpp:3812
Method
operator()
include/fork_union.hpp:3871
Method
operator()
include/fork_union.hpp:3980
Method
operator*
include/fork_union.hpp:722
Method
operator++
include/fork_union.hpp:734
Method
operator<
scripts/test.cpp:245
Method
operator==
scripts/test.cpp:246
Method
operator==
include/fork_union.hpp:740
Method
operator==
include/fork_union.hpp:2458
Method
operator[]
include/fork_union.hpp:679
Function
operator|
include/fork_union.hpp:294
Method
par_for_each
Executes a closure in parallel on each element, preserving round-robin distribution.
rust/lib.rs:2171
Method
par_for_each_mut
Executes a mutable closure in parallel on each element.
rust/lib.rs:2181
Function
parallel_exact_iter_dispatch
()
rust/lib.rs:4155
Function
parallel_slice_mut_dynamic_for_each
()
rust/lib.rs:4116
Function
parallel_slice_static_for_each
()
rust/lib.rs:4100
Function
parallel_slice_zip_sum
()
rust/lib.rs:4133
Method
pick_stride
include/fork_union.hpp:783
Function
pinned_allocator_creation
()
rust/lib.rs:3915
Function
pinned_vec_clear
()
rust/lib.rs:4034
Function
pinned_vec_creation
()
rust/lib.rs:3973
Function
pinned_vec_extend_from_slice
()
rust/lib.rs:4087
Function
pinned_vec_growth
()
rust/lib.rs:4257
Function
pinned_vec_indexing
()
rust/lib.rs:4016
Function
pinned_vec_insert_remove
()
rust/lib.rs:4048
Function
pinned_vec_invalid_numa_node
()
rust/lib.rs:4273
Function
pinned_vec_iterators
()
rust/lib.rs:4214
Function
pinned_vec_push_pop
()
rust/lib.rs:3993
Function
pinned_vec_reserve
()
rust/lib.rs:4070
Function
pinned_vec_send_sync
()
rust/lib.rs:4303
Function
pinned_vec_slices
()
rust/lib.rs:4238
Function
pinned_vec_with_capacity
()
rust/lib.rs:3983
Method
pool_variants_t
c/lib.cpp:74
Method
pop
Removes the last element from the vector and returns it. # Returns The last element, or `None` if the vector is empty. # Examples ```rust use fork
rust/lib.rs:1517
Method
prong
include/fork_union.hpp:357
Method
ptr
include/fork_union.hpp:494
Method
red
ANSI color codes */
include/fork_union.hpp:3749
Method
reset
ANSI style codes */
include/fork_union.hpp:3744
Method
resize_with
Resizes the vector in-place so that `len` is equal to `new_len`.
rust/lib.rs:1781
Method
reverse
Reverses the order of elements in the vector, in place.
rust/lib.rs:1739
Function
round_robin_parallel_mut
()
rust/lib.rs:4173
Method
scope
scripts/test.cpp:99
Function
scratch_reduction_collects_sum
()
rust/lib.rs:4196
Method
set_stride
include/fork_union.hpp:578
Method
size
include/fork_union.hpp:576
Method
size
include/fork_union.hpp:771
Method
size_t get_ram_page_size
* @brief Fetches the RAM page size in bytes. * @retval The size of a memory page in bytes, typically 4096 on most systems. * @note On Linux, this
include/fork_union.hpp:1742
Method
size_t get_ram_total_volume
* @brief Fetches the total RAM amount available on the system in bytes. * @retval Total system RAM in bytes, or 0 if detection fails. * @note Thi
include/fork_union.hpp:1757
Method
sleep
* @brief Transitions "workers" to a sleeping state, waiting for a wake-up call. * @param[in] wake_up_periodicity_micros How often to check for
include/fork_union.hpp:2925
Method
sleep
* @brief Transitions "workers" to a sleeping state, waiting for a wake-up call. * @param[in] wake_up_periodicity_micros How often to check for
include/fork_union.hpp:3593
Method
smallest_size
include/fork_union.hpp:685
Function
spawn_and_basic_info
()
rust/lib.rs:3754
Function
stress_test_composite
scripts/test.cpp:404
Method
stride
include/fork_union.hpp:577
Function
sync_const_ptr
()
rust/lib.rs:4280
Function
sync_const_ptr_send_sync
()
rust/lib.rs:4294
Function
system_info
()
rust/lib.rs:3743
Method
terminate
* @brief Stops all threads and deallocates the thread-pool after the last call finishes. * @note Can be called from @b any thread at any time.
include/fork_union.hpp:2883
Method
terminate
* @brief Stops all threads and deallocates the thread-pool after the last call finishes. * @note Can be called from @b any thread at any time.
include/fork_union.hpp:3572
Function
test_coprime_permutation
scripts/test.cpp:58
Function
test_exclusivity
scripts/test.cpp:160
Function
test_for_n
scripts/test.cpp:264
Function
test_for_n_dynamic
scripts/test.cpp:310
← previous
next →
301–400 of 446, ranked by callers