def ent_ttl
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
138def ent_ttl(a, -V: Kind(a), v: V, now: W.U64, r: Array<U32> & U32) -> Array<U32> & Ent<a, V>:
139 (m, +t) = r
140 ent_if(a, V, v, now, m, U32.is_ne(t, 0))