MCPcopy Create free account
hub / github.com/corestoreio/pkg / Put

Method Put

util/hashpool/hashpool.go:154–157  ·  view source on GitHub ↗

Put empties the hash and returns it back to the pool. hp := New(fnv.New64) hsh := hp.Get() defer hp.Put(hsh) // your code return hsh.Sum([]byte{})

(h hash.Hash64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

SumMethod · 0.95
EqualReaderMethod · 0.95
sqlIfNullFunction · 0.45
sqlCaseFunction · 0.45
toSQLMethod · 0.45
prepareQueryAndArgsMethod · 0.45
pooledBufferColumnMapPutFunction · 0.45
pooledInterfacesPutFunction · 0.45
buildToSQLMethod · 0.45
ToSQLMethod · 0.45
extractReplaceNamedArgsFunction · 0.45

Calls 1

ResetMethod · 0.45

Tested by 2

BenchmarkInterpolateFunction · 0.36
benchmarkTank_Hash64Function · 0.36