Codebase list golang-github-boltdb-bolt / run/74dafccf-4639-499a-be7e-2914454a693b/main bolt_386.go
run/74dafccf-4639-499a-be7e-2914454a693b/main

Tree @run/74dafccf-4639-499a-be7e-2914454a693b/main (Download .tar.gz)

bolt_386.go @run/74dafccf-4639-499a-be7e-2914454a693b/mainraw · history · blame

package bolt

// maxMapSize represents the largest mmap size supported by Bolt.
const maxMapSize = 0x7FFFFFFF // 2GB

// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0xFFFFFFF

// Are unaligned load/stores broken on this arch?
var brokenUnaligned = false