MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getHunk

Method getHunk

src/common/classes/alloc.cpp:326–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 }
325
326 MemMediumHunk* getHunk()
327 {
328 fb_assert(!(hdrLength & MEM_HUGE));
329 off_t offset = hdrLength >> OFFSET_SHIFT;
330 fb_assert(offset > 0);
331 return (MemMediumHunk*)(((UCHAR*)this) - offset);
332 }
333
334 void setRedirect()
335 {

Callers 2

getElementMethod · 0.80
putElementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected