Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NthTensor/Forte
/ functions
Functions
204 in github.com/NthTensor/Forte
⨍
Functions
204
◇
Types & classes
46
Function
baseline
(bencher: Bencher, len: usize)
benches/bevy_tasks.rs:51
Function
bevy_tasks
(bencher: Bencher, len: usize)
benches/bevy_tasks.rs:57
Function
broadcast
Runs an operation on multiple threads and returns a vector of results. When executed on a thread that is currently registered as a worker (i.e. the c
src/thread_pool.rs:2454
Function
chili
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:113
Method
clone_as_waker
Creates a new `RawWaker` from the provided pointer. # Safety Must be called with a pointer created by calling `Arc::into_raw` on an instance of `Arc
src/scope.rs:854
Method
deref
(&self)
src/thread_pool.rs:1152
Method
drop
(&mut self)
src/thread_pool.rs:1077
Method
drop
(&mut self)
src/unwind.rs:33
Method
drop
(&mut self)
src/scope.rs:957
Method
drop_as_waker
Frees the waker. # Safety Must be called with a pointer created by calling `Arc::into_raw` on an instance of `Arc<Self>` that is still alive.
src/scope.rs:905
Method
execute
(self, worker: &Worker)
src/job.rs:70
Function
execute_runnable
(this: NonNull<()>, _worker: &Worker)
src/thread_pool.rs:533
Function
forte
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:74
Function
forte
(bencher: Bencher, size: usize)
benches/flood_fill.rs:71
Function
forte
(bencher: Bencher, size: usize)
benches/flat_scope.rs:36
Function
forte
(bencher: Bencher, len: usize)
benches/bevy_tasks.rs:84
Function
forte_chunks
( worker: &forte::Worker, data: &mut [T], func: &F, )
benches/bevy_tasks.rs:16
Method
from_seed
(seed: u64)
src/util.rs:32
Method
grow
Adds the given number of threads to the thread pool. Returns the new size of the pool. The new size may be smaller than requested if all the seats in
src/thread_pool.rs:247
Method
id
(&self)
src/job.rs:64
Function
join_basic
()
src/thread_pool.rs:2571
Function
join_deep
()
src/thread_pool.rs:2586
Function
join_wide
()
src/thread_pool.rs:2613
Function
main
This build-script is intentionally left blank. It exists so that cargo will let us use the `link` field, which ensures that only one version of forte
build.rs:6
Function
main
()
benches/fork_join.rs:184
Function
main
()
benches/flood_fill.rs:201
Function
main
()
benches/flat_scope.rs:77
Function
main
()
benches/bevy_tasks.rs:100
Function
main
()
ci/src/main.rs:12
Method
map_current
(f: F)
src/thread_pool.rs:1174
Method
member_index
(&self)
src/thread_pool.rs:942
Method
migrated
(&self)
src/thread_pool.rs:1504
Method
new
()
src/thread_pool.rs:114
Method
new
( job_pointer: NonNull<()>, execute_fn: unsafe fn(NonNull<()>, &Worker), )
src/job.rs:51
Method
new
(init: fn() -> T)
src/lib.rs:263
Method
new
()
src/util.rs:16
Method
new
Creates a new latch backed by the provided semaphore.
src/latch.rs:66
Method
new
Creates a new `ScopedFutureJob` in an `Arc`. The caller is expected to immediately call `into_job_ref` and queue it on a worker to be polled.
src/scope.rs:623
Method
new
Creates a new [`PreparedCommand`] from a [`Cmd`] and a failure message. The other fields of [`PreparedCommand`] are filled in with their default valu
ci/src/prepare.rs:70
Method
next_batch
(&mut self)
benches/bevy_tasks.rs:9
Function
nodes
()
benches/fork_join.rs:35
Function
num_members
Returns the number of members participating in a thread-pool. When executed on a thread that is currently registered as a worker (i.e. the closure in
src/thread_pool.rs:2496
Method
populate
Ensures that there is at least one worker thread attached to the thread pool. This is mostly used to avoid deadlocks. This should be called before blo
src/thread_pool.rs:268
Method
prepare
( &self, sh: &'a xshell::Shell, _flags: Flag, )
ci/src/commands/compile_check.rs:14
Method
prepare
( &self, sh: &'a xshell::Shell, _flags: Flag, )
ci/src/commands/format.rs:14
Method
prepare
( &self, sh: &'a xshell::Shell, _flags: Flag, )
ci/src/commands/doc_check.rs:14
Method
prepare
( &self, sh: &'a xshell::Shell, flags: Flag, )
ci/src/commands/doc.rs:15
Method
prepare
( &self, sh: &'a xshell::Shell, flags: Flag, )
ci/src/commands/lints.rs:15
Method
prepare
( &self, sh: &'a xshell::Shell, _flags: Flag, )
ci/src/commands/clippy.rs:14
Method
prepare
( &self, sh: &'a xshell::Shell, flags: Flag, )
ci/src/commands/compile.rs:14
Method
prepare
( &self, sh: &'a xshell::Shell, flags: Flag, )
ci/src/commands/doc_test.rs:14
Function
rayon
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:150
Function
rayon
(bencher: Bencher, size: usize)
benches/flood_fill.rs:138
Function
rayon
(bencher: Bencher, size: usize)
benches/flat_scope.rs:58
Function
rayon
(bencher: Bencher, len: usize)
benches/bevy_tasks.rs:72
Function
scope_borrow
()
src/scope.rs:1048
Function
scope_borrow_twice
()
src/scope.rs:1067
Function
scope_concurrency
()
src/scope.rs:1176
Function
scope_divide_and_conquer
()
src/scope.rs:1258
Function
scope_empty
()
src/scope.rs:998
Function
scope_future
()
src/scope.rs:1094
Function
scope_linear_stack_growth
()
src/scope.rs:1402
Function
scope_mixed_lifetimes
()
src/scope.rs:1624
Function
scope_nesting
()
src/scope.rs:1205
Function
scope_nesting_new_worker
()
src/scope.rs:1228
Function
scope_panic_propagate_from_closure
()
src/scope.rs:1449
Function
scope_panic_propagate_from_nested_scope_spawn
()
src/scope.rs:1492
Function
scope_panic_propagate_from_nested_spawn
()
src/scope.rs:1474
Function
scope_panic_propagate_from_spawn
()
src/scope.rs:1461
Function
scope_panic_propagate_still_execute_after
()
src/scope.rs:1510
Function
scope_panic_propagate_still_execute_before
()
src/scope.rs:1533
Function
scope_panic_propagate_still_execute_before_closure
()
src/scope.rs:1555
Function
scope_panic_propagate_still_execute_closure_after
()
src/scope.rs:1577
Function
scope_pending_future
()
src/scope.rs:1143
Function
scope_result
()
src/scope.rs:1009
Function
scope_sleeping_future
()
src/scope.rs:1155
Function
scope_static
()
src/scope.rs:1598
Function
scope_two
()
src/scope.rs:1024
Function
scope_update_tree
()
src/scope.rs:1311
Method
shrink
Removes the given number of threads from the thread pool. Returns the new size of the pool. See [`ThreadPool::resize`] for more information about res
src/thread_pool.rs:255
Method
size_hint
(&self)
src/util.rs:81
Function
sizes
()
benches/flood_fill.rs:15
Function
sizes
()
benches/flat_scope.rs:12
Function
spawn_broadcast
Runs an operation on multiple threads without waiting for results. When executed on a thread that is currently registered as a worker (i.e. the closu
src/thread_pool.rs:2478
Method
spawn_broadcast
Runs an operation across multiple threads. This is like [`Worker::spawn_broadcast`], but allows the work to borrow local data.
src/scope.rs:220
Function
spawn_cancel_safety
()
src/thread_pool.rs:2559
Method
spawn_local
(&self, work: S)
src/thread_pool.rs:1601
Method
spawn_local
Like [`spawn`](Self::spawn), but accepts `!Send` work, which is confined to (and only ever polled on) the current worker's thread.
src/scope.rs:195
Function
spawn_on
Runs work on the background on a specific worker thread. This is quite similar to [`spawn`], except that the work will run on another worker instead
src/thread_pool.rs:2360
Function
spawn_then_join_in_worker
()
src/thread_pool.rs:2533
Function
spawn_then_join_outside_worker
()
src/thread_pool.rs:2547
Function
sum
(node: &Node)
benches/fork_join.rs:55
Function
throughput_forte
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:94
Function
throughput_rayon
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:168
Function
thrughput_chili
(bencher: Bencher, nodes: (usize, usize))
benches/fork_join.rs:132
Method
tree
Constructs a new binary tree with the given number of layers.
benches/fork_join.rs:19
Method
wait
(&self, seat_bitmask: u32, waiting_bitmask: &'static AtomicU32)
src/latch.rs:95
Method
wake
(self: Arc<Self>)
src/latch.rs:280
Method
wake
Queues self to be executed and consumes the waker. # Safety Must be called with a pointer created by calling `Arc::into_raw` on an instance of `Arc<
src/scope.rs:867
Method
wake_by_ref
(self: &Arc<Self>)
src/latch.rs:286
← previous
next →
101–200 of 204, ranked by callers