- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CountRunes (0.11 sec)
-
src/cmd/internal/goobj/builtinlist.go
{"runtime.slicebytetostringtmp", 1}, {"runtime.slicerunetostring", 1}, {"runtime.stringtoslicebyte", 1}, {"runtime.stringtoslicerune", 1}, {"runtime.slicecopy", 1}, {"runtime.decoderune", 1}, {"runtime.countrunes", 1}, {"runtime.convT", 1}, {"runtime.convTnoptr", 1}, {"runtime.convT16", 1}, {"runtime.convT32", 1}, {"runtime.convT64", 1}, {"runtime.convTstring", 1}, {"runtime.convTslice", 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
func stringtoslicerune(*[32]rune, string) []rune func slicecopy(toPtr *any, toLen int, fromPtr *any, fromLen int, wid uintptr) int func decoderune(string, int) (retv rune, retk int) func countrunes(string) int // Convert non-interface type to the data word of a (empty or nonempty) interface. func convT(typ *byte, elem *any) unsafe.Pointer // Same as convT, for types with no pointers in them.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
} // walkLenCap walks an OLEN or OCAP node. func walkLenCap(n *ir.UnaryExpr, init *ir.Nodes) ir.Node { if isRuneCount(n) { // Replace len([]rune(string)) with runtime.countrunes(string). return mkcall("countrunes", n.Type(), init, typecheck.Conv(n.X.(*ir.ConvExpr).X, types.Types[types.TSTRING])) } if isByteCount(n) { conv := n.X.(*ir.ConvExpr) walkStmtList(conv.Init())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"slicebytetostringtmp", funcTag, 45}, {"slicerunetostring", funcTag, 48}, {"stringtoslicebyte", funcTag, 50}, {"stringtoslicerune", funcTag, 53}, {"slicecopy", funcTag, 54}, {"decoderune", funcTag, 55}, {"countrunes", funcTag, 56}, {"convT", funcTag, 57}, {"convTnoptr", funcTag, 57}, {"convT16", funcTag, 59}, {"convT32", funcTag, 61}, {"convT64", funcTag, 62}, {"convTstring", funcTag, 63}, {"convTslice", funcTag, 66},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/order.go
ir.OMAX, ir.OMIN, ir.ONEW, ir.OREAL, ir.ORECOVERFP, ir.OSTR2BYTES, ir.OSTR2BYTESTMP, ir.OSTR2RUNES: if isRuneCount(n) { // len([]rune(s)) is rewritten to runtime.countrunes(s) later. conv := n.(*ir.UnaryExpr).X.(*ir.ConvExpr) conv.X = o.expr(conv.X, nil) } else { o.call(n) } if lhs == nil || lhs.Op() != ir.ONAME || base.Flag.Cfg.Instrumenting {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:33 UTC 2024 - 42.7K bytes - Viewed (0)