MCPcopy Create free account
hub / github.com/NetSys/bess / Capacity

Method Capacity

core/utils/lock_less_queue.h:99–99  ·  view source on GitHub ↗

capacity will be one less than specified

Source from the content-addressed store, hash-verified

97
98 // capacity will be one less than specified
99 size_t Capacity() override { return capacity_; }
100
101 size_t Size() override { return llring_count(ring_); }
102

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected