MCPcopy Create free account
hub / github.com/crownengine/crown / quickSort

Function quickSort

3rdparty/bx/src/sort.cpp:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 void quickSort(void* _data, uint32_t _num, uint32_t _stride, const ComparisonFn _fn)
49 {
50 uint8_t* pivot = (uint8_t*)BX_STACK_ALLOC(_stride);
51 quickSortR(pivot, _data, _num, _stride, _fn);
52 }
53
54 bool isSorted(const void* _data, uint32_t _num, uint32_t _stride, const ComparisonFn _fn)
55 {

Callers 3

rendererCreateFunction · 0.85
sortMethod · 0.85
qsortFunction · 0.85

Calls 1

quickSortRFunction · 0.85

Tested by

no test coverage detected