Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/zstd/fse.go

    // This returns the number of bits in the FSE table and the new offset.
    // RFC 4.1.1.
    func (r *Reader) readFSE(data block, off, maxSym, maxBits int, table []fseEntry) (tableBits, roff int, err error) {
    	br := r.makeBitReader(data, off)
    	if err := br.moreBits(); err != nil {
    		return 0, 0, err
    	}
    
    	accuracyLog := int(br.val(4)) + 5
    	if accuracyLog > maxBits {
    		return 0, 0, br.makeError("FSE accuracy log too large")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top