Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for ChildMap (0.11 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java

        private final long maxVersionInHierarchy;
        private final ChildMap<VersionHierarchy> children;
    
        public static VersionHierarchy empty(long version) {
            return new VersionHierarchy(EmptyChildMap.getInstance(), version, version);
        }
    
        private VersionHierarchy(ChildMap<VersionHierarchy> children, long version, long maxVersionInHierarchy) {
            this.children = children;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PartialDirectoryNode.java

            return new PartialDirectoryNode(EmptyChildMap.getInstance());
        }
    
        public PartialDirectoryNode(ChildMap<? extends FileSystemNode> children) {
            super(children);
        }
    
        @Override
        protected FileSystemNode withIncompleteChildren(ChildMap<? extends FileSystemNode> newChildren) {
            return new PartialDirectoryNode(newChildren);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/EmptyChildMap.java

            return handler.handleUnrelatedToAnyChild();
        }
    
        @Override
        public <RESULT> ChildMap<RESULT> invalidate(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, InvalidationHandler<T, RESULT> handler) {
            handler.handleUnrelatedToAnyChild();
            return getInstance();
        }
    
        @Override
        public ChildMap<T> store(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, StoreHandler<T> storeHandler) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

            return index;
        }
    
        public static <T extends FileSystemNode> Optional<MetadataSnapshot> getMetadataFromChildren(ChildMap<T> children, VfsRelativePath targetPath, CaseSensitivity caseSensitivity, Supplier<Optional<MetadataSnapshot>> noChildFoundResult) {
            return children.withNode(targetPath, caseSensitivity, new ChildMap.NodeHandler<T, Optional<MetadataSnapshot>>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

    class DirectoryNodeTest extends AbstractFileSystemNodeWithChildrenTest<FileSystemNode, FileSystemLocationSnapshot> {
        @Override
        protected FileSystemNode createInitialRootNode(ChildMap<FileSystemLocationSnapshot> children) {
            return new DirectorySnapshot("/root/some/path", PathUtil.getFileName("path"), AccessType.DIRECT, TestHashCodes.hashCodeFrom(1234), children).asFileSystemNode()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/UnknownFileSystemNode.java

        public UnknownFileSystemNode(ChildMap<? extends FileSystemNode> children) {
            super(children);
            assert !children.isEmpty();
        }
    
        @Override
        public Optional<MetadataSnapshot> getSnapshot() {
            return Optional.empty();
        }
    
        @Override
        protected FileSystemNode withIncompleteChildren(ChildMap<? extends FileSystemNode> merged) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/PartialDirectoryNodeTest.groovy

    class PartialDirectoryNodeTest extends AbstractIncompleteFileSystemNodeTest<PartialDirectoryNode> {
    
        @Override
        protected PartialDirectoryNode createInitialRootNode(ChildMap<FileSystemNode> children) {
            return new PartialDirectoryNode(children)
        }
    
        @Override
        protected boolean isSameNodeType(FileSystemNode node) {
            node instanceof PartialDirectoryNode
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy

    class UnknownFileSystemNodeTest extends AbstractIncompleteFileSystemNodeTest<UnknownFileSystemNode> {
    
        @Override
        protected UnknownFileSystemNode createInitialRootNode(ChildMap<FileSystemNode> children) {
            return new UnknownFileSystemNode(children)
        }
    
        @Override
        protected boolean isSameNodeType(FileSystemNode node) {
            return node instanceof UnknownFileSystemNode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top