Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 401 for dst1 (0.02 sec)

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

        }
    
        @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
        protected int writeDataWireFormat(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
    - 2.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @return the number of bytes written (4)
         */
        public static int enc_uint32be(final int i, final byte[] dst, int di) {
            dst[di] = (byte) (i >> 24 & 0xFF);
            di++;
            dst[di++] = (byte) (i >> 16 & 0xFF);
            dst[di++] = (byte) (i >> 8 & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            SMBUtil.writeInt2(25, dst, dstIndex);
    
            dst[dstIndex + 2] = (byte) (this.sessionBinding ? 0x1 : 0);
            dst[dstIndex + 3] = (byte) this.securityMode;
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            byte[] dst = new byte[10];
    
            // writeSetupWireFormat writes 4 bytes:
            // - subCommand byte
            // - 3 zero bytes (padding and no FID)
            int written = pipe.writeSetupWireFormat(dst, 0);
    
            assertEquals(4, written, "Setup should write 4 bytes");
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(33, dst, dstIndex);
            dst[dstIndex + 2] = this.fileInformationClass;
            dst[dstIndex + 3] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            byte[] dst = new byte[10];
            int dstIndex = 0;
    
            // Act
            int bytesWritten = trans.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_TRANSACT_NAMED_PIPE, dst[0]);
            assertEquals(0x00, dst[1]);
    
            // Verify FID is written correctly (little-endian)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            // Test the writing of parameter words to a byte array
            byte[] dst = new byte[2];
            int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0);
            assertEquals(2, bytesWritten);
            // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06
            assertEquals(0x06, dst[0]);
            assertEquals(0x00, dst[1]);
        }
    
        @Test
        public void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength);
                    dstIndex += this.passwordLength;
                }
            } else {
                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(this.path, dst, dstIndex);
            try {
                System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (log.isDebugEnabled()) {
                log.debug("Opening " + this.name);
                log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4));
            }
    
            SMBUtil.writeInt2(57, dst, dstIndex);
            dst[dstIndex + 2] = this.securityFlags;
            dst[dstIndex + 3] = this.requestedOplockLevel;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top