Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lastWriteTime (0.21 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        @Override
        public final long getLastAccessTime() {
            return this.lastAccessTime;
        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Get the file change time
         * @return the changeTime
         */
        public final long getChangeTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            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
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Write test data to buffer
            int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE
            long lastWriteTime = System.currentTimeMillis();
            int fileSize = 12345678;
    
            SMBUtil.writeInt2(fileAttributes, buffer, bufferIndex);
            SMBUtil.writeUTime(lastWriteTime, buffer, bufferIndex + 2);
            SMBUtil.writeInt4(fileSize, buffer, bufferIndex + 6);
    
            // Read the data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                basicInfo.attributes = 0x20; // Archive attribute
                basicInfo.createTime = 1000000L;
                basicInfo.lastWriteTime = 2000000L;
                basicInfo.lastAccessTime = 1500000L;
                basicInfo.changeTime = 2500000L;
    
                assertEquals(0x20, basicInfo.getAttributes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                long lastAccessTime = creationTime + 1000000L;
                SMBUtil.writeInt8(lastAccessTime, buffer, bufferIndex + 16);
                // Last Write Time (8 bytes)
                long lastWriteTime = creationTime + 2000000L;
                SMBUtil.writeInt8(lastWriteTime, buffer, bufferIndex + 24);
                // Change Time (8 bytes)
                long changeTime = creationTime + 3000000L;
                SMBUtil.writeInt8(changeTime, buffer, bufferIndex + 32);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertTrue(str.startsWith("SmbQueryFileBasicInfo["));
            assertTrue(str.contains("createTime="));
            assertTrue(str.contains("lastAccessTime="));
            assertTrue(str.contains("lastWriteTime="));
            assertTrue(str.contains("changeTime="));
            assertTrue(str.contains("attributes=0x"));
            assertTrue(str.endsWith("]"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertTrue(result.contains("SmbQueryFileBasicInfo"));
            assertTrue(result.contains("createTime="));
            assertTrue(result.contains("lastAccessTime="));
            assertTrue(result.contains("lastWriteTime="));
            assertTrue(result.contains("changeTime="));
            assertTrue(result.contains("attributes=0x"));
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            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;
    
            SMBUtil.writeInt8(allocSize, body, i); // AllocationSize
            i += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            // CreationTime
            SMBUtil.writeInt8(0, buffer, dataOffset + 8);
            // LastAccessTime
            SMBUtil.writeInt8(0, buffer, dataOffset + 16);
            // LastWriteTime
            SMBUtil.writeInt8(0, buffer, dataOffset + 24);
            // ChangeTime
            SMBUtil.writeInt8(0, buffer, dataOffset + 32);
            // EndOfFile
            SMBUtil.writeInt8(0, buffer, dataOffset + 40);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top