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

Method checkPointers

src/common/classes/objects_array.h:545–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 SortedArray<Value*, InlineStorage<Value*, 8>, const Key*, KeyOfValue, Cmp> pointers;
544
545 void checkPointers(const Value* oldBegin)
546 {
547 Value* newBegin = values.begin();
548 if (newBegin != oldBegin)
549 {
550 for (Value** ptr = pointers.begin(); ptr < pointers.end(); ++ptr)
551 {
552 *ptr = newBegin + (*ptr - oldBegin);
553 }
554 }
555 }
556
557 public:
558 typedef FB_SIZE_T size_type;

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected