- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 186 for writeInt8 (0.98 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
int start = dstIndex; // StructureSize (2 bytes) - must be 36 SMBUtil.writeInt2(STRUCTURE_SIZE, dst, dstIndex); dstIndex += 2; // Reserved (2 bytes) SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // Flags (4 bytes) SMBUtil.writeInt4(flags, dst, dstIndex); dstIndex += 4; // LeaseKey (16 bytes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
// Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2; SMBUtil.writeInt2(0, buffer, offset); // Reserved offset += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
// Write context header SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last) dstIndex += 4; SMBUtil.writeInt2(4, 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 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// Status at +8 SMBUtil.writeInt4(status, buf, start + 8); // Command at +12 SMBUtil.writeInt2(command, buf, start + 12); // Flags at +16: server-to-redirector SMBUtil.writeInt4(0x00000001, buf, start + 16); // SessionId at +40 (sync header) SMBUtil.writeInt8(sessionId, buf, start + 40); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
SMBUtil.writeInt2(80, dst, dstIndex); // ReadChannelInfoOffset (after header) SMBUtil.writeInt2(16, dst, dstIndex + 2); // ReadChannelInfoLength dstIndex += 4; } else { SMBUtil.writeInt2(0, dst, dstIndex); SMBUtil.writeInt2(0, dst, dstIndex + 2); dstIndex += 4; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
* @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 * * @param buffer source bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
@Test void testInt2ReadWrite() { byte[] buffer = new byte[2]; ServerMessageBlock.writeInt2(0x1234, buffer, 0); assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0)); } @Test void testInt4ReadWrite() { byte[] buffer = new byte[4]; ServerMessageBlock.writeInt4(0x12345678, buffer, 0); assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
dstIndex += 2; SMBUtil.writeInt2(this.token != null ? this.token.length : 0, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt8(this.previousSessionId, dst, dstIndex); dstIndex += 8; SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset); dstIndex += pad8(dstIndex); if (this.token != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
* @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); dstIndex++;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4); // 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() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0)