Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for concatstring2 (0.25 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.printslice", 1},
    	{"runtime.printnl", 1},
    	{"runtime.printsp", 1},
    	{"runtime.printlock", 1},
    	{"runtime.printunlock", 1},
    	{"runtime.concatstring2", 1},
    	{"runtime.concatstring3", 1},
    	{"runtime.concatstring4", 1},
    	{"runtime.concatstring5", 1},
    	{"runtime.concatstrings", 1},
    	{"runtime.cmpstring", 1},
    	{"runtime.intstring", 1},
    	{"runtime.slicebytetostring", 1},
    	{"runtime.slicebytetostringtmp", 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)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func printnl()
    func printsp()
    func printlock()
    func printunlock()
    
    func concatstring2(*[32]byte, string, string) string
    func concatstring3(*[32]byte, string, string, string) string
    func concatstring4(*[32]byte, string, string, string, string) string
    func concatstring5(*[32]byte, string, string, string, string, string) string
    func concatstrings(*[32]byte, []string) string
    
    func cmpstring(string, string) int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/runtime/string.go

    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    func concatstring5(buf *tmpBuf, a0, a1, a2, a3, a4 string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"printslice", funcTag, 30},
    	{"printnl", funcTag, 9},
    	{"printsp", funcTag, 9},
    	{"printlock", funcTag, 9},
    	{"printunlock", funcTag, 9},
    	{"concatstring2", funcTag, 34},
    	{"concatstring3", funcTag, 35},
    	{"concatstring4", funcTag, 36},
    	{"concatstring5", funcTag, 37},
    	{"concatstrings", funcTag, 39},
    	{"cmpstring", funcTag, 40},
    	{"intstring", funcTag, 43},
    	{"slicebytetostring", funcTag, 44},
    	{"slicebytetostringtmp", funcTag, 45},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/expr.go

    	var fn string
    	if c <= 5 {
    		// small numbers of strings use direct runtime helpers.
    		// note: order.expr knows this cutoff too.
    		fn = fmt.Sprintf("concatstring%d", c)
    	} else {
    		// large numbers of strings are passed to the runtime as a slice.
    		fn = "concatstrings"
    
    		t := types.NewSlice(types.Types[types.TSTRING])
    		// args[1:] to skip buf arg
    		slice := ir.NewCompLitExpr(base.Pos, ir.OCOMPLIT, t, args[1:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. test/live.go

    	printnl()
    }
    
    //go:noescape
    func call27(func())
    
    // concatstring slice should die on return
    
    var s1, s2, s3, s4, s5, s6, s7, s8, s9, s10 string
    
    func f28(b bool) {
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  7. test/live_regabi.go

    	printnl()
    }
    
    //go:noescape
    func call27(func())
    
    // concatstring slice should die on return
    
    var s1, s2, s3, s4, s5, s6, s7, s8, s9, s10 string
    
    func f28(b bool) {
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/order.go

    		// memorize the strings for later use, so it is safe.
    		// However, we can do it only if there is at least one non-empty string literal.
    		// Otherwise if all other arguments are empty strings,
    		// concatstrings will return the reference to the temp string
    		// to the caller.
    		hasbyte := false
    
    		haslit := false
    		for _, n1 := range n.List {
    			hasbyte = hasbyte || n1.Op() == ir.OBYTES2STR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top