- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for new_value1 (0.48 sec)
-
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
return (K) keys[index]; } int getValue(int index) { checkElementIndex(index, size); return values[index]; } void setValue(int index, int newValue) { checkElementIndex(index, size); values[index] = newValue; } Entry<K> getEntry(int index) { checkElementIndex(index, size); return new MapEntry(index); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 14.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_nullTreatedAsAbsent() { initMapWithNullValue(); assertEquals( "computeIfAbsent(presentAssignedToNull, function) should return newValue", getValueForNullKey(), getMap() .computeIfAbsent( getKeyForNullValue(), k -> { assertEquals(getKeyForNullValue(), k);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 11:21:39 UTC 2025 - 99.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testComputeIfAbsent_nullTreatedAsAbsent() { initMapWithNullValue(); assertEquals( "computeIfAbsent(presentAssignedToNull, function) should return newValue", getValueForNullKey(), getMap() .computeIfAbsent( getKeyForNullValue(), k -> { assertEquals(getKeyForNullValue(), k);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
} @CanIgnoreReturnValue @Override public boolean replace(K key, @Nullable V oldValue, V newValue) { checkNotNull(key); checkNotNull(newValue); if (oldValue == null) { return false; } int hash = hash(key); return segmentFor(hash).replace(key, hash, oldValue, newValue); } @CanIgnoreReturnValue @Override public @Nullable V replace(K key, V value) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
@ParametricNullness K key, boolean containedKey, @Nullable V oldValue, @ParametricNullness V newValue) { if (containedKey) { // The cast is safe because of the containedKey check. removeFromInverseMap(uncheckedCastNullableTToT(oldValue)); } inverse.delegate.put(newValue, key); } @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 14.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
Entry<Cut<K>, RangeMapEntry<K, V>> entry = backingItr.next(); V newValue = remappingFunction.apply(entry.getValue().getValue(), value); if (newValue == null) { backingItr.remove(); } else { entry.setValue( new RangeMapEntry<K, V>( entry.getValue().getLowerBound(), entry.getValue().getUpperBound(), newValue)); } } entriesByLowerBound.putAll(gaps.build());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) { if (replica.containsKey(newValue)) { replica.get(newValue).incrementAndGet(); } else { replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.1K bytes - Viewed (0) -
cmd/erasure-healing.go
if isReservedOrInvalidBucket(volInfo.Name, false) { continue } healBuckets.Compute(volInfo.Name, func(oldValue VolInfo, loaded bool) (newValue VolInfo, del bool) { if loaded { newValue = oldValue newValue.count = oldValue.count + 1 return newValue, false } return VolInfo{ Name: volInfo.Name, Created: volInfo.Created, count: 1, }, false })
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
private @Nullable T value; @Nullable T get() { return value; } void checkAndSet(@Nullable T expected, @Nullable T newValue) { if (value != expected) { throw new ConcurrentModificationException(); } value = newValue; } void clear() { value = null; } } private static final class AvlNode<E extends @Nullable Object> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 33.9K bytes - Viewed (0)