Package mpi4py :: Module MPI :: Class memory
[hide private]
[frames] | no frames]

type memory


Memory
Instance Methods [hide private]
 
__delitem__(y)
del x[y]
 
__getitem__(y)
x[y]
 
__len__() <==> len(x)
a new object with type S, a subtype of T
__new__(S, ...)
 
__setitem__(i, y)
x[i]=y
 
release(self)
Release the underlying buffer exposed by the memory object
 
tobytes(self)
Return the data in the buffer as a byte string
Static Methods [hide private]
 
fromaddress(address, nbytes, bool readonly=False)
Memory from address and size in bytes
 
frombuffer(obj, bool readonly=False)
Memory from buffer-like object
Properties [hide private]
  address
Memory address
  nbytes
Memory size (in bytes)
  readonly
Boolean indicating whether the memory is read-only
Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__