MCPcopy Create free account
hub / github.com/apache/arrow / _check_index

Method _check_index

cpp/gdb_arrow.py:752–754  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

750 self.length = length
751
752 def _check_index(self, index):
753 if not 0 <= index < self.length:
754 raise IndexError("Wrong index for bitmap")
755
756 def __len__(self):
757 return self.length

Callers 2

__getitem__Method · 0.95
__getitem__Method · 0.45

Calls 1

IndexErrorFunction · 0.85

Tested by

no test coverage detected