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

Function releaseFolder

interpreter/interpretable.go:1525–1528  ·  view source on GitHub ↗

releaseFolder resets and releases a pooled folder instance.

(f *folder)

Source from the content-addressed store, hash-verified

1523
1524// releaseFolder resets and releases a pooled folder instance.
1525func releaseFolder(f *folder) {
1526 f.reset()
1527 folderPool.Put(f)
1528}
1529
1530// folder tracks the state associated with folding a list or map with a comprehension v2 style macro.
1531//

Callers 4

TestFolderActivationFunction · 0.85
ExecMethod · 0.85

Calls 1

resetMethod · 0.45

Tested by 3

TestFolderActivationFunction · 0.68