- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for newValue1 (0.09 seconds)
-
src/main/java/org/codelibs/fess/suggest/entity/SuggestItemSerializer.java
} } /** * Merges a frequency value from existing source with new value. */ private static long mergeFrequency(final Map<String, Object> existingSource, final String fieldName, final long newValue) { final Object freqObj = existingSource.get(fieldName); if (freqObj == null) { return newValue; }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 13.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
V previousValue = oldValue.get(); if (previousValue == null) { V newValue = loader.load(key); return set(newValue) ? futureValue : immediateFuture(newValue); } ListenableFuture<V> newValue = loader.reload(key, previousValue); if (newValue == null) { return immediateFuture(null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// different value assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(1, segment.count); assertThat(segment.get(key, hash)).isEqualTo(newValue); // cleared segment.setWeakValueReferenceForTesting(entry, oldValueRef); oldValueRef.clear(); assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(0, segment.count);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// different value assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(1, segment.count); assertThat(segment.get(key, hash)).isEqualTo(newValue); // cleared segment.setWeakValueReferenceForTesting(entry, oldValueRef); oldValueRef.clear(); assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(0, segment.count);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertThat(cache.asMap().put(entry.getKey(), newValue)).isSameInstanceAs(entry.getValue()); // don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertThat(cache.asMap().put(newKey, entry.getValue())).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
V previousValue = oldValue.get(); if (previousValue == null) { V newValue = loader.load(key); return set(newValue) ? futureValue : immediateFuture(newValue); } ListenableFuture<V> newValue = loader.reload(key, previousValue); if (newValue == null) { return immediateFuture(null); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
long oldValue; long newValue; do { oldValue = data.get(longIndex); newValue = oldValue | mask; if (oldValue == newValue) { return false; } } while (!data.compareAndSet(longIndex, oldValue, newValue)); // We turned the bit on, so increment bitCount. bitCount.increment();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
// different value assertThat(segment.replace(key, hash, oldValue, newValue)).isFalse(); assertThat(segment.count).isEqualTo(1); assertThat(segment.get(key, hash)).isSameInstanceAs(newValue); // cleared entry.setValueReference(oldValueRef); assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue); oldValueRef.clear();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
// different value assertThat(segment.replace(key, hash, oldValue, newValue)).isFalse(); assertThat(segment.count).isEqualTo(1); assertThat(segment.get(key, hash)).isSameInstanceAs(newValue); // cleared entry.setValueReference(oldValueRef); assertThat(segment.get(key, hash)).isSameInstanceAs(oldValue); oldValueRef.clear();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 21.6K bytes - Click Count (0)