new bolt_ppc64.go similar to bolt_ppc64le.go

version 4 of the patch
pull/24/head
Michel Normand 2016-03-04 07:01:39 +01:00
parent a5ebf41fd5
commit fb2396f544
1 changed files with 9 additions and 0 deletions

9
bolt_ppc64.go Normal file
View File

@ -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