MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetRefCount

Method GetRefCount

engine/Poseidon/Foundation/Strings/RString.hpp:91–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 __forceinline operator const char*() const { return Data(); }
90 int GetLength() const { return _ref ? strlen(_ref->Data()) : 0; }
91 int GetRefCount() const { return _ref->RefCounter(); }
92 char operator[](int i) const { return Data()[i]; }
93
94 // Copy-on-write: if the buffer is shared, split off a private copy.

Callers 4

CheckRefsWeakFunction · 0.80
CheckRefsStrongFunction · 0.80
DeleteUnusedFunction · 0.80
test_strings.cppFile · 0.80

Calls 1

RefCounterMethod · 0.45

Tested by

no test coverage detected