Lines Matching refs:steal
13 assert_eq!(q.steal(), Empty); in smoke()
17 assert_eq!(q.steal(), Success(1)); in smoke()
18 assert_eq!(q.steal(), Success(2)); in smoke()
19 assert_eq!(q.steal(), Empty); in smoke()
22 assert_eq!(q.steal(), Success(3)); in smoke()
23 assert_eq!(q.steal(), Empty); in smoke()
36 let _ = q.steal(); in is_empty()
38 let _ = q.steal(); in is_empty()
43 let _ = q.steal(); in is_empty()
60 if let Success(v) = q.steal() { in spsc()
69 assert_eq!(q.steal(), Empty); in spsc()
103 if let Success(n) = q.steal() { in mpmc()
144 if let Success(x) = q.steal() { in stampede()
155 if let Success(x) = q.steal() { in stampede()
187 if let Success(_) = q.steal() { in stress()
208 while let Success(_) = q.steal() { in stress()
218 while let Success(_) = q.steal() { in stress()
248 if let Success(_) = q.steal() { in no_starvation()
270 while let Success(_) = q.steal() { in no_starvation()
328 if let Success(_) = q.steal() { in destructors()
349 if let Success(_) = q.steal() { in destructors()