Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for walkStringToBytesTemp (0.18 sec)

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

    	}
    	// stringtoslicebyte(*32[byte], string) []byte
    	return mkcall("stringtoslicebyte", n.Type(), init, a, typecheck.Conv(s, types.Types[types.TSTRING]))
    }
    
    // walkStringToBytesTemp walks an OSTR2BYTESTMP node.
    func walkStringToBytesTemp(n *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	// []byte(string) conversion that creates a slice
    	// referring to the actual string bytes.
    	// This conversion is handled later by the backend and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    		return walkBytesToStringTemp(n, init)
    
    	case ir.OSTR2BYTES:
    		n := n.(*ir.ConvExpr)
    		return walkStringToBytes(n, init)
    
    	case ir.OSTR2BYTESTMP:
    		n := n.(*ir.ConvExpr)
    		return walkStringToBytesTemp(n, init)
    
    	case ir.OSTR2RUNES:
    		n := n.(*ir.ConvExpr)
    		return walkStringToRunes(n, init)
    
    	case ir.OARRAYLIT, ir.OSLICELIT, ir.OMAPLIT, ir.OSTRUCTLIT, ir.OPTRLIT:
    		return walkCompLit(n, init)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top