- Sort Score
- Result 10 results
- Languages All
Results 21 - 23 of 23 for fileSize (0.72 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws IOException if an I/O error occurs */ public int readUnsignedShort() throws IOException { return readShort() & 0xffff; } /** * Reads a Windows FILETIME value and converts it to a Date. * @return the Date object, or null if the time represents infinity * @throws IOException if an I/O error occurs */ public Date readFiletime() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// 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 FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time assertEquals(expectedTime, decoded.getCreateTime()); assertEquals(expectedTime, decoded.getLastAccessTime());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/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
// Given byte[] buffer = new byte[64]; int bufferIndex = 8; // Prepare test data in buffer (40 bytes of data) // 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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0)