Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for insertCGJ (0.12 sec)

  1. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    	}
    	buf := rb.out[p:]
    	rb.out = rb.out[:p]
    	decomposeToLastBoundary(rb)
    	if s := rb.ss.next(info); s == ssStarter {
    		rb.doFlush()
    		rb.ss.first(info)
    	} else if s == ssOverflow {
    		rb.doFlush()
    		rb.insertCGJ()
    		rb.ss = 0
    	}
    	rb.insertUnsafe(inputBytes(buf), 0, info)
    	return true
    }
    
    func appendQuick(rb *reorderBuffer, i int) int {
    	if rb.nsrc == i {
    		return i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    	}
    	buf := rb.out[p:]
    	rb.out = rb.out[:p]
    	decomposeToLastBoundary(rb)
    	if s := rb.ss.next(info); s == ssStarter {
    		rb.doFlush()
    		rb.ss.first(info)
    	} else if s == ssOverflow {
    		rb.doFlush()
    		rb.insertCGJ()
    		rb.ss = 0
    	}
    	rb.insertUnsafe(inputBytes(buf), 0, info)
    	return true
    }
    
    func appendQuick(rb *reorderBuffer, i int) int {
    	if rb.nsrc == i {
    		return i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/iter.go

    			break
    		}
    	}
    	// new segment or too many combining characters: exit normalization
    	return i.buf[:i.rb.flushCopy(i.buf[:])]
    }
    
    func nextCGJDecompose(i *Iter) []byte {
    	i.rb.ss = 0
    	i.rb.insertCGJ()
    	i.next = nextDecomposed
    	i.rb.ss.first(i.info)
    	buf := doNormDecomposed(i)
    	return buf
    }
    
    // nextComposed is the implementation of Next for forms NFC and NFKC.
    func nextComposed(i *Iter) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) insertSingle(src input, i int, info Properties) {
    	src.copySlice(rb.byte[rb.nbyte:], i, i+int(info.size))
    	rb.insertOrdered(info)
    }
    
    // insertCGJ inserts a Combining Grapheme Joiner (0x034f) into rb.
    func (rb *reorderBuffer) insertCGJ() {
    	rb.insertSingle(input{str: GraphemeJoiner}, 0, Properties{size: uint8(len(GraphemeJoiner))})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go

    			break
    		}
    	}
    	// new segment or too many combining characters: exit normalization
    	return i.buf[:i.rb.flushCopy(i.buf[:])]
    }
    
    func nextCGJDecompose(i *Iter) []byte {
    	i.rb.ss = 0
    	i.rb.insertCGJ()
    	i.next = nextDecomposed
    	i.rb.ss.first(i.info)
    	buf := doNormDecomposed(i)
    	return buf
    }
    
    // nextComposed is the implementation of Next for forms NFC and NFKC.
    func nextComposed(i *Iter) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) insertSingle(src input, i int, info Properties) {
    	src.copySlice(rb.byte[rb.nbyte:], i, i+int(info.size))
    	rb.insertOrdered(info)
    }
    
    // insertCGJ inserts a Combining Grapheme Joiner (0x034f) into rb.
    func (rb *reorderBuffer) insertCGJ() {
    	rb.insertSingle(input{str: GraphemeJoiner}, 0, Properties{size: uint8(len(GraphemeJoiner))})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
Back to top