MCPcopy Create free account
hub / github.com/activeloopai/deeplake / end

Method end

cpp/icm/flat_iterator.hpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 static flat_iterator end(const std::vector<C>& containers, const std::vector<value_type>& offsets)
38 {
39 if (containers.empty()) {
40 return flat_iterator();
41 }
42 return flat_iterator(containers, offsets, containers.end() - 1, containers.back().end());
43 }
44
45 reference operator*() const
46 {

Callers 3

flat_iteratorClass · 0.45
operator-Method · 0.45
skip_empty_containersMethod · 0.45

Calls 3

flat_iteratorClass · 0.85
emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected