def kx_head

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

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

798def kx_head(a, -V: Kind(a), f: LRU<a, V>, +now: W.U64) -> Kx<a, V>:
799  F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f
800  kx_g(a, V, cap, n, head, tail, free, m, tab, ks, ents, gone(lk, H.slot(head), now))

Uses (6)

Used by (1)