Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 178 for writeBytesWireFormat (0.29 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
            return null;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            writeInt4(impersonationLevel, dst, dstIndex);
            dstIndex += 4;
            dst[dstIndex++] = securityFlags;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            int n = writeString(path, dst, dstIndex);
            writeInt2(useUnicode ? path.length() * 2 : n, dst, namelen_index);
            return n;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (this.blob != null) {
                System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

                paramWordsWritten = 10; // Simulate writing parameter words
                return paramWordsWritten;
            }
    
            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20; // Simulate writing bytes
                return bytesWritten;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex] = (byte) (wordCount / 2 & 0xFF);
            dstIndex++;
            dstIndex += wordCount;
            wordCount /= 2;
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
            dst[dstIndex++] = (byte) (byteCount & 0xFF);
            dst[dstIndex++] = (byte) (byteCount >> 8 & 0xFF);
            dstIndex += byteCount;
    
            length = dstIndex - start;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            dst[dstIndex++] = (byte) 0x00;
            writeInt4(capabilities, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (blob != null) {
                System.arraycopy(blob, 0, dst, dstIndex, blob.length);
                dstIndex += blob.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        }
    
        @Test
        void testWriteBytesWireFormat() {
            // This method is empty, just call it for coverage
            assertEquals(0, response.writeBytesWireFormat(new byte[0], 0));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                }
            }
            return size8(size);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (log.isDebugEnabled()) {
                log.debug("Opening " + this.name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dst[dstIndex++] = (byte) 0x00; // Reserved3
                dstIndex += writeSetupWireFormat(dst, dstIndex);
            }
    
            return dstIndex - start;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            int p = pad;
    
            if (command == SMB_COM_TRANSACTION && !isResponse()) {
                dstIndex += writeString(name, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testWriteBytesWireFormat() throws Exception {
                // Given
                byte[] buffer = new byte[100];
    
                // When
                int bytesWritten = (int) invokeMethod(response, "writeBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0);
    
                // Then
                assertEquals(0, bytesWritten, "Should write 0 bytes for response");
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top