- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 59 for nowValue (0.09 sec)
-
guava/src/com/google/common/collect/ForwardingConcurrentMap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(0, segment.count); // same value table.set(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); assertTrue(segment.replace(key, hash, oldValue, newValue)); assertEquals(1, segment.count); assertSame(newValue, segment.get(key, hash));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 110.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
assertFalse(segment.replace(key, hash, oldValue, newValue)); assertEquals(0, segment.count); // same value table.set(index, entry); segment.count++; assertEquals(1, segment.count); assertSame(oldValue, segment.get(key, hash)); assertTrue(segment.replace(key, hash, oldValue, newValue)); assertEquals(1, segment.count); assertSame(newValue, segment.get(key, hash));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 112.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
return parent.remove(toCamelCase(key), value); } @Override public boolean replace(final K key, final V oldValue, final V newValue) { if (parent.replace(key, oldValue, newValue)) { return true; } return parent.replace(key, oldValue, newValue); } @Override public V replace(final K key, final V value) { // use original key
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
* nullness checker. */ K key = keyFunction.apply(t); V newValue = valueFunction.apply(t); accum.put( checkNotNull(key, "Null key for input %s", t), checkNotNull(newValue, "Null value for input %s", t)); }, EnumMapAccumulator::combine, EnumMapAccumulator::toImmutableMap,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 17.1K bytes - Viewed (0) -
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();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
assertNull(map.putInstance(Integer.class, new Integer(5))); Integer oldValue = map.putInstance(Integer.class, new Integer(7)); assertEquals(5, (int) oldValue); Integer newValue = map.getInstance(Integer.class); assertEquals(7, (int) newValue); // Won't compile: map.putInstance(Double.class, new Long(42)); } public void testNull() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
V value = localCache.get(key); if (value != null) { return value; } try { V newValue = valueLoader.call(); localCache.put(key, newValue); return newValue; } catch (Exception e) { throw new ExecutionException(e); } } @Override public @Nullable V getIfPresent(Object key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
@Override @CheckForNull V getValue(int index) { return at(index, columnIndex); } @Override @CheckForNull V setValue(int index, @CheckForNull V newValue) { return set(index, columnIndex, newValue); } } /** * Returns an immutable set of the valid column keys, including those that are associated with * null values only. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
*/ final void checkNoDuplicate(R rowKey, C columnKey, @CheckForNull V existingValue, V newValue) { checkArgument( existingValue == null, "Duplicate key: (row=%s, column=%s), values: [%s, %s].", rowKey, columnKey, newValue, existingValue); } // redeclare to satisfy our test for b/310253115 @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.1K bytes - Viewed (0)