Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 233 for writeInt8 (0.47 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

            int nameLen = getName().length();
            writeInt4(buffer, offset, 16);  // Next
            writeInt2(buffer, offset + 4, nameLen);  // NameOffset
            writeInt2(buffer, offset + 6, nameLen);  // NameLength
            writeInt2(buffer, offset + 8, 0);  // Reserved
            writeInt2(buffer, offset + 10, STRUCTURE_SIZE);  // DataOffset
            writeInt4(buffer, offset + 12, STRUCTURE_SIZE);  // DataLength
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(26, written);
    
            // Check that padding bytes are zeros
            // The implementation writes 8 bytes with writeInt8 but only increments by 6
            // This means bytes 20-27 will be zero (8 bytes written by writeInt8)
            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileAttributes, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.shareAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createDisposition, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.createOptions, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. docs/smb3-features/04-directory-leasing-design.md

            int dataOffset = offset + getStandardLeaseSize();
            
            // CacheScope (4 bytes)
            writeInt4(buffer, dataOffset, cacheScope.ordinal());
            dataOffset += 4;
            
            // MaxCacheAge (8 bytes)
            writeInt8(buffer, dataOffset, maxCacheAge);
            dataOffset += 8;
            
            // Flags (4 bytes)
            int flags = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. docs/smb3-features/05-rdma-smb-direct-design.md

        
        if (rdmaChannelInfo != null) {
            // Add RDMA read channel info
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getRemoteKey());
            written += 4;
            writeInt8(dst, dstIndex + written, rdmaChannelInfo.getAddress());
            written += 8;
            writeInt4(dst, dstIndex + written, rdmaChannelInfo.getLength());
            written += 4;
        }
        
        return written;
    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top