lazyInit lazily initializes a zero List Value.
()
| 423 | |
| 424 | // lazyInit lazily initializes a zero List Value. |
| 425 | func (l *LruList[K, V]) lazyInit() { |
| 426 | if l.root.next == nil { |
| 427 | l.Init() |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | // insert inserts e after at, increments l.len, and returns e. |
| 432 | func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] { |
no test coverage detected