- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for peekc (0.02 sec)
-
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals( "Should be able to peek() middle element multiple times", "B", peekingIterator.peek()); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* * @throws IOException if the trailers cannot be loaded, such as if the network connection is * dropped. */ @Throws(IOException::class) fun peekTrailers(): Headers? = trailersSource.peek() /** * Peeks up to [byteCount] bytes from the response body and returns them as a new response * body. If fewer than [byteCount] bytes are in the response body, the full response body is
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
chunked = true } } val peek = dispatcher.peek() for (response in peek.informationalResponses) { writeHttpResponse(socket, response) } val requestBodySink = requestBody .withThrottlingAndSocketEffect( policy = peek, socketEffect = peek.onRequestBody, expectedByteCount = contentLength,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} } }; assertEquals(0, (int) iter.peek()); assertEquals(0, (int) iter.peek()); assertTrue(iter.hasNext()); assertEquals(0, (int) iter.peek()); assertEquals(0, (int) iter.next()); assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); /* * We test peek() after various calls to make sure that one bad call doesn't interfere with its
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Smb2IoctlResponse ioResp = mock(Smb2IoctlResponse.class); SrvPipePeekResponse peek = mock(SrvPipePeekResponse.class); when(peek.getReadDataAvailable()).thenReturn(7); when(ioResp.getOutputData()).thenReturn(peek); when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
SrvPipePeekResponse peek = resp.getOutputData(SrvPipePeekResponse.class); assertNotNull(peek); assertEquals(16, resp.getOutputLength()); // Default zeros assertEquals(0, peek.getNamedPipeState()); assertEquals(0, peek.getReadDataAvailable()); assertEquals(0, peek.getNumberOfMessages()); assertEquals(0, peek.getMessageLength()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(3, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(2, (int) mmHeap.peekLast()); assertEquals(2, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(1, (int) mmHeap.peekLast()); assertEquals(1, (int) mmHeap.pollLast()); assertNull(mmHeap.peek()); assertNull(mmHeap.peekLast()); assertNull(mmHeap.pollLast()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
* This stream class is unbuffered. Therefore this method will always * return 0 for streams connected to regular files. However, a * stream created from a Named Pipe this method will query the server using a * "peek named pipe" operation and return the number of available bytes * on the server. */ @Override public int available() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/bufio/bufio.go
} func (b *Reader) readErr() error { err := b.err b.err = nil return err } // Peek returns the next n bytes without advancing the reader. The bytes stop // being valid at the next read call. If necessary, Peek will read more bytes // into the buffer in order to make n bytes available. If Peek returns fewer // than n bytes, it also returns an error explaining why the read is short.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0)