Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 662 for walkFn (0.19 sec)

  1. src/go/parser/resolver.go

    				} else {
    					ast.Walk(r, kv.Key)
    				}
    				ast.Walk(r, kv.Value)
    			} else {
    				ast.Walk(r, e)
    			}
    		}
    
    	case *ast.InterfaceType:
    		r.openScope(n.Pos())
    		defer r.closeScope()
    		r.walkFieldList(n.Methods, ast.Fun)
    
    	// Statements
    	case *ast.LabeledStmt:
    		r.declare(n, nil, r.labelScope, ast.Lbl, n.Label)
    		ast.Walk(r, n.Stmt)
    
    	case *ast.AssignStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/path/filepath/example_unix_walk_test.go

    		}
    		fmt.Printf("visited file or dir: %q\n", path)
    		return nil
    	})
    	if err != nil {
    		fmt.Printf("error walking the path %q: %v\n", tmpDir, err)
    		return
    	}
    	// Output:
    	// On Unix:
    	// visited file or dir: "."
    	// visited file or dir: "dir"
    	// visited file or dir: "dir/to"
    	// visited file or dir: "dir/to/walk"
    	// skipping a dir without errors: skip
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top