prysm-pulse/vendor/github.com/edsrzf/mmap-go
Preston Van Loon a41e372b39 First pass collation
Former-commit-id: fa0dc873367b92a06b10fd989e3fec960c03065a [formerly e98efffa565ea6aa3eadeb19c2f9a66a56eb5ddd]
Former-commit-id: ce6e4f01d12015e67a51aa7d928a6ab8e8eedeee
2018-01-12 22:59:17 -05:00
..
LICENSE First pass collation 2018-01-12 22:59:17 -05:00
mmap_unix.go First pass collation 2018-01-12 22:59:17 -05:00
mmap_windows.go First pass collation 2018-01-12 22:59:17 -05:00
mmap.go First pass collation 2018-01-12 22:59:17 -05:00
msync_netbsd.go First pass collation 2018-01-12 22:59:17 -05:00
msync_unix.go First pass collation 2018-01-12 22:59:17 -05:00
README.md First pass collation 2018-01-12 22:59:17 -05:00

mmap-go

mmap-go is a portable mmap package for the Go programming language. It has been tested on Linux (386, amd64), OS X, and Windows (386). It should also work on other Unix-like platforms, but hasn't been tested with them. I'm interested to hear about the results.

I haven't been able to add more features without adding significant complexity, so mmap-go doesn't support mprotect, mincore, and maybe a few other things. If you're running on a Unix-like platform and need some of these features, I suggest Gustavo Niemeyer's gommap.