Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expand_8_64 (0.1 sec)

  1. src/index/suffixarray/sais2.go

    			// That is, the LMS-suffix sort order matches the
    			// (simpler) LMS-substring sort order.
    			// Copy the original LMS-substring order into the
    			// suffix array destination.
    			copy(sa, sa[len(sa)-numLMS:])
    		}
    		expand_8_64(text, freq, bucket, sa, numLMS)
    	}
    	induceL_8_64(text, sa, freq, bucket)
    	induceS_8_64(text, sa, freq, bucket)
    
    	// Mark for caller that we overwrote tmp.
    	tmp[0] = -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)
  2. src/index/suffixarray/sais.go

    	for i := 0; i < len(sa); i++ {
    		sa[i] = unmap[sa[i]]
    	}
    }
    
    // expand_8_32 distributes the compacted, sorted LMS-suffix indexes
    // from sa[:numLMS] into the tops of the appropriate buckets in sa,
    // preserving the sorted order and making room for the L-type indexes
    // to be slotted into the sorted sequence by induceL_8_32.
    func expand_8_32(text []byte, freq, bucket, sa []int32, numLMS int) {
    	bucketMax_8_32(text, freq, bucket)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top