def add_full

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

import bend-collections@1.0.0.0/src/containers/lru.bend as Lru
import Base

397def add_full(a, -V: Kind(a), f: LRU<a, V>, key: String, +at: U32, +h: U32, e: Ent<a, V>) -> LRU<a, V> & Bool:
398  F{+cap, +n, head, tail, free, m, tab, ks, ents, lk} = f
399  add_miss(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, key, at, h, e, U32.is_le(cap, n))

Uses (8)

Used by (1)