parameters: (self, element_type)
return_statement: return 4096 / size if size < 256 else 16
docstring: Calculates the number of elements in a full block.
docstring_summary: Calculates the number of elements in a full block.
docstring_tokens: Calculates the number of elements in a full block .
function: def _calculate_block_size(self, element_type):
          """Calculates the number of elements in a full block."""
          size = element_type.sizeof
          # Copied from struct __deque_block_size implementation of libcxx.
          return 4096 / size if size < 256 else 16
function_tokens: def _calculate_block_size ( self , element_type ) : size = element_type . sizeof # Copied from struct __deque_block_size implementation of libcxx. return 4096 / size if size < 256 else 16