MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetCacheAccessorID

Function GetCacheAccessorID

view/sharedcache/core/FileAccessorCache.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <cassert>
4
5CacheAccessorID GetCacheAccessorID(const std::string& filePath)
6{
7 constexpr std::hash<std::string> hasher;
8 return static_cast<CacheAccessorID>(hasher(filePath));
9}
10
11FileAccessorCache::FileAccessorCache(size_t cacheSize)
12{

Callers 2

OpenMethod · 0.85
DeleteControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected