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

Method Sum

util/hashpool/hashpool.go:54–60  ·  view source on GitHub ↗

Sum calculates the hash of data and appends the current hash to appendTo and returns the resulting slice. It does not change the underlying hash state. It fetches a hash from the pool and returns it after writing the sum. No need to call Get() and Put().

(data, appendTo []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

SumHexMethod · 0.95
EqualMethod · 0.95
EqualPairsMethod · 0.95
EqualReaderMethod · 0.45
TestNew64Function · 0.45

Calls 3

GetMethod · 0.95
PutMethod · 0.95
WriteMethod · 0.65

Tested by 1

TestNew64Function · 0.36