- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for fullBuffer (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
require(length < bytesOut.size - lastFrame.start) // Move everything from bytesOut into a new buffer. val fullBuffer = Buffer() bytesOut.read(fullBuffer, bytesOut.size) // Copy back all but what we're truncating. fullBuffer.read(bytesOut, lastFrame.start + length) outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true)) return writer }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]; // When/Then - Should handle invalid buffers gracefully assertDoesNotThrow(() -> { BufferCache.releaseBuffer(nullBuffer); // Should ignore nullCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0)