github.com/andybalholm/brotli/matchfinder.ZM.MaxDistance (field)
14 uses
github.com/andybalholm/brotli/matchfinder (current package)
zm.go#L15: MaxDistance int
zm.go#L28: if z.MaxDistance == 0 {
zm.go#L29: z.MaxDistance = 1 << 16
zm.go#L32: if len(z.history) > z.MaxDistance*2 {
zm.go#L33: delta := len(z.history) - z.MaxDistance
zm.go#L35: z.history = z.history[:z.MaxDistance]
zm.go#L113: if candidateL.offset < s && s-candidateL.offset < int32(z.MaxDistance) && uint32(cv) == candidateL.val &&
zm.go#L119: if candidateS.offset < s && s-candidateS.offset < int32(z.MaxDistance) && uint32(cv) == candidateS.val &&
zm.go#L128: if candidateL.offset < s+1 && coffsetL < int32(z.MaxDistance) && uint32(cv) == candidateL.val &&
zm.go#L181: if candidateL.offset < s && s-candidateL.offset < int32(z.MaxDistance) && uint32(cv) == candidateL.val &&
zm.go#L185: } else if candidateS.offset < s && s-candidateS.offset < int32(z.MaxDistance) && uint32(cv) == candidateS.val &&
zm.go#L195: if candidateL.offset < s+1 && coffsetL < int32(z.MaxDistance) && uint32(cv) == candidateL.val &&
github.com/andybalholm/brotli
writer.go#L139: mf = &matchfinder.ZM{MaxDistance: 1 << 20}
github.com/andybalholm/brotli/flate
writer.go#L30: mf = &matchfinder.ZM{MaxDistance: 1 << 15}
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |