- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 79 for writeInt8 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/util/SMBUtilTest.java
@Test void testNegativeValueHandling() { byte[] buffer = new byte[8]; // Test negative values in writeInt4 SMBUtil.writeInt4(-1L, buffer, 0); assertEquals(-1, SMBUtil.readInt4(buffer, 0)); // Test negative values in writeInt8 SMBUtil.writeInt8(-1L, buffer, 0); assertEquals(-1L, SMBUtil.readInt8(buffer, 0)); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
dst[dstIndex + CMD_OFFSET] = command; dst[dstIndex + FLAGS_OFFSET] = flags; writeInt2(flags2, dst, dstIndex + FLAGS_OFFSET + 1); dstIndex += TID_OFFSET; writeInt2(tid, dst, dstIndex); writeInt2(pid, dst, dstIndex + 2); writeInt2(uid, dst, dstIndex + 4); writeInt2(mid, dst, dstIndex + 6); return HEADER_LENGTH; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
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); // EpochCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
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"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); SMBUtil.writeInt2(1, buffer, 2); long testTime = 116444736000000000L; SMBUtil.writeInt8(testTime, buffer, 8); SMBUtil.writeInt8(testTime + 1000, buffer, 16); SMBUtil.writeInt8(testTime + 2000, buffer, 24); SMBUtil.writeInt8(testTime + 3000, buffer, 32);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
boolean expectedDirectory = false; // Encode test data int offset = 0; SMBUtil.writeInt8(expectedAllocationSize, buffer, offset); offset += 8; SMBUtil.writeInt8(expectedEndOfFile, buffer, offset); offset += 8; SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset); offset += 4; buffer[offset++] = (byte) (expectedDeletePending ? 1 : 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(0, buffer, 0); // nextEntryOffset SMBUtil.writeInt4(0, buffer, 4); // fileIndex SMBUtil.writeInt8(0, buffer, 8); // creationTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 16); // lastAccessTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 24); // lastWriteTime - raw 0 in wire format SMBUtil.writeInt8(0, buffer, 32); // changeTime - raw 0 in wire formatCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0)