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

Method project

runtime/vcache/float.go:29–34  ·  view source on GitHub ↗
(loader *loader, projection field.Projection)

Source from the content-addressed store, hash-verified

27func (*float) unmarshal(*csup.Context, field.Projection) {}
28
29func (f *float) project(loader *loader, projection field.Projection) vector.Any {
30 if len(projection) > 0 {
31 return vector.NewMissing(loader.sctx, f.length())
32 }
33 return vector.NewFloat(f.meta.Typ, f.load(loader))
34}
35
36func (f *float) load(loader *loader) []float64 {
37 f.mu.Lock()

Callers

nothing calls this directly

Calls 4

lengthMethod · 0.95
loadMethod · 0.95
NewMissingFunction · 0.92
NewFloatFunction · 0.92

Tested by

no test coverage detected