Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/golang/groupcache
/ view
Method
view
sinks.go:42–42 ·
view source on GitHub ↗
view returns a frozen view of the bytes for caching.
()
Source
from the content-addressed store, hash-verified
40
41
// view returns a frozen view of the bytes for caching.
42
view() (ByteView, error)
43
}
44
45
func
cloneBytes(b []byte) []byte {
Callers
2
TestAllocatingByteSliceTarget
Function · 0.65
getLocally
Method · 0.65
Implementers
5
stringSink
sinks.go
byteViewSink
sinks.go
protoSink
sinks.go
allocBytesSink
sinks.go
truncBytesSink
sinks.go
Calls
no outgoing calls
Tested by
1
TestAllocatingByteSliceTarget
Function · 0.52