mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
Add support for loong64 arch. (#303)
This commit is contained in:
parent
9b8a60db84
commit
7d9f2ecba1
9
bolt_loong64.go
Normal file
9
bolt_loong64.go
Normal file
@ -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…
x
Reference in New Issue
Block a user