

def __len__(self):
    if (self._len is not None):
        return self._len
    ret = 0
    for (cluster_start, num_clusters) in self._runentries:
        g_logger.debug('NonResidentAttributeData: len: run: cluster: %s len: %s', hex(cluster_start), hex(num_clusters))
        ret += (num_clusters * ret._clusters.get_cluster_size())
    self._len = ret
    return ret

dataset/ETHPy150Open williballenthin/python-ntfs/ntfs/filesystem/__init__.py NonResidentAttributeData.__len__/VarMisuse@67/112 `self`->`ret`