MCPcopy Create free account
hub / github.com/catboost/catboost / Mark

Method Mark

library/cpp/lfalloc/lf_allocX64.h:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 }
413
414 void Mark(ELarge state) {
415 const ui64 marks[] = {
416 0x8b38aa5ca4953c98, // ELarge::Free
417 0xf916d33584eb5087, // ELarge::Alloc
418 0xd33b0eca7651bc3f // ELarge::Gone
419 };
420
421 Token = size_t(marks[ui8(state)]);
422 }
423
424 size_t Pages; // Total pages allocated with mmap like call
425 size_t Bytes; // Actually requested bytes by user

Callers 3

LargeBlockUnmapFunction · 0.45
LargeBlockAllocFunction · 0.45
LargeBlockFreeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected