def entry_of

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

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

142# The entry to store: immortal without a lifetime, else due at now + lifetime.
143def entry_of(a, -V: Kind(a), m: Array<U32>, v: V, now: W.U64) -> Array<U32> & Ent<a, V>:
144  ent_ttl(a, V, v, now, Array.get(U32, m, 3))

Uses (7)

Used by (1)