Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ newGoSlice
Function
newGoSlice
pkg/utils/unsafe2/go_slice.go:12–16 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
10
}
11
12
func
newGoSlice(n int) Slice {
13
return
&goSlice{
14
buf: make([]byte, n),
15
}
16
}
17
18
func
newGoSliceFrom(parent Slice, buf []byte) Slice {
19
return
&goSlice{
Callers
1
MakeSlice
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected