bench-forgejo/vendor/go.etcd.io/bbolt/bolt_ppc.go
6543 fdf750e4d4
[Vendor] blevesearch v0.8.1 -> v1.0.7 ()
* Update blevesearch v0.8.1 -> v1.0.7

* make vendor

Co-authored-by: zeripath <art27@cantab.net>
2020-05-10 06:40:54 +01:00

9 lines
228 B
Go
Vendored

// +build ppc
package bbolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x7FFFFFFF // 2GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF