Home
last modified time | relevance | path

Searched refs:one_lap (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/crossbeam-channel/src/flavors/
Darray.rs86 one_lap: usize, field
108 let one_lap = mark_bit * 2; in with_capacity() localVariable
135 one_lap, in with_capacity()
170 let lap = tail & !(self.one_lap - 1); in start_send()
185 lap.wrapping_add(self.one_lap) in start_send()
206 } else if stamp.wrapping_add(self.one_lap) == tail + 1 { in start_send()
211 if head.wrapping_add(self.one_lap) == tail { in start_send()
252 let lap = head & !(self.one_lap - 1); in start_recv()
267 lap.wrapping_add(self.one_lap) in start_recv()
280 token.array.stamp = head.wrapping_add(self.one_lap); in start_recv()
[all …]