- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for createTime (0.06 sec)
-
src/test/java/jcifs/smb/FileEntryTest.java
static Stream<Arguments> longGetterProvider() { return Stream.of(Arguments.of((LongGetter) FileEntry::createTime, -1L, "negative createTime"), Arguments.of((LongGetter) FileEntry::createTime, 0L, "zero createTime"), Arguments.of((LongGetter) FileEntry::createTime, Long.MAX_VALUE, "max createTime"), Arguments.of((LongGetter) FileEntry::lastModified, -2L, "negative lastModified"),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
this.directoryPath = path; this.leaseKey = key; this.scope = scope; this.createTime = System.currentTimeMillis(); this.lastUpdateTime = createTime; this.lastAccessTime = createTime; this.maxAge = 30000; // 30 seconds default this.children = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile1.lastModified()).thenReturn(1000L); 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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
// Default instance assertEquals(0L, shareInfo.createTime()); assertEquals(0L, shareInfo.lastModified()); assertEquals(0L, shareInfo.lastAccess()); // Instance with values - times are still 0 SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(0L, info.createTime()); assertEquals(0L, info.lastModified());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile1.isDirectory()).thenReturn(false); 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");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
this.directoryPath = path; this.leaseKey = key; this.scope = scope; this.createTime = System.currentTimeMillis(); this.lastUpdateTime = createTime; this.lastAccessTime = createTime; this.maxAge = 30000; // 30 seconds default this.children = new ConcurrentHashMap<>(); this.lock = new ReentrantReadWriteLock();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
final SearchRequestBuilder builder = c.prepareSearch(index); callback.accept(builder); builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }, null); return builder.execute(); });
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (0)