Searched refs:BitmapVec (Results 1 – 2 of 2) sorted by relevance
154 pub struct BitmapVec { struct161 impl core::ops::Deref for BitmapVec { argument165 let ptr = if self.nbits <= BitmapVec::MAX_INLINE_LEN { in deref()182 impl core::ops::DerefMut for BitmapVec { implementation184 let ptr = if self.nbits <= BitmapVec::MAX_INLINE_LEN { in deref_mut()204 unsafe impl Send for BitmapVec {} implementation210 unsafe impl Sync for BitmapVec {} implementation212 impl Drop for BitmapVec { implementation214 if self.nbits <= BitmapVec::MAX_INLINE_LEN { in drop()226 impl BitmapVec { impl[all …]
8 use crate::bitmap::BitmapVec;69 map: BitmapVec,79 new: BitmapVec,90 let new = BitmapVec::new(self.num_ids, flags)?; in realloc()104 map: BitmapVec::new_inline(), in new()115 let num_ids = usize::max(num_ids, BitmapVec::MAX_INLINE_LEN); in with_capacity()116 let map = BitmapVec::new(num_ids, flags)?; in with_capacity()155 if cap <= BitmapVec::MAX_INLINE_LEN { in shrink_request()164 num_ids: BitmapVec::MAX_INLINE_LEN, in shrink_request()170 let num_ids = usize::max(BitmapVec::MAX_INLINE_LEN, cap / 2); in shrink_request()[all …]