compress/zlib.Writer.scratch (field)
16 uses
compress/zlib (current package)
writer.go#L35: scratch [4]byte
writer.go#L88: z.scratch = [4]byte{}
writer.go#L98: z.scratch[0] = 0x78
writer.go#L105: z.scratch[1] = 0 << 6
writer.go#L107: z.scratch[1] = 1 << 6
writer.go#L109: z.scratch[1] = 2 << 6
writer.go#L111: z.scratch[1] = 3 << 6
writer.go#L116: z.scratch[1] |= 1 << 5
writer.go#L118: z.scratch[1] += uint8(31 - (uint16(z.scratch[0])<<8+uint16(z.scratch[1]))%31)
writer.go#L119: if _, err = z.w.Write(z.scratch[0:2]); err != nil {
writer.go#L124: binary.BigEndian.PutUint32(z.scratch[:], adler32.Checksum(z.dict))
writer.go#L125: if _, err = z.w.Write(z.scratch[0:4]); err != nil {
writer.go#L190: binary.BigEndian.PutUint32(z.scratch[:], checksum)
writer.go#L191: _, z.err = z.w.Write(z.scratch[0:4])
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |