MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / __add__

Method __add__

src/pointers/malloc.py:76–77  ·  view source on GitHub ↗
(self, amount: int)

Source from the content-addressed store, hash-verified

74 return f"AllocatedPointer(address={self.address}, size={self.size})"
75
76 def __add__(self, amount: int) -> AllocatedPointer[T]:
77 return self._indexed(amount)
78
79 def __sub__(self, amount: int) -> AllocatedPointer[T]:
80 return self._indexed(amount)

Callers

nothing calls this directly

Calls 1

_indexedMethod · 0.95

Tested by

no test coverage detected