Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,774 for path (0.02 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

            Map<Path, Set<String>> result = new HashMap<>();
            Map<String, PluginUpgrade> pluginUpgrades = getPluginUpgradesAsMap();
    
            for (Map.Entry<Path, Document> entry : pomMap.entrySet()) {
                Path originalPomPath = entry.getKey();
    
                try {
                    // Find the corresponding temp POM path
                    Path commonRoot = findCommonRoot(pomMap.keySet());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            assertEquals(entryByKey, entryByPath);
            assertEquals(path, entryByPath.getPath());
        }
    
        @Test
        @DisplayName("Should release all leases")
        void testReleaseAll() {
            String path1 = "/share/file1.txt";
            String path2 = "/share/file2.txt";
    
            Smb2LeaseKey key1 = leaseManager.requestLease(path1, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

        }
    
        /**
         * Parses an S3 path into bucket name and object path components.
         * @param path the S3 path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial002.py

                }
            ]
        }
    
    
    def test_post_files(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            }
    
            Path rootDir = Paths.get(args[0]);
            PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
            MavenStaxReader reader = new MavenStaxReader();
    
            // Find all pom.xml files, excluding those under src/ or target/
            Files.walk(rootDir)
                    .filter(path -> path.getFileName().toString().equals("pom.xml"))
                    .filter(path -> !containsSrcOrTarget(path))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

     */
    class ModelSourceTest {
    
        @Test
        void testBuildSourceHasNoModelId() {
            Path path = Paths.get("/tmp/pom.xml");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertNull(source.getModelId(), "Build sources should not have a modelId");
            assertEquals(path, source.getPath());
        }
    
        @Test
        void testResolvedSourceWithModelId() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

        synchronized void insert(final String path, final DfsReferral dr) {
            int s1, s2;
            String server, share, key;
    
            if (DISABLED) {
                return;
            }
    
            s1 = path.indexOf('\\', 1);
            s2 = path.indexOf('\\', s1 + 1);
            server = path.substring(1, s1);
            share = path.substring(s1 + 1, s2);
    
            key = path.substring(0, dr.pathConsumed).toLowerCase();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

            @Test
            @DisplayName("should handle merging with different POM sets")
            void shouldHandleMergingWithDifferentPOMSets() {
                Path pom1 = Paths.get("pom.xml");
                Path pom2 = Paths.get("module1/pom.xml");
                Path pom3 = Paths.get("module2/pom.xml");
    
                UpgradeResult result1 = new UpgradeResult(
                        Set.of(pom1, pom2), // processed
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top