github.com/andybalholm/brotli/matchfinder.Match.Length (field)
16 uses
github.com/andybalholm/brotli/matchfinder (current package)
emitter.go#L30: Length: m.End - m.Start,
m0.go#L137: Length: s - base,
matchfinder.go#L18: Length int // the number of bytes in the matched string; it may be 0 at the end of the input
pathfinder.go#L311: Length: int(a.length),
textencoder.go#L18: if m.Length > 0 {
textencoder.go#L19: dst = append(dst, []byte(fmt.Sprintf("<%d,%d>", m.Length, m.Distance))...)
textencoder.go#L20: pos += m.Length
github.com/andybalholm/brotli
encoder.go#L58: copyCode := getCopyLengthCode(uint(m.Length))
encoder.go#L59: if m.Length == 0 {
encoder.go#L67: if command >= 128 && m.Length != 0 {
encoder.go#L104: pos += m.Unmatched + m.Length
encoder.go#L125: copyCode := getCopyLengthCode(uint(m.Length))
encoder.go#L126: if m.Length == 0 {
encoder.go#L136: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length)-uint64(kCopyBase[copyCode]))
encoder.go#L145: if command >= 128 && m.Length != 0 {
encoder.go#L153: pos += m.Unmatched + m.Length
![]() |
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. |