Home
last modified time | relevance | path

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

/external/rust/crates/rayon/src/slice/
Dmergesort.rs14 unsafe fn get_and_increment<T>(ptr: &mut *mut T) -> *mut T { in get_and_increment() function
176 get_and_increment(&mut right) in merge()
178 get_and_increment(left) in merge()
180 ptr::copy_nonoverlapping(to_copy, get_and_increment(out), 1); in merge()
482 get_and_increment(&mut s.right_start) in par_merge()
484 get_and_increment(&mut s.left_start) in par_merge()
486 ptr::copy_nonoverlapping(to_copy, get_and_increment(&mut s.dest), 1); in par_merge()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py594 def get_and_increment(): function
600 self.assertAllEqual(1, get_and_increment())
601 self.assertAllEqual(2, get_and_increment())
604 self.assertAllEqual(3, get_and_increment())