Searched refs:expectedOldValue (Results 1 – 2 of 2) sorted by relevance
35 int32_t expectedOldValue);341 int32_t expectedOldValue) { in _put() argument348 } else if (oldValue != expectedOldValue) { in _put()350 key, oldValue, expectedOldValue); in _put()
397 boolean replace(K key, long expectedOldValue, long newValue) {398 if (expectedOldValue == 0L) {402 return (atomic == null) ? false : atomic.compareAndSet(expectedOldValue, newValue);