Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bufDataStart (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            final int start = bufferIndex;
    
            this.totalParameterCount = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.bufDataStart == 0) {
                this.bufDataStart = this.totalParameterCount;
            }
            bufferIndex += 2;
            this.totalDataCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertEquals(7, d.getDataCount(), "dataCount parsed");
            assertEquals(1, d.getSetupCount(), "setupCount parsed");
            // When bufDataStart was zero it should be set to totalParameterCount
            assertEquals(5, d.getBufferDataStart(), "bufDataStart inferred from totalParameterCount");
        }
    
        /**
         * Exercise readBytesWireFormat where both parameter and data are
         * copied in a single call.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test bufDataStart initialization when zero")
        void testBufDataStartInitialization() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
            // Set bufDataStart to 0 initially
            Field bufDataStartField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("bufDataStart");
            bufDataStartField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top