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

Function WriteCSUP

fuzz/fuzz.go:70–74  ·  view source on GitHub ↗
(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer)

Source from the content-addressed store, hash-verified

68}
69
70func WriteCSUP(t testing.TB, valuesIn []super.Value, buf *bytes.Buffer) {
71 writer := csup.NewValWriter(sio.NopCloser(buf))
72 require.NoError(t, sio.Copy(writer, sbuf.NewArray(valuesIn)))
73 require.NoError(t, writer.Close())
74}
75
76func RunQueryBSUP(t testing.TB, buf *bytes.Buffer, querySource string) []super.Value {
77 sctx := super.NewContext()

Callers 3

FuzzQueryFunction · 0.92
BenchmarkReadCSUPFunction · 0.92
roundtripFunction · 0.92

Calls 5

CloseMethod · 0.95
NewValWriterFunction · 0.92
NopCloserFunction · 0.92
CopyFunction · 0.92
NewArrayFunction · 0.92

Tested by 3

FuzzQueryFunction · 0.74
BenchmarkReadCSUPFunction · 0.74
roundtripFunction · 0.74