Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Workiva/go-datastructures
/ deleteAtIndex
Method
deleteAtIndex
bitarray/sparse_bitarray.go:99–103 ·
view source on GitHub ↗
(i int64)
Source
from the content-addressed store, hash-verified
97
}
98
99
func
(b *blocks) deleteAtIndex(i int64) {
100
copy((*b)[i:], (*b)[i+1:])
101
(*b)[len(*b)-1] = block(0)
102
*b = (*b)[:len(*b)-1]
103
}
104
105
type
sparseBitArray
struct
{
106
blocks blocks
Callers
2
andSparseWithDenseBitArray
Function · 0.45
ClearBit
Method · 0.45
Calls
1
block
TypeAlias · 0.85
Tested by
no test coverage detected