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

Method NBOptionalPush

circularbuffer/circularbuffer.go:105–134  ·  view source on GitHub ↗

Nonblocking push. Push only if there is space. Otherwise evict v.

(v interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestOptionalPushFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestOptionalPushFunction · 0.76