HomeSort by relevance Sort by last modified time
    Searched full:expectedoldvalue (Results 1 - 2 of 2) sorted by null

  /external/guava/guava/src/com/google/common/util/concurrent/
AtomicLongMap.java 376 * If {@code (key, expectedOldValue)} is currently in the map, this method replaces
377 * {@code expectedOldValue} with {@code newValue} and returns true; otherwise, this method
380 * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)}
383 boolean replace(K key, long expectedOldValue, long newValue) {
384 if (expectedOldValue == 0L) {
388 return (atomic == null) ? false : atomic.compareAndSet(expectedOldValue, newValue);
  /external/icu4c/test/cintltst/
chashtst.c 33 int32_t expectedOldValue);
339 int32_t expectedOldValue) {
346 } else if (oldValue != expectedOldValue) {
348 key, oldValue, expectedOldValue);

Completed in 77 milliseconds