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

Method empty

core/pktbatch.h:61–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 bool empty() { return (cnt_ == 0); }
62
63 bool full() { return (cnt_ == kMaxBurst); }
64

Callers 15

mainFunction · 0.80
operator()Method · 0.80
~DmaMemoryPoolMethod · 0.80
AddModuleToComponentMethod · 0.80
AssignOffsetsMethod · 0.80
AddMetadataAttrMethod · 0.80
DisconnectGateMethod · 0.80
WakeTCsMethod · 0.80
SetUniqueGateIdxMethod · 0.80
SetUpMethod · 0.80
SetUpMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 3

SetUpMethod · 0.64
SetUpMethod · 0.64
TEST_FFunction · 0.64