MCPcopy
hub / github.com/etcd-io/bbolt / NewHashMapFreelist

Function NewHashMapFreelist

internal/freelist/hashmap.go:299–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297}
298
299func NewHashMapFreelist() Interface {
300 hm := &hashMap{
301 shared: newShared(),
302 freemaps: make(map[uint64]pidSet),
303 forwardMap: make(map[common.Pgid]uint64),
304 backwardMap: make(map[common.Pgid]uint64),
305 }
306 hm.Interface = hm
307 return hm
308}

Calls 1

newSharedFunction · 0.85