MCPcopy Create free account
hub / github.com/Agzs/BlockMaze / TestEncodeToReaderReturnToPool

Function TestEncodeToReaderReturnToPool

go-ethereum/rlp/encode_test.go:323–341  ·  view source on GitHub ↗

This is a regression test verifying that encReader returns its encbuf to the pool only once.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

EncodeToReaderFunction · 0.85
ReadAllMethod · 0.80
ReadMethod · 0.65
WaitMethod · 0.65
AddMethod · 0.45

Tested by

no test coverage detected