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

Issue 113060043: code review 113060043: bufio: make naming consistent and clearer (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by egon
Modified:
9 years, 9 months ago
Reviewers:
gri
CC:
golang-codereviews, adg, gri, r, minux
Visibility:
Public.

Description

bufio: fix UnreadSlice followed by UnreadRune Also, fix a write check in writeBuf and make some bounds checks simpler.

Patch Set 1 #

Patch Set 2 : diff -r 67f9ef140028 https://code.google.com/p/go #

Patch Set 3 : diff -r 67f9ef140028 https://code.google.com/p/go #

Patch Set 4 : diff -r 67f9ef140028 https://code.google.com/p/go #

Patch Set 5 : diff -r 67f9ef140028 https://code.google.com/p/go #

Patch Set 6 : diff -r 67f9ef140028 https://code.google.com/p/go #

Total comments: 6

Patch Set 7 : diff -r 6866fbf95095 https://code.google.com/p/go #

Patch Set 8 : diff -r 6866fbf95095 https://code.google.com/p/go #

Patch Set 9 : diff -r 6866fbf95095 https://code.google.com/p/go #

Total comments: 4

Patch Set 10 : diff -r 5207b394de96 https://code.google.com/p/go #

Patch Set 11 : diff -r 5207b394de96 https://code.google.com/p/go #

Patch Set 12 : diff -r 5207b394de96 https://code.google.com/p/go #

Total comments: 1

Patch Set 13 : diff -r 5207b394de96 https://code.google.com/p/go #

Total comments: 3

Patch Set 14 : diff -r 99630144d7fc https://code.google.com/p/go #

Patch Set 15 : diff -r 99630144d7fc https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -18 lines) Patch
M src/pkg/bufio/bufio.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +16 lines, -16 lines 0 comments Download
M src/pkg/bufio/bufio_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +12 lines, -0 lines 0 comments Download
M src/pkg/bufio/scan.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21
egon
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
9 years, 9 months ago (2014-07-13 12:59:37 UTC) #1
adg
If you're going to do a mass renaming please do it in a separate CL ...
9 years, 9 months ago (2014-07-14 04:37:54 UTC) #2
egon
On 2014/07/14 04:37:54, adg wrote: > If you're going to do a mass renaming please ...
9 years, 9 months ago (2014-07-14 06:41:44 UTC) #3
adg
On 14 July 2014 16:41, <egonelbre@gmail.com> wrote: > Sure, I'll make change this CL to ...
9 years, 9 months ago (2014-07-14 06:46:30 UTC) #4
egon
On 2014/07/14 06:46:30, adg wrote: > On 14 July 2014 16:41, <mailto:egonelbre@gmail.com> wrote: > > ...
9 years, 9 months ago (2014-07-14 07:29:40 UTC) #5
gri
Does not LGTM. These are mostly gratuitous changes for no benefit. Please leave alone. If ...
9 years, 9 months ago (2014-07-14 16:48:26 UTC) #6
egon
On 2014/07/14 16:48:26, gri wrote: > Does not LGTM. > > These are mostly gratuitous ...
9 years, 9 months ago (2014-07-14 17:37:43 UTC) #7
egon
On 2014/07/14 17:37:43, egon wrote: > On 2014/07/14 16:48:26, gri wrote: > > Does not ...
9 years, 9 months ago (2014-07-14 20:03:34 UTC) #8
gri
Better, but I still think that some of the name changes don't help much. Leaving ...
9 years, 9 months ago (2014-07-14 20:37:06 UTC) #9
egon
On 2014/07/14 20:37:06, gri wrote: > Better, but I still think that some of the ...
9 years, 9 months ago (2014-07-14 21:04:29 UTC) #10
gri
Regarding the Read: Per the documentation of io: "Implementations of Read are discouraged from returning ...
9 years, 9 months ago (2014-07-14 21:32:10 UTC) #11
egon
On 2014/07/14 21:32:10, gri wrote: > Regarding the Read: > > Per the documentation of ...
9 years, 9 months ago (2014-07-14 21:59:44 UTC) #12
minux
On Mon, Jul 14, 2014 at 5:32 PM, <gri@golang.org> wrote: > Regarding the Read: > ...
9 years, 9 months ago (2014-07-14 22:06:23 UTC) #13
egon
https://codereview.appspot.com/113060043/diff/200001/src/pkg/bufio/bufio.go File src/pkg/bufio/bufio.go (right): https://codereview.appspot.com/113060043/diff/200001/src/pkg/bufio/bufio.go#newcode139 src/pkg/bufio/bufio.go:139: err = b.readErr() I noticed that Peek won't preserve ...
9 years, 9 months ago (2014-07-15 07:23:19 UTC) #14
gri
In retrospect I like you to undo all name changes: There are other bufio CL's ...
9 years, 9 months ago (2014-07-16 22:06:41 UTC) #15
egon
On 2014/07/16 22:06:41, gri wrote: > In retrospect I like you to undo all name ...
9 years, 9 months ago (2014-07-17 05:30:46 UTC) #16
gri
LGTM A couple of minor nitpicks. Please address those and we're good to go. Thanks ...
9 years, 9 months ago (2014-07-17 21:28:30 UTC) #17
egon
On 2014/07/17 21:28:30, gri wrote: > LGTM > > A couple of minor nitpicks. Please ...
9 years, 9 months ago (2014-07-18 07:54:02 UTC) #18
gri
LGTM
9 years, 9 months ago (2014-07-18 16:25:42 UTC) #19
gri
*** Submitted as https://code.google.com/p/go/source/detail?r=96441aa31723 *** bufio: fix UnreadSlice followed by UnreadRune Also, fix a write ...
9 years, 9 months ago (2014-07-18 16:26:05 UTC) #20
egon
9 years, 9 months ago (2014-07-18 18:33:06 UTC) #21
*** Abandoned ***
Sign in to reply to this message.

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