Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for lastWriteTime (0.07 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

         */
        @Override
        public final long getLastAccessTime() {
            return this.lastAccessTime;
        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Gets the allocation size.
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        private final int attributes = 1;
        private final long createTime = System.currentTimeMillis();
        private final long lastWriteTime = System.currentTimeMillis();
    
        @BeforeEach
        void setUp() {
            trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime);
        }
    
        @Test
        void testConstructor() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        public void testGetCreateTime() {
            // Initially, lastWriteTime is 0, so createTime should be just the offset.
            assertEquals(serverTimeZoneOffset, response.getCreateTime());
        }
    
        /**
         * Test of getLastWriteTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetLastWriteTime() {
            // Initially, lastWriteTime is 0, so it should return just the offset.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

                    + ",creationTime=" + new Date(this.creationTime) + ",lastAccessTime=" + new Date(this.lastAccessTime) + ",lastWriteTime="
                    + new Date(this.lastWriteTime) + ",changeTime=" + new Date(this.changeTime) + ",endOfFile=" + this.endOfFile
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.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: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
        void testSetLastWriteTime() {
            long time = System.currentTimeMillis();
            response.lastWriteTime = time;
            assertEquals(time, response.lastWriteTime);
        }
    
        @Test
        void testSetDataSize() {
            response.dataSize = 1024;
            assertEquals(1024, response.dataSize);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileHandleImpl.java

         */
        @Override
        public synchronized void close(final long lastWriteTime) throws CIFSException {
            closeInternal(lastWriteTime, true);
        }
    
        /**
         * @param lastWriteTime
         * @throws SmbException
         */
        void closeInternal(final long lastWriteTime, final boolean explicit) throws CIFSException {
            final SmbTreeHandleImpl t = this.tree;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

                    + ",creationTime=" + new Date(info.creationTime) + ",lastAccessTime=" + new Date(info.lastAccessTime) + ",lastWriteTime="
                    + new Date(info.lastWriteTime) + ",changeTime=" + new Date(info.changeTime) + ",endOfFile=" + info.endOfFile
                    + ",allocationSize=" + info.allocationSize + ",extFileAttributes=" + info.extFileAttributes + ",fileNameLength="
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

         * @param lastWriteTime the last write time
         * @param lastAccessTime the last access time
         */
        public Trans2SetFileInformation(final Configuration config, final int fid, final int attributes, final long createTime,
                final long lastWriteTime, final long lastAccessTime) {
            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/InfoTest.java

            fileAttr.setAccessible(true);
            fileAttr.setInt(resp, 0xABCD);
            java.lang.reflect.Field lastWrite = SmbComQueryInformationResponse.class.getDeclaredField("lastWriteTime");
            lastWrite.setAccessible(true);
            lastWrite.setLong(resp, 1630000000000L);
            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top