def calculate_size(name, local_only):
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += BOOLEAN_SIZE_IN_BYTES
    return data_size
Testing GML output.
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/map_add_partition_lost_listener_codec.py/calculate_size--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/gdal/tests/test_geom.py/OGRGeomTest.test01b_gml