Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for IsMap (0.3 sec)

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

    		if n := arrayClear(n.X.Pos(), n.X, nil); n != nil {
    			return n
    		}
    		// If n == nil, we are clearing an array which takes zero memory, do nothing.
    		return ir.NewBlockStmt(n.Pos(), nil)
    	case typ.IsMap():
    		return mapClear(n.X, reflectdata.TypePtrAt(n.X.Pos(), n.X.Type()))
    	}
    	panic("unreachable")
    }
    
    // walkClose walks an OCLOSE node.
    func walkClose(n *ir.UnaryExpr, init *ir.Nodes) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top