MCPcopy Create free account
hub / github.com/Apache553/SubtitleFontHelper / IsQueryNeeded

Method IsQueryNeeded

FontLoadInterceptor/RpcClient.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 bool IsQueryNeeded(const wchar_t* str)
110 {
111 if (!m_good)return true;
112 std::lock_guard lg(m_lock);
113 CheckNewVerison();
114 if (m_cache.find(str) != m_cache.end())
115 return false;
116 return true;
117 }
118
119 void AddToCache(const wchar_t* str)
120 {

Callers 1

QueryAndLoadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected