def kx_check

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

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

809def kx_check(a, -V: Kind(a), f: LRU<a, V>, +now: W.U64) -> Kx<a, V>:
810  F{cap, n, +head, tail, free, m, tab, ks, ents, lk} = f
811  kx_if(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, now, U32.is_eq(head, 0))

Uses (5)

Used by (2)