- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for old (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
int originalCount = getMultiset().count(e0()); assertEquals("old count", originalCount, getMultiset().remove(e0(), 0)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_present() { assertEquals( "multiset.remove(present, 2) didn't return the old count", 1, getMultiset().remove(e0(), 2));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} /** * Increments by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndIncrement(K key) { return getAndAdd(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the old value. */ @CanIgnoreReturnValue public long getAndDecrement(K key) {
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-tests/test/com/google/common/io/FilesCreateTempDirTest.java
} } public void testBogusSystemPropertiesUsername() { if (isAndroid()) { /* * The test calls directly into the "ACL-based filesystem" code, which isn't available under * old versions of Android. Since Android doesn't use that code path, anyway, there's no need * to test it. */ return; } /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/GraphsBridgeMethods.java
package com.google.common.graph; import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta @ElementTypesAreNonnullByDefault abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 14 19:31:40 UTC 2024 - 707 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); break; } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java
@Override public void hook(final FwAssistantDirector assistantDirector) { shutdownCommonsHttpClient(); } private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class) try { final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"); final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphsBridgeMethods.java
package com.google.common.graph; import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta @ElementTypesAreNonnullByDefault abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 14 19:31:40 UTC 2024 - 707 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
limiter.acquire(); // #3 } limiter.setRate(4.0); // double the rate! limiter.acquire(); // #4, we repay the debt of the last acquire (imposed by the old rate) for (int i = 0; i < 4; i++) { limiter.acquire(); // #5 } stopwatch.sleepMillis(4250); // #6, back to cold state (warmup period + repay last acquire) for (int i = 0; i < 11; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.6K bytes - Viewed (0)