Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for insertFlush (0.16 sec)

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

    const (
    	iSuccess insertErr = -iota
    	iShortDst
    	iShortSrc
    )
    
    // insertFlush inserts the given rune in the buffer ordered by CCC.
    // If a decomposition with multiple segments are encountered, they leading
    // ones are flushed.
    // It returns a non-zero error code if the rune was not inserted.
    func (rb *reorderBuffer) insertFlush(src input, i int, info Properties) insertErr {
    	if rune := src.hangul(i); rune != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    		// TODO: this could be removed if we don't support merging.
    		if rb.nrune > 0 {
    			goto end
    		}
    	} else if s == ssOverflow {
    		rb.insertCGJ()
    		goto end
    	}
    	if err := rb.insertFlush(rb.src, sp, info); err != iSuccess {
    		return int(err)
    	}
    	for {
    		sp += int(info.size)
    		if sp >= rb.nsrc {
    			if !atEOF && !info.BoundaryAfter() {
    				return int(iShortSrc)
    			}
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/text/unicode/norm/composition.go

    const (
    	iSuccess insertErr = -iota
    	iShortDst
    	iShortSrc
    )
    
    // insertFlush inserts the given rune in the buffer ordered by CCC.
    // If a decomposition with multiple segments are encountered, they leading
    // ones are flushed.
    // It returns a non-zero error code if the rune was not inserted.
    func (rb *reorderBuffer) insertFlush(src input, i int, info Properties) insertErr {
    	if rune := src.hangul(i); rune != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    		// TODO: this could be removed if we don't support merging.
    		if rb.nrune > 0 {
    			goto end
    		}
    	} else if s == ssOverflow {
    		rb.insertCGJ()
    		goto end
    	}
    	if err := rb.insertFlush(rb.src, sp, info); err != iSuccess {
    		return int(err)
    	}
    	for {
    		sp += int(info.size)
    		if sp >= rb.nsrc {
    			if !atEOF && !info.BoundaryAfter() {
    				return int(iShortSrc)
    			}
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top