Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 375 for createTime (0.08 sec)

  1. src/main/java/jcifs/smb/FileEntry.java

         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the file creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the last access time.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
            /* why? am I going around in circles?
             *  this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.type = type;
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.size = size;
            isExists = true;
    
            attrExpiration = sizeExpiration = System.currentTimeMillis() + attrExpirationPeriod;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                this.leaseKey = key;
                this.path = path;
                this.leaseState = state;
                this.createTime = System.currentTimeMillis();
                this.lastAccessTime = createTime;
                this.epoch = 1;
                this.breaking = false;
            }
    
            /**
             * Update the lease state
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

            private final long createTime;
            private volatile long lastAccessTime;
            private final String path;
            private volatile boolean breaking;
            
            public LeaseEntry(Smb2LeaseKey key, String path, int state) {
                this.leaseKey = key;
                this.path = path;
                this.leaseState = state;
                this.createTime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            }
            return SmbFile.TYPE_SHARE;
        }
    
        @Override
        public int getAttributes() {
            return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
        }
    
        @Override
        public long createTime() {
            return 0L;
        }
    
        @Override
        public long lastModified() {
            return 0L;
        }
    
        @Override
        public long length() {
            return 0L;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
    
            @Override
            public int getAttributes() {
                return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            }
    
            @Override
            public long createTime() {
                return 0L;
            }
    
            @Override
            public long lastModified() {
                return 0L;
            }
    
            @Override
            public long length() {
                return 0L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return SmbConstants.TYPE_SHARE;
        }
    
        @Override
        public int getAttributes() {
            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
        @Override
        public long createTime() {
            return 0L;
        }
    
        @Override
        public long lastModified() {
            return 0L;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.FileEntry#lastAccess()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         * <code>createTime()</code>, <code>lastModified()</code>, <code>lastAccess()</code> methods.
         * <br>
         * This method does not apply to workgroups, servers, or shares.
         *
         * @see #setCreateTime
         * @see #setLastAccess
         * @see #setLastModified
         *
         * @param createTime
         *            the create time as milliseconds since Jan 1, 1970
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbFile.java

             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
            this.isExists = true;
    
            if (loadedAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top