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
basic_allocation
()
rust/lib.rs:3932
Method
basic_pool
include/fork_union.hpp:1056
Method
begin
include/fork_union.hpp:769
Method
bold
include/fork_union.hpp:3745
Method
bold_gray
include/fork_union.hpp:3766
Method
broadcast
include/fork_union.hpp:325
Method
broadcast_join
include/fork_union.hpp:322
Method
bytes_per_page
include/fork_union.hpp:450
Method
caller_exclusivity
* @brief Reports if the current calling thread will be used for broadcasts. * @note This API is @b not synchronized. */
include/fork_union.hpp:2632
Method
caller_exclusivity
* @brief Reports if the current calling thread will be used for broadcasts. * @note This API is @b not synchronized. */
include/fork_union.hpp:3402
Function
can_be_for_slice_callback
include/fork_union.hpp:918
Function
can_be_for_task_callback
include/fork_union.hpp:905
Function
can_be_for_thread_callback
include/fork_union.hpp:893
Function
capabilities
()
rust/lib.rs:3736
Function
capabilities_string_ptr
Returns a raw pointer to the capabilities string for no_std environments.
rust/lib.rs:449
Method
capacity_at
Returns the capacity of the vector at the specified colocation. # Arguments `colocation_index` - The colocation index # Returns The capacity of th
rust/lib.rs:2013
Function
closure_objects
()
rust/lib.rs:3861
Method
colocated_prong
include/fork_union.hpp:385
Method
colocated_thread
include/fork_union.hpp:415
Method
colocation_index
* @brief Returns the colocation index of this thread-pool. * @retval 0 if the thread-pool is not initialized or the colocation index is unknown
include/fork_union.hpp:2607
Method
colocations
Returns the number of thread colocations in the pool. Colocations group threads by NUMA domain, QoS level, and cache hierarchy. This information is u
rust/lib.rs:671
Method
colocations_count
* @brief Number of individual sub-pool with the same NUMA-locality and QoS. * @retval 1 constant for compatibility. */
include/fork_union.hpp:3015
Method
colocations_count
* @brief Number of individual sub-pool with the same NUMA-locality and QoS. */
include/fork_union.hpp:3660
Method
constexpr
c/lib.cpp:94
Method
construct
scripts/test.cpp:98
Method
construct
scripts/test.cpp:102
Method
construct
c/lib.cpp:83
Method
contains
Returns `true` if the vector contains an element with the given value.
rust/lib.rs:1744
Method
coprime_permutation_range
include/fork_union.hpp:757
Method
deallocate
include/fork_union.hpp:2455
Function
default_numa_allocator
Creates an allocator for the first available NUMA node (typically node 0). This is a convenience function for systems where NUMA awareness is desired
rust/lib.rs:1282
Method
deref
(&self)
rust/lib.rs:276
Method
deref_mut
(&mut self)
rust/lib.rs:282
Method
destroy_all
include/fork_union.hpp:499
Method
dispatch_slices
(&self, pool: &mut ThreadPool, tasks: usize, function: F)
rust/lib.rs:2678
Method
drop
(&mut self)
rust/lib.rs:288
Method
end
include/fork_union.hpp:770
Function
explicit_broadcast_join
()
rust/lib.rs:3878
Method
fill
Fills the vector with copies of the given value. # Arguments `value` - The value to fill the vector with # Examples ```rust use fork_union::*; le
rust/lib.rs:1814
Method
fill_thread_name
include/fork_union.hpp:3131
Method
filter
(self, predicate: P)
rust/lib.rs:2772
Method
first
Returns a reference to the first element of the vector, or `None` if it is empty.
rust/lib.rs:1714
Method
first_mut
Returns a mutable reference to the first element of the vector, or `None` if it is empty.
rust/lib.rs:1719
Method
first_thread
* @brief Returns the first thread index in the thread-pool. * @retval 0 in most cases, when the last argument to `try_spawn` is not specified.
include/fork_union.hpp:2614
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
rust/lib.rs:343
Method
for_each_dynamic
(self, pool: &mut ThreadPool, function: F)
rust/lib.rs:3035
Function
for_each_mut
()
rust/lib.rs:3846
Method
for_each_static
(self, pool: &mut ThreadPool, function: F)
rust/lib.rs:3027
Method
for_n
include/fork_union.hpp:1321
Method
for_n
include/fork_union.hpp:2987
Method
for_n
include/fork_union.hpp:3632
Method
for_n_dynamic
include/fork_union.hpp:1335
Method
for_n_dynamic
include/fork_union.hpp:3001
Method
for_n_dynamic
include/fork_union.hpp:3646
Function
for_n_dynamic_scheduling
()
rust/lib.rs:3816
Function
for_n_static_scheduling
()
rust/lib.rs:3786
Function
for_slices
Standalone function to distribute `n` tasks in slices.
rust/lib.rs:3640
Method
for_slices
include/fork_union.hpp:1303
Method
for_slices
include/fork_union.hpp:2956
Method
for_slices
include/fork_union.hpp:3613
Method
for_threads
include/fork_union.hpp:2805
Method
for_threads
include/fork_union.hpp:3528
Function
for_threads_dispatch
()
rust/lib.rs:3761
Function
fu_pool_for_threads
c/lib.cpp:540
Method
gcd
include/fork_union.hpp:774
Method
get_colocation_mut
Gets a mutable reference to the `PinnedVec` at the specified colocation. # Arguments `colocation_index` - The colocation index # Returns A mutable
rust/lib.rs:2054
Method
global_to_local_index
Converts a global round-robin index to the NUMA node and local index. This is the inverse of `local_to_global_index`. # Arguments `global_index` -
rust/lib.rs:2252
Method
gray
include/fork_union.hpp:3756
Function
hw_threads
()
scripts/nbody.rs:120
Method
index
(&self, index: usize)
rust/lib.rs:1849
Method
index_mut
(&mut self, index: usize)
rust/lib.rs:1855
Function
indexed_split
()
rust/lib.rs:4312
Method
indexed_split
include/fork_union.hpp:667
Function
indexed_split_zero_threads
()
rust/lib.rs:4337
Method
into_inner
Consumes the mutex and returns the protected data. This method bypasses the locking mechanism entirely since we have exclusive ownership of the mutex
rust/lib.rs:222
Method
invoke_distributed_for_n
include/fork_union.hpp:3200
Method
invoke_distributed_for_n_dynamic
include/fork_union.hpp:3235
Method
invoke_distributed_for_slices
include/fork_union.hpp:3178
Method
invoke_for_n
include/fork_union.hpp:825
Method
invoke_for_n_dynamic
include/fork_union.hpp:859
Method
invoke_for_slices
include/fork_union.hpp:808
Method
is_empty
(&self)
rust/lib.rs:2742
Method
is_lock_free
@brief Checks if the thread-pool's core synchronization points are lock-free. */
include/fork_union.hpp:2593
Method
is_lock_free
* @brief Checks if the thread-pool's core synchronization points are lock-free. * @note Only valid after the `try_spawn` call. */
include/fork_union.hpp:3369
Method
is_locked
Checks if the mutex is currently locked. This method provides a non-blocking way to check the lock state, but should be used carefully as the state c
rust/lib.rs:204
Method
iterator
include/fork_union.hpp:746
Function
join_without_explicit_broadcast
()
rust/lib.rs:3900
Method
largest_free
* @brief Finds the largest Huge Pages size available for the given NUMA node. */
include/fork_union.hpp:1837
Method
largest_size
include/fork_union.hpp:686
Method
last
Returns a reference to the last element of the vector, or `None` if it is empty.
rust/lib.rs:1724
Method
last_mut
Returns a mutable reference to the last element of the vector, or `None` if it is empty.
rust/lib.rs:1729
Method
len_at
Returns the length of the vector at the specified colocation. # Arguments `colocation_index` - The colocation index # Returns The length of the ve
rust/lib.rs:2000
Method
linux_colocated_pool
include/fork_union.hpp:2570
Method
linux_distributed_pool
include/fork_union.hpp:3348
Method
linux_numa_allocator
include/fork_union.hpp:2370
Method
lock
include/fork_union.hpp:607
Method
logging_colors_t
include/fork_union.hpp:3723
Function
main
()
build.rs:1
Function
main
scripts/test.cpp:462
Function
main
scripts/nbody.cpp:276
← previous
next →
201–300 of 446, ranked by callers