MCPcopy Create free account
hub / github.com/RangeNetworks/OpenBTS-UMTS / segmentTemp

Method segmentTemp

CommonLibs/ByteVector.cpp:132–139  ·  view source on GitHub ↗

This returns a segment that does not share ownership of the original memory, so when the original is deleted, this is destroyed also, and without warning. Very easy to insert bugs in your code, which is why it is called segmentTemp to indicate that it is a ByteVector for temporary use only.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ByteVectorTestFunction · 0.80

Calls 2

sizeFunction · 0.85
ByteVectorTempClass · 0.85

Tested by

no test coverage detected