parameters: (shape, strides, itemsize)
return_statement: return True
docstring: Determine if combination of array parameters represents a
      c-contiguous array.
docstring_summary: Determine if combination of array parameters represents a
      c-contiguous array.
docstring_tokens: Determine if combination of array parameters represents a c - contiguous array .
function: def get_c_contiguity(shape, strides, itemsize):
      """
      Determine if combination of array parameters represents a
      c-contiguous array.
      """
      ndim = len(shape)
      assert strides is None or ndim == len(strides)
  
      if ndim == 0 or strides is None or (ndim == 1 and strides[0] == itemsize):
          return True
  
      # any dimension zero, trivial case
      for dim in shape:
          if dim == 0:
              return True
  
      for this_dim, this_stride in zip(shape, strides):
          if this_stride != this_dim * itemsize:
              return False
      return True
function_tokens: def get_c_contiguity ( shape , strides , itemsize ) : ndim = len ( shape ) assert strides is None or ndim == len ( strides ) if ndim == 0 or strides is None or ( ndim == 1 and strides [ 0 ] == itemsize ) : return True # any dimension zero, trivial case for dim in shape : if dim == 0 : return True for this_dim , this_stride in zip ( shape , strides ) : if this_stride != this_dim * itemsize : return False return True