strings.Builder.WriteString (method, view implemented interface methods)
128 uses
strings (current package)
builder.go#L114: func (b *Builder) WriteString(s string) (int, error) {
replace.go#L399: buf.WriteString(s[i : i+match])
replace.go#L400: buf.WriteString(r.value)
replace.go#L406: buf.WriteString(s[i:])
strings.go#L458: b.WriteString(elems[0])
strings.go#L460: b.WriteString(sep)
strings.go#L461: b.WriteString(s)
strings.go#L505: b.WriteString(s[:i])
strings.go#L586: b.WriteString(s)
strings.go#L595: b.WriteString(b.String()[:chunk])
strings.go#L626: b.WriteString(s[pos:i])
strings.go#L633: b.WriteString(s[pos:])
strings.go#L666: b.WriteString(s[pos:i])
strings.go#L673: b.WriteString(s[pos:])
strings.go#L715: b.WriteString(s[:i])
strings.go#L740: b.WriteString(replacement)
strings.go#L745: b.WriteString(s[i : i+wid])
strings.go#L1091: b.WriteString(s[start:j])
strings.go#L1092: b.WriteString(new)
strings.go#L1095: b.WriteString(s[start:])
flag
flag.go#L614: b.WriteString(" ")
flag.go#L615: b.WriteString(name)
flag.go#L620: b.WriteString("\t")
flag.go#L624: b.WriteString("\n \t")
flag.go#L626: b.WriteString(strings.ReplaceAll(usage, "\n", "\n \t"))
github.com/gotd/td/tdp
tdp.go#L43: b.WriteString(base64.RawURLEncoding.EncodeToString(buf))
tdp.go#L50: b.WriteString(prefix)
tdp.go#L51: b.WriteString(defaultIdent)
tdp.go#L52: b.WriteString("- ")
tdp.go#L65: b.WriteString(time.Unix(i, 0).UTC().Format(time.RFC3339))
tdp.go#L67: b.WriteString(strconv.FormatInt(i, 10))
tdp.go#L70: b.WriteString(fmt.Sprint(v.Interface()))
tdp.go#L77: b.WriteString("<nil>")
tdp.go#L82: b.WriteString(info.Name)
tdp.go#L85: b.WriteString(strconv.FormatInt(int64(info.ID), 16))
tdp.go#L88: b.WriteString("(nil)")
tdp.go#L103: b.WriteString(prefix)
tdp.go#L104: b.WriteString(defaultIdent)
tdp.go#L105: b.WriteString(f.SchemaName)
tdp.go#L106: b.WriteString(": ")
mime
encodedword.go#L161: buf.WriteString("=?")
encodedword.go#L162: buf.WriteString(charset)
encodedword.go#L170: buf.WriteString("?=")
encodedword.go#L239: buf.WriteString(header[:i])
encodedword.go#L278: buf.WriteString(header[:start+2])
encodedword.go#L286: buf.WriteString(header[:start])
encodedword.go#L298: buf.WriteString(header)
mediatype.go#L26: b.WriteString(strings.ToLower(t))
mediatype.go#L31: b.WriteString(strings.ToLower(major))
mediatype.go#L33: b.WriteString(strings.ToLower(sub))
mediatype.go#L49: b.WriteString(strings.ToLower(attribute))
mediatype.go#L59: b.WriteString("utf-8''")
mediatype.go#L70: b.WriteString(value[offset:index])
mediatype.go#L78: b.WriteString(value[offset:])
mediatype.go#L83: b.WriteString(value)
mediatype.go#L92: b.WriteString(value[offset:index])
mediatype.go#L97: b.WriteString(value[offset:])
mediatype.go#L209: buf.WriteString(v)
mediatype.go#L220: buf.WriteString(decv)
mediatype.go#L224: buf.WriteString(decv)
net/http
cookie.go#L188: b.WriteString(c.Name)
cookie.go#L190: b.WriteString(sanitizeCookieValue(c.Value))
cookie.go#L193: b.WriteString("; Path=")
cookie.go#L194: b.WriteString(sanitizeCookiePath(c.Path))
cookie.go#L206: b.WriteString("; Domain=")
cookie.go#L207: b.WriteString(d)
cookie.go#L214: b.WriteString("; Expires=")
cookie.go#L218: b.WriteString("; Max-Age=")
cookie.go#L221: b.WriteString("; Max-Age=0")
cookie.go#L224: b.WriteString("; HttpOnly")
cookie.go#L227: b.WriteString("; Secure")
cookie.go#L233: b.WriteString("; SameSite=None")
cookie.go#L235: b.WriteString("; SameSite=Lax")
cookie.go#L237: b.WriteString("; SameSite=Strict")
net/url
url.go#L811: buf.WriteString(u.Scheme)
url.go#L815: buf.WriteString(u.Opaque)
url.go#L822: buf.WriteString("//")
url.go#L825: buf.WriteString(ui.String())
url.go#L829: buf.WriteString(escape(h, encodeHost))
url.go#L845: buf.WriteString("./")
url.go#L848: buf.WriteString(path)
url.go#L852: buf.WriteString(u.RawQuery)
url.go#L856: buf.WriteString(u.EscapedFragment())
url.go#L982: buf.WriteString(keyEscaped)
url.go#L984: buf.WriteString(QueryEscape(v))
url.go#L1033: dst.WriteString(str[:index])
url.go#L1039: dst.WriteString(elem)
regexp/syntax
prog.go#L292: b.WriteString(s)
prog.go#L301: b.WriteString(" "[len(pc):])
regexp.go#L119: b.WriteString("<invalid op" + strconv.Itoa(int(re.Op)) + ">")
regexp.go#L121: b.WriteString(`[^\x00-\x{10FFFF}]`)
regexp.go#L123: b.WriteString(`(?:)`)
regexp.go#L126: b.WriteString(`(?i:`)
regexp.go#L132: b.WriteString(`)`)
regexp.go#L136: b.WriteString(`[invalid char class]`)
regexp.go#L141: b.WriteString(`^\x00-\x{10FFFF}`)
regexp.go#L166: b.WriteString(`(?-s:.)`)
regexp.go#L168: b.WriteString(`(?s:.)`)
regexp.go#L170: b.WriteString(`(?m:^)`)
regexp.go#L172: b.WriteString(`(?m:$)`)
regexp.go#L174: b.WriteString(`\A`)
regexp.go#L177: b.WriteString(`(?-m:$)`)
regexp.go#L179: b.WriteString(`\z`)
regexp.go#L182: b.WriteString(`\b`)
regexp.go#L184: b.WriteString(`\B`)
regexp.go#L187: b.WriteString(`(?P<`)
regexp.go#L188: b.WriteString(re.Name)
regexp.go#L199: b.WriteString(`(?:`)
regexp.go#L201: b.WriteString(`)`)
regexp.go#L214: b.WriteString(strconv.Itoa(re.Min))
regexp.go#L218: b.WriteString(strconv.Itoa(re.Max))
regexp.go#L229: b.WriteString(`(?:`)
regexp.go#L231: b.WriteString(`)`)
regexp.go#L265: b.WriteString(`\a`)
regexp.go#L267: b.WriteString(`\f`)
regexp.go#L269: b.WriteString(`\n`)
regexp.go#L271: b.WriteString(`\r`)
regexp.go#L273: b.WriteString(`\t`)
regexp.go#L275: b.WriteString(`\v`)
regexp.go#L278: b.WriteString(`\x`)
regexp.go#L283: b.WriteString(s)
regexp.go#L286: b.WriteString(`\x{`)
regexp.go#L287: b.WriteString(strconv.FormatInt(int64(r), 16))
regexp.go#L288: b.WriteString(`}`)
runtime/debug
mod.go#L114: buf.WriteString(word)
mod.go#L116: buf.WriteString(m.Path)
mod.go#L118: buf.WriteString(m.Version)
mod.go#L121: buf.WriteString(m.Sum)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |