def rd_hit

bend-collections@1.0.0.0 · src/containers/lru.bend:530

import bend-collections@1.0.0.0/src/containers/lru.bend as Lru
import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W

530def rd_hit(-V: Data, f: LRU<&2, V>, +s: U32, +at: U32, now: W.U64, +tracked: Bool) -> LRU<&2, V> & Maybe<&2, V>:
531  F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f
532  rd_g(V, cap, n, head, tail, free, m, tab, ks, ents, s, at, tracked, gone(lk, s, now))

Uses (8)

Used by (1)