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

Function asize

container/bitarray/bitarray_test.go:21–27  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

19}
20
21func asize(n int) int {
22 sz := n / 64
23 if n%64 != 0 {
24 sz++
25 }
26 return sz
27}
28
29func TestNew(t *testing.T) {
30 a := New(-1)

Callers 2

TestNewFunction · 0.85
randArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected