MCPcopy Create free account
hub / github.com/PDAL/PDAL / unlock

Method unlock

plugins/e57/libE57Format/src/Packet.cpp:142–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void PacketReadCache::unlock( unsigned cacheIndex )
143{
144 //??? why lockedEntry not used?
145#ifdef E57_VERBOSE
146 std::cout << "PacketReadCache::unlock() called, cacheIndex=" << cacheIndex << std::endl;
147#else
148 E57_UNUSED( cacheIndex );
149#endif
150
151 if ( lockCount_ != 1 )
152 {
153 throw E57_EXCEPTION2( ErrorInternal, "lockCount=" + toString( lockCount_ ) );
154 }
155
156 --lockCount_;
157}
158
159void PacketReadCache::readPacket( unsigned oldestEntry, uint64_t packetLogicalOffset )
160{

Callers 9

readMethod · 0.80
processOneMethod · 0.80
loadMethod · 0.80
readMethod · 0.80
readMethod · 0.80
~PacketLockMethod · 0.80
workMethod · 0.80
joinFunction · 0.80
addFunction · 0.80

Calls 1

toStringFunction · 0.70

Tested by

no test coverage detected