MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / num_items

Method num_items

tiledb/common/algorithm/parallel_merge.h:249–255  ·  view source on GitHub ↗

* @return the number of data items contained inside this merge unit */

Source from the content-addressed store, hash-verified

247 * @return the number of data items contained inside this merge unit
248 */
249 uint64_t num_items() const {
250 uint64_t total_items = 0;
251 for (size_t i = 0; i < starts.size(); i++) {
252 total_items += (ends[i] - starts[i]);
253 }
254 return total_items;
255 }
256
257 /**
258 * @return the starting position in the output where this merge unit writes to

Callers 3

stepMethod · 0.80
verifyMethod · 0.80
verifyMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 2

verifyMethod · 0.64
verifyMethod · 0.64