TreePseudoLru constructor
- int entryCount
Creates the algorithm for entryCount entries.
Implementation
TreePseudoLru(this.entryCount) {
if (entryCount < 1 || (entryCount & (entryCount - 1)) != 0) {
throw ArgumentError.value(
entryCount, 'entryCount', 'Must be a positive power of two.');
}
if (entryCount > nativeMaskBits) {
throw ArgumentError.value(entryCount, 'entryCount',
'Must fit in $nativeMaskBits integer mask bits.');
}
}