func internal/stringslite.Clone
13 uses
internal/stringslite (current package)
strings.go#L143: func Clone(s string) string {
strconv
atoc.go#L16: x.Num = stringslite.Clone(s)
atoi.go#L48: return &NumError{fn, stringslite.Clone(str), ErrSyntax}
atoi.go#L52: return &NumError{fn, stringslite.Clone(str), ErrRange}
atoi.go#L56: return &NumError{fn, stringslite.Clone(str), errors.New("invalid base " + Itoa(base))}
atoi.go#L60: return &NumError{fn, stringslite.Clone(str), errors.New("invalid bit size " + Itoa(bitSize))}
atoi.go#L219: err.(*NumError).Num = stringslite.Clone(s0)
strings
clone.go#L22: return stringslite.Clone(s)
time
format.go#L848: valueCopy := stringslite.Clone(value)
format.go#L849: valueElemCopy := stringslite.Clone(valueElem)
format.go#L1399: zoneNameCopy := stringslite.Clone(zoneName) // avoid leaking the input value
format.go#L1420: zoneNameCopy := stringslite.Clone(zoneName) // avoid leaking the input value
unique
clone.go#L24: *ps = stringslite.Clone(*ps)
![]() |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |