MCPcopy Index your code
hub / github.com/cloudflare/buffer / New

Function New

buffer.go:235–285  ·  view source on GitHub ↗

New creates a new Buffer backed by the file given by filename. it's max capacity is set to the capacity given

(filename string, capacity int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestAllFunction · 0.85
TestErrorsFunction · 0.85
TestHelpersFunction · 0.85
TestAdviseFunction · 0.85
benchBufferFunction · 0.85

Calls 1

writemetaMethod · 0.95

Tested by 5

TestAllFunction · 0.68
TestErrorsFunction · 0.68
TestHelpersFunction · 0.68
TestAdviseFunction · 0.68
benchBufferFunction · 0.68