Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for writeAndXWireFormat (0.71 sec)

  1. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(len, digest.lastLength);
        }
    
        @Test
        @DisplayName("writeAndXWireFormat without andx writes 0xFF and sentinel offset")
        void testWriteAndXWireFormatWithoutAndx() {
            DummyAndXBlock block = new DummyAndXBlock();
            byte[] buf = new byte[128];
            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
        @Override
        int encode(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertNotNull(result);
            assertTrue(result.contains("andxCommand=0x42"));
            assertTrue(result.contains("andxOffset="));
        }
    
        @Test
        @DisplayName("Test writeAndXWireFormat with non-AndX andx command")
        void testWriteAndXWireFormatWithNonAndXCommand() {
            when(mockConfig.isUseBatching()).thenReturn(true);
            when(mockAndxCommand.getCommand()).thenReturn(0x42);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top