MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / compareEntry

Function compareEntry

src/processor/result/base_hash_table.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51template<typename T>
52static bool compareEntry(const common::ValueVector* vector, uint32_t vectorPos,
53 const uint8_t* entry) {
54 uint8_t result = 0;
55 auto key = vector->getData() + vectorPos * vector->getNumBytesPerValue();
56 function::Equals::operation(*(T*)key, *(T*)entry, result, nullptr /* leftVector */,
57 nullptr /* rightVector */);
58 return result != 0;
59}
60
61template<typename T>
62static bool factorizedTableCompareEntry(const uint8_t* entry1, const uint8_t* entry2,

Callers

nothing calls this directly

Calls 2

operationFunction · 0.85
getDataMethod · 0.45

Tested by

no test coverage detected