Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/vendor/github.com/edsrzf/mmap-go
Antoine GIRARD 917b9641ec Update to last common bleve (#3986) 7 years ago
..
LICENSE Update to last common bleve (#3986) 7 years ago
README.md Update to last common bleve (#3986) 7 years ago
mmap.go Update to last common bleve (#3986) 7 years ago
mmap_unix.go Update to last common bleve (#3986) 7 years ago
mmap_windows.go Update to last common bleve (#3986) 7 years ago
msync_netbsd.go Update to last common bleve (#3986) 7 years ago
msync_unix.go Update to last common bleve (#3986) 7 years ago

README.md

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.