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

Method operation

src/function/utility/md5.cpp:12–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11struct MD5Operator {
12 static void operation(string_t& operand, string_t& result, ValueVector& resultVector) {
13 MD5 hasher;
14 hasher.addToMD5(reinterpret_cast<const char*>(operand.getData()), operand.len);
15 StringVector::addString(&resultVector, result, std::string(hasher.finishMD5()));
16 }
17};
18
19function_set MD5Function::getFunctionSet() {

Callers

nothing calls this directly

Calls 3

addToMD5Method · 0.80
finishMD5Method · 0.80
getDataMethod · 0.45

Tested by

no test coverage detected