<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/bufio/scan.go, branch main</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2026-04-14T14:51:40Z</updated>
<entry>
<title>bufio: realign struct Scanner</title>
<updated>2026-04-14T14:51:40Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2023-09-16T16:18:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4f51d4c33231636f46d44f996cf4c6822dd2ee19'/>
<id>urn:sha1:4f51d4c33231636f46d44f996cf4c6822dd2ee19</id>
<content type='text'>
This reduce the Scanner allocation size from 112 to 72 bytes.
</content>
</entry>
<entry>
<title>bufio: update buffer documentation</title>
<updated>2025-05-21T18:05:26Z</updated>
<author>
<name>Lokesh Kumar</name>
<email>lkumar94@gmail.com</email>
</author>
<published>2025-05-21T14:48:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=304d9e2fd1b62d236eb48ec838be3680cb7845e6'/>
<id>urn:sha1:304d9e2fd1b62d236eb48ec838be3680cb7845e6</id>
<content type='text'>
Fixes #73778

Change-Id: If6d87a92786c9b0ee2bd790b57937919afe0fc5c
GitHub-Last-Rev: 4b4c7595d5779a127b01a5d71adca91cb5aa6c05
GitHub-Pull-Request: golang/go#73804
Reviewed-on: https://go-review.googlesource.com/c/go/+/674695
Auto-Submit: Alan Donovan &lt;adonovan@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
</content>
</entry>
<entry>
<title>bufio: allow terminating Scanner early cleanly without a final token or an error</title>
<updated>2023-10-23T09:06:30Z</updated>
<author>
<name>favonia</name>
<email>favonia@gmail.com</email>
</author>
<published>2023-05-25T01:43:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bc2124dab14fa292e18df2937037d782f7868635'/>
<id>urn:sha1:bc2124dab14fa292e18df2937037d782f7868635</id>
<content type='text'>
Fixes #56381

Change-Id: I95cd603831a7032d764ab312869fe9fb05848a4b
Reviewed-on: https://go-review.googlesource.com/c/go/+/498117
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Benny Siegert &lt;bsiegert@gmail.com&gt;
</content>
</entry>
<entry>
<title>bufio: link "too large to fit" to Scanner.Buffer</title>
<updated>2023-10-14T22:15:54Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2023-10-13T19:38:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=dd491cfa544ff99e2530cd42750eaf318ec1e060'/>
<id>urn:sha1:dd491cfa544ff99e2530cd42750eaf318ec1e060</id>
<content type='text'>
Change-Id: Id0a4f5716da98008eec10eee05b74fc2a155ba3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/535216
Reviewed-by: Mauri de Souza Meneguzzo &lt;mauri870@gmail.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>bufio: add available godoc link</title>
<updated>2023-10-12T14:39:08Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-10-12T06:13:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cf97cd317be0d5fc1fa7b861f143060d7fd9b361'/>
<id>urn:sha1:cf97cd317be0d5fc1fa7b861f143060d7fd9b361</id>
<content type='text'>
Change-Id: Id32bae57c9fcc2074f82089ba9c69be9a601f128
Reviewed-on: https://go-review.googlesource.com/c/go/+/534758
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Run-TryBot: shuang cui &lt;imcusg@gmail.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>bufio: use max/min func</title>
<updated>2023-10-04T04:22:16Z</updated>
<author>
<name>qiulaidongfeng</name>
<email>2645477756@qq.com</email>
</author>
<published>2023-10-04T03:23:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=774d001d178569283cb719bd062cf5d18de51f47'/>
<id>urn:sha1:774d001d178569283cb719bd062cf5d18de51f47</id>
<content type='text'>
Change-Id: I52875f8dd4bbdc9296ba8e4f801356047ee14e62
GitHub-Last-Rev: dfb2a343e60f0994a5741e1b4534e464a80ba2ef
GitHub-Pull-Request: golang/go#63344
Reviewed-on: https://go-review.googlesource.com/c/go/+/532216
Reviewed-by: Robert Griesemer &lt;gri@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Run-TryBot: Robert Griesemer &lt;gri@google.com&gt;
Auto-Submit: Robert Griesemer &lt;gri@google.com&gt;
</content>
</entry>
<entry>
<title>bufio: clarify the maximum token size</title>
<updated>2023-08-16T02:07:18Z</updated>
<author>
<name>qiulaidongfeng</name>
<email>2645477756@qq.com</email>
</author>
<published>2023-08-16T02:04:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=850b6ce33ced3d20d036cb41317f783469f3ea86'/>
<id>urn:sha1:850b6ce33ced3d20d036cb41317f783469f3ea86</id>
<content type='text'>
Fixes #43183.

Change-Id: I50d99ef8ed513bba47166a25ea5c7c80cd8bd799
GitHub-Last-Rev: 684d70e9a3dbc0ce280e1112105d666cd5754e9f
GitHub-Pull-Request: golang/go#61979
Reviewed-on: https://go-review.googlesource.com/c/go/+/518860
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>all: remove trailing blank doc comment lines</title>
<updated>2022-04-01T18:18:07Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-01-31T01:11:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=690ac4071fa3e07113bf371c9e74394ab54d6749'/>
<id>urn:sha1:690ac4071fa3e07113bf371c9e74394ab54d6749</id>
<content type='text'>
A future change to gofmt will rewrite

	// Doc comment.
	//
	func f()

to

	// Doc comment.
	func f()

Apply that change preemptively to all doc comments.

For #51082.

Change-Id: I4023e16cfb0729b64a8590f071cd92f17343081d
Reviewed-on: https://go-review.googlesource.com/c/go/+/384259
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>bufio: mention ErrFinalToken in SplitFunc documentation</title>
<updated>2021-04-30T19:34:38Z</updated>
<author>
<name>Matt Harden</name>
<email>matt.harden@gmail.com</email>
</author>
<published>2021-04-30T01:34:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=93200b98c75500b80a2bf7cc31c2a72deff2741c'/>
<id>urn:sha1:93200b98c75500b80a2bf7cc31c2a72deff2741c</id>
<content type='text'>
It is documented elsewhere in the package documentation but this additional
mention of it will hopefully reduce confusion.

Fixes #44261

Change-Id: I4e9d8f4564ebb7fbe047c92ee2cdffedb39f2a31
GitHub-Last-Rev: 64b6421503dfb9396e46f94f9805ff7f8bf2b31b
GitHub-Pull-Request: golang/go#45839
Reviewed-on: https://go-review.googlesource.com/c/go/+/314969
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
</content>
</entry>
<entry>
<title>scan: for style, adjust code for bad scan read counts</title>
<updated>2020-03-25T22:44:57Z</updated>
<author>
<name>Rob Pike</name>
<email>r@golang.org</email>
</author>
<published>2020-03-25T22:32:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=2975b27bbd3d4e85a2488ac289e112bc0dedfebe'/>
<id>urn:sha1:2975b27bbd3d4e85a2488ac289e112bc0dedfebe</id>
<content type='text'>
Make the code more consistent with the rest of the file.
Should have caught this in review of CL 225357.

Change-Id: I12824cb436539c31604684e043ebb7587cc92471
Reviewed-on: https://go-review.googlesource.com/c/go/+/225557
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
</feed>
