Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 398 for dst3 (0.02 sec)

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

            return resp;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            if (this.digest != null) {
                SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex);
            } else {
                log.trace("SmbComClose without a digest");
            }
            return 6;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static void writeInt8(long val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) val;
            dstIndex++;
            dst[dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >>= 8);
            dst[++dstIndex] = (byte) (val >> 8);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                dstIndex += 2;
                dst[dstIndex] = maxSetupCount;
                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                writeInt2(flags, dst, dstIndex);
                dstIndex += 2;
                writeInt4(timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            SessionServicePacket.writeInt2(0xABCD, dst, 4);
    
            assertEquals((byte) 0xFF, dst[2]); // Should be unchanged
            assertEquals((byte) 0xFF, dst[3]); // Should be unchanged
            assertEquals((byte) 0xAB, dst[4]);
            assertEquals((byte) 0xCD, dst[5]);
        }
    
        @Test
        @DisplayName("writeInt4 should correctly write 32-bit integer")
        void testWriteInt4() {
            byte[] dst = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            dst[dstIndex] = (byte) (val >> 8 & 0xFF);
            dstIndex++;
            dst[dstIndex] = (byte) (val & 0xFF);
        }
    
        static void writeInt4(final int val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) (val >> 24 & 0xFF);
            dstIndex++;
            dst[dstIndex++] = (byte) (val >> 16 & 0xFF);
            dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

            dst[dstIndex] = (byte) (val >> 8 & 0xFF);
            dstIndex++;
            dst[dstIndex] = (byte) (val & 0xFF);
        }
    
        static void writeInt4(final int val, final byte[] dst, int dstIndex) {
            dst[dstIndex] = (byte) (val >> 24 & 0xFF);
            dstIndex++;
            dst[dstIndex++] = (byte) (val >> 16 & 0xFF);
            dst[dstIndex++] = (byte) (val >> 8 & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

         * @param i the integer value to encode
         * @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
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top