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

Function PutDecoder

internal/codec/codec.go:65–68  ·  view source on GitHub ↗

PutDecoder returns a decoder to the pool.

(d *Decoder)

Source from the content-addressed store, hash-verified

63
64// PutDecoder returns a decoder to the pool.
65func PutDecoder(d *Decoder) {
66 d.Reset(nil)
67 decPool.Put(d)
68}

Callers 12

indexReportMethod · 0.92
affectedManifestsMethod · 0.92
ScanMethod · 0.92
updateOperationsMethod · 0.92
UpdateDiffMethod · 0.92
AffectedManifestsMethod · 0.92
IndexMethod · 0.92
IndexReportMethod · 0.92
DeleteManifestsMethod · 0.92
IndexReportMethod · 0.92
VulnerabilityReportMethod · 0.92
BenchmarkDecodeFunction · 0.85

Calls 1

ResetMethod · 0.80

Tested by 1

BenchmarkDecodeFunction · 0.68