Searched refs:one_lap (Results 1 – 2 of 2) sorted by relevance
73 one_lap: usize, field114 let one_lap = (cap + 1).next_power_of_two(); in new() localVariable119 one_lap, in new()134 let index = tail & (self.one_lap - 1); in push_or_else()135 let lap = tail & !(self.one_lap - 1); in push_or_else()144 lap.wrapping_add(self.one_lap) in push_or_else()174 } else if stamp.wrapping_add(self.one_lap) == tail + 1 { in push_or_else()206 if head.wrapping_add(self.one_lap) == tail { in push()234 let head = tail.wrapping_sub(self.one_lap); in force_push()235 let new_head = new_tail.wrapping_sub(self.one_lap); in force_push()[all …]
80 one_lap: usize, field99 let one_lap = mark_bit * 2; in with_capacity() localVariable121 one_lap, in with_capacity()155 let lap = tail & !(self.one_lap - 1); in start_send()171 lap.wrapping_add(self.one_lap) in start_send()192 } else if stamp.wrapping_add(self.one_lap) == tail + 1 { in start_send()197 if head.wrapping_add(self.one_lap) == tail { in start_send()238 let lap = head & !(self.one_lap - 1); in start_recv()254 lap.wrapping_add(self.one_lap) in start_recv()267 token.array.stamp = head.wrapping_add(self.one_lap); in start_recv()[all …]