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

Issue 3421041: code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by rog
Modified:
14 years, 1 month ago
Reviewers:
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

bytes: add Buffer.UnreadRune, Buffer.UnreadByte

Patch Set 1 #

Patch Set 2 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Total comments: 8

Patch Set 3 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Total comments: 8

Patch Set 4 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Patch Set 5 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Patch Set 6 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Total comments: 2

Patch Set 7 : code review 3421041: bytes: add Buffer.UnreadRune, Buffer.UnreadByte #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -4 lines) Patch
M src/pkg/bytes/buffer.go View 1 2 3 4 5 6 13 chunks +61 lines, -0 lines 0 comments Download
M src/pkg/bytes/buffer_test.go View 1 2 3 2 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 10
rog
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-12-02 19:46:32 UTC) #1
rog
accidentally deleted previous version of this issue. ( it was http://codereview.appspot.com/2194045/ ) On 2 December ...
14 years, 3 months ago (2010-12-02 19:47:42 UTC) #2
r
http://codereview.appspot.com/3421041/diff/2001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/3421041/diff/2001/src/pkg/bytes/buffer.go#newcode22 src/pkg/bytes/buffer.go:22: lastRead int no comment?? possibly even worth making this ...
14 years, 3 months ago (2010-12-02 20:32:00 UTC) #3
rog
PTAL http://codereview.appspot.com/3421041/diff/2001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/3421041/diff/2001/src/pkg/bytes/buffer.go#newcode22 src/pkg/bytes/buffer.go:22: lastRead int On 2010/12/02 20:32:00, r wrote: > ...
14 years, 3 months ago (2010-12-03 09:27:29 UTC) #4
r
http://codereview.appspot.com/3421041/diff/9001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/3421041/diff/9001/src/pkg/bytes/buffer.go#newcode31 src/pkg/bytes/buffer.go:31: opInvalid = readOp(iota) // Non-read operation. i'd prefer opInvalid ...
14 years, 3 months ago (2010-12-03 20:15:31 UTC) #5
rog
Hello rsc, r (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 3 months ago (2010-12-06 14:37:43 UTC) #6
r
one tiny tweak. looks good. http://codereview.appspot.com/3421041/diff/22001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/3421041/diff/22001/src/pkg/bytes/buffer.go#newcode33 src/pkg/bytes/buffer.go:33: opRead // Any other ...
14 years, 3 months ago (2010-12-06 16:14:51 UTC) #7
rog
PTAL http://codereview.appspot.com/3421041/diff/9001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): http://codereview.appspot.com/3421041/diff/9001/src/pkg/bytes/buffer.go#newcode31 src/pkg/bytes/buffer.go:31: opInvalid = readOp(iota) // Non-read operation. On 2010/12/03 ...
14 years, 3 months ago (2010-12-06 17:37:43 UTC) #8
r
LGTM
14 years, 3 months ago (2010-12-06 19:05:22 UTC) #9
r
14 years, 3 months ago (2010-12-06 19:10:16 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=e7bc01099ff4 ***

bytes: add Buffer.UnreadRune, Buffer.UnreadByte

R=rsc, r
CC=golang-dev
http://codereview.appspot.com/3421041

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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