cache: follow move of upstream library github.com/coreos/bbolt github.com/etcd-io/bbolt

This commit is contained in:
Nick Craig-Wood
2019-11-14 21:51:34 +00:00
parent 3da1cbfc81
commit 3dcf1e61cf
36 changed files with 6 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
// +build mips64 mips64le
package bbolt
// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x8000000000 // 512GB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0x7FFFFFFF
// Are unaligned load/stores broken on this arch?
var brokenUnaligned = false