Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for readErrorResponse (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

                    super(config, outputBuffer, outputBufferOffset);
                }
    
                @Override
                protected int readErrorResponse(byte[] buf, int bufIndex) throws SMBProtocolDecodingException {
                    errorResponseCalled = true;
                    return super.readErrorResponse(buf, bufIndex);
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return super.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 49) {
                throw new SMBProtocolDecodingException("Expected structureSize = 49");
            }
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return this.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 17) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false,
            // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
            byte[] body = buildErrorBody(2, 3, new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            final int start = this.headerStart = bufferIndex;
            bufferIndex += readHeaderWireFormat(buffer, bufferIndex);
            if (isErrorResponseStatus()) {
                bufferIndex += readErrorResponse(buffer, bufferIndex);
            } else {
                bufferIndex += readBytesWireFormat(buffer, bufferIndex);
            }
    
            this.length = bufferIndex - start;
            int len = this.length;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                // Write error data
                for (int i = 0; i < 10; i++) {
                    buffer[bufferIndex + 8 + i] = (byte) i;
                }
    
                int bytesRead = testMessage.readErrorResponse(buffer, bufferIndex);
    
                assertEquals(18, bytesRead); // 8 header + 10 data
                assertEquals(2, testMessage.getErrorContextCount());
                assertNotNull(testMessage.getErrorData());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top