Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 662 for walkFn (0.43 sec)

  1. src/cmd/compile/internal/walk/walk.go

    const tmpstringbufsize = 32
    
    func Walk(fn *ir.Func) {
    	ir.CurFunc = fn
    	errorsBefore := base.Errors()
    	order(fn)
    	if base.Errors() > errorsBefore {
    		return
    	}
    
    	if base.Flag.W != 0 {
    		s := fmt.Sprintf("\nbefore walk %v", ir.CurFunc.Sym())
    		ir.DumpList(s, ir.CurFunc.Body)
    	}
    
    	walkStmtList(ir.CurFunc.Body)
    	if base.Flag.W != 0 {
    		s := fmt.Sprintf("after walk %v", ir.CurFunc.Sym())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadataWalker.java

            return new AbstractTypeMetadataWalker.InstanceTypeMetadataWalker(typeMetadataStore, nestedAnnotation);
        }
    
        /**
         * A factory method for a walker that can visit property hierarchy declared by a type.
         *
         * Type walker can detect a nested property cycle and stop walking the path with a cycle, no exception is thrown.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. cmd/metacache-walk.go

    			return nil
    		}
    
    		if s.walkMu != nil {
    			s.walkMu.Lock()
    		}
    		entries, err := s.ListDir(ctx, "", opts.Bucket, current, -1)
    		if s.walkMu != nil {
    			s.walkMu.Unlock()
    		}
    		if err != nil {
    			// Folder could have gone away in-between
    			if err != errVolumeNotFound && err != errFileNotFound {
    				internalLogOnceIf(ctx, err, "metacache-walk-scan-dir")
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/go/ast/walk.go

    		if n.Elt != nil {
    			Walk(v, n.Elt)
    		}
    
    	case *FuncLit:
    		Walk(v, n.Type)
    		Walk(v, n.Body)
    
    	case *CompositeLit:
    		if n.Type != nil {
    			Walk(v, n.Type)
    		}
    		walkList(v, n.Elts)
    
    	case *ParenExpr:
    		Walk(v, n.X)
    
    	case *SelectorExpr:
    		Walk(v, n.X)
    		Walk(v, n.Sel)
    
    	case *IndexExpr:
    		Walk(v, n.X)
    		Walk(v, n.Index)
    
    	case *IndexListExpr:
    		Walk(v, n.X)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/stmt.go

    	call.Fun = walkExpr(call.Fun, &init)
    
    	if len(init) > 0 {
    		init.Append(n)
    		return ir.NewBlockStmt(n.Pos(), init)
    	}
    	return n
    }
    
    // walkIf walks an OIF node.
    func walkIf(n *ir.IfStmt) ir.Node {
    	n.Cond = walkExpr(n.Cond, n.PtrInit())
    	walkStmtList(n.Body)
    	walkStmtList(n.Else)
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. test/fixedbugs/issue46304.go

    	_q    [20]uint64
    	plist []P
    }
    
    type P struct {
    	tag string
    	_x  [10]uint64
    	b   bool
    }
    
    type M int
    
    //go:noinline
    func (w *M) walkP(p *P) *P {
    	np := &P{}
    	*np = *p
    	np.tag += "new"
    	return np
    }
    
    func (w *M) walkOp(op *Op) *Op {
    	if op == nil {
    		return nil
    	}
    
    	orig := op
    	cloned := false
    	clone := func() {
    		if !cloned {
    			cloned = true
    			op = &Op{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 22 00:51:17 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/expr.go

    			ir.CurFunc.SetHasDefer(true)
    			ir.CurFunc.SetOpenCodedDeferDisallowed(true)
    		}
    	}
    
    	walkCall1(n, init)
    	return n
    }
    
    func walkCall1(n *ir.CallExpr, init *ir.Nodes) {
    	if n.Walked() {
    		return // already walked
    	}
    	n.SetWalked(true)
    
    	if n.Op() == ir.OCALLMETH {
    		base.FatalfAt(n.Pos(), "OCALLMETH missed by typecheck")
    	}
    
    	args := n.Args
    	params := n.Fun.Type().Params()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

        def "type walker should correctly visit empty type"() {
            given:
            def visitor = new TestStaticMetadataVisitor()
    
            when:
            TypeMetadataWalker.typeWalker(typeMetadataStore, TestNested.class).walk(TypeToken.of(MyEmptyTask), visitor)
    
            then:
            visitor.all == ["null::MyEmptyTask"]
        }
    
        def "instance walker should correctly visit instance with null values"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

                        if (visitingNodes.containsEntry(successor, currentSegment)) {
                            if (!walkedShouldRunAfterEdges.isEmpty()) {
                                //remove the last walked should run after edge and restore state from before walking it
                                GraphEdge toBeRemoved = walkedShouldRunAfterEdges.pop();
                                // Should run after edges only exist between tasks, so this cast is safe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

        @Rule
        SetSystemProperties setSystemPropertiesRule
    
        protected abstract List<T> getWalkers()
    
        def "basic directory walking works - walker: #walkerInstance.class.simpleName"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def rootTextFile = rootDir.file("a.txt").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top