diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2016-03-04 11:33:41 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2016-03-04 11:33:41 -0700 |
commit | b514920f8f2e0a68f857e5a12c774f385a59aef9 (patch) | |
tree | f690141bed05d8b538e4376a2d845ea8a01fae5a | |
parent | Merge pull request #527 from peteheist/master (diff) | |
parent | new bolt_ppc64.go similar to bolt_ppc64le.go (diff) | |
download | dedo-b514920f8f2e0a68f857e5a12c774f385a59aef9.tar.gz dedo-b514920f8f2e0a68f857e5a12c774f385a59aef9.tar.xz |
Merge pull request #531 from michelmno/master
new bolt_ppc64.go similar to bolt_ppc64le.go
-rw-r--r-- | bolt_ppc64.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bolt_ppc64.go b/bolt_ppc64.go new file mode 100644 index 0000000..2dc6be0 --- /dev/null +++ b/bolt_ppc64.go @@ -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 |