MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / empty_n

Method empty_n

flow-rs/src/channel/sender.rs:78–80  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

76
77 #[doc(hidden)]
78 pub fn empty_n(&self) -> usize {
79 self.epoch.load(Ordering::Relaxed)
80 }
81 pub fn len(&self) -> usize {
82 if let Some(imp) = self.imp.as_ref() {
83 imp.len()

Callers 2

start_loopMethod · 0.45
startMethod · 0.45

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected