Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeBlockDynamic (0.15 sec)

  1. src/compress/flate/deflate.go

    	// If we removed less than 1/16th, Huffman compress the block.
    	if len(d.tokens) > d.windowEnd-(d.windowEnd>>4) {
    		d.w.writeBlockHuff(false, d.window[:d.windowEnd])
    	} else {
    		d.w.writeBlockDynamic(d.tokens, false, d.window[:d.windowEnd])
    	}
    	d.err = d.w.err
    	d.windowEnd = 0
    }
    
    func (d *compressor) initDeflate() {
    	d.window = make([]byte, 2*windowSize)
    	d.hashOffset = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top