Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for readParameterWordsWireFormat (0.21 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            if (wordCount == 0) {
                return 0;
            }
            fileAttributes = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                }
    
                /*
                 * no point in calling readParameterWordsWireFormat if there are no more
                 * parameter words. besides, win98 doesn't return "OptionalSupport" field
                 */
    
                if (this.wordCount > 2) {
                    readParameterWordsWireFormat(buffer, bufferIndex + 4);
    
                    /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

                bufferIndex += 2;
                writeInt2(dataOffset, buffer, bufferIndex);
            }
    
            @Test
            public void testReadParameterWordsWireFormat() {
                int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
                assertEquals(20, bytesRead);
                assertEquals(dataCompactionMode, response.dataCompactionMode);
                assertEquals(dataLength, response.dataLength);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            bufferIndex += 4;
            // setupCount = 0 (1 byte + 1 padding byte)
            buffer[bufferIndex] = 0;
            buffer[bufferIndex + 1] = 0; // padding byte
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, 0);
    
            assertEquals(37, bytesRead); // 3 reserved + 32 (8*4) + 2 for setupCount
            assertEquals(10, response.totalParameterCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

                dst[dstIndex++] = (byte) '\0';
            }
            dstIndex += writeString(this.newFileName, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

         * @param config the configuration context for this response
         */
        protected SmbComNtTransactionResponse(final Configuration config) {
            super(config);
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                }
    
                /*
                 * no point in calling readParameterWordsWireFormat if there are no more
                 * parameter words. besides, win98 doesn't return "OptionalSupport" field
                 */
    
                if (wordCount > 2) {
                    readParameterWordsWireFormat(buffer, bufferIndex + 4);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top