def ct_found_pick

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

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
import bend-collections@1.0.0.0/src/containers/hash_table.bend as H

610def ct_found_pick(a, -V: Kind(a), f: LRU<a, V>, +at: U32, +l: U32, now: W.U64, absent: Bool) -> LRU<a, V> & Bool:
611  match absent:
612    case True{}:
613      (f, False{})
614    case False{}:
615      ct_hit(a, V, f, H.slot(l), at, now)

Uses (8)

Used by (1)