Lines Matching refs:buffer
3 # a PEP-3118 buffer provider. It is independent from NumPy's ndarray
637 return numpy_array(buffer=buf, shape=shape, strides=strides,
776 # Verify buffer contents against expected values.
826 # combinations of indices, the buffer is correct.
843 buf_err = True # re-exporter does not provide full buffer
984 # buffer needs suboffsets
986 # buffer without strides must be C-contiguous
1227 # Single remaining buffer: pop fails
2137 # no buffer interface
2240 ### >>> nd = ndarray(buffer=bytearray(list(range(12))),
2253 ### >>> nd = ndarray(buffer=fortran_buf, shape=[3, 4],
2267 na = numpy_array(buffer=bytearray(lst),
2463 # Not a buffer provider:
2465 # Non-compliant buffer provider:
2481 # Casts are undefined if buffer is multidimensional and shape
2668 # product(shape) * itemsize != buffer size
2754 # Cast between C-contiguous buffers. At least one buffer must
3202 # Operand does not implement the buffer protocol:
3965 # no buffer interface
4232 # If multiple memoryviews share the same managed buffer, implicit