Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ ByteSlicePut
Function
ByteSlicePut
IceFireDB-SQLite/utils/byte_slice_pool.go:30–36 ·
view source on GitHub ↗
(data []byte)
Source
from the content-addressed store, hash-verified
28
}
29
30
func
ByteSlicePut(data []byte) {
31
select
{
32
case
byteSliceChan <- data:
33
default:
34
byteSlicePool.Put(data)
//nolint:staticcheck
35
}
36
}
Callers
3
writeCommandBuf
Method · 0.92
readResult
Method · 0.92
readResultStreaming
Method · 0.92
Calls
1
Put
Method · 0.45
Tested by
no test coverage detected