Lines Matching defs:dictDecoder
27 type dictDecoder struct { struct
28 hist []byte // Sliding window history
31 wrPos int // Current output position in buffer
32 rdPos int // Have emitted hist[:rdPos] already
33 full bool // Has a full window length been written yet?
39 func (dd *dictDecoder) init(size int, dict []byte) {
59 func (dd *dictDecoder) histSize() int {
67 func (dd *dictDecoder) availRead() int {
72 func (dd *dictDecoder) availWrite() int {
79 func (dd *dictDecoder) writeSlice() []byte {
86 func (dd *dictDecoder) writeMark(cnt int) {
93 func (dd *dictDecoder) writeByte(c byte) {
103 func (dd *dictDecoder) writeCopy(dist, length int) int {
153 func (dd *dictDecoder) tryWriteCopy(dist, length int) int {
174 func (dd *dictDecoder) readFlush() []byte {