Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for keypath (0.09 sec)

  1. src/test/java/jcifs/internal/RequestWithPathTest.java

            assertEquals(expectedPath, testImplementation.getPath());
        }
    
        @Test
        @DisplayName("Test setPath updates path correctly")
        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
            verify(requestWithPath, times(1)).setPath(newPath);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Test path with both leading and trailing backslash
            request.setPath("\\test\\directory\\");
            assertEquals("\\test\\directory", request.getPath());
    
            // Test single backslash
            request.setPath("\\");
            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                when(mockReferral.getNode()).thenReturn("\\server\\share\\path");
    
                String reqPath = "\\\\server\\share\\path";
                // Use valid consumed value within string bounds (reqPath.length() = 19)
                int consumed = Math.min(19, reqPath.length());
    
                data1 = DfsReferralDataImpl.fromReferral(mockReferral, reqPath, System.currentTimeMillis() + 10000, consumed);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed "
                            + consumed);
                }
                dr.pathConsumed = consumed;
            } else {
                if (log.isDebugEnabled()) {
                    log.debug("Node " + ref.getNode() + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed "
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return str.substring(0, i + 1);
            }
    
            return "smb://";
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getPath()
         */
    
        @Override
        public String getPath() {
            return this.url.toString();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getCanonicalURL()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                            final String filename = getImageFilename(docId);
                            final Path newPath = basePath.resolve(filename);
                            if (!path.equals(newPath)) {
                                try {
                                    try {
                                        Files.createDirectories(newPath.getParent());
                                    } catch (final FileAlreadyExistsException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

            CIFSException last = null;
            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
            final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            super(config, SMB2_CREATE);
            setPath(name);
        }
    
        @Override
        protected Smb2CreateResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CreateResponse> req) {
            return new Smb2CreateResponse(tc.getConfig(), this.name);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getPath()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top