Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for createName (0.64 sec)

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

                                        SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES, SmbConstants.FILE_NO_SHARE)) {
                    final long mtime = src.lastModified();
                    final long ctime = src.createTime();
                    final long atime = src.lastAccess();
                    int i = 0;
                    long off = 0L;
                    while (true) {
                        final int read = fis.read(b[i]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedAttributes, fileBothDirectoryInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test createTime returns correct creation time")
        void testCreateTime() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
    
                basicInfo.attributes = 0x20; // Archive attribute
                basicInfo.createTime = 1000000L;
                basicInfo.lastWriteTime = 2000000L;
                basicInfo.lastAccessTime = 1500000L;
                basicInfo.changeTime = 2500000L;
    
                assertEquals(0x20, basicInfo.getAttributes());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top