Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ SetMaxOffheapBytes
Function
SetMaxOffheapBytes
pkg/utils/unsafe2/slice.go:25–27 ·
view source on GitHub ↗
(n int64)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
SetMaxOffheapBytes(n int64) {
26
maxOffheapBytes.Set(n)
27
}
28
29
const
MinOffheapSlice = 1024 * 16
30
Callers
1
TestMakeCGoSlice
Function · 0.85
Calls
1
Set
Method · 0.45
Tested by
1
TestMakeCGoSlice
Function · 0.68