Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for IsRoot (0.31 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

            file projectDir, "pom.xml", fileContentGenerator.generatePomXML(subProjectNumber, dependencyTree)
            file projectDir, "BUILD.bazel", bazelContentGenerator.generateBuildFile(subProjectNumber, dependencyTree)
            if (isRoot) {
                file projectDir, "WORKSPACE", bazelContentGenerator.generateWorkspace()
                file projectDir, "junit.bzl", bazelContentGenerator.generateJunitHelper()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RootTrackingFileSystemSnapshotHierarchyVisitor.java

         */
        public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {}
    
        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
        public abstract SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot);
    
        /**
         * Called after all entries in the directory has been visited.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

                @Override
                public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {
                    try {
                        writeEntryType(encoder, EntryType.DIR_OPEN);
                        writePath(encoder, isRoot, directorySnapshot);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/MissingRootAndDuplicateIgnoringFileSystemSnapshotVisitor.java

        @Override
        public final SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot) {
            if (!(snapshot.getType() == FileType.Missing && isRoot) && processedEntries.add(snapshot.getAbsolutePath())) {
                visitAcceptedEntry(snapshot, isRoot);
            }
            return SnapshotVisitResult.CONTINUE;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/mvs/graph.go

    	g := &Graph{
    		cmp:      cmp,
    		roots:    slices.Clip(roots),
    		required: make(map[module.Version][]module.Version),
    		isRoot:   make(map[module.Version]bool),
    		selected: make(map[string]string),
    	}
    
    	for _, m := range roots {
    		g.isRoot[m] = true
    		if g.cmp(m.Path, g.Selected(m.Path), m.Version) < 0 {
    			g.selected[m.Path] = m.Version
    		}
    	}
    
    	return g
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/SnapshotVisitorUtil.groovy

            snapshot.accept(new RootTrackingFileSystemSnapshotHierarchyVisitor() {
                @Override
                SnapshotVisitResult visitEntry(FileSystemLocationSnapshot entrySnapshot, boolean isRoot) {
                    if (includeRoots || !isRoot) {
                        absolutePaths << entrySnapshot.absolutePath
                    }
                    CONTINUE
                }
            })
            return absolutePaths
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/BaseFilePropertyVisitState.java

            this.name = snapshot.getName();
            this.hash = fingerprint.getNormalizedContentHash();
    
            boolean isRoot = depth == 0;
            if (isRoot) {
                preRoot();
            }
    
            file();
    
            if (isRoot) {
                postRoot();
            }
            return SnapshotVisitResult.CONTINUE;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/RelativePathParser.java

            String currentName = currentPath.substring(sizeOfCommonPrefix + 1);
            if (directory) {
                directoryPaths.addLast(currentPath);
                directoryNames.addLast(currentName);
            }
            return isRoot();
        }
    
        private boolean exitDirectory(Runnable exitDirectoryHandler) {
            if (directoryPaths.pollLast() == null) {
                return true;
            }
            if (directoryNames.pollLast() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FilteredTrackingMerkleDirectorySnapshotBuilder.java

                    @Override
                    public SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot) {
                        if (isRoot) {
                            return SnapshotVisitResult.CONTINUE;
                        } else {
                            unfilteredSnapshotRecorder.accept(snapshot);
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    func (t Tag) MayHaveExtensions() bool {
    	return t.full != nil ||
    		int(t.language) >= len(coreTags) ||
    		t.language != t.locale
    }
    
    // IsRoot returns true if t is equal to language "und".
    func (t Tag) IsRoot() bool {
    	if t.full != nil {
    		return t.full.IsRoot()
    	}
    	return t.language == _und
    }
    
    // Parent returns the CLDR parent of t. In CLDR, missing fields in data for a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top