MCPcopy Create free account

hub / github.com/ashvardanian/ForkUnion / functions

Functions446 in github.com/ashvardanian/ForkUnion

Functionbasic_allocation
()
rust/lib.rs:3932
Methodbasic_pool
include/fork_union.hpp:1056
Methodbegin
include/fork_union.hpp:769
Methodbold
include/fork_union.hpp:3745
Methodbold_gray
include/fork_union.hpp:3766
Methodbroadcast
include/fork_union.hpp:325
Methodbroadcast_join
include/fork_union.hpp:322
Methodbytes_per_page
include/fork_union.hpp:450
Methodcaller_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
Methodcaller_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
Functioncan_be_for_slice_callback
include/fork_union.hpp:918
Functioncan_be_for_task_callback
include/fork_union.hpp:905
Functioncan_be_for_thread_callback
include/fork_union.hpp:893
Functioncapabilities
()
rust/lib.rs:3736
Functioncapabilities_string_ptr
Returns a raw pointer to the capabilities string for no_std environments.
rust/lib.rs:449
Methodcapacity_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
Functionclosure_objects
()
rust/lib.rs:3861
Methodcolocated_prong
include/fork_union.hpp:385
Methodcolocated_thread
include/fork_union.hpp:415
Methodcolocation_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
Methodcolocations
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
Methodcolocations_count
* @brief Number of individual sub-pool with the same NUMA-locality and QoS. * @retval 1 constant for compatibility. */
include/fork_union.hpp:3015
Methodcolocations_count
* @brief Number of individual sub-pool with the same NUMA-locality and QoS. */
include/fork_union.hpp:3660
Methodconstexpr
c/lib.cpp:94
Methodconstruct
scripts/test.cpp:98
Methodconstruct
scripts/test.cpp:102
Methodconstruct
c/lib.cpp:83
Methodcontains
Returns `true` if the vector contains an element with the given value.
rust/lib.rs:1744
Methodcoprime_permutation_range
include/fork_union.hpp:757
Methoddeallocate
include/fork_union.hpp:2455
Functiondefault_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
Methodderef
(&self)
rust/lib.rs:276
Methodderef_mut
(&mut self)
rust/lib.rs:282
Methoddestroy_all
include/fork_union.hpp:499
Methoddispatch_slices
(&self, pool: &mut ThreadPool, tasks: usize, function: F)
rust/lib.rs:2678
Methoddrop
(&mut self)
rust/lib.rs:288
Methodend
include/fork_union.hpp:770
Functionexplicit_broadcast_join
()
rust/lib.rs:3878
Methodfill
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
Methodfill_thread_name
include/fork_union.hpp:3131
Methodfilter
(self, predicate: P)
rust/lib.rs:2772
Methodfirst
Returns a reference to the first element of the vector, or `None` if it is empty.
rust/lib.rs:1714
Methodfirst_mut
Returns a mutable reference to the first element of the vector, or `None` if it is empty.
rust/lib.rs:1719
Methodfirst_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
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
rust/lib.rs:343
Methodfor_each_dynamic
(self, pool: &mut ThreadPool, function: F)
rust/lib.rs:3035
Functionfor_each_mut
()
rust/lib.rs:3846
Methodfor_each_static
(self, pool: &mut ThreadPool, function: F)
rust/lib.rs:3027
Methodfor_n
include/fork_union.hpp:1321
Methodfor_n
include/fork_union.hpp:2987
Methodfor_n
include/fork_union.hpp:3632
Methodfor_n_dynamic
include/fork_union.hpp:1335
Methodfor_n_dynamic
include/fork_union.hpp:3001
Methodfor_n_dynamic
include/fork_union.hpp:3646
Functionfor_n_dynamic_scheduling
()
rust/lib.rs:3816
Functionfor_n_static_scheduling
()
rust/lib.rs:3786
Functionfor_slices
Standalone function to distribute `n` tasks in slices.
rust/lib.rs:3640
Methodfor_slices
include/fork_union.hpp:1303
Methodfor_slices
include/fork_union.hpp:2956
Methodfor_slices
include/fork_union.hpp:3613
Methodfor_threads
include/fork_union.hpp:2805
Methodfor_threads
include/fork_union.hpp:3528
Functionfor_threads_dispatch
()
rust/lib.rs:3761
Functionfu_pool_for_threads
c/lib.cpp:540
Methodgcd
include/fork_union.hpp:774
Methodget_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
Methodglobal_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
Methodgray
include/fork_union.hpp:3756
Functionhw_threads
()
scripts/nbody.rs:120
Methodindex
(&self, index: usize)
rust/lib.rs:1849
Methodindex_mut
(&mut self, index: usize)
rust/lib.rs:1855
Functionindexed_split
()
rust/lib.rs:4312
Methodindexed_split
include/fork_union.hpp:667
Functionindexed_split_zero_threads
()
rust/lib.rs:4337
Methodinto_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
Methodinvoke_distributed_for_n
include/fork_union.hpp:3200
Methodinvoke_distributed_for_n_dynamic
include/fork_union.hpp:3235
Methodinvoke_distributed_for_slices
include/fork_union.hpp:3178
Methodinvoke_for_n
include/fork_union.hpp:825
Methodinvoke_for_n_dynamic
include/fork_union.hpp:859
Methodinvoke_for_slices
include/fork_union.hpp:808
Methodis_empty
(&self)
rust/lib.rs:2742
Methodis_lock_free
@brief Checks if the thread-pool's core synchronization points are lock-free. */
include/fork_union.hpp:2593
Methodis_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
Methodis_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
Methoditerator
include/fork_union.hpp:746
Functionjoin_without_explicit_broadcast
()
rust/lib.rs:3900
Methodlargest_free
* @brief Finds the largest Huge Pages size available for the given NUMA node. */
include/fork_union.hpp:1837
Methodlargest_size
include/fork_union.hpp:686
Methodlast
Returns a reference to the last element of the vector, or `None` if it is empty.
rust/lib.rs:1724
Methodlast_mut
Returns a mutable reference to the last element of the vector, or `None` if it is empty.
rust/lib.rs:1729
Methodlen_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
Methodlinux_colocated_pool
include/fork_union.hpp:2570
Methodlinux_distributed_pool
include/fork_union.hpp:3348
Methodlinux_numa_allocator
include/fork_union.hpp:2370
Methodlock
include/fork_union.hpp:607
Methodlogging_colors_t
include/fork_union.hpp:3723
Functionmain
()
build.rs:1
Functionmain
scripts/test.cpp:462
Functionmain
scripts/nbody.cpp:276
← previousnext →201–300 of 446, ranked by callers