Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 107 for writeSetupWireFormat (0.12 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            // this says "Transaction priority" in netmon
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            this.maxDataCount = 0xFFFF;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 2;
            this.name = "\\PIPE\\";
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.pipeFid, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                dstIndex += 2;
            } else {
                dst[dstIndex] = (byte) this.setupCount;
                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved3
                dstIndex += writeSetupWireFormat(dst, dstIndex);
            }
    
            return dstIndex - start;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            public TestSmbComTransaction(Configuration config, byte command, byte subCommand) {
                super(config, command, subCommand);
            }
    
            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                if (setupBuffer != null && setupBuffer.length > 0) {
                    System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            super.reset();
            this.resumeKey = rk;
            this.filename = lastName;
            this.flags2 = 0;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

                throw new CIFSException("Incompatible file information class");
            }
            return (T) this.info;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        // A concrete implementation of the abstract class SmbComNtTransaction for testing.
        private static class ConcreteSmbComNtTransaction extends SmbComNtTransaction {
            @Override
            int writeSetupWireFormat(byte[] dst, int dstIndex) {
                // Dummy implementation for testing
                return 0;
            }
    
            @Override
            int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * Writes setup data in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
         * @return number of bytes written
         */
        protected abstract int writeSetupWireFormat(byte[] dst, int dstIndex);
    
        /**
         * Writes parameters in wire format
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(1, response.resumeKey);
        }
    
        @Test
        void testEmptyWireFormatMethods() {
            byte[] dst = new byte[0];
            assertEquals(0, response.writeSetupWireFormat(dst, 0));
            assertEquals(0, response.writeParametersWireFormat(dst, 0));
            assertEquals(0, response.writeDataWireFormat(dst, 0));
            assertEquals(0, response.readSetupWireFormat(dst, 0, 0));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top