mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-05-31 11:42:30 +00:00
add bolt_arm64.go for arm64
Signed-off-by: jefby <jef199006@gmail.com>
This commit is contained in:
parent
0c24824a36
commit
69f6bd2f78
7
bolt_arm64.go
Normal file
7
bolt_arm64.go
Normal file
@ -0,0 +1,7 @@
|
||||
package bolt
|
||||
|
||||
// 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