/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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | FileClientSessionCache.java | 365 long lastModified = -1; field in FileClientSessionCache.CacheFile 368 public long lastModified() { in lastModified() method in FileClientSessionCache.CacheFile 369 long lastModified = this.lastModified; in lastModified() local 370 if (lastModified == -1) { in lastModified() 371 lastModified = this.lastModified = super.lastModified(); in lastModified() 373 return lastModified; in lastModified() 379 long result = lastModified() - another.lastModified(); in compareTo()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | FileClientSessionCache.java | 359 long lastModified = -1; field in FileClientSessionCache.CacheFile 362 public long lastModified() { in lastModified() method in FileClientSessionCache.CacheFile 363 long lastModified = this.lastModified; in lastModified() local 364 if (lastModified == -1) { in lastModified() 365 lastModified = this.lastModified = super.lastModified(); in lastModified() 367 return lastModified; in lastModified() 373 long result = lastModified() - another.lastModified(); in compareTo()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveEntry.java | 72 private final long lastModified; field in ArArchiveEntry 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/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/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-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-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.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-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFileSystemEntry.java | 33 private Date lastModified; field in AbstractFileSystemEntry 38 return lastModified; in getLastModified() 41 public void setLastModified(Date lastModified) { in setLastModified() argument 42 this.lastModified = lastModified; in setLastModified()
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|