github.com/andybalholm/brotli/matchfinder.Bargain2.MaxDistance (field)

10 uses

	github.com/andybalholm/brotli/matchfinder (current package)
		bargain2.go#L18: 	MaxDistance int
		bargain2.go#L41: 	if z.MaxDistance == 0 {
		bargain2.go#L42: 		z.MaxDistance = 1 << 16
		bargain2.go#L68: 	if len(z.history) > z.MaxDistance*2 {
		bargain2.go#L69: 		delta := len(z.history) - z.MaxDistance
		bargain2.go#L71: 		z.history = z.history[:z.MaxDistance]
		bargain2.go#L182: 			if int(candidate5.offset) < i && i-int(candidate5.offset) < z.MaxDistance && uint32(cv) == candidate5.val &&
		bargain2.go#L198: 			if int(candidate8.offset) < i && i-int(candidate8.offset) < z.MaxDistance && uint32(cv) == candidate8.val &&

	github.com/andybalholm/brotli
		writer.go#L145: 		mf = &matchfinder.Bargain2{MaxDistance: 1 << 20, Skip: true}
		writer.go#L147: 		mf = &matchfinder.Bargain2{MaxDistance: 1 << 20}