Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IndexByteString (0.08 sec)

  1. src/bytes/bytes.go

    		r := rune(s[0])
    		if r >= utf8.RuneSelf {
    			// search utf8.RuneError.
    			for _, r = range chars {
    				if r == utf8.RuneError {
    					return 0
    				}
    			}
    			return -1
    		}
    		if bytealg.IndexByteString(chars, s[0]) >= 0 {
    			return 0
    		}
    		return -1
    	}
    	if len(chars) == 1 {
    		r := rune(chars[0])
    		if r >= utf8.RuneSelf {
    			r = utf8.RuneError
    		}
    		return IndexRune(s, r)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top