MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / is_new_decoder

Method is_new_decoder

DSView/pv/ui/langresource.cpp:256–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256bool LangResource::is_new_decoder(const char *decoder_id)
257{
258 std::lock_guard<std::mutex> lock(_mutex);
259
260 std::string key(decoder_id);
261 if (_query_decoders.find(key) == _query_decoders.end()){
262 _query_decoders[key] = 1;
263 return true;
264 }
265
266 return false;
267}
268
269void LangResource::reload_dynamic()
270{

Callers 1

load_optionsMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected