MCPcopy Create free account
hub / github.com/activeloopai/deeplake / operator-=

Method operator-=

cpp/nd/iterator.hpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void operator-=(std::ptrdiff_t n)
48 {
49 data_ = std::span<const uint8_t>(data_.data() - n * data_.size(), data_.size());
50 }
51
52 std::ptrdiff_t operator-(const data_iterator& other) const
53 {

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected