- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,011 for buffers (0.13 sec)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
import java.io.IOException import okio.BufferedSource import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.FileSystem import okio.Path import okio.Path.Companion.toOkioPath import okio.buffer import okio.source /** * Utilities for reading HPACK tests. */ object HpackJsonUtil { @Suppress("unused") private val MOSHI = Moshi .Builder() .add( object : Any() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java
return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
* most [BufferedSource] instances, but not of [Buffer]. */ private fun responseBody(content: String): ResponseBody { val data = Buffer().writeUtf8(content) val source: Source = object : Source { var closed = false override fun close() { closed = true } override fun read( sink: Buffer, byteCount: Long, ): Long {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertNotNull(bufferManager, "Buffer manager should be created"); // Test buffer allocation for data transfer RdmaMemoryRegion sendBuffer = bufferManager.getSendRegion(8192); assertNotNull(sendBuffer, "Send buffer should be allocated"); assertTrue(sendBuffer.getSize() >= 8192, "Send buffer should be at least 8KB");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@Test @DisplayName("encode should validate size calculation") void testEncodeValidSize() { byte[] buffer = new byte[1024]; testRequest.setTestSize(64); testRequest.setTestLength(64); int result = testRequest.encode(buffer, 0); assertEquals(64, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 24) { throw new SMBProtocolDecodingException("Expected structureSize = 24"); } this.oplockLevel = buffer[bufferIndex + 2]; bufferIndex += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
} // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) { throw new NdrException("Failed to decode"); } // Simulate some decoding activity on the buffer src.dec_ndr_long(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
if (LogStream.level >= 3) { log.println("TransCallNamedPipe data too long for buffer"); } return 0; } System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen); return pipeDataLen; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0)