From 69f6bd2f788f235deb9ce86f502099672caa2db9 Mon Sep 17 00:00:00 2001 From: jefby Date: Tue, 8 Sep 2015 10:48:40 +0800 Subject: [PATCH] add bolt_arm64.go for arm64 Signed-off-by: jefby --- bolt_arm64.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bolt_arm64.go diff --git a/bolt_arm64.go b/bolt_arm64.go new file mode 100644 index 0000000..cca6b7e --- /dev/null +++ b/bolt_arm64.go @@ -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