зеркало из https://github.com/mozilla/gecko-dev.git
f5ca1ba02d
This is a similar concept as `nullptr` is to a pointer. `BlocksRingBuffer` now skips the first byte in the buffer, so that no entries start at 0 (the internal default `BlockIndex` value). All `BlocksRingBuffer` public APIs handle this default value, and do nothing and/or return Nothing (as if it pointed at an already-deleted entry). Added tests for this, and for all BlockIndex operations. Differential Revision: https://phabricator.services.mozilla.com/D38667 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
android | ||
baseprofiler | ||
build | ||
linker | ||
misc | ||
tests | ||
moz.build |