- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 29 for writeUTime (0.17 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex); dstIndex += 2; SMBUtil.writeUTime(this.lastWriteTime, dst, dstIndex); dstIndex += 4; // reserved dstIndex += 10; return dstIndex - start; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; if (this.digest != null) { SMB1SigningDigest.writeUTime(getConfig(), this.lastWriteTime, dst, dstIndex); } else { log.trace("SmbComClose without a digest"); } return 6; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
ServerMessageBlock.writeTime(time, buffer, 0); long readTime = ServerMessageBlock.readTime(buffer, 0); // Precision may be lost, so check within a second assertTrue(Math.abs(time - readTime) < 1000); } @Test void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (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_NORMALCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
// Entry 1 writeInt4(120, buffer, bufferIndex); // nextEntryOffset = 120 (relative) writeInt4(1, buffer, bufferIndex + 4); // fileIndex = 1 writeTime(1672531200000L, buffer, bufferIndex + 8); // creationTime writeTime(1672617600000L, buffer, bufferIndex + 24); // lastWriteTime writeInt8(2048, buffer, bufferIndex + 40); // endOfFileCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (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);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)