Project: netvirt master
846b84362ca133c96187d77c770767147b292c5f
Test SNAT mostSignificantBit()
Static analysis complains that the current implementation of
mostSignificantBit() overflows int; that’s actually not the case, but
we can rewrite it more efficiently using Integer.numberOfLeadingZeros
anyway (with a unit test to ensure that the behaviour doesn’t
change).
loadStart and loadEnd can be converted to static constants.
Change-Id: I7e9068edd9d6c98e7c1a3c830ad8d7098d01dc75
Signed-off-by: Stephen Kitt <skitt@redhat.com>
-Subproject commit ce7167c3441893c9526c16f6b867f7754af50658
+Subproject commit 846b84362ca133c96187d77c770767147b292c5f