MCPcopy
hub / github.com/klauspost/compress / fastGen

Struct fastGen

flate/fast_encoder.go:76–79  ·  view source on GitHub ↗

fastGen maintains the table for matches, and the previous byte block for level 2. This is the generic implementation.

Source from the content-addressed store, hash-verified

74// and the previous byte block for level 2.
75// This is the generic implementation.
76type fastGen struct {
77 hist []byte
78 cur int32
79}
80
81func (e *fastGen) addBlock(src []byte) int32 {
82 // check if we have space already

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected