Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rootNode (0.22 sec)

  1. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

            private final Node rootNode;
    
            PrefixFileSet(File rootDir) {
                this(toAbsolutePath(rootDir));
            }
    
            PrefixFileSet(String rootPath) {
                String path = removeTrailingSeparator(rootPath);
                this.rootNode = new Node(path);
            }
    
            PrefixFileSet(Node rootNode) {
                this.rootNode = rootNode;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/StreamingResolutionResultBuilderTest.groovy

            false
        )
    
        def "result can be read multiple times"() {
            def rootNode = rootNode(1, "org", "root", "1.0")
            builder.start(rootNode)
            builder.visitNode(rootNode)
            builder.finish(rootNode)
    
            when:
            def result = builder.getResolutionResult([] as Set)
    
            then:
            with(result.rootSource.get()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

            def rootNode = Mock(FileSystemNode)
            def hierarchy = DefaultSnapshotHierarchy.from(rootNode, CASE_SENSITIVE)
    
            when:
            def hasDescendants = hierarchy.hasDescendantsUnder("/")
            then:
            hasDescendants
            1 * rootNode.hasDescendants() >> true
            0 * _
        }
    
        def 'rootSnapshotsUnder can stream the root'() {
            def rootNode = Mock(FileSystemNode)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/LibrariesSourceGenerator.java

            entryPointsConsumer.accept(new EntryPoints(
                toClassNode(libraries, rootNode(AccessorKind.library)),
                toClassNode(versions, rootNode(AccessorKind.version, "versions")).parent,
                toClassNode(bundles, rootNode(AccessorKind.bundle, "bundles")).parent,
                toClassNode(plugins, rootNode(AccessorKind.plugin, "plugins")).parent
            ));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 36K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ResolveState.java

        private final Map<ModuleIdentifier, ModuleResolveState> modules;
        private final Map<NodeIdentifier, NodeState> nodes;
        private final Map<SelectorCacheKey, SelectorState> selectors;
        private final RootNode root;
        private final ComponentIdGenerator idGenerator;
        private final DependencyToComponentIdResolver idResolver;
        private final ComponentMetaDataResolver metaDataResolver;
        private final Deque<NodeState> queue;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/select.go

    	if pathOnly {
    		base.Fatalf("cannot find %q in PATH", gotoolchain)
    	}
    
    	// Set up modules without an explicit go.mod, to download distribution.
    	modload.Reset()
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.Init()
    
    	// Download and unpack toolchain module into module cache.
    	// Note that multiple go commands might be doing this at the same time,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/vendor.go

    }
    
    func RunVendor(ctx context.Context, vendorE bool, vendorO string, args []string) {
    	if len(args) != 0 {
    		base.Fatalf("go: 'go mod vendor' accepts no arguments")
    	}
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	loadOpts := modload.PackageOpts{
    		Tags:                     imports.AnyTags(),
    		VendorModulesInGOROOTSrc: true,
    		ResolveMissingImports:    true,
    		UseVendorAll:             true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/build.go

    // in the current directory or parent directories.
    //
    // See golang.org/issue/40276 for details and rationale.
    func installOutsideModule(ctx context.Context, args []string) {
    	modload.ForceUseModules = true
    	modload.RootMode = modload.NoRoot
    	modload.AllowMissingModuleImports()
    	modload.Init()
    	BuildInit()
    
    	// Load packages. Ignore non-main packages.
    	// Print a warning if an argument contains "..." and matches no main packages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top