github.com/andybalholm/brotli/matchfinder.Bargain3.MaxDistance (field)
10 uses
github.com/andybalholm/brotli/matchfinder (current package)
bargain3.go#L13: MaxDistance int
bargain3.go#L38: if z.MaxDistance == 0 {
bargain3.go#L39: z.MaxDistance = 1 << 16
bargain3.go#L65: if len(z.history) > z.MaxDistance*2 {
bargain3.go#L66: delta := len(z.history) - z.MaxDistance
bargain3.go#L68: z.history = z.history[:z.MaxDistance]
bargain3.go#L192: if int(candidate5.offset) < i && i-int(candidate5.offset) < z.MaxDistance && uint32(cv) == candidate5.val &&
bargain3.go#L208: if int(candidate8.offset) < i && i-int(candidate8.offset) < z.MaxDistance && uint32(cv) == candidate8.val &&
bargain3.go#L224: if int(candidate12.offset) < i && i-int(candidate12.offset) < z.MaxDistance && uint32(cv) == candidate12.val &&
github.com/andybalholm/brotli
writer.go#L149: mf = &matchfinder.Bargain3{MaxDistance: 1 << 20}
![]() |
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. |