add bolt_arm64.go for arm64

Signed-off-by: jefby <jef199006@gmail.com>
master
jefby 2015-09-08 10:48:40 +08:00
parent 0c24824a36
commit 69f6bd2f78
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