github.com/andybalholm/brotli/matchfinder.Match.Length (field)
42 uses
github.com/andybalholm/brotli/matchfinder (current package)
bargain1.go#L191: Length: int(a.length),
bargain2.go#L223: Length: int(a.length),
bargain3.go#L249: Length: int(a.length),
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
zdfast.go#L121: Length: end - int(start),
zdfast.go#L189: Length: end - int(s),
zdfast.go#L230: Length: end - int(s),
zfast.go#L115: Length: end - int(start),
zfast.go#L164: Length: end - int(s),
zfast.go#L182: Length: end - int(s),
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
encoder_fast.go#L127: if m.Length < 10 && m.Length != 0 {
encoder_fast.go#L129: command = m.Unmatched<<3 + m.Length - 2 + 128
encoder_fast.go#L151: if m.Length != 0 {
encoder_fast.go#L168: case m.Length < 12:
encoder_fast.go#L169: command := m.Length - 4
encoder_fast.go#L172: case m.Length < 72:
encoder_fast.go#L173: copyCode := getCopyLengthCode(uint(m.Length - 2))
encoder_fast.go#L176: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length-2)-uint64(kCopyBase[copyCode]))
encoder_fast.go#L179: copyCode := getCopyLengthCode(uint(m.Length - 2))
encoder_fast.go#L182: e.bw.writeBits(uint(kCopyExtra[copyCode]), uint64(m.Length-2)-uint64(kCopyBase[copyCode]))
encoder_fast.go#L189: pos += m.Unmatched + m.Length
github.com/andybalholm/brotli/flate
huffman_bit_writer.go#L440: if m.Length == 0 {
huffman_bit_writer.go#L443: w.literalFreq[lengthCodesStart+lengthCode(m.Length)]++
huffman_bit_writer.go#L445: pos += m.Length
huffman_bit_writer.go#L481: length := m.Length
huffman_bit_writer.go#L502: pos += 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. |