MCPcopy Create free account
hub / github.com/brunocalza/buffer-pool-manager / newCircularList

Function newCircularList

circular_list.go:118–120  ·  view source on GitHub ↗
(maxSize int)

Source from the content-addressed store, hash-verified

116}
117
118func newCircularList(maxSize int) *circularList {
119 return &circularList{nil, nil, 0, maxSize}
120}

Callers 3

TestHasKeyFunction · 0.85
TestSizeFunction · 0.85
NewClockReplacerFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestHasKeyFunction · 0.68
TestSizeFunction · 0.68