MCPcopy Index your code
hub / github.com/celzero/firestack / K

Method K

intra/core/expiringmap.go:151–183  ·  view source on GitHub ↗

K sets the (value, expiry) for the given key and returns the number of hits. expiry must be greater than the minimum lifetime.

(key P, value Q, expiry time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

PutMethod · 0.80
setCachedIPMetaFunction · 0.80

Calls 2

doneFunction · 0.85
AddMethod · 0.65

Tested by

no test coverage detected