summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/boltdb/bolt/bolt_mips.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/boltdb/bolt/bolt_mips.go')
-rw-r--r--vendor/github.com/boltdb/bolt/bolt_mips.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/boltdb/bolt/bolt_mips.go b/vendor/github.com/boltdb/bolt/bolt_mips.go
new file mode 100644
index 0000000000..1c06342ea7
--- /dev/null
+++ b/vendor/github.com/boltdb/bolt/bolt_mips.go
@@ -0,0 +1,11 @@
+// +build mips
+package bolt
+
+// maxMapSize represents the largest mmap size supported by Bolt.
+const maxMapSize = 0x40000000 // 1GB
+
+// maxAllocSize is the size used when creating array pointers.
+const maxAllocSize = 0xFFFFFFF
+
+// brokenUnaligned Are unaligned load/stores broken on this arch?
+var brokenUnaligned = false