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

Function isShortString

src/include/common/types/string_t.h:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 string_t(const char* value, uint64_t length);
27
28 static bool isShortString(uint32_t len) { return len <= SHORT_STR_LENGTH; }
29
30 const uint8_t* getData() const {
31 return isShortString(len) ? prefix : reinterpret_cast<uint8_t*>(overflowPtr);

Callers 13

operationMethod · 0.85
operationMethod · 0.85
encodeDataMethod · 0.85
readStringMethod · 0.85
scanValueMethod · 0.85
string_tMethod · 0.85
addStringMethod · 0.85
value_vector.cppFile · 0.85
reserveStringMethod · 0.85
copyToRowDataMethod · 0.85
getDataFunction · 0.85
getDataUnsafeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected