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

Function ioff

container/bitarray/bitarray.go:54–59  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

52}
53
54func ioff(i int) (idx int, off uint32) {
55 ui := uint32(i)
56 idx = int(ui >> 6)
57 off = ui & 63
58 return
59}
60
61func (b *BitArray) Set(i int) {
62 if i < 0 || i >= b.n {

Callers 5

SetMethod · 0.85
ClearMethod · 0.85
IsSetMethod · 0.85
isAnyMethod · 0.85
opRangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected