MCPcopy Create free account

hub / github.com/ashvardanian/ForkUnion / functions

Functions446 in github.com/ashvardanian/ForkUnion

Functionmain
()
scripts/nbody.rs:354
Functionmain
()
scripts/search.rs:296
Methodmake_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:1290
Methodmake_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:2943
Methodmake_mutex
@brief Helper function to create a spin mutex with same yield characteristics. */
include/fork_union.hpp:3600
Methodmemory_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
Methodmemory_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
Functionnamed_spawn
Spawns a named pool with the specified number of threads.
rust/lib.rs:3617
Methodnew
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
Methodnew
(colocation_index: usize)
scripts/search.rs:42
Methodnew_in
Creates a new empty `PinnedVec` using the specified allocator. # Arguments `allocator` - The `PinnedAllocator` to use for memory allocation # Examp
rust/lib.rs:1341
Functionnuma_aware_search
Performs NUMA-aware search using Fork Union's for_threads API for optimal colocation
scripts/search.rs:123
Functionnuma_enabled
Returns true if NUMA support was compiled into the library.
rust/lib.rs:499
Methodnuma_node
Returns the NUMA node this memory was allocated on.
rust/lib.rs:956
Methodnuma_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
Methodnuma_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
Functionnuma_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
Methodnuma_topology
include/fork_union.hpp:2065
Methodopaque_pool_t
c/lib.cpp:224
Methodoperator!=
scripts/test.cpp:247
Methodoperator!=
include/fork_union.hpp:741
Methodoperator!=
include/fork_union.hpp:2463
Methodoperator()
@brief A shim to redirect unsafe callbacks to the current context. */
c/lib.cpp:228
Methodoperator()
include/fork_union.hpp:299
Methodoperator()
include/fork_union.hpp:811
Methodoperator()
include/fork_union.hpp:828
Methodoperator()
include/fork_union.hpp:872
Methodoperator()
include/fork_union.hpp:1432
Methodoperator()
include/fork_union.hpp:1473
Methodoperator()
include/fork_union.hpp:1498
Methodoperator()
include/fork_union.hpp:1533
Methodoperator()
include/fork_union.hpp:1553
Methodoperator()
include/fork_union.hpp:1590
Methodoperator()
include/fork_union.hpp:3181
Methodoperator()
include/fork_union.hpp:3203
Methodoperator()
include/fork_union.hpp:3244
Methodoperator()
include/fork_union.hpp:3774
Methodoperator()
include/fork_union.hpp:3812
Methodoperator()
include/fork_union.hpp:3871
Methodoperator()
include/fork_union.hpp:3980
Methodoperator*
include/fork_union.hpp:722
Methodoperator++
include/fork_union.hpp:734
Methodoperator<
scripts/test.cpp:245
Methodoperator==
scripts/test.cpp:246
Methodoperator==
include/fork_union.hpp:740
Methodoperator==
include/fork_union.hpp:2458
Methodoperator[]
include/fork_union.hpp:679
Functionoperator|
include/fork_union.hpp:294
Methodpar_for_each
Executes a closure in parallel on each element, preserving round-robin distribution.
rust/lib.rs:2171
Methodpar_for_each_mut
Executes a mutable closure in parallel on each element.
rust/lib.rs:2181
Functionparallel_exact_iter_dispatch
()
rust/lib.rs:4155
Functionparallel_slice_mut_dynamic_for_each
()
rust/lib.rs:4116
Functionparallel_slice_static_for_each
()
rust/lib.rs:4100
Functionparallel_slice_zip_sum
()
rust/lib.rs:4133
Methodpick_stride
include/fork_union.hpp:783
Functionpinned_allocator_creation
()
rust/lib.rs:3915
Functionpinned_vec_clear
()
rust/lib.rs:4034
Functionpinned_vec_creation
()
rust/lib.rs:3973
Functionpinned_vec_extend_from_slice
()
rust/lib.rs:4087
Functionpinned_vec_growth
()
rust/lib.rs:4257
Functionpinned_vec_indexing
()
rust/lib.rs:4016
Functionpinned_vec_insert_remove
()
rust/lib.rs:4048
Functionpinned_vec_invalid_numa_node
()
rust/lib.rs:4273
Functionpinned_vec_iterators
()
rust/lib.rs:4214
Functionpinned_vec_push_pop
()
rust/lib.rs:3993
Functionpinned_vec_reserve
()
rust/lib.rs:4070
Functionpinned_vec_send_sync
()
rust/lib.rs:4303
Functionpinned_vec_slices
()
rust/lib.rs:4238
Functionpinned_vec_with_capacity
()
rust/lib.rs:3983
Methodpool_variants_t
c/lib.cpp:74
Methodpop
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
Methodprong
include/fork_union.hpp:357
Methodptr
include/fork_union.hpp:494
Methodred
ANSI color codes */
include/fork_union.hpp:3749
Methodreset
ANSI style codes */
include/fork_union.hpp:3744
Methodresize_with
Resizes the vector in-place so that `len` is equal to `new_len`.
rust/lib.rs:1781
Methodreverse
Reverses the order of elements in the vector, in place.
rust/lib.rs:1739
Functionround_robin_parallel_mut
()
rust/lib.rs:4173
Methodscope
scripts/test.cpp:99
Functionscratch_reduction_collects_sum
()
rust/lib.rs:4196
Methodset_stride
include/fork_union.hpp:578
Methodsize
include/fork_union.hpp:576
Methodsize
include/fork_union.hpp:771
Methodsize_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
Methodsize_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
Methodsleep
* @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
Methodsleep
* @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
Methodsmallest_size
include/fork_union.hpp:685
Functionspawn_and_basic_info
()
rust/lib.rs:3754
Functionstress_test_composite
scripts/test.cpp:404
Methodstride
include/fork_union.hpp:577
Functionsync_const_ptr
()
rust/lib.rs:4280
Functionsync_const_ptr_send_sync
()
rust/lib.rs:4294
Functionsystem_info
()
rust/lib.rs:3743
Methodterminate
* @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
Methodterminate
* @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
Functiontest_coprime_permutation
scripts/test.cpp:58
Functiontest_exclusivity
scripts/test.cpp:160
Functiontest_for_n
scripts/test.cpp:264
Functiontest_for_n_dynamic
scripts/test.cpp:310
← previousnext →301–400 of 446, ranked by callers