Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for relPath (0.03 sec)

  1. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. 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>
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. 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();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 13 09:44:11 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. 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:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  5. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. cmd/http-tracer.go

    		}
    		if host, port, err := net.SplitHostPort(nodeName); err == nil {
    			if port == "443" || port == "80" {
    				nodeName = host
    			}
    		}
    
    		// Calculate reqPath
    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    			reqPath = r.URL.Path
    		}
    
    		// Calculate function name
    		funcName := tc.FuncName
    		if funcName == "" {
    			funcName = "<unknown>"
    		}
    
    		t := madmin.TraceInfo{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. docs/debugging/reorder-disks/main.go

    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    			realPath, err := filepath.EvalSymlinks(path)
    			if err != nil {
    				return err
    			}
    			result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/")
    			return nil
    		})
    	if err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    type localDisk struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top