Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lookupAll (0.12 sec)

  1. src/index/suffixarray/suffixarray.go

    func (x *Index) Bytes() []byte {
    	return x.data
    }
    
    func (x *Index) at(i int) []byte {
    	return x.data[x.sa.get(i):]
    }
    
    // lookupAll returns a slice into the matching region of the index.
    // The runtime is O(log(N)*len(s)).
    func (x *Index) lookupAll(s []byte) ints {
    	// find matching suffix index range [i:j]
    	// find the first index where s would be the prefix
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top