Searched refs:NUM_BITS (Results 1 – 1 of 1) sorted by relevance
40 #define NUM_BITS(T) (sizeof(T) * 8) macro122 (static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 2)) + 11; in TestCompareAndSwap()145 (static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 2)) + 11; in TestAtomicExchange()162 static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) - 1); in TestAtomicIncrementBounds()172 test_val = static_cast<AtomicType>(1) << (NUM_BITS(AtomicType) / 2); in TestAtomicIncrementBounds()