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

Method byte_4_value

cpp/nd/array.hpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 inline byte_t<4> byte_4_value(int64_t index) const
352 {
353 if (mode_ == mode_t::scalar_inplace) {
354 ASSERT(index == 0);
355 return base::span_cast<const byte_t<4>>(data())[index];
356 }
357 return holder()->byte_4_value(index);
358 }
359
360 inline byte_t<8> byte_8_value(int64_t index) const
361 {

Callers

nothing calls this directly

Calls 2

holderClass · 0.70
dataFunction · 0.50

Tested by

no test coverage detected