MCPcopy Index your code
hub / github.com/dropbox/godropbox / set

Method set

container/bitarray/bitarray.go:46–48  ·  view source on GitHub ↗
(idx int, off uint32)

Source from the content-addressed store, hash-verified

44}
45
46func (b *BitArray) set(idx int, off uint32) {
47 b.vs[idx] |= 1 << off
48}
49
50func (b *BitArray) clear(idx int, off uint32) {
51 b.vs[idx] &= ^(1 << off)

Callers 1

SetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected