Merge pull request #414 from jefby/jefby

add bolt_arm64.go for arm64
master
Ben Johnson 2015-09-09 13:14:45 -06:00
commit 9f37fd92c7
1 changed files with 7 additions and 0 deletions

7
bolt_arm64.go Normal file
View File

@ -0,0 +1,7 @@
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