Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkSaveRestore (0.19 sec)

  1. src/index/suffixarray/suffixarray.go

    	for p := binary.MaxVarintLen64; p < size; n++ {
    		x, w := binary.Uvarint(buf[p:])
    		data.set(n, int64(x))
    		p += w
    	}
    
    	return
    }
    
    const bufSize = 16 << 10 // reasonable for BenchmarkSaveRestore
    
    // Read reads the index from r into x; x must not be nil.
    func (x *Index) Read(r io.Reader) error {
    	// buffer for all reads
    	buf := make([]byte, bufSize)
    
    	// read length
    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