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

Function size

container/bitarray/bitarray.go:12–18  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

10}
11
12func size(n int) int {
13 sz := n >> 6
14 if n&63 != 0 {
15 sz++
16 }
17 return sz
18}
19
20func New(n int) *BitArray {
21 if n < 0 {

Callers 3

NewFunction · 0.85
NewUsingSliceFunction · 0.85
OrEqualsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected