MCPcopy 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
25func SetMaxOffheapBytes(n int64) {
26 maxOffheapBytes.Set(n)
27}
28
29const MinOffheapSlice = 1024 * 16
30

Callers 1

TestMakeCGoSliceFunction · 0.85

Calls 1

SetMethod · 0.45

Tested by 1

TestMakeCGoSliceFunction · 0.68