- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 844 for paths (0.02 seconds)
-
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 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
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()));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0) -
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() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.5K bytes - Click Count (0) -
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);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
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;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
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++
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.9K bytes - Click Count (0) -
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";
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
tests/test_request_params/test_cookie/test_optional_str.py
async def read_model_optional_str(p: Annotated[CookieModelOptionalStr, Cookie()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str_schema(path: str): assert app.openapi()["paths"][path]["get"]["parameters"] == [ { "required": False, "schema": { "anyOf": [{"type": "string"}, {"type": "null"}],
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 8.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.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.HashMap; import java.util.Map; import java.util.Optional; import java.util.stream.Stream; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.Editor;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0) -
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() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 13 14:20:26 GMT 2025 - 2.9K bytes - Click Count (0)