MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / init

Method init

libCacheSim/dataStructure/robin_hood.h:2468–2476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2466 }
2467
2468 void init() noexcept {
2469 mKeyVals = reinterpret_cast_no_cast_align_warning<Node*>(&mMask);
2470 mInfo = reinterpret_cast<uint8_t*>(&mMask);
2471 mNumElements = 0;
2472 mMask = 0;
2473 mMaxNumElementsAllowed = 0;
2474 mInfoInc = InitialInfoInc;
2475 mInfoHashShift = InitialInfoHashShift;
2476 }
2477
2478 // members are sorted so no padding occurs
2479 uint64_t mHashMultiplier = UINT64_C(0xc4ceb9fe1a85ec53); // 8 byte 8

Callers 2

TableMethod · 0.45
TableClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected