Home
last modified time | relevance | path

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

/external/rust/crates/itertools/src/
Dmerge_join.rs5 use super::adaptors::{PutBack, put_back};
18 left: put_back(left.into_iter().fuse()), in merge_join_by()
19 right: put_back(right.into_iter().fuse()), in merge_join_by()
72 self.right.put_back(right); in next()
76 self.left.put_back(left); in next()
109 Ordering::Less => self.right.put_back(right), in count()
110 Ordering::Greater => self.left.put_back(left), in count()
136 self.right.put_back(right); in last()
140 self.left.put_back(left); in last()
161 Ordering::Less => self.right.put_back(right), in nth()
[all …]
Ddiff.rs8 use crate::free::put_back;
51 None => return Some(Diff::Shorter(idx, put_back(i).with_value(i_elem))), in diff_with()
53 let remaining_i = put_back(i).with_value(i_elem); in diff_with()
54 let remaining_j = put_back(j).with_value(j_elem); in diff_with()
60 j.next().map(|j_elem| Diff::Longer(idx, put_back(j).with_value(j_elem))) in diff_with()
Dpeeking_take_while.rs45 self.put_back(r); in peeking_next()
64 self.put_back(r); in peeking_next()
Dput_back_n_impl.rs44 pub fn put_back(&mut self, x: I::Item) { in put_back() method
Dfree.rs23 put_back,
/external/rust/crates/itertools/tests/
Dpeeking_take_while.rs2 use itertools::{put_back, put_back_n};
13 let mut r = put_back(0..10); in peeking_take_while_put_back()
24 r.put_back(elt); in peeking_take_while_put_back_n()
Dspecializations.rs77 test_specializations(&itertools::put_back(test_vec.iter()));
78 let mut pb = itertools::put_back(test_vec.into_iter());
79 pb.put_back(1);
Dtest_core.rs13 use crate::it::free::put_back;
156 let mut pb = put_back(xs.iter().cloned()); in test_put_back()
158 pb.put_back(1); in test_put_back()
159 pb.put_back(0); in test_put_back()
Dquick.rs24 put_back,
817 let mut it = put_back(a.into_iter());
819 Some(t) => it.put_back(t),
830 it.put_back(elt)
Dtest_std.rs198 pb.put_back(1); in test_put_back_n()
199 pb.put_back(0); in test_put_back_n()
/external/autotest/tko/
Dstatus_lib_unittest.py73 buf.put_back("1")
74 buf.put_back("0")
Dstatus_lib.py77 def put_back(self, line): member in line_buffer
/external/autotest/tko/parsers/
Dversion_1.py298 line_buffer.put_back(line)
301 line_buffer.put_back(abort)
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dcluster_coordinator_test.py61 queue.put_back(closure1)
83 closure_queue.put_back(closure)
375 queue.put_back(closure)
Dcluster_coordinator.py556 def put_back(self, closure): member in _CoordinatedClosureQueue
766 …on_failure_fn=lambda: self._cluster._closure_queue.put_back(closure), # pylint: disable=protected…
/external/rust/crates/itertools/src/adaptors/
Dmod.rs173 pub fn put_back<I>(iterable: I) -> PutBack<I::IntoIter> in put_back() function
187 self.put_back(value); in with_value()
202 pub fn put_back(&mut self, x: I::Item) { in put_back() function
/external/libabigail/src/
Dabg-ini.cc913 put_back(c); in peek()
968 put_back(char c) in put_back() function in abigail::ini::read_context
/external/rust/crates/itertools/
DCHANGELOG.md174 - `PutBack::new`, `PutBackN::new` to `put_back`, `put_back_n`
/external/libabigail/
DChangeLog19112 (read_context::{peek, get, put_back, good, eof, read_string,