Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for currentRoot (0.13 sec)

  1. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java

            updateRootUnderLock(currentRoot -> {
                if (watchRegistry == null) {
                    watchableHierarchiesRegisteredEarly.add(watchableHierarchy);
                    return currentRoot;
                }
                return withWatcherChangeErrorHandling(
                    currentRoot,
                    () -> watchRegistry.registerWatchableHierarchy(watchableHierarchy, currentRoot)
                );
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 16:22:15 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java

            List<File> result = Lists.newArrayListWithExpectedSize(sortedFiles.size());
    
            File currentRoot = null;
            for (File file : sortedFiles) {
                if (currentRoot == null || !doesPathStartWith(file.getPath(), currentRoot.getPath())) {
                    result.add(file);
                    currentRoot = file;
                }
            }
            return result;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

            }
        }
    
        protected void updateRootUnderLock(UnaryOperator<SnapshotHierarchy> updateFunction) {
            underLock(() -> {
                SnapshotHierarchy currentRoot = root;
                root = updateFunction.apply(currentRoot);
            });
        }
    
        @Override
        public Optional<FileSystemLocationSnapshot> findSnapshot(String absolutePath) {
            return root.findSnapshot(absolutePath);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

                    if (result != null) {
                        newRootsBuilder.add(currentRootFiltered ? result : currentRoot);
                    }
                    directorySnapshotBuilder = null;
                    currentRoot = null;
                }
            }
    
            public ImmutableList<FileSystemSnapshot> getNewRoots() {
                return newRootsBuilder.build();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/phi.go

    	for len(priq.a) > 0 {
    		currentRoot := heap.Pop(priq).(*ssa.Block)
    		if debugPhi {
    			fmt.Printf("currentRoot %s\n", currentRoot)
    		}
    		// Walk subtree below definition.
    		// Skip subtrees we've done in previous iterations.
    		// Find edges exiting tree dominated by definition (the dominance frontier).
    		// Insert phis at target blocks.
    		if queued.contains(currentRoot.ID) {
    			s.s.Fatalf("root already in queue")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java

            return probeRegistry.unprovenHierarchies()
                .reduce(root, (currentRoot, unprovenHierarchy) -> {
                    if (hierarchies.remove(unprovenHierarchy)) {
                        watchMode.loggerForWarnings(LOGGER).warn(INVALIDATING_HIERARCHY_MESSAGE + " {}", unprovenHierarchy);
                        return invalidator.invalidate(unprovenHierarchy.getAbsolutePath(), currentRoot);
                    } else {
                        return currentRoot;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdater.java

            // We already stopped watching the hierarchy.
        }
    
        @Override
        protected WatchableHierarchies.Invalidator createInvalidator() {
            return (location, currentRoot) -> currentRoot.invalidate(location, SnapshotHierarchy.NodeDiffListener.NOOP);
        }
    
        public interface FileSystemLocationToWatchValidator {
            FileSystemLocationToWatchValidator NO_VALIDATION = location -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdater.java

            }
        }
    
        @Override
        protected WatchableHierarchies.Invalidator createInvalidator() {
            return (location, currentRoot) -> {
                SnapshotCollectingDiffListener diffListener = new SnapshotCollectingDiffListener();
                SnapshotHierarchy invalidatedRoot = currentRoot.invalidate(location, diffListener);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 04:59:05 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/plugins/NativeTestingBasePlugin.java

                        test.configure(task -> task.dependsOn((Callable) () -> {
                            TargetMachine currentHost = ((DefaultTargetMachineFactory)targetMachineFactory).host();
                            boolean targetsCurrentMachine = componentWithTargetMachines.getTargetMachines().get().stream().anyMatch(targetMachine -> currentHost.getOperatingSystemFamily().equals(targetMachine.getOperatingSystemFamily()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/main/java/org/gradle/language/plugins/NativeBasePlugin.java

                        task.dependsOn((Callable) () -> {
                            TargetMachine currentHost = ((DefaultTargetMachineFactory)targetMachineFactory).host();
                            boolean targetsCurrentMachine = componentWithTargetMachines.getTargetMachines().get().stream().anyMatch(targetMachine -> currentHost.getOperatingSystemFamily().equals(targetMachine.getOperatingSystemFamily()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 26.1K bytes
    - Viewed (0)
Back to top