MCPcopy
hub / github.com/grafana/tempo / Put

Method Put

modules/generator/registry/builder.go:28–31  ·  view source on GitHub ↗
(builder *labels.Builder)

Source from the content-addressed store, hash-verified

26}
27
28func (p *safeBuilderPool) Put(builder *labels.Builder) {
29 builder.Reset(labels.New())
30 p.pool.Put(builder)
31}
32
33var builderPool = newSafeBuilderPool()
34

Callers 3

TestSafeBuilderPoolFunction · 0.45
CloseAndBuildLabelsMethod · 0.45
returnEdgeMethod · 0.45

Calls 1

ResetMethod · 0.65

Tested by 1

TestSafeBuilderPoolFunction · 0.36