• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kelindar / bitmap
92%

Build:
DEFAULT BRANCH: main
Repo Added 11 Jun 2021 08:21AM UTC
Files 6
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • GLO-607-add-hex-marshalling
  • aggregate
  • aggregations
  • avx2count
  • batched
  • checks
  • deps
  • filter
  • fix
  • fix-empty
  • fix-noescape
  • gocc
  • header
  • omit-frame-pointer
  • popcount
  • range
  • readfrom
  • readme
  • refs/tags/v1.0.10
  • refs/tags/v1.0.11
  • refs/tags/v1.0.12
  • refs/tags/v1.0.4
  • refs/tags/v1.0.5
  • refs/tags/v1.0.6
  • refs/tags/v1.0.7
  • refs/tags/v1.0.8
  • refs/tags/v1.0.9
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.1.2
  • refs/tags/v1.1.3
  • refs/tags/v1.1.4
  • refs/tags/v1.1.5
  • refs/tags/v1.2.0
  • refs/tags/v1.2.1
  • refs/tags/v1.2.2
  • refs/tags/v1.3.0
  • refs/tags/v1.4.0
  • refs/tags/v1.4.1
  • refs/tags/v1.5.0
  • refs/tags/v1.5.1
  • refs/tags/v1.5.2
  • refs/tags/v1.5.3
  • refs/tags/v1.5.4
  • refs/tags/v1.5.5
  • refs/tags/v1.5.6
  • refs/tags/v1.5.7
  • resize
  • shrink
  • trim

23 Sep 2026 11:30AM UTC coverage: 92.283% (-1.9%) from 94.194%
35854941643

push

github

web-flow
Fix Or/Xor dropping bits when combining bitmaps of different lengths (#51)

* fix: union/xor of different-sized bitmaps drops bits in variadic path

Or and Xor with extra bitmaps used _or_many/_xor_many, which apply a single
word count to every input. The count came from pointersOf, whose length is
the maximum over the extra slice only and ignores other, so a longer other
lost its tail words. More generally a uniform count cannot combine operands
of different lengths: a longer source is truncated and a shorter one is read
past its end.

Fold each source in with the single-operand SIMD primitive over its own
length, matching the scalar reference in simd_generic.go. Fixes the amd64
accelerated and AVX-512 branches and the arm64 branch.

* Keep the _many primitives for equal-sized operands, fold only ragged ones

* test: cover longer ragged bitmap extras

---------

Co-authored-by: Roman <roman.atachiants@gmail.com>

0 of 15 new or added lines in 1 file covered. (0.0%)

586 of 635 relevant lines covered (92.28%)

450.88 hits per line

Relevant lines Covered
Build:
Build:
635 RELEVANT LINES 586 COVERED LINES
450.88 HITS PER LINE
Source Files on main
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35854941643 main Fix Or/Xor dropping bits when combining bitmaps of different lengths (#51) * fix: union/xor of different-sized bitmaps drops bits in variadic path Or and Xor with extra bitmaps used _or_many/_xor_many, which apply a single word count to every in... push 23 Sep 2026 11:30AM UTC web-flow github
92.28
35318689002 main Clear a reused destination past the source in Clone (#50) copy() writes only len(src) words, so a destination longer than the source kept its trailing words: the caller's bitmap became src plus leftovers, and the returned slice shares the array, ... push 18 Sep 2026 07:17AM UTC web-flow github
94.19
35318586043 main Fix fromHex endianness on big-endian architectures (s390x) (#48) * Fix fromHex endianness on big-endian architectures The fromHex function reverses decoded hex bytes into little-endian order, then calls FromBytes() which uses an unsafe pointer c... push 18 Sep 2026 07:16AM UTC web-flow github
94.18
22799769966 main Update dependencies (#45) push 07 Mar 2026 01:18PM UTC web-flow github
94.15
22776799680 main Regenerate with frame pointer omitted (#44) * regenerate with omit frame pointer * bump workflow * only run on push push 06 Mar 2026 06:35PM UTC web-flow github
94.15
15942634682 main update readme push 28 Jun 2025 09:12AM UTC kelindar github
98.3
15122828998 main Fix Compiler Directives (#41) `//go:noescape,nosplit` is not correct directives. The correct one is `//go:nosplit\n//go:noescape`. push 19 May 2025 08:45PM UTC web-flow github
98.3
6766770765 main Fix CountTo (#37) * Fix CountTo * don't panic when passing index past slice bounds push 06 Nov 2023 05:38AM UTC web-flow github
98.3
5435994162 main Fix empty and/or/xor/andn (#36) This PR fixes a regression in 1.5.0 where performing an accelerated version of bitmap operations on an empty bitmap push 02 Jul 2023 10:15AM UTC web-flow github
98.29
4875696123 main Add SIMD support for ARM64, Apple Silicon and AVX512 (#34) push 03 May 2023 07:17PM UTC GitHub github
98.29
See All Builds (144)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc