| 135 | } |
| 136 | |
| 137 | size_t volatile_size() const { |
| 138 | const size_t b = _bottom.load(butil::memory_order_relaxed); |
| 139 | const size_t t = _top.load(butil::memory_order_relaxed); |
| 140 | return (b <= t ? 0 : (b - t)); |
| 141 | } |
| 142 | |
| 143 | size_t capacity() const { return _capacity; } |
| 144 |
no test coverage detected