- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 294 for Consumer (0.55 sec)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Decode int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify we read exactly 20 bytes (4 + 4 + 4 + 4 + 4) // Note: bytesPerSect is read as Int2 but 4 bytes are consumed (padding) assertEquals(20, bytesDecoded); } @Test @DisplayName("Test capacity calculation overflow handling") void testCapacityCalculationOverflow() throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
} /** * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This * operation takes amortized linear time in the length of {@code elements}. The iterator is * consumed after this operation completes. * * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterator}, prefer * {@link Ordering#leastOf(Iterator, int)}, which provides a simpler API for that use case.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* or all lines have been read and returning the result produced by the processor. Does not close * {@code readable}. Note that this method may not fully consume the contents of {@code readable} * if the processor stops processing early. * * <p><b>Users who can use {@code Stream}:</b> If your input is a {@link Reader}, considerRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
if (ki < key.length()) { key = key.substring(0, ki); } /* Subtract the server and share from the pathConsumed so that * it refects the part of the relative path consumed and not * the entire path. */ dr.pathConsumed -= 1 + server.length() + 1 + share.length(); if (referrals != null && System.currentTimeMillis() + 10000 > referrals.expiration) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
timeout.setDelegate(Timeout.NONE) oldDelegate.clearDeadline() oldDelegate.clearTimeout() } /** * The response body from a CONNECT should be empty, but if it is not then we should consume it * before proceeding. */ fun skipConnectBody(response: Response) { val contentLength = response.headersContentLength() if (contentLength == -1L) return
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
delayBeforeTrailers(Protocol.HTTP_1_1) } @Test fun delayBeforeTrailersHttp2() { trailers(Protocol.HTTP_2) } /** Confirm the client will block if necessary to consume trailers. */ private fun delayBeforeTrailers(protocol: Protocol) { enableProtocol(protocol) server.enqueue( MockResponse .Builder() .trailers(headersOf("t1", "v2"))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Act assertTrue(it.hasNext()); assertEquals("one", it.next().getName()); // consume initial // Next call should handle CIFSException and close iterator assertFalse(it.hasNext()); // After error, hasNext should return false // Assert verify(tree, times(1)).release();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/bufio/scan.go
} if n > 0 { s.empties = 0 break } loop++ if loop > maxConsecutiveEmptyReads { s.setErr(io.ErrNoProgress) break } } } } // advance consumes n bytes of the buffer. It reports whether the advance was legal. func (s *Scanner) advance(n int) bool { if n < 0 { s.setErr(ErrNegativeAdvance) return false } if n > s.end-s.start {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed May 21 18:05:26 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
/** * Not supported. Use {@link #toImmutableSortedMap}, which offers better type-safety, instead. * This method exists only to hide {@link ImmutableMap#toImmutableMap} from consumers of {@code * ImmutableSortedMap}. * * @throws UnsupportedOperationException always * @deprecated Use {@link ImmutableSortedMap#toImmutableSortedMap}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* {@code project.build.outputDirectory + "/" + targetPath}, which results in * {@code target/classes/META-INF/resources}. This method provides the same base directory * ({@code target/classes}) for Maven 4 API consumers. * </p> * <p> * <strong>Example:</strong> * </p> * <pre>{@code * Project project = ...; // project at /home/user/myproject * * // Get main output directoryRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0)