Searched refs:increment_and_get (Results 1 – 3 of 3) sorted by relevance
35 assert_eq!(1, atomic.increment_and_get().unwrap()); in test_single_thread()44 assert_eq!(1, atomic.increment_and_get().unwrap()); in test_serialized_threads()65 atomic.increment_and_get().unwrap(); in test_concurrent_threads()
37 pub fn increment_and_get(&mut self) -> Result<jint> { in increment_and_get() method
364 def increment_and_get(self): member in _AtomicCounter439 self._id = _context_id_counter.increment_and_get()