Chromium Code Reviews
DescriptionFix header map nextPowerOf2 method.
Ensure that capacity is always the next power of two over count. This
fixes a bug where capacity and count could be equal if count was
already a power of two.
BUG=603210
R=sdefresne@chromium.org
Committed: https://chromium.googlesource.com/external/gyp/+/db72e9fcf55ba9d8089f0bc7e447180f8972b5c0
Patch Set 1 #Patch Set 2 : Better fix #Patch Set 3 : Add second header (so it's a power of two) #
Total comments: 2
Patch Set 4 : Add comment #
Messages
Total messages: 11 (4 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||