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

Method Encode

csup/float.go:46–53  ·  view source on GitHub ↗
(group *errgroup.Group)

Source from the content-addressed store, hash-verified

44}
45
46func (f *FloatEncoder) Encode(group *errgroup.Group) {
47 group.Go(func() error {
48 bytes := slices.Clone(byteconv.ReinterpretSlice[byte](f.vals))
49 var err error
50 f.fmt, f.out, err = compressBuffer(bytes)
51 return err
52 })
53}
54
55func (u *FloatEncoder) Metadata(cctx *Context, off uint64) (uint64, ID) {
56 loc := Segment{

Callers

nothing calls this directly

Calls 2

compressBufferFunction · 0.85
CloneMethod · 0.65

Tested by

no test coverage detected