Searched defs:LFStack (Results 1 – 2 of 2) sorted by relevance
26 struct LFStack { struct27 void Clear() { in Clear()31 bool Empty() const { in Empty()35 void Push(T *p) { in Push()47 T *Pop() { in Pop()63 static const int kCounterBits = FIRST_32_SECOND_64(32, 17);64 static const u64 kPtrMask = ((u64)-1) >> kCounterBits;65 static const u64 kCounterMask = ~kPtrMask;66 static const u64 kCounterInc = kPtrMask + 1;68 atomic_uint64_t head_;
27 struct LFStack { struct28 void Clear() { in Clear()32 bool Empty() const { in Empty()36 void Push(T *p) { in Push()48 T *Pop() { in Pop()64 static const int kCounterBits = FIRST_32_SECOND_64(32, 17);65 static const u64 kPtrMask = ((u64)-1) >> kCounterBits;66 static const u64 kCounterMask = ~kPtrMask;67 static const u64 kCounterInc = kPtrMask + 1;69 atomic_uint64_t head_;