commit | 5559a165f5d714f5e4d79f6f3551666d6ceddf24 | [log] [tgz] |
---|---|---|
author | ye.sijun <junnplus@gmail.com> | Fri Dec 17 06:02:11 2021 +0000 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Tue Dec 21 17:41:06 2021 +0000 |
tree | 17fb34743f2df8482e3b66e5a8ec77089a8f11d5 | |
parent | b2b84827b756bdb1c04a937edf5480545490624b [diff] |
mmap: use unsafe.Slice rather than maxBytes array Fixes golang/go#49106 Change-Id: I79883a26d8c444645e86449c35e331bb749501a9 GitHub-Last-Rev: 614eef621c3dc49407f1962f4723e39910b68824 GitHub-Pull-Request: golang/exp#22 Reviewed-on: https://go-review.googlesource.com/c/exp/+/372834 Reviewed-by: Yaakov Selkowitz <yselkowi@redhat.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.