scripted-diff: rename MapIntoRange to FastRange64

-BEGIN VERIFY SCRIPT-
sed -i -e 's/MapIntoRange/FastRange64/' src/blockfilter.cpp src/test/fuzz/golomb_rice.cpp src/util/fastrange.h
-END VERIFY SCRIPT-
This commit is contained in:
Pieter Wuille
2022-01-06 11:29:08 -05:00
parent c6d15c45d9
commit 96ecd6fa3e
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
// x * n.
//
// See: https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/
static inline uint64_t MapIntoRange(uint64_t x, uint64_t n)
static inline uint64_t FastRange64(uint64_t x, uint64_t n)
{
#ifdef __SIZEOF_INT128__
return (static_cast<unsigned __int128>(x) * static_cast<unsigned __int128>(n)) >> 64;