Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 323 for walkFn (0.23 sec)

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

         */
        Stream<FileSystemLocationSnapshot> roots();
    
        /**
         * Walks the whole hierarchy represented by this snapshot.
         *
         * The walk is depth first.
         */
        SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor);
    
        /**
         * Walks the whole hierarchy represented by this snapshot.
         *
         * The walk is depth first.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy

                    generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator)
                }
            }
        }
    
        def "file walker sees a snapshot of file metadata even if files are deleted after walking has started"() {
            given:
            def rootDir = tmpDir.createDir("root")
            long minimumTimestamp = (System.currentTimeMillis() / 1000 * 1000) - 2000
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/tests/walking-dependency-graph.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 106 bytes
    - Viewed (0)
  4. src/reflect/visiblefields.go

    	visiting map[Type]bool
    	fields   []StructField
    	index    []int
    }
    
    // walk walks all the fields in the struct type t, visiting
    // fields in index preorder and appending them to w.fields
    // (this maintains the required ordering).
    // Fields that have been overridden have their
    // Name field cleared.
    func (w *visibleFieldsWalker) walk(t Type) {
    	if w.visiting[t] {
    		return
    	}
    	w.visiting[t] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 26 14:24:17 UTC 2021
    - 3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/TypesTest.groovy

            Object doSomething() { null }
        }
    
        interface Iface {}
    
        class Child extends Base implements Serializable, Iface {
            @Nullable
            Object doSomething() { null }
        }
    
        def "walking type hierarchy happens breadth-first"() {
            def visitor = Mock(Types.TypeVisitor)
            when:
            Types.walkTypeHierarchy(Child, [Object, GroovyObject], visitor)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 06 15:03:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ir/mini.go

    const (
    	miniTypecheckShift = 0
    	miniWalked         = 1 << 2 // to prevent/catch re-walking
    )
    
    func (n *miniNode) Typecheck() uint8 { return n.bits.get2(miniTypecheckShift) }
    func (n *miniNode) SetTypecheck(x uint8) {
    	if x > 2 {
    		panic(fmt.Sprintf("cannot SetTypecheck %d", x))
    	}
    	n.bits.set2(miniTypecheckShift, x)
    }
    
    func (n *miniNode) Walked() bool     { return n.bits&miniWalked != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 31 22:09:44 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/DefaultPropertyWalker.java

        private final InstanceMetadataWalker walker;
        private final ImplementationResolver implementationResolver;
        private final Map<Class<? extends Annotation>, PropertyAnnotationHandler> handlers;
    
        public DefaultPropertyWalker(TypeMetadataStore typeMetadataStore, ImplementationResolver implementationResolver, Collection<PropertyAnnotationHandler> propertyHandlers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.h

    #include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h"
    
    namespace mlir {
    namespace TFTPU {
    
    // For each TPU cluster in `module`, walk over all ops inside the cluster
    // and reachable in the call graph from the cluster.
    // For each op walked, `callback` is applied to the op, the root cluster, and
    // the root cluster's host device. `callback` returning WasInterrupted
    // indicates failure.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/doc/dirs.go

    	if !ok {
    		return Dir{}, false
    	}
    	d.hist = append(d.hist, dir)
    	d.offset++
    	return dir, ok
    }
    
    // walk walks the trees in GOROOT and GOPATH.
    func (d *Dirs) walk(roots []Dir) {
    	for _, root := range roots {
    		d.bfsWalkRoot(root)
    	}
    	close(d.scan)
    }
    
    // bfsWalkRoot walks a single directory hierarchy in breadth-first lexical order.
    // Each Go source directory it finds is delivered on d.scan.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. cmd/preferredimports/preferredimports.go

    	if err != nil {
    		log.Fatalf("Error compiling regex: %v", err)
    	}
    	c := collector{regex: regex}
    	for _, arg := range args {
    		err := filepath.Walk(arg, c.handlePath)
    		if err != nil {
    			log.Fatalf("Error walking: %v", err)
    		}
    	}
    	sort.Strings(c.dirs)
    
    	if len(*importAliases) > 0 {
    		bytes, err := os.ReadFile(*importAliases)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top