* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 6123 | * bidirectionally links two entries of the LRU linked list |
| 6124 | */ |
| 6125 | function link(nextEntry, prevEntry) { |
| 6126 | if (nextEntry != prevEntry) { |
| 6127 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 6128 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 6129 | } |
| 6130 | } |
| 6131 | } |
| 6132 | |
| 6133 |
no outgoing calls
no test coverage detected