mirror of https://github.com/etcd-io/bbolt.git
Merge pull request #531 from michelmno/master
new bolt_ppc64.go similar to bolt_ppc64le.gopull/24/head
commit
b514920f8f
|
@ -0,0 +1,9 @@
|
|||
// +build ppc64
|
||||
|
||||
package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0xFFFFFFFFFFFF // 256TB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0x7FFFFFFF
|
Loading…
Reference in New Issue