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

Method Reset

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

Reset sets all values to zero.

()

Source from the content-addressed store, hash-verified

46 ClearBit(k uint64) error
47 // Reset sets all values to zero.
48 Reset()
49 // Blocks returns an iterator to be used to iterate
50 // over the bit array.
51 Blocks() Iterator

Callers 13

TestGetSetCompressedBitsFunction · 0.65
TestCompressedCountFunction · 0.65
TestCountFunction · 0.65
TestClearFunction · 0.65
TestGetSetBitsFunction · 0.65

Implementers 2

sparseBitArraybitarray/sparse_bitarray.go
bitArraybitarray/bitarray.go

Calls

no outgoing calls

Tested by 13

TestGetSetCompressedBitsFunction · 0.52
TestCompressedCountFunction · 0.52
TestCountFunction · 0.52
TestClearFunction · 0.52
TestGetSetBitsFunction · 0.52