def calculate_size(timeout, durability, transaction_type, thread_id):
    data_size = 0
    data_size += LONG_SIZE_IN_BYTES
    data_size += INT_SIZE_IN_BYTES
    data_size += INT_SIZE_IN_BYTES
    data_size += LONG_SIZE_IN_BYTES
    return data_size
Generate a lookup table for finding the closest item in values.
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/transaction_create_codec.py/calculate_size--crossover with--dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/display_common.py/_value_lookup_table