diff options
Diffstat (limited to 'vendor/github.com/boltdb')
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mips.go | 11 | ||||
-rw-r--r-- | vendor/github.com/boltdb/bolt/bolt_mipsle.go | 11 |
2 files changed, 22 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 diff --git a/vendor/github.com/boltdb/bolt/bolt_mipsle.go b/vendor/github.com/boltdb/bolt/bolt_mipsle.go new file mode 100644 index 0000000000..d5af4d128e --- /dev/null +++ b/vendor/github.com/boltdb/bolt/bolt_mipsle.go @@ -0,0 +1,11 @@ +// +build mipsle +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 |