Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mergeWithExisting (0.16 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractStorePathRelationshipHandler.java

        }
    
        @Override
        public ChildMap<T> handleExactMatchWithChild(VfsRelativePath targetPath, String childPath, T child) {
            T newChild = handler.mergeWithExisting(child);
            return withReplacedChild(newChild);
        }
    
        @Override
        public ChildMap<T> handleSiblingOfChild(VfsRelativePath targetPath, String childPath, T child, int commonPrefixLength) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java

        interface StoreHandler<T> {
            T handleAsDescendantOfChild(VfsRelativePath pathInChild, T child);
            T handleAsAncestorOfChild(String childPath, T child);
            T mergeWithExisting(T child);
            T createChild();
            T createNodeFromChildren(ChildMap<T> children);
        }
    
        class Entry<T> {
            private final String path;
            private final T value;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/VersionHierarchy.java

                public VersionHierarchy handleAsAncestorOfChild(String childPath, VersionHierarchy child) {
                    return createChild();
                }
    
                @Override
                public VersionHierarchy mergeWithExisting(VersionHierarchy child) {
                    return createChild();
                }
    
                @Override
                public VersionHierarchy createChild() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/ValuedVfsHierarchy.java

                    ));
                    return new ValuedVfsHierarchy<>(PersistentList.of(value), singletonChild, caseSensitivity);
                }
    
                @Override
                public ValuedVfsHierarchy<T> mergeWithExisting(ValuedVfsHierarchy<T> child) {
                    return new ValuedVfsHierarchy<>(child.getValues().plus(value), child.getChildren(), caseSensitivity);
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 28 17:23:29 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNode.java

                    diffListener.nodeRemoved(child);
                    diffListener.nodeAdded(newChild);
                    return newChild;
                }
    
                @Override
                public FileSystemNode mergeWithExisting(FileSystemNode child) {
                    if (snapshot instanceof FileSystemLocationSnapshot || !child.getSnapshot().map(oldSnapshot -> oldSnapshot instanceof FileSystemLocationSnapshot).orElse(false)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top