golang.org/x/text/cases.context.pSrc (field)
31 uses
golang.org/x/text/cases (current package)
context.go#L24: pSrc int // pSrc points to the start of the currently scanned rune.
context.go#L51: if c.atEOF && c.pSrc == len(c.src) {
context.go#L52: return c.pDst, c.pSrc, nil
context.go#L69: c.nDst, c.nSrc = c.pDst, c.pSrc+c.sz
context.go#L80: c.pSrc += c.sz
context.go#L81: if c.pSrc == len(c.src) || c.err != nil {
context.go#L85: v, sz := trie.lookup(c.src[c.pSrc:])
context.go#L131: return c.writeBytes(c.src[c.pSrc : c.pSrc+c.sz])
context.go#L162: b := c.src[c.pSrc:]
context.go#L183: b := c.src[c.pSrc+c.sz-1]
map.go#L505: r, _ := utf8.DecodeRune(c.src[c.pSrc:])
map.go#L530: switch r, _ := utf8.DecodeRune(c.src[c.pSrc:]); r {
map.go#L544: switch v, _ := trie.lookup(c.src[c.pSrc:]); info(v).cccType() {
map.go#L589: if r := c.src[c.pSrc]; r < utf8.RuneSelf {
map.go#L595: p := norm.NFD.Properties(c.src[c.pSrc:])
map.go#L654: r, _ := utf8.DecodeRune(c.src[c.pSrc:])
map.go#L681: if c.dst[oldPDst] == 'I' && c.pDst == oldPDst+1 && c.src[c.pSrc] == 0xcc {
map.go#L683: switch c.src[c.pSrc+1] {
map.go#L714: if c.src[c.pSrc] == 'i' {
map.go#L737: if c.src[c.pSrc] != 'I' {
map.go#L743: start := c.pSrc + c.sz
map.go#L753: return c.writeString("i") && c.writeBytes(c.src[start:c.pSrc]) // ignore U+0307
map.go#L768: return c.writeString("ı") && c.writeBytes(c.src[start:c.pSrc+c.sz]) && done
map.go#L779: if c.src[c.pSrc] != 'I' && c.src[c.pSrc] != 'i' {
map.go#L786: if c.src[c.pSrc] == 'j' || c.src[c.pSrc] == 'J' {
map.go#L799: if c.src[c.pSrc] != 'I' {
map.go#L802: if !c.next() || c.src[c.pSrc] == 'j' {
map.go#L805: if c.src[c.pSrc] != 'J' {
![]() |
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. |