Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
49
func
PutBytesBuffer(buf *bytes.Buffer) {
50
bytesBuffer.Put(buf)
51
}
Callers
12
getDelta
Function · 0.92
diffDelta
Function · 0.92
indexObjects
Method · 0.92
resolveDeltas
Method · 0.92
get
Method · 0.92
resolveObject
Method · 0.92
getObjectSize
Method · 0.92
getNextObject
Method · 0.92
fillREFDeltaObjectContent
Method · 0.92
fillOFSDeltaObjectContent
Method · 0.92
ApplyDelta
Function · 0.92
TestGetAndPutBytesBuffer
Function · 0.85
Calls
1
Put
Method · 0.65
Tested by
1
TestGetAndPutBytesBuffer
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…