Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 599 for walkFn (0.19 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/cmd/compile/internal/walk/convert.go

    	// pointers, usually for alignment."
    	var originals []ir.Node
    	var walk func(n ir.Node)
    	walk = func(n ir.Node) {
    		switch n.Op() {
    		case ir.OADD:
    			n := n.(*ir.BinaryExpr)
    			walk(n.X)
    			walk(n.Y)
    		case ir.OSUB, ir.OANDNOT:
    			n := n.(*ir.BinaryExpr)
    			walk(n.X)
    		case ir.OCONVNOP:
    			n := n.(*ir.ConvExpr)
    			if n.X.Type().IsUnsafePtr() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K 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. 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)
  10. src/go/types/stdlib_test.go

    	return filenames, nil
    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...any)) {
    	w := walker{pkgh, errh}
    	w.walk(dir)
    }
    
    type walker struct {
    	pkgh func(dir string, filenames []string)
    	errh func(args ...any)
    }
    
    func (w *walker) walk(dir string) {
    	files, err := os.ReadDir(dir)
    	if err != nil {
    		w.errh(err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top