Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(34)

Issue 5701055: code review 5701055: archive/zip: use smarter putUintXX functions to hide offsets (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by adg
Modified:
13 years ago
Reviewers:
CC:
bradfitz, r, dsymonds, Kyle E. Lemons, golang-dev
Visibility:
Public.

Description

archive/zip: use smarter putUintXX functions to hide offsets

Patch Set 1 #

Patch Set 2 : diff -r 208ac536ffa3 https://go.googlecode.com/hg #

Patch Set 3 : diff -r 208ac536ffa3 https://go.googlecode.com/hg #

Total comments: 1

Patch Set 4 : diff -r 208ac536ffa3 https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -56 lines) Patch
M src/pkg/archive/zip/reader_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/archive/zip/writer.go View 1 2 3 5 chunks +62 lines, -55 lines 0 comments Download

Messages

Total messages: 8
adg
Hello bradfitz (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years ago (2012-02-27 05:40:53 UTC) #1
r
LGTM but brad should get the honors
13 years ago (2012-02-27 05:46:30 UTC) #2
dsymonds
You could make it even shorter by making a type that wraps the []byte and ...
13 years ago (2012-02-27 05:48:06 UTC) #3
bradfitz
LGTM On Mon, Feb 27, 2012 at 4:48 PM, David Symonds <dsymonds@golang.org> wrote: > You ...
13 years ago (2012-02-27 05:49:57 UTC) #4
adg
Hello bradfitz@golang.org, r@golang.org, dsymonds@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years ago (2012-02-27 06:31:24 UTC) #5
dsymonds
LGTM but this code should be generally more defensive. http://codereview.appspot.com/5701055/diff/4004/src/pkg/archive/zip/writer.go File src/pkg/archive/zip/writer.go (right): http://codereview.appspot.com/5701055/diff/4004/src/pkg/archive/zip/writer.go#newcode252 src/pkg/archive/zip/writer.go:252: ...
13 years ago (2012-02-27 06:34:11 UTC) #6
Kyle E. Lemons
LGTM Nice. I love being able to attach methods to basics like that.
13 years ago (2012-02-27 06:34:57 UTC) #7
adg
13 years ago (2012-02-27 06:38:04 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=bf0768b1dece ***

archive/zip: use smarter putUintXX functions to hide offsets

R=bradfitz, r, dsymonds, kyle
CC=golang-dev
http://codereview.appspot.com/5701055
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b