MCPcopy Create free account
hub / github.com/cel-expr/cel-go / releaseFolder

Function releaseFolder

interpreter/interpretable.go:1483–1486  ·  view source on GitHub ↗

releaseFolder resets and releases a pooled folder instance.

(f *folder)

Source from the content-addressed store, hash-verified

1481
1482// releaseFolder resets and releases a pooled folder instance.
1483func releaseFolder(f *folder) {
1484 f.reset()
1485 folderPool.Put(f)
1486}
1487
1488// folder tracks the state associated with folding a list or map with a comprehension v2 style macro.
1489//

Callers 2

TestFolderActivationFunction · 0.85
ExecMethod · 0.85

Calls 1

resetMethod · 0.45

Tested by 1

TestFolderActivationFunction · 0.68