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

Method VerifyContext

engine/dlib/src/dlib/http_cache_verify.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 int m_HttpStatus;
43
44 VerifyContext(uint64_t max_age)
45 {
46 memset(this, 0, sizeof(*this));
47 m_BufferCurrent = m_Buffer;
48 m_MaxAge = max_age;
49 m_CurrentTime = dmTime::GetTime();
50 m_Result = dmHttpClient::RESULT_OK;
51 }
52 };
53
54 static void VerifyCallback(void* context, const dmHttpCache::EntryInfo* entry_info)

Callers

nothing calls this directly

Calls 1

GetTimeFunction · 0.70

Tested by

no test coverage detected