MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / clear

Method clear

GPRS/ByteVector.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void ByteVector::clear()
60{
61 if (mData) {
62#if BYTEVECTOR_REFCNT
63 if (decRefCnt() <= 0) { delete[] mData; RN_MEMCHKDEL(ByteVectorData) }
64#else
65 delete[] mData;
66#endif
67 }
68 mSizeBits = 0;
69 mData = NULL;
70}
71
72void ByteVector::init(size_t size)
73{

Callers 15

commandLineFuncFunction · 0.45
addGprsInfoFunction · 0.45
addChanInfoFunction · 0.45
neighborsFunction · 0.45
statsFunction · 0.45
rrlpSendMethod · 0.45
getTranIdsMethod · 0.45
tmsiTabViewMethod · 0.45
ssParseParameterListMethod · 0.45
clearTableMethod · 0.45
getTranIdsMethod · 0.45
macAddOneChannelFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected