Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 11 for reqPath (0.27 seconds)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            // Edge-like Windows UNC-style: a single backslash in the path
            String reqPath = "\\";
            String resolved = "smb://server/share/path";
            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. 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 "
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
         * @param reqPath the requested path to resolve
         * @return resolved unc path
         */
        String handleDFSReferral(DfsReferralData dr, String reqPath);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        }
    
        /**
         * @param dr
         * @param reqPath
         * @return UNC path the redirect leads to
         */
        @Override
        public String handleDFSReferral(final DfsReferralData dr, final String reqPath) {
            if (Objects.equals(this.dfsReferral, dr)) {
                return this.unc;
            }
            this.dfsReferral = dr;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource2 getRelatedSource(String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
            Path relatedPom = getPath().getParent().resolve(relPath);
    
            if (Files.isDirectory(relatedPom)) {
                // TODO figure out how to reuse ModelLocator.locatePom(File) here
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. scripts/translation_fixer.py

        res: list[str] = []
        lang_docs_root = Path("docs") / lang / "docs"
        for path in iter_all_lang_paths(lang_docs_root):
            relpath = path.relative_to(lang_docs_root)
            if not str(relpath).startswith(non_translated_sections):
                res.append(str(relpath))
        return res
    
    
    def process_one_page(path: Path) -> bool:
        """
        Fix one translated document by comparing it to the English version.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

         * be able to accept <code>relPath</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator</li>
         * <li>have .. parent directory references</li>
         * <li>point either at file or directory, in the latter case POM file name 'pom.xml' needs to be used by the
         * requested model source.</li>
         * </ul>
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            @Override
            public String getLocation() {
                return source.getLocation();
            }
    
            @Override
            public ModelSource2 getRelatedSource(String relPath) {
                Source rel = source.resolve(relPath);
                return rel != null ? new SourceWrapper(rel) : null;
            }
    
            @Override
            public URI getLocationURI() {
                Path path = source.getPath();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Sep 13 09:44:11 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. scripts/translate.py

            yield path
    
    
    def iter_en_paths_to_translate() -> Iterable[Path]:
        en_docs_root = Path("docs/en/docs/")
        for path in iter_all_en_paths():
            relpath = path.relative_to(en_docs_root)
            if not str(relpath).startswith(non_translated_sections):
                yield path
    
    
    @app.command()
    def translate_lang(language: Annotated[str, typer.Option(envvar="LANGUAGE")]) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top