MCPcopy Index your code
hub / github.com/Workiva/go-datastructures / Intersects

Method Intersects

bitarray/interface.go:57–57  ·  view source on GitHub ↗

Intersects returns a bool indicating if the other bit array intersects with this bit array.

(other BitArray)

Source from the content-addressed store, hash-verified

55 // Intersects returns a bool indicating if the other bit
56 // array intersects with this bit array.
57 Intersects(other BitArray) bool
58 // Capacity returns either the given capacity of the bit array
59 // in the case of a dense bit array or the highest possible
60 // seen capacity of the sparse array.

Callers 7

TestCompressedIntersectsFunction · 0.65
TestIntersectsFunction · 0.65
BenchmarkIntersectsFunction · 0.65

Implementers 2

sparseBitArraybitarray/sparse_bitarray.go
bitArraybitarray/bitarray.go

Calls

no outgoing calls

Tested by 7

TestCompressedIntersectsFunction · 0.52
TestIntersectsFunction · 0.52
BenchmarkIntersectsFunction · 0.52