MCPcopy
hub / github.com/tinylib/msgp / SetMaxRecursionDepth

Method SetMaxRecursionDepth

msgp/read.go:228–230  ·  view source on GitHub ↗

SetMaxRecursionDepth sets the maximum recursion depth.

(d int)

Source from the content-addressed store, hash-verified

226
227// SetMaxRecursionDepth sets the maximum recursion depth.
228func (m *Reader) SetMaxRecursionDepth(d int) {
229 m.maxRecursionDepth = d
230}
231
232// GetMaxRecursionDepth returns the maximum recursion depth.
233// Set to 0 to use the default value of 100000.

Callers 1

FuzzReaderFunction · 0.95

Calls

no outgoing calls

Tested by 1

FuzzReaderFunction · 0.76