Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for Roots (0.04 sec)

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

        }
    
        public static ImmutableListMultimap<String, HashCode> getRootHashes(FileSystemSnapshot roots) {
            if (roots == FileSystemSnapshot.EMPTY) {
                return ImmutableListMultimap.of();
            }
            ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder();
            roots.accept(snapshot -> {
                builder.put(snapshot.getAbsolutePath(), snapshot.getHash());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. security/pkg/k8s/chiron/utils.go

    		return nil, nil, fmt.Errorf("error when retrieving CA cert: (%v)", err)
    	}
    	// Verify the certificate chain before returning the certificate
    	roots := x509.NewCertPool()
    	if roots == nil {
    		return nil, nil, fmt.Errorf("failed to create cert pool")
    	}
    	if ok := roots.AppendCertsFromPEM(caCert); !ok {
    		return nil, nil, fmt.Errorf("failed to append CA certificate")
    	}
    	intermediates := x509.NewCertPool()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/crypto/x509/verify.go

    		}
    		if opts.Roots != nil && opts.Roots.systemPool {
    			platformChains, err := c.systemVerify(&opts)
    			// If the platform verifier succeeded, or there are no additional
    			// roots, return the platform verifier result. Otherwise, continue
    			// with the Go verifier.
    			if err == nil || opts.Roots.len() == 0 {
    				return platformChains, err
    			}
    		}
    	}
    
    	if opts.Roots == nil {
    		opts.Roots = systemRootsPool()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy

        }
    
        private static FileHierarchySet from(File... roots) {
            from(roots as List)
        }
    
        private static FileHierarchySet from(Iterable<File> roots) {
            def set = FileHierarchySet.empty()
            for (def root : roots) {
                set = set.plus(root)
            }
            return set
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    			Tags:                  tags,
    			ResolveMissingImports: true,
    			SilencePackageErrors:  true,
    		},
    		requirements: rs,
    		listRoots: func(*Requirements) (roots []string) {
    			roots = append(roots, imports...)
    			roots = append(roots, testImports...)
    			return roots
    		},
    	})
    	requirements = loaded.requirements
    
    	if !ExplicitWriteGoMod {
    		if err := commitRequirements(ctx, WriteOpts{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/import.go

    			// shortest to longest. Reverse them now.
    			for i := 0; i < len(mods)/2; i++ {
    				j := len(mods) - 1 - i
    				mods[i], mods[j] = mods[j], mods[i]
    				roots[i], roots[j] = roots[j], roots[i]
    				dirs[i], dirs[j] = dirs[j], dirs[i]
    			}
    			return module.Version{}, "", "", nil, &AmbiguousImportError{importPath: path, Dirs: dirs, Modules: mods}
    		}
    
    		if len(sumErrMods) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

                    roots == []
                }
                with(inputFileProperties.inputArtifact) {
                    hash != null
                    attributes == ['DIRECTORY_SENSITIVITY_DEFAULT', 'FINGERPRINTING_STRATEGY_ABSOLUTE_PATH', 'LINE_ENDING_SENSITIVITY_DEFAULT']
                    with(Iterables.getOnlyElement(roots)) {
                        hash != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy

            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
        }
    
        def "has default roots"() {
            given:
            def supplier = new LinuxInstallationSupplier()
    
            expect:
            supplier.roots.length > 1
        }
    
        def "supplies no installations for non-existing directory"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    			}
    			continue
    		}
    
    		roots = append(roots, r.Mod)
    		if !r.Indirect {
    			direct[r.Mod.Path] = true
    		}
    	}
    	goVersion := gover.FromGoMod(modFile)
    	var toolchain string
    	if addToolchainRoot && modFile.Toolchain != nil {
    		toolchain = modFile.Toolchain.Name
    	}
    	roots = appendGoAndToolchainRoots(roots, goVersion, toolchain, direct)
    	return roots, direct
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationsFixture.groovy

            }
        }
    
        @Override
        List<BuildOperationRecord> getRoots() {
            getTree().roots
        }
    
        List<BuildOperationRecord> getDanglingChildren() {
            new BuildOperationTreeFixture(BuildOperationTrace.readPartialTree(path)).roots.findAll { it.parentId != null }
        }
    
        @Override
        @SuppressWarnings("GrUnnecessaryPublicModifier")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:24 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top