MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / IsAllUnmarked

Method IsAllUnmarked

client/bitmap.go:60–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60func (b *BitMap) IsAllUnmarked() bool {
61 for i := 0; i < b.size/8; i++ {
62 if b.bits[i] != 0 {
63 return false
64 }
65 }
66 for i := 0; i < b.size%8; i++ {
67 if (b.bits[b.size/8] & BitUtil[i]) != 0 {
68 return false
69 }
70 }
71 return true
72}
73
74func (b *BitMap) GetBits() []byte {
75 return b.bits

Callers 1

getValuesBytesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected