diff options
author | Jakob Unterwurzacher | 2024-05-05 22:05:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2024-05-05 22:05:08 +0200 |
commit | c85c092189df44e9a88ad30c1f91cfc7fbeb4ccb (patch) | |
tree | 992b2b0f9ab705e14340038d580977eca745d175 /internal/inomap/inomap_test.go | |
parent | ed0a12b7337c2d88c027329f64e73070da17d5b3 (diff) |
inomap: incorporate spillBit into the spillNext start value
This avoids the manual "| spillBit" logic.
Diffstat (limited to 'internal/inomap/inomap_test.go')
-rw-r--r-- | internal/inomap/inomap_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/inomap/inomap_test.go b/internal/inomap/inomap_test.go index 9ec2932..430ec94 100644 --- a/internal/inomap/inomap_test.go +++ b/internal/inomap/inomap_test.go @@ -5,6 +5,11 @@ import ( "testing" ) +const ( + // bit 63 is used as the spill bit + spillBit = 1 << 63 +) + func TestTranslate(t *testing.T) { m := New(0) q := QIno{Ino: 1} |