Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 286 for dstIndex (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return setupWireFormatReturn;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                return parametersWireFormatReturn;
            }
    
            @Override
            protected int writeDataWireFormat(byte[] dst, int dstIndex) {
                return dataWireFormatReturn;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException
         *             If there is an error decoding the response
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

        SessionRetargetResponsePacket() {
            this.type = SESSION_RETARGET_RESPONSE;
            this.length = 6;
        }
    
        @Override
        int writeTrailerWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testWriteBytesWireFormat() {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 0;
    
                // When
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
                // Then
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of destination index")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws SMBProtocolDecodingException
         *             if the response data is malformed
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            // For Unicode: 1 byte (initial null in writeBytesWireFormat)
            // + potential 1 byte alignment (in writeString) + fileName.length() * 2 + 2 bytes (terminating nulls)
            // Since headerStart is 0 and dstIndex starts at 1 (after initial null), (1-0)%2=1, so alignment byte added
            // Total: 1 + 1 + 12*2 + 2 = 28 bytes
            byte[] dst = new byte[30]; // Use extra buffer space to avoid index errors
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        void testWriteParametersWireFormat() throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[256];
            int dstIndex = 0;
    
            int bytesWritten = netShareEnum.writeParametersWireFormat(dst, dstIndex);
    
            // Verify bytes written
            assertTrue(bytesWritten > 0);
            assertEquals(19, bytesWritten); // 2 + 13 + 2 + 2
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            }
    
            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return 0;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                return 0;
            }
    
            @Override
            protected int writeDataWireFormat(byte[] dst, int dstIndex) {
                return 0;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @DisplayName("Should return 0 for write bytes")
            void testWriteBytesWireFormat() {
                // Given
                byte[] dst = new byte[100];
                int dstIndex = 0;
    
                // When
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
                // Then
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of destination index")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

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