MCPcopy Create free account
hub / github.com/apache/impala / SortCompare

Method SortCompare

be/src/runtime/bufferpool/free-list.h:102–104  ·  view source on GitHub ↗

Compare function that orders by memory address.

Source from the content-addressed store, hash-verified

100
101 /// Compare function that orders by memory address.
102 inline static bool SortCompare(const BufferHandle& b1, const BufferHandle& b2) {
103 return b1.data() < b2.data();
104 }
105
106 /// Compare function that orders by memory address. Needs to be inverse of SortCompare()
107 /// because C++ provides a max-heap.

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected