- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 200 for oldValues (0.3 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultInstrumentedClosuresTracker.java
currentClosuresEntries.computeInt(thisClosure, (key, oldValue) -> { if (oldValue == null) { throw new IllegalStateException("leaveClosure called with an untracked instance"); } else { if (oldValue == 1) { return null; } else { return oldValue - 1; } } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:58:00 UTC 2023 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/equality.go
} defer func() { r.comparisonResult = &res }() if r.Value == nil && r.OldValue == nil { return true } else if r.Value == nil || r.OldValue == nil { return false } oldAsArray, oldIsArray := r.OldValue.([]interface{}) newAsArray, newIsArray := r.Value.([]interface{}) oldAsMap, oldIsMap := r.OldValue.(map[string]interface{}) newAsMap, newIsMap := r.Value.(map[string]interface{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 21:53:21 UTC 2023 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
// The cast is safe because the callers of this method first check that the key is present. V oldValue = uncheckedCastNullableTToT(delegate.remove(key)); removeFromInverseMap(oldValue); return oldValue; } private void removeFromInverseMap(@ParametricNullness V oldValue) { inverse.delegate.remove(oldValue); } // Bulk Operations @Override public void putAll(Map<? extends K, ? extends V> map) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 14.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/internal/provider/views/MapPropertyMapView.java
public V put(K key, V value) { V oldValue = get(key); delegate.put(key, value); return oldValue; } @Override public void putAll(Map<? extends K, ? extends V> m) { delegate.putAll(m); } @Override @Nullable public V remove(Object key) { Map<K, V> map = new LinkedHashMap<>(delegate.get()); V oldValue = map.remove(key); delegate.set(map);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:28 UTC 2024 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
Entry<K, V> e = RegularImmutableMap.makeImmutable(requireNonNull(entryArray[i])); entryArray[i] = e; V oldValue = forwardDelegate.putIfAbsent(e.getKey(), e.getValue()); if (oldValue != null) { throw conflictException("key", e.getKey() + "=" + oldValue, entryArray[i]); } K oldKey = backwardDelegate.putIfAbsent(e.getValue(), e.getKey()); if (oldKey != null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt
} fun systemPropertyLoaded(key: Any, value: Any?, oldValue: Any?) { val loadedOldValue = when (val loadedSystemProperty = mutatedSystemProperties[key]) { is SystemPropertyLoad -> loadedSystemProperty.oldValue else -> oldValue } mutatedSystemProperties[key] = SystemPropertyLoad(key, value, loadedOldValue)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
* the thread's interrupt status is set * @since 11.0 */ @GwtIncompatible // Futures public ListenableFuture<V> reload(K key, V oldValue) throws Exception { checkNotNull(key); checkNotNull(oldValue); return Futures.immediateFuture(load(key)); } /** * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/scopeids/DefaultPersistentScopeIdLoader.java
return store.maybeUpdate(new ObjectHolder.UpdateAction<UniqueId>() { @Override public UniqueId update(UniqueId oldValue) { if (oldValue == null) { return generator.create(); } else { return oldValue; } } }); } private ObjectHolder<UniqueId> store(ScopeParams params) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 18:14:29 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
Set<Entry<K, V>> entrySet = map.entrySet(); Entry<K, V> entry = entrySet.iterator().next(); V oldValue = entry.getValue(); V returnedValue = entry.setValue(oldValue); assertEquals(oldValue, returnedValue); assertTrue(entrySet.contains(mapEntry(entry.getKey(), oldValue))); assertEquals(oldValue, map.get(entry.getKey())); assertInvariants(map); } public void testEqualsForEqualMap() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 45.9K bytes - Viewed (0)