From e7905fdf275fbb520de97df1eccdcd20e3d9aa6f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 25 Oct 2024 10:19:35 -0300 Subject: Move code to src/ and tests/ --- src/bolt_ppc64le.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/bolt_ppc64le.go (limited to 'src/bolt_ppc64le.go') diff --git a/src/bolt_ppc64le.go b/src/bolt_ppc64le.go new file mode 100644 index 0000000..8c143bc --- /dev/null +++ b/src/bolt_ppc64le.go @@ -0,0 +1,12 @@ +// +build ppc64le + +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 + +// Are unaligned load/stores broken on this arch? +var brokenUnaligned = false -- cgit v1.2.3