Home
last modified time | relevance | path

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

/external/rust/crates/itertools/src/
Dminmax.rs54 let (mut min, mut max, mut min_key, mut max_key) = match it.next() { in minmax_impl()
81 if lt(&first, &min, &first_key, &min_key) { in minmax_impl()
93 if lt(&first, &min, &first_key, &min_key) { in minmax_impl()
95 min_key = first_key; in minmax_impl()
102 if lt(&second, &min, &second_key, &min_key) { in minmax_impl()
104 min_key = second_key; in minmax_impl()
/external/rust/crates/rayon/src/iter/
Dmod.rs1497 fn min_key<T, K: Ord>(a: (K, T), b: (K, T)) -> (K, T) { in min_by_key() function
1504 let (_, x) = self.map(key(f)).reduce_with(min_key)?; in min_by_key()