MCPcopy Create free account
hub / github.com/creatale/node-dv / ReferenceCount

Class ReferenceCount

deps/tesseract/ccutil/object_cache.h:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111 private:
112 struct ReferenceCount {
113 STRING id; // A unique ID to identify the object (think path on disk)
114 T *object; // A copy of the object in memory. Can be delete'd.
115 int count; // A count of the number of active users of this object.
116 };
117
118 CCUtilMutex mu_;
119 GenericVector<ReferenceCount> cache_;

Callers 1

GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected