Lines Matching refs:check
4 fn check<I>(iter: I) in check() function
15 check(heap.par_iter()); in debug_binary_heap()
16 check(heap.par_drain()); in debug_binary_heap()
17 check(heap.into_par_iter()); in debug_binary_heap()
24 check(map.par_iter()); in debug_btree_map()
25 check(map.par_iter_mut()); in debug_btree_map()
26 check(map.into_par_iter()); in debug_btree_map()
33 check(set.par_iter()); in debug_btree_set()
34 check(set.into_par_iter()); in debug_btree_set()
41 check(map.par_iter()); in debug_hash_map()
42 check(map.par_iter_mut()); in debug_hash_map()
43 check(map.par_drain()); in debug_hash_map()
44 check(map.into_par_iter()); in debug_hash_map()
51 check(set.par_iter()); in debug_hash_set()
52 check(set.par_drain()); in debug_hash_set()
53 check(set.into_par_iter()); in debug_hash_set()
60 check(list.par_iter()); in debug_linked_list()
61 check(list.par_iter_mut()); in debug_linked_list()
62 check(list.into_par_iter()); in debug_linked_list()
69 check(deque.par_iter()); in debug_vec_deque()
70 check(deque.par_iter_mut()); in debug_vec_deque()
71 check(deque.par_drain(..)); in debug_vec_deque()
72 check(deque.into_par_iter()); in debug_vec_deque()
78 check(option.par_iter()); in debug_option()
79 check(option.par_iter_mut()); in debug_option()
80 check(option.into_par_iter()); in debug_option()
86 check(result.par_iter()); in debug_result()
87 check(result.par_iter_mut()); in debug_result()
88 check(result.into_par_iter()); in debug_result()
93 check((0..10).into_par_iter()); in debug_range()
98 check((0..=10).into_par_iter()); in debug_range_inclusive()
104 check(s.par_chars()); in debug_str()
105 check(s.par_lines()); in debug_str()
106 check(s.par_split('\n')); in debug_str()
107 check(s.par_split_terminator('\n')); in debug_str()
108 check(s.par_split_whitespace()); in debug_str()
120 check(v.par_iter()); in debug_vec()
121 check(v.par_iter_mut()); in debug_vec()
122 check(v.par_chunks(42)); in debug_vec()
123 check(v.par_chunks_exact(42)); in debug_vec()
124 check(v.par_chunks_mut(42)); in debug_vec()
125 check(v.par_chunks_exact_mut(42)); in debug_vec()
126 check(v.par_rchunks(42)); in debug_vec()
127 check(v.par_rchunks_exact(42)); in debug_vec()
128 check(v.par_rchunks_mut(42)); in debug_vec()
129 check(v.par_rchunks_exact_mut(42)); in debug_vec()
130 check(v.par_windows(42)); in debug_vec()
131 check(v.par_split(|x| x % 3 == 0)); in debug_vec()
132 check(v.par_split_mut(|x| x % 3 == 0)); in debug_vec()
133 check(v.par_drain(..)); in debug_vec()
134 check(v.into_par_iter()); in debug_vec()
140 check(a.into_par_iter()); in debug_array()
146 check(v.par_iter().chain(&v)); in debug_adaptors()
147 check(v.par_iter().cloned()); in debug_adaptors()
148 check(v.par_iter().copied()); in debug_adaptors()
149 check(v.par_iter().enumerate()); in debug_adaptors()
150 check(v.par_iter().filter(|_| true)); in debug_adaptors()
151 check(v.par_iter().filter_map(Some)); in debug_adaptors()
152 check(v.par_iter().flat_map(Some)); in debug_adaptors()
153 check(v.par_iter().flat_map_iter(Some)); in debug_adaptors()
154 check(v.par_iter().map(Some).flatten()); in debug_adaptors()
155 check(v.par_iter().map(Some).flatten_iter()); in debug_adaptors()
156 check(v.par_iter().fold(|| 0, |x, _| x)); in debug_adaptors()
157 check(v.par_iter().fold_with(0, |x, _| x)); in debug_adaptors()
158 check(v.par_iter().fold_chunks(3, || 0, |x, _| x)); in debug_adaptors()
159 check(v.par_iter().fold_chunks_with(3, 0, |x, _| x)); in debug_adaptors()
160 check(v.par_iter().try_fold(|| 0, |x, _| Some(x))); in debug_adaptors()
161 check(v.par_iter().try_fold_with(0, |x, _| Some(x))); in debug_adaptors()
162 check(v.par_iter().inspect(|_| ())); in debug_adaptors()
163 check(v.par_iter().update(|_| ())); in debug_adaptors()
164 check(v.par_iter().interleave(&v)); in debug_adaptors()
165 check(v.par_iter().interleave_shortest(&v)); in debug_adaptors()
166 check(v.par_iter().intersperse(&-1)); in debug_adaptors()
167 check(v.par_iter().chunks(3)); in debug_adaptors()
168 check(v.par_iter().map(|x| x)); in debug_adaptors()
169 check(v.par_iter().map_with(0, |_, x| x)); in debug_adaptors()
170 check(v.par_iter().map_init(|| 0, |_, x| x)); in debug_adaptors()
171 check(v.par_iter().panic_fuse()); in debug_adaptors()
172 check(v.par_iter().positions(|_| true)); in debug_adaptors()
173 check(v.par_iter().rev()); in debug_adaptors()
174 check(v.par_iter().skip(1)); in debug_adaptors()
175 check(v.par_iter().skip_any(1)); in debug_adaptors()
176 check(v.par_iter().skip_any_while(|_| false)); in debug_adaptors()
177 check(v.par_iter().take(1)); in debug_adaptors()
178 check(v.par_iter().take_any(1)); in debug_adaptors()
179 check(v.par_iter().take_any_while(|_| true)); in debug_adaptors()
180 check(v.par_iter().map(Some).while_some()); in debug_adaptors()
181 check(v.par_iter().with_max_len(1)); in debug_adaptors()
182 check(v.par_iter().with_min_len(1)); in debug_adaptors()
183 check(v.par_iter().zip(&v)); in debug_adaptors()
184 check(v.par_iter().zip_eq(&v)); in debug_adaptors()
185 check(v.par_iter().step_by(2)); in debug_adaptors()
190 check(rayon::iter::empty::<i32>()); in debug_empty()
195 check(rayon::iter::once(10)); in debug_once()
201 check(rayon::iter::repeat(x)); in debug_repeat()
202 check(rayon::iter::repeatn(x, 10)); in debug_repeat()
207 check(rayon::iter::split(0..10, |x| (x, None))); in debug_splitter()
213 check((v,).into_par_iter()); in debug_multizip()
214 check((v, v).into_par_iter()); in debug_multizip()
215 check((v, v, v).into_par_iter()); in debug_multizip()
216 check((v, v, v, v).into_par_iter()); in debug_multizip()
217 check((v, v, v, v, v).into_par_iter()); in debug_multizip()
218 check((v, v, v, v, v, v).into_par_iter()); in debug_multizip()
219 check((v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()
220 check((v, v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()
221 check((v, v, v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()
222 check((v, v, v, v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()
223 check((v, v, v, v, v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()
224 check((v, v, v, v, v, v, v, v, v, v, v, v).into_par_iter()); in debug_multizip()