- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 1,836 for SIZE (0.36 sec)
-
guava-tests/test/com/google/common/io/CharStreamsTest.java
* reduced the available size of the buffer each time a call to read didn't fill up the available * space in the buffer completely. In general this is a performance problem since the buffer size * is permanently reduced, but with certain Reader implementations it could also cause the buffer * size to reach 0, causing an infinite loop. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
protected Iterator<E> standardIterator() { return Multisets.iteratorImpl(this); } /** * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected int standardSize() { return Multisets.linearTimeSizeImpl(this); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
public val code: Int get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[1].toInt() } public val message: String get() { val statusParts = status.split(' ', limit = 3) require(statusParts.size >= 2) { "Unexpected status: $status" } return statusParts[2] } public val headers: HeadersRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
} /** * Returns the number of elements in this fluent iterable. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#count}. */ public final int size() { return Iterables.size(getDelegate()); } /** * Returns {@code true} if this fluent iterable contains any object for which {@code * equals(target)} is true. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
assertEquals(itemsPerThread * numThreads, allUrls.size()); urlQueueService.delete(sessionId); } public void test_poll_maxCrawlingQueueSizeTx() { final String sessionId = "poll_session5"; final int maxSize = 5; urlQueueService.setMaxCrawlingQueueSize(maxSize); // Insert more items than max crawling queue size
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
} @Test void testConstructor() { assertNotNull(channelManager); assertFalse(channelManager.isUseMultiChannel()); assertEquals(0, channelManager.getChannels().size()); assertNotNull(channelManager.getLoadBalancer()); } @Test void testInitializationWithoutMultiChannelSupport() throws IOException { when(mockConfig.isUseMultiChannel()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
apply { headersBuilder.removeAll(name) } fun getBody(): Buffer? = body?.clone() fun setBody(body: Buffer) = apply { setHeader("Content-Length", body.size) this.body = body.clone() // Defensive copy. } fun setBody(body: String): MockResponse = setBody(Buffer().writeUtf8(body)) fun setChunkedBody( body: Buffer, maxChunkSize: Int,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 7.1K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
} @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_absent() { int distinct = getMultiset().elementSet().size(); assertEquals("multiset.remove(absent, 0) didn't return 0", 0, getMultiset().remove(e3(), 2)); assertEquals(distinct, getMultiset().elementSet().size()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_occurrences_unsupported_absent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
} @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemove_occurrences_absent() { int distinct = getMultiset().elementSet().size(); assertEquals("multiset.remove(absent, 0) didn't return 0", 0, getMultiset().remove(e3(), 2)); assertEquals(distinct, getMultiset().elementSet().size()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_occurrences_unsupported_absent() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
Iterator<E> iterator = collection.iterator(); assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); iterator.next(); }); } /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */ @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveAll_somePresentLargeCollectionToRemove() { assertTrue(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0)