MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / MoveBlockJob

Method MoveBlockJob

src/hx/gc/Immix.cpp:2956–2964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2954 int to;
2955
2956 MoveBlockJob(BlockList &inAllBlocks)
2957 {
2958 blocks.setSize(inAllBlocks.size());
2959 memcpy(&blocks[0], &inAllBlocks[0], inAllBlocks.size()*sizeof(void*));
2960
2961 std::sort(&blocks[0], &blocks[0]+blocks.size(), SortMoveOrder );
2962 from = 0;
2963 to = blocks.size()-1;
2964 }
2965
2966 BlockDataInfo *getFrom()
2967 {

Callers

nothing calls this directly

Calls 4

memcpyFunction · 0.85
setSizeMethod · 0.80
sortFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected