Home
last modified time | relevance | path

Searched refs:rand_structure (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_buffer.py488 def rand_structure(itemsize, valid, maxdim=5, maxshape=16, shape=()): function
626 """Return ndarray from the tuple returned by rand_structure()"""
632 """Return numpy_array from the tuple returned by rand_structure()"""
1882 t = rand_structure(itemsize, True, maxdim=MAXDIM,
1923 t = rand_structure(itemsize, False, maxdim=MAXDIM,
1953 tl = rand_structure(itemsize, True, shape=lshape)
1954 tr = rand_structure(itemsize, True, shape=rshape)

Completed in 5 milliseconds