- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for writeUTime (0.22 sec)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
long maxTime = System.currentTimeMillis() + 1000000000000L; SMBUtil.writeTime(maxTime, buffer, 8); // creationTime SMBUtil.writeTime(maxTime, buffer, 16); // lastAccessTime SMBUtil.writeTime(maxTime, buffer, 24); // lastWriteTime SMBUtil.writeTime(maxTime, buffer, 32); // changeTime SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
final int start = dstIndex; SMBUtil.writeTime(this.createTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastAccessTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.lastWriteTime, dst, dstIndex); dstIndex += 8; SMBUtil.writeTime(this.changeTime, dst, dstIndex); dstIndex += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Use SMBUtil to properly encode times in Windows FILETIME format SMBUtil.writeTime(TEST_CREATE_TIME, buffer, bufferIndex); SMBUtil.writeTime(TEST_LAST_ACCESS_TIME, buffer, bufferIndex + 8); SMBUtil.writeTime(TEST_LAST_WRITE_TIME, buffer, bufferIndex + 16); SMBUtil.writeTime(TEST_CHANGE_TIME, buffer, bufferIndex + 24); SMBUtil.writeInt4(TEST_ATTRIBUTES, buffer, bufferIndex + 32);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt4(createAction, body, i); // CreateAction i += 4; SMBUtil.writeTime(ctime, body, i); // CreationTime i += 8; SMBUtil.writeTime(atime, body, i); // LastAccessTime i += 8; SMBUtil.writeTime(mtime, body, i); // LastWriteTime i += 8; SMBUtil.writeTime(chtime, body, i); // ChangeTime i += 8;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
} @Override int writeDataWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; writeTime(createTime, dst, dstIndex); dstIndex += 8; writeInt8(0L, dst, dstIndex); dstIndex += 8; writeTime(lastWriteTime, dst, dstIndex); dstIndex += 8; writeInt8(0L, dst, dstIndex); dstIndex += 8; /* Samba 2.2.7 needs ATTR_NORMALRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Max write size SMBUtil.writeInt4(1048576, buffer, offset + 36); // System time SMBUtil.writeTime(System.currentTimeMillis(), buffer, offset + 40); // Server start time SMBUtil.writeTime(System.currentTimeMillis() - 3600000, buffer, offset + 48); // Security buffer offset and length SMBUtil.writeInt2(128, buffer, offset + 56); // OffsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
long lastWriteTimeMs = creationTimeMs + 200; // Write as Windows FileTime format SMBUtil.writeTime(creationTimeMs, buffer, 8); SMBUtil.writeTime(lastAccessTimeMs, buffer, 16); SMBUtil.writeTime(lastWriteTimeMs, buffer, 24); SMBUtil.writeTime(creationTimeMs + 300, buffer, 32); SMBUtil.writeInt8(4096, buffer, 40); SMBUtil.writeInt8(2048, buffer, 48);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt4(1024 * 1024, buffer, 36); // maxWriteSize // System time and server start time SMBUtil.writeTime(System.currentTimeMillis(), buffer, 40); SMBUtil.writeTime(System.currentTimeMillis(), buffer, 48); // Security buffer offset and length (no security buffer) SMBUtil.writeInt2(0, buffer, 56); // offset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // serverTime long time = new Date().getTime(); SMBUtil.writeTime(time, buffer, bufferIndex); bufferIndex += 8; // serverTimeZone buffer[bufferIndex++] = (byte) 0x80; buffer[bufferIndex++] = (byte) 0xFF; // encryptionKeyLength
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Decode FileBasicInfo decoded = new FileBasicInfo(); decoded.decode(buffer, 0, 36); // decode reads 36 bytes // Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIMERegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)