Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for _get_node (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchy.java

            @Override
            void visit(NodeAccess value) {
                builder.add(value.getNode());
            }
    
            @Override
            ImmutableSet<Node> getResult() {
                return builder.build();
            }
        }
    
        private interface NodeAccess {
            Node getNode();
    
            boolean accessesChild(VfsRelativePath childPath);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:10:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        }
    
        @Override
        public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) {
            return getNode(absolutePath)
                .map(FileSystemNode::rootSnapshots)
                .orElseGet(Stream::empty);
        }
    
        private Optional<FileSystemNode> getNode(String absolutePath) {
            VfsRelativePath relativePath = VfsRelativePath.of(absolutePath);
            return relativePath.isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

        def "querying the node for non-existent child #vfsSpec.searchedPath yields a missing file (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            FileSystemLocationSnapshot foundSnapshot = initialRoot.getNode(searchedPath, CASE_SENSITIVE).get() as FileSystemLocationSnapshot
            then:
            foundSnapshot.type == FileType.Missing
            foundSnapshot.absolutePath == searchedPath.absolutePath
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/QueryableExecutionPlan.java

            @Override
            public ScheduledNodes getScheduledNodes() {
                return visitor -> visitor.accept(Collections.emptyList(), Collections.emptySet());
            }
    
            @Override
            public TaskNode getNode(Task task) {
                throw new IllegalStateException();
            }
        };
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:05:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

            }
        }
    
        RemoteRepository getRemoteRepository(org.eclipse.aether.repository.RemoteRepository repository);
    
        Node getNode(org.eclipse.aether.graph.DependencyNode node);
    
        Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose);
    
        @Nonnull
        Artifact getArtifact(@Nonnull org.eclipse.aether.artifact.Artifact artifact);
    
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Apr 23 12:55:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.getChildren();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemLeafSnapshotTest.groovy

            childSnapshot.type == FileType.Missing
            childSnapshot.absolutePath == childAbsolutePath.absolutePath
        }
    
        def "getNode at child is missing"() {
            def childAbsolutePath = childAbsolutePath("some/child")
    
            when:
            FileSystemLocationSnapshot childSnapshot = initialRoot.getNode(childAbsolutePath, CASE_SENSITIVE).get() as FileSystemLocationSnapshot
            then:
            childSnapshot.type == FileType.Missing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns_linux.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    	"syscall"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	if stat, ok := fi.Sys().(*syscall.Stat_t); ok {
    		return stat.Ino, nil
    	}
    	return 0, fmt.Errorf("unable to get inode")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 814 bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns_other.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	return 0, fmt.Errorf("unable to get inode os not supported")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 781 bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                @Override
                public void execute(ModelBinding modelBinding) {
                    ModelNodeInternal node = modelBinding.getNode();
                    BindingPredicate predicate = modelBinding.getPredicate();
                    if (node.isAtLeast(predicate.getState())) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top