MCPcopy Create free account
hub / github.com/quay/clair / PutEncoder

Function PutEncoder

internal/codec/codec.go:49–52  ·  view source on GitHub ↗

PutEncoder returns an encoder to the pool.

(e *Encoder)

Source from the content-addressed store, hash-verified

47
48// PutEncoder returns an encoder to the pool.
49func PutEncoder(e *Encoder) {
50 e.Reset(nil)
51 encPool.Put(e)
52}
53
54// Decoder decodes.
55type Decoder = codec.Decoder

Callers 13

getMethod · 0.92
indexReportMethod · 0.92
indexReportOneMethod · 0.92
indexStateMethod · 0.92
affectedManifestsMethod · 0.92
vulnerabilityReportMethod · 0.92
updateDiffHandlerMethod · 0.92
CloseMethod · 0.92
manifestActionFunction · 0.92
JSONReaderFunction · 0.85
ExampleFunction · 0.85

Calls 1

ResetMethod · 0.80

Tested by 2

ExampleFunction · 0.68
TestTimeNotNullFunction · 0.68