mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
3aa5d0aeda
Add assertions to highlight what the various data structures should look like. Also assert to ensure that mIndexPrefixes is always the same length as mIndexDeltas and avoid writing the prefixes to disk if that's not the case. Do a single fallible allocation before we create the indexStarts array instead of checking on each AppendElement() to simplify the loop and emphasize the number of elements that the array will receive (indexSize + 1). Remove the last element since we don't actually end up writing it to disk. MozReview-Commit-ID: HIg7ZmgaL7x Differential Revision: https://phabricator.services.mozilla.com/D2063 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
moz.build | ||
moz.configure | ||
nss.configure | ||
toolkit.mozbuild |