Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ isUsed
Method
isUsed
snap_drawing/src/snap_drawing/cpp/Drawing/Raster/BitmapCache.cpp:20–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
bool BitmapCache::Entry::isUsed() const {
21
return _bitmap.use_count() > 1;
22
}
23
24
const Ref<Valdi::IBitmap>& BitmapCache::Entry::getBitmap() const {
25
return _bitmap;
Callers
2
allocateBitmap
Method · 0.80
clearUnused
Method · 0.80
Calls
1
use_count
Method · 0.80
Tested by
no test coverage detected