- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 57 for WriteUint8 (0.05 seconds)
-
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
offset += 4; SMBUtil.writeInt8(0, buffer, offset); // LeaseDuration (8 bytes) - reserved offset += 8; // Write directory-specific data (20 bytes) // CacheScope (4 bytes) SMBUtil.writeInt4(cacheScope.ordinal(), buffer, offset); offset += 4; // MaxCacheAge (8 bytes) SMBUtil.writeInt8(maxCacheAge, buffer, offset); offset += 8;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
// LeaseState (4 bytes) SMBUtil.writeInt4(leaseState, dst, dstIndex); dstIndex += 4; // LeaseDuration (8 bytes) - must be zero for acknowledgment SMBUtil.writeInt8(0, dst, dstIndex); dstIndex += 8; return dstIndex - start; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
* {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */ @Override public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt8(this.timeout, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex); dstIndex += 4; dst[dstIndex] = (byte) (this.timeoutSpecified ? 0x1 : 0x0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* * @param dst destination buffer * @param dstIndex starting index * @return number of bytes written */ public int encode(byte[] dst, int dstIndex) { SMBUtil.writeInt8(offset, dst, dstIndex); SMBUtil.writeInt4(token, dst, dstIndex + 8); SMBUtil.writeInt4(length, dst, dstIndex + 12); return 16; } /** * Decode from byte array *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
dstIndex += 4; SMBUtil.writeInt4(leaseFlags, dst, dstIndex); // LeaseFlags (4 bytes) dstIndex += 4; SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero dstIndex += 8; return dstIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
// Set up async message fields SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_ASYNC_COMMAND, buffer, 16); // flags with async SMBUtil.writeInt8(789L, buffer, 32); // async ID SMBUtil.writeInt8(456L, buffer, 40); // session ID return buffer; } private byte[] createErrorResponseMessage() { byte[] buffer = new byte[256];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
protected int writeDataWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += this.info.encode(dst, dstIndex); /* 6 zeros observed with NT */ SMBUtil.writeInt8(0L, dst, dstIndex); dstIndex += 6; /* * Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2 */ return dstIndex - start;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
dstIndex += 4; SMBUtil.writeInt4(leaseFlags, dst, dstIndex); // LeaseFlags (4 bytes) dstIndex += 4; SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero dstIndex += 8; parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes) dstIndex += 16;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0)