- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for lastAccess (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((LongGetter) FileEntry::lastModified, 42L, "positive lastModified"), Arguments.of((LongGetter) FileEntry::lastAccess, 0L, "zero lastAccess"), Arguments.of((LongGetter) FileEntry::lastAccess, Long.MIN_VALUE, "min lastAccess"), Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
* @param lastAccess last access time * @param lastWrite last write time * @param change last change time * @param attributes file attributes */ public FileBasicInfo(final long create, final long lastAccess, final long lastWrite, final long change, final int attributes) { this.createTime = create; this.lastAccessTime = lastAccess; this.lastWriteTime = lastWrite;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
when(mockResource.lastModified()).thenReturn(currentTime); when(mockResource.lastAccess()).thenReturn(currentTime - 1000); when(mockResource.createTime()).thenReturn(currentTime - 2000); // When long lastModified = mockResource.lastModified(); long lastAccess = mockResource.lastAccess(); long createTime = mockResource.createTime(); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
@MethodSource("valueProvider") void returnsValues_forVariousEdges(int attributes, long createTime, long lastWrite, long lastAccess, long size) { // Arrange SmbBasicFileInfo info = new TestInfo(attributes, createTime, lastWrite, lastAccess, size); // Act & Assert Assertions.assertEquals(attributes, info.getAttributes());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.getName()).thenReturn("subfolder"); when(mockFile2.length()).thenReturn(0L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); when(mockFile1.createTime()).thenReturn(500L); when(mockFile1.lastAccess()).thenReturn(800L); when(mockFile2.getName()).thenReturn("dir1"); when(mockFile2.length()).thenReturn(0L); when(mockFile2.lastModified()).thenReturn(2000L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
} @Test void testTrans2QueryPathBasicInfoParsing() throws Exception { byte[] buffer = new byte[34]; long create = 1600000000000L; long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/FileEntry.java
*/ long lastModified(); /** * Gets the last access time. * * @return the last access time in milliseconds since epoch */ long lastAccess(); /** * Gets the file size. * * @return the file size in bytes */ long length(); /** * Gets the file index. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
public long createTime() { return 0L; } @Override public long lastModified() { return 0L; } @Override public long lastAccess() { return 0L; } @Override public long length() { return 0L; } @Override public String toString() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
public long createTime() { return this.creationTime; } @Override public long lastModified() { return this.lastWriteTime; } @Override public long lastAccess() { return this.lastAccessTime; } @Override public long length() { return this.endOfFile; } /** * Gets the offset to the next entry. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0)