def ent_ttl

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

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

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))

Uses (8)

Used by (1)