Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ yoloString
Function
yoloString
pkg/cortexpb/timeseries.go:274–276 ·
view source on GitHub ↗
(buf []byte)
Source
from the content-addressed store, hash-verified
272
}
273
274
func
yoloString(buf []byte) string {
275
return
*((*string)(unsafe.Pointer(&buf)))
276
}
277
278
// Size implements proto.Sizer.
279
func
(bs *LabelAdapter) Size() (n int) {
Callers
2
Unmarshal
Method · 0.70
copyStringToBuffer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected