MCPcopy Create free account
hub / github.com/tendermint/tendermint / not

Method not

libs/bits/bit_array.go:175–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173}
174
175func (bA *BitArray) not() *BitArray {
176 c := bA.copy()
177 for i := 0; i < len(c.Elems); i++ {
178 c.Elems[i] = ^c.Elems[i]
179 }
180 return c
181}
182
183// Sub subtracts the two bit-arrays bitwise, without carrying the bits.
184// Note that carryless subtraction of a - b is (a and not b).

Callers 1

NotMethod · 0.95

Calls 1

copyMethod · 0.95

Tested by

no test coverage detected