Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for rootsOf (0.25 sec)

  1. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplier.java

        @VisibleForTesting
        final File[] roots;
        private final OperatingSystem os;
    
        @Inject
        public LinuxInstallationSupplier() {
            this(OperatingSystem.current(), new File("/usr/lib/jvm"), new File("/usr/lib64/jvm"), new File("/usr/java"), new File("/usr/local/java"), new File("/opt/java"));
        }
    
        @VisibleForTesting
        LinuxInstallationSupplier(OperatingSystem os, File... roots) {
            this.roots = roots;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/inittask.go

    		ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true)
    	case BuildModeShared:
    		// For a shared library, all packages are roots.
    		var roots []string
    		for _, lib := range ctxt.Library {
    			roots = append(roots, fmt.Sprintf("%s..inittask", objabi.PathToPrefix(lib.Pkg)))
    		}
    		ctxt.mainInittasks = ctxt.inittaskSym(roots, "go:shlib.inittasks")
    		// Make symbol local so multiple plugins don't clobber each other's inittask list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/crypto/x509/root.go

    var x509usefallbackroots = godebug.New("x509usefallbackroots")
    
    // SetFallbackRoots sets the roots to use during certificate verification, if no
    // custom roots are specified and a platform verifier or a system certificate
    // pool is not available (for instance in a container which does not have a root
    // certificate bundle). SetFallbackRoots will panic if roots is nil.
    //
    // SetFallbackRoots may only be called once, if called multiple times it will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

        fun rootSpecOf(value: FileTreeInternal): List<FileTreeSpec> {
            val visitor = FileTreeVisitor()
            value.visitStructure(visitor)
            return visitor.roots
        }
    
        private
        inner class FileTreeVisitor : FileCollectionStructureVisitor {
            var roots = mutableListOf<FileTreeSpec>()
    
            override fun startVisit(source: FileCollectionInternal.Source, fileCollection: FileCollectionInternal): Boolean = when {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy

        List<BuildOperationRecord> getRoots() {
            operations.roots
        }
    
        @Override
        @SuppressWarnings("GrUnnecessaryPublicModifier")
        public <T extends BuildOperationType<?, ?>> BuildOperationRecord root(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll()) {
            def detailsType = BuildOperationTypes.detailsType(type)
            def roots = operations.roots.findAll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:20 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            List<String> roots;
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                roots = prj.getCompileSourceRoots();
            } else if (scope == ProjectScope.TEST) {
                roots = prj.getTestCompileSourceRoots();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
            return roots.stream()
                    .map(Paths::get)
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/CompositeFileSystemSnapshot.java

                default:
                    return new CompositeFileSystemSnapshot(snapshots);
            }
        }
    
        @Override
        public Stream<FileSystemLocationSnapshot> roots() {
            return snapshots.stream()
                .flatMap(FileSystemSnapshot::roots);
        }
    
        @Override
        public SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor) {
            for (FileSystemSnapshot snapshot : snapshots) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top