Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ BytesBufferPut
Function
BytesBufferPut
IceFireDB-SQLite/utils/bytes_buffer_pool.go:29–35 ·
view source on GitHub ↗
(data *bytes.Buffer)
Source
from the content-addressed store, hash-verified
27
}
28
29
func
BytesBufferPut(data *bytes.Buffer) {
30
select
{
31
case
bytesBufferChan <- data:
32
default:
33
bytesBufferPool.Put(data)
34
}
35
}
Callers
1
ReadPacketReuseMem
Method · 0.92
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected