MCPcopy 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
274func yoloString(buf []byte) string {
275 return *((*string)(unsafe.Pointer(&buf)))
276}
277
278// Size implements proto.Sizer.
279func (bs *LabelAdapter) Size() (n int) {

Callers 2

UnmarshalMethod · 0.70
copyStringToBufferFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected