Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 108 for readParameterWordsWireFormat (0.14 sec)

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

                }
                bos.write(0x0);
            }
    
            System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size());
            return bos.size();
        }
    
        @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.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

                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
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            }
            System.arraycopy(this.b, this.off, dst, dstIndex, this.dataLength);
            dstIndex += this.dataLength;
    
            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
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            cmd.writeParameterWordsWireFormat(buf, 0);
            // The flag must be present so the command recognises largeFile
            SmbComLockingAndX copy = new SmbComLockingAndX(cfg);
            copy.readParameterWordsWireFormat(buf, 0);
            assertTrue((boolean) getField(copy, "largeFile"));
        }
    
        /**
         * Test toString covers basic output.
         */
        @Test
        void toStringInclusion() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            @Override
            protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
                bytesWritten = 20;
                return bytesWritten;
            }
    
            @Override
            protected int readParameterWordsWireFormat(byte[] src, int srcIndex) {
                paramWordsRead = 10;
                return paramWordsRead;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.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) {
            this.supportSearchBits = (buffer[bufferIndex] & SMB_SUPPORT_SEARCH_BITS) == SMB_SUPPORT_SEARCH_BITS;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            dialectIndex = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            if (dialectIndex > 10) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            totalParameterCount = readInt2(buffer, bufferIndex);
            if (bufDataStart == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test read operations")
        void testReadOperations() {
            byte[] buffer = new byte[256];
    
            // Test parameter words read
            int paramResult = transaction.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, paramResult);
    
            // Test bytes read
            int bytesResult = transaction.readBytesWireFormat(buffer, 0);
            assertEquals(0, bytesResult);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top