Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isTypes2 (0.14 sec)

  1. src/index/suffixarray/sais2.go

    	// nowhere to write it down, so we eliminate it by untruthfully
    	// setting isTypeS = false at the start of the loop.
    	c0, c1, isTypeS := byte(0), byte(0), false
    	for i := len(text) - 1; i >= 0; i-- {
    		c0, c1 = text[i], c0
    		if c0 < c1 {
    			isTypeS = true
    		} else if c0 > c1 && isTypeS {
    			isTypeS = false
    
    			// Bucket the index i+1 for the start of an LMS-substring.
    			b := bucket[c1] - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top