diff options
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mips64.go | 8 | ||||
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mips64le.go | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64.go b/vendor/github.com/boltdb/bolt/bolt_mips64.go new file mode 100644 index 0000000000..c1dfbac577 --- /dev/null +++ b/vendor/github.com/boltdb/bolt/bolt_mips64.go @@ -0,0 +1,8 @@ +// +build mips64 +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 diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64le.go b/vendor/github.com/boltdb/bolt/bolt_mips64le.go new file mode 100644 index 0000000000..45be6947a0 --- /dev/null +++ b/vendor/github.com/boltdb/bolt/bolt_mips64le.go @@ -0,0 +1,8 @@ +// +build mips64le +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 |