- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for createName (0.39 sec)
-
src/main/java/jcifs/smb/Kerb5Context.java
GSSCredential clientCreds = null; Oid mechOid = JGSS_KRB5_MECH_OID; if (realm != null) { this.serviceName = manager.createName(service + "/" + host + "@" + realm, JGSS_KRB5_NAME_OID, mechOid); } else { this.serviceName = manager.createName(service + "@" + host, GSSName.NT_HOSTBASED_SERVICE, mechOid); } if (log.isDebugEnabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager); // Setup mock behavior for GSSManager with lenient matchers lenient().when(gssManager.createName(anyString(), any(), any())).thenReturn(serviceName); lenient().when(gssManager.createName(anyString(), any())).thenReturn(serviceName); lenient().when(gssManager.createContext(any(), any(), any(), anyInt())).thenReturn(gssContext);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java
// Test create time getter/setter AccessResultImpl<Long> result = new AccessResultImpl<>(); Long createTime = System.currentTimeMillis(); result.setCreateTime(createTime); assertEquals(createTime, result.getCreateTime()); } public void test_executionTimeGetterSetter() { // Test execution time getter/setterRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 13.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
/** * Fields to fetch for access result list without data. */ private static final String[] ACCESS_RESULT_FIELDS = { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime", "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }; /** * Creates a new instance of OpenSearchDataService. * @param crawlerConfig The crawler configuration. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.1K bytes - Viewed (0)