Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fail (0.11 sec)

  1. src/bytes/bytes.go

    				return i
    			}
    			fails++
    			i++
    			// Switch to bytealg.Index when IndexByte produces too many false positives.
    			if fails > bytealg.Cutover(i) {
    				r := bytealg.Index(s[i:], sep)
    				if r >= 0 {
    					return r + i
    				}
    				return -1
    			}
    		}
    		return -1
    	}
    	c0 := sep[0]
    	c1 := sep[1]
    	i := 0
    	fails := 0
    	t := len(s) - n + 1
    	for i < t {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top