Function croaring_sys::roaring_bitmap_rank_many
source ยท pub unsafe extern "C" fn roaring_bitmap_rank_many(
r: *const roaring_bitmap_t,
begin: *const u32,
end: *const u32,
ans: *mut u64,
)
Expand description
roaring_bitmap_rank_many is an Bulk
version of roaring_bitmap_rank
it puts rank value of each element in [begin .. end)
to ans[]
the values in [begin .. end)
must be sorted in Ascending order;
Caller is responsible to ensure that there is enough memory allocated, e.g.
ans = malloc((end-begin) * sizeof(uint64_t));