- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for getPaths (1.06 sec)
-
docs/smb3-features/02-persistent-handles-design.md
this.maxRetries = 3; this.retryDelay = 1000; // 1 second } public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) { String path = file.getPath(); HandleInfo info = handleManager.getHandleForReconnect(path); if (info == null) { return CompletableFuture.failedFuture(Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
@Override protected final FileEntry open() throws CIFSException { final SmbResourceLocator loc = this.getParent().getLocator(); final String unc = loc.getUNCPath(); final String p = loc.getURL().getPath(); if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ public void updateAccessTime() { this.lastAccessTime = System.currentTimeMillis(); } /** * Get the file path * @return the path */ public String getPath() { return path; } /** * Get the create GUID * @return the create GUID */ public HandleGuid getCreateGuid() { return createGuid; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java
result.setName(DfTypeUtil.toString(source.get("name"))); result.setNumOfThread(DfTypeUtil.toInteger(source.get("numOfThread"))); result.setPaths(DfTypeUtil.toString(source.get("paths"))); result.setPermissions(toStringArray(source.get("permissions"))); result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
URL url = new URL(null, "smb://server/share#frag", handler); // Assert: ref is moved into path by Handler.parseURL assertNull(url.getRef(), "Ref must be cleared by Handler"); assertTrue(url.getPath().endsWith("/share#frag"), "Path must contain the fragment suffix"); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied when not explicitly set"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
} else if (!spec.startsWith("smb1://") && host != null && host.length() == 0) { spec = "//" + spec; limit += 2; } super.parseURL(u, spec, start, limit); path = u.getPath(); ref = u.getRef(); if (ref != null) { path += '#' + ref; } port = u.getPort(); if (port == -1) { port = getDefaultPort(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
form.dictId = dictId; }); }).renderWith(data -> { charMappingService.getCharMappingFile(dictId).ifPresent(file -> { RenderDataUtil.register(data, "path", file.getPath()); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadMappingFile(GLOBAL), this::asDictIndexHtml); }); }); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
String url = "smb1://server/share/file.txt"; SmbFile smbFile = new SmbFile(url); assertNotNull(smbFile); assertEquals("smb1://server/share/file.txt", smbFile.getPath()); } @Test public void testConstructorWithValidUrlAndAuth() throws MalformedURLException { // Test constructor with authentication
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} @Test void testGetPath() { // Arrange doReturn("/share/file.txt").when(smbFile).getPath(); // Act & Assert assertEquals("/share/file.txt", smbFile.getPath()); } } @Nested class WhenHandlingStreams { @Mock private SmbTreeHandleImpl mockTreeHandle;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0)