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

Method compute_tile_overlap

tiledb/sm/subarray/subarray.cc:2428–2442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2426}
2427
2428TileOverlap Subarray::compute_tile_overlap(
2429 uint64_t range_idx, unsigned fid) const {
2430 iassert(array_->array_schema_latest().dense());
2431 auto type{array_->array_schema_latest().dimension_ptr(0)->type()};
2432
2433 auto g = [&](auto T) {
2434 if constexpr (std::is_same_v<decltype(T), char>) {
2435 stdx::unreachable();
2436 return TileOverlap();
2437 } else {
2438 return compute_tile_overlap<decltype(T)>(range_idx, fid);
2439 }
2440 };
2441 return apply_with_type(g, type);
2442}
2443
2444template <class T>
2445TileOverlap Subarray::compute_tile_overlap(

Callers

nothing calls this directly

Calls 12

ndrangeMethod · 0.95
unreachableFunction · 0.85
TileOverlapClass · 0.85
apply_with_typeFunction · 0.85
array_schema_latestMethod · 0.80
denseMethod · 0.45
typeMethod · 0.45
dimension_ptrMethod · 0.45
dim_numMethod · 0.45
resizeMethod · 0.45
dataMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected