MCPcopy Create free account
hub / github.com/cloudflare/golibs / NewCircularBuffer

Function NewCircularBuffer

circularbuffer/circularbuffer.go:60–66  ·  view source on GitHub ↗

Create CircularBuffer object with a prealocated buffer of a given size.

(size uint)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

TestSyncGetFunction · 0.85
TestSyncOverflowFunction · 0.85
TestAsyncGetFunction · 0.85
TestSyncPopFunction · 0.85
TestASyncPopFunction · 0.85
TestEjectFunction · 0.85
TestOptionalPushFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestSyncGetFunction · 0.68
TestSyncOverflowFunction · 0.68
TestAsyncGetFunction · 0.68
TestSyncPopFunction · 0.68
TestASyncPopFunction · 0.68
TestEjectFunction · 0.68
TestOptionalPushFunction · 0.68