MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / GetFunctionCall

Function GetFunctionCall

pkg/sql/ast/pool.go:1126–1130  ·  view source on GitHub ↗

GetFunctionCall gets a FunctionCall from the pool

()

Source from the content-addressed store, hash-verified

1124
1125// GetFunctionCall gets a FunctionCall from the pool
1126func GetFunctionCall() *FunctionCall {
1127 fc := functionCallPool.Get().(*FunctionCall)
1128 fc.Arguments = fc.Arguments[:0]
1129 return fc
1130}
1131
1132// PutFunctionCall returns a FunctionCall to the pool
1133func PutFunctionCall(fc *FunctionCall) {

Callers 2

TestPutFunctionCallFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by 2

TestPutFunctionCallFunction · 0.68