mirror of https://github.com/etcd-io/bbolt.git
Add support for loong64 arch. (#303)
parent
9b8a60db84
commit
7d9f2ecba1
|
@ -0,0 +1,9 @@
|
||||||
|
// +build loong64
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in New Issue