MCPcopy Index your code
hub / github.com/go-git/go-git / PutBytesBuffer

Function PutBytesBuffer

utils/sync/bytes.go:49–51  ·  view source on GitHub ↗

PutBytesBuffer puts buf back into its sync.Pool.

(buf *bytes.Buffer)

Source from the content-addressed store, hash-verified

47
48// PutBytesBuffer puts buf back into its sync.Pool.
49func PutBytesBuffer(buf *bytes.Buffer) {
50 bytesBuffer.Put(buf)
51}

Callers 12

getDeltaFunction · 0.92
diffDeltaFunction · 0.92
indexObjectsMethod · 0.92
resolveDeltasMethod · 0.92
getMethod · 0.92
resolveObjectMethod · 0.92
getObjectSizeMethod · 0.92
getNextObjectMethod · 0.92
ApplyDeltaFunction · 0.92
TestGetAndPutBytesBufferFunction · 0.85

Calls 1

PutMethod · 0.65

Tested by 1

TestGetAndPutBytesBufferFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…