def calculate_size(name, permits):
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += INT_SIZE_IN_BYTES
    return data_size
Returns the last `num_lines` of a file, or less if the file is
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/semaphore_acquire_codec.py/calculate_size--crossover with--dataset/ETHPy150Open shopkeep/shpkpr/shpkpr/files.py/_read_last_lines