MCPcopy Create free account
hub / github.com/VincentWei/MiniGUI / GetCache

Function GetCache

src/font/fontcache.c:275–321  ·  view source on GitHub ↗

allocate a new cache and append at the end of the global cache queue. * If global cache queue is full, we should kill the first node of the queue, * and we call this : Least-Recently-Used-Order * If global cache is not full, just allocate a new one. * the func return pointer to the cache if succeed, return NULL means failed. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__mg_ttc_createFunction · 0.85

Calls 3

InitCacheFunction · 0.85
ReleaseCacheFunction · 0.85
AppendCacheFunction · 0.85

Tested by

no test coverage detected