- Sort Score
- Result 10 results
- Languages All
Results 3031 - 3040 of 3,735 for Null (0.02 sec)
-
android/guava-tests/test/com/google/common/cache/NullCacheTest.java
public void testGet_computeNull() { LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(null)); assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object())); assertTrue(listener.isEmpty()); checkEmpty(cache); } public void testGet_runtimeException() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
assertThrows(IllegalMonitorStateException.class, () -> monitor1.hasWaiters(guard)); } public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair()); } public void testOccupiedMethods() { Monitor monitor = new Monitor();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java
// the other {@code final} reference. @Override public SortedMultiset<E> descendingMultiset() { UnmodifiableSortedMultiset<E> result = descendingMultiset; if (result == null) { result = new UnmodifiableSortedMultiset<>(delegate().descendingMultiset()); result.descendingMultiset = this; return descendingMultiset = result; } return result; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
return Maps.asMap( graph.edges(), edge -> // requireNonNull is safe because the endpoint pair comes from the graph. requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/NullCacheTest.java
public void testGet_computeNull() { LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() .maximumSize(0) .removalListener(listener) .build(constantLoader(null)); assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object())); assertTrue(listener.isEmpty()); checkEmpty(cache); } public void testGet_runtimeException() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
assertThrows(IllegalMonitorStateException.class, () -> monitor1.hasWaiters(guard)); } public void testNullMonitorInGuardConstructorThrowsNPE() { assertThrows(NullPointerException.class, () -> new FlagGuard(null)); } public void testIsFair() { assertTrue(new Monitor(true).isFair()); assertFalse(new Monitor(false).isFair()); } public void testOccupiedMethods() { Monitor monitor = new Monitor();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/features/caching.md
received followed by a cache hit or miss. Critically in the cache hit scenario the server won’t send the response body. The response will have non-null `cacheResponse` and `networkResponse`. The cacheResponse will be used as the top level response only if the response code is HTTP/1.1 304 Not Modified. - CallStart - **CacheConditionalHit** - ConnectionAcquired
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
assertNull(testBlock.getNextResponse()); } @Test @DisplayName("Test constructor with null andx command") void testConstructorWithNullAndx() { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25, (ServerMessageBlock) null); assertNull(testBlock.getAndx()); } @Test @DisplayName("Test getBatchLimit returns 0 by default")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
} @Override public int size() { return size; } @Override public ImmutableSet<E> elementSet() { ImmutableSet<E> result = elementSet; return (result == null) ? elementSet = new ElementSet() : result; } @WeakOuter private final class ElementSet extends IndexedImmutableSet<E> { @Override E get(int index) { return contents.getKey(index); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} public void testStringConverter_nullConversions() { assertThat(Ints.stringConverter().convert(null)).isNull(); assertThat(Ints.stringConverter().reverse().convert(null)).isNull(); } public void testStringConverter_reverse() { Converter<String, Integer> converter = Ints.stringConverter();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0)