Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for streamSafe (0.17 sec)

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

    func (ss *streamSafe) first(p Properties) {
    	*ss = streamSafe(p.nTrailingNonStarters())
    }
    
    // insert returns a ssState value to indicate whether a rune represented by p
    // can be inserted.
    func (ss *streamSafe) next(p Properties) ssState {
    	if *ss > maxNonStarters {
    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 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/composition.go

    func (ss *streamSafe) first(p Properties) {
    	*ss = streamSafe(p.nTrailingNonStarters())
    }
    
    // insert returns a ssState value to indicate whether a rune represented by p
    // can be inserted.
    func (ss *streamSafe) next(p Properties) ssState {
    	if *ss > maxNonStarters {
    		panic("streamSafe was not reset")
    	}
    	n := p.nLeadingNonStarters()
    	if *ss += streamSafe(n); *ss > maxNonStarters {
    		*ss = 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)
  3. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    	if info.size == 0 {
    		if atEOF {
    			return 1
    		}
    		return -1
    	}
    	ss := streamSafe(0)
    	ss.first(info)
    
    	for i := int(info.size); i < nsrc; i += int(info.size) {
    		info = fd.info(src, i)
    		if info.size == 0 {
    			if atEOF {
    				return i
    			}
    			return -1
    		}
    		// TODO: Using streamSafe to determine the boundary isn't the same as
    		// using BoundaryBefore. Determine which should be used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    	if info.size == 0 {
    		if atEOF {
    			return 1
    		}
    		return -1
    	}
    	ss := streamSafe(0)
    	ss.first(info)
    
    	for i := int(info.size); i < nsrc; i += int(info.size) {
    		info = fd.info(src, i)
    		if info.size == 0 {
    			if atEOF {
    				return i
    			}
    			return -1
    		}
    		// TODO: Using streamSafe to determine the boundary isn't the same as
    		// using BoundaryBefore. Determine which should be used.
    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