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 riscv64
package bbolt
// 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
// Are unaligned load/stores broken on this arch?
var brokenUnaligned = true