- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for childPath (0.15 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy
childPaths.collect { childPath -> def firstSlash = childPath.indexOf('/') String newChildPath = firstSlash > -1 ? "${childPath.substring(0, firstSlash)}0${childPath.substring(firstSlash)}" : "${childPath}0" new VirtualFileSystemTestSpec(childPaths, newChildPath, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java
RESULT handleAsDescendantOfChild(VfsRelativePath targetPath, String childPath, T child); RESULT handleAsAncestorOfChild(VfsRelativePath targetPath, String childPath, T child); RESULT handleExactMatchWithChild(VfsRelativePath targetPath, String childPath, T child); RESULT handleSiblingOfChild(VfsRelativePath targetPath, String childPath, T child, int commonPrefixLength);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractStorePathRelationshipHandler.java
T newChild = handler.handleAsDescendantOfChild(targetPath.pathFromChild(childPath), child); return withReplacedChild(newChild); } @Override public ChildMap<T> handleAsAncestorOfChild(VfsRelativePath targetPath, String childPath, T child) { T newChild = handler.handleAsAncestorOfChild(childPath, child);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/api/file/RelativePathTest.java
public void appendPath() { RelativePath childPath = new RelativePath(false, "one", "two").append(new RelativePath(true, "three", "four")); assertPathContains(childPath, true, "one", "two", "three", "four"); childPath = new RelativePath(false, "one", "two").append(new RelativePath(true)); assertPathContains(childPath, true, "one", "two");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 29 15:31:00 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/BuildInputHierarchy.java
this.spec = spec; } @Override public boolean contains(VfsRelativePath childPath) { return matcher.elementWithRelativePathMatches(spec, new File(childPath.getAbsolutePath()), childPath.getAsString()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy
"" | "" | "" } def "'#relativePath / #offset' #verb a prefix of '#childPath'"() { expect: VfsRelativePath.of(relativePath, offset).isPrefixOf(childPath, CASE_SENSITIVE) == result where: relativePath | offset | childPath | result "a/b" | "a/".length() | "a" | false "a/b" | "a/b".length() | "c" | true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/StructNodeInitializer.java
ModelPath childPath = modelNode.getPath().child(property.getName()); if (propertySchema instanceof ManagedImplSchema) { if (!property.isWritable() || propertySchema instanceof ScalarCollectionSchema) { ModelRegistrations.Builder builder = managedRegistrationBuilder(childPath, property, nodeInitializerRegistry, publicType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath; const char* childpath; ASSERT_TRUE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt"); // There should only be one file in this directory. ASSERT_FALSE(TF_StringStreamNext(children, &childpath)); ASSERT_EQ(childpath, nullptr); TF_StringStreamDone(children); TF_FileStatistics stats;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Dec 10 20:52:48 UTC 2018 - 4.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchy.java
public Node getNode() { return node; } @Override public boolean accessesChild(VfsRelativePath childPath) { return matcher.elementWithRelativePathMatches(spec, new File(childPath.getAbsolutePath()), childPath.getAsString()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 12 20:10:34 UTC 2022 - 6.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractInvalidateChildHandler.java
.map(this::withReplacedChild) .orElseGet(this::withRemovedChild); } @Override public ChildMap<RESULT> handleAsAncestorOfChild(String childPath, T child) { handler.handleAsAncestorOfChild(childPath, child); return withRemovedChild(); } @Override public ChildMap<RESULT> handleExactMatchWithChild(T child) { handler.handleExactMatchWithChild(child);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.1K bytes - Viewed (0)