diff options
author | Eugene Kliuchnikov <eustas.ru@gmail.com> | 2021-11-10 10:34:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 10:34:39 +0100 |
commit | 8376f72ed6a8ca01548aad1a4f4f1df33094d3e0 (patch) | |
tree | 98093e0b6e558634b4f2533f1f3406f361dae2be /go/cbrotli | |
parent | 62662f87cdd96deda90ac817de94e3c4af75226a (diff) | |
download | brotli-8376f72ed6a8ca01548aad1a4f4f1df33094d3e0.zip brotli-8376f72ed6a8ca01548aad1a4f4f1df33094d3e0.tar.gz brotli-8376f72ed6a8ca01548aad1a4f4f1df33094d3e0.tar.bz2 |
Prepare for copybara (#939)
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
Diffstat (limited to 'go/cbrotli')
-rw-r--r-- | go/cbrotli/writer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/cbrotli/writer.go b/go/cbrotli/writer.go index 9fa75ab..44575fc 100644 --- a/go/cbrotli/writer.go +++ b/go/cbrotli/writer.go @@ -108,7 +108,7 @@ func (w *Writer) writeChunk(p []byte, op C.BrotliEncoderOperation) (n int, err e if length != 0 { // It is a workaround for non-copying-wrapping of native memory. // C-encoder never pushes output block longer than ((2 << 25) + 502). - // TODO: use natural wrapper, when it becomes available, see + // TODO(eustas): use natural wrapper, when it becomes available, see // https://golang.org/issue/13656. output := (*[1 << 30]byte)(unsafe.Pointer(result.output_data))[:length:length] _, err = w.dst.Write(output) |