MCPcopy Create free account
hub / github.com/apple/foundationdb / size

Method size

fdbserver/KeyValueStoreSQLite.actor.cpp:765–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763 valid = !empty;
764 }
765 int size() {
766 int64_t size;
767 db.checkError("BtreeKeySize", sqlite3BtreeKeySize(cursor, (i64*)&size));
768 ASSERT(size < (1 << 30));
769 return size;
770 }
771 Value getEncodedRow() {
772 int s = size();
773 Value v;

Callers 15

StatementClass · 0.45
hexdumpFunction · 0.45
encodeFunction · 0.45
encodeKVFragmentFunction · 0.45
decodeKVFragmentFunction · 0.45
encodeKeyFunction · 0.45
insertFragmentMethod · 0.45
setMethod · 0.45
fastClearMethod · 0.45
lazyDeleteMethod · 0.45
DefragmentingReaderMethod · 0.45
parseMethod · 0.45

Calls 2

sqlite3BtreeKeySizeFunction · 0.85
checkErrorMethod · 0.45

Tested by

no test coverage detected