Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for rootsOf (0.65 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/WatchedHierarchiesTest.groovy

            ]))
            then:
            rootsOf(watched) == [parent.absolutePath]
            1 * watchable.stream() >> Stream.of(parent, child, grandchild)
        }
    
        private static List<String> rootsOf(FileHierarchySet set) {
            def roots = []
            set.visitRoots((root -> roots.add(root)))
            return roots
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/FileHierarchySetTest.groovy

            def commonDir3 = parent.createDir("common/dir3")
    
            expect:
            rootsOf(from()) == []
            rootsOf(from(dir1)) == [dir1.absolutePath]
            rootsOf(from(dir1, dir1Child)) == [dir1.absolutePath]
            rootsOf(from(commonDir2)) == [commonDir2.absolutePath]
            rootsOf(from(dir1, commonDir2, commonDir3)) == [dir1.absolutePath, commonDir2.absolutePath, commonDir3.absolutePath]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/operations/trace/BuildOperationTree.java

        public final List<BuildOperationRecord> roots;
        public final Map<Long, BuildOperationRecord> records;
    
        BuildOperationTree(List<BuildOperationRecord> roots) {
            ImmutableMap.Builder<Long, BuildOperationRecord> records = ImmutableMap.builder();
            for (BuildOperationRecord record : roots) {
                visit(records, record);
            }
            this.roots = BuildOperationRecord.ORDERING.immutableSortedCopy(roots);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 07 09:24:42 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java

        private final FileSystemSnapshot roots;
        private final ImmutableMultimap<String, HashCode> rootHashes;
        private final HashCode strategyConfigurationHash;
        private HashCode hash;
    
        public static CurrentFileCollectionFingerprint from(FileSystemSnapshot roots, FingerprintingStrategy strategy, @Nullable  FileCollectionFingerprint candidate) {
            if (roots == FileSystemSnapshot.EMPTY) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/refs.go

    func PopulateRefs(schemaOf func(ref string) (*spec.Schema, bool), rootRef string) (*spec.Schema, error) {
    	visitedRefs := sets.New[string]()
    	rootSchema, ok := schemaOf(rootRef)
    	visitedRefs.Insert(rootRef)
    	if !ok {
    		return nil, fmt.Errorf("internal error: cannot resolve Ref for root schema %q: %w", rootRef, ErrSchemaNotFound)
    	}
    	return populateRefs(schemaOf, visitedRefs, rootSchema)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/crypto/x509/root_plan9.go

    }
    
    func loadSystemRoots() (*CertPool, error) {
    	roots := NewCertPool()
    	var bestErr error
    	for _, file := range certFiles {
    		data, err := os.ReadFile(file)
    		if err == nil {
    			roots.AppendCertsFromPEM(data)
    			return roots, nil
    		}
    		if bestErr == nil || (os.IsNotExist(bestErr) && !os.IsNotExist(err)) {
    			bestErr = err
    		}
    	}
    	if bestErr == nil {
    		return roots, nil
    	}
    	return nil, bestErr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 828 bytes
    - Viewed (0)
  7. src/time/zoneinfo_ios.go

    	// keep zoneinfo.zip for tethered iOS builds.
    	// For self-hosted iOS builds, the zoneinfo.zip is in GOROOT.
    	var roots []string
    	if goroot != "" {
    		roots = append(roots, goroot+"/lib/time")
    	}
    	wd, err := syscall.Getwd()
    	if err == nil {
    		roots = append(roots, wd)
    	}
    	for _, r := range roots {
    		var st syscall.Stat_t
    		fd, err := syscall.Open(r, syscall.O_RDONLY, 0)
    		if err != nil {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. src/crypto/x509/name_constraints_test.go

    	},
    
    	// #14: roots can exclude subtrees and that doesn't affect other names.
    	{
    		roots: []constraintsSpec{
    			{
    				bad: []string{"dns:.example.com"},
    			},
    		},
    		intermediates: [][]constraintsSpec{
    			{
    				{},
    			},
    		},
    		leaf: leafSpec{
    			sans: []string{"dns:foo.com"},
    		},
    	},
    
    	// #15: roots exclusions are effective.
    	{
    		roots: []constraintsSpec{
    			{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. src/crypto/x509/root_unix.go

    				firstErr = err
    			}
    			continue
    		}
    		for _, fi := range fis {
    			data, err := os.ReadFile(directory + "/" + fi.Name())
    			if err == nil {
    				roots.AppendCertsFromPEM(data)
    			}
    		}
    	}
    
    	if roots.len() > 0 || firstErr == nil {
    		return roots, nil
    	}
    
    	return nil, firstErr
    }
    
    // readUniqueDirectoryEntries is like os.ReadDir but omits
    // symlinks that point within the directory.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/buildlist.go

    	drop := make(map[string]bool)
    	for _, m := range replace {
    		drop[m.Path] = true
    	}
    	var roots []module.Version
    	for _, m := range rs.rootModules {
    		if !drop[m.Path] {
    			roots = append(roots, m)
    		}
    	}
    	roots = append(roots, replace...)
    	gover.ModSort(roots)
    	return newRequirements(rs.pruning, roots, rs.direct)
    }
    
    // A ConstraintError describes inconsistent constraints in EditBuildList
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top