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

Method fill

GPRS/ByteVector.cpp:332–337  ·  view source on GitHub ↗

Does not change size().

Source from the content-addressed store, hash-verified

330
331// Does not change size().
332void ByteVector::fill(ByteType byte, size_t start, size_t span) {
333 ByteType *dp=mStart+start;
334 ByteType *end=dp+span;
335 BVASSERT(end<=mAllocEnd);
336 while (dp<end) { *dp++ = byte; }
337}
338
339unsigned ByteVector::getUInt16(size_t readIndex) const { // 2 byte value
340 BVASSERT(readIndex <= size() - 2);

Callers 13

ByteVectorTestFunction · 0.45
engineWriteHighSideMethod · 0.45
gprsTestFunction · 0.45
mainFunction · 0.45
startMethod · 0.45
TransceiverMethod · 0.45
modulateBurstFunction · 0.45
polyphaseResampleVectorFunction · 0.45
SharedL1DecoderMethod · 0.45
initInterleaveMethod · 0.45
TCHFACCHL1DecoderMethod · 0.45
TCHFACCHL1EncoderMethod · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36