Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/compress/flate/deflatefast.go

    	// Protect against e.cur wraparound.
    	if e.cur >= bufferReset {
    		e.shiftOffsets()
    	}
    }
    
    // shiftOffsets will shift down all match offset.
    // This is only called in rare situations to prevent integer overflow.
    //
    // See https://golang.org/issue/18636 and https://github.com/golang/go/issues/34121.
    func (e *deflateFast) shiftOffsets() {
    	if len(e.prev) == 0 {
    		// We have no history; just clear the table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
Back to top