- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DeleteMapRType (2.04 sec)
-
src/cmd/compile/internal/reflectdata/helpers.go
if hasRType(n, n.RType, "RType") { return n.RType } return sliceElemRType(pos, n.X.Type()) } // DeleteMapRType asserts that n is a "delete" operation, and returns // an expression that yields the *runtime._type value representing the // map type. func DeleteMapRType(pos src.XPos, n *ir.CallExpr) ir.Node { assertOp(n, ir.ODELETE) if hasRType(n, n.RType, "RType") { return n.RType }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
map_ = walkExpr(map_, init) key = walkExpr(key, init) t := map_.Type() fast := mapfast(t) key = mapKeyArg(fast, n, key, false) return mkcall1(mapfndel(mapdelete[fast], t), nil, init, reflectdata.DeleteMapRType(base.Pos, n), map_, key) } // walkLenCap walks an OLEN or OCAP node. func walkLenCap(n *ir.UnaryExpr, init *ir.Nodes) ir.Node { if isRuneCount(n) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0)