- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 90 for NewValue (0.38 sec)
-
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 : Futures.immediateFuture(newValue); } ListenableFuture<V> newValue = loader.reload(key, previousValue); if (newValue == null) { return Futures.immediateFuture(null); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
src/testing/testing_test.go
} } else { os.Unsetenv(test.key) } t.Run(test.name, func(t *testing.T) { t.Setenv(test.key, test.newValue) if os.Getenv(test.key) != test.newValue { t.Fatalf("unexpected value after t.Setenv: got %s, want %s", os.Getenv(test.key), test.newValue) } }) got, exists := os.LookupEnv(test.key) if got != test.initialValue {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats_test.go
{cpuValue: uint64(100), expected: uint64(4000000000)}, } var cpuCores = 4 for _, tc := range testCases { p := perfCounterNodeStatsClient{} newValue := p.convertCPUValue(cpuCores, tc.cpuValue) assert.Equal(t, tc.expected, newValue) } } func TestGetCPUUsageNanoCores(t *testing.T) { // Scaled expected unit test values by the frequency the CPU perf counters are polled.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* iterator tests. * * @return the new container instance * @param newValue the new container instance */ @CanIgnoreReturnValue protected C resetContainer(C newValue) { container = newValue; return container; } /** * @see #expectContents(java.util.Collection) * @param elements expected contents of {@link #container}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultMinimalDependency.java
protected void validateMutation() { throw new UnsupportedOperationException("Minimal dependencies are immutable."); } @Override protected void validateMutation(Object currentValue, Object newValue) { validateMutation(); } @Override public void copyTo(AbstractExternalModuleDependency target) { super.copyTo(target); } // Intentionally changes to the mutable version.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 2.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* * @param key the key under which to store the session data, must not be {@code null} * @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 17.2K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:21:40 UTC 2024 - 16.7K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.9K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 26.3K bytes - Viewed (0)