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

Method Grow

scode/builder.go:34–36  ·  view source on GitHub ↗

Grow guarantees that at least n bytes can be added to the Builder's underlying buffer without another allocation.

(n int)

Source from the content-addressed store, hash-verified

32// Grow guarantees that at least n bytes can be added to the Builder's
33// underlying buffer without another allocation.
34func (b *Builder) Grow(n int) {
35 b.bytes = slices.Grow(b.bytes, n)
36}
37
38// BeginContainer opens a new container.
39func (b *Builder) BeginContainer() {

Callers 15

LookupTypeMethod · 0.80
readableStreamFunction · 0.80
fillMethod · 0.80
evalForListMethod · 0.80
evalForListMethod · 0.80
listHasErrorFunction · 0.80
pickSlotMethod · 0.80
invalidateMethod · 0.80
fieldIndexMethod · 0.80
ReadMethod · 0.80
compressBufferFunction · 0.80
buildMethod · 0.80

Implementers 15

DynamicBuildervector/builder.go
recordBuildervector/builder.go
arraySetBuildervector/builder.go
mapBuildervector/builder.go
unionBuildervector/builder.go
fusionBuildervector/builder.go
enumBuildervector/builder.go
intBuildervector/builder.go
uintBuildervector/builder.go
floatBuildervector/builder.go
boolBuildervector/builder.go
bytesStringTypeBuildervector/builder.go

Calls

no outgoing calls

Tested by

no test coverage detected