vendor/github.com/coreos/bbolt/bolt_mipsx.go
raw| 1 | // +build mips mipsle |
| 2 | |
| 3 | package bolt |
| 4 | |
| 5 | // maxMapSize represents the largest mmap size supported by Bolt. |
| 6 | const maxMapSize = 0x40000000 // 1GB |
| 7 | |
| 8 | // maxAllocSize is the size used when creating array pointers. |
| 9 | const maxAllocSize = 0xFFFFFFF |
| 10 | |
| 11 | // Are unaligned load/stores broken on this arch? |
| 12 | var brokenUnaligned = false |