Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Saheed (0.2 sec)

  1. doc/go_mem.html

    ahead of the loop in this program:
    </p>
    
    <pre>
    n := 0
    for e := list; e != nil; e = e.next {
    	n++
    }
    i := *p
    *q = 1
    </pre>
    
    <p>
    If <code>list</code> pointed to a cyclic list,
    then the original program would never access <code>*p</code> or <code>*q</code>,
    but the rewritten program would.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    				break
    			}
    			i += o + 1
    		}
    		if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    			return i
    		}
    		i++
    		fails++
    		if fails >= 4+i>>4 && i < t {
    			// Give up on IndexByte, it isn't skipping ahead
    			// far enough to be better than Rabin-Karp.
    			// Experiments (using IndexPeriodic) suggest
    			// the cutover is about 16 byte skips.
    			// TODO: if large prefixes of sep are matching
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top