def add_go

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

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

424def add_go(a, -V: Kind(a), f: LRU<a, V>, key: String, v: V, now: W.U64) -> LRU<a, V> & Bool:
425  F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f
426  add_m(a, V, cap, n, head, tail, free, tab, ks, ents, lk, key, v, now, Array.get(U32, m, 6))

Uses (8)

Used by (1)