rocksdb/memory
Peter Dillinger 966be1cc4e Clean up some FastRange calls (#11707)
Summary:
* JemallocNodumpAllocator was passing a size_t to FastRange32, which could cause compilation errors or warnings (seen with clang)
* Fixed the order of arguments to match what would be used with modulo operator (%), for clarity.

Fixes https://github.com/facebook/rocksdb/issues/11006

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11707

Test Plan: no functional change, existing tests

Reviewed By: ajkr

Differential Revision: D48435149

Pulled By: pdillinger

fbshipit-source-id: e6e8b107ded4eceda37db20df59985c846a2546b
2023-08-17 11:52:38 -07:00
..
allocator.h
arena.cc
arena.h
arena_test.cc More minor HCC refactoring + typed mmap (#11670) 2023-08-07 12:20:23 -07:00
concurrent_arena.cc
concurrent_arena.h
jemalloc_nodump_allocator.cc Clean up some FastRange calls (#11707) 2023-08-17 11:52:38 -07:00
jemalloc_nodump_allocator.h
memkind_kmem_allocator.cc
memkind_kmem_allocator.h
memory_allocator.cc
memory_allocator_impl.h Change internal headers with duplicate names (#11408) 2023-05-17 11:27:09 -07:00
memory_allocator_test.cc
memory_usage.h