Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 178 for writeBytesWireFormat (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("WriteBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should always return 0 for write operation")
            void testWriteBytesWireFormat() {
                byte[] buffer = new byte[64];
                int result = notification.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java

            byte[] dst = new byte[10];
            int result = sdd.writeParameterWordsWireFormat(dst, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test writeBytesWireFormat.
         */
        @Test
        void testWriteBytesWireFormat() {
            // Assuming path is ASCII and does not use unicode
            String dirName = "\testDir";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

            super(config);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java

            super(config);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            int expectedSize = (expectedRawSize + 7) & ~7; // Round up to nearest 8
            assertEquals(expectedSize, size);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat method")
        void testWriteBytesWireFormat() {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat method without input buffer")
        void testWriteBytesWireFormatWithoutInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig, testFileId);
            request.setInfoType((byte) 0x01);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            assertEquals(0, result);
        }
    
        /**
         * Test of writeBytesWireFormat method
         */
        @Test
        public void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[10];
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.writeBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, result);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @Test
            @DisplayName("writeBytesWireFormat should return 0")
            void testWriteBytesReturnsZero() throws Exception {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 10;
    
                // When
                Method method = SmbComNtCancel.class.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
                method.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java

            super(config);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

            super(config);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top