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

Method handleValue

src/function/cast_from_string_functions.cpp:452–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452void SplitStringMapOperation::handleValue(const char* start, const char* end,
453 const CSVOption* option) {
454 trimRightWhitespace(start, end);
455 CastString::copyStringToVector(StructVector::getFieldVector(resultVector, 1).get(), offset++,
456 std::string_view{start, (uint32_t)(end - start)}, option);
457}
458
459template<typename T>
460static bool parseKeyOrValue(const char*& input, const char* end, T& state, bool isKey,

Callers 3

splitCStringListFunction · 0.45
parseKeyOrValueFunction · 0.45

Calls 2

trimRightWhitespaceFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected