diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-10-09 08:39:41 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-10-09 08:39:41 -0600 |
commit | 14ea02b7ee56ea0440b8e42b333934fdf623f214 (patch) | |
tree | 5032b7e965683e7090ccf7114ce6a0ee8a4917fc | |
parent | Merge pull request #428 from lukechampine/patch-1 (diff) | |
parent | Add support for arm64 (diff) | |
download | dedo-14ea02b7ee56ea0440b8e42b333934fdf623f214.tar.gz dedo-14ea02b7ee56ea0440b8e42b333934fdf623f214.tar.xz |
Merge pull request #435 from hqhq/hq_add_arm64
Add support for arm64
-rw-r--r-- | bolt_arm64.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bolt_arm64.go b/bolt_arm64.go new file mode 100644 index 0000000..6d23093 --- /dev/null +++ b/bolt_arm64.go @@ -0,0 +1,9 @@ +// +build arm64 + +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 |