MCPcopy Create free account
hub / github.com/Tencent/UnLua / Rehash

Method Rehash

Plugins/UnLua/Source/UnLua/Private/Containers/LuaMap.h:293–296  ·  view source on GitHub ↗

* Rehash the pairs in the map. this function must be called to create a valid map. */

Source from the content-addressed store, hash-verified

291 * Rehash the pairs in the map. this function must be called to create a valid map.
292 */
293 FORCEINLINE void Rehash()
294 {
295 Map->Rehash(MapLayout, [=](const void* Src) { return KeyInterface->GetValueTypeHash(Src); });
296 }
297
298 /**
299 * Convert the keys to an array

Callers 2

PushSetFunction · 0.45
PushMapFunction · 0.45

Calls 1

GetValueTypeHashMethod · 0.45

Tested by

no test coverage detected