Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadDataWireFormatAtBufferBoundary (0.14 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            byte[] buffer = new byte[100];
            int result = response.readDataWireFormat(buffer, 50, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {
            // Test with data length exactly matching outputBuffer size
            byte[] testData = new byte[outputBuffer.length];
            Arrays.fill(testData, (byte) 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            byte[] buffer = new byte[100];
            int result = response.readDataWireFormat(buffer, 0, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {
            // Test with data exactly matching output buffer size
            byte[] smallOutputBuffer = new byte[5];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top