

def calculate_size(name, permits):
    ' Calculates the request payload size'
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += INT_SIZE_IN_BYTES
    return permits

dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/semaphore_acquire_codec.py calculate_size/VarMisuse@30/55 `data_size`->`permits`