Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Roots (0.04 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

    import kotlin.io.path.extension
    
    /**
     * Collect source file path as [String] from the given source roots in [compilerConfig].
     *
     * Such source roots are either [KotlinSourceRoot] or [JavaSourceRoot], and thus
     * this util collects all `.kt` and `.java` files under source roots.
     */
    internal fun getSourceFilePaths(
        compilerConfig: CompilerConfiguration,
        includeDirectoryRoot: Boolean = false,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModuleStateModificationListener.kt

        /**
         * The [KtModule]'s properties or references to other modules are being changed.
         *
         * #### Examples
         *
         *  - The name of the module is being changed.
         *  - The module's content roots are being changed, such as adding another source folder to a source module.
         *  - If module A depends on module B and module B is being removed, in addition to the removal event for module B, module A also
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/certs/certlist_test.go

    	certTree, err := certMap.CertTree()
    	t.Logf("cert tree: %v", certTree)
    	if err != nil {
    		t.Errorf("expected no error, but got %v", err)
    	}
    
    	if len(certTree) != 2 {
    		t.Errorf("Expected tree to have 2 roots, got %d", len(certTree))
    	}
    
    	if len(certTree[rootCert]) != 2 {
    		t.Errorf("Expected root to have 2 leaves, got %d", len(certTree[rootCert]))
    	}
    
    	if _, ok := certTree[selfSigned]; !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top