- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for childPath (0.21 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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java
ModelPath childPath = child.getPath(); if (!getPath().isDirectChild(childPath)) { throw new IllegalArgumentException(String.format("Element registration has a path (%s) which is not a child of this node (%s).", childPath, getPath())); } ModelNodeInternal currentChild = links == null ? null : links.get(childPath.getName()); if (currentChild != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java
String parentPath = extractPath(parent); String childPath = path.startsWith("/") ? path.substring(1) : path; if (childPath.length() == 0) { return parentPath; } else if (parentPath.endsWith("/")) { return parentPath + childPath; } else { return parentPath + "/" + childPath; } } private static boolean isFileOnHost(URI uri) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10K bytes - Viewed (0)