golang.org/x/text/secure/precis.buffers.src (field)
21 uses
golang.org/x/text/secure/precis (current package)
profile.go#L119: src []byte
profile.go#L125: n, err := t.Span(b.src, true)
profile.go#L131: b.buf[x] = make([]byte, 0, 8+len(b.src)+len(b.src)>>2)
profile.go#L133: span := append(b.buf[x][:0], b.src[:n]...)
profile.go#L134: b.src, _, err = transform.Append(t, span, b.src[n:])
profile.go#L135: b.buf[x] = b.src
profile.go#L149: b.src = src
profile.go#L167: for i, c := range b.src {
profile.go#L169: b.src[i] = c ^ 1<<5
profile.go#L176: if _, err := c.span(b.src, true); err != nil {
profile.go#L180: for _, c := range b.src {
profile.go#L186: if p.options.disallowEmpty && len(b.src) == 0 {
profile.go#L189: return b.src, nil
profile.go#L216: if p.options.bidiRule && !bidirule.Valid(b.src) {
profile.go#L220: if _, err := c.span(b.src, true); err != nil {
profile.go#L224: for i := 0; i < len(b.src); {
profile.go#L225: r, size := utf8.DecodeRune(b.src[i:])
profile.go#L232: if p.options.disallowEmpty && len(b.src) == 0 {
profile.go#L236: return b.src, nil
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |