MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / add

Method add

src/Cursor.actor.cpp:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61Reference<Cursor> Cursor::add(std::map<int64_t, Reference<Cursor>>& siblings, Reference<Cursor> cursor) {
62 cursor->siblings = &siblings;
63 siblings[cursor->id] = cursor;
64 DocumentLayer::metricReporter->captureGauge(DocLayerConstants::MT_GUAGE_ACTIVE_CURSORS, siblings.size());
65 return cursor;
66}

Callers 11

parseMethod · 0.80
insertMethod · 0.80
distinctMethod · 0.80
_create_indexMethod · 0.80
_generate_unique_intFunction · 0.80
test_values_with_arraysFunction · 0.80
whenFunction · 0.80

Calls 2

captureGaugeMethod · 0.80
sizeMethod · 0.45

Tested by 3

_generate_unique_intFunction · 0.64
test_values_with_arraysFunction · 0.64