Searched refs:bitset (Results 1 – 2 of 2) sorted by relevance
26 struct AtomicBitset bitset[0]; member45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; in slabAllocatorNew()46 atomicBitsetInit(allocator->bitset, numItems); in slabAllocatorNew()59 int32_t itemIdx = atomicBitsetFindClearAndSet(allocator->bitset); in slabAllocatorAlloc()74 …z) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || !atomicBitsetGetBit(allocator->bit… in slabAllocatorFree()77 atomicBitsetClearBit(allocator->bitset, itemIdx); in slabAllocatorFree()82 if (!atomicBitsetGetBit(allocator->bitset, idx)) in slabAllocatorGetNth()94 …z) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || !atomicBitsetGetBit(allocator->bit… in slabAllocatorGetIndex()102 return atomicBitsetGetNumBits(allocator->bitset); in slabAllocatorGetNumItems()
259 std::bitset<static_cast<int>(SensorType::Max_)> sensor_is_active_;