Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,541 for pathOf (0.03 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                path = defaultArtifact.getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

    import java.io.File;
    import java.nio.file.Path;
    import java.util.List;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    
    public class JavaPathTypeTest {
        /**
         * {@return dummy paths to use in tests}.
         */
        private static List<Path> paths() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. .generated_files

    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    #    file-prefix - a prefix match of the leaf filename (no path)
    #    paths-from-repo - read a file from the repo and load file paths
    #
    
    file-prefix	zz_generated.
    
    file-name	types.generated.go
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (Files.exists(Paths.get(srcWebInfBase))) {
                return Paths.get(srcWebInfBase, names);
            }
            final String targetWebInfBase = "target/fess/" + root + base;
            if (Files.exists(Paths.get(targetWebInfBase))) {
                return Paths.get(targetWebInfBase, names);
            }
            return Paths.get(webinfBase, names);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. tests/test_request_params/test_header/test_optional_str.py

        client = TestClient(app)
        response = client.get(path, headers={"p": "hello"})
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-alias",
            "/model-optional-alias",
        ],
    )
    def test_optional_alias_by_alias(path: str):
        client = TestClient(app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

            String path = "\\\\server\\share\\folder";
            String normalized = validator.validatePath(path);
            assertEquals("\\server\\share\\folder", normalized);
        }
    
        @Test
        public void testUncPathNotAllowed() throws Exception {
            PathValidator noUncValidator = new PathValidator(260, 255, false, false);
            // Due to normalization bug, UNC paths are not properly detected
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        /**
         * Returns the file paths of all dependencies, regardless of which tool option those paths should be placed on.
         * The returned list may contain a mix of Java class path, Java module path, and other types of path elements.
         * This collection has the same content as {@code getDependencies.values()} except that it does not contain
         * null elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if ((l1 > 1 && path1.charAt(p1 + 1) == '.') || (l2 > 1 && path2.charAt(p2 + 1) == '.')) {
                return true;
            }
    
            return l1 == l2 && path1.regionMatches(true, p1, path2, p2, l1);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

        default PathMatcher createIncludeOnlyMatcher(@Nonnull Path baseDirectory, Collection<String> includes) {
            return createPathMatcher(baseDirectory, includes, null, false);
        }
    
        /**
         * Returns a filter for directories that may contain paths accepted by the given matcher.
         * The given path matcher should be an instance created by this service.
         * The path matcher returned by this method expects directory paths.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. tests/test_request_params/test_header/test_required_str.py

    async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": "P", "type": "string"},
                "name": "p",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top