Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 186 for writeInt8 (0.94 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            this(encode(ts));
        }
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode(final long ts) {
            final byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
        /**
         * Gets the timestamp value from this AV pair
         *
         * @return the timestamp
         */
        public long getTimestamp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryFileInternalInfo[" + "indexNumber=" + this.indexNumber + "]");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
            SMBUtil.writeInt2(16, dst, dstIndex); // NameOffset (from start of context)
            dstIndex += 2;
    
            SMBUtil.writeInt2(4, dst, dstIndex); // NameLength
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved
            dstIndex += 2;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(Trans2QueryPathInformation.mapInformationLevel(this.info.getFileInformationLevel()), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

                SMBUtil.writeInt2(transformOffset, dst, dstIndex); // writeChannelInfoOffset
                SMBUtil.writeInt2(16, dst, dstIndex + 2); // writeChannelInfoLength (size of SMB2_RDMA_TRANSFORM)
            } else {
                SMBUtil.writeInt2(0, dst, dstIndex); // writeChannelInfoOffset
                SMBUtil.writeInt2(0, dst, dstIndex + 2); // writeChannelInfoLength
            }
            dstIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4(flags0, dst, dstIndex);
            dstIndex += 4;
            writeInt4(rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            writeInt4(desiredAccess, dst, dstIndex);
            dstIndex += 4;
            writeInt8(allocationSize, dst, dstIndex);
            dstIndex += 8;
            writeInt4(extFileAttributes, dst, dstIndex);
            dstIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            final int start = dstIndex;
            SMBUtil.writeInt2(36, dst, dstIndex);
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            SMBUtil.writeInt2(0, dst, dstIndex + 2); // Reserved
            dstIndex += 4;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. docs/smb3-features/01-smb3-lease-design.md

            writeInt4(buffer, dataOffset + 16, leaseState);  // LeaseState
            writeInt4(buffer, dataOffset + 20, leaseFlags);  // LeaseFlags
            writeInt8(buffer, dataOffset + 24, leaseDuration);  // LeaseDuration
            
            if (isV2()) {
                System.arraycopy(parentLeaseKey.getKey(), 0, buffer, dataOffset + 32, 16);  // ParentLeaseKey
                writeInt2(buffer, dataOffset + 48, epoch);  // Epoch
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top