MCPcopy Create free account
hub / github.com/brimdata/super / newConst

Function newConst

runtime/vcache/const.go:15–17  ·  view source on GitHub ↗
(cctx *csup.Context, meta *csup.Const)

Source from the content-addressed store, hash-verified

13}
14
15func newConst(cctx *csup.Context, meta *csup.Const) *const_ {
16 return &const_{meta: meta, len: meta.Len(cctx)}
17}
18
19func (c *const_) length() uint32 {
20 return c.len

Callers 1

newShadowFunction · 0.85

Calls 1

LenMethod · 0.65

Tested by

no test coverage detected