Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastRuneStart (0.18 sec)

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

    }
    
    func lastBoundary(fd *formInfo, b []byte) int {
    	i := len(b)
    	info, p := lastRuneStart(fd, b)
    	if p == -1 {
    		return -1
    	}
    	if info.size == 0 { // ends with incomplete rune
    		if p == 0 { // starts with incomplete rune
    			return -1
    		}
    		i = p
    		info, p = lastRuneStart(fd, b[:i])
    		if p == -1 { // incomplete UTF-8 encoding or non-starter bytes without a starter
    			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

    }
    
    func lastBoundary(fd *formInfo, b []byte) int {
    	i := len(b)
    	info, p := lastRuneStart(fd, b)
    	if p == -1 {
    		return -1
    	}
    	if info.size == 0 { // ends with incomplete rune
    		if p == 0 { // starts with incomplete rune
    			return -1
    		}
    		i = p
    		info, p = lastRuneStart(fd, b[:i])
    		if p == -1 { // incomplete UTF-8 encoding or non-starter bytes without a starter
    			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)
Back to top