Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for indexByteString (0.21 sec)

  1. src/runtime/traceback.go

    // concatenation.
    func funcNamePiecesForPrint(name string) (string, string, string) {
    	// Replace the shape name in generic function with "...".
    	i := bytealg.IndexByteString(name, '[')
    	if i < 0 {
    		return name, "", ""
    	}
    	j := len(name) - 1
    	for name[j] != ']' {
    		j--
    	}
    	if j <= i {
    		return name, "", ""
    	}
    	return name[:i], "[...]", name[j+1:]
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top