MCPcopy Create free account
hub / github.com/defold/defold / ContainsKey

Function ContainsKey

engine/dlib/src/dlib/configfile.cpp:357–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 static bool ContainsKey(const dmArray<ConfigFileEntry>& entries, uint64_t key_hash)
358 {
359 for (uint32_t i = 0; i < entries.Size(); ++i)
360 {
361 const ConfigFileEntry*e = &entries[i];
362 if (e->m_Key == key_hash)
363 {
364 return true;
365 }
366 }
367
368 return false;
369 }
370
371 static void AddEntry(Context* context, const char* key, const char* value)
372 {

Callers 2

AddEntryFunction · 0.85
LoadFromBufferInternalFunction · 0.85

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected