Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,392 for paths (0.02 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                                new UpgradeResult(Set.of(Paths.get("pom.xml")), Set.of(Paths.get("pom.xml")), Set.of()));
    
                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(new UpgradeResult(
                                Set.of(Paths.get("module/pom.xml")), Set.of(Paths.get("module/pom.xml")), Set.of()));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    	ns     *nsLockMap
    	volume string
    	paths  []string
    	opsID  string
    }
    
    // NewNSLock - returns a lock instance for a given volume and
    // path. The returned lockInstance object encapsulates the nsLockMap,
    // volume, path and operation ID.
    func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker {
    	sort.Strings(paths)
    	opsID := mustGetUUID()
    	if n.isDistErasure {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. cmd/metacache-bucket_test.go

    	"fmt"
    	"testing"
    )
    
    func Benchmark_bucketMetacache_findCache(b *testing.B) {
    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := range elements {
    		bm.findCache(listPathOptions{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Document moduleBDoc = Document.of(moduleBPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("project", "pom.xml"), parentDoc);
                pomMap.put(Paths.get("project", "module-a", "pom.xml"), moduleADoc);
                pomMap.put(Paths.get("project", "module-b", "pom.xml"), moduleBDoc);
    
                Editor editor = new Editor(moduleBDoc);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup.goals;
    
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    
    import eu.maveniverse.domtrip.Document;
    import eu.maveniverse.domtrip.Editor;
    import eu.maveniverse.domtrip.Element;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> paths = session.resolveDependencies(coords);
    
            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    		// Don't canonicalize UNC paths.
    		return path
    	}
    	if !filepath.IsAbs(path) {
    		// Relative path
    		return path
    	}
    
    	const prefix = `\\?`
    
    	pathbuf := make([]byte, len(prefix)+len(path)+len(`\`))
    	copy(pathbuf, prefix)
    	n := len(path)
    	r, w := 0, len(prefix)
    	for r < n {
    		switch {
    		case os.IsPathSeparator(path[r]):
    			// empty block
    			r++
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        }
    
        /**
         * Gets the base path for storing files.
         *
         * @return the base path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Sets the base path for storing files.
         *
         * @param path the base path to set
         */
        public void setPath(final String path) {
            this.path = path;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.BuildPathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testResolvedSource() {
            String location = "/tmp";
            Path path = Paths.get(location);
            String modelId = "org.example:test:1.0.0";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top