/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/ |
D | FileInfo.groovy | 30 final Date lastModified 35 * @param lastModified - the lastModified Date for the directory 38 static FileInfo forDirectory(String name, Date lastModified) { 39 return new FileInfo(true, name, 0, lastModified) 46 * @param lastModified - the lastModified Date for the directory 49 static FileInfo forFile(String name, long size, Date lastModified) { 50 return new FileInfo(false, name, size, lastModified) 53 private FileInfo(boolean directory, String name, long size, Date lastModified) { 57 this.lastModified = lastModified 71 * name and length properties affect the hash code value. The lastModified [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/ |
D | ListCommandHandlerTest.groovy | 52 … fileSystem.addEntry(new FileEntry(path:p(DIR,NAME), lastModified:LAST_MODIFIED, contents:"abc")) 63 … fileSystem.addEntry(new FileEntry(path:p(DIR,NAME1), lastModified:LAST_MODIFIED, contents:DATA1)) 64 fileSystem.addEntry(new DirectoryEntry(path:p(DIR,NAME2), lastModified:LAST_MODIFIED)) 65 … fileSystem.addEntry(new FileEntry(path:p(DIR,NAME3), lastModified:LAST_MODIFIED, contents:DATA3)) 79 … fileSystem.addEntry(new FileEntry(path:p(DIR,NAME), lastModified:LAST_MODIFIED, contents:"abc")) 91 … fileSystem.addEntry(new FileEntry(path:p(DIR,NAME), lastModified:LAST_MODIFIED, contents:"abc")) 136 private String listingForFile(lastModified, size, name) { 137 def lastModifiedFormatted = dateFormat.format(lastModified) 141 private String listingForDirectory(lastModified, name) { 142 def lastModifiedFormatted = dateFormat.format(lastModified)
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 105 entry.lastModified = LAST_MODIFIED 114 assert clone.lastModified == LAST_MODIFIED 124 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 125 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 127 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 128 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 135 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 136 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 138 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 139 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 106 entry.lastModified = LAST_MODIFIED 115 assert clone.lastModified == LAST_MODIFIED 125 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 126 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 128 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 129 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 136 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 137 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 139 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 140 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 105 entry.lastModified = LAST_MODIFIED 114 assert clone.lastModified == LAST_MODIFIED 124 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 125 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 127 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 128 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 135 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 136 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 138 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 139 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 105 entry.lastModified = LAST_MODIFIED 114 assert clone.lastModified == LAST_MODIFIED 135 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 136 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 138 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 139 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 146 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 147 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 149 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 150 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 111 entry.lastModified = LAST_MODIFIED 120 assert clone.lastModified == LAST_MODIFIED 141 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 144 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 145 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 152 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 153 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 155 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 112 entry.lastModified = LAST_MODIFIED 121 assert clone.lastModified == LAST_MODIFIED 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 143 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 145 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 146 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 153 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 154 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 157 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 111 entry.lastModified = LAST_MODIFIED 120 assert clone.lastModified == LAST_MODIFIED 141 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 144 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 145 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 152 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 153 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 155 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 111 entry.lastModified = LAST_MODIFIED 120 assert clone.lastModified == LAST_MODIFIED 141 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 144 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 145 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 152 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 153 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 155 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 112 entry.lastModified = LAST_MODIFIED 121 assert clone.lastModified == LAST_MODIFIED 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 143 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 145 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 146 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 153 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 154 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 157 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 112 entry.lastModified = LAST_MODIFIED 121 assert clone.lastModified == LAST_MODIFIED 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 143 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 145 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 146 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 153 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 154 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 157 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 111 entry.lastModified = LAST_MODIFIED 120 assert clone.lastModified == LAST_MODIFIED 141 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 144 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 145 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 152 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 153 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 155 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FileEntryTest.groovy | 111 entry.lastModified = LAST_MODIFIED 120 assert clone.lastModified == LAST_MODIFIED 141 // assert entry.equals(new FileEntry(path:PATH, lastModified:LAST_MODIFIED)) 142 // assert entry.equals(new FileEntry(path:PATH, lastModified:new Date())) // lastModified ig… 144 // assert !entry.equals(new FileEntry("xyz", lastModified:LAST_MODIFIED)) 145 // assert !entry.equals(new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MODIFIED)) 152 // assert entry.hashCode() == new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 153 …hCode() == new FileEntry(path:PATH, contents:'abc', new Date()).hashCode() // lastModified ignored 155 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abc', lastModified:LAST_MOD… 156 // assert entry.hashCode() != new FileEntry(path:PATH, contents:'abcdef', lastModified:LAST_… [all …]
|
D | UnixDirectoryListingFormatterTest.groovy | 52 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 59 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 66 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 73 …def fileSystemEntry = new FileEntry(path: FILE_PATH, contents: '12345678901', lastModified: LAST_M… 82 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED, 89 def fileSystemEntry = new DirectoryEntry(path: DIR_PATH, lastModified: LAST_MODIFIED)
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveEntry.java | 72 private final long lastModified; field in ArArchiveEntry 97 * @param lastModified last modified time in seconds since the epoch 100 final int mode, final long lastModified) { in ArArchiveEntry() argument 106 this.lastModified = lastModified; in ArArchiveEntry() 117 0, 0, DEFAULT_MODE, inputFile.lastModified() / 1000); in ArArchiveEntry() 147 return lastModified; in getLastModified()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | FileClientSessionCache.java | 362 long lastModified = -1; field in FileClientSessionCache.CacheFile 365 public long lastModified() { in lastModified() method in FileClientSessionCache.CacheFile 366 long lastModified = this.lastModified; in lastModified() local 367 if (lastModified == -1) { in lastModified() 368 lastModified = this.lastModified = super.lastModified(); in lastModified() 370 return lastModified; in lastModified() 376 long result = lastModified() - another.lastModified(); in compareTo()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | FileClientSessionCache.java | 355 long lastModified = -1; field in FileClientSessionCache.CacheFile 358 public long lastModified() { in lastModified() method in FileClientSessionCache.CacheFile 359 long lastModified = this.lastModified; in lastModified() local 360 if (lastModified == -1) { in lastModified() 361 lastModified = this.lastModified = super.lastModified(); in lastModified() 363 return lastModified; in lastModified() 369 long result = lastModified() - another.lastModified(); in compareTo()
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/ |
D | ListCommandHandlerTest.groovy | 44 … final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc") 52 …final entry1 = new FileEntry(path: p(DIR, "abc.txt"), lastModified: LAST_MODIFIED, contents: "abc") 53 final entry2 = new DirectoryEntry(path: p(DIR, "OtherFiles"), lastModified: LAST_MODIFIED) 54 …final entry3 = new FileEntry(path: p(DIR, "another_file.doc"), lastModified: LAST_MODIFIED, conten… 72 … final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc") 85 … final entry = new FileEntry(path: p(DIR, NAME), lastModified: LAST_MODIFIED, contents: "abc")
|